Changeset 3859
- Timestamp:
- Oct 26, 2011 6:49:34 AM (13 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r3841 r3859 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.61 for pjproject 1.x. 3 # Generated by GNU Autoconf 2.65 for pjproject 1.x. 4 # 4 5 # 5 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 8 # Inc. 9 # 10 # 7 11 # This configure script is free software; the Free Software Foundation 8 12 # gives unlimited permission to copy, distribute and modify it. 9 ## -------------------- -##10 ## M4sh Initialization. 11 ## -------------------- -##13 ## -------------------- ## 14 ## M4sh Initialization. ## 15 ## -------------------- ## 12 16 13 17 # Be more Bourne compatible 14 18 DUALCASE=1; export DUALCASE # for MKS sh 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16 20 emulate sh 17 21 NULLCMD=: 18 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19 23 # is contrary to our usage. Disable this feature. 20 24 alias -g '${1+"$@"}'='"$@"' 21 25 setopt NO_GLOB_SUBST 22 26 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 25 32 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 33 # Avoid depending upon Character Ranges. 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37 as_cr_digits='0123456789' 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 33 fi 34 35 36 as_nl=' 37 ' 38 export as_nl 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 # Prefer a ksh shell builtin over an external printf program on Solaris, 44 # but without wasting forks for bash or zsh. 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52 else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72 fi 39 73 40 74 # The user is always right. 41 75 if test "${PATH_SEPARATOR+set}" != set; then 42 echo "#! /bin/sh" >conf$$.sh 43 echo "exit 0" >>conf$$.sh 44 chmod +x conf$$.sh 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 46 PATH_SEPARATOR=';' 47 else 48 PATH_SEPARATOR=: 49 fi 50 rm -f conf$$.sh 51 fi 52 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 58 81 fi 59 82 … … 64 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 88 # splitting by setting IFS to empty value.) 66 as_nl='67 '68 89 IFS=" "" $as_nl" 69 90 70 91 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 92 case $0 in #(( 72 93 *[\\/]* ) as_myself=$0 ;; 73 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 76 97 IFS=$as_save_IFS 77 98 test -z "$as_dir" && as_dir=. 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break79 done99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 done 80 101 IFS=$as_save_IFS 81 102 … … 88 109 fi 89 110 if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113 fi 114 115 # Unset variables that we do not need and which cause bugs (e.g. in 116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117 # suppresses any "Segmentation fault" message there. '((' could 118 # trigger a bug in pdksh 5.2.14. 119 for as_var in BASH_ENV ENV MAIL MAILPATH 120 do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 97 122 done 98 123 PS1='$ ' … … 101 126 102 127 # NLS nuisances. 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 128 LC_ALL=C 129 export LC_ALL 130 LANGUAGE=C 131 export LANGUAGE 132 133 # CDPATH. 134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136 if test "x$CONFIG_SHELL" = x; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138 emulate sh 139 NULLCMD=: 140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 141 # is contrary to our usage. Disable this feature. 142 alias -g '\${1+\"\$@\"}'='\"\$@\"' 143 setopt NO_GLOB_SUBST 144 else 145 case \`(set -o) 2>/dev/null\` in #( 146 *posix*) : 147 set -o posix ;; #( 148 *) : 149 ;; 150 esac 151 fi 152 " 153 as_required="as_fn_return () { (exit \$1); } 154 as_fn_success () { as_fn_return 0; } 155 as_fn_failure () { as_fn_return 1; } 156 as_fn_ret_success () { return 0; } 157 as_fn_ret_failure () { return 1; } 158 159 exitcode=0 160 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 165 166 else 167 exitcode=1; echo positional parameters were not saved. 168 fi 169 test x\$exitcode = x0 || exit 1" 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174 test \$(( 1 + 1 )) = 2 || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177 else 178 as_have_required=no 179 fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182 else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184 as_found=false 185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 107 186 do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200 fi 201 fi 202 done;; 203 esac 204 as_found=false 205 done 206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209 fi; } 210 IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222 fi 223 224 if test x$as_have_required = xno; then : 225 $as_echo "$0: This script requires a shell more modern than all" 226 $as_echo "$0: the shells that I found on your system." 227 if test x${ZSH_VERSION+set} = xset ; then 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 110 230 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 232 $0: including any error possibly output before this 233 $0: message. Then install a modern shell, or manually run 234 $0: the script under such a shell if you do have one." 112 235 fi 113 done 114 115 # Required to use basename. 236 exit 1 237 fi 238 fi 239 fi 240 SHELL=${CONFIG_SHELL-/bin/sh} 241 export SHELL 242 # Unset more variables known to interfere with behavior of common tools. 243 CLICOLOR_FORCE= GREP_OPTIONS= 244 unset CLICOLOR_FORCE GREP_OPTIONS 245 246 ## --------------------- ## 247 ## M4sh Shell Functions. ## 248 ## --------------------- ## 249 # as_fn_unset VAR 250 # --------------- 251 # Portably unset VAR. 252 as_fn_unset () 253 { 254 { eval $1=; unset $1;} 255 } 256 as_unset=as_fn_unset 257 258 # as_fn_set_status STATUS 259 # ----------------------- 260 # Set $? to STATUS, without forking. 261 as_fn_set_status () 262 { 263 return $1 264 } # as_fn_set_status 265 266 # as_fn_exit STATUS 267 # ----------------- 268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 269 as_fn_exit () 270 { 271 set +e 272 as_fn_set_status $1 273 exit $1 274 } # as_fn_exit 275 276 # as_fn_mkdir_p 277 # ------------- 278 # Create "$as_dir" as a directory, including parents if necessary. 279 as_fn_mkdir_p () 280 { 281 282 case $as_dir in #( 283 -*) as_dir=./$as_dir;; 284 esac 285 test -d "$as_dir" || eval $as_mkdir_p || { 286 as_dirs= 287 while :; do 288 case $as_dir in #( 289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 290 *) as_qdir=$as_dir;; 291 esac 292 as_dirs="'$as_qdir' $as_dirs" 293 as_dir=`$as_dirname -- "$as_dir" || 294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 295 X"$as_dir" : 'X\(//\)[^/]' \| \ 296 X"$as_dir" : 'X\(//\)$' \| \ 297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 298 $as_echo X"$as_dir" | 299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 300 s//\1/ 301 q 302 } 303 /^X\(\/\/\)[^/].*/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\).*/{ 312 s//\1/ 313 q 314 } 315 s/.*/./; q'` 316 test -d "$as_dir" && break 317 done 318 test -z "$as_dirs" || eval "mkdir $as_dirs" 319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 320 321 322 } # as_fn_mkdir_p 323 # as_fn_append VAR VALUE 324 # ---------------------- 325 # Append the text in VALUE to the end of the definition contained in VAR. Take 326 # advantage of any shell optimizations that allow amortized linear growth over 327 # repeated appends, instead of the typical quadratic growth present in naive 328 # implementations. 329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 330 eval 'as_fn_append () 331 { 332 eval $1+=\$2 333 }' 334 else 335 as_fn_append () 336 { 337 eval $1=\$$1\$2 338 } 339 fi # as_fn_append 340 341 # as_fn_arith ARG... 342 # ------------------ 343 # Perform arithmetic evaluation on the ARGs, and store the result in the 344 # global $as_val. Take advantage of shells that can avoid forks. The arguments 345 # must be portable across $(()) and expr. 346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 347 eval 'as_fn_arith () 348 { 349 as_val=$(( $* )) 350 }' 351 else 352 as_fn_arith () 353 { 354 as_val=`expr "$@" || test $? -eq 1` 355 } 356 fi # as_fn_arith 357 358 359 # as_fn_error ERROR [LINENO LOG_FD] 360 # --------------------------------- 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 363 # script with status $?, using 1 if that was 0. 364 as_fn_error () 365 { 366 as_status=$?; test $as_status -eq 0 && as_status=1 367 if test "$3"; then 368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 370 fi 371 $as_echo "$as_me: error: $1" >&2 372 as_fn_exit $as_status 373 } # as_fn_error 374 116 375 if expr a : '\(a\)' >/dev/null 2>&1 && 117 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 127 386 fi 128 387 129 130 # Name of the executable. 388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 389 as_dirname=dirname 390 else 391 as_dirname=false 392 fi 393 131 394 as_me=`$as_basename -- "$0" || 132 395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 396 X"$0" : 'X\(//\)$' \| \ 134 397 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" |398 $as_echo X/"$0" | 136 399 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 400 s//\1/ … … 148 411 s/.*/./; q'` 149 412 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223 do 224 IFS=$as_save_IFS 225 test -z "$as_dir" && as_dir=. 226 case $as_dir in 227 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 328 as_lineno_1=$LINENO 329 as_lineno_2=$LINENO 330 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 427 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 413 # Avoid depending upon Character Ranges. 414 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 417 as_cr_digits='0123456789' 418 as_cr_alnum=$as_cr_Letters$as_cr_digits 419 420 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 438 426 sed -n ' 439 427 p … … 452 440 ' >$as_me.lineno && 453 441 chmod +x "$as_me.lineno" || 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 { (exit 1); exit 1; }; } 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 456 443 457 444 # Don't try to exec as it changes $[0], causing all sort of problems … … 463 450 } 464 451 465 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then467 as_dirname=dirname468 else469 as_dirname=false470 fi471 472 452 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 453 case `echo -n x` in #((((( 474 454 -n*) 475 case `echo 'x \c'` in455 case `echo 'xy\c'` in 476 456 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 457 xy) ECHO_C='\c';; 458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 459 ECHO_T=' ';; 478 460 esac;; 479 461 *) … … 481 463 esac 482 464 483 if expr a : '\(a\)' >/dev/null 2>&1 &&484 test "X`expr 00001 : '.*\(...\)'`" = X001; then485 as_expr=expr486 else487 as_expr=false488 fi489 490 465 rm -f conf$$ conf$$.exe conf$$.file 491 466 if test -d conf$$.dir; then … … 493 468 else 494 469 rm -f conf$$.dir 495 mkdir conf$$.dir 496 fi 497 echo >conf$$.file 498 if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 470 mkdir conf$$.dir 2>/dev/null 471 fi 472 if (echo >conf$$.file) 2>/dev/null; then 473 if ln -s conf$$.file conf$$ 2>/dev/null; then 474 as_ln_s='ln -s' 475 # ... but there are two gotchas: 476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 478 # In both cases, we have to default to `cp -p'. 479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 480 as_ln_s='cp -p' 481 elif ln conf$$.file conf$$ 2>/dev/null; then 482 as_ln_s=ln 483 else 505 484 as_ln_s='cp -p' 506 elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 485 fi 508 486 else 509 487 as_ln_s='cp -p' … … 513 491 514 492 if mkdir -p . 2>/dev/null; then 515 as_mkdir_p= :493 as_mkdir_p='mkdir -p "$as_dir"' 516 494 else 517 495 test -d ./-p && rmdir ./-p … … 530 508 eval sh -c '\'' 531 509 if test -d "$1"; then 532 510 test -d "$1/."; 533 511 else 534 case $1 in 535 512 case $1 in #( 513 -*)set "./$1";; 536 514 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 538 516 ???[sx]*):;;*)false;;esac;fi 539 517 '\'' sh … … 549 527 550 528 551 552 exec 7<&0 </dev/null6>&1529 test -n "$DJDIR" || exec 7<&0 </dev/null 530 exec 6>&1 553 531 554 532 # Name of the host. … … 568 546 MFLAGS= 569 547 MAKEFLAGS= 570 SHELL=${CONFIG_SHELL-/bin/sh}571 548 572 549 # Identity of this package. … … 576 553 PACKAGE_STRING='pjproject 1.x' 577 554 PACKAGE_BUGREPORT='' 555 PACKAGE_URL='' 578 556 579 557 # Factoring default headers for most tests. … … 613 591 #endif" 614 592 615 ac_subst_vars='SHELL 593 ac_subst_vars='LTLIBOBJS 594 LIBOBJS 595 ac_main_obj 596 ac_host 597 ac_linux_poll 598 ac_cross_compile 599 opencore_amrnb_present 600 opencore_amrnb_h_present 601 ac_no_opencore_amrnb 602 libcrypto_present 603 libssl_present 604 openssl_h_present 605 ac_no_ssl 606 ac_v4l2_ldflags 607 ac_v4l2_cflags 608 ac_ffmpeg_ldflags 609 ac_ffmpeg_cflags 610 ac_has_ffmpeg 611 ac_sdl_ldflags 612 ac_sdl_cflags 613 ac_no_ilbc_codec 614 ac_no_speex_codec 615 ac_no_g7221_codec 616 ac_no_g722_codec 617 ac_no_gsm_codec 618 ac_no_l16_codec 619 ac_no_g711_codec 620 ac_no_speex_aec 621 ac_no_large_filter 622 ac_no_small_filter 623 ac_qt_cflags 624 ac_pjmedia_video_has_qt 625 ac_ios_cflags 626 ac_pjmedia_video_has_ios 627 ac_pjmedia_video 628 ac_pa_use_oss 629 ac_pa_use_alsa 630 ac_pa_cflags 631 ac_external_pa 632 ac_pjmedia_snd 633 ac_external_gsm 634 ac_external_speex 635 ac_os_objs 636 EGREP 637 GREP 638 CPP 639 ac_build_mak_vars 640 ac_pjdir 641 CC_CFLAGS 642 CC_OPTIMIZE 643 CC_DEF 644 CC_INC 645 CC_OUT 646 LIBEXT2 647 LIBEXT 648 RANLIB 649 LDOUT 650 LD 651 AR 652 ac_ct_CXX 653 CXXFLAGS 654 CXX 655 OBJEXT 656 EXEEXT 657 ac_ct_CC 658 CPPFLAGS 659 LDFLAGS 660 CFLAGS 661 CC 662 target_os 663 target_vendor 664 target_cpu 665 target 666 host_os 667 host_vendor 668 host_cpu 669 host 670 build_os 671 build_vendor 672 build_cpu 673 build 674 target_alias 675 host_alias 676 build_alias 677 LIBS 678 ECHO_T 679 ECHO_N 680 ECHO_C 681 DEFS 682 mandir 683 localedir 684 libdir 685 psdir 686 pdfdir 687 dvidir 688 htmldir 689 infodir 690 docdir 691 oldincludedir 692 includedir 693 localstatedir 694 sharedstatedir 695 sysconfdir 696 datadir 697 datarootdir 698 libexecdir 699 sbindir 700 bindir 701 program_transform_name 702 prefix 703 exec_prefix 704 PACKAGE_URL 705 PACKAGE_BUGREPORT 706 PACKAGE_STRING 707 PACKAGE_VERSION 708 PACKAGE_TARNAME 709 PACKAGE_NAME 616 710 PATH_SEPARATOR 617 PACKAGE_NAME 618 PACKAGE_TARNAME 619 PACKAGE_VERSION 620 PACKAGE_STRING 621 PACKAGE_BUGREPORT 622 exec_prefix 623 prefix 624 program_transform_name 625 bindir 626 sbindir 627 libexecdir 628 datarootdir 629 datadir 630 sysconfdir 631 sharedstatedir 632 localstatedir 633 includedir 634 oldincludedir 635 docdir 636 infodir 637 htmldir 638 dvidir 639 pdfdir 640 psdir 641 libdir 642 localedir 643 mandir 644 DEFS 645 ECHO_C 646 ECHO_N 647 ECHO_T 648 LIBS 649 build_alias 650 host_alias 651 target_alias 652 build 653 build_cpu 654 build_vendor 655 build_os 656 host 657 host_cpu 658 host_vendor 659 host_os 660 target 661 target_cpu 662 target_vendor 663 target_os 664 CC 665 CFLAGS 666 LDFLAGS 667 CPPFLAGS 668 ac_ct_CC 669 EXEEXT 670 OBJEXT 671 CXX 672 CXXFLAGS 673 ac_ct_CXX 674 AR 675 LD 676 LDOUT 677 RANLIB 678 LIBEXT 679 LIBEXT2 680 CC_OUT 681 CC_INC 682 CC_DEF 683 CC_OPTIMIZE 684 CC_CFLAGS 685 ac_pjdir 686 ac_build_mak_vars 687 CPP 688 GREP 689 EGREP 690 ac_os_objs 691 ac_external_speex 692 ac_external_gsm 693 ac_pjmedia_snd 694 ac_external_pa 695 ac_pa_cflags 696 ac_pa_use_alsa 697 ac_pa_use_oss 698 ac_pjmedia_video 699 ac_pjmedia_video_has_ios 700 ac_ios_cflags 701 ac_pjmedia_video_has_qt 702 ac_qt_cflags 703 ac_no_small_filter 704 ac_no_large_filter 705 ac_no_speex_aec 706 ac_no_g711_codec 707 ac_no_l16_codec 708 ac_no_gsm_codec 709 ac_no_g722_codec 710 ac_no_g7221_codec 711 ac_no_speex_codec 712 ac_no_ilbc_codec 713 ac_sdl_cflags 714 ac_sdl_ldflags 715 ac_has_ffmpeg 716 ac_ffmpeg_cflags 717 ac_ffmpeg_ldflags 718 ac_v4l2_cflags 719 ac_v4l2_ldflags 720 ac_no_ssl 721 openssl_h_present 722 libssl_present 723 libcrypto_present 724 ac_no_opencore_amrnb 725 opencore_amrnb_h_present 726 opencore_amrnb_present 727 ac_cross_compile 728 ac_linux_poll 729 ac_host 730 ac_main_obj 731 LIBOBJS 732 LTLIBOBJS' 711 SHELL' 733 712 ac_subst_files='' 713 ac_user_opts=' 714 enable_option_checking 715 enable_floating_point 716 enable_epoll 717 with_external_speex 718 with_external_gsm 719 enable_sound 720 with_external_pa 721 enable_oss 722 enable_ext_sound 723 enable_small_filter 724 enable_large_filter 725 enable_speex_aec 726 enable_g711_codec 727 enable_l16_codec 728 enable_gsm_codec 729 enable_g722_codec 730 enable_g7221_codec 731 enable_speex_codec 732 enable_ilbc_codec 733 enable_libsamplerate 734 with_sdl 735 enable_sdl 736 enable_ffmpeg 737 with_ffmpeg 738 enable_v4l2 739 enable_ipp 740 with_ipp 741 with_ipp_samples 742 with_ipp_arch 743 enable_ssl 744 enable_opencore_amrnb 745 ' 734 746 ac_precious_vars='build_alias 735 747 host_alias … … 749 761 ac_init_help= 750 762 ac_init_version=false 763 ac_unrecognized_opts= 764 ac_unrecognized_sep= 751 765 # The variables have the same names as the options, with 752 766 # dashes changed to underlines. … … 847 861 848 862 -disable-* | --disable-*) 849 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`863 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 850 864 # Reject names that are not valid shell variable names. 851 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 852 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 853 { (exit 1); exit 1; }; } 854 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 855 eval enable_$ac_feature=no ;; 865 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 866 as_fn_error "invalid feature name: $ac_useropt" 867 ac_useropt_orig=$ac_useropt 868 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 869 case $ac_user_opts in 870 *" 871 "enable_$ac_useropt" 872 "*) ;; 873 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 874 ac_unrecognized_sep=', ';; 875 esac 876 eval enable_$ac_useropt=no ;; 856 877 857 878 -docdir | --docdir | --docdi | --doc | --do) … … 866 887 867 888 -enable-* | --enable-*) 868 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`889 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 869 890 # Reject names that are not valid shell variable names. 870 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 871 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 872 { (exit 1); exit 1; }; } 873 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 874 eval enable_$ac_feature=\$ac_optarg ;; 891 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 892 as_fn_error "invalid feature name: $ac_useropt" 893 ac_useropt_orig=$ac_useropt 894 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 895 case $ac_user_opts in 896 *" 897 "enable_$ac_useropt" 898 "*) ;; 899 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 900 ac_unrecognized_sep=', ';; 901 esac 902 eval enable_$ac_useropt=\$ac_optarg ;; 875 903 876 904 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 1063 1091 1064 1092 -with-* | --with-*) 1065 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1093 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1066 1094 # Reject names that are not valid shell variable names. 1067 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1068 { echo "$as_me: error: invalid package name: $ac_package" >&2 1069 { (exit 1); exit 1; }; } 1070 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1071 eval with_$ac_package=\$ac_optarg ;; 1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1096 as_fn_error "invalid package name: $ac_useropt" 1097 ac_useropt_orig=$ac_useropt 1098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1099 case $ac_user_opts in 1100 *" 1101 "with_$ac_useropt" 1102 "*) ;; 1103 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1104 ac_unrecognized_sep=', ';; 1105 esac 1106 eval with_$ac_useropt=\$ac_optarg ;; 1072 1107 1073 1108 -without-* | --without-*) 1074 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1109 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1075 1110 # Reject names that are not valid shell variable names. 1076 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1077 { echo "$as_me: error: invalid package name: $ac_package" >&2 1078 { (exit 1); exit 1; }; } 1079 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1080 eval with_$ac_package=no ;; 1111 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1112 as_fn_error "invalid package name: $ac_useropt" 1113 ac_useropt_orig=$ac_useropt 1114 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1115 case $ac_user_opts in 1116 *" 1117 "with_$ac_useropt" 1118 "*) ;; 1119 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1120 ac_unrecognized_sep=', ';; 1121 esac 1122 eval with_$ac_useropt=no ;; 1081 1123 1082 1124 --x) … … 1098 1140 x_libraries=$ac_optarg ;; 1099 1141 1100 -*) { echo "$as_me: error: unrecognized option: $ac_option 1101 Try \`$0 --help' for more information." >&2 1102 { (exit 1); exit 1; }; } 1142 -*) as_fn_error "unrecognized option: \`$ac_option' 1143 Try \`$0 --help' for more information." 1103 1144 ;; 1104 1145 … … 1106 1147 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1107 1148 # Reject names that are not valid shell variable names. 1108 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1109 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1110 { (exit 1); exit 1; }; } 1149 case $ac_envvar in #( 1150 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1151 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1152 esac 1111 1153 eval $ac_envvar=\$ac_optarg 1112 1154 export $ac_envvar ;; … … 1114 1156 *) 1115 1157 # FIXME: should be removed in autoconf 3.0. 1116 echo "$as_me: WARNING: you should use --build, --host, --target" >&21158 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1117 1159 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1118 echo "$as_me: WARNING: invalid host type: $ac_option" >&21160 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1119 1161 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1120 1162 ;; … … 1125 1167 if test -n "$ac_prev"; then 1126 1168 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1127 { echo "$as_me: error: missing argument to $ac_option" >&2 1128 { (exit 1); exit 1; }; } 1129 fi 1130 1131 # Be sure to have absolute directory names. 1169 as_fn_error "missing argument to $ac_option" 1170 fi 1171 1172 if test -n "$ac_unrecognized_opts"; then 1173 case $enable_option_checking in 1174 no) ;; 1175 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1176 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1177 esac 1178 fi 1179 1180 # Check all directory arguments for consistency. 1132 1181 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1133 1182 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1136 1185 do 1137 1186 eval ac_val=\$$ac_var 1187 # Remove trailing slashes. 1188 case $ac_val in 1189 */ ) 1190 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1191 eval $ac_var=\$ac_val;; 1192 esac 1193 # Be sure to have absolute directory names. 1138 1194 case $ac_val in 1139 1195 [\\/$]* | ?:[\\/]* ) continue;; 1140 1196 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1141 1197 esac 1142 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1143 { (exit 1); exit 1; }; } 1198 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1144 1199 done 1145 1200 … … 1155 1210 if test "x$build_alias" = x; then 1156 1211 cross_compiling=maybe 1157 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1212 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1158 1213 If a cross compiler is detected then cross compile mode will be used." >&2 1159 1214 elif test "x$build_alias" != "x$host_alias"; then … … 1171 1226 ac_ls_di=`ls -di .` && 1172 1227 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1173 { echo "$as_me: error: Working directory cannot be determined" >&2 1174 { (exit 1); exit 1; }; } 1228 as_fn_error "working directory cannot be determined" 1175 1229 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1176 { echo "$as_me: error: pwd does not report name of working directory" >&2 1177 { (exit 1); exit 1; }; } 1230 as_fn_error "pwd does not report name of working directory" 1178 1231 1179 1232 … … 1182 1235 ac_srcdir_defaulted=yes 1183 1236 # Try the directory containing this script, then the parent directory. 1184 ac_confdir=`$as_dirname -- "$ 0" ||1185 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1186 X"$ 0" : 'X\(//\)[^/]' \| \1187 X"$ 0" : 'X\(//\)$' \| \1188 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1189 echo X"$0" |1237 ac_confdir=`$as_dirname -- "$as_myself" || 1238 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1239 X"$as_myself" : 'X\(//\)[^/]' \| \ 1240 X"$as_myself" : 'X\(//\)$' \| \ 1241 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1242 $as_echo X"$as_myself" | 1190 1243 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1191 1244 s//\1/ … … 1214 1267 if test ! -r "$srcdir/$ac_unique_file"; then 1215 1268 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1216 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1217 { (exit 1); exit 1; }; } 1269 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1218 1270 fi 1219 1271 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1220 1272 ac_abs_confdir=`( 1221 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1222 { (exit 1); exit 1; }; } 1273 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1223 1274 pwd)` 1224 1275 # When building in place, set srcdir=. … … 1268 1319 Installation directories: 1269 1320 --prefix=PREFIX install architecture-independent files in PREFIX 1270 1321 [$ac_default_prefix] 1271 1322 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1272 1323 [PREFIX] 1273 1324 1274 1325 By default, \`make install' will install all the files in … … 1280 1331 1281 1332 Fine tuning of the installation directories: 1282 --bindir=DIR user executables [EPREFIX/bin]1283 --sbindir=DIR system admin executables [EPREFIX/sbin]1284 --libexecdir=DIR program executables [EPREFIX/libexec]1285 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1286 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1287 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1288 --libdir=DIR object code libraries [EPREFIX/lib]1289 --includedir=DIR C header files [PREFIX/include]1290 --oldincludedir=DIR C header files for non-gcc [/usr/include]1291 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1292 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1293 --infodir=DIR info documentation [DATAROOTDIR/info]1294 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1295 --mandir=DIR man documentation [DATAROOTDIR/man]1296 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject]1297 --htmldir=DIR html documentation [DOCDIR]1298 --dvidir=DIR dvi documentation [DOCDIR]1299 --pdfdir=DIR pdf documentation [DOCDIR]1300 --psdir=DIR ps documentation [DOCDIR]1333 --bindir=DIR user executables [EPREFIX/bin] 1334 --sbindir=DIR system admin executables [EPREFIX/sbin] 1335 --libexecdir=DIR program executables [EPREFIX/libexec] 1336 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1337 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1338 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1339 --libdir=DIR object code libraries [EPREFIX/lib] 1340 --includedir=DIR C header files [PREFIX/include] 1341 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1342 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1343 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1344 --infodir=DIR info documentation [DATAROOTDIR/info] 1345 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1346 --mandir=DIR man documentation [DATAROOTDIR/man] 1347 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] 1348 --htmldir=DIR html documentation [DOCDIR] 1349 --dvidir=DIR dvi documentation [DOCDIR] 1350 --pdfdir=DIR pdf documentation [DOCDIR] 1351 --psdir=DIR ps documentation [DOCDIR] 1301 1352 _ACEOF 1302 1353 … … 1317 1368 1318 1369 Optional Features: 1370 --disable-option-checking ignore unrecognized --enable/--with options 1319 1371 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1320 1372 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] … … 1382 1434 nonstandard directory <lib dir> 1383 1435 LIBS libraries to pass to the linker, e.g. -l<library> 1384 CPPFLAGS C/C++/Objective Cpreprocessor flags, e.g. -I<include dir> if1436 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1385 1437 you have headers in a nonstandard directory <include dir> 1386 1438 CXX C++ compiler command … … 1391 1443 it to find libraries and programs with nonstandard names/locations. 1392 1444 1445 Report bugs to the package provider. 1393 1446 _ACEOF 1394 1447 ac_status=$? … … 1398 1451 # If there are subdirs, report their specific --help. 1399 1452 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1400 test -d "$ac_dir" || continue 1453 test -d "$ac_dir" || 1454 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1455 continue 1401 1456 ac_builddir=. 1402 1457 … … 1404 1459 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1405 1460 *) 1406 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1461 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1407 1462 # A ".." for each directory in $ac_dir_suffix. 1408 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1463 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1409 1464 case $ac_top_builddir_sub in 1410 1465 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1442 1497 $SHELL "$ac_srcdir/configure" --help=recursive 1443 1498 else 1444 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21499 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1445 1500 fi || ac_status=$? 1446 1501 cd "$ac_pwd" || { ac_status=$?; break; } … … 1452 1507 cat <<\_ACEOF 1453 1508 pjproject configure 1.x 1454 generated by GNU Autoconf 2.61 1455 1456 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1457 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1509 generated by GNU Autoconf 2.65 1510 1511 Copyright (C) 2009 Free Software Foundation, Inc. 1458 1512 This configure script is free software; the Free Software Foundation 1459 1513 gives unlimited permission to copy, distribute and modify it. … … 1461 1515 exit 1462 1516 fi 1517 1518 ## ------------------------ ## 1519 ## Autoconf initialization. ## 1520 ## ------------------------ ## 1521 1522 # ac_fn_c_try_compile LINENO 1523 # -------------------------- 1524 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1525 ac_fn_c_try_compile () 1526 { 1527 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1528 rm -f conftest.$ac_objext 1529 if { { ac_try="$ac_compile" 1530 case "(($ac_try" in 1531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1532 *) ac_try_echo=$ac_try;; 1533 esac 1534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1535 $as_echo "$ac_try_echo"; } >&5 1536 (eval "$ac_compile") 2>conftest.err 1537 ac_status=$? 1538 if test -s conftest.err; then 1539 grep -v '^ *+' conftest.err >conftest.er1 1540 cat conftest.er1 >&5 1541 mv -f conftest.er1 conftest.err 1542 fi 1543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1544 test $ac_status = 0; } && { 1545 test -z "$ac_c_werror_flag" || 1546 test ! -s conftest.err 1547 } && test -s conftest.$ac_objext; then : 1548 ac_retval=0 1549 else 1550 $as_echo "$as_me: failed program was:" >&5 1551 sed 's/^/| /' conftest.$ac_ext >&5 1552 1553 ac_retval=1 1554 fi 1555 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1556 as_fn_set_status $ac_retval 1557 1558 } # ac_fn_c_try_compile 1559 1560 # ac_fn_cxx_try_compile LINENO 1561 # ---------------------------- 1562 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1563 ac_fn_cxx_try_compile () 1564 { 1565 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1566 rm -f conftest.$ac_objext 1567 if { { ac_try="$ac_compile" 1568 case "(($ac_try" in 1569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1570 *) ac_try_echo=$ac_try;; 1571 esac 1572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1573 $as_echo "$ac_try_echo"; } >&5 1574 (eval "$ac_compile") 2>conftest.err 1575 ac_status=$? 1576 if test -s conftest.err; then 1577 grep -v '^ *+' conftest.err >conftest.er1 1578 cat conftest.er1 >&5 1579 mv -f conftest.er1 conftest.err 1580 fi 1581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1582 test $ac_status = 0; } && { 1583 test -z "$ac_cxx_werror_flag" || 1584 test ! -s conftest.err 1585 } && test -s conftest.$ac_objext; then : 1586 ac_retval=0 1587 else 1588 $as_echo "$as_me: failed program was:" >&5 1589 sed 's/^/| /' conftest.$ac_ext >&5 1590 1591 ac_retval=1 1592 fi 1593 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1594 as_fn_set_status $ac_retval 1595 1596 } # ac_fn_cxx_try_compile 1597 1598 # ac_fn_c_try_link LINENO 1599 # ----------------------- 1600 # Try to link conftest.$ac_ext, and return whether this succeeded. 1601 ac_fn_c_try_link () 1602 { 1603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1604 rm -f conftest.$ac_objext conftest$ac_exeext 1605 if { { ac_try="$ac_link" 1606 case "(($ac_try" in 1607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1608 *) ac_try_echo=$ac_try;; 1609 esac 1610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1611 $as_echo "$ac_try_echo"; } >&5 1612 (eval "$ac_link") 2>conftest.err 1613 ac_status=$? 1614 if test -s conftest.err; then 1615 grep -v '^ *+' conftest.err >conftest.er1 1616 cat conftest.er1 >&5 1617 mv -f conftest.er1 conftest.err 1618 fi 1619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1620 test $ac_status = 0; } && { 1621 test -z "$ac_c_werror_flag" || 1622 test ! -s conftest.err 1623 } && test -s conftest$ac_exeext && { 1624 test "$cross_compiling" = yes || 1625 $as_test_x conftest$ac_exeext 1626 }; then : 1627 ac_retval=0 1628 else 1629 $as_echo "$as_me: failed program was:" >&5 1630 sed 's/^/| /' conftest.$ac_ext >&5 1631 1632 ac_retval=1 1633 fi 1634 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1635 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1636 # interfere with the next link command; also delete a directory that is 1637 # left behind by Apple's compiler. We do this before executing the actions. 1638 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1639 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1640 as_fn_set_status $ac_retval 1641 1642 } # ac_fn_c_try_link 1643 1644 # ac_fn_c_try_run LINENO 1645 # ---------------------- 1646 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1647 # that executables *can* be run. 1648 ac_fn_c_try_run () 1649 { 1650 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1651 if { { ac_try="$ac_link" 1652 case "(($ac_try" in 1653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1654 *) ac_try_echo=$ac_try;; 1655 esac 1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1657 $as_echo "$ac_try_echo"; } >&5 1658 (eval "$ac_link") 2>&5 1659 ac_status=$? 1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1661 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1662 { { case "(($ac_try" in 1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1664 *) ac_try_echo=$ac_try;; 1665 esac 1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1667 $as_echo "$ac_try_echo"; } >&5 1668 (eval "$ac_try") 2>&5 1669 ac_status=$? 1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1671 test $ac_status = 0; }; }; then : 1672 ac_retval=0 1673 else 1674 $as_echo "$as_me: program exited with status $ac_status" >&5 1675 $as_echo "$as_me: failed program was:" >&5 1676 sed 's/^/| /' conftest.$ac_ext >&5 1677 1678 ac_retval=$ac_status 1679 fi 1680 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1681 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1682 as_fn_set_status $ac_retval 1683 1684 } # ac_fn_c_try_run 1685 1686 # ac_fn_c_try_cpp LINENO 1687 # ---------------------- 1688 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1689 ac_fn_c_try_cpp () 1690 { 1691 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1692 if { { ac_try="$ac_cpp conftest.$ac_ext" 1693 case "(($ac_try" in 1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1695 *) ac_try_echo=$ac_try;; 1696 esac 1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1698 $as_echo "$ac_try_echo"; } >&5 1699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1700 ac_status=$? 1701 if test -s conftest.err; then 1702 grep -v '^ *+' conftest.err >conftest.er1 1703 cat conftest.er1 >&5 1704 mv -f conftest.er1 conftest.err 1705 fi 1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1707 test $ac_status = 0; } >/dev/null && { 1708 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1709 test ! -s conftest.err 1710 }; then : 1711 ac_retval=0 1712 else 1713 $as_echo "$as_me: failed program was:" >&5 1714 sed 's/^/| /' conftest.$ac_ext >&5 1715 1716 ac_retval=1 1717 fi 1718 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1719 as_fn_set_status $ac_retval 1720 1721 } # ac_fn_c_try_cpp 1722 1723 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1724 # ------------------------------------------------------- 1725 # Tests whether HEADER exists and can be compiled using the include files in 1726 # INCLUDES, setting the cache variable VAR accordingly. 1727 ac_fn_c_check_header_compile () 1728 { 1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1731 $as_echo_n "checking for $2... " >&6; } 1732 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1733 $as_echo_n "(cached) " >&6 1734 else 1735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1736 /* end confdefs.h. */ 1737 $4 1738 #include <$2> 1739 _ACEOF 1740 if ac_fn_c_try_compile "$LINENO"; then : 1741 eval "$3=yes" 1742 else 1743 eval "$3=no" 1744 fi 1745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1746 fi 1747 eval ac_res=\$$3 1748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1749 $as_echo "$ac_res" >&6; } 1750 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1751 1752 } # ac_fn_c_check_header_compile 1753 1754 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1755 # ------------------------------------------------------- 1756 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1757 # the include files in INCLUDES and setting the cache variable VAR 1758 # accordingly. 1759 ac_fn_c_check_header_mongrel () 1760 { 1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1762 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1764 $as_echo_n "checking for $2... " >&6; } 1765 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1766 $as_echo_n "(cached) " >&6 1767 fi 1768 eval ac_res=\$$3 1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1770 $as_echo "$ac_res" >&6; } 1771 else 1772 # Is the header compilable? 1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1774 $as_echo_n "checking $2 usability... " >&6; } 1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1776 /* end confdefs.h. */ 1777 $4 1778 #include <$2> 1779 _ACEOF 1780 if ac_fn_c_try_compile "$LINENO"; then : 1781 ac_header_compiler=yes 1782 else 1783 ac_header_compiler=no 1784 fi 1785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1787 $as_echo "$ac_header_compiler" >&6; } 1788 1789 # Is the header present? 1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1791 $as_echo_n "checking $2 presence... " >&6; } 1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1793 /* end confdefs.h. */ 1794 #include <$2> 1795 _ACEOF 1796 if ac_fn_c_try_cpp "$LINENO"; then : 1797 ac_header_preproc=yes 1798 else 1799 ac_header_preproc=no 1800 fi 1801 rm -f conftest.err conftest.$ac_ext 1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1803 $as_echo "$ac_header_preproc" >&6; } 1804 1805 # So? What about this header? 1806 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1807 yes:no: ) 1808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1809 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1811 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1812 ;; 1813 no:yes:* ) 1814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1815 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1817 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1819 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1821 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1823 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1824 ;; 1825 esac 1826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1827 $as_echo_n "checking for $2... " >&6; } 1828 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1829 $as_echo_n "(cached) " >&6 1830 else 1831 eval "$3=\$ac_header_compiler" 1832 fi 1833 eval ac_res=\$$3 1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1835 $as_echo "$ac_res" >&6; } 1836 fi 1837 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1838 1839 } # ac_fn_c_check_header_mongrel 1840 1841 # ac_fn_c_check_func LINENO FUNC VAR 1842 # ---------------------------------- 1843 # Tests whether FUNC exists, setting the cache variable VAR accordingly 1844 ac_fn_c_check_func () 1845 { 1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1848 $as_echo_n "checking for $2... " >&6; } 1849 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1850 $as_echo_n "(cached) " >&6 1851 else 1852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1853 /* end confdefs.h. */ 1854 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1855 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1856 #define $2 innocuous_$2 1857 1858 /* System header to define __stub macros and hopefully few prototypes, 1859 which can conflict with char $2 (); below. 1860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1861 <limits.h> exists even on freestanding compilers. */ 1862 1863 #ifdef __STDC__ 1864 # include <limits.h> 1865 #else 1866 # include <assert.h> 1867 #endif 1868 1869 #undef $2 1870 1871 /* Override any GCC internal prototype to avoid an error. 1872 Use char because int might match the return type of a GCC 1873 builtin and then its argument prototype would still apply. */ 1874 #ifdef __cplusplus 1875 extern "C" 1876 #endif 1877 char $2 (); 1878 /* The GNU C library defines this for functions which it implements 1879 to always fail with ENOSYS. Some functions are actually named 1880 something starting with __ and the normal name is an alias. */ 1881 #if defined __stub_$2 || defined __stub___$2 1882 choke me 1883 #endif 1884 1885 int 1886 main () 1887 { 1888 return $2 (); 1889 ; 1890 return 0; 1891 } 1892 _ACEOF 1893 if ac_fn_c_try_link "$LINENO"; then : 1894 eval "$3=yes" 1895 else 1896 eval "$3=no" 1897 fi 1898 rm -f core conftest.err conftest.$ac_objext \ 1899 conftest$ac_exeext conftest.$ac_ext 1900 fi 1901 eval ac_res=\$$3 1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1903 $as_echo "$ac_res" >&6; } 1904 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1905 1906 } # ac_fn_c_check_func 1463 1907 cat >config.log <<_ACEOF 1464 1908 This file contains any messages produced by compilers while … … 1466 1910 1467 1911 It was created by pjproject $as_me 1.x, which was 1468 generated by GNU Autoconf 2.6 1. Invocation command line was1912 generated by GNU Autoconf 2.65. Invocation command line was 1469 1913 1470 1914 $ $0 $@ … … 1502 1946 IFS=$as_save_IFS 1503 1947 test -z "$as_dir" && as_dir=. 1504 echo "PATH: $as_dir"1505 done1948 $as_echo "PATH: $as_dir" 1949 done 1506 1950 IFS=$as_save_IFS 1507 1951 … … 1537 1981 continue ;; 1538 1982 *\'*) 1539 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1983 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1540 1984 esac 1541 1985 case $ac_pass in 1542 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1986 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1543 1987 2) 1544 a c_configure_args1="$ac_configure_args1'$ac_arg'"1988 as_fn_append ac_configure_args1 " '$ac_arg'" 1545 1989 if test $ac_must_keep_next = true; then 1546 1990 ac_must_keep_next=false # Got value, back to normal. … … 1558 2002 esac 1559 2003 fi 1560 a c_configure_args="$ac_configure_args'$ac_arg'"2004 as_fn_append ac_configure_args " '$ac_arg'" 1561 2005 ;; 1562 2006 esac 1563 2007 done 1564 2008 done 1565 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1566 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}2009 { ac_configure_args0=; unset ac_configure_args0;} 2010 { ac_configure_args1=; unset ac_configure_args1;} 1567 2011 1568 2012 # When interrupted or exit'd, cleanup temporary files, and complete … … 1589 2033 *${as_nl}*) 1590 2034 case $ac_var in #( 1591 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51592 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;2035 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2036 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1593 2037 esac 1594 2038 case $ac_var in #( 1595 2039 _ | IFS | as_nl) ;; #( 1596 *) $as_unset $ac_var ;; 2040 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2041 *) { eval $ac_var=; unset $ac_var;} ;; 1597 2042 esac ;; 1598 2043 esac … … 1623 2068 eval ac_val=\$$ac_var 1624 2069 case $ac_val in 1625 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2070 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1626 2071 esac 1627 echo "$ac_var='\''$ac_val'\''"2072 $as_echo "$ac_var='\''$ac_val'\''" 1628 2073 done | sort 1629 2074 echo … … 1640 2085 eval ac_val=\$$ac_var 1641 2086 case $ac_val in 1642 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;2087 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1643 2088 esac 1644 echo "$ac_var='\''$ac_val'\''"2089 $as_echo "$ac_var='\''$ac_val'\''" 1645 2090 done | sort 1646 2091 echo … … 1658 2103 fi 1659 2104 test "$ac_signal" != 0 && 1660 echo "$as_me: caught signal $ac_signal"1661 echo "$as_me: exit $exit_status"2105 $as_echo "$as_me: caught signal $ac_signal" 2106 $as_echo "$as_me: exit $exit_status" 1662 2107 } >&5 1663 2108 rm -f core *.core core.conftest.* && … … 1666 2111 ' 0 1667 2112 for ac_signal in 1 2 13 15; do 1668 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal2113 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1669 2114 done 1670 2115 ac_signal=0 … … 1673 2118 rm -f -r conftest* confdefs.h 1674 2119 2120 $as_echo "/* confdefs.h */" > confdefs.h 2121 1675 2122 # Predefined preprocessor variables. 1676 2123 … … 1679 2126 _ACEOF 1680 2127 1681 1682 2128 cat >>confdefs.h <<_ACEOF 1683 2129 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1684 2130 _ACEOF 1685 2131 1686 1687 2132 cat >>confdefs.h <<_ACEOF 1688 2133 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1689 2134 _ACEOF 1690 2135 1691 1692 2136 cat >>confdefs.h <<_ACEOF 1693 2137 #define PACKAGE_STRING "$PACKAGE_STRING" 1694 2138 _ACEOF 1695 2139 1696 1697 2140 cat >>confdefs.h <<_ACEOF 1698 2141 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1699 2142 _ACEOF 1700 2143 2144 cat >>confdefs.h <<_ACEOF 2145 #define PACKAGE_URL "$PACKAGE_URL" 2146 _ACEOF 2147 1701 2148 1702 2149 # Let the site file select an alternate cache file if it wants to. 1703 # Prefer explicitly selected file to automatically selected ones. 2150 # Prefer an explicitly selected file to automatically selected ones. 2151 ac_site_file1=NONE 2152 ac_site_file2=NONE 1704 2153 if test -n "$CONFIG_SITE"; then 1705 set x "$CONFIG_SITE"2154 ac_site_file1=$CONFIG_SITE 1706 2155 elif test "x$prefix" != xNONE; then 1707 set x "$prefix/share/config.site" "$prefix/etc/config.site"1708 else1709 set x "$ac_default_prefix/share/config.site" \ 1710 "$ac_default_prefix/etc/config.site" 1711 fi 1712 shift 1713 for ac_site_file 2156 ac_site_file1=$prefix/share/config.site 2157 ac_site_file2=$prefix/etc/config.site 2158 else 2159 ac_site_file1=$ac_default_prefix/share/config.site 2160 ac_site_file2=$ac_default_prefix/etc/config.site 2161 fi 2162 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1714 2163 do 1715 if test -r "$ac_site_file"; then 1716 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1717 echo "$as_me: loading site script $ac_site_file" >&6;} 2164 test "x$ac_site_file" = xNONE && continue 2165 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2166 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2167 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1718 2168 sed 's/^/| /' "$ac_site_file" >&5 1719 2169 . "$ac_site_file" … … 1722 2172 1723 2173 if test -r "$cache_file"; then 1724 # Some versions of bash will fail to source /dev/null (special 1725 # files actually), so we avoid doing that.1726 if test -f "$cache_file"; then1727 { echo "$as_me:$LINENO: loading cache $cache_file" >&51728 echo "$as_me: loading cache $cache_file" >&6;}2174 # Some versions of bash will fail to source /dev/null (special files 2175 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2176 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2178 $as_echo "$as_me: loading cache $cache_file" >&6;} 1729 2179 case $cache_file in 1730 2180 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1733 2183 fi 1734 2184 else 1735 { echo "$as_me:$LINENO: creating cache $cache_file" >&51736 echo "$as_me: creating cache $cache_file" >&6;}2185 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2186 $as_echo "$as_me: creating cache $cache_file" >&6;} 1737 2187 >$cache_file 1738 2188 fi … … 1748 2198 case $ac_old_set,$ac_new_set in 1749 2199 set,) 1750 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51751 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2200 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2201 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1752 2202 ac_cache_corrupted=: ;; 1753 2203 ,set) 1754 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51755 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2204 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2205 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1756 2206 ac_cache_corrupted=: ;; 1757 2207 ,);; 1758 2208 *) 1759 2209 if test "x$ac_old_val" != "x$ac_new_val"; then 1760 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1761 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1762 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1763 echo "$as_me: former value: $ac_old_val" >&2;} 1764 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1765 echo "$as_me: current value: $ac_new_val" >&2;} 1766 ac_cache_corrupted=: 2210 # differences in whitespace do not lead to failure. 2211 ac_old_val_w=`echo x $ac_old_val` 2212 ac_new_val_w=`echo x $ac_new_val` 2213 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2214 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2215 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2216 ac_cache_corrupted=: 2217 else 2218 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2219 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2220 eval $ac_var=\$ac_old_val 2221 fi 2222 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2223 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2224 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2225 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1767 2226 fi;; 1768 2227 esac … … 1770 2229 if test "$ac_new_set" = set; then 1771 2230 case $ac_new_val in 1772 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;2231 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1773 2232 *) ac_arg=$ac_var=$ac_new_val ;; 1774 2233 esac 1775 2234 case " $ac_configure_args " in 1776 2235 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1777 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2236 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1778 2237 esac 1779 2238 fi 1780 2239 done 1781 2240 if $ac_cache_corrupted; then 1782 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1783 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1784 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1785 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1786 { (exit 1); exit 1; }; } 1787 fi 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 2241 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2243 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2244 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2245 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2246 fi 2247 ## -------------------- ## 2248 ## Main body of script. ## 2249 ## -------------------- ## 1812 2250 1813 2251 ac_ext=c … … 1823 2261 ac_aux_dir= 1824 2262 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1825 if test -f "$ac_dir/install-sh"; then 1826 ac_aux_dir=$ac_dir 1827 ac_install_sh="$ac_aux_dir/install-sh -c" 1828 break 1829 elif test -f "$ac_dir/install.sh"; then 1830 ac_aux_dir=$ac_dir 1831 ac_install_sh="$ac_aux_dir/install.sh -c" 1832 break 1833 elif test -f "$ac_dir/shtool"; then 1834 ac_aux_dir=$ac_dir 1835 ac_install_sh="$ac_aux_dir/shtool install -c" 1836 break 1837 fi 2263 for ac_t in install-sh install.sh shtool; do 2264 if test -f "$ac_dir/$ac_t"; then 2265 ac_aux_dir=$ac_dir 2266 ac_install_sh="$ac_aux_dir/$ac_t -c" 2267 break 2 2268 fi 2269 done 1838 2270 done 1839 2271 if test -z "$ac_aux_dir"; then 1840 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1841 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1842 { (exit 1); exit 1; }; } 2272 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1843 2273 fi 1844 2274 … … 1854 2284 # Make sure we can run config.sub. 1855 2285 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1856 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1857 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1858 { (exit 1); exit 1; }; } 1859 1860 { echo "$as_me:$LINENO: checking build system type" >&5 1861 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1862 if test "${ac_cv_build+set}" = set; then 1863 echo $ECHO_N "(cached) $ECHO_C" >&6 2286 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2287 2288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2289 $as_echo_n "checking build system type... " >&6; } 2290 if test "${ac_cv_build+set}" = set; then : 2291 $as_echo_n "(cached) " >&6 1864 2292 else 1865 2293 ac_build_alias=$build_alias … … 1867 2295 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1868 2296 test "x$ac_build_alias" = x && 1869 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1870 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1871 { (exit 1); exit 1; }; } 2297 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1872 2298 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1873 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1874 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1875 { (exit 1); exit 1; }; } 1876 1877 fi 1878 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1879 echo "${ECHO_T}$ac_cv_build" >&6; } 2299 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2300 2301 fi 2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2303 $as_echo "$ac_cv_build" >&6; } 1880 2304 case $ac_cv_build in 1881 2305 *-*-*) ;; 1882 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1883 echo "$as_me: error: invalid value of canonical build" >&2;} 1884 { (exit 1); exit 1; }; };; 2306 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1885 2307 esac 1886 2308 build=$ac_cv_build … … 1898 2320 1899 2321 1900 { echo "$as_me:$LINENO: checking host system type" >&51901 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }1902 if test "${ac_cv_host+set}" = set; then 1903 echo $ECHO_N "(cached) $ECHO_C" >&62322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2323 $as_echo_n "checking host system type... " >&6; } 2324 if test "${ac_cv_host+set}" = set; then : 2325 $as_echo_n "(cached) " >&6 1904 2326 else 1905 2327 if test "x$host_alias" = x; then … … 1907 2329 else 1908 2330 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1909 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1910 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1911 { (exit 1); exit 1; }; } 1912 fi 1913 1914 fi 1915 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1916 echo "${ECHO_T}$ac_cv_host" >&6; } 2331 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2332 fi 2333 2334 fi 2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2336 $as_echo "$ac_cv_host" >&6; } 1917 2337 case $ac_cv_host in 1918 2338 *-*-*) ;; 1919 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1920 echo "$as_me: error: invalid value of canonical host" >&2;} 1921 { (exit 1); exit 1; }; };; 2339 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1922 2340 esac 1923 2341 host=$ac_cv_host … … 1935 2353 1936 2354 1937 { echo "$as_me:$LINENO: checking target system type" >&51938 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }1939 if test "${ac_cv_target+set}" = set; then 1940 echo $ECHO_N "(cached) $ECHO_C" >&62355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2356 $as_echo_n "checking target system type... " >&6; } 2357 if test "${ac_cv_target+set}" = set; then : 2358 $as_echo_n "(cached) " >&6 1941 2359 else 1942 2360 if test "x$target_alias" = x; then … … 1944 2362 else 1945 2363 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1946 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1947 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1948 { (exit 1); exit 1; }; } 1949 fi 1950 1951 fi 1952 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1953 echo "${ECHO_T}$ac_cv_target" >&6; } 2364 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2365 fi 2366 2367 fi 2368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2369 $as_echo "$ac_cv_target" >&6; } 1954 2370 case $ac_cv_target in 1955 2371 *-*-*) ;; 1956 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1957 echo "$as_me: error: invalid value of canonical target" >&2;} 1958 { (exit 1); exit 1; }; };; 2372 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 1959 2373 esac 1960 2374 target=$ac_cv_target … … 2000 2414 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2001 2415 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2002 { echo "$as_me:$LINENO: checking for $ac_word" >&52003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2004 if test "${ac_cv_prog_CC+set}" = set; then 2005 echo $ECHO_N "(cached) $ECHO_C" >&62416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2417 $as_echo_n "checking for $ac_word... " >&6; } 2418 if test "${ac_cv_prog_CC+set}" = set; then : 2419 $as_echo_n "(cached) " >&6 2006 2420 else 2007 2421 if test -n "$CC"; then … … 2013 2427 IFS=$as_save_IFS 2014 2428 test -z "$as_dir" && as_dir=. 2015 for ac_exec_ext in '' $ac_executable_extensions; do2429 for ac_exec_ext in '' $ac_executable_extensions; do 2016 2430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2017 2431 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2019 2433 break 2 2020 2434 fi 2021 2435 done 2022 done2436 done 2023 2437 IFS=$as_save_IFS 2024 2438 … … 2027 2441 CC=$ac_cv_prog_CC 2028 2442 if test -n "$CC"; then 2029 { echo "$as_me:$LINENO: result: $CC" >&52030 echo "${ECHO_T}$CC" >&6; }2031 else 2032 { echo "$as_me:$LINENO: result: no" >&52033 echo "${ECHO_T}no" >&6; }2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2444 $as_echo "$CC" >&6; } 2445 else 2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2447 $as_echo "no" >&6; } 2034 2448 fi 2035 2449 … … 2040 2454 # Extract the first word of "gcc", so it can be a program name with args. 2041 2455 set dummy gcc; ac_word=$2 2042 { echo "$as_me:$LINENO: checking for $ac_word" >&52043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2044 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2045 echo $ECHO_N "(cached) $ECHO_C" >&62456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2457 $as_echo_n "checking for $ac_word... " >&6; } 2458 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2459 $as_echo_n "(cached) " >&6 2046 2460 else 2047 2461 if test -n "$ac_ct_CC"; then … … 2053 2467 IFS=$as_save_IFS 2054 2468 test -z "$as_dir" && as_dir=. 2055 for ac_exec_ext in '' $ac_executable_extensions; do2469 for ac_exec_ext in '' $ac_executable_extensions; do 2056 2470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2057 2471 ac_cv_prog_ac_ct_CC="gcc" 2058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2059 2473 break 2 2060 2474 fi 2061 2475 done 2062 done2476 done 2063 2477 IFS=$as_save_IFS 2064 2478 … … 2067 2481 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2068 2482 if test -n "$ac_ct_CC"; then 2069 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52070 echo "${ECHO_T}$ac_ct_CC" >&6; }2071 else 2072 { echo "$as_me:$LINENO: result: no" >&52073 echo "${ECHO_T}no" >&6; }2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2484 $as_echo "$ac_ct_CC" >&6; } 2485 else 2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2487 $as_echo "no" >&6; } 2074 2488 fi 2075 2489 … … 2079 2493 case $cross_compiling:$ac_tool_warned in 2080 2494 yes:) 2081 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2082 whose name does not start with the host triplet. If you think this 2083 configuration is useful to you, please write to autoconf@gnu.org." >&5 2084 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2085 whose name does not start with the host triplet. If you think this 2086 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2087 2497 ac_tool_warned=yes ;; 2088 2498 esac … … 2097 2507 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2098 2508 set dummy ${ac_tool_prefix}cc; ac_word=$2 2099 { echo "$as_me:$LINENO: checking for $ac_word" >&52100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2101 if test "${ac_cv_prog_CC+set}" = set; then 2102 echo $ECHO_N "(cached) $ECHO_C" >&62509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2510 $as_echo_n "checking for $ac_word... " >&6; } 2511 if test "${ac_cv_prog_CC+set}" = set; then : 2512 $as_echo_n "(cached) " >&6 2103 2513 else 2104 2514 if test -n "$CC"; then … … 2110 2520 IFS=$as_save_IFS 2111 2521 test -z "$as_dir" && as_dir=. 2112 for ac_exec_ext in '' $ac_executable_extensions; do2522 for ac_exec_ext in '' $ac_executable_extensions; do 2113 2523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2114 2524 ac_cv_prog_CC="${ac_tool_prefix}cc" 2115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2116 2526 break 2 2117 2527 fi 2118 2528 done 2119 done2529 done 2120 2530 IFS=$as_save_IFS 2121 2531 … … 2124 2534 CC=$ac_cv_prog_CC 2125 2535 if test -n "$CC"; then 2126 { echo "$as_me:$LINENO: result: $CC" >&52127 echo "${ECHO_T}$CC" >&6; }2128 else 2129 { echo "$as_me:$LINENO: result: no" >&52130 echo "${ECHO_T}no" >&6; }2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2537 $as_echo "$CC" >&6; } 2538 else 2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2540 $as_echo "no" >&6; } 2131 2541 fi 2132 2542 … … 2137 2547 # Extract the first word of "cc", so it can be a program name with args. 2138 2548 set dummy cc; ac_word=$2 2139 { echo "$as_me:$LINENO: checking for $ac_word" >&52140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2141 if test "${ac_cv_prog_CC+set}" = set; then 2142 echo $ECHO_N "(cached) $ECHO_C" >&62549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2550 $as_echo_n "checking for $ac_word... " >&6; } 2551 if test "${ac_cv_prog_CC+set}" = set; then : 2552 $as_echo_n "(cached) " >&6 2143 2553 else 2144 2554 if test -n "$CC"; then … … 2151 2561 IFS=$as_save_IFS 2152 2562 test -z "$as_dir" && as_dir=. 2153 for ac_exec_ext in '' $ac_executable_extensions; do2563 for ac_exec_ext in '' $ac_executable_extensions; do 2154 2564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2155 2565 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2158 2568 fi 2159 2569 ac_cv_prog_CC="cc" 2160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2161 2571 break 2 2162 2572 fi 2163 2573 done 2164 done2574 done 2165 2575 IFS=$as_save_IFS 2166 2576 … … 2181 2591 CC=$ac_cv_prog_CC 2182 2592 if test -n "$CC"; then 2183 { echo "$as_me:$LINENO: result: $CC" >&52184 echo "${ECHO_T}$CC" >&6; }2185 else 2186 { echo "$as_me:$LINENO: result: no" >&52187 echo "${ECHO_T}no" >&6; }2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2594 $as_echo "$CC" >&6; } 2595 else 2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2597 $as_echo "no" >&6; } 2188 2598 fi 2189 2599 … … 2196 2606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2197 2607 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2198 { echo "$as_me:$LINENO: checking for $ac_word" >&52199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2200 if test "${ac_cv_prog_CC+set}" = set; then 2201 echo $ECHO_N "(cached) $ECHO_C" >&62608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2609 $as_echo_n "checking for $ac_word... " >&6; } 2610 if test "${ac_cv_prog_CC+set}" = set; then : 2611 $as_echo_n "(cached) " >&6 2202 2612 else 2203 2613 if test -n "$CC"; then … … 2209 2619 IFS=$as_save_IFS 2210 2620 test -z "$as_dir" && as_dir=. 2211 for ac_exec_ext in '' $ac_executable_extensions; do2621 for ac_exec_ext in '' $ac_executable_extensions; do 2212 2622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2213 2623 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2215 2625 break 2 2216 2626 fi 2217 2627 done 2218 done2628 done 2219 2629 IFS=$as_save_IFS 2220 2630 … … 2223 2633 CC=$ac_cv_prog_CC 2224 2634 if test -n "$CC"; then 2225 { echo "$as_me:$LINENO: result: $CC" >&52226 echo "${ECHO_T}$CC" >&6; }2227 else 2228 { echo "$as_me:$LINENO: result: no" >&52229 echo "${ECHO_T}no" >&6; }2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2636 $as_echo "$CC" >&6; } 2637 else 2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2639 $as_echo "no" >&6; } 2230 2640 fi 2231 2641 … … 2240 2650 # Extract the first word of "$ac_prog", so it can be a program name with args. 2241 2651 set dummy $ac_prog; ac_word=$2 2242 { echo "$as_me:$LINENO: checking for $ac_word" >&52243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2244 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2245 echo $ECHO_N "(cached) $ECHO_C" >&62652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2653 $as_echo_n "checking for $ac_word... " >&6; } 2654 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2655 $as_echo_n "(cached) " >&6 2246 2656 else 2247 2657 if test -n "$ac_ct_CC"; then … … 2253 2663 IFS=$as_save_IFS 2254 2664 test -z "$as_dir" && as_dir=. 2255 for ac_exec_ext in '' $ac_executable_extensions; do2665 for ac_exec_ext in '' $ac_executable_extensions; do 2256 2666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2257 2667 ac_cv_prog_ac_ct_CC="$ac_prog" 2258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2259 2669 break 2 2260 2670 fi 2261 2671 done 2262 done2672 done 2263 2673 IFS=$as_save_IFS 2264 2674 … … 2267 2677 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2268 2678 if test -n "$ac_ct_CC"; then 2269 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&52270 echo "${ECHO_T}$ac_ct_CC" >&6; }2271 else 2272 { echo "$as_me:$LINENO: result: no" >&52273 echo "${ECHO_T}no" >&6; }2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2680 $as_echo "$ac_ct_CC" >&6; } 2681 else 2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2683 $as_echo "no" >&6; } 2274 2684 fi 2275 2685 … … 2283 2693 case $cross_compiling:$ac_tool_warned in 2284 2694 yes:) 2285 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2286 whose name does not start with the host triplet. If you think this 2287 configuration is useful to you, please write to autoconf@gnu.org." >&5 2288 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2289 whose name does not start with the host triplet. If you think this 2290 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2291 2697 ac_tool_warned=yes ;; 2292 2698 esac … … 2298 2704 2299 2705 2300 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2301 See \`config.log' for more details." >&5 2302 echo "$as_me: error: no acceptable C compiler found in \$PATH 2303 See \`config.log' for more details." >&2;} 2304 { (exit 1); exit 1; }; } 2706 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2708 as_fn_error "no acceptable C compiler found in \$PATH 2709 See \`config.log' for more details." "$LINENO" 5; } 2305 2710 2306 2711 # Provide some information about the compiler. 2307 echo "$as_me:$LINENO: checking for C compiler version" >&5 2308 ac_compiler=`set X $ac_compile; echo $2` 2309 { (ac_try="$ac_compiler --version >&5" 2712 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2713 set X $ac_compile 2714 ac_compiler=$2 2715 for ac_option in --version -v -V -qversion; do 2716 { { ac_try="$ac_compiler $ac_option >&5" 2310 2717 case "(($ac_try" in 2311 2718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2312 2719 *) ac_try_echo=$ac_try;; 2313 2720 esac 2314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2315 (eval "$ac_compiler --version >&5") 2>&5 2721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2722 $as_echo "$ac_try_echo"; } >&5 2723 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2316 2724 ac_status=$? 2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2318 (exit $ac_status); } 2319 { (ac_try="$ac_compiler -v >&5" 2725 if test -s conftest.err; then 2726 sed '10a\ 2727 ... rest of stderr output deleted ... 2728 10q' conftest.err >conftest.er1 2729 cat conftest.er1 >&5 2730 fi 2731 rm -f conftest.er1 conftest.err 2732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2733 test $ac_status = 0; } 2734 done 2735 2736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2737 /* end confdefs.h. */ 2738 2739 int 2740 main () 2741 { 2742 2743 ; 2744 return 0; 2745 } 2746 _ACEOF 2747 ac_clean_files_save=$ac_clean_files 2748 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2749 # Try to create an executable without -o first, disregard a.out. 2750 # It will help us diagnose broken compilers, and finding out an intuition 2751 # of exeext. 2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2753 $as_echo_n "checking whether the C compiler works... " >&6; } 2754 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2755 2756 # The possible output files: 2757 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2758 2759 ac_rmfiles= 2760 for ac_file in $ac_files 2761 do 2762 case $ac_file in 2763 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2764 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2765 esac 2766 done 2767 rm -f $ac_rmfiles 2768 2769 if { { ac_try="$ac_link_default" 2320 2770 case "(($ac_try" in 2321 2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2322 2772 *) ac_try_echo=$ac_try;; 2323 2773 esac 2324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2325 (eval "$ac_compiler -v >&5") 2>&5 2326 ac_status=$? 2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2328 (exit $ac_status); } 2329 { (ac_try="$ac_compiler -V >&5" 2330 case "(($ac_try" in 2331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2332 *) ac_try_echo=$ac_try;; 2333 esac 2334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2335 (eval "$ac_compiler -V >&5") 2>&5 2336 ac_status=$? 2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2338 (exit $ac_status); } 2339 2340 cat >conftest.$ac_ext <<_ACEOF 2341 /* confdefs.h. */ 2342 _ACEOF 2343 cat confdefs.h >>conftest.$ac_ext 2344 cat >>conftest.$ac_ext <<_ACEOF 2345 /* end confdefs.h. */ 2346 2347 int 2348 main () 2349 { 2350 2351 ; 2352 return 0; 2353 } 2354 _ACEOF 2355 ac_clean_files_save=$ac_clean_files 2356 ac_clean_files="$ac_clean_files a.out a.exe b.out" 2357 # Try to create an executable without -o first, disregard a.out. 2358 # It will help us diagnose broken compilers, and finding out an intuition 2359 # of exeext. 2360 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2361 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2362 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2363 # 2364 # List of possible output files, starting from the most likely. 2365 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2366 # only as a last resort. b.out is created by i960 compilers. 2367 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2368 # 2369 # The IRIX 6 linker writes into existing files which may not be 2370 # executable, retaining their permissions. Remove them first so a 2371 # subsequent execution test works. 2372 ac_rmfiles= 2373 for ac_file in $ac_files 2374 do 2375 case $ac_file in 2376 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2377 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2378 esac 2379 done 2380 rm -f $ac_rmfiles 2381 2382 if { (ac_try="$ac_link_default" 2383 case "(($ac_try" in 2384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2385 *) ac_try_echo=$ac_try;; 2386 esac 2387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2775 $as_echo "$ac_try_echo"; } >&5 2388 2776 (eval "$ac_link_default") 2>&5 2389 2777 ac_status=$? 2390 echo "$as_me:$LINENO: \$? = $ac_status" >&52391 (exit $ac_status); }; then2778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2779 test $ac_status = 0; }; then : 2392 2780 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2393 2781 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2399 2787 test -f "$ac_file" || continue 2400 2788 case $ac_file in 2401 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj )2789 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2402 2790 ;; 2403 2791 [ab].out ) … … 2406 2794 break;; 2407 2795 *.* ) 2408 2796 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2409 2797 then :; else 2410 2798 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2425 2813 ac_file='' 2426 2814 fi 2427 2428 { echo "$as_me:$LINENO: result: $ac_file" >&5 2429 echo "${ECHO_T}$ac_file" >&6; } 2430 if test -z "$ac_file"; then 2431 echo "$as_me: failed program was:" >&5 2815 if test -z "$ac_file"; then : 2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2817 $as_echo "no" >&6; } 2818 $as_echo "$as_me: failed program was:" >&5 2432 2819 sed 's/^/| /' conftest.$ac_ext >&5 2433 2820 2434 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 2435 See \`config.log' for more details." >&5 2436 echo "$as_me: error: C compiler cannot create executables 2437 See \`config.log' for more details." >&2;} 2438 { (exit 77); exit 77; }; } 2439 fi 2440 2821 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2822 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2823 { as_fn_set_status 77 2824 as_fn_error "C compiler cannot create executables 2825 See \`config.log' for more details." "$LINENO" 5; }; } 2826 else 2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2828 $as_echo "yes" >&6; } 2829 fi 2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2831 $as_echo_n "checking for C compiler default output file name... " >&6; } 2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2833 $as_echo "$ac_file" >&6; } 2441 2834 ac_exeext=$ac_cv_exeext 2442 2835 2443 # Check that the compiler produces executables we can run. If not, either 2444 # the compiler is broken, or we cross compile. 2445 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2446 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2447 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2448 # If not cross compiling, check that we can run a simple program. 2449 if test "$cross_compiling" != yes; then 2450 if { ac_try='./$ac_file' 2451 { (case "(($ac_try" in 2452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2453 *) ac_try_echo=$ac_try;; 2454 esac 2455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2456 (eval "$ac_try") 2>&5 2457 ac_status=$? 2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2459 (exit $ac_status); }; }; then 2460 cross_compiling=no 2461 else 2462 if test "$cross_compiling" = maybe; then 2463 cross_compiling=yes 2464 else 2465 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2466 If you meant to cross compile, use \`--host'. 2467 See \`config.log' for more details." >&5 2468 echo "$as_me: error: cannot run C compiled programs. 2469 If you meant to cross compile, use \`--host'. 2470 See \`config.log' for more details." >&2;} 2471 { (exit 1); exit 1; }; } 2472 fi 2473 fi 2474 fi 2475 { echo "$as_me:$LINENO: result: yes" >&5 2476 echo "${ECHO_T}yes" >&6; } 2477 2478 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2836 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2479 2837 ac_clean_files=$ac_clean_files_save 2480 # Check that the compiler produces executables we can run. If not, either 2481 # the compiler is broken, or we cross compile. 2482 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2483 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2484 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2485 echo "${ECHO_T}$cross_compiling" >&6; } 2486 2487 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2488 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2489 if { (ac_try="$ac_link" 2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2839 $as_echo_n "checking for suffix of executables... " >&6; } 2840 if { { ac_try="$ac_link" 2490 2841 case "(($ac_try" in 2491 2842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2492 2843 *) ac_try_echo=$ac_try;; 2493 2844 esac 2494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2846 $as_echo "$ac_try_echo"; } >&5 2495 2847 (eval "$ac_link") 2>&5 2496 2848 ac_status=$? 2497 echo "$as_me:$LINENO: \$? = $ac_status" >&52498 (exit $ac_status); }; then2849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2850 test $ac_status = 0; }; then : 2499 2851 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2500 2852 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2504 2856 test -f "$ac_file" || continue 2505 2857 case $ac_file in 2506 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *. o | *.obj ) ;;2858 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2507 2859 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2508 2860 break;; … … 2511 2863 done 2512 2864 else 2513 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2514 See \`config.log' for more details." >&5 2515 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2516 See \`config.log' for more details." >&2;} 2517 { (exit 1); exit 1; }; } 2518 fi 2519 2520 rm -f conftest$ac_cv_exeext 2521 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2522 echo "${ECHO_T}$ac_cv_exeext" >&6; } 2865 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2867 as_fn_error "cannot compute suffix of executables: cannot compile and link 2868 See \`config.log' for more details." "$LINENO" 5; } 2869 fi 2870 rm -f conftest conftest$ac_cv_exeext 2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2872 $as_echo "$ac_cv_exeext" >&6; } 2523 2873 2524 2874 rm -f conftest.$ac_ext 2525 2875 EXEEXT=$ac_cv_exeext 2526 2876 ac_exeext=$EXEEXT 2527 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2528 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2529 if test "${ac_cv_objext+set}" = set; then 2530 echo $ECHO_N "(cached) $ECHO_C" >&6 2531 else 2532 cat >conftest.$ac_ext <<_ACEOF 2533 /* confdefs.h. */ 2534 _ACEOF 2535 cat confdefs.h >>conftest.$ac_ext 2536 cat >>conftest.$ac_ext <<_ACEOF 2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2537 2878 /* end confdefs.h. */ 2538 2879 #include <stdio.h> 2539 2880 int 2540 2881 main () 2541 2882 { 2883 FILE *f = fopen ("conftest.out", "w"); 2884 return ferror (f) || fclose (f) != 0; 2542 2885 2543 2886 ; … … 2545 2888 } 2546 2889 _ACEOF 2547 rm -f conftest.o conftest.obj 2548 if { (ac_try="$ac_compile" 2890 ac_clean_files="$ac_clean_files conftest.out" 2891 # Check that the compiler produces executables we can run. If not, either 2892 # the compiler is broken, or we cross compile. 2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2894 $as_echo_n "checking whether we are cross compiling... " >&6; } 2895 if test "$cross_compiling" != yes; then 2896 { { ac_try="$ac_link" 2549 2897 case "(($ac_try" in 2550 2898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2551 2899 *) ac_try_echo=$ac_try;; 2552 2900 esac 2553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2902 $as_echo "$ac_try_echo"; } >&5 2903 (eval "$ac_link") 2>&5 2904 ac_status=$? 2905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2906 test $ac_status = 0; } 2907 if { ac_try='./conftest$ac_cv_exeext' 2908 { { case "(($ac_try" in 2909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2910 *) ac_try_echo=$ac_try;; 2911 esac 2912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2913 $as_echo "$ac_try_echo"; } >&5 2914 (eval "$ac_try") 2>&5 2915 ac_status=$? 2916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2917 test $ac_status = 0; }; }; then 2918 cross_compiling=no 2919 else 2920 if test "$cross_compiling" = maybe; then 2921 cross_compiling=yes 2922 else 2923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2925 as_fn_error "cannot run C compiled programs. 2926 If you meant to cross compile, use \`--host'. 2927 See \`config.log' for more details." "$LINENO" 5; } 2928 fi 2929 fi 2930 fi 2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2932 $as_echo "$cross_compiling" >&6; } 2933 2934 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2935 ac_clean_files=$ac_clean_files_save 2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2937 $as_echo_n "checking for suffix of object files... " >&6; } 2938 if test "${ac_cv_objext+set}" = set; then : 2939 $as_echo_n "(cached) " >&6 2940 else 2941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2942 /* end confdefs.h. */ 2943 2944 int 2945 main () 2946 { 2947 2948 ; 2949 return 0; 2950 } 2951 _ACEOF 2952 rm -f conftest.o conftest.obj 2953 if { { ac_try="$ac_compile" 2954 case "(($ac_try" in 2955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2956 *) ac_try_echo=$ac_try;; 2957 esac 2958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2959 $as_echo "$ac_try_echo"; } >&5 2554 2960 (eval "$ac_compile") 2>&5 2555 2961 ac_status=$? 2556 echo "$as_me:$LINENO: \$? = $ac_status" >&52557 (exit $ac_status); }; then2962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2963 test $ac_status = 0; }; then : 2558 2964 for ac_file in conftest.o conftest.obj conftest.*; do 2559 2965 test -f "$ac_file" || continue; 2560 2966 case $ac_file in 2561 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;2967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2562 2968 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2563 2969 break;; … … 2565 2971 done 2566 2972 else 2567 echo "$as_me: failed program was:" >&52973 $as_echo "$as_me: failed program was:" >&5 2568 2974 sed 's/^/| /' conftest.$ac_ext >&5 2569 2975 2570 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2571 See \`config.log' for more details." >&5 2572 echo "$as_me: error: cannot compute suffix of object files: cannot compile 2573 See \`config.log' for more details." >&2;} 2574 { (exit 1); exit 1; }; } 2575 fi 2576 2976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2978 as_fn_error "cannot compute suffix of object files: cannot compile 2979 See \`config.log' for more details." "$LINENO" 5; } 2980 fi 2577 2981 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2578 2982 fi 2579 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&52580 echo "${ECHO_T}$ac_cv_objext" >&6; }2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2984 $as_echo "$ac_cv_objext" >&6; } 2581 2985 OBJEXT=$ac_cv_objext 2582 2986 ac_objext=$OBJEXT 2583 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2584 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2585 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2586 echo $ECHO_N "(cached) $ECHO_C" >&6 2587 else 2588 cat >conftest.$ac_ext <<_ACEOF 2589 /* confdefs.h. */ 2590 _ACEOF 2591 cat confdefs.h >>conftest.$ac_ext 2592 cat >>conftest.$ac_ext <<_ACEOF 2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2988 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2989 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2990 $as_echo_n "(cached) " >&6 2991 else 2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2593 2993 /* end confdefs.h. */ 2594 2994 … … 2604 3004 } 2605 3005 _ACEOF 2606 rm -f conftest.$ac_objext 2607 if { (ac_try="$ac_compile" 2608 case "(($ac_try" in 2609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2610 *) ac_try_echo=$ac_try;; 2611 esac 2612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2613 (eval "$ac_compile") 2>conftest.er1 2614 ac_status=$? 2615 grep -v '^ *+' conftest.er1 >conftest.err 2616 rm -f conftest.er1 2617 cat conftest.err >&5 2618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2619 (exit $ac_status); } && { 2620 test -z "$ac_c_werror_flag" || 2621 test ! -s conftest.err 2622 } && test -s conftest.$ac_objext; then 3006 if ac_fn_c_try_compile "$LINENO"; then : 2623 3007 ac_compiler_gnu=yes 2624 3008 else 2625 echo "$as_me: failed program was:" >&5 2626 sed 's/^/| /' conftest.$ac_ext >&5 2627 2628 ac_compiler_gnu=no 2629 fi 2630 3009 ac_compiler_gnu=no 3010 fi 2631 3011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2632 3012 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2633 3013 2634 3014 fi 2635 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2636 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2637 GCC=`test $ac_compiler_gnu = yes && echo yes` 3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3016 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3017 if test $ac_compiler_gnu = yes; then 3018 GCC=yes 3019 else 3020 GCC= 3021 fi 2638 3022 ac_test_CFLAGS=${CFLAGS+set} 2639 3023 ac_save_CFLAGS=$CFLAGS 2640 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&52641 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }2642 if test "${ac_cv_prog_cc_g+set}" = set; then 2643 echo $ECHO_N "(cached) $ECHO_C" >&63024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3025 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3026 if test "${ac_cv_prog_cc_g+set}" = set; then : 3027 $as_echo_n "(cached) " >&6 2644 3028 else 2645 3029 ac_save_c_werror_flag=$ac_c_werror_flag … … 2647 3031 ac_cv_prog_cc_g=no 2648 3032 CFLAGS="-g" 2649 cat >conftest.$ac_ext <<_ACEOF 2650 /* confdefs.h. */ 2651 _ACEOF 2652 cat confdefs.h >>conftest.$ac_ext 2653 cat >>conftest.$ac_ext <<_ACEOF 3033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2654 3034 /* end confdefs.h. */ 2655 3035 … … 2662 3042 } 2663 3043 _ACEOF 2664 rm -f conftest.$ac_objext 2665 if { (ac_try="$ac_compile" 2666 case "(($ac_try" in 2667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2668 *) ac_try_echo=$ac_try;; 2669 esac 2670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2671 (eval "$ac_compile") 2>conftest.er1 2672 ac_status=$? 2673 grep -v '^ *+' conftest.er1 >conftest.err 2674 rm -f conftest.er1 2675 cat conftest.err >&5 2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2677 (exit $ac_status); } && { 2678 test -z "$ac_c_werror_flag" || 2679 test ! -s conftest.err 2680 } && test -s conftest.$ac_objext; then 3044 if ac_fn_c_try_compile "$LINENO"; then : 2681 3045 ac_cv_prog_cc_g=yes 2682 3046 else 2683 echo "$as_me: failed program was:" >&5 2684 sed 's/^/| /' conftest.$ac_ext >&5 2685 2686 CFLAGS="" 2687 cat >conftest.$ac_ext <<_ACEOF 2688 /* confdefs.h. */ 2689 _ACEOF 2690 cat confdefs.h >>conftest.$ac_ext 2691 cat >>conftest.$ac_ext <<_ACEOF 3047 CFLAGS="" 3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2692 3049 /* end confdefs.h. */ 2693 3050 … … 2700 3057 } 2701 3058 _ACEOF 2702 rm -f conftest.$ac_objext 2703 if { (ac_try="$ac_compile" 2704 case "(($ac_try" in 2705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2706 *) ac_try_echo=$ac_try;; 2707 esac 2708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2709 (eval "$ac_compile") 2>conftest.er1 2710 ac_status=$? 2711 grep -v '^ *+' conftest.er1 >conftest.err 2712 rm -f conftest.er1 2713 cat conftest.err >&5 2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2715 (exit $ac_status); } && { 2716 test -z "$ac_c_werror_flag" || 2717 test ! -s conftest.err 2718 } && test -s conftest.$ac_objext; then 2719 : 2720 else 2721 echo "$as_me: failed program was:" >&5 2722 sed 's/^/| /' conftest.$ac_ext >&5 2723 2724 ac_c_werror_flag=$ac_save_c_werror_flag 3059 if ac_fn_c_try_compile "$LINENO"; then : 3060 3061 else 3062 ac_c_werror_flag=$ac_save_c_werror_flag 2725 3063 CFLAGS="-g" 2726 cat >conftest.$ac_ext <<_ACEOF 2727 /* confdefs.h. */ 2728 _ACEOF 2729 cat confdefs.h >>conftest.$ac_ext 2730 cat >>conftest.$ac_ext <<_ACEOF 3064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2731 3065 /* end confdefs.h. */ 2732 3066 … … 2739 3073 } 2740 3074 _ACEOF 2741 rm -f conftest.$ac_objext 2742 if { (ac_try="$ac_compile" 2743 case "(($ac_try" in 2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2745 *) ac_try_echo=$ac_try;; 2746 esac 2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2748 (eval "$ac_compile") 2>conftest.er1 2749 ac_status=$? 2750 grep -v '^ *+' conftest.er1 >conftest.err 2751 rm -f conftest.er1 2752 cat conftest.err >&5 2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2754 (exit $ac_status); } && { 2755 test -z "$ac_c_werror_flag" || 2756 test ! -s conftest.err 2757 } && test -s conftest.$ac_objext; then 3075 if ac_fn_c_try_compile "$LINENO"; then : 2758 3076 ac_cv_prog_cc_g=yes 2759 else 2760 echo "$as_me: failed program was:" >&5 2761 sed 's/^/| /' conftest.$ac_ext >&5 2762 2763 2764 fi 2765 3077 fi 2766 3078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2767 3079 fi 2768 2769 3080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2770 3081 fi 2771 2772 3082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2773 3083 ac_c_werror_flag=$ac_save_c_werror_flag 2774 3084 fi 2775 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&52776 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3086 $as_echo "$ac_cv_prog_cc_g" >&6; } 2777 3087 if test "$ac_test_CFLAGS" = set; then 2778 3088 CFLAGS=$ac_save_CFLAGS … … 2790 3100 fi 2791 3101 fi 2792 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52793 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2794 if test "${ac_cv_prog_cc_c89+set}" = set; then 2795 echo $ECHO_N "(cached) $ECHO_C" >&63102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3103 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3104 if test "${ac_cv_prog_cc_c89+set}" = set; then : 3105 $as_echo_n "(cached) " >&6 2796 3106 else 2797 3107 ac_cv_prog_cc_c89=no 2798 3108 ac_save_CC=$CC 2799 cat >conftest.$ac_ext <<_ACEOF 2800 /* confdefs.h. */ 2801 _ACEOF 2802 cat confdefs.h >>conftest.$ac_ext 2803 cat >>conftest.$ac_ext <<_ACEOF 3109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2804 3110 /* end confdefs.h. */ 2805 3111 #include <stdarg.h> … … 2858 3164 do 2859 3165 CC="$ac_save_CC $ac_arg" 2860 rm -f conftest.$ac_objext 2861 if { (ac_try="$ac_compile" 2862 case "(($ac_try" in 2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2864 *) ac_try_echo=$ac_try;; 2865 esac 2866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2867 (eval "$ac_compile") 2>conftest.er1 2868 ac_status=$? 2869 grep -v '^ *+' conftest.er1 >conftest.err 2870 rm -f conftest.er1 2871 cat conftest.err >&5 2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2873 (exit $ac_status); } && { 2874 test -z "$ac_c_werror_flag" || 2875 test ! -s conftest.err 2876 } && test -s conftest.$ac_objext; then 3166 if ac_fn_c_try_compile "$LINENO"; then : 2877 3167 ac_cv_prog_cc_c89=$ac_arg 2878 else 2879 echo "$as_me: failed program was:" >&5 2880 sed 's/^/| /' conftest.$ac_ext >&5 2881 2882 2883 fi 2884 3168 fi 2885 3169 rm -f core conftest.err conftest.$ac_objext 2886 3170 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2893 3177 case "x$ac_cv_prog_cc_c89" in 2894 3178 x) 2895 { echo "$as_me:$LINENO: result: none needed" >&52896 echo "${ECHO_T}none needed" >&6; } ;;3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3180 $as_echo "none needed" >&6; } ;; 2897 3181 xno) 2898 { echo "$as_me:$LINENO: result: unsupported" >&52899 echo "${ECHO_T}unsupported" >&6; } ;;3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3183 $as_echo "unsupported" >&6; } ;; 2900 3184 *) 2901 3185 CC="$CC $ac_cv_prog_cc_c89" 2902 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&52903 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3187 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2904 3188 esac 2905 3189 if test "x$ac_cv_prog_cc_c89" != xno; then : 3190 3191 fi 2906 3192 2907 3193 ac_ext=c … … 2925 3211 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2926 3212 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2927 { echo "$as_me:$LINENO: checking for $ac_word" >&52928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2929 if test "${ac_cv_prog_CXX+set}" = set; then 2930 echo $ECHO_N "(cached) $ECHO_C" >&63213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3214 $as_echo_n "checking for $ac_word... " >&6; } 3215 if test "${ac_cv_prog_CXX+set}" = set; then : 3216 $as_echo_n "(cached) " >&6 2931 3217 else 2932 3218 if test -n "$CXX"; then … … 2938 3224 IFS=$as_save_IFS 2939 3225 test -z "$as_dir" && as_dir=. 2940 for ac_exec_ext in '' $ac_executable_extensions; do3226 for ac_exec_ext in '' $ac_executable_extensions; do 2941 3227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2942 3228 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2944 3230 break 2 2945 3231 fi 2946 3232 done 2947 done3233 done 2948 3234 IFS=$as_save_IFS 2949 3235 … … 2952 3238 CXX=$ac_cv_prog_CXX 2953 3239 if test -n "$CXX"; then 2954 { echo "$as_me:$LINENO: result: $CXX" >&52955 echo "${ECHO_T}$CXX" >&6; }2956 else 2957 { echo "$as_me:$LINENO: result: no" >&52958 echo "${ECHO_T}no" >&6; }3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3241 $as_echo "$CXX" >&6; } 3242 else 3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3244 $as_echo "no" >&6; } 2959 3245 fi 2960 3246 … … 2969 3255 # Extract the first word of "$ac_prog", so it can be a program name with args. 2970 3256 set dummy $ac_prog; ac_word=$2 2971 { echo "$as_me:$LINENO: checking for $ac_word" >&52972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }2973 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2974 echo $ECHO_N "(cached) $ECHO_C" >&63257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3258 $as_echo_n "checking for $ac_word... " >&6; } 3259 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3260 $as_echo_n "(cached) " >&6 2975 3261 else 2976 3262 if test -n "$ac_ct_CXX"; then … … 2982 3268 IFS=$as_save_IFS 2983 3269 test -z "$as_dir" && as_dir=. 2984 for ac_exec_ext in '' $ac_executable_extensions; do3270 for ac_exec_ext in '' $ac_executable_extensions; do 2985 3271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2986 3272 ac_cv_prog_ac_ct_CXX="$ac_prog" 2987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2988 3274 break 2 2989 3275 fi 2990 3276 done 2991 done3277 done 2992 3278 IFS=$as_save_IFS 2993 3279 … … 2996 3282 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2997 3283 if test -n "$ac_ct_CXX"; then 2998 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&52999 echo "${ECHO_T}$ac_ct_CXX" >&6; }3000 else 3001 { echo "$as_me:$LINENO: result: no" >&53002 echo "${ECHO_T}no" >&6; }3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3285 $as_echo "$ac_ct_CXX" >&6; } 3286 else 3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3288 $as_echo "no" >&6; } 3003 3289 fi 3004 3290 … … 3012 3298 case $cross_compiling:$ac_tool_warned in 3013 3299 yes:) 3014 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3015 whose name does not start with the host triplet. If you think this 3016 configuration is useful to you, please write to autoconf@gnu.org." >&5 3017 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3018 whose name does not start with the host triplet. If you think this 3019 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3020 3302 ac_tool_warned=yes ;; 3021 3303 esac … … 3027 3309 fi 3028 3310 # Provide some information about the compiler. 3029 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 3030 ac_compiler=`set X $ac_compile; echo $2` 3031 { (ac_try="$ac_compiler --version >&5" 3311 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3312 set X $ac_compile 3313 ac_compiler=$2 3314 for ac_option in --version -v -V -qversion; do 3315 { { ac_try="$ac_compiler $ac_option >&5" 3032 3316 case "(($ac_try" in 3033 3317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3034 3318 *) ac_try_echo=$ac_try;; 3035 3319 esac 3036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3037 (eval "$ac_compiler --version >&5") 2>&5 3320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3321 $as_echo "$ac_try_echo"; } >&5 3322 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3038 3323 ac_status=$? 3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3040 (exit $ac_status); } 3041 { (ac_try="$ac_compiler -v >&5" 3042 case "(($ac_try" in 3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3044 *) ac_try_echo=$ac_try;; 3045 esac 3046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3047 (eval "$ac_compiler -v >&5") 2>&5 3048 ac_status=$? 3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3050 (exit $ac_status); } 3051 { (ac_try="$ac_compiler -V >&5" 3052 case "(($ac_try" in 3053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3054 *) ac_try_echo=$ac_try;; 3055 esac 3056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3057 (eval "$ac_compiler -V >&5") 2>&5 3058 ac_status=$? 3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3060 (exit $ac_status); } 3061 3062 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3063 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 3064 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3065 echo $ECHO_N "(cached) $ECHO_C" >&6 3066 else 3067 cat >conftest.$ac_ext <<_ACEOF 3068 /* confdefs.h. */ 3069 _ACEOF 3070 cat confdefs.h >>conftest.$ac_ext 3071 cat >>conftest.$ac_ext <<_ACEOF 3324 if test -s conftest.err; then 3325 sed '10a\ 3326 ... rest of stderr output deleted ... 3327 10q' conftest.err >conftest.er1 3328 cat conftest.er1 >&5 3329 fi 3330 rm -f conftest.er1 conftest.err 3331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3332 test $ac_status = 0; } 3333 done 3334 3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3336 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3337 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3338 $as_echo_n "(cached) " >&6 3339 else 3340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3072 3341 /* end confdefs.h. */ 3073 3342 … … 3083 3352 } 3084 3353 _ACEOF 3085 rm -f conftest.$ac_objext 3086 if { (ac_try="$ac_compile" 3087 case "(($ac_try" in 3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3089 *) ac_try_echo=$ac_try;; 3090 esac 3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3092 (eval "$ac_compile") 2>conftest.er1 3093 ac_status=$? 3094 grep -v '^ *+' conftest.er1 >conftest.err 3095 rm -f conftest.er1 3096 cat conftest.err >&5 3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3098 (exit $ac_status); } && { 3099 test -z "$ac_cxx_werror_flag" || 3100 test ! -s conftest.err 3101 } && test -s conftest.$ac_objext; then 3354 if ac_fn_cxx_try_compile "$LINENO"; then : 3102 3355 ac_compiler_gnu=yes 3103 3356 else 3104 echo "$as_me: failed program was:" >&5 3105 sed 's/^/| /' conftest.$ac_ext >&5 3106 3107 ac_compiler_gnu=no 3108 fi 3109 3357 ac_compiler_gnu=no 3358 fi 3110 3359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3111 3360 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3112 3361 3113 3362 fi 3114 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3115 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 3116 GXX=`test $ac_compiler_gnu = yes && echo yes` 3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3364 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3365 if test $ac_compiler_gnu = yes; then 3366 GXX=yes 3367 else 3368 GXX= 3369 fi 3117 3370 ac_test_CXXFLAGS=${CXXFLAGS+set} 3118 3371 ac_save_CXXFLAGS=$CXXFLAGS 3119 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&53120 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }3121 if test "${ac_cv_prog_cxx_g+set}" = set; then 3122 echo $ECHO_N "(cached) $ECHO_C" >&63372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3373 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3374 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3375 $as_echo_n "(cached) " >&6 3123 3376 else 3124 3377 ac_save_cxx_werror_flag=$ac_cxx_werror_flag … … 3126 3379 ac_cv_prog_cxx_g=no 3127 3380 CXXFLAGS="-g" 3128 cat >conftest.$ac_ext <<_ACEOF 3129 /* confdefs.h. */ 3130 _ACEOF 3131 cat confdefs.h >>conftest.$ac_ext 3132 cat >>conftest.$ac_ext <<_ACEOF 3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3133 3382 /* end confdefs.h. */ 3134 3383 … … 3141 3390 } 3142 3391 _ACEOF 3143 rm -f conftest.$ac_objext 3144 if { (ac_try="$ac_compile" 3145 case "(($ac_try" in 3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3147 *) ac_try_echo=$ac_try;; 3148 esac 3149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3150 (eval "$ac_compile") 2>conftest.er1 3151 ac_status=$? 3152 grep -v '^ *+' conftest.er1 >conftest.err 3153 rm -f conftest.er1 3154 cat conftest.err >&5 3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3156 (exit $ac_status); } && { 3157 test -z "$ac_cxx_werror_flag" || 3158 test ! -s conftest.err 3159 } && test -s conftest.$ac_objext; then 3392 if ac_fn_cxx_try_compile "$LINENO"; then : 3160 3393 ac_cv_prog_cxx_g=yes 3161 3394 else 3162 echo "$as_me: failed program was:" >&5 3163 sed 's/^/| /' conftest.$ac_ext >&5 3164 3165 CXXFLAGS="" 3166 cat >conftest.$ac_ext <<_ACEOF 3167 /* confdefs.h. */ 3168 _ACEOF 3169 cat confdefs.h >>conftest.$ac_ext 3170 cat >>conftest.$ac_ext <<_ACEOF 3395 CXXFLAGS="" 3396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3171 3397 /* end confdefs.h. */ 3172 3398 … … 3179 3405 } 3180 3406 _ACEOF 3181 rm -f conftest.$ac_objext 3182 if { (ac_try="$ac_compile" 3183 case "(($ac_try" in 3184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3185 *) ac_try_echo=$ac_try;; 3186 esac 3187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3188 (eval "$ac_compile") 2>conftest.er1 3189 ac_status=$? 3190 grep -v '^ *+' conftest.er1 >conftest.err 3191 rm -f conftest.er1 3192 cat conftest.err >&5 3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3194 (exit $ac_status); } && { 3195 test -z "$ac_cxx_werror_flag" || 3196 test ! -s conftest.err 3197 } && test -s conftest.$ac_objext; then 3198 : 3199 else 3200 echo "$as_me: failed program was:" >&5 3201 sed 's/^/| /' conftest.$ac_ext >&5 3202 3203 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3407 if ac_fn_cxx_try_compile "$LINENO"; then : 3408 3409 else 3410 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3204 3411 CXXFLAGS="-g" 3205 cat >conftest.$ac_ext <<_ACEOF 3206 /* confdefs.h. */ 3207 _ACEOF 3208 cat confdefs.h >>conftest.$ac_ext 3209 cat >>conftest.$ac_ext <<_ACEOF 3412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3210 3413 /* end confdefs.h. */ 3211 3414 … … 3218 3421 } 3219 3422 _ACEOF 3220 rm -f conftest.$ac_objext 3221 if { (ac_try="$ac_compile" 3222 case "(($ac_try" in 3223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3224 *) ac_try_echo=$ac_try;; 3225 esac 3226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3227 (eval "$ac_compile") 2>conftest.er1 3228 ac_status=$? 3229 grep -v '^ *+' conftest.er1 >conftest.err 3230 rm -f conftest.er1 3231 cat conftest.err >&5 3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3233 (exit $ac_status); } && { 3234 test -z "$ac_cxx_werror_flag" || 3235 test ! -s conftest.err 3236 } && test -s conftest.$ac_objext; then 3423 if ac_fn_cxx_try_compile "$LINENO"; then : 3237 3424 ac_cv_prog_cxx_g=yes 3238 else 3239 echo "$as_me: failed program was:" >&5 3240 sed 's/^/| /' conftest.$ac_ext >&5 3241 3242 3243 fi 3244 3425 fi 3245 3426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3246 3427 fi 3247 3248 3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3249 3429 fi 3250 3251 3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3252 3431 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3253 3432 fi 3254 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&53255 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3434 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3256 3435 if test "$ac_test_CXXFLAGS" = set; then 3257 3436 CXXFLAGS=$ac_save_CXXFLAGS … … 3331 3510 3332 3511 3333 3334 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 3335 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 3336 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 3337 echo $ECHO_N "(cached) $ECHO_C" >&6 3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 3513 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 3514 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 3515 $as_echo_n "(cached) " >&6 3338 3516 else 3339 3517 ac_check_lib_save_LIBS=$LIBS 3340 3518 LIBS="-lpthread $LIBS" 3341 cat >conftest.$ac_ext <<_ACEOF 3342 /* confdefs.h. */ 3343 _ACEOF 3344 cat confdefs.h >>conftest.$ac_ext 3345 cat >>conftest.$ac_ext <<_ACEOF 3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3346 3520 /* end confdefs.h. */ 3347 3521 … … 3361 3535 } 3362 3536 _ACEOF 3363 rm -f conftest.$ac_objext conftest$ac_exeext 3364 if { (ac_try="$ac_link" 3365 case "(($ac_try" in 3366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3367 *) ac_try_echo=$ac_try;; 3368 esac 3369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3370 (eval "$ac_link") 2>conftest.er1 3371 ac_status=$? 3372 grep -v '^ *+' conftest.er1 >conftest.err 3373 rm -f conftest.er1 3374 cat conftest.err >&5 3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3376 (exit $ac_status); } && { 3377 test -z "$ac_c_werror_flag" || 3378 test ! -s conftest.err 3379 } && test -s conftest$ac_exeext && 3380 $as_test_x conftest$ac_exeext; then 3537 if ac_fn_c_try_link "$LINENO"; then : 3381 3538 ac_cv_lib_pthread_pthread_create=yes 3382 3539 else 3383 echo "$as_me: failed program was:" >&5 3384 sed 's/^/| /' conftest.$ac_ext >&5 3385 3386 ac_cv_lib_pthread_pthread_create=no 3387 fi 3388 3389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3390 conftest$ac_exeext conftest.$ac_ext 3540 ac_cv_lib_pthread_pthread_create=no 3541 fi 3542 rm -f core conftest.err conftest.$ac_objext \ 3543 conftest$ac_exeext conftest.$ac_ext 3391 3544 LIBS=$ac_check_lib_save_LIBS 3392 3545 fi 3393 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&53394 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }3395 if test $ac_cv_lib_pthread_pthread_create = yes; then3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 3547 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 3548 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 3396 3549 cat >>confdefs.h <<_ACEOF 3397 3550 #define HAVE_LIBPTHREAD 1 … … 3402 3555 fi 3403 3556 3404 3405 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 3406 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 3407 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 3408 echo $ECHO_N "(cached) $ECHO_C" >&6 3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 3558 $as_echo_n "checking for puts in -lwsock32... " >&6; } 3559 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 3560 $as_echo_n "(cached) " >&6 3409 3561 else 3410 3562 ac_check_lib_save_LIBS=$LIBS 3411 3563 LIBS="-lwsock32 $LIBS" 3412 cat >conftest.$ac_ext <<_ACEOF 3413 /* confdefs.h. */ 3414 _ACEOF 3415 cat confdefs.h >>conftest.$ac_ext 3416 cat >>conftest.$ac_ext <<_ACEOF 3564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3417 3565 /* end confdefs.h. */ 3418 3566 … … 3432 3580 } 3433 3581 _ACEOF 3434 rm -f conftest.$ac_objext conftest$ac_exeext 3435 if { (ac_try="$ac_link" 3436 case "(($ac_try" in 3437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3438 *) ac_try_echo=$ac_try;; 3439 esac 3440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3441 (eval "$ac_link") 2>conftest.er1 3442 ac_status=$? 3443 grep -v '^ *+' conftest.er1 >conftest.err 3444 rm -f conftest.er1 3445 cat conftest.err >&5 3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3447 (exit $ac_status); } && { 3448 test -z "$ac_c_werror_flag" || 3449 test ! -s conftest.err 3450 } && test -s conftest$ac_exeext && 3451 $as_test_x conftest$ac_exeext; then 3582 if ac_fn_c_try_link "$LINENO"; then : 3452 3583 ac_cv_lib_wsock32_puts=yes 3453 3584 else 3454 echo "$as_me: failed program was:" >&5 3455 sed 's/^/| /' conftest.$ac_ext >&5 3456 3457 ac_cv_lib_wsock32_puts=no 3458 fi 3459 3460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3461 conftest$ac_exeext conftest.$ac_ext 3585 ac_cv_lib_wsock32_puts=no 3586 fi 3587 rm -f core conftest.err conftest.$ac_objext \ 3588 conftest$ac_exeext conftest.$ac_ext 3462 3589 LIBS=$ac_check_lib_save_LIBS 3463 3590 fi 3464 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&53465 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; }3466 if test $ac_cv_lib_wsock32_puts = yes; then3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 3592 $as_echo "$ac_cv_lib_wsock32_puts" >&6; } 3593 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 3467 3594 cat >>confdefs.h <<_ACEOF 3468 3595 #define HAVE_LIBWSOCK32 1 … … 3473 3600 fi 3474 3601 3475 3476 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 3477 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 3478 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 3479 echo $ECHO_N "(cached) $ECHO_C" >&6 3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 3603 $as_echo_n "checking for puts in -lws2_32... " >&6; } 3604 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 3605 $as_echo_n "(cached) " >&6 3480 3606 else 3481 3607 ac_check_lib_save_LIBS=$LIBS 3482 3608 LIBS="-lws2_32 $LIBS" 3483 cat >conftest.$ac_ext <<_ACEOF 3484 /* confdefs.h. */ 3485 _ACEOF 3486 cat confdefs.h >>conftest.$ac_ext 3487 cat >>conftest.$ac_ext <<_ACEOF 3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3488 3610 /* end confdefs.h. */ 3489 3611 … … 3503 3625 } 3504 3626 _ACEOF 3505 rm -f conftest.$ac_objext conftest$ac_exeext 3506 if { (ac_try="$ac_link" 3507 case "(($ac_try" in 3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3509 *) ac_try_echo=$ac_try;; 3510 esac 3511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3512 (eval "$ac_link") 2>conftest.er1 3513 ac_status=$? 3514 grep -v '^ *+' conftest.er1 >conftest.err 3515 rm -f conftest.er1 3516 cat conftest.err >&5 3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3518 (exit $ac_status); } && { 3519 test -z "$ac_c_werror_flag" || 3520 test ! -s conftest.err 3521 } && test -s conftest$ac_exeext && 3522 $as_test_x conftest$ac_exeext; then 3627 if ac_fn_c_try_link "$LINENO"; then : 3523 3628 ac_cv_lib_ws2_32_puts=yes 3524 3629 else 3525 echo "$as_me: failed program was:" >&5 3526 sed 's/^/| /' conftest.$ac_ext >&5 3527 3528 ac_cv_lib_ws2_32_puts=no 3529 fi 3530 3531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3532 conftest$ac_exeext conftest.$ac_ext 3630 ac_cv_lib_ws2_32_puts=no 3631 fi 3632 rm -f core conftest.err conftest.$ac_objext \ 3633 conftest$ac_exeext conftest.$ac_ext 3533 3634 LIBS=$ac_check_lib_save_LIBS 3534 3635 fi 3535 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&53536 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; }3537 if test $ac_cv_lib_ws2_32_puts = yes; then3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 3637 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 3638 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 3538 3639 cat >>confdefs.h <<_ACEOF 3539 3640 #define HAVE_LIBWS2_32 1 … … 3544 3645 fi 3545 3646 3546 3547 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 3548 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 3549 if test "${ac_cv_lib_ole32_puts+set}" = set; then 3550 echo $ECHO_N "(cached) $ECHO_C" >&6 3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 3648 $as_echo_n "checking for puts in -lole32... " >&6; } 3649 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 3650 $as_echo_n "(cached) " >&6 3551 3651 else 3552 3652 ac_check_lib_save_LIBS=$LIBS 3553 3653 LIBS="-lole32 $LIBS" 3554 cat >conftest.$ac_ext <<_ACEOF 3555 /* confdefs.h. */ 3556 _ACEOF 3557 cat confdefs.h >>conftest.$ac_ext 3558 cat >>conftest.$ac_ext <<_ACEOF 3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3559 3655 /* end confdefs.h. */ 3560 3656 … … 3574 3670 } 3575 3671 _ACEOF 3576 rm -f conftest.$ac_objext conftest$ac_exeext 3577 if { (ac_try="$ac_link" 3578 case "(($ac_try" in 3579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3580 *) ac_try_echo=$ac_try;; 3581 esac 3582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3583 (eval "$ac_link") 2>conftest.er1 3584 ac_status=$? 3585 grep -v '^ *+' conftest.er1 >conftest.err 3586 rm -f conftest.er1 3587 cat conftest.err >&5 3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3589 (exit $ac_status); } && { 3590 test -z "$ac_c_werror_flag" || 3591 test ! -s conftest.err 3592 } && test -s conftest$ac_exeext && 3593 $as_test_x conftest$ac_exeext; then 3672 if ac_fn_c_try_link "$LINENO"; then : 3594 3673 ac_cv_lib_ole32_puts=yes 3595 3674 else 3596 echo "$as_me: failed program was:" >&5 3597 sed 's/^/| /' conftest.$ac_ext >&5 3598 3599 ac_cv_lib_ole32_puts=no 3600 fi 3601 3602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3603 conftest$ac_exeext conftest.$ac_ext 3675 ac_cv_lib_ole32_puts=no 3676 fi 3677 rm -f core conftest.err conftest.$ac_objext \ 3678 conftest$ac_exeext conftest.$ac_ext 3604 3679 LIBS=$ac_check_lib_save_LIBS 3605 3680 fi 3606 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&53607 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; }3608 if test $ac_cv_lib_ole32_puts = yes; then3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 3682 $as_echo "$ac_cv_lib_ole32_puts" >&6; } 3683 if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 3609 3684 cat >>confdefs.h <<_ACEOF 3610 3685 #define HAVE_LIBOLE32 1 … … 3615 3690 fi 3616 3691 3617 3618 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3619 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 3620 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3621 echo $ECHO_N "(cached) $ECHO_C" >&6 3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 3693 $as_echo_n "checking for puts in -lwinmm... " >&6; } 3694 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 3695 $as_echo_n "(cached) " >&6 3622 3696 else 3623 3697 ac_check_lib_save_LIBS=$LIBS 3624 3698 LIBS="-lwinmm $LIBS" 3625 cat >conftest.$ac_ext <<_ACEOF 3626 /* confdefs.h. */ 3627 _ACEOF 3628 cat confdefs.h >>conftest.$ac_ext 3629 cat >>conftest.$ac_ext <<_ACEOF 3699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3630 3700 /* end confdefs.h. */ 3631 3701 … … 3645 3715 } 3646 3716 _ACEOF 3647 rm -f conftest.$ac_objext conftest$ac_exeext 3648 if { (ac_try="$ac_link" 3649 case "(($ac_try" in 3650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3651 *) ac_try_echo=$ac_try;; 3652 esac 3653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3654 (eval "$ac_link") 2>conftest.er1 3655 ac_status=$? 3656 grep -v '^ *+' conftest.er1 >conftest.err 3657 rm -f conftest.er1 3658 cat conftest.err >&5 3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3660 (exit $ac_status); } && { 3661 test -z "$ac_c_werror_flag" || 3662 test ! -s conftest.err 3663 } && test -s conftest$ac_exeext && 3664 $as_test_x conftest$ac_exeext; then 3717 if ac_fn_c_try_link "$LINENO"; then : 3665 3718 ac_cv_lib_winmm_puts=yes 3666 3719 else 3667 echo "$as_me: failed program was:" >&5 3668 sed 's/^/| /' conftest.$ac_ext >&5 3669 3670 ac_cv_lib_winmm_puts=no 3671 fi 3672 3673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3674 conftest$ac_exeext conftest.$ac_ext 3720 ac_cv_lib_winmm_puts=no 3721 fi 3722 rm -f core conftest.err conftest.$ac_objext \ 3723 conftest$ac_exeext conftest.$ac_ext 3675 3724 LIBS=$ac_check_lib_save_LIBS 3676 3725 fi 3677 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&53678 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; }3679 if test $ac_cv_lib_winmm_puts = yes; then3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 3727 $as_echo "$ac_cv_lib_winmm_puts" >&6; } 3728 if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 3680 3729 cat >>confdefs.h <<_ACEOF 3681 3730 #define HAVE_LIBWINMM 1 … … 3686 3735 fi 3687 3736 3688 3689 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3690 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 3691 if test "${ac_cv_lib_socket_puts+set}" = set; then 3692 echo $ECHO_N "(cached) $ECHO_C" >&6 3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 3738 $as_echo_n "checking for puts in -lsocket... " >&6; } 3739 if test "${ac_cv_lib_socket_puts+set}" = set; then : 3740 $as_echo_n "(cached) " >&6 3693 3741 else 3694 3742 ac_check_lib_save_LIBS=$LIBS 3695 3743 LIBS="-lsocket $LIBS" 3696 cat >conftest.$ac_ext <<_ACEOF 3697 /* confdefs.h. */ 3698 _ACEOF 3699 cat confdefs.h >>conftest.$ac_ext 3700 cat >>conftest.$ac_ext <<_ACEOF 3744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3701 3745 /* end confdefs.h. */ 3702 3746 … … 3716 3760 } 3717 3761 _ACEOF 3718 rm -f conftest.$ac_objext conftest$ac_exeext 3719 if { (ac_try="$ac_link" 3720 case "(($ac_try" in 3721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3722 *) ac_try_echo=$ac_try;; 3723 esac 3724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3725 (eval "$ac_link") 2>conftest.er1 3726 ac_status=$? 3727 grep -v '^ *+' conftest.er1 >conftest.err 3728 rm -f conftest.er1 3729 cat conftest.err >&5 3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3731 (exit $ac_status); } && { 3732 test -z "$ac_c_werror_flag" || 3733 test ! -s conftest.err 3734 } && test -s conftest$ac_exeext && 3735 $as_test_x conftest$ac_exeext; then 3762 if ac_fn_c_try_link "$LINENO"; then : 3736 3763 ac_cv_lib_socket_puts=yes 3737 3764 else 3738 echo "$as_me: failed program was:" >&5 3739 sed 's/^/| /' conftest.$ac_ext >&5 3740 3741 ac_cv_lib_socket_puts=no 3742 fi 3743 3744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3745 conftest$ac_exeext conftest.$ac_ext 3765 ac_cv_lib_socket_puts=no 3766 fi 3767 rm -f core conftest.err conftest.$ac_objext \ 3768 conftest$ac_exeext conftest.$ac_ext 3746 3769 LIBS=$ac_check_lib_save_LIBS 3747 3770 fi 3748 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&53749 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; }3750 if test $ac_cv_lib_socket_puts = yes; then3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 3772 $as_echo "$ac_cv_lib_socket_puts" >&6; } 3773 if test "x$ac_cv_lib_socket_puts" = x""yes; then : 3751 3774 cat >>confdefs.h <<_ACEOF 3752 3775 #define HAVE_LIBSOCKET 1 … … 3757 3780 fi 3758 3781 3759 3760 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3761 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 3762 if test "${ac_cv_lib_rt_puts+set}" = set; then 3763 echo $ECHO_N "(cached) $ECHO_C" >&6 3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 3783 $as_echo_n "checking for puts in -lrt... " >&6; } 3784 if test "${ac_cv_lib_rt_puts+set}" = set; then : 3785 $as_echo_n "(cached) " >&6 3764 3786 else 3765 3787 ac_check_lib_save_LIBS=$LIBS 3766 3788 LIBS="-lrt $LIBS" 3767 cat >conftest.$ac_ext <<_ACEOF 3768 /* confdefs.h. */ 3769 _ACEOF 3770 cat confdefs.h >>conftest.$ac_ext 3771 cat >>conftest.$ac_ext <<_ACEOF 3789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3772 3790 /* end confdefs.h. */ 3773 3791 … … 3787 3805 } 3788 3806 _ACEOF 3789 rm -f conftest.$ac_objext conftest$ac_exeext 3790 if { (ac_try="$ac_link" 3791 case "(($ac_try" in 3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3793 *) ac_try_echo=$ac_try;; 3794 esac 3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3796 (eval "$ac_link") 2>conftest.er1 3797 ac_status=$? 3798 grep -v '^ *+' conftest.er1 >conftest.err 3799 rm -f conftest.er1 3800 cat conftest.err >&5 3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3802 (exit $ac_status); } && { 3803 test -z "$ac_c_werror_flag" || 3804 test ! -s conftest.err 3805 } && test -s conftest$ac_exeext && 3806 $as_test_x conftest$ac_exeext; then 3807 if ac_fn_c_try_link "$LINENO"; then : 3807 3808 ac_cv_lib_rt_puts=yes 3808 3809 else 3809 echo "$as_me: failed program was:" >&5 3810 sed 's/^/| /' conftest.$ac_ext >&5 3811 3812 ac_cv_lib_rt_puts=no 3813 fi 3814 3815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3816 conftest$ac_exeext conftest.$ac_ext 3810 ac_cv_lib_rt_puts=no 3811 fi 3812 rm -f core conftest.err conftest.$ac_objext \ 3813 conftest$ac_exeext conftest.$ac_ext 3817 3814 LIBS=$ac_check_lib_save_LIBS 3818 3815 fi 3819 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&53820 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; }3821 if test $ac_cv_lib_rt_puts = yes; then3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 3817 $as_echo "$ac_cv_lib_rt_puts" >&6; } 3818 if test "x$ac_cv_lib_rt_puts" = x""yes; then : 3822 3819 cat >>confdefs.h <<_ACEOF 3823 3820 #define HAVE_LIBRT 1 … … 3828 3825 fi 3829 3826 3830 3831 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3832 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 3833 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3834 echo $ECHO_N "(cached) $ECHO_C" >&6 3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 3828 $as_echo_n "checking for puts in -lnsl... " >&6; } 3829 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 3830 $as_echo_n "(cached) " >&6 3835 3831 else 3836 3832 ac_check_lib_save_LIBS=$LIBS 3837 3833 LIBS="-lnsl $LIBS" 3838 cat >conftest.$ac_ext <<_ACEOF 3839 /* confdefs.h. */ 3840 _ACEOF 3841 cat confdefs.h >>conftest.$ac_ext 3842 cat >>conftest.$ac_ext <<_ACEOF 3834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3843 3835 /* end confdefs.h. */ 3844 3836 … … 3858 3850 } 3859 3851 _ACEOF 3860 rm -f conftest.$ac_objext conftest$ac_exeext 3861 if { (ac_try="$ac_link" 3862 case "(($ac_try" in 3863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3864 *) ac_try_echo=$ac_try;; 3865 esac 3866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3867 (eval "$ac_link") 2>conftest.er1 3868 ac_status=$? 3869 grep -v '^ *+' conftest.er1 >conftest.err 3870 rm -f conftest.er1 3871 cat conftest.err >&5 3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3873 (exit $ac_status); } && { 3874 test -z "$ac_c_werror_flag" || 3875 test ! -s conftest.err 3876 } && test -s conftest$ac_exeext && 3877 $as_test_x conftest$ac_exeext; then 3852 if ac_fn_c_try_link "$LINENO"; then : 3878 3853 ac_cv_lib_nsl_puts=yes 3879 3854 else 3880 echo "$as_me: failed program was:" >&5 3881 sed 's/^/| /' conftest.$ac_ext >&5 3882 3883 ac_cv_lib_nsl_puts=no 3884 fi 3885 3886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3887 conftest$ac_exeext conftest.$ac_ext 3855 ac_cv_lib_nsl_puts=no 3856 fi 3857 rm -f core conftest.err conftest.$ac_objext \ 3858 conftest$ac_exeext conftest.$ac_ext 3888 3859 LIBS=$ac_check_lib_save_LIBS 3889 3860 fi 3890 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&53891 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; }3892 if test $ac_cv_lib_nsl_puts = yes; then3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 3862 $as_echo "$ac_cv_lib_nsl_puts" >&6; } 3863 if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 3893 3864 cat >>confdefs.h <<_ACEOF 3894 3865 #define HAVE_LIBNSL 1 … … 3899 3870 fi 3900 3871 3901 3902 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3903 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3904 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3905 echo $ECHO_N "(cached) $ECHO_C" >&6 3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3873 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3874 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3875 $as_echo_n "(cached) " >&6 3906 3876 else 3907 3877 ac_check_lib_save_LIBS=$LIBS 3908 3878 LIBS="-luuid $LIBS" 3909 cat >conftest.$ac_ext <<_ACEOF 3910 /* confdefs.h. */ 3911 _ACEOF 3912 cat confdefs.h >>conftest.$ac_ext 3913 cat >>conftest.$ac_ext <<_ACEOF 3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3914 3880 /* end confdefs.h. */ 3915 3881 … … 3929 3895 } 3930 3896 _ACEOF 3931 rm -f conftest.$ac_objext conftest$ac_exeext 3932 if { (ac_try="$ac_link" 3933 case "(($ac_try" in 3934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3935 *) ac_try_echo=$ac_try;; 3936 esac 3937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3938 (eval "$ac_link") 2>conftest.er1 3939 ac_status=$? 3940 grep -v '^ *+' conftest.er1 >conftest.err 3941 rm -f conftest.er1 3942 cat conftest.err >&5 3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3944 (exit $ac_status); } && { 3945 test -z "$ac_c_werror_flag" || 3946 test ! -s conftest.err 3947 } && test -s conftest$ac_exeext && 3948 $as_test_x conftest$ac_exeext; then 3897 if ac_fn_c_try_link "$LINENO"; then : 3949 3898 ac_cv_lib_uuid_uuid_generate=yes 3950 3899 else 3951 echo "$as_me: failed program was:" >&5 3952 sed 's/^/| /' conftest.$ac_ext >&5 3953 3954 ac_cv_lib_uuid_uuid_generate=no 3955 fi 3956 3957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3958 conftest$ac_exeext conftest.$ac_ext 3900 ac_cv_lib_uuid_uuid_generate=no 3901 fi 3902 rm -f core conftest.err conftest.$ac_objext \ 3903 conftest$ac_exeext conftest.$ac_ext 3959 3904 LIBS=$ac_check_lib_save_LIBS 3960 3905 fi 3961 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53962 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }3963 if test $ac_cv_lib_uuid_uuid_generate = yes; then3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3907 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3908 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 3964 3909 cat >>confdefs.h <<_ACEOF 3965 3910 #define HAVE_LIBUUID 1 … … 3970 3915 fi 3971 3916 3972 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53973 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; }3974 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3975 echo $ECHO_N "(cached) $ECHO_C" >&63917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3918 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3919 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3920 $as_echo_n "(cached) " >&6 3976 3921 else 3977 3922 ac_check_lib_save_LIBS=$LIBS 3978 3923 LIBS="-luuid $LIBS" 3979 cat >conftest.$ac_ext <<_ACEOF 3980 /* confdefs.h. */ 3981 _ACEOF 3982 cat confdefs.h >>conftest.$ac_ext 3983 cat >>conftest.$ac_ext <<_ACEOF 3924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3984 3925 /* end confdefs.h. */ 3985 3926 … … 3999 3940 } 4000 3941 _ACEOF 4001 rm -f conftest.$ac_objext conftest$ac_exeext 4002 if { (ac_try="$ac_link" 4003 case "(($ac_try" in 4004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4005 *) ac_try_echo=$ac_try;; 4006 esac 4007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4008 (eval "$ac_link") 2>conftest.er1 4009 ac_status=$? 4010 grep -v '^ *+' conftest.er1 >conftest.err 4011 rm -f conftest.er1 4012 cat conftest.err >&5 4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4014 (exit $ac_status); } && { 4015 test -z "$ac_c_werror_flag" || 4016 test ! -s conftest.err 4017 } && test -s conftest$ac_exeext && 4018 $as_test_x conftest$ac_exeext; then 3942 if ac_fn_c_try_link "$LINENO"; then : 4019 3943 ac_cv_lib_uuid_uuid_generate=yes 4020 3944 else 4021 echo "$as_me: failed program was:" >&5 4022 sed 's/^/| /' conftest.$ac_ext >&5 4023 4024 ac_cv_lib_uuid_uuid_generate=no 4025 fi 4026 4027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4028 conftest$ac_exeext conftest.$ac_ext 3945 ac_cv_lib_uuid_uuid_generate=no 3946 fi 3947 rm -f core conftest.err conftest.$ac_objext \ 3948 conftest$ac_exeext conftest.$ac_ext 4029 3949 LIBS=$ac_check_lib_save_LIBS 4030 3950 fi 4031 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&54032 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; }4033 if test $ac_cv_lib_uuid_uuid_generate = yes; then3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 3952 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 3953 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 4034 3954 ac_has_uuid_lib=1 4035 3955 fi 4036 3956 4037 3957 4038 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&54039 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; }3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 3959 $as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 4040 3960 cat >>confdefs.h <<_ACEOF 4041 3961 #define PJ_M_NAME "$target_cpu" … … 4043 3963 4044 3964 4045 { echo "$as_me:$LINENO: checking memory alignment" >&54046 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; }3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 3966 $as_echo_n "checking memory alignment... " >&6; } 4047 3967 case $target in 4048 3968 sparc64-* | ia64-* | x86_64-* ) 4049 cat >>confdefs.h <<\_ACEOF 4050 #define PJ_POOL_ALIGNMENT 8 4051 _ACEOF 4052 4053 { echo "$as_me:$LINENO: result: 8 bytes" >&5 4054 echo "${ECHO_T}8 bytes" >&6; } 3969 $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 3970 3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 3972 $as_echo "8 bytes" >&6; } 4055 3973 ;; 4056 3974 * ) 4057 cat >>confdefs.h <<\_ACEOF 4058 #define PJ_POOL_ALIGNMENT 4 4059 _ACEOF 4060 4061 { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 4062 echo "${ECHO_T}4 bytes (default)" >&6; } 3975 $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 3976 3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 3978 $as_echo "4 bytes (default)" >&6; } 4063 3979 ;; 4064 3980 esac … … 4070 3986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4071 3987 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4072 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&54073 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3989 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4074 3990 # On Suns, sometimes $CPP names a directory. 4075 3991 if test -n "$CPP" && test -d "$CPP"; then … … 4077 3993 fi 4078 3994 if test -z "$CPP"; then 4079 if test "${ac_cv_prog_CPP+set}" = set; then 4080 echo $ECHO_N "(cached) $ECHO_C" >&63995 if test "${ac_cv_prog_CPP+set}" = set; then : 3996 $as_echo_n "(cached) " >&6 4081 3997 else 4082 3998 # Double quotes because CPP needs to be expanded … … 4092 4008 # On the NeXT, cc -E runs the code through the compiler's parser, 4093 4009 # not just through cpp. "Syntax error" is here to catch this case. 4094 cat >conftest.$ac_ext <<_ACEOF 4095 /* confdefs.h. */ 4096 _ACEOF 4097 cat confdefs.h >>conftest.$ac_ext 4098 cat >>conftest.$ac_ext <<_ACEOF 4010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4099 4011 /* end confdefs.h. */ 4100 4012 #ifdef __STDC__ … … 4105 4017 Syntax error 4106 4018 _ACEOF 4107 if { (ac_try="$ac_cpp conftest.$ac_ext" 4108 case "(($ac_try" in 4109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4110 *) ac_try_echo=$ac_try;; 4111 esac 4112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4113 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4114 ac_status=$? 4115 grep -v '^ *+' conftest.er1 >conftest.err 4116 rm -f conftest.er1 4117 cat conftest.err >&5 4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4119 (exit $ac_status); } >/dev/null && { 4120 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4121 test ! -s conftest.err 4122 }; then 4123 : 4124 else 4125 echo "$as_me: failed program was:" >&5 4126 sed 's/^/| /' conftest.$ac_ext >&5 4127 4019 if ac_fn_c_try_cpp "$LINENO"; then : 4020 4021 else 4128 4022 # Broken: fails on valid input. 4129 4023 continue 4130 4024 fi 4131 4132 4025 rm -f conftest.err conftest.$ac_ext 4133 4026 4134 4027 # OK, works on sane cases. Now check whether nonexistent headers 4135 4028 # can be detected and how. 4136 cat >conftest.$ac_ext <<_ACEOF 4137 /* confdefs.h. */ 4138 _ACEOF 4139 cat confdefs.h >>conftest.$ac_ext 4140 cat >>conftest.$ac_ext <<_ACEOF 4029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4141 4030 /* end confdefs.h. */ 4142 4031 #include <ac_nonexistent.h> 4143 4032 _ACEOF 4144 if { (ac_try="$ac_cpp conftest.$ac_ext" 4145 case "(($ac_try" in 4146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4147 *) ac_try_echo=$ac_try;; 4148 esac 4149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4150 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4151 ac_status=$? 4152 grep -v '^ *+' conftest.er1 >conftest.err 4153 rm -f conftest.er1 4154 cat conftest.err >&5 4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4156 (exit $ac_status); } >/dev/null && { 4157 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4158 test ! -s conftest.err 4159 }; then 4033 if ac_fn_c_try_cpp "$LINENO"; then : 4160 4034 # Broken: success on invalid input. 4161 4035 continue 4162 4036 else 4163 echo "$as_me: failed program was:" >&54164 sed 's/^/| /' conftest.$ac_ext >&54165 4166 4037 # Passes both tests. 4167 4038 ac_preproc_ok=: 4168 4039 break 4169 4040 fi 4170 4171 4041 rm -f conftest.err conftest.$ac_ext 4172 4042 … … 4174 4044 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4175 4045 rm -f conftest.err conftest.$ac_ext 4176 if $ac_preproc_ok; then 4046 if $ac_preproc_ok; then : 4177 4047 break 4178 4048 fi … … 4186 4056 ac_cv_prog_CPP=$CPP 4187 4057 fi 4188 { echo "$as_me:$LINENO: result: $CPP" >&54189 echo "${ECHO_T}$CPP" >&6; }4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4059 $as_echo "$CPP" >&6; } 4190 4060 ac_preproc_ok=false 4191 4061 for ac_c_preproc_warn_flag in '' yes … … 4197 4067 # On the NeXT, cc -E runs the code through the compiler's parser, 4198 4068 # not just through cpp. "Syntax error" is here to catch this case. 4199 cat >conftest.$ac_ext <<_ACEOF 4200 /* confdefs.h. */ 4201 _ACEOF 4202 cat confdefs.h >>conftest.$ac_ext 4203 cat >>conftest.$ac_ext <<_ACEOF 4069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4204 4070 /* end confdefs.h. */ 4205 4071 #ifdef __STDC__ … … 4210 4076 Syntax error 4211 4077 _ACEOF 4212 if { (ac_try="$ac_cpp conftest.$ac_ext" 4213 case "(($ac_try" in 4214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4215 *) ac_try_echo=$ac_try;; 4216 esac 4217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4218 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4219 ac_status=$? 4220 grep -v '^ *+' conftest.er1 >conftest.err 4221 rm -f conftest.er1 4222 cat conftest.err >&5 4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4224 (exit $ac_status); } >/dev/null && { 4225 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4226 test ! -s conftest.err 4227 }; then 4228 : 4229 else 4230 echo "$as_me: failed program was:" >&5 4231 sed 's/^/| /' conftest.$ac_ext >&5 4232 4078 if ac_fn_c_try_cpp "$LINENO"; then : 4079 4080 else 4233 4081 # Broken: fails on valid input. 4234 4082 continue 4235 4083 fi 4236 4237 4084 rm -f conftest.err conftest.$ac_ext 4238 4085 4239 4086 # OK, works on sane cases. Now check whether nonexistent headers 4240 4087 # can be detected and how. 4241 cat >conftest.$ac_ext <<_ACEOF 4242 /* confdefs.h. */ 4243 _ACEOF 4244 cat confdefs.h >>conftest.$ac_ext 4245 cat >>conftest.$ac_ext <<_ACEOF 4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4246 4089 /* end confdefs.h. */ 4247 4090 #include <ac_nonexistent.h> 4248 4091 _ACEOF 4249 if { (ac_try="$ac_cpp conftest.$ac_ext" 4250 case "(($ac_try" in 4251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4252 *) ac_try_echo=$ac_try;; 4253 esac 4254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4255 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4256 ac_status=$? 4257 grep -v '^ *+' conftest.er1 >conftest.err 4258 rm -f conftest.er1 4259 cat conftest.err >&5 4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4261 (exit $ac_status); } >/dev/null && { 4262 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4263 test ! -s conftest.err 4264 }; then 4092 if ac_fn_c_try_cpp "$LINENO"; then : 4265 4093 # Broken: success on invalid input. 4266 4094 continue 4267 4095 else 4268 echo "$as_me: failed program was:" >&54269 sed 's/^/| /' conftest.$ac_ext >&54270 4271 4096 # Passes both tests. 4272 4097 ac_preproc_ok=: 4273 4098 break 4274 4099 fi 4275 4276 4100 rm -f conftest.err conftest.$ac_ext 4277 4101 … … 4279 4103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4280 4104 rm -f conftest.err conftest.$ac_ext 4281 if $ac_preproc_ok; then 4282 : 4283 else 4284 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4285 See \`config.log' for more details." >&5 4286 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4287 See \`config.log' for more details." >&2;} 4288 { (exit 1); exit 1; }; } 4105 if $ac_preproc_ok; then : 4106 4107 else 4108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4109 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4110 as_fn_error "C preprocessor \"$CPP\" fails sanity check 4111 See \`config.log' for more details." "$LINENO" 5; } 4289 4112 fi 4290 4113 … … 4296 4119 4297 4120 4298 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4299 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4300 if test "${ac_cv_path_GREP+set}" = set; then 4301 echo $ECHO_N "(cached) $ECHO_C" >&6 4302 else 4303 # Extract the first word of "grep ggrep" to use in msg output 4304 if test -z "$GREP"; then 4305 set dummy grep ggrep; ac_prog_name=$2 4306 if test "${ac_cv_path_GREP+set}" = set; then 4307 echo $ECHO_N "(cached) $ECHO_C" >&6 4308 else 4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4122 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4123 if test "${ac_cv_path_GREP+set}" = set; then : 4124 $as_echo_n "(cached) " >&6 4125 else 4126 if test -z "$GREP"; then 4309 4127 ac_path_GREP_found=false 4310 # Loop through the user's path and test for each of PROGNAME-LIST4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4128 # Loop through the user's path and test for each of PROGNAME-LIST 4129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4312 4130 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4313 4131 do 4314 4132 IFS=$as_save_IFS 4315 4133 test -z "$as_dir" && as_dir=. 4316 for ac_prog in grep ggrep; do4317 for ac_exec_ext in '' $ac_executable_extensions; do4318 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4319 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4320 4134 for ac_prog in grep ggrep; do 4135 for ac_exec_ext in '' $ac_executable_extensions; do 4136 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4137 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4138 # Check for GNU ac_path_GREP and select it if it is found. 4321 4139 # Check for GNU $ac_path_GREP 4322 4140 case `"$ac_path_GREP" --version 2>&1` in … … 4325 4143 *) 4326 4144 ac_count=0 4327 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4145 $as_echo_n 0123456789 >"conftest.in" 4328 4146 while : 4329 4147 do … … 4331 4149 mv "conftest.tmp" "conftest.in" 4332 4150 cp "conftest.in" "conftest.nl" 4333 echo 'GREP' >> "conftest.nl"4151 $as_echo 'GREP' >> "conftest.nl" 4334 4152 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4335 4153 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4336 a c_count=`expr $ac_count + 1`4154 as_fn_arith $ac_count + 1 && ac_count=$as_val 4337 4155 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4338 4156 # Best one so far, save it but keep looking for a better one … … 4346 4164 esac 4347 4165 4348 4349 $ac_path_GREP_found && break 34166 $ac_path_GREP_found && break 3 4167 done 4350 4168 done 4351 done 4352 4353 done 4169 done 4354 4170 IFS=$as_save_IFS 4355 4356 4357 fi 4358 4359 GREP="$ac_cv_path_GREP" 4360 if test -z "$GREP"; then 4361 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4362 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4363 { (exit 1); exit 1; }; } 4364 fi 4365 4171 if test -z "$ac_cv_path_GREP"; then 4172 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4173 fi 4366 4174 else 4367 4175 ac_cv_path_GREP=$GREP 4368 4176 fi 4369 4177 4370 4371 fi 4372 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4373 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4178 fi 4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4180 $as_echo "$ac_cv_path_GREP" >&6; } 4374 4181 GREP="$ac_cv_path_GREP" 4375 4182 4376 4183 4377 { echo "$as_me:$LINENO: checking for egrep" >&54378 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }4379 if test "${ac_cv_path_EGREP+set}" = set; then 4380 echo $ECHO_N "(cached) $ECHO_C" >&64184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4185 $as_echo_n "checking for egrep... " >&6; } 4186 if test "${ac_cv_path_EGREP+set}" = set; then : 4187 $as_echo_n "(cached) " >&6 4381 4188 else 4382 4189 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4383 4190 then ac_cv_path_EGREP="$GREP -E" 4384 4191 else 4385 # Extract the first word of "egrep" to use in msg output 4386 if test -z "$EGREP"; then 4387 set dummy egrep; ac_prog_name=$2 4388 if test "${ac_cv_path_EGREP+set}" = set; then 4389 echo $ECHO_N "(cached) $ECHO_C" >&6 4390 else 4192 if test -z "$EGREP"; then 4391 4193 ac_path_EGREP_found=false 4392 # Loop through the user's path and test for each of PROGNAME-LIST4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR4194 # Loop through the user's path and test for each of PROGNAME-LIST 4195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4394 4196 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4395 4197 do 4396 4198 IFS=$as_save_IFS 4397 4199 test -z "$as_dir" && as_dir=. 4398 for ac_prog in egrep; do4399 for ac_exec_ext in '' $ac_executable_extensions; do4400 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"4401 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue4402 4200 for ac_prog in egrep; do 4201 for ac_exec_ext in '' $ac_executable_extensions; do 4202 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4203 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4204 # Check for GNU ac_path_EGREP and select it if it is found. 4403 4205 # Check for GNU $ac_path_EGREP 4404 4206 case `"$ac_path_EGREP" --version 2>&1` in … … 4407 4209 *) 4408 4210 ac_count=0 4409 echo $ECHO_N "0123456789$ECHO_C">"conftest.in"4211 $as_echo_n 0123456789 >"conftest.in" 4410 4212 while : 4411 4213 do … … 4413 4215 mv "conftest.tmp" "conftest.in" 4414 4216 cp "conftest.in" "conftest.nl" 4415 echo 'EGREP' >> "conftest.nl"4217 $as_echo 'EGREP' >> "conftest.nl" 4416 4218 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4417 4219 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4418 a c_count=`expr $ac_count + 1`4220 as_fn_arith $ac_count + 1 && ac_count=$as_val 4419 4221 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4420 4222 # Best one so far, save it but keep looking for a better one … … 4428 4230 esac 4429 4231 4430 4431 $ac_path_EGREP_found && break 34232 $ac_path_EGREP_found && break 3 4233 done 4432 4234 done 4433 done 4434 4435 done 4235 done 4436 4236 IFS=$as_save_IFS 4437 4438 4439 fi 4440 4441 EGREP="$ac_cv_path_EGREP" 4442 if test -z "$EGREP"; then 4443 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4444 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4445 { (exit 1); exit 1; }; } 4446 fi 4447 4237 if test -z "$ac_cv_path_EGREP"; then 4238 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4239 fi 4448 4240 else 4449 4241 ac_cv_path_EGREP=$EGREP 4450 4242 fi 4451 4243 4452 4453 4244 fi 4454 4245 fi 4455 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&54456 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4247 $as_echo "$ac_cv_path_EGREP" >&6; } 4457 4248 EGREP="$ac_cv_path_EGREP" 4458 4249 4459 4250 4460 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4461 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4462 if test "${ac_cv_header_stdc+set}" = set; then 4463 echo $ECHO_N "(cached) $ECHO_C" >&6 4464 else 4465 cat >conftest.$ac_ext <<_ACEOF 4466 /* confdefs.h. */ 4467 _ACEOF 4468 cat confdefs.h >>conftest.$ac_ext 4469 cat >>conftest.$ac_ext <<_ACEOF 4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4252 $as_echo_n "checking for ANSI C header files... " >&6; } 4253 if test "${ac_cv_header_stdc+set}" = set; then : 4254 $as_echo_n "(cached) " >&6 4255 else 4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4470 4257 /* end confdefs.h. */ 4471 4258 #include <stdlib.h> … … 4482 4269 } 4483 4270 _ACEOF 4484 rm -f conftest.$ac_objext 4485 if { (ac_try="$ac_compile" 4486 case "(($ac_try" in 4487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4488 *) ac_try_echo=$ac_try;; 4489 esac 4490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4491 (eval "$ac_compile") 2>conftest.er1 4492 ac_status=$? 4493 grep -v '^ *+' conftest.er1 >conftest.err 4494 rm -f conftest.er1 4495 cat conftest.err >&5 4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4497 (exit $ac_status); } && { 4498 test -z "$ac_c_werror_flag" || 4499 test ! -s conftest.err 4500 } && test -s conftest.$ac_objext; then 4271 if ac_fn_c_try_compile "$LINENO"; then : 4501 4272 ac_cv_header_stdc=yes 4502 4273 else 4503 echo "$as_me: failed program was:" >&5 4504 sed 's/^/| /' conftest.$ac_ext >&5 4505 4506 ac_cv_header_stdc=no 4507 fi 4508 4274 ac_cv_header_stdc=no 4275 fi 4509 4276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4510 4277 4511 4278 if test $ac_cv_header_stdc = yes; then 4512 4279 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4513 cat >conftest.$ac_ext <<_ACEOF 4514 /* confdefs.h. */ 4515 _ACEOF 4516 cat confdefs.h >>conftest.$ac_ext 4517 cat >>conftest.$ac_ext <<_ACEOF 4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4518 4281 /* end confdefs.h. */ 4519 4282 #include <string.h> … … 4521 4284 _ACEOF 4522 4285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4523 $EGREP "memchr" >/dev/null 2>&1; then 4524 : 4286 $EGREP "memchr" >/dev/null 2>&1; then : 4287 4525 4288 else 4526 4289 ac_cv_header_stdc=no 4527 4290 fi 4528 rm -f -rconftest*4291 rm -f conftest* 4529 4292 4530 4293 fi … … 4532 4295 if test $ac_cv_header_stdc = yes; then 4533 4296 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4534 cat >conftest.$ac_ext <<_ACEOF 4535 /* confdefs.h. */ 4536 _ACEOF 4537 cat confdefs.h >>conftest.$ac_ext 4538 cat >>conftest.$ac_ext <<_ACEOF 4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4539 4298 /* end confdefs.h. */ 4540 4299 #include <stdlib.h> … … 4542 4301 _ACEOF 4543 4302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4544 $EGREP "free" >/dev/null 2>&1; then 4545 : 4303 $EGREP "free" >/dev/null 2>&1; then : 4304 4546 4305 else 4547 4306 ac_cv_header_stdc=no 4548 4307 fi 4549 rm -f -rconftest*4308 rm -f conftest* 4550 4309 4551 4310 fi … … 4553 4312 if test $ac_cv_header_stdc = yes; then 4554 4313 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4555 if test "$cross_compiling" = yes; then 4314 if test "$cross_compiling" = yes; then : 4556 4315 : 4557 4316 else 4558 cat >conftest.$ac_ext <<_ACEOF 4559 /* confdefs.h. */ 4560 _ACEOF 4561 cat confdefs.h >>conftest.$ac_ext 4562 cat >>conftest.$ac_ext <<_ACEOF 4317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4563 4318 /* end confdefs.h. */ 4564 4319 #include <ctype.h> … … 4587 4342 } 4588 4343 _ACEOF 4589 rm -f conftest$ac_exeext 4590 if { (ac_try="$ac_link" 4591 case "(($ac_try" in 4592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4593 *) ac_try_echo=$ac_try;; 4594 esac 4595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4596 (eval "$ac_link") 2>&5 4597 ac_status=$? 4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4599 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4600 { (case "(($ac_try" in 4601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4602 *) ac_try_echo=$ac_try;; 4603 esac 4604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4605 (eval "$ac_try") 2>&5 4606 ac_status=$? 4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4608 (exit $ac_status); }; }; then 4609 : 4610 else 4611 echo "$as_me: program exited with status $ac_status" >&5 4612 echo "$as_me: failed program was:" >&5 4613 sed 's/^/| /' conftest.$ac_ext >&5 4614 4615 ( exit $ac_status ) 4616 ac_cv_header_stdc=no 4617 fi 4618 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4619 fi 4620 4621 4622 fi 4623 fi 4624 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4625 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4344 if ac_fn_c_try_run "$LINENO"; then : 4345 4346 else 4347 ac_cv_header_stdc=no 4348 fi 4349 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4350 conftest.$ac_objext conftest.beam conftest.$ac_ext 4351 fi 4352 4353 fi 4354 fi 4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4356 $as_echo "$ac_cv_header_stdc" >&6; } 4626 4357 if test $ac_cv_header_stdc = yes; then 4627 4358 4628 cat >>confdefs.h <<\_ACEOF 4629 #define STDC_HEADERS 1 4630 _ACEOF 4359 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4631 4360 4632 4361 fi 4633 4362 4634 4363 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4364 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4645 4365 inttypes.h stdint.h unistd.h 4646 do 4647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4648 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4651 echo $ECHO_N "(cached) $ECHO_C" >&6 4652 else 4653 cat >conftest.$ac_ext <<_ACEOF 4654 /* confdefs.h. */ 4655 _ACEOF 4656 cat confdefs.h >>conftest.$ac_ext 4657 cat >>conftest.$ac_ext <<_ACEOF 4366 do : 4367 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4368 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4369 " 4370 eval as_val=\$$as_ac_Header 4371 if test "x$as_val" = x""yes; then : 4372 cat >>confdefs.h <<_ACEOF 4373 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4374 _ACEOF 4375 4376 fi 4377 4378 done 4379 4380 4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4382 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4383 if test "${ac_cv_c_bigendian+set}" = set; then : 4384 $as_echo_n "(cached) " >&6 4385 else 4386 ac_cv_c_bigendian=unknown 4387 # See if we're dealing with a universal compiler. 4388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4658 4389 /* end confdefs.h. */ 4659 $ac_includes_default 4660 4661 #include <$ac_header> 4662 _ACEOF 4663 rm -f conftest.$ac_objext 4664 if { (ac_try="$ac_compile" 4665 case "(($ac_try" in 4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4667 *) ac_try_echo=$ac_try;; 4668 esac 4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4670 (eval "$ac_compile") 2>conftest.er1 4671 ac_status=$? 4672 grep -v '^ *+' conftest.er1 >conftest.err 4673 rm -f conftest.er1 4674 cat conftest.err >&5 4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4676 (exit $ac_status); } && { 4677 test -z "$ac_c_werror_flag" || 4678 test ! -s conftest.err 4679 } && test -s conftest.$ac_objext; then 4680 eval "$as_ac_Header=yes" 4681 else 4682 echo "$as_me: failed program was:" >&5 4683 sed 's/^/| /' conftest.$ac_ext >&5 4684 4685 eval "$as_ac_Header=no" 4686 fi 4687 4390 #ifndef __APPLE_CC__ 4391 not a universal capable compiler 4392 #endif 4393 typedef int dummy; 4394 4395 _ACEOF 4396 if ac_fn_c_try_compile "$LINENO"; then : 4397 4398 # Check for potential -arch flags. It is not universal unless 4399 # there are at least two -arch flags with different values. 4400 ac_arch= 4401 ac_prev= 4402 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4403 if test -n "$ac_prev"; then 4404 case $ac_word in 4405 i?86 | x86_64 | ppc | ppc64) 4406 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4407 ac_arch=$ac_word 4408 else 4409 ac_cv_c_bigendian=universal 4410 break 4411 fi 4412 ;; 4413 esac 4414 ac_prev= 4415 elif test "x$ac_word" = "x-arch"; then 4416 ac_prev=arch 4417 fi 4418 done 4419 fi 4688 4420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4689 fi 4690 ac_res=`eval echo '${'$as_ac_Header'}'` 4691 { echo "$as_me:$LINENO: result: $ac_res" >&5 4692 echo "${ECHO_T}$ac_res" >&6; } 4693 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4694 cat >>confdefs.h <<_ACEOF 4695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4696 _ACEOF 4697 4698 fi 4699 4700 done 4701 4702 4703 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4704 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 4705 if test "${ac_cv_c_bigendian+set}" = set; then 4706 echo $ECHO_N "(cached) $ECHO_C" >&6 4707 else 4708 # See if sys/param.h defines the BYTE_ORDER macro. 4709 cat >conftest.$ac_ext <<_ACEOF 4710 /* confdefs.h. */ 4711 _ACEOF 4712 cat confdefs.h >>conftest.$ac_ext 4713 cat >>conftest.$ac_ext <<_ACEOF 4421 if test $ac_cv_c_bigendian = unknown; then 4422 # See if sys/param.h defines the BYTE_ORDER macro. 4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4714 4424 /* end confdefs.h. */ 4715 4425 #include <sys/types.h> 4716 #include <sys/param.h>4426 #include <sys/param.h> 4717 4427 4718 4428 int 4719 4429 main () 4720 4430 { 4721 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4722 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4723 bogus endian macros 4724 #endif 4431 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4432 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4433 && LITTLE_ENDIAN) 4434 bogus endian macros 4435 #endif 4725 4436 4726 4437 ; … … 4728 4439 } 4729 4440 _ACEOF 4730 rm -f conftest.$ac_objext 4731 if { (ac_try="$ac_compile" 4732 case "(($ac_try" in 4733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4734 *) ac_try_echo=$ac_try;; 4735 esac 4736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4737 (eval "$ac_compile") 2>conftest.er1 4738 ac_status=$? 4739 grep -v '^ *+' conftest.er1 >conftest.err 4740 rm -f conftest.er1 4741 cat conftest.err >&5 4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4743 (exit $ac_status); } && { 4744 test -z "$ac_c_werror_flag" || 4745 test ! -s conftest.err 4746 } && test -s conftest.$ac_objext; then 4441 if ac_fn_c_try_compile "$LINENO"; then : 4747 4442 # It does; now see whether it defined to BIG_ENDIAN or not. 4748 cat >conftest.$ac_ext <<_ACEOF 4749 /* confdefs.h. */ 4750 _ACEOF 4751 cat confdefs.h >>conftest.$ac_ext 4752 cat >>conftest.$ac_ext <<_ACEOF 4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4753 4444 /* end confdefs.h. */ 4754 4445 #include <sys/types.h> 4755 #include <sys/param.h>4446 #include <sys/param.h> 4756 4447 4757 4448 int … … 4759 4450 { 4760 4451 #if BYTE_ORDER != BIG_ENDIAN 4761 not big endian4762 #endif4452 not big endian 4453 #endif 4763 4454 4764 4455 ; … … 4766 4457 } 4767 4458 _ACEOF 4768 rm -f conftest.$ac_objext 4769 if { (ac_try="$ac_compile" 4770 case "(($ac_try" in 4771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4772 *) ac_try_echo=$ac_try;; 4773 esac 4774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4775 (eval "$ac_compile") 2>conftest.er1 4776 ac_status=$? 4777 grep -v '^ *+' conftest.er1 >conftest.err 4778 rm -f conftest.er1 4779 cat conftest.err >&5 4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4781 (exit $ac_status); } && { 4782 test -z "$ac_c_werror_flag" || 4783 test ! -s conftest.err 4784 } && test -s conftest.$ac_objext; then 4459 if ac_fn_c_try_compile "$LINENO"; then : 4785 4460 ac_cv_c_bigendian=yes 4786 4461 else 4787 echo "$as_me: failed program was:" >&5 4788 sed 's/^/| /' conftest.$ac_ext >&5 4789 4790 ac_cv_c_bigendian=no 4791 fi 4792 4462 ac_cv_c_bigendian=no 4463 fi 4793 4464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4794 else 4795 echo "$as_me: failed program was:" >&5 4796 sed 's/^/| /' conftest.$ac_ext >&5 4797 4798 # It does not; compile a test program. 4799 if test "$cross_compiling" = yes; then 4800 # try to guess the endianness by grepping values into an object file 4801 ac_cv_c_bigendian=unknown 4802 cat >conftest.$ac_ext <<_ACEOF 4803 /* confdefs.h. */ 4804 _ACEOF 4805 cat confdefs.h >>conftest.$ac_ext 4806 cat >>conftest.$ac_ext <<_ACEOF 4465 fi 4466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4467 fi 4468 if test $ac_cv_c_bigendian = unknown; then 4469 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4807 4471 /* end confdefs.h. */ 4808 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4809 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4810 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 4811 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4812 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4813 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 4472 #include <limits.h> 4473 4814 4474 int 4815 4475 main () 4816 4476 { 4817 _ascii (); _ebcdic (); 4477 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4478 bogus endian macros 4479 #endif 4480 4818 4481 ; 4819 4482 return 0; 4820 4483 } 4821 4484 _ACEOF 4822 rm -f conftest.$ac_objext 4823 if { (ac_try="$ac_compile" 4824 case "(($ac_try" in 4825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4826 *) ac_try_echo=$ac_try;; 4827 esac 4828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4829 (eval "$ac_compile") 2>conftest.er1 4830 ac_status=$? 4831 grep -v '^ *+' conftest.er1 >conftest.err 4832 rm -f conftest.er1 4833 cat conftest.err >&5 4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4835 (exit $ac_status); } && {4836 test -z "$ac_c_werror_flag" || 4837 test ! -s conftest.err 4838 } && test -s conftest.$ac_objext; then 4839 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 4485 if ac_fn_c_try_compile "$LINENO"; then : 4486 # It does; now see whether it defined to _BIG_ENDIAN or not. 4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4488 /* end confdefs.h. */ 4489 #include <limits.h> 4490 4491 int 4492 main () 4493 { 4494 #ifndef _BIG_ENDIAN 4495 not big endian 4496 #endif 4497 4498 ; 4499 return 0; 4500 } 4501 _ACEOF 4502 if ac_fn_c_try_compile "$LINENO"; then : 4840 4503 ac_cv_c_bigendian=yes 4841 fi 4842 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4843 if test "$ac_cv_c_bigendian" = unknown; then 4844 ac_cv_c_bigendian=no 4845 else 4846 # finding both strings is unlikely to happen, but who knows? 4847 ac_cv_c_bigendian=unknown 4848 fi 4849 fi 4850 else 4851 echo "$as_me: failed program was:" >&5 4852 sed 's/^/| /' conftest.$ac_ext >&5 4853 4854 4855 fi 4856 4504 else 4505 ac_cv_c_bigendian=no 4506 fi 4857 4507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4858 else 4859 cat >conftest.$ac_ext <<_ACEOF 4860 /* confdefs.h. */ 4861 _ACEOF 4862 cat confdefs.h >>conftest.$ac_ext 4863 cat >>conftest.$ac_ext <<_ACEOF 4508 fi 4509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4510 fi 4511 if test $ac_cv_c_bigendian = unknown; then 4512 # Compile a test program. 4513 if test "$cross_compiling" = yes; then : 4514 # Try to guess by grepping values from an object file. 4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4516 /* end confdefs.h. */ 4517 short int ascii_mm[] = 4518 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4519 short int ascii_ii[] = 4520 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4521 int use_ascii (int i) { 4522 return ascii_mm[i] + ascii_ii[i]; 4523 } 4524 short int ebcdic_ii[] = 4525 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4526 short int ebcdic_mm[] = 4527 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4528 int use_ebcdic (int i) { 4529 return ebcdic_mm[i] + ebcdic_ii[i]; 4530 } 4531 extern int foo; 4532 4533 int 4534 main () 4535 { 4536 return use_ascii (foo) == use_ebcdic (foo); 4537 ; 4538 return 0; 4539 } 4540 _ACEOF 4541 if ac_fn_c_try_compile "$LINENO"; then : 4542 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4543 ac_cv_c_bigendian=yes 4544 fi 4545 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4546 if test "$ac_cv_c_bigendian" = unknown; then 4547 ac_cv_c_bigendian=no 4548 else 4549 # finding both strings is unlikely to happen, but who knows? 4550 ac_cv_c_bigendian=unknown 4551 fi 4552 fi 4553 fi 4554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4555 else 4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4864 4557 /* end confdefs.h. */ 4865 4558 $ac_includes_default … … 4868 4561 { 4869 4562 4870 /* Are we little or big endian? From Harbison&Steele. */4871 union4872 {4873 long int l;4874 char c[sizeof (long int)];4875 } u;4876 u.l = 1;4877 return u.c[sizeof (long int) - 1] == 1;4563 /* Are we little or big endian? From Harbison&Steele. */ 4564 union 4565 { 4566 long int l; 4567 char c[sizeof (long int)]; 4568 } u; 4569 u.l = 1; 4570 return u.c[sizeof (long int) - 1] == 1; 4878 4571 4879 4572 ; … … 4881 4574 } 4882 4575 _ACEOF 4883 rm -f conftest$ac_exeext 4884 if { (ac_try="$ac_link" 4885 case "(($ac_try" in 4886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4887 *) ac_try_echo=$ac_try;; 4888 esac 4889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4890 (eval "$ac_link") 2>&5 4891 ac_status=$? 4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4893 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4894 { (case "(($ac_try" in 4895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4896 *) ac_try_echo=$ac_try;; 4897 esac 4898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4899 (eval "$ac_try") 2>&5 4900 ac_status=$? 4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4902 (exit $ac_status); }; }; then 4576 if ac_fn_c_try_run "$LINENO"; then : 4903 4577 ac_cv_c_bigendian=no 4904 4578 else 4905 echo "$as_me: program exited with status $ac_status" >&5 4906 echo "$as_me: failed program was:" >&5 4907 sed 's/^/| /' conftest.$ac_ext >&5 4908 4909 ( exit $ac_status ) 4910 ac_cv_c_bigendian=yes 4911 fi 4912 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4913 fi 4914 4915 4916 fi 4917 4918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4919 fi 4920 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4921 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4922 case $ac_cv_c_bigendian in 4923 yes) 4924 4925 cat >>confdefs.h <<\_ACEOF 4926 #define WORDS_BIGENDIAN 1 4927 _ACEOF 4928 ;; 4929 no) 4930 ;; 4931 *) 4932 { { echo "$as_me:$LINENO: error: unknown endianness 4933 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4934 echo "$as_me: error: unknown endianness 4935 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4936 { (exit 1); exit 1; }; } ;; 4937 esac 4579 ac_cv_c_bigendian=yes 4580 fi 4581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4582 conftest.$ac_objext conftest.beam conftest.$ac_ext 4583 fi 4584 4585 fi 4586 fi 4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 4588 $as_echo "$ac_cv_c_bigendian" >&6; } 4589 case $ac_cv_c_bigendian in #( 4590 yes) 4591 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 4592 ;; #( 4593 no) 4594 ;; #( 4595 universal) 4596 4597 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 4598 4599 ;; #( 4600 *) 4601 as_fn_error "unknown endianness 4602 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4603 esac 4938 4604 4939 4605 … … 4946 4612 case $target in 4947 4613 *mingw* | *cygw* | *win32* | *w32* ) 4948 cat >>confdefs.h <<\_ACEOF 4949 #define PJ_WIN32 1 4950 _ACEOF 4951 4952 cat >>confdefs.h <<\_ACEOF 4953 #define PJ_WIN32_WINNT 0x0400 4954 _ACEOF 4955 4956 cat >>confdefs.h <<\_ACEOF 4957 #define WIN32_LEAN_AND_MEAN 1 4958 _ACEOF 4614 $as_echo "#define PJ_WIN32 1" >>confdefs.h 4615 4616 $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 4617 4618 $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 4959 4619 4960 4620 ;; 4961 4621 *darwin*) 4962 cat >>confdefs.h <<\_ACEOF 4963 #define PJ_DARWINOS 1 4964 _ACEOF 4622 $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 4965 4623 4966 4624 ;; 4967 4625 *linux*) 4968 cat >>confdefs.h <<\_ACEOF 4969 #define PJ_LINUX 1 4970 _ACEOF 4626 $as_echo "#define PJ_LINUX 1" >>confdefs.h 4971 4627 4972 4628 ;; 4973 4629 *rtems*) 4974 cat >>confdefs.h <<\_ACEOF 4975 #define PJ_RTEMS 1 4976 _ACEOF 4630 $as_echo "#define PJ_RTEMS 1" >>confdefs.h 4977 4631 4978 4632 ;; 4979 4633 *sunos* | *solaris* ) 4980 cat >>confdefs.h <<\_ACEOF 4981 #define PJ_SUNOS 1 4982 _ACEOF 4634 $as_echo "#define PJ_SUNOS 1" >>confdefs.h 4983 4635 4984 4636 ;; … … 4991 4643 4992 4644 # Check whether --enable-floating-point was given. 4993 if test "${enable_floating_point+set}" = set; then 4645 if test "${enable_floating_point+set}" = set; then : 4994 4646 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 4995 cat >>confdefs.h <<\_ACEOF 4996 #define PJ_HAS_FLOATING_POINT 0 4997 _ACEOF 4998 4999 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 5000 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 4647 $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 4648 4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 4650 $as_echo "Checking if floating point is disabled... yes" >&6; } 5001 4651 fi 5002 4652 else 5003 4653 5004 cat >>confdefs.h <<\_ACEOF 5005 #define PJ_HAS_FLOATING_POINT 1 5006 _ACEOF 5007 5008 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 5009 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 5010 5011 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 5012 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 5013 if test "${ac_cv_lib_m_fmod+set}" = set; then 5014 echo $ECHO_N "(cached) $ECHO_C" >&6 4654 $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 4655 4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 4657 $as_echo "Checking if floating point is disabled... no" >&6; } 4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 4659 $as_echo_n "checking for fmod in -lm... " >&6; } 4660 if test "${ac_cv_lib_m_fmod+set}" = set; then : 4661 $as_echo_n "(cached) " >&6 5015 4662 else 5016 4663 ac_check_lib_save_LIBS=$LIBS 5017 4664 LIBS="-lm $LIBS" 5018 cat >conftest.$ac_ext <<_ACEOF 5019 /* confdefs.h. */ 5020 _ACEOF 5021 cat confdefs.h >>conftest.$ac_ext 5022 cat >>conftest.$ac_ext <<_ACEOF 4665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5023 4666 /* end confdefs.h. */ 5024 4667 … … 5038 4681 } 5039 4682 _ACEOF 5040 rm -f conftest.$ac_objext conftest$ac_exeext 5041 if { (ac_try="$ac_link" 5042 case "(($ac_try" in 5043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5044 *) ac_try_echo=$ac_try;; 5045 esac 5046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5047 (eval "$ac_link") 2>conftest.er1 5048 ac_status=$? 5049 grep -v '^ *+' conftest.er1 >conftest.err 5050 rm -f conftest.er1 5051 cat conftest.err >&5 5052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5053 (exit $ac_status); } && { 5054 test -z "$ac_c_werror_flag" || 5055 test ! -s conftest.err 5056 } && test -s conftest$ac_exeext && 5057 $as_test_x conftest$ac_exeext; then 4683 if ac_fn_c_try_link "$LINENO"; then : 5058 4684 ac_cv_lib_m_fmod=yes 5059 4685 else 5060 echo "$as_me: failed program was:" >&5 5061 sed 's/^/| /' conftest.$ac_ext >&5 5062 5063 ac_cv_lib_m_fmod=no 5064 fi 5065 5066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5067 conftest$ac_exeext conftest.$ac_ext 4686 ac_cv_lib_m_fmod=no 4687 fi 4688 rm -f core conftest.err conftest.$ac_objext \ 4689 conftest$ac_exeext conftest.$ac_ext 5068 4690 LIBS=$ac_check_lib_save_LIBS 5069 4691 fi 5070 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&55071 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; }5072 if test $ac_cv_lib_m_fmod = yes; then4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 4693 $as_echo "$ac_cv_lib_m_fmod" >&6; } 4694 if test "x$ac_cv_lib_m_fmod" = x""yes; then : 5073 4695 cat >>confdefs.h <<_ACEOF 5074 4696 #define HAVE_LIBM 1 … … 5084 4706 5085 4707 5086 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5087 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5088 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5089 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5090 echo $ECHO_N "(cached) $ECHO_C" >&6 5091 fi 5092 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5093 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5094 else 5095 # Is the header compilable? 5096 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 5097 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 5098 cat >conftest.$ac_ext <<_ACEOF 5099 /* confdefs.h. */ 5100 _ACEOF 5101 cat confdefs.h >>conftest.$ac_ext 5102 cat >>conftest.$ac_ext <<_ACEOF 5103 /* end confdefs.h. */ 5104 $ac_includes_default 5105 #include <arpa/inet.h> 5106 _ACEOF 5107 rm -f conftest.$ac_objext 5108 if { (ac_try="$ac_compile" 5109 case "(($ac_try" in 5110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5111 *) ac_try_echo=$ac_try;; 5112 esac 5113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5114 (eval "$ac_compile") 2>conftest.er1 5115 ac_status=$? 5116 grep -v '^ *+' conftest.er1 >conftest.err 5117 rm -f conftest.er1 5118 cat conftest.err >&5 5119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5120 (exit $ac_status); } && { 5121 test -z "$ac_c_werror_flag" || 5122 test ! -s conftest.err 5123 } && test -s conftest.$ac_objext; then 5124 ac_header_compiler=yes 5125 else 5126 echo "$as_me: failed program was:" >&5 5127 sed 's/^/| /' conftest.$ac_ext >&5 5128 5129 ac_header_compiler=no 5130 fi 5131 5132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5133 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5134 echo "${ECHO_T}$ac_header_compiler" >&6; } 5135 5136 # Is the header present? 5137 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 5138 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 5139 cat >conftest.$ac_ext <<_ACEOF 5140 /* confdefs.h. */ 5141 _ACEOF 5142 cat confdefs.h >>conftest.$ac_ext 5143 cat >>conftest.$ac_ext <<_ACEOF 5144 /* end confdefs.h. */ 5145 #include <arpa/inet.h> 5146 _ACEOF 5147 if { (ac_try="$ac_cpp conftest.$ac_ext" 5148 case "(($ac_try" in 5149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5150 *) ac_try_echo=$ac_try;; 5151 esac 5152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5153 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5154 ac_status=$? 5155 grep -v '^ *+' conftest.er1 >conftest.err 5156 rm -f conftest.er1 5157 cat conftest.err >&5 5158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5159 (exit $ac_status); } >/dev/null && { 5160 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5161 test ! -s conftest.err 5162 }; then 5163 ac_header_preproc=yes 5164 else 5165 echo "$as_me: failed program was:" >&5 5166 sed 's/^/| /' conftest.$ac_ext >&5 5167 5168 ac_header_preproc=no 5169 fi 5170 5171 rm -f conftest.err conftest.$ac_ext 5172 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5173 echo "${ECHO_T}$ac_header_preproc" >&6; } 5174 5175 # So? What about this header? 5176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5177 yes:no: ) 5178 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 5179 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5180 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 5181 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 5182 ac_header_preproc=yes 5183 ;; 5184 no:yes:* ) 5185 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 5186 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 5187 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 5188 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 5189 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 5190 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 5191 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 5192 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 5193 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 5194 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 5195 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 5196 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 5197 5198 ;; 5199 esac 5200 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5201 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 5202 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5203 echo $ECHO_N "(cached) $ECHO_C" >&6 5204 else 5205 ac_cv_header_arpa_inet_h=$ac_header_preproc 5206 fi 5207 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5208 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 5209 5210 fi 5211 if test $ac_cv_header_arpa_inet_h = yes; then 5212 cat >>confdefs.h <<\_ACEOF 5213 #define PJ_HAS_ARPA_INET_H 1 5214 _ACEOF 5215 5216 fi 5217 5218 5219 if test "${ac_cv_header_assert_h+set}" = set; then 5220 { echo "$as_me:$LINENO: checking for assert.h" >&5 5221 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5222 if test "${ac_cv_header_assert_h+set}" = set; then 5223 echo $ECHO_N "(cached) $ECHO_C" >&6 5224 fi 5225 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5226 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5227 else 5228 # Is the header compilable? 5229 { echo "$as_me:$LINENO: checking assert.h usability" >&5 5230 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 5231 cat >conftest.$ac_ext <<_ACEOF 5232 /* confdefs.h. */ 5233 _ACEOF 5234 cat confdefs.h >>conftest.$ac_ext 5235 cat >>conftest.$ac_ext <<_ACEOF 5236 /* end confdefs.h. */ 5237 $ac_includes_default 5238 #include <assert.h> 5239 _ACEOF 5240 rm -f conftest.$ac_objext 5241 if { (ac_try="$ac_compile" 5242 case "(($ac_try" in 5243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5244 *) ac_try_echo=$ac_try;; 5245 esac 5246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5247 (eval "$ac_compile") 2>conftest.er1 5248 ac_status=$? 5249 grep -v '^ *+' conftest.er1 >conftest.err 5250 rm -f conftest.er1 5251 cat conftest.err >&5 5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5253 (exit $ac_status); } && { 5254 test -z "$ac_c_werror_flag" || 5255 test ! -s conftest.err 5256 } && test -s conftest.$ac_objext; then 5257 ac_header_compiler=yes 5258 else 5259 echo "$as_me: failed program was:" >&5 5260 sed 's/^/| /' conftest.$ac_ext >&5 5261 5262 ac_header_compiler=no 5263 fi 5264 5265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5266 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5267 echo "${ECHO_T}$ac_header_compiler" >&6; } 5268 5269 # Is the header present? 5270 { echo "$as_me:$LINENO: checking assert.h presence" >&5 5271 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 5272 cat >conftest.$ac_ext <<_ACEOF 5273 /* confdefs.h. */ 5274 _ACEOF 5275 cat confdefs.h >>conftest.$ac_ext 5276 cat >>conftest.$ac_ext <<_ACEOF 5277 /* end confdefs.h. */ 5278 #include <assert.h> 5279 _ACEOF 5280 if { (ac_try="$ac_cpp conftest.$ac_ext" 5281 case "(($ac_try" in 5282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5283 *) ac_try_echo=$ac_try;; 5284 esac 5285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5286 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5287 ac_status=$? 5288 grep -v '^ *+' conftest.er1 >conftest.err 5289 rm -f conftest.er1 5290 cat conftest.err >&5 5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5292 (exit $ac_status); } >/dev/null && { 5293 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5294 test ! -s conftest.err 5295 }; then 5296 ac_header_preproc=yes 5297 else 5298 echo "$as_me: failed program was:" >&5 5299 sed 's/^/| /' conftest.$ac_ext >&5 5300 5301 ac_header_preproc=no 5302 fi 5303 5304 rm -f conftest.err conftest.$ac_ext 5305 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5306 echo "${ECHO_T}$ac_header_preproc" >&6; } 5307 5308 # So? What about this header? 5309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5310 yes:no: ) 5311 { echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 5312 echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5313 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 5314 echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 5315 ac_header_preproc=yes 5316 ;; 5317 no:yes:* ) 5318 { echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 5319 echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 5320 { echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5 5321 echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;} 5322 { echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 5323 echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 5324 { echo "$as_me:$LINENO: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&5 5325 echo "$as_me: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&2;} 5326 { echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 5327 echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 5328 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 5329 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 5330 5331 ;; 5332 esac 5333 { echo "$as_me:$LINENO: checking for assert.h" >&5 5334 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 5335 if test "${ac_cv_header_assert_h+set}" = set; then 5336 echo $ECHO_N "(cached) $ECHO_C" >&6 5337 else 5338 ac_cv_header_assert_h=$ac_header_preproc 5339 fi 5340 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5341 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 5342 5343 fi 5344 if test $ac_cv_header_assert_h = yes; then 5345 cat >>confdefs.h <<\_ACEOF 5346 #define PJ_HAS_ASSERT_H 1 5347 _ACEOF 5348 5349 fi 5350 5351 5352 if test "${ac_cv_header_ctype_h+set}" = set; then 5353 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5354 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5355 if test "${ac_cv_header_ctype_h+set}" = set; then 5356 echo $ECHO_N "(cached) $ECHO_C" >&6 5357 fi 5358 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5359 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5360 else 5361 # Is the header compilable? 5362 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 5363 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 5364 cat >conftest.$ac_ext <<_ACEOF 5365 /* confdefs.h. */ 5366 _ACEOF 5367 cat confdefs.h >>conftest.$ac_ext 5368 cat >>conftest.$ac_ext <<_ACEOF 5369 /* end confdefs.h. */ 5370 $ac_includes_default 5371 #include <ctype.h> 5372 _ACEOF 5373 rm -f conftest.$ac_objext 5374 if { (ac_try="$ac_compile" 5375 case "(($ac_try" in 5376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5377 *) ac_try_echo=$ac_try;; 5378 esac 5379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5380 (eval "$ac_compile") 2>conftest.er1 5381 ac_status=$? 5382 grep -v '^ *+' conftest.er1 >conftest.err 5383 rm -f conftest.er1 5384 cat conftest.err >&5 5385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5386 (exit $ac_status); } && { 5387 test -z "$ac_c_werror_flag" || 5388 test ! -s conftest.err 5389 } && test -s conftest.$ac_objext; then 5390 ac_header_compiler=yes 5391 else 5392 echo "$as_me: failed program was:" >&5 5393 sed 's/^/| /' conftest.$ac_ext >&5 5394 5395 ac_header_compiler=no 5396 fi 5397 5398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5399 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5400 echo "${ECHO_T}$ac_header_compiler" >&6; } 5401 5402 # Is the header present? 5403 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 5404 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 5405 cat >conftest.$ac_ext <<_ACEOF 5406 /* confdefs.h. */ 5407 _ACEOF 5408 cat confdefs.h >>conftest.$ac_ext 5409 cat >>conftest.$ac_ext <<_ACEOF 5410 /* end confdefs.h. */ 5411 #include <ctype.h> 5412 _ACEOF 5413 if { (ac_try="$ac_cpp conftest.$ac_ext" 5414 case "(($ac_try" in 5415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5416 *) ac_try_echo=$ac_try;; 5417 esac 5418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5419 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5420 ac_status=$? 5421 grep -v '^ *+' conftest.er1 >conftest.err 5422 rm -f conftest.er1 5423 cat conftest.err >&5 5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5425 (exit $ac_status); } >/dev/null && { 5426 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5427 test ! -s conftest.err 5428 }; then 5429 ac_header_preproc=yes 5430 else 5431 echo "$as_me: failed program was:" >&5 5432 sed 's/^/| /' conftest.$ac_ext >&5 5433 5434 ac_header_preproc=no 5435 fi 5436 5437 rm -f conftest.err conftest.$ac_ext 5438 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5439 echo "${ECHO_T}$ac_header_preproc" >&6; } 5440 5441 # So? What about this header? 5442 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5443 yes:no: ) 5444 { echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 5445 echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5446 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 5447 echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 5448 ac_header_preproc=yes 5449 ;; 5450 no:yes:* ) 5451 { echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 5452 echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 5453 { echo "$as_me:$LINENO: WARNING: ctype.h: check for missing prerequisite headers?" >&5 5454 echo "$as_me: WARNING: ctype.h: check for missing prerequisite headers?" >&2;} 5455 { echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 5456 echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 5457 { echo "$as_me:$LINENO: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&5 5458 echo "$as_me: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&2;} 5459 { echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 5460 echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 5461 { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 5462 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 5463 5464 ;; 5465 esac 5466 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5467 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 5468 if test "${ac_cv_header_ctype_h+set}" = set; then 5469 echo $ECHO_N "(cached) $ECHO_C" >&6 5470 else 5471 ac_cv_header_ctype_h=$ac_header_preproc 5472 fi 5473 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5474 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 5475 5476 fi 5477 if test $ac_cv_header_ctype_h = yes; then 5478 cat >>confdefs.h <<\_ACEOF 5479 #define PJ_HAS_CTYPE_H 1 5480 _ACEOF 4708 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 4709 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 4710 $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 4711 4712 fi 4713 4714 4715 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 4716 if test "x$ac_cv_header_assert_h" = x""yes; then : 4717 $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 4718 4719 fi 4720 4721 4722 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 4723 if test "x$ac_cv_header_ctype_h" = x""yes; then : 4724 $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 5481 4725 5482 4726 fi … … 5486 4730 case $target in 5487 4731 *mingw* | *cygw* | *win32* | *w32* ) 5488 cat >>confdefs.h <<\_ACEOF 5489 #define PJ_HAS_ERRNO_H 0 5490 _ACEOF 4732 $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 5491 4733 5492 4734 ;; 5493 4735 *) 5494 if test "${ac_cv_header_errno_h+set}" = set; then 5495 { echo "$as_me:$LINENO: checking for errno.h" >&5 5496 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6; } 5497 if test "${ac_cv_header_errno_h+set}" = set; then 5498 echo $ECHO_N "(cached) $ECHO_C" >&6 5499 fi 5500 { echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5501 echo "${ECHO_T}$ac_cv_header_errno_h" >&6; } 5502 else 5503 # Is the header compilable? 5504 { echo "$as_me:$LINENO: checking errno.h usability" >&5 5505 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6; } 5506 cat >conftest.$ac_ext <<_ACEOF 5507 /* confdefs.h. */ 5508 _ACEOF 5509 cat confdefs.h >>conftest.$ac_ext 5510 cat >>conftest.$ac_ext <<_ACEOF 5511 /* end confdefs.h. */ 5512 $ac_includes_default 5513 #include <errno.h> 5514 _ACEOF 5515 rm -f conftest.$ac_objext 5516 if { (ac_try="$ac_compile" 5517 case "(($ac_try" in 5518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5519 *) ac_try_echo=$ac_try;; 5520 esac 5521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5522 (eval "$ac_compile") 2>conftest.er1 5523 ac_status=$? 5524 grep -v '^ *+' conftest.er1 >conftest.err 5525 rm -f conftest.er1 5526 cat conftest.err >&5 5527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5528 (exit $ac_status); } && { 5529 test -z "$ac_c_werror_flag" || 5530 test ! -s confte