Changeset 3058
- Timestamp:
- Jan 13, 2010 4:28:15 PM (15 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r3057 r3058 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 2for pjproject 1.0.3 # Generated by GNU Autoconf 2.64 for pjproject 1.0. 4 4 # 5 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software 7 # Foundation, Inc. 8 # 7 9 # This configure script is free software; the Free Software Foundation 8 10 # gives unlimited permission to copy, distribute and modify it. 9 ## -------------------- -##10 ## M4sh Initialization. 11 ## -------------------- -##11 ## -------------------- ## 12 ## M4sh Initialization. ## 13 ## -------------------- ## 12 14 13 15 # Be more Bourne compatible 14 16 DUALCASE=1; export DUALCASE # for MKS sh 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16 18 emulate sh 17 19 NULLCMD=: … … 21 23 setopt NO_GLOB_SUBST 22 24 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 25 30 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 31 fi 32 39 33 40 34 as_nl=' … … 45 39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 46 40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 41 # Prefer a ksh shell builtin over an external printf program on Solaris, 42 # but without wasting forks for bash or zsh. 43 if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 48 as_echo='printf %s\n' 49 49 as_echo_n='printf %s' … … 56 56 as_echo_n_body='eval 57 57 arg=$1; 58 case $arg in 58 case $arg in #( 59 59 *"$as_nl"*) 60 60 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 79 79 fi 80 80 81 # Support unset when possible.82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then83 as_unset=unset84 else85 as_unset=false86 fi87 88 81 89 82 # IFS … … 95 88 96 89 # Find who we are. Look in the path if we contain no directory separator. 97 case $0 in 90 case $0 in #(( 98 91 *[\\/]* ) as_myself=$0 ;; 99 92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 102 95 IFS=$as_save_IFS 103 96 test -z "$as_dir" && as_dir=. 104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break105 done97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 98 done 106 99 IFS=$as_save_IFS 107 100 … … 115 108 if test ! -f "$as_myself"; then 116 109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 117 { (exit 1); exit 1; } 118 fi 119 120 # Work around bugs in pre-3.0 UWIN ksh. 121 for as_var in ENV MAIL MAILPATH 122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 110 exit 1 111 fi 112 113 # Unset variables that we do not need and which cause bugs (e.g. in 114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 115 # suppresses any "Segmentation fault" message there. '((' could 116 # trigger a bug in pdksh 5.2.14. 117 for as_var in BASH_ENV ENV MAIL MAILPATH 118 do eval test x\${$as_var+set} = xset \ 119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123 120 done 124 121 PS1='$ ' … … 132 129 export LANGUAGE 133 130 134 # Required to use basename. 131 # CDPATH. 132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 133 134 if test "x$CONFIG_SHELL" = x; then 135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 136 emulate sh 137 NULLCMD=: 138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 139 # is contrary to our usage. Disable this feature. 140 alias -g '\${1+\"\$@\"}'='\"\$@\"' 141 setopt NO_GLOB_SUBST 142 else 143 case \`(set -o) 2>/dev/null\` in #( 144 *posix*) : 145 set -o posix ;; #( 146 *) : 147 ;; 148 esac 149 fi 150 " 151 as_required="as_fn_return () { (exit \$1); } 152 as_fn_success () { as_fn_return 0; } 153 as_fn_failure () { as_fn_return 1; } 154 as_fn_ret_success () { return 0; } 155 as_fn_ret_failure () { return 1; } 156 157 exitcode=0 158 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 163 164 else 165 exitcode=1; echo positional parameters were not saved. 166 fi 167 test x\$exitcode = x0 || exit 1" 168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 172 test \$(( 1 + 1 )) = 2 || exit 1" 173 if (eval "$as_required") 2>/dev/null; then : 174 as_have_required=yes 175 else 176 as_have_required=no 177 fi 178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 179 180 else 181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 182 as_found=false 183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 184 do 185 IFS=$as_save_IFS 186 test -z "$as_dir" && as_dir=. 187 as_found=: 188 case $as_dir in #( 189 /*) 190 for as_base in sh bash ksh sh5; do 191 # Try only shells that exist, to save several forks. 192 as_shell=$as_dir/$as_base 193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 195 CONFIG_SHELL=$as_shell as_have_required=yes 196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 break 2 198 fi 199 fi 200 done;; 201 esac 202 as_found=false 203 done 204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 206 CONFIG_SHELL=$SHELL as_have_required=yes 207 fi; } 208 IFS=$as_save_IFS 209 210 211 if test "x$CONFIG_SHELL" != x; then : 212 # We cannot yet assume a decent shell, so we have to provide a 213 # neutralization value for shells without unset; and this also 214 # works around shells that cannot unset nonexistent variables. 215 BASH_ENV=/dev/null 216 ENV=/dev/null 217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 218 export CONFIG_SHELL 219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 220 fi 221 222 if test x$as_have_required = xno; then : 223 $as_echo "$0: This script requires a shell more modern than all" 224 $as_echo "$0: the shells that I found on your system." 225 if test x${ZSH_VERSION+set} = xset ; then 226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 227 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 228 else 229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 230 $0: including any error possibly output before this 231 $0: message. Then install a modern shell, or manually run 232 $0: the script under such a shell if you do have one." 233 fi 234 exit 1 235 fi 236 fi 237 fi 238 SHELL=${CONFIG_SHELL-/bin/sh} 239 export SHELL 240 # Unset more variables known to interfere with behavior of common tools. 241 CLICOLOR_FORCE= GREP_OPTIONS= 242 unset CLICOLOR_FORCE GREP_OPTIONS 243 244 ## --------------------- ## 245 ## M4sh Shell Functions. ## 246 ## --------------------- ## 247 # as_fn_unset VAR 248 # --------------- 249 # Portably unset VAR. 250 as_fn_unset () 251 { 252 { eval $1=; unset $1;} 253 } 254 as_unset=as_fn_unset 255 256 # as_fn_set_status STATUS 257 # ----------------------- 258 # Set $? to STATUS, without forking. 259 as_fn_set_status () 260 { 261 return $1 262 } # as_fn_set_status 263 264 # as_fn_exit STATUS 265 # ----------------- 266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 267 as_fn_exit () 268 { 269 set +e 270 as_fn_set_status $1 271 exit $1 272 } # as_fn_exit 273 274 # as_fn_mkdir_p 275 # ------------- 276 # Create "$as_dir" as a directory, including parents if necessary. 277 as_fn_mkdir_p () 278 { 279 280 case $as_dir in #( 281 -*) as_dir=./$as_dir;; 282 esac 283 test -d "$as_dir" || eval $as_mkdir_p || { 284 as_dirs= 285 while :; do 286 case $as_dir in #( 287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 288 *) as_qdir=$as_dir;; 289 esac 290 as_dirs="'$as_qdir' $as_dirs" 291 as_dir=`$as_dirname -- "$as_dir" || 292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 293 X"$as_dir" : 'X\(//\)[^/]' \| \ 294 X"$as_dir" : 'X\(//\)$' \| \ 295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 296 $as_echo X"$as_dir" | 297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 298 s//\1/ 299 q 300 } 301 /^X\(\/\/\)[^/].*/{ 302 s//\1/ 303 q 304 } 305 /^X\(\/\/\)$/{ 306 s//\1/ 307 q 308 } 309 /^X\(\/\).*/{ 310 s//\1/ 311 q 312 } 313 s/.*/./; q'` 314 test -d "$as_dir" && break 315 done 316 test -z "$as_dirs" || eval "mkdir $as_dirs" 317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 318 319 320 } # as_fn_mkdir_p 321 # as_fn_append VAR VALUE 322 # ---------------------- 323 # Append the text in VALUE to the end of the definition contained in VAR. Take 324 # advantage of any shell optimizations that allow amortized linear growth over 325 # repeated appends, instead of the typical quadratic growth present in naive 326 # implementations. 327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 328 eval 'as_fn_append () 329 { 330 eval $1+=\$2 331 }' 332 else 333 as_fn_append () 334 { 335 eval $1=\$$1\$2 336 } 337 fi # as_fn_append 338 339 # as_fn_arith ARG... 340 # ------------------ 341 # Perform arithmetic evaluation on the ARGs, and store the result in the 342 # global $as_val. Take advantage of shells that can avoid forks. The arguments 343 # must be portable across $(()) and expr. 344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 345 eval 'as_fn_arith () 346 { 347 as_val=$(( $* )) 348 }' 349 else 350 as_fn_arith () 351 { 352 as_val=`expr "$@" || test $? -eq 1` 353 } 354 fi # as_fn_arith 355 356 357 # as_fn_error ERROR [LINENO LOG_FD] 358 # --------------------------------- 359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 361 # script with status $?, using 1 if that was 0. 362 as_fn_error () 363 { 364 as_status=$?; test $as_status -eq 0 && as_status=1 365 if test "$3"; then 366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 368 fi 369 $as_echo "$as_me: error: $1" >&2 370 as_fn_exit $as_status 371 } # as_fn_error 372 135 373 if expr a : '\(a\)' >/dev/null 2>&1 && 136 374 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 146 384 fi 147 385 148 149 # Name of the executable. 386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 387 as_dirname=dirname 388 else 389 as_dirname=false 390 fi 391 150 392 as_me=`$as_basename -- "$0" || 151 393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 167 409 s/.*/./; q'` 168 410 169 # CDPATH. 170 $as_unset CDPATH 171 172 173 if test "x$CONFIG_SHELL" = x; then 174 if (eval ":") 2>/dev/null; then 175 as_have_required=yes 176 else 177 as_have_required=no 178 fi 179 180 if test $as_have_required = yes && (eval ": 181 (as_func_return () { 182 (exit \$1) 183 } 184 as_func_success () { 185 as_func_return 0 186 } 187 as_func_failure () { 188 as_func_return 1 189 } 190 as_func_ret_success () { 191 return 0 192 } 193 as_func_ret_failure () { 194 return 1 195 } 196 197 exitcode=0 198 if as_func_success; then 199 : 200 else 201 exitcode=1 202 echo as_func_success failed. 203 fi 204 205 if as_func_failure; then 206 exitcode=1 207 echo as_func_failure succeeded. 208 fi 209 210 if as_func_ret_success; then 211 : 212 else 213 exitcode=1 214 echo as_func_ret_success failed. 215 fi 216 217 if as_func_ret_failure; then 218 exitcode=1 219 echo as_func_ret_failure succeeded. 220 fi 221 222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 223 : 224 else 225 exitcode=1 226 echo positional parameters were not saved. 227 fi 228 229 test \$exitcode = 0) || { (exit 1); exit 1; } 230 231 ( 232 as_lineno_1=\$LINENO 233 as_lineno_2=\$LINENO 234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 236 ") 2> /dev/null; then 237 : 238 else 239 as_candidate_shells= 240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 242 do 243 IFS=$as_save_IFS 244 test -z "$as_dir" && as_dir=. 245 case $as_dir in 246 /*) 247 for as_base in sh bash ksh sh5; do 248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 249 done;; 250 esac 251 done 252 IFS=$as_save_IFS 253 254 255 for as_shell in $as_candidate_shells $SHELL; do 256 # Try only shells that exist, to save several forks. 257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 258 { ("$as_shell") 2> /dev/null <<\_ASEOF 259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 260 emulate sh 261 NULLCMD=: 262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 263 # is contrary to our usage. Disable this feature. 264 alias -g '${1+"$@"}'='"$@"' 265 setopt NO_GLOB_SUBST 266 else 267 case `(set -o) 2>/dev/null` in 268 *posix*) set -o posix ;; 269 esac 270 271 fi 272 273 274 : 275 _ASEOF 276 }; then 277 CONFIG_SHELL=$as_shell 278 as_have_required=yes 279 if { "$as_shell" 2> /dev/null <<\_ASEOF 280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 281 emulate sh 282 NULLCMD=: 283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 284 # is contrary to our usage. Disable this feature. 285 alias -g '${1+"$@"}'='"$@"' 286 setopt NO_GLOB_SUBST 287 else 288 case `(set -o) 2>/dev/null` in 289 *posix*) set -o posix ;; 290 esac 291 292 fi 293 294 295 : 296 (as_func_return () { 297 (exit $1) 298 } 299 as_func_success () { 300 as_func_return 0 301 } 302 as_func_failure () { 303 as_func_return 1 304 } 305 as_func_ret_success () { 306 return 0 307 } 308 as_func_ret_failure () { 309 return 1 310 } 311 312 exitcode=0 313 if as_func_success; then 314 : 315 else 316 exitcode=1 317 echo as_func_success failed. 318 fi 319 320 if as_func_failure; then 321 exitcode=1 322 echo as_func_failure succeeded. 323 fi 324 325 if as_func_ret_success; then 326 : 327 else 328 exitcode=1 329 echo as_func_ret_success failed. 330 fi 331 332 if as_func_ret_failure; then 333 exitcode=1 334 echo as_func_ret_failure succeeded. 335 fi 336 337 if ( set x; as_func_ret_success y && test x = "$1" ); then 338 : 339 else 340 exitcode=1 341 echo positional parameters were not saved. 342 fi 343 344 test $exitcode = 0) || { (exit 1); exit 1; } 345 346 ( 347 as_lineno_1=$LINENO 348 as_lineno_2=$LINENO 349 test "x$as_lineno_1" != "x$as_lineno_2" && 350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 351 352 _ASEOF 353 }; then 354 break 355 fi 356 357 fi 358 359 done 360 361 if test "x$CONFIG_SHELL" != x; then 362 for as_var in BASH_ENV ENV 363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 364 done 365 export CONFIG_SHELL 366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 367 fi 368 369 370 if test $as_have_required = no; then 371 echo This script requires a shell more modern than all the 372 echo shells that I found on your system. Please install a 373 echo modern shell, or manually run the script under such a 374 echo shell if you do have one. 375 { (exit 1); exit 1; } 376 fi 377 378 379 fi 380 381 fi 382 383 384 385 (eval "as_func_return () { 386 (exit \$1) 387 } 388 as_func_success () { 389 as_func_return 0 390 } 391 as_func_failure () { 392 as_func_return 1 393 } 394 as_func_ret_success () { 395 return 0 396 } 397 as_func_ret_failure () { 398 return 1 399 } 400 401 exitcode=0 402 if as_func_success; then 403 : 404 else 405 exitcode=1 406 echo as_func_success failed. 407 fi 408 409 if as_func_failure; then 410 exitcode=1 411 echo as_func_failure succeeded. 412 fi 413 414 if as_func_ret_success; then 415 : 416 else 417 exitcode=1 418 echo as_func_ret_success failed. 419 fi 420 421 if as_func_ret_failure; then 422 exitcode=1 423 echo as_func_ret_failure succeeded. 424 fi 425 426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 427 : 428 else 429 exitcode=1 430 echo positional parameters were not saved. 431 fi 432 433 test \$exitcode = 0") || { 434 echo No shell found that supports shell functions. 435 echo Please tell bug-autoconf@gnu.org about your system, 436 echo including any error possibly output before this message. 437 echo This can help us improve future autoconf versions. 438 echo Configuration will now proceed without shell functions. 439 } 440 441 442 443 as_lineno_1=$LINENO 444 as_lineno_2=$LINENO 445 test "x$as_lineno_1" != "x$as_lineno_2" && 446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 447 448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 449 # uniformly replaced by the line number. The first 'sed' inserts a 450 # line-number line after each line using $LINENO; the second 'sed' 451 # does the real work. The second script uses 'N' to pair each 452 # line-number line with the line containing $LINENO, and appends 453 # trailing '-' during substitution so that $LINENO is not a special 454 # case at line end. 455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 456 # scripts with optimization help from Paolo Bonzini. Blame Lee 457 # E. McMahon (1931-1989) for sed's syntax. :-) 411 # Avoid depending upon Character Ranges. 412 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 415 as_cr_digits='0123456789' 416 as_cr_alnum=$as_cr_Letters$as_cr_digits 417 418 419 as_lineno_1=$LINENO as_lineno_1a=$LINENO 420 as_lineno_2=$LINENO as_lineno_2a=$LINENO 421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 458 424 sed -n ' 459 425 p … … 472 438 ' >$as_me.lineno && 473 439 chmod +x "$as_me.lineno" || 474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 475 { (exit 1); exit 1; }; } 440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 476 441 477 442 # Don't try to exec as it changes $[0], causing all sort of problems … … 483 448 } 484 449 485 486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then487 as_dirname=dirname488 else489 as_dirname=false490 fi491 492 450 ECHO_C= ECHO_N= ECHO_T= 493 case `echo -n x` in 451 case `echo -n x` in #((((( 494 452 -n*) 495 case `echo 'x \c'` in453 case `echo 'xy\c'` in 496 454 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 497 *) ECHO_C='\c';; 455 xy) ECHO_C='\c';; 456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 457 ECHO_T=' ';; 498 458 esac;; 499 459 *) 500 460 ECHO_N='-n';; 501 461 esac 502 if expr a : '\(a\)' >/dev/null 2>&1 &&503 test "X`expr 00001 : '.*\(...\)'`" = X001; then504 as_expr=expr505 else506 as_expr=false507 fi508 462 509 463 rm -f conf$$ conf$$.exe conf$$.file … … 535 489 536 490 if mkdir -p . 2>/dev/null; then 537 as_mkdir_p= :491 as_mkdir_p='mkdir -p "$as_dir"' 538 492 else 539 493 test -d ./-p && rmdir ./-p … … 554 508 test -d "$1/."; 555 509 else 556 case $1 in 510 case $1 in #( 557 511 -*)set "./$1";; 558 512 esac; 559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 560 514 ???[sx]*):;;*)false;;esac;fi 561 515 '\'' sh … … 569 523 # Sed expression to map a string onto a valid variable name. 570 524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 571 572 525 573 526 … … 590 543 MFLAGS= 591 544 MAKEFLAGS= 592 SHELL=${CONFIG_SHELL-/bin/sh}593 545 594 546 # Identity of this package. … … 598 550 PACKAGE_STRING='pjproject 1.0' 599 551 PACKAGE_BUGREPORT='' 552 PACKAGE_URL='' 600 553 601 554 # Factoring default headers for most tests. … … 635 588 #endif" 636 589 637 ac_subst_vars='SHELL 590 ac_subst_vars='LTLIBOBJS 591 LIBOBJS 592 ac_main_obj 593 ac_host 594 ac_linux_poll 595 ac_cross_compile 596 libcrypto_present 597 libssl_present 598 openssl_h_present 599 ac_no_ssl 600 ac_no_ilbc_codec 601 ac_no_speex_codec 602 ac_no_g7221_codec 603 ac_no_g722_codec 604 ac_no_gsm_codec 605 ac_no_l16_codec 606 ac_no_g711_codec 607 ac_no_speex_aec 608 ac_no_large_filter 609 ac_no_small_filter 610 ac_pa_use_oss 611 ac_pa_use_alsa 612 ac_pa_cflags 613 ac_pa_path 614 ac_pjmedia_snd 615 ac_os_objs 616 EGREP 617 GREP 618 CPP 619 ac_build_mak_vars 620 ac_pjdir 621 ac_ct_CXX 622 CXXFLAGS 623 CXX 624 OBJEXT 625 EXEEXT 626 ac_ct_CC 627 CPPFLAGS 628 LDFLAGS 629 CFLAGS 630 CC 631 target_os 632 target_vendor 633 target_cpu 634 target 635 host_os 636 host_vendor 637 host_cpu 638 host 639 build_os 640 build_vendor 641 build_cpu 642 build 643 target_alias 644 host_alias 645 build_alias 646 LIBS 647 ECHO_T 648 ECHO_N 649 ECHO_C 650 DEFS 651 mandir 652 localedir 653 libdir 654 psdir 655 pdfdir 656 dvidir 657 htmldir 658 infodir 659 docdir 660 oldincludedir 661 includedir 662 localstatedir 663 sharedstatedir 664 sysconfdir 665 datadir 666 datarootdir 667 libexecdir 668 sbindir 669 bindir 670 program_transform_name 671 prefix 672 exec_prefix 673 PACKAGE_URL 674 PACKAGE_BUGREPORT 675 PACKAGE_STRING 676 PACKAGE_VERSION 677 PACKAGE_TARNAME 678 PACKAGE_NAME 638 679 PATH_SEPARATOR 639 PACKAGE_NAME 640 PACKAGE_TARNAME 641 PACKAGE_VERSION 642 PACKAGE_STRING 643 PACKAGE_BUGREPORT 644 exec_prefix 645 prefix 646 program_transform_name 647 bindir 648 sbindir 649 libexecdir 650 datarootdir 651 datadir 652 sysconfdir 653 sharedstatedir 654 localstatedir 655 includedir 656 oldincludedir 657 docdir 658 infodir 659 htmldir 660 dvidir 661 pdfdir 662 psdir 663 libdir 664 localedir 665 mandir 666 DEFS 667 ECHO_C 668 ECHO_N 669 ECHO_T 670 LIBS 671 build_alias 672 host_alias 673 target_alias 674 build 675 build_cpu 676 build_vendor 677 build_os 678 host 679 host_cpu 680 host_vendor 681 host_os 682 target 683 target_cpu 684 target_vendor 685 target_os 686 CC 687 CFLAGS 688 LDFLAGS 689 CPPFLAGS 690 ac_ct_CC 691 EXEEXT 692 OBJEXT 693 CXX 694 CXXFLAGS 695 ac_ct_CXX 696 ac_pjdir 697 ac_build_mak_vars 698 CPP 699 GREP 700 EGREP 701 ac_os_objs 702 ac_pjmedia_snd 703 ac_pa_cflags 704 ac_pa_use_alsa 705 ac_pa_use_oss 706 ac_no_small_filter 707 ac_no_large_filter 708 ac_no_speex_aec 709 ac_no_g711_codec 710 ac_no_l16_codec 711 ac_no_gsm_codec 712 ac_no_g722_codec 713 ac_no_g7221_codec 714 ac_no_speex_codec 715 ac_no_ilbc_codec 716 ac_no_ssl 717 openssl_h_present 718 libssl_present 719 libcrypto_present 720 ac_cross_compile 721 ac_linux_poll 722 ac_host 723 ac_main_obj 724 LIBOBJS 725 LTLIBOBJS' 680 SHELL' 726 681 ac_subst_files='' 727 682 ac_user_opts=' … … 730 685 enable_epoll 731 686 enable_sound 687 with_pa_path 732 688 enable_oss 733 689 enable_ext_sound … … 867 823 # Reject names that are not valid shell variable names. 868 824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 869 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 870 { (exit 1); exit 1; }; } 825 as_fn_error "invalid feature name: $ac_useropt" 871 826 ac_useropt_orig=$ac_useropt 872 827 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 894 849 # Reject names that are not valid shell variable names. 895 850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 896 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 897 { (exit 1); exit 1; }; } 851 as_fn_error "invalid feature name: $ac_useropt" 898 852 ac_useropt_orig=$ac_useropt 899 853 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1099 1053 # Reject names that are not valid shell variable names. 1100 1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1101 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1102 { (exit 1); exit 1; }; } 1055 as_fn_error "invalid package name: $ac_useropt" 1103 1056 ac_useropt_orig=$ac_useropt 1104 1057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1116 1069 # Reject names that are not valid shell variable names. 1117 1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1118 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 1119 { (exit 1); exit 1; }; } 1071 as_fn_error "invalid package name: $ac_useropt" 1120 1072 ac_useropt_orig=$ac_useropt 1121 1073 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` … … 1147 1099 x_libraries=$ac_optarg ;; 1148 1100 1149 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option 1150 Try \`$0 --help' for more information." >&2 1151 { (exit 1); exit 1; }; } 1101 -*) as_fn_error "unrecognized option: \`$ac_option' 1102 Try \`$0 --help' for more information." 1152 1103 ;; 1153 1104 … … 1155 1106 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1156 1107 # Reject names that are not valid shell variable names. 1157 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1158 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1159 { (exit 1); exit 1; }; } 1108 case $ac_envvar in #( 1109 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1110 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1111 esac 1160 1112 eval $ac_envvar=\$ac_optarg 1161 1113 export $ac_envvar ;; … … 1174 1126 if test -n "$ac_prev"; then 1175 1127 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1176 { $as_echo "$as_me: error: missing argument to $ac_option" >&2 1177 { (exit 1); exit 1; }; } 1128 as_fn_error "missing argument to $ac_option" 1178 1129 fi 1179 1130 … … 1181 1132 case $enable_option_checking in 1182 1133 no) ;; 1183 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2 1184 { (exit 1); exit 1; }; } ;; 1185 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;; 1134 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1135 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1186 1136 esac 1187 1137 fi … … 1205 1155 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1206 1156 esac 1207 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1208 { (exit 1); exit 1; }; } 1157 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1209 1158 done 1210 1159 … … 1236 1185 ac_ls_di=`ls -di .` && 1237 1186 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1238 { $as_echo "$as_me: error: Working directory cannot be determined" >&2 1239 { (exit 1); exit 1; }; } 1187 as_fn_error "working directory cannot be determined" 1240 1188 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1241 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 1242 { (exit 1); exit 1; }; } 1189 as_fn_error "pwd does not report name of working directory" 1243 1190 1244 1191 … … 1279 1226 if test ! -r "$srcdir/$ac_unique_file"; then 1280 1227 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1281 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1282 { (exit 1); exit 1; }; } 1228 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1283 1229 fi 1284 1230 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1285 1231 ac_abs_confdir=`( 1286 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 1287 { (exit 1); exit 1; }; } 1232 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1288 1233 pwd)` 1289 1234 # When building in place, set srcdir=. … … 1413 1358 1414 1359 1360 Optional Packages: 1361 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1362 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1363 --with-pa-path=DIR Specify PortAudio alternate location (e.g. /usr). 1364 When this option is set, we will not use our copy of 1365 PortAudio in third_party directory. 1366 1415 1367 Some influential environment variables: 1416 1368 CC C compiler command … … 1428 1380 it to find libraries and programs with nonstandard names/locations. 1429 1381 1382 Report bugs to the package provider. 1430 1383 _ACEOF 1431 1384 ac_status=$? … … 1491 1444 cat <<\_ACEOF 1492 1445 pjproject configure 1.0 1493 generated by GNU Autoconf 2.62 1494 1495 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1496 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 1446 generated by GNU Autoconf 2.64 1447 1448 Copyright (C) 2009 Free Software Foundation, Inc. 1497 1449 This configure script is free software; the Free Software Foundation 1498 1450 gives unlimited permission to copy, distribute and modify it. … … 1500 1452 exit 1501 1453 fi 1454 1455 ## ------------------------ ## 1456 ## Autoconf initialization. ## 1457 ## ------------------------ ## 1458 1459 # ac_fn_c_try_compile LINENO 1460 # -------------------------- 1461 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1462 ac_fn_c_try_compile () 1463 { 1464 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1465 rm -f conftest.$ac_objext 1466 if { { ac_try="$ac_compile" 1467 case "(($ac_try" in 1468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1469 *) ac_try_echo=$ac_try;; 1470 esac 1471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1472 $as_echo "$ac_try_echo"; } >&5 1473 (eval "$ac_compile") 2>conftest.err 1474 ac_status=$? 1475 if test -s conftest.err; then 1476 grep -v '^ *+' conftest.err >conftest.er1 1477 cat conftest.er1 >&5 1478 mv -f conftest.er1 conftest.err 1479 fi 1480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1481 test $ac_status = 0; } && { 1482 test -z "$ac_c_werror_flag" || 1483 test ! -s conftest.err 1484 } && test -s conftest.$ac_objext; then : 1485 ac_retval=0 1486 else 1487 $as_echo "$as_me: failed program was:" >&5 1488 sed 's/^/| /' conftest.$ac_ext >&5 1489 1490 ac_retval=1 1491 fi 1492 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1493 return $ac_retval 1494 1495 } # ac_fn_c_try_compile 1496 1497 # ac_fn_cxx_try_compile LINENO 1498 # ---------------------------- 1499 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1500 ac_fn_cxx_try_compile () 1501 { 1502 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1503 rm -f conftest.$ac_objext 1504 if { { ac_try="$ac_compile" 1505 case "(($ac_try" in 1506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1507 *) ac_try_echo=$ac_try;; 1508 esac 1509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1510 $as_echo "$ac_try_echo"; } >&5 1511 (eval "$ac_compile") 2>conftest.err 1512 ac_status=$? 1513 if test -s conftest.err; then 1514 grep -v '^ *+' conftest.err >conftest.er1 1515 cat conftest.er1 >&5 1516 mv -f conftest.er1 conftest.err 1517 fi 1518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1519 test $ac_status = 0; } && { 1520 test -z "$ac_cxx_werror_flag" || 1521 test ! -s conftest.err 1522 } && test -s conftest.$ac_objext; then : 1523 ac_retval=0 1524 else 1525 $as_echo "$as_me: failed program was:" >&5 1526 sed 's/^/| /' conftest.$ac_ext >&5 1527 1528 ac_retval=1 1529 fi 1530 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1531 return $ac_retval 1532 1533 } # ac_fn_cxx_try_compile 1534 1535 # ac_fn_c_try_link LINENO 1536 # ----------------------- 1537 # Try to link conftest.$ac_ext, and return whether this succeeded. 1538 ac_fn_c_try_link () 1539 { 1540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1541 rm -f conftest.$ac_objext conftest$ac_exeext 1542 if { { ac_try="$ac_link" 1543 case "(($ac_try" in 1544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1545 *) ac_try_echo=$ac_try;; 1546 esac 1547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1548 $as_echo "$ac_try_echo"; } >&5 1549 (eval "$ac_link") 2>conftest.err 1550 ac_status=$? 1551 if test -s conftest.err; then 1552 grep -v '^ *+' conftest.err >conftest.er1 1553 cat conftest.er1 >&5 1554 mv -f conftest.er1 conftest.err 1555 fi 1556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1557 test $ac_status = 0; } && { 1558 test -z "$ac_c_werror_flag" || 1559 test ! -s conftest.err 1560 } && test -s conftest$ac_exeext && { 1561 test "$cross_compiling" = yes || 1562 $as_test_x conftest$ac_exeext 1563 }; then : 1564 ac_retval=0 1565 else 1566 $as_echo "$as_me: failed program was:" >&5 1567 sed 's/^/| /' conftest.$ac_ext >&5 1568 1569 ac_retval=1 1570 fi 1571 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1572 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1573 # interfere with the next link command; also delete a directory that is 1574 # left behind by Apple's compiler. We do this before executing the actions. 1575 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1576 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1577 return $ac_retval 1578 1579 } # ac_fn_c_try_link 1580 1581 # ac_fn_c_try_run LINENO 1582 # ---------------------- 1583 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1584 # that executables *can* be run. 1585 ac_fn_c_try_run () 1586 { 1587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1588 if { { ac_try="$ac_link" 1589 case "(($ac_try" in 1590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1591 *) ac_try_echo=$ac_try;; 1592 esac 1593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1594 $as_echo "$ac_try_echo"; } >&5 1595 (eval "$ac_link") 2>&5 1596 ac_status=$? 1597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1598 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1599 { { case "(($ac_try" in 1600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1601 *) ac_try_echo=$ac_try;; 1602 esac 1603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1604 $as_echo "$ac_try_echo"; } >&5 1605 (eval "$ac_try") 2>&5 1606 ac_status=$? 1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1608 test $ac_status = 0; }; }; then : 1609 ac_retval=0 1610 else 1611 $as_echo "$as_me: program exited with status $ac_status" >&5 1612 $as_echo "$as_me: failed program was:" >&5 1613 sed 's/^/| /' conftest.$ac_ext >&5 1614 1615 ac_retval=$ac_status 1616 fi 1617 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1618 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1619 return $ac_retval 1620 1621 } # ac_fn_c_try_run 1622 1623 # ac_fn_c_try_cpp LINENO 1624 # ---------------------- 1625 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1626 ac_fn_c_try_cpp () 1627 { 1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1629 if { { ac_try="$ac_cpp conftest.$ac_ext" 1630 case "(($ac_try" in 1631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1632 *) ac_try_echo=$ac_try;; 1633 esac 1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1635 $as_echo "$ac_try_echo"; } >&5 1636 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1637 ac_status=$? 1638 if test -s conftest.err; then 1639 grep -v '^ *+' conftest.err >conftest.er1 1640 cat conftest.er1 >&5 1641 mv -f conftest.er1 conftest.err 1642 fi 1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1644 test $ac_status = 0; } >/dev/null && { 1645 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1646 test ! -s conftest.err 1647 }; then : 1648 ac_retval=0 1649 else 1650 $as_echo "$as_me: failed program was:" >&5 1651 sed 's/^/| /' conftest.$ac_ext >&5 1652 1653 ac_retval=1 1654 fi 1655 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1656 return $ac_retval 1657 1658 } # ac_fn_c_try_cpp 1659 1660 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1661 # ------------------------------------------------------- 1662 # Tests whether HEADER exists and can be compiled using the include files in 1663 # INCLUDES, setting the cache variable VAR accordingly. 1664 ac_fn_c_check_header_compile () 1665 { 1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1668 $as_echo_n "checking for $2... " >&6; } 1669 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1670 $as_echo_n "(cached) " >&6 1671 else 1672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1673 /* end confdefs.h. */ 1674 $4 1675 #include <$2> 1676 _ACEOF 1677 if ac_fn_c_try_compile "$LINENO"; then : 1678 eval "$3=yes" 1679 else 1680 eval "$3=no" 1681 fi 1682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1683 fi 1684 eval ac_res=\$$3 1685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1686 $as_echo "$ac_res" >&6; } 1687 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1688 1689 } # ac_fn_c_check_header_compile 1690 1691 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1692 # ------------------------------------------------------- 1693 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1694 # the include files in INCLUDES and setting the cache variable VAR 1695 # accordingly. 1696 ac_fn_c_check_header_mongrel () 1697 { 1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1699 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1701 $as_echo_n "checking for $2... " >&6; } 1702 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1703 $as_echo_n "(cached) " >&6 1704 fi 1705 eval ac_res=\$$3 1706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1707 $as_echo "$ac_res" >&6; } 1708 else 1709 # Is the header compilable? 1710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1711 $as_echo_n "checking $2 usability... " >&6; } 1712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1713 /* end confdefs.h. */ 1714 $4 1715 #include <$2> 1716 _ACEOF 1717 if ac_fn_c_try_compile "$LINENO"; then : 1718 ac_header_compiler=yes 1719 else 1720 ac_header_compiler=no 1721 fi 1722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1724 $as_echo "$ac_header_compiler" >&6; } 1725 1726 # Is the header present? 1727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1728 $as_echo_n "checking $2 presence... " >&6; } 1729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1730 /* end confdefs.h. */ 1731 #include <$2> 1732 _ACEOF 1733 if ac_fn_c_try_cpp "$LINENO"; then : 1734 ac_header_preproc=yes 1735 else 1736 ac_header_preproc=no 1737 fi 1738 rm -f conftest.err conftest.$ac_ext 1739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1740 $as_echo "$ac_header_preproc" >&6; } 1741 1742 # So? What about this header? 1743 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1744 yes:no: ) 1745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1746 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1748 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1749 ;; 1750 no:yes:* ) 1751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1752 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1754 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1756 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1758 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1760 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1761 ;; 1762 esac 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 else 1768 eval "$3=\$ac_header_compiler" 1769 fi 1770 eval ac_res=\$$3 1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1772 $as_echo "$ac_res" >&6; } 1773 fi 1774 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1775 1776 } # ac_fn_c_check_header_mongrel 1502 1777 cat >config.log <<_ACEOF 1503 1778 This file contains any messages produced by compilers while … … 1505 1780 1506 1781 It was created by pjproject $as_me 1.0, which was 1507 generated by GNU Autoconf 2.6 2. Invocation command line was1782 generated by GNU Autoconf 2.64. Invocation command line was 1508 1783 1509 1784 $ $0 $@ … … 1541 1816 IFS=$as_save_IFS 1542 1817 test -z "$as_dir" && as_dir=. 1543 $as_echo "PATH: $as_dir"1544 done1818 $as_echo "PATH: $as_dir" 1819 done 1545 1820 IFS=$as_save_IFS 1546 1821 … … 1579 1854 esac 1580 1855 case $ac_pass in 1581 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1856 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1582 1857 2) 1583 a c_configure_args1="$ac_configure_args1'$ac_arg'"1858 as_fn_append ac_configure_args1 " '$ac_arg'" 1584 1859 if test $ac_must_keep_next = true; then 1585 1860 ac_must_keep_next=false # Got value, back to normal. … … 1597 1872 esac 1598 1873 fi 1599 a c_configure_args="$ac_configure_args'$ac_arg'"1874 as_fn_append ac_configure_args " '$ac_arg'" 1600 1875 ;; 1601 1876 esac 1602 1877 done 1603 1878 done 1604 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1605 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}1879 { ac_configure_args0=; unset ac_configure_args0;} 1880 { ac_configure_args1=; unset ac_configure_args1;} 1606 1881 1607 1882 # When interrupted or exit'd, cleanup temporary files, and complete … … 1628 1903 *${as_nl}*) 1629 1904 case $ac_var in #( 1630 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: Cache variable $ac_var contains a newline." >&51631 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;1905 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1906 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1632 1907 esac 1633 1908 case $ac_var in #( 1634 1909 _ | IFS | as_nl) ;; #( 1635 1910 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1636 *) $as_unset $ac_var;;1911 *) { eval $ac_var=; unset $ac_var;} ;; 1637 1912 esac ;; 1638 1913 esac … … 1706 1981 ' 0 1707 1982 for ac_signal in 1 2 13 15; do 1708 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal1983 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1709 1984 done 1710 1985 ac_signal=0 … … 1713 1988 rm -f -r conftest* confdefs.h 1714 1989 1990 $as_echo "/* confdefs.h */" > confdefs.h 1991 1715 1992 # Predefined preprocessor variables. 1716 1993 … … 1719 1996 _ACEOF 1720 1997 1721 1722 1998 cat >>confdefs.h <<_ACEOF 1723 1999 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1724 2000 _ACEOF 1725 2001 1726 1727 2002 cat >>confdefs.h <<_ACEOF 1728 2003 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1729 2004 _ACEOF 1730 2005 1731 1732 2006 cat >>confdefs.h <<_ACEOF 1733 2007 #define PACKAGE_STRING "$PACKAGE_STRING" 1734 2008 _ACEOF 1735 2009 1736 1737 2010 cat >>confdefs.h <<_ACEOF 1738 2011 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2012 _ACEOF 2013 2014 cat >>confdefs.h <<_ACEOF 2015 #define PACKAGE_URL "$PACKAGE_URL" 1739 2016 _ACEOF 1740 2017 … … 1757 2034 test "x$ac_site_file" = xNONE && continue 1758 2035 if test -r "$ac_site_file"; then 1759 { $as_echo "$as_me:$ LINENO: loading site script $ac_site_file" >&52036 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1760 2037 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1761 2038 sed 's/^/| /' "$ac_site_file" >&5 … … 1768 2045 # files actually), so we avoid doing that. 1769 2046 if test -f "$cache_file"; then 1770 { $as_echo "$as_me:$ LINENO: loading cache $cache_file" >&52047 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1771 2048 $as_echo "$as_me: loading cache $cache_file" >&6;} 1772 2049 case $cache_file in … … 1776 2053 fi 1777 2054 else 1778 { $as_echo "$as_me:$ LINENO: creating cache $cache_file" >&52055 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1779 2056 $as_echo "$as_me: creating cache $cache_file" >&6;} 1780 2057 >$cache_file … … 1791 2068 case $ac_old_set,$ac_new_set in 1792 2069 set,) 1793 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52070 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1794 2071 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1795 2072 ac_cache_corrupted=: ;; 1796 2073 ,set) 1797 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' was not set in the previous run" >&52074 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1798 2075 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1799 2076 ac_cache_corrupted=: ;; … … 1805 2082 ac_new_val_w=`echo x $ac_new_val` 1806 2083 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1807 { $as_echo "$as_me:$ LINENO: error: \`$ac_var' has changed since the previous run:" >&52084 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1808 2085 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1809 2086 ac_cache_corrupted=: 1810 2087 else 1811 { $as_echo "$as_me:$ LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&52088 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1812 2089 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1813 2090 eval $ac_var=\$ac_old_val 1814 2091 fi 1815 { $as_echo "$as_me:$ LINENO: former value: \`$ac_old_val'" >&52092 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1816 2093 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1817 { $as_echo "$as_me:$ LINENO: current value: \`$ac_new_val'" >&52094 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1818 2095 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1819 2096 fi;; … … 1827 2104 case " $ac_configure_args " in 1828 2105 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1829 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;2106 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1830 2107 esac 1831 2108 fi 1832 2109 done 1833 2110 if $ac_cache_corrupted; then 1834 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 2111 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2113 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1835 2114 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1836 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1837 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1838 { (exit 1); exit 1; }; } 1839 fi 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 2115 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2116 fi 2117 ## -------------------- ## 2118 ## Main body of script. ## 2119 ## -------------------- ## 1864 2120 1865 2121 ac_ext=c … … 1875 2131 ac_aux_dir= 1876 2132 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1877 if test -f "$ac_dir/install-sh"; then 1878 ac_aux_dir=$ac_dir 1879 ac_install_sh="$ac_aux_dir/install-sh -c" 1880 break 1881 elif test -f "$ac_dir/install.sh"; then 1882 ac_aux_dir=$ac_dir 1883 ac_install_sh="$ac_aux_dir/install.sh -c" 1884 break 1885 elif test -f "$ac_dir/shtool"; then 1886 ac_aux_dir=$ac_dir 1887 ac_install_sh="$ac_aux_dir/shtool install -c" 1888 break 1889 fi 2133 for ac_t in install-sh install.sh shtool; do 2134 if test -f "$ac_dir/$ac_t"; then 2135 ac_aux_dir=$ac_dir 2136 ac_install_sh="$ac_aux_dir/$ac_t -c" 2137 break 2 2138 fi 2139 done 1890 2140 done 1891 2141 if test -z "$ac_aux_dir"; then 1892 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1893 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1894 { (exit 1); exit 1; }; } 2142 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1895 2143 fi 1896 2144 … … 1906 2154 # Make sure we can run config.sub. 1907 2155 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1908 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1909 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1910 { (exit 1); exit 1; }; } 1911 1912 { $as_echo "$as_me:$LINENO: checking build system type" >&5 2156 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2157 2158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 1913 2159 $as_echo_n "checking build system type... " >&6; } 1914 if test "${ac_cv_build+set}" = set; then 2160 if test "${ac_cv_build+set}" = set; then : 1915 2161 $as_echo_n "(cached) " >&6 1916 2162 else … … 1919 2165 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1920 2166 test "x$ac_build_alias" = x && 1921 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1922 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1923 { (exit 1); exit 1; }; } 2167 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 1924 2168 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1925 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1926 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1927 { (exit 1); exit 1; }; } 1928 1929 fi 1930 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2169 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2170 2171 fi 2172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 1931 2173 $as_echo "$ac_cv_build" >&6; } 1932 2174 case $ac_cv_build in 1933 2175 *-*-*) ;; 1934 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1935 $as_echo "$as_me: error: invalid value of canonical build" >&2;} 1936 { (exit 1); exit 1; }; };; 2176 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 1937 2177 esac 1938 2178 build=$ac_cv_build … … 1950 2190 1951 2191 1952 { $as_echo "$as_me:$ LINENO: checking host system type" >&52192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 1953 2193 $as_echo_n "checking host system type... " >&6; } 1954 if test "${ac_cv_host+set}" = set; then 2194 if test "${ac_cv_host+set}" = set; then : 1955 2195 $as_echo_n "(cached) " >&6 1956 2196 else … … 1959 2199 else 1960 2200 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1961 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1962 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1963 { (exit 1); exit 1; }; } 1964 fi 1965 1966 fi 1967 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2201 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2202 fi 2203 2204 fi 2205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 1968 2206 $as_echo "$ac_cv_host" >&6; } 1969 2207 case $ac_cv_host in 1970 2208 *-*-*) ;; 1971 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1972 $as_echo "$as_me: error: invalid value of canonical host" >&2;} 1973 { (exit 1); exit 1; }; };; 2209 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 1974 2210 esac 1975 2211 host=$ac_cv_host … … 1987 2223 1988 2224 1989 { $as_echo "$as_me:$ LINENO: checking target system type" >&52225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 1990 2226 $as_echo_n "checking target system type... " >&6; } 1991 if test "${ac_cv_target+set}" = set; then 2227 if test "${ac_cv_target+set}" = set; then : 1992 2228 $as_echo_n "(cached) " >&6 1993 2229 else … … 1996 2232 else 1997 2233 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1998 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1999 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 2000 { (exit 1); exit 1; }; } 2001 fi 2002 2003 fi 2004 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 2234 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2235 fi 2236 2237 fi 2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2005 2239 $as_echo "$ac_cv_target" >&6; } 2006 2240 case $ac_cv_target in 2007 2241 *-*-*) ;; 2008 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 2009 $as_echo "$as_me: error: invalid value of canonical target" >&2;} 2010 { (exit 1); exit 1; }; };; 2242 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; 2011 2243 esac 2012 2244 target=$ac_cv_target … … 2052 2284 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2053 2285 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2054 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2055 2287 $as_echo_n "checking for $ac_word... " >&6; } 2056 if test "${ac_cv_prog_CC+set}" = set; then 2288 if test "${ac_cv_prog_CC+set}" = set; then : 2057 2289 $as_echo_n "(cached) " >&6 2058 2290 else … … 2065 2297 IFS=$as_save_IFS 2066 2298 test -z "$as_dir" && as_dir=. 2067 for ac_exec_ext in '' $ac_executable_extensions; do2299 for ac_exec_ext in '' $ac_executable_extensions; do 2068 2300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2069 2301 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2070 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2071 2303 break 2 2072 2304 fi 2073 2305 done 2074 done2306 done 2075 2307 IFS=$as_save_IFS 2076 2308 … … 2079 2311 CC=$ac_cv_prog_CC 2080 2312 if test -n "$CC"; then 2081 { $as_echo "$as_me:$ LINENO: result: $CC" >&52313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2082 2314 $as_echo "$CC" >&6; } 2083 2315 else 2084 { $as_echo "$as_me:$ LINENO: result: no" >&52316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2085 2317 $as_echo "no" >&6; } 2086 2318 fi … … 2092 2324 # Extract the first word of "gcc", so it can be a program name with args. 2093 2325 set dummy gcc; ac_word=$2 2094 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2095 2327 $as_echo_n "checking for $ac_word... " >&6; } 2096 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2328 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2097 2329 $as_echo_n "(cached) " >&6 2098 2330 else … … 2105 2337 IFS=$as_save_IFS 2106 2338 test -z "$as_dir" && as_dir=. 2107 for ac_exec_ext in '' $ac_executable_extensions; do2339 for ac_exec_ext in '' $ac_executable_extensions; do 2108 2340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2109 2341 ac_cv_prog_ac_ct_CC="gcc" 2110 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2111 2343 break 2 2112 2344 fi 2113 2345 done 2114 done2346 done 2115 2347 IFS=$as_save_IFS 2116 2348 … … 2119 2351 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2120 2352 if test -n "$ac_ct_CC"; then 2121 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2122 2354 $as_echo "$ac_ct_CC" >&6; } 2123 2355 else 2124 { $as_echo "$as_me:$ LINENO: result: no" >&52356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2125 2357 $as_echo "no" >&6; } 2126 2358 fi … … 2131 2363 case $cross_compiling:$ac_tool_warned in 2132 2364 yes:) 2133 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2134 whose name does not start with the host triplet. If you think this 2135 configuration is useful to you, please write to autoconf@gnu.org." >&5 2136 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2137 whose name does not start with the host triplet. If you think this 2138 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2139 2367 ac_tool_warned=yes ;; 2140 2368 esac … … 2149 2377 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2150 2378 set dummy ${ac_tool_prefix}cc; ac_word=$2 2151 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2152 2380 $as_echo_n "checking for $ac_word... " >&6; } 2153 if test "${ac_cv_prog_CC+set}" = set; then 2381 if test "${ac_cv_prog_CC+set}" = set; then : 2154 2382 $as_echo_n "(cached) " >&6 2155 2383 else … … 2162 2390 IFS=$as_save_IFS 2163 2391 test -z "$as_dir" && as_dir=. 2164 for ac_exec_ext in '' $ac_executable_extensions; do2392 for ac_exec_ext in '' $ac_executable_extensions; do 2165 2393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2166 2394 ac_cv_prog_CC="${ac_tool_prefix}cc" 2167 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2168 2396 break 2 2169 2397 fi 2170 2398 done 2171 done2399 done 2172 2400 IFS=$as_save_IFS 2173 2401 … … 2176 2404 CC=$ac_cv_prog_CC 2177 2405 if test -n "$CC"; then 2178 { $as_echo "$as_me:$ LINENO: result: $CC" >&52406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2179 2407 $as_echo "$CC" >&6; } 2180 2408 else 2181 { $as_echo "$as_me:$ LINENO: result: no" >&52409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2182 2410 $as_echo "no" >&6; } 2183 2411 fi … … 2189 2417 # Extract the first word of "cc", so it can be a program name with args. 2190 2418 set dummy cc; ac_word=$2 2191 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2192 2420 $as_echo_n "checking for $ac_word... " >&6; } 2193 if test "${ac_cv_prog_CC+set}" = set; then 2421 if test "${ac_cv_prog_CC+set}" = set; then : 2194 2422 $as_echo_n "(cached) " >&6 2195 2423 else … … 2203 2431 IFS=$as_save_IFS 2204 2432 test -z "$as_dir" && as_dir=. 2205 for ac_exec_ext in '' $ac_executable_extensions; do2433 for ac_exec_ext in '' $ac_executable_extensions; do 2206 2434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2207 2435 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then … … 2210 2438 fi 2211 2439 ac_cv_prog_CC="cc" 2212 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2213 2441 break 2 2214 2442 fi 2215 2443 done 2216 done2444 done 2217 2445 IFS=$as_save_IFS 2218 2446 … … 2233 2461 CC=$ac_cv_prog_CC 2234 2462 if test -n "$CC"; then 2235 { $as_echo "$as_me:$ LINENO: result: $CC" >&52463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2236 2464 $as_echo "$CC" >&6; } 2237 2465 else 2238 { $as_echo "$as_me:$ LINENO: result: no" >&52466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2239 2467 $as_echo "no" >&6; } 2240 2468 fi … … 2248 2476 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2249 2477 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2250 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2251 2479 $as_echo_n "checking for $ac_word... " >&6; } 2252 if test "${ac_cv_prog_CC+set}" = set; then 2480 if test "${ac_cv_prog_CC+set}" = set; then : 2253 2481 $as_echo_n "(cached) " >&6 2254 2482 else … … 2261 2489 IFS=$as_save_IFS 2262 2490 test -z "$as_dir" && as_dir=. 2263 for ac_exec_ext in '' $ac_executable_extensions; do2491 for ac_exec_ext in '' $ac_executable_extensions; do 2264 2492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2265 2493 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2266 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2267 2495 break 2 2268 2496 fi 2269 2497 done 2270 done2498 done 2271 2499 IFS=$as_save_IFS 2272 2500 … … 2275 2503 CC=$ac_cv_prog_CC 2276 2504 if test -n "$CC"; then 2277 { $as_echo "$as_me:$ LINENO: result: $CC" >&52505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2278 2506 $as_echo "$CC" >&6; } 2279 2507 else 2280 { $as_echo "$as_me:$ LINENO: result: no" >&52508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2281 2509 $as_echo "no" >&6; } 2282 2510 fi … … 2292 2520 # Extract the first word of "$ac_prog", so it can be a program name with args. 2293 2521 set dummy $ac_prog; ac_word=$2 2294 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&52522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2295 2523 $as_echo_n "checking for $ac_word... " >&6; } 2296 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2524 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2297 2525 $as_echo_n "(cached) " >&6 2298 2526 else … … 2305 2533 IFS=$as_save_IFS 2306 2534 test -z "$as_dir" && as_dir=. 2307 for ac_exec_ext in '' $ac_executable_extensions; do2535 for ac_exec_ext in '' $ac_executable_extensions; do 2308 2536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2309 2537 ac_cv_prog_ac_ct_CC="$ac_prog" 2310 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&52538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2311 2539 break 2 2312 2540 fi 2313 2541 done 2314 done2542 done 2315 2543 IFS=$as_save_IFS 2316 2544 … … 2319 2547 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2320 2548 if test -n "$ac_ct_CC"; then 2321 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CC" >&52549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2322 2550 $as_echo "$ac_ct_CC" >&6; } 2323 2551 else 2324 { $as_echo "$as_me:$ LINENO: result: no" >&52552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2325 2553 $as_echo "no" >&6; } 2326 2554 fi … … 2335 2563 case $cross_compiling:$ac_tool_warned in 2336 2564 yes:) 2337 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2338 whose name does not start with the host triplet. If you think this 2339 configuration is useful to you, please write to autoconf@gnu.org." >&5 2340 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2341 whose name does not start with the host triplet. If you think this 2342 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2343 2567 ac_tool_warned=yes ;; 2344 2568 esac … … 2350 2574 2351 2575 2352 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2353 See \`config.log' for more details." >&5 2354 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH 2355 See \`config.log' for more details." >&2;} 2356 { (exit 1); exit 1; }; } 2576 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2578 as_fn_error "no acceptable C compiler found in \$PATH 2579 See \`config.log' for more details." "$LINENO" 5; } 2357 2580 2358 2581 # Provide some information about the compiler. 2359 $as_echo "$as_me:$ LINENO: checking for C compiler version" >&52582 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2360 2583 set X $ac_compile 2361 2584 ac_compiler=$2 2362 { (ac_try="$ac_compiler --version >&5" 2585 for ac_option in --version -v -V -qversion; do 2586 { { ac_try="$ac_compiler $ac_option >&5" 2363 2587 case "(($ac_try" in 2364 2588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2365 2589 *) ac_try_echo=$ac_try;; 2366 2590 esac 2367 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2368 $as_echo "$ac_try_echo" )>&52369 (eval "$ac_compiler --version >&5") 2>&52591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2592 $as_echo "$ac_try_echo"; } >&5 2593 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2370 2594 ac_status=$? 2371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2372 (exit $ac_status); } 2373 { (ac_try="$ac_compiler -v >&5" 2374 case "(($ac_try" in 2375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2376 *) ac_try_echo=$ac_try;; 2377 esac 2378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2379 $as_echo "$ac_try_echo") >&5 2380 (eval "$ac_compiler -v >&5") 2>&5 2381 ac_status=$? 2382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2383 (exit $ac_status); } 2384 { (ac_try="$ac_compiler -V >&5" 2385 case "(($ac_try" in 2386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2387 *) ac_try_echo=$ac_try;; 2388 esac 2389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2390 $as_echo "$ac_try_echo") >&5 2391 (eval "$ac_compiler -V >&5") 2>&5 2392 ac_status=$? 2393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2394 (exit $ac_status); } 2395 2396 cat >conftest.$ac_ext <<_ACEOF 2397 /* confdefs.h. */ 2398 _ACEOF 2399 cat confdefs.h >>conftest.$ac_ext 2400 cat >>conftest.$ac_ext <<_ACEOF 2595 if test -s conftest.err; then 2596 sed '10a\ 2597 ... rest of stderr output deleted ... 2598 10q' conftest.err >conftest.er1 2599 cat conftest.er1 >&5 2600 rm -f conftest.er1 conftest.err 2601 fi 2602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2603 test $ac_status = 0; } 2604 done 2605 2606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2401 2607 /* end confdefs.h. */ 2402 2608 #include <stdio.h> 2403 2609 int 2404 2610 main () 2405 2611 { 2612 FILE *f = fopen ("conftest.out", "w"); 2613 return ferror (f) || fclose (f) != 0; 2406 2614 2407 2615 ; … … 2410 2618 _ACEOF 2411 2619 ac_clean_files_save=$ac_clean_files 2412 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out "2620 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 2413 2621 # Try to create an executable without -o first, disregard a.out. 2414 2622 # It will help us diagnose broken compilers, and finding out an intuition 2415 2623 # of exeext. 2416 { $as_echo "$as_me:$ LINENO: checking for C compiler default output file name" >&52624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2417 2625 $as_echo_n "checking for C compiler default output file name... " >&6; } 2418 2626 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` … … 2431 2639 rm -f $ac_rmfiles 2432 2640 2433 if { (ac_try="$ac_link_default"2641 if { { ac_try="$ac_link_default" 2434 2642 case "(($ac_try" in 2435 2643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2436 2644 *) ac_try_echo=$ac_try;; 2437 2645 esac 2438 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2439 $as_echo "$ac_try_echo" )>&52646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2647 $as_echo "$ac_try_echo"; } >&5 2440 2648 (eval "$ac_link_default") 2>&5 2441 2649 ac_status=$? 2442 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52443 (exit $ac_status); }; then2650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2651 test $ac_status = 0; }; then : 2444 2652 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2445 2653 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' … … 2458 2666 break;; 2459 2667 *.* ) 2460 2668 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2461 2669 then :; else 2462 2670 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` … … 2477 2685 ac_file='' 2478 2686 fi 2479 2480 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2481 2688 $as_echo "$ac_file" >&6; } 2482 if test -z "$ac_file"; then 2689 if test -z "$ac_file"; then : 2483 2690 $as_echo "$as_me: failed program was:" >&5 2484 2691 sed 's/^/| /' conftest.$ac_ext >&5 2485 2692 2486 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables 2487 See \`config.log' for more details." >&5 2488 $as_echo "$as_me: error: C compiler cannot create executables 2489 See \`config.log' for more details." >&2;} 2490 { (exit 77); exit 77; }; } 2491 fi 2492 2693 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2695 { as_fn_set_status 77 2696 as_fn_error "C compiler cannot create executables 2697 See \`config.log' for more details." "$LINENO" 5; }; } 2698 fi 2493 2699 ac_exeext=$ac_cv_exeext 2494 2700 2495 2701 # Check that the compiler produces executables we can run. If not, either 2496 2702 # the compiler is broken, or we cross compile. 2497 { $as_echo "$as_me:$ LINENO: checking whether the C compiler works" >&52703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2498 2704 $as_echo_n "checking whether the C compiler works... " >&6; } 2499 # FIXME: These cross compiler hacks should be removed for Autoconf 3.02500 2705 # If not cross compiling, check that we can run a simple program. 2501 2706 if test "$cross_compiling" != yes; then 2502 2707 if { ac_try='./$ac_file' 2503 { (case "(($ac_try" in2708 { { case "(($ac_try" in 2504 2709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2505 2710 *) ac_try_echo=$ac_try;; 2506 2711 esac 2507 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2508 $as_echo "$ac_try_echo" )>&52712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2713 $as_echo "$ac_try_echo"; } >&5 2509 2714 (eval "$ac_try") 2>&5 2510 2715 ac_status=$? 2511 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52512 (exit $ac_status); }; }; then2716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2717 test $ac_status = 0; }; }; then 2513 2718 cross_compiling=no 2514 2719 else … … 2516 2721 cross_compiling=yes 2517 2722 else 2518 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. 2723 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2725 as_fn_error "cannot run C compiled programs. 2519 2726 If you meant to cross compile, use \`--host'. 2520 See \`config.log' for more details." >&5 2521 $as_echo "$as_me: error: cannot run C compiled programs. 2522 If you meant to cross compile, use \`--host'. 2523 See \`config.log' for more details." >&2;} 2524 { (exit 1); exit 1; }; } 2727 See \`config.log' for more details." "$LINENO" 5; } 2525 2728 fi 2526 2729 fi 2527 2730 fi 2528 { $as_echo "$as_me:$ LINENO: result: yes" >&52731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2529 2732 $as_echo "yes" >&6; } 2530 2733 2531 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2734 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out 2532 2735 ac_clean_files=$ac_clean_files_save 2533 2736 # Check that the compiler produces executables we can run. If not, either 2534 2737 # the compiler is broken, or we cross compile. 2535 { $as_echo "$as_me:$ LINENO: checking whether we are cross compiling" >&52738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2536 2739 $as_echo_n "checking whether we are cross compiling... " >&6; } 2537 { $as_echo "$as_me:$ LINENO: result: $cross_compiling" >&52740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2538 2741 $as_echo "$cross_compiling" >&6; } 2539 2742 2540 { $as_echo "$as_me:$ LINENO: checking for suffix of executables" >&52743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2541 2744 $as_echo_n "checking for suffix of executables... " >&6; } 2542 if { (ac_try="$ac_link"2745 if { { ac_try="$ac_link" 2543 2746 case "(($ac_try" in 2544 2747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2545 2748 *) ac_try_echo=$ac_try;; 2546 2749 esac 2547 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2548 $as_echo "$ac_try_echo" )>&52750 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2751 $as_echo "$ac_try_echo"; } >&5 2549 2752 (eval "$ac_link") 2>&5 2550 2753 ac_status=$? 2551 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52552 (exit $ac_status); }; then2754 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2755 test $ac_status = 0; }; then : 2553 2756 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2554 2757 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will … … 2565 2768 done 2566 2769 else 2567 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2568 See \`config.log' for more details." >&5 2569 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2570 See \`config.log' for more details." >&2;} 2571 { (exit 1); exit 1; }; } 2572 fi 2573 2770 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2772 as_fn_error "cannot compute suffix of executables: cannot compile and link 2773 See \`config.log' for more details." "$LINENO" 5; } 2774 fi 2574 2775 rm -f conftest$ac_cv_exeext 2575 { $as_echo "$as_me:$ LINENO: result: $ac_cv_exeext" >&52776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2576 2777 $as_echo "$ac_cv_exeext" >&6; } 2577 2778 … … 2579 2780 EXEEXT=$ac_cv_exeext 2580 2781 ac_exeext=$EXEEXT 2581 { $as_echo "$as_me:$ LINENO: checking for suffix of object files" >&52782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2582 2783 $as_echo_n "checking for suffix of object files... " >&6; } 2583 if test "${ac_cv_objext+set}" = set; then 2784 if test "${ac_cv_objext+set}" = set; then : 2584 2785 $as_echo_n "(cached) " >&6 2585 2786 else 2586 cat >conftest.$ac_ext <<_ACEOF 2587 /* confdefs.h. */ 2588 _ACEOF 2589 cat confdefs.h >>conftest.$ac_ext 2590 cat >>conftest.$ac_ext <<_ACEOF 2787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2591 2788 /* end confdefs.h. */ 2592 2789 … … 2600 2797 _ACEOF 2601 2798 rm -f conftest.o conftest.obj 2602 if { (ac_try="$ac_compile"2799 if { { ac_try="$ac_compile" 2603 2800 case "(($ac_try" in 2604 2801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2605 2802 *) ac_try_echo=$ac_try;; 2606 2803 esac 2607 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""2608 $as_echo "$ac_try_echo" )>&52804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2805 $as_echo "$ac_try_echo"; } >&5 2609 2806 (eval "$ac_compile") 2>&5 2610 2807 ac_status=$? 2611 $as_echo "$as_me:$ LINENO: \$? = $ac_status" >&52612 (exit $ac_status); }; then2808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2809 test $ac_status = 0; }; then : 2613 2810 for ac_file in conftest.o conftest.obj conftest.*; do 2614 2811 test -f "$ac_file" || continue; … … 2623 2820 sed 's/^/| /' conftest.$ac_ext >&5 2624 2821 2625 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2626 See \`config.log' for more details." >&5 2627 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile 2628 See \`config.log' for more details." >&2;} 2629 { (exit 1); exit 1; }; } 2630 fi 2631 2822 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2824 as_fn_error "cannot compute suffix of object files: cannot compile 2825 See \`config.log' for more details." "$LINENO" 5; } 2826 fi 2632 2827 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2633 2828 fi 2634 { $as_echo "$as_me:$ LINENO: result: $ac_cv_objext" >&52829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2635 2830 $as_echo "$ac_cv_objext" >&6; } 2636 2831 OBJEXT=$ac_cv_objext 2637 2832 ac_objext=$OBJEXT 2638 { $as_echo "$as_me:$ LINENO: checking whether we are using the GNU C compiler" >&52833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2639 2834 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2640 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2835 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2641 2836 $as_echo_n "(cached) " >&6 2642 2837 else 2643 cat >conftest.$ac_ext <<_ACEOF 2644 /* confdefs.h. */ 2645 _ACEOF 2646 cat confdefs.h >>conftest.$ac_ext 2647 cat >>conftest.$ac_ext <<_ACEOF 2838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2648 2839 /* end confdefs.h. */ 2649 2840 … … 2659 2850 } 2660 2851 _ACEOF 2661 rm -f conftest.$ac_objext 2662 if { (ac_try="$ac_compile" 2663 case "(($ac_try" in 2664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2665 *) ac_try_echo=$ac_try;; 2666 esac 2667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2668 $as_echo "$ac_try_echo") >&5 2669 (eval "$ac_compile") 2>conftest.er1 2670 ac_status=$? 2671 grep -v '^ *+' conftest.er1 >conftest.err 2672 rm -f conftest.er1 2673 cat conftest.err >&5 2674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2675 (exit $ac_status); } && { 2676 test -z "$ac_c_werror_flag" || 2677 test ! -s conftest.err 2678 } && test -s conftest.$ac_objext; then 2852 if ac_fn_c_try_compile "$LINENO"; then : 2679 2853 ac_compiler_gnu=yes 2680 2854 else 2681 $as_echo "$as_me: failed program was:" >&5 2682 sed 's/^/| /' conftest.$ac_ext >&5 2683 2684 ac_compiler_gnu=no 2685 fi 2686 2855 ac_compiler_gnu=no 2856 fi 2687 2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2688 2858 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2689 2859 2690 2860 fi 2691 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_compiler_gnu" >&52861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2692 2862 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2693 2863 if test $ac_compiler_gnu = yes; then … … 2698 2868 ac_test_CFLAGS=${CFLAGS+set} 2699 2869 ac_save_CFLAGS=$CFLAGS 2700 { $as_echo "$as_me:$ LINENO: checking whether $CC accepts -g" >&52870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2701 2871 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2702 if test "${ac_cv_prog_cc_g+set}" = set; then 2872 if test "${ac_cv_prog_cc_g+set}" = set; then : 2703 2873 $as_echo_n "(cached) " >&6 2704 2874 else … … 2707 2877 ac_cv_prog_cc_g=no 2708 2878 CFLAGS="-g" 2709 cat >conftest.$ac_ext <<_ACEOF 2710 /* confdefs.h. */ 2711 _ACEOF 2712 cat confdefs.h >>conftest.$ac_ext 2713 cat >>conftest.$ac_ext <<_ACEOF 2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2714 2880 /* end confdefs.h. */ 2715 2881 … … 2722 2888 } 2723 2889 _ACEOF 2724 rm -f conftest.$ac_objext 2725 if { (ac_try="$ac_compile" 2726 case "(($ac_try" in 2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2728 *) ac_try_echo=$ac_try;; 2729 esac 2730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2731 $as_echo "$ac_try_echo") >&5 2732 (eval "$ac_compile") 2>conftest.er1 2733 ac_status=$? 2734 grep -v '^ *+' conftest.er1 >conftest.err 2735 rm -f conftest.er1 2736 cat conftest.err >&5 2737 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2738 (exit $ac_status); } && { 2739 test -z "$ac_c_werror_flag" || 2740 test ! -s conftest.err 2741 } && test -s conftest.$ac_objext; then 2890 if ac_fn_c_try_compile "$LINENO"; then : 2742 2891 ac_cv_prog_cc_g=yes 2743 2892 else 2744 $as_echo "$as_me: failed program was:" >&5 2745 sed 's/^/| /' conftest.$ac_ext >&5 2746 2747 CFLAGS="" 2748 cat >conftest.$ac_ext <<_ACEOF 2749 /* confdefs.h. */ 2750 _ACEOF 2751 cat confdefs.h >>conftest.$ac_ext 2752 cat >>conftest.$ac_ext <<_ACEOF 2893 CFLAGS="" 2894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2753 2895 /* end confdefs.h. */ 2754 2896 … … 2761 2903 } 2762 2904 _ACEOF 2763 rm -f conftest.$ac_objext 2764 if { (ac_try="$ac_compile" 2765 case "(($ac_try" in 2766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2767 *) ac_try_echo=$ac_try;; 2768 esac 2769 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2770 $as_echo "$ac_try_echo") >&5 2771 (eval "$ac_compile") 2>conftest.er1 2772 ac_status=$? 2773 grep -v '^ *+' conftest.er1 >conftest.err 2774 rm -f conftest.er1 2775 cat conftest.err >&5 2776 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2777 (exit $ac_status); } && { 2778 test -z "$ac_c_werror_flag" || 2779 test ! -s conftest.err 2780 } && test -s conftest.$ac_objext; then 2781 : 2782 else 2783 $as_echo "$as_me: failed program was:" >&5 2784 sed 's/^/| /' conftest.$ac_ext >&5 2785 2786 ac_c_werror_flag=$ac_save_c_werror_flag 2905 if ac_fn_c_try_compile "$LINENO"; then : 2906 2907 else 2908 ac_c_werror_flag=$ac_save_c_werror_flag 2787 2909 CFLAGS="-g" 2788 cat >conftest.$ac_ext <<_ACEOF 2789 /* confdefs.h. */ 2790 _ACEOF 2791 cat confdefs.h >>conftest.$ac_ext 2792 cat >>conftest.$ac_ext <<_ACEOF 2910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2793 2911 /* end confdefs.h. */ 2794 2912 … … 2801 2919 } 2802 2920 _ACEOF 2803 rm -f conftest.$ac_objext 2804 if { (ac_try="$ac_compile" 2805 case "(($ac_try" in 2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2807 *) ac_try_echo=$ac_try;; 2808 esac 2809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2810 $as_echo "$ac_try_echo") >&5 2811 (eval "$ac_compile") 2>conftest.er1 2812 ac_status=$? 2813 grep -v '^ *+' conftest.er1 >conftest.err 2814 rm -f conftest.er1 2815 cat conftest.err >&5 2816 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2817 (exit $ac_status); } && { 2818 test -z "$ac_c_werror_flag" || 2819 test ! -s conftest.err 2820 } && test -s conftest.$ac_objext; then 2921 if ac_fn_c_try_compile "$LINENO"; then : 2821 2922 ac_cv_prog_cc_g=yes 2822 else 2823 $as_echo "$as_me: failed program was:" >&5 2824 sed 's/^/| /' conftest.$ac_ext >&5 2825 2826 2827 fi 2828 2923 fi 2829 2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2830 2925 fi 2831 2832 2926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2833 2927 fi 2834 2835 2928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2836 2929 ac_c_werror_flag=$ac_save_c_werror_flag 2837 2930 fi 2838 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_g" >&52931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2839 2932 $as_echo "$ac_cv_prog_cc_g" >&6; } 2840 2933 if test "$ac_test_CFLAGS" = set; then … … 2853 2946 fi 2854 2947 fi 2855 { $as_echo "$as_me:$ LINENO: checking for $CC option to accept ISO C89" >&52948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2856 2949 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2857 if test "${ac_cv_prog_cc_c89+set}" = set; then 2950 if test "${ac_cv_prog_cc_c89+set}" = set; then : 2858 2951 $as_echo_n "(cached) " >&6 2859 2952 else 2860 2953 ac_cv_prog_cc_c89=no 2861 2954 ac_save_CC=$CC 2862 cat >conftest.$ac_ext <<_ACEOF 2863 /* confdefs.h. */ 2864 _ACEOF 2865 cat confdefs.h >>conftest.$ac_ext 2866 cat >>conftest.$ac_ext <<_ACEOF 2955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2867 2956 /* end confdefs.h. */ 2868 2957 #include <stdarg.h> … … 2921 3010 do 2922 3011 CC="$ac_save_CC $ac_arg" 2923 rm -f conftest.$ac_objext 2924 if { (ac_try="$ac_compile" 2925 case "(($ac_try" in 2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2927 *) ac_try_echo=$ac_try;; 2928 esac 2929 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 2930 $as_echo "$ac_try_echo") >&5 2931 (eval "$ac_compile") 2>conftest.er1 2932 ac_status=$? 2933 grep -v '^ *+' conftest.er1 >conftest.err 2934 rm -f conftest.er1 2935 cat conftest.err >&5 2936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 2937 (exit $ac_status); } && { 2938 test -z "$ac_c_werror_flag" || 2939 test ! -s conftest.err 2940 } && test -s conftest.$ac_objext; then 3012 if ac_fn_c_try_compile "$LINENO"; then : 2941 3013 ac_cv_prog_cc_c89=$ac_arg 2942 else 2943 $as_echo "$as_me: failed program was:" >&5 2944 sed 's/^/| /' conftest.$ac_ext >&5 2945 2946 2947 fi 2948 3014 fi 2949 3015 rm -f core conftest.err conftest.$ac_objext 2950 3016 test "x$ac_cv_prog_cc_c89" != "xno" && break … … 2957 3023 case "x$ac_cv_prog_cc_c89" in 2958 3024 x) 2959 { $as_echo "$as_me:$ LINENO: result: none needed" >&53025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2960 3026 $as_echo "none needed" >&6; } ;; 2961 3027 xno) 2962 { $as_echo "$as_me:$ LINENO: result: unsupported" >&53028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2963 3029 $as_echo "unsupported" >&6; } ;; 2964 3030 *) 2965 3031 CC="$CC $ac_cv_prog_cc_c89" 2966 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cc_c89" >&53032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2967 3033 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2968 3034 esac 2969 3035 if test "x$ac_cv_prog_cc_c89" != xno; then : 3036 3037 fi 2970 3038 2971 3039 ac_ext=c … … 2989 3057 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2990 3058 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2991 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2992 3060 $as_echo_n "checking for $ac_word... " >&6; } 2993 if test "${ac_cv_prog_CXX+set}" = set; then 3061 if test "${ac_cv_prog_CXX+set}" = set; then : 2994 3062 $as_echo_n "(cached) " >&6 2995 3063 else … … 3002 3070 IFS=$as_save_IFS 3003 3071 test -z "$as_dir" && as_dir=. 3004 for ac_exec_ext in '' $ac_executable_extensions; do3072 for ac_exec_ext in '' $ac_executable_extensions; do 3005 3073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3006 3074 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3007 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3008 3076 break 2 3009 3077 fi 3010 3078 done 3011 done3079 done 3012 3080 IFS=$as_save_IFS 3013 3081 … … 3016 3084 CXX=$ac_cv_prog_CXX 3017 3085 if test -n "$CXX"; then 3018 { $as_echo "$as_me:$ LINENO: result: $CXX" >&53086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3019 3087 $as_echo "$CXX" >&6; } 3020 3088 else 3021 { $as_echo "$as_me:$ LINENO: result: no" >&53089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3022 3090 $as_echo "no" >&6; } 3023 3091 fi … … 3033 3101 # Extract the first word of "$ac_prog", so it can be a program name with args. 3034 3102 set dummy $ac_prog; ac_word=$2 3035 { $as_echo "$as_me:$ LINENO: checking for $ac_word" >&53103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3036 3104 $as_echo_n "checking for $ac_word... " >&6; } 3037 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 3105 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3038 3106 $as_echo_n "(cached) " >&6 3039 3107 else … … 3046 3114 IFS=$as_save_IFS 3047 3115 test -z "$as_dir" && as_dir=. 3048 for ac_exec_ext in '' $ac_executable_extensions; do3116 for ac_exec_ext in '' $ac_executable_extensions; do 3049 3117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3050 3118 ac_cv_prog_ac_ct_CXX="$ac_prog" 3051 $as_echo "$as_me:$ LINENO: found $as_dir/$ac_word$ac_exec_ext" >&53119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3052 3120 break 2 3053 3121 fi 3054 3122 done 3055 done3123 done 3056 3124 IFS=$as_save_IFS 3057 3125 … … 3060 3128 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3061 3129 if test -n "$ac_ct_CXX"; then 3062 { $as_echo "$as_me:$ LINENO: result: $ac_ct_CXX" >&53130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3063 3131 $as_echo "$ac_ct_CXX" >&6; } 3064 3132 else 3065 { $as_echo "$as_me:$ LINENO: result: no" >&53133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3066 3134 $as_echo "no" >&6; } 3067 3135 fi … … 3076 3144 case $cross_compiling:$ac_tool_warned in 3077 3145 yes:) 3078 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3079 whose name does not start with the host triplet. If you think this 3080 configuration is useful to you, please write to autoconf@gnu.org." >&5 3081 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3082 whose name does not start with the host triplet. If you think this 3083 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3084 3148 ac_tool_warned=yes ;; 3085 3149 esac … … 3091 3155 fi 3092 3156 # Provide some information about the compiler. 3093 $as_echo "$as_me:$ LINENO: checking for C++ compiler version" >&53157 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3094 3158 set X $ac_compile 3095 3159 ac_compiler=$2 3096 { (ac_try="$ac_compiler --version >&5" 3160 for ac_option in --version -v -V -qversion; do 3161 { { ac_try="$ac_compiler $ac_option >&5" 3097 3162 case "(($ac_try" in 3098 3163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3099 3164 *) ac_try_echo=$ac_try;; 3100 3165 esac 3101 eval ac_try_echo="\"\$as_me:$ LINENO: $ac_try_echo\""3102 $as_echo "$ac_try_echo" )>&53103 (eval "$ac_compiler --version >&5") 2>&53166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3167 $as_echo "$ac_try_echo"; } >&5 3168 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3104 3169 ac_status=$? 3105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3106 (exit $ac_status); } 3107 { (ac_try="$ac_compiler -v >&5" 3108 case "(($ac_try" in 3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3110 *) ac_try_echo=$ac_try;; 3111 esac 3112 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3113 $as_echo "$ac_try_echo") >&5 3114 (eval "$ac_compiler -v >&5") 2>&5 3115 ac_status=$? 3116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3117 (exit $ac_status); } 3118 { (ac_try="$ac_compiler -V >&5" 3119 case "(($ac_try" in 3120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3121 *) ac_try_echo=$ac_try;; 3122 esac 3123 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3124 $as_echo "$ac_try_echo") >&5 3125 (eval "$ac_compiler -V >&5") 2>&5 3126 ac_status=$? 3127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3128 (exit $ac_status); } 3129 3130 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3170 if test -s conftest.err; then 3171 sed '10a\ 3172 ... rest of stderr output deleted ... 3173 10q' conftest.err >conftest.er1 3174 cat conftest.er1 >&5 3175 rm -f conftest.er1 conftest.err 3176 fi 3177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3178 test $ac_status = 0; } 3179 done 3180 3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3131 3182 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3132 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3183 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3133 3184 $as_echo_n "(cached) " >&6 3134 3185 else 3135 cat >conftest.$ac_ext <<_ACEOF 3136 /* confdefs.h. */ 3137 _ACEOF 3138 cat confdefs.h >>conftest.$ac_ext 3139 cat >>conftest.$ac_ext <<_ACEOF 3186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3140 3187 /* end confdefs.h. */ 3141 3188 … … 3151 3198 } 3152 3199 _ACEOF 3153 rm -f conftest.$ac_objext 3154 if { (ac_try="$ac_compile" 3155 case "(($ac_try" in 3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3157 *) ac_try_echo=$ac_try;; 3158 esac 3159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3160 $as_echo "$ac_try_echo") >&5 3161 (eval "$ac_compile") 2>conftest.er1 3162 ac_status=$? 3163 grep -v '^ *+' conftest.er1 >conftest.err 3164 rm -f conftest.er1 3165 cat conftest.err >&5 3166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3167 (exit $ac_status); } && { 3168 test -z "$ac_cxx_werror_flag" || 3169 test ! -s conftest.err 3170 } && test -s conftest.$ac_objext; then 3200 if ac_fn_cxx_try_compile "$LINENO"; then : 3171 3201 ac_compiler_gnu=yes 3172 3202 else 3173 $as_echo "$as_me: failed program was:" >&5 3174 sed 's/^/| /' conftest.$ac_ext >&5 3175 3176 ac_compiler_gnu=no 3177 fi 3178 3203 ac_compiler_gnu=no 3204 fi 3179 3205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3180 3206 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3181 3207 3182 3208 fi 3183 { $as_echo "$as_me:$ LINENO: result: $ac_cv_cxx_compiler_gnu" >&53209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3184 3210 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3185 3211 if test $ac_compiler_gnu = yes; then … … 3190 3216 ac_test_CXXFLAGS=${CXXFLAGS+set} 3191 3217 ac_save_CXXFLAGS=$CXXFLAGS 3192 { $as_echo "$as_me:$ LINENO: checking whether $CXX accepts -g" >&53218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3193 3219 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3194 if test "${ac_cv_prog_cxx_g+set}" = set; then 3220 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3195 3221 $as_echo_n "(cached) " >&6 3196 3222 else … … 3199 3225 ac_cv_prog_cxx_g=no 3200 3226 CXXFLAGS="-g" 3201 cat >conftest.$ac_ext <<_ACEOF 3202 /* confdefs.h. */ 3203 _ACEOF 3204 cat confdefs.h >>conftest.$ac_ext 3205 cat >>conftest.$ac_ext <<_ACEOF 3227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3206 3228 /* end confdefs.h. */ 3207 3229 … … 3214 3236 } 3215 3237 _ACEOF 3216 rm -f conftest.$ac_objext 3217 if { (ac_try="$ac_compile" 3218 case "(($ac_try" in 3219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3220 *) ac_try_echo=$ac_try;; 3221 esac 3222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3223 $as_echo "$ac_try_echo") >&5 3224 (eval "$ac_compile") 2>conftest.er1 3225 ac_status=$? 3226 grep -v '^ *+' conftest.er1 >conftest.err 3227 rm -f conftest.er1 3228 cat conftest.err >&5 3229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3230 (exit $ac_status); } && { 3231 test -z "$ac_cxx_werror_flag" || 3232 test ! -s conftest.err 3233 } && test -s conftest.$ac_objext; then 3238 if ac_fn_cxx_try_compile "$LINENO"; then : 3234 3239 ac_cv_prog_cxx_g=yes 3235 3240 else 3236 $as_echo "$as_me: failed program was:" >&5 3237 sed 's/^/| /' conftest.$ac_ext >&5 3238 3239 CXXFLAGS="" 3240 cat >conftest.$ac_ext <<_ACEOF 3241 /* confdefs.h. */ 3242 _ACEOF 3243 cat confdefs.h >>conftest.$ac_ext 3244 cat >>conftest.$ac_ext <<_ACEOF 3241 CXXFLAGS="" 3242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3245 3243 /* end confdefs.h. */ 3246 3244 … … 3253 3251 } 3254 3252 _ACEOF 3255 rm -f conftest.$ac_objext 3256 if { (ac_try="$ac_compile" 3257 case "(($ac_try" in 3258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3259 *) ac_try_echo=$ac_try;; 3260 esac 3261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3262 $as_echo "$ac_try_echo") >&5 3263 (eval "$ac_compile") 2>conftest.er1 3264 ac_status=$? 3265 grep -v '^ *+' conftest.er1 >conftest.err 3266 rm -f conftest.er1 3267 cat conftest.err >&5 3268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3269 (exit $ac_status); } && { 3270 test -z "$ac_cxx_werror_flag" || 3271 test ! -s conftest.err 3272 } && test -s conftest.$ac_objext; then 3273 : 3274 else 3275 $as_echo "$as_me: failed program was:" >&5 3276 sed 's/^/| /' conftest.$ac_ext >&5 3277 3278 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3253 if ac_fn_cxx_try_compile "$LINENO"; then : 3254 3255 else 3256 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3279 3257 CXXFLAGS="-g" 3280 cat >conftest.$ac_ext <<_ACEOF 3281 /* confdefs.h. */ 3282 _ACEOF 3283 cat confdefs.h >>conftest.$ac_ext 3284 cat >>conftest.$ac_ext <<_ACEOF 3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3285 3259 /* end confdefs.h. */ 3286 3260 … … 3293 3267 } 3294 3268 _ACEOF 3295 rm -f conftest.$ac_objext 3296 if { (ac_try="$ac_compile" 3297 case "(($ac_try" in 3298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3299 *) ac_try_echo=$ac_try;; 3300 esac 3301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3302 $as_echo "$ac_try_echo") >&5 3303 (eval "$ac_compile") 2>conftest.er1 3304 ac_status=$? 3305 grep -v '^ *+' conftest.er1 >conftest.err 3306 rm -f conftest.er1 3307 cat conftest.err >&5 3308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3309 (exit $ac_status); } && { 3310 test -z "$ac_cxx_werror_flag" || 3311 test ! -s conftest.err 3312 } && test -s conftest.$ac_objext; then 3269 if ac_fn_cxx_try_compile "$LINENO"; then : 3313 3270 ac_cv_prog_cxx_g=yes 3314 else 3315 $as_echo "$as_me: failed program was:" >&5 3316 sed 's/^/| /' conftest.$ac_ext >&5 3317 3318 3319 fi 3320 3271 fi 3321 3272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3322 3273 fi 3323 3324 3274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3325 3275 fi 3326 3327 3276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3328 3277 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3329 3278 fi 3330 { $as_echo "$as_me:$ LINENO: result: $ac_cv_prog_cxx_g" >&53279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3331 3280 $as_echo "$ac_cv_prog_cxx_g" >&6; } 3332 3281 if test "$ac_test_CXXFLAGS" = set; then … … 3370 3319 3371 3320 3372 3373 { $as_echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 3374 3322 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } 3375 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 3323 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then : 3376 3324 $as_echo_n "(cached) " >&6 3377 3325 else 3378 3326 ac_check_lib_save_LIBS=$LIBS 3379 3327 LIBS="-lpthread $LIBS" 3380 cat >conftest.$ac_ext <<_ACEOF 3381 /* confdefs.h. */ 3382 _ACEOF 3383 cat confdefs.h >>conftest.$ac_ext 3384 cat >>conftest.$ac_ext <<_ACEOF 3328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3385 3329 /* end confdefs.h. */ 3386 3330 … … 3400 3344 } 3401 3345 _ACEOF 3402 rm -f conftest.$ac_objext conftest$ac_exeext 3403 if { (ac_try="$ac_link" 3404 case "(($ac_try" in 3405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3406 *) ac_try_echo=$ac_try;; 3407 esac 3408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3409 $as_echo "$ac_try_echo") >&5 3410 (eval "$ac_link") 2>conftest.er1 3411 ac_status=$? 3412 grep -v '^ *+' conftest.er1 >conftest.err 3413 rm -f conftest.er1 3414 cat conftest.err >&5 3415 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3416 (exit $ac_status); } && { 3417 test -z "$ac_c_werror_flag" || 3418 test ! -s conftest.err 3419 } && test -s conftest$ac_exeext && { 3420 test "$cross_compiling" = yes || 3421 $as_test_x conftest$ac_exeext 3422 }; then 3346 if ac_fn_c_try_link "$LINENO"; then : 3423 3347 ac_cv_lib_pthread_pthread_create=yes 3424 3348 else 3425 $as_echo "$as_me: failed program was:" >&5 3426 sed 's/^/| /' conftest.$ac_ext >&5 3427 3428 ac_cv_lib_pthread_pthread_create=no 3429 fi 3430 3431 rm -rf conftest.dSYM 3432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3433 conftest$ac_exeext conftest.$ac_ext 3349 ac_cv_lib_pthread_pthread_create=no 3350 fi 3351 rm -f core conftest.err conftest.$ac_objext \ 3352 conftest$ac_exeext conftest.$ac_ext 3434 3353 LIBS=$ac_check_lib_save_LIBS 3435 3354 fi 3436 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_pthread_pthread_create" >&53355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 3437 3356 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 3438 if test $ac_cv_lib_pthread_pthread_create = yes; then3357 if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then : 3439 3358 cat >>confdefs.h <<_ACEOF 3440 3359 #define HAVE_LIBPTHREAD 1 … … 3445 3364 fi 3446 3365 3447 3448 { $as_echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwsock32" >&5 3449 3367 $as_echo_n "checking for puts in -lwsock32... " >&6; } 3450 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 3368 if test "${ac_cv_lib_wsock32_puts+set}" = set; then : 3451 3369 $as_echo_n "(cached) " >&6 3452 3370 else 3453 3371 ac_check_lib_save_LIBS=$LIBS 3454 3372 LIBS="-lwsock32 $LIBS" 3455 cat >conftest.$ac_ext <<_ACEOF 3456 /* confdefs.h. */ 3457 _ACEOF 3458 cat confdefs.h >>conftest.$ac_ext 3459 cat >>conftest.$ac_ext <<_ACEOF 3373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3460 3374 /* end confdefs.h. */ 3461 3375 … … 3475 3389 } 3476 3390 _ACEOF 3477 rm -f conftest.$ac_objext conftest$ac_exeext 3478 if { (ac_try="$ac_link" 3479 case "(($ac_try" in 3480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3481 *) ac_try_echo=$ac_try;; 3482 esac 3483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3484 $as_echo "$ac_try_echo") >&5 3485 (eval "$ac_link") 2>conftest.er1 3486 ac_status=$? 3487 grep -v '^ *+' conftest.er1 >conftest.err 3488 rm -f conftest.er1 3489 cat conftest.err >&5 3490 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3491 (exit $ac_status); } && { 3492 test -z "$ac_c_werror_flag" || 3493 test ! -s conftest.err 3494 } && test -s conftest$ac_exeext && { 3495 test "$cross_compiling" = yes || 3496 $as_test_x conftest$ac_exeext 3497 }; then 3391 if ac_fn_c_try_link "$LINENO"; then : 3498 3392 ac_cv_lib_wsock32_puts=yes 3499 3393 else 3500 $as_echo "$as_me: failed program was:" >&5 3501 sed 's/^/| /' conftest.$ac_ext >&5 3502 3503 ac_cv_lib_wsock32_puts=no 3504 fi 3505 3506 rm -rf conftest.dSYM 3507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3508 conftest$ac_exeext conftest.$ac_ext 3394 ac_cv_lib_wsock32_puts=no 3395 fi 3396 rm -f core conftest.err conftest.$ac_objext \ 3397 conftest$ac_exeext conftest.$ac_ext 3509 3398 LIBS=$ac_check_lib_save_LIBS 3510 3399 fi 3511 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_wsock32_puts" >&53400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wsock32_puts" >&5 3512 3401 $as_echo "$ac_cv_lib_wsock32_puts" >&6; } 3513 if test $ac_cv_lib_wsock32_puts = yes; then3402 if test "x$ac_cv_lib_wsock32_puts" = x""yes; then : 3514 3403 cat >>confdefs.h <<_ACEOF 3515 3404 #define HAVE_LIBWSOCK32 1 … … 3520 3409 fi 3521 3410 3522 3523 { $as_echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lws2_32" >&5 3524 3412 $as_echo_n "checking for puts in -lws2_32... " >&6; } 3525 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 3413 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then : 3526 3414 $as_echo_n "(cached) " >&6 3527 3415 else 3528 3416 ac_check_lib_save_LIBS=$LIBS 3529 3417 LIBS="-lws2_32 $LIBS" 3530 cat >conftest.$ac_ext <<_ACEOF 3531 /* confdefs.h. */ 3532 _ACEOF 3533 cat confdefs.h >>conftest.$ac_ext 3534 cat >>conftest.$ac_ext <<_ACEOF 3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3535 3419 /* end confdefs.h. */ 3536 3420 … … 3550 3434 } 3551 3435 _ACEOF 3552 rm -f conftest.$ac_objext conftest$ac_exeext 3553 if { (ac_try="$ac_link" 3554 case "(($ac_try" in 3555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3556 *) ac_try_echo=$ac_try;; 3557 esac 3558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3559 $as_echo "$ac_try_echo") >&5 3560 (eval "$ac_link") 2>conftest.er1 3561 ac_status=$? 3562 grep -v '^ *+' conftest.er1 >conftest.err 3563 rm -f conftest.er1 3564 cat conftest.err >&5 3565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3566 (exit $ac_status); } && { 3567 test -z "$ac_c_werror_flag" || 3568 test ! -s conftest.err 3569 } && test -s conftest$ac_exeext && { 3570 test "$cross_compiling" = yes || 3571 $as_test_x conftest$ac_exeext 3572 }; then 3436 if ac_fn_c_try_link "$LINENO"; then : 3573 3437 ac_cv_lib_ws2_32_puts=yes 3574 3438 else 3575 $as_echo "$as_me: failed program was:" >&5 3576 sed 's/^/| /' conftest.$ac_ext >&5 3577 3578 ac_cv_lib_ws2_32_puts=no 3579 fi 3580 3581 rm -rf conftest.dSYM 3582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3583 conftest$ac_exeext conftest.$ac_ext 3439 ac_cv_lib_ws2_32_puts=no 3440 fi 3441 rm -f core conftest.err conftest.$ac_objext \ 3442 conftest$ac_exeext conftest.$ac_ext 3584 3443 LIBS=$ac_check_lib_save_LIBS 3585 3444 fi 3586 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_ws2_32_puts" >&53445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_puts" >&5 3587 3446 $as_echo "$ac_cv_lib_ws2_32_puts" >&6; } 3588 if test $ac_cv_lib_ws2_32_puts = yes; then3447 if test "x$ac_cv_lib_ws2_32_puts" = x""yes; then : 3589 3448 cat >>confdefs.h <<_ACEOF 3590 3449 #define HAVE_LIBWS2_32 1 … … 3595 3454 fi 3596 3455 3597 3598 { $as_echo "$as_me:$LINENO: checking for puts in -lole32" >&5 3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lole32" >&5 3599 3457 $as_echo_n "checking for puts in -lole32... " >&6; } 3600 if test "${ac_cv_lib_ole32_puts+set}" = set; then 3458 if test "${ac_cv_lib_ole32_puts+set}" = set; then : 3601 3459 $as_echo_n "(cached) " >&6 3602 3460 else 3603 3461 ac_check_lib_save_LIBS=$LIBS 3604 3462 LIBS="-lole32 $LIBS" 3605 cat >conftest.$ac_ext <<_ACEOF 3606 /* confdefs.h. */ 3607 _ACEOF 3608 cat confdefs.h >>conftest.$ac_ext 3609 cat >>conftest.$ac_ext <<_ACEOF 3463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3610 3464 /* end confdefs.h. */ 3611 3465 … … 3625 3479 } 3626 3480 _ACEOF 3627 rm -f conftest.$ac_objext conftest$ac_exeext 3628 if { (ac_try="$ac_link" 3629 case "(($ac_try" in 3630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3631 *) ac_try_echo=$ac_try;; 3632 esac 3633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3634 $as_echo "$ac_try_echo") >&5 3635 (eval "$ac_link") 2>conftest.er1 3636 ac_status=$? 3637 grep -v '^ *+' conftest.er1 >conftest.err 3638 rm -f conftest.er1 3639 cat conftest.err >&5 3640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3641 (exit $ac_status); } && { 3642 test -z "$ac_c_werror_flag" || 3643 test ! -s conftest.err 3644 } && test -s conftest$ac_exeext && { 3645 test "$cross_compiling" = yes || 3646 $as_test_x conftest$ac_exeext 3647 }; then 3481 if ac_fn_c_try_link "$LINENO"; then : 3648 3482 ac_cv_lib_ole32_puts=yes 3649 3483 else 3650 $as_echo "$as_me: failed program was:" >&5 3651 sed 's/^/| /' conftest.$ac_ext >&5 3652 3653 ac_cv_lib_ole32_puts=no 3654 fi 3655 3656 rm -rf conftest.dSYM 3657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3658 conftest$ac_exeext conftest.$ac_ext 3484 ac_cv_lib_ole32_puts=no 3485 fi 3486 rm -f core conftest.err conftest.$ac_objext \ 3487 conftest$ac_exeext conftest.$ac_ext 3659 3488 LIBS=$ac_check_lib_save_LIBS 3660 3489 fi 3661 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_ole32_puts" >&53490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ole32_puts" >&5 3662 3491 $as_echo "$ac_cv_lib_ole32_puts" >&6; } 3663 if test $ac_cv_lib_ole32_puts = yes; then3492 if test "x$ac_cv_lib_ole32_puts" = x""yes; then : 3664 3493 cat >>confdefs.h <<_ACEOF 3665 3494 #define HAVE_LIBOLE32 1 … … 3670 3499 fi 3671 3500 3672 3673 { $as_echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lwinmm" >&5 3674 3502 $as_echo_n "checking for puts in -lwinmm... " >&6; } 3675 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3503 if test "${ac_cv_lib_winmm_puts+set}" = set; then : 3676 3504 $as_echo_n "(cached) " >&6 3677 3505 else 3678 3506 ac_check_lib_save_LIBS=$LIBS 3679 3507 LIBS="-lwinmm $LIBS" 3680 cat >conftest.$ac_ext <<_ACEOF 3681 /* confdefs.h. */ 3682 _ACEOF 3683 cat confdefs.h >>conftest.$ac_ext 3684 cat >>conftest.$ac_ext <<_ACEOF 3508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3685 3509 /* end confdefs.h. */ 3686 3510 … … 3700 3524 } 3701 3525 _ACEOF 3702 rm -f conftest.$ac_objext conftest$ac_exeext 3703 if { (ac_try="$ac_link" 3704 case "(($ac_try" in 3705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3706 *) ac_try_echo=$ac_try;; 3707 esac 3708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3709 $as_echo "$ac_try_echo") >&5 3710 (eval "$ac_link") 2>conftest.er1 3711 ac_status=$? 3712 grep -v '^ *+' conftest.er1 >conftest.err 3713 rm -f conftest.er1 3714 cat conftest.err >&5 3715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3716 (exit $ac_status); } && { 3717 test -z "$ac_c_werror_flag" || 3718 test ! -s conftest.err 3719 } && test -s conftest$ac_exeext && { 3720 test "$cross_compiling" = yes || 3721 $as_test_x conftest$ac_exeext 3722 }; then 3526 if ac_fn_c_try_link "$LINENO"; then : 3723 3527 ac_cv_lib_winmm_puts=yes 3724 3528 else 3725 $as_echo "$as_me: failed program was:" >&5 3726 sed 's/^/| /' conftest.$ac_ext >&5 3727 3728 ac_cv_lib_winmm_puts=no 3729 fi 3730 3731 rm -rf conftest.dSYM 3732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3733 conftest$ac_exeext conftest.$ac_ext 3529 ac_cv_lib_winmm_puts=no 3530 fi 3531 rm -f core conftest.err conftest.$ac_objext \ 3532 conftest$ac_exeext conftest.$ac_ext 3734 3533 LIBS=$ac_check_lib_save_LIBS 3735 3534 fi 3736 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_winmm_puts" >&53535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_winmm_puts" >&5 3737 3536 $as_echo "$ac_cv_lib_winmm_puts" >&6; } 3738 if test $ac_cv_lib_winmm_puts = yes; then3537 if test "x$ac_cv_lib_winmm_puts" = x""yes; then : 3739 3538 cat >>confdefs.h <<_ACEOF 3740 3539 #define HAVE_LIBWINMM 1 … … 3745 3544 fi 3746 3545 3747 3748 { $as_echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lsocket" >&5 3749 3547 $as_echo_n "checking for puts in -lsocket... " >&6; } 3750 if test "${ac_cv_lib_socket_puts+set}" = set; then 3548 if test "${ac_cv_lib_socket_puts+set}" = set; then : 3751 3549 $as_echo_n "(cached) " >&6 3752 3550 else 3753 3551 ac_check_lib_save_LIBS=$LIBS 3754 3552 LIBS="-lsocket $LIBS" 3755 cat >conftest.$ac_ext <<_ACEOF 3756 /* confdefs.h. */ 3757 _ACEOF 3758 cat confdefs.h >>conftest.$ac_ext 3759 cat >>conftest.$ac_ext <<_ACEOF 3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3760 3554 /* end confdefs.h. */ 3761 3555 … … 3775 3569 } 3776 3570 _ACEOF 3777 rm -f conftest.$ac_objext conftest$ac_exeext 3778 if { (ac_try="$ac_link" 3779 case "(($ac_try" in 3780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3781 *) ac_try_echo=$ac_try;; 3782 esac 3783 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3784 $as_echo "$ac_try_echo") >&5 3785 (eval "$ac_link") 2>conftest.er1 3786 ac_status=$? 3787 grep -v '^ *+' conftest.er1 >conftest.err 3788 rm -f conftest.er1 3789 cat conftest.err >&5 3790 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3791 (exit $ac_status); } && { 3792 test -z "$ac_c_werror_flag" || 3793 test ! -s conftest.err 3794 } && test -s conftest$ac_exeext && { 3795 test "$cross_compiling" = yes || 3796 $as_test_x conftest$ac_exeext 3797 }; then 3571 if ac_fn_c_try_link "$LINENO"; then : 3798 3572 ac_cv_lib_socket_puts=yes 3799 3573 else 3800 $as_echo "$as_me: failed program was:" >&5 3801 sed 's/^/| /' conftest.$ac_ext >&5 3802 3803 ac_cv_lib_socket_puts=no 3804 fi 3805 3806 rm -rf conftest.dSYM 3807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3808 conftest$ac_exeext conftest.$ac_ext 3574 ac_cv_lib_socket_puts=no 3575 fi 3576 rm -f core conftest.err conftest.$ac_objext \ 3577 conftest$ac_exeext conftest.$ac_ext 3809 3578 LIBS=$ac_check_lib_save_LIBS 3810 3579 fi 3811 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_socket_puts" >&53580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_puts" >&5 3812 3581 $as_echo "$ac_cv_lib_socket_puts" >&6; } 3813 if test $ac_cv_lib_socket_puts = yes; then3582 if test "x$ac_cv_lib_socket_puts" = x""yes; then : 3814 3583 cat >>confdefs.h <<_ACEOF 3815 3584 #define HAVE_LIBSOCKET 1 … … 3820 3589 fi 3821 3590 3822 3823 { $as_echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lrt" >&5 3824 3592 $as_echo_n "checking for puts in -lrt... " >&6; } 3825 if test "${ac_cv_lib_rt_puts+set}" = set; then 3593 if test "${ac_cv_lib_rt_puts+set}" = set; then : 3826 3594 $as_echo_n "(cached) " >&6 3827 3595 else 3828 3596 ac_check_lib_save_LIBS=$LIBS 3829 3597 LIBS="-lrt $LIBS" 3830 cat >conftest.$ac_ext <<_ACEOF 3831 /* confdefs.h. */ 3832 _ACEOF 3833 cat confdefs.h >>conftest.$ac_ext 3834 cat >>conftest.$ac_ext <<_ACEOF 3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3835 3599 /* end confdefs.h. */ 3836 3600 … … 3850 3614 } 3851 3615 _ACEOF 3852 rm -f conftest.$ac_objext conftest$ac_exeext 3853 if { (ac_try="$ac_link" 3854 case "(($ac_try" in 3855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3856 *) ac_try_echo=$ac_try;; 3857 esac 3858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3859 $as_echo "$ac_try_echo") >&5 3860 (eval "$ac_link") 2>conftest.er1 3861 ac_status=$? 3862 grep -v '^ *+' conftest.er1 >conftest.err 3863 rm -f conftest.er1 3864 cat conftest.err >&5 3865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3866 (exit $ac_status); } && { 3867 test -z "$ac_c_werror_flag" || 3868 test ! -s conftest.err 3869 } && test -s conftest$ac_exeext && { 3870 test "$cross_compiling" = yes || 3871 $as_test_x conftest$ac_exeext 3872 }; then 3616 if ac_fn_c_try_link "$LINENO"; then : 3873 3617 ac_cv_lib_rt_puts=yes 3874 3618 else 3875 $as_echo "$as_me: failed program was:" >&5 3876 sed 's/^/| /' conftest.$ac_ext >&5 3877 3878 ac_cv_lib_rt_puts=no 3879 fi 3880 3881 rm -rf conftest.dSYM 3882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3883 conftest$ac_exeext conftest.$ac_ext 3619 ac_cv_lib_rt_puts=no 3620 fi 3621 rm -f core conftest.err conftest.$ac_objext \ 3622 conftest$ac_exeext conftest.$ac_ext 3884 3623 LIBS=$ac_check_lib_save_LIBS 3885 3624 fi 3886 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_rt_puts" >&53625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_puts" >&5 3887 3626 $as_echo "$ac_cv_lib_rt_puts" >&6; } 3888 if test $ac_cv_lib_rt_puts = yes; then3627 if test "x$ac_cv_lib_rt_puts" = x""yes; then : 3889 3628 cat >>confdefs.h <<_ACEOF 3890 3629 #define HAVE_LIBRT 1 … … 3895 3634 fi 3896 3635 3897 3898 { $as_echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for puts in -lnsl" >&5 3899 3637 $as_echo_n "checking for puts in -lnsl... " >&6; } 3900 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3638 if test "${ac_cv_lib_nsl_puts+set}" = set; then : 3901 3639 $as_echo_n "(cached) " >&6 3902 3640 else 3903 3641 ac_check_lib_save_LIBS=$LIBS 3904 3642 LIBS="-lnsl $LIBS" 3905 cat >conftest.$ac_ext <<_ACEOF 3906 /* confdefs.h. */ 3907 _ACEOF 3908 cat confdefs.h >>conftest.$ac_ext 3909 cat >>conftest.$ac_ext <<_ACEOF 3643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3910 3644 /* end confdefs.h. */ 3911 3645 … … 3925 3659 } 3926 3660 _ACEOF 3927 rm -f conftest.$ac_objext conftest$ac_exeext 3928 if { (ac_try="$ac_link" 3929 case "(($ac_try" in 3930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3931 *) ac_try_echo=$ac_try;; 3932 esac 3933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 3934 $as_echo "$ac_try_echo") >&5 3935 (eval "$ac_link") 2>conftest.er1 3936 ac_status=$? 3937 grep -v '^ *+' conftest.er1 >conftest.err 3938 rm -f conftest.er1 3939 cat conftest.err >&5 3940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 3941 (exit $ac_status); } && { 3942 test -z "$ac_c_werror_flag" || 3943 test ! -s conftest.err 3944 } && test -s conftest$ac_exeext && { 3945 test "$cross_compiling" = yes || 3946 $as_test_x conftest$ac_exeext 3947 }; then 3661 if ac_fn_c_try_link "$LINENO"; then : 3948 3662 ac_cv_lib_nsl_puts=yes 3949 3663 else 3950 $as_echo "$as_me: failed program was:" >&5 3951 sed 's/^/| /' conftest.$ac_ext >&5 3952 3953 ac_cv_lib_nsl_puts=no 3954 fi 3955 3956 rm -rf conftest.dSYM 3957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3958 conftest$ac_exeext conftest.$ac_ext 3664 ac_cv_lib_nsl_puts=no 3665 fi 3666 rm -f core conftest.err conftest.$ac_objext \ 3667 conftest$ac_exeext conftest.$ac_ext 3959 3668 LIBS=$ac_check_lib_save_LIBS 3960 3669 fi 3961 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_nsl_puts" >&53670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_puts" >&5 3962 3671 $as_echo "$ac_cv_lib_nsl_puts" >&6; } 3963 if test $ac_cv_lib_nsl_puts = yes; then3672 if test "x$ac_cv_lib_nsl_puts" = x""yes; then : 3964 3673 cat >>confdefs.h <<_ACEOF 3965 3674 #define HAVE_LIBNSL 1 … … 3970 3679 fi 3971 3680 3972 3973 { $as_echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 3974 3682 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 3975 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3683 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 3976 3684 $as_echo_n "(cached) " >&6 3977 3685 else 3978 3686 ac_check_lib_save_LIBS=$LIBS 3979 3687 LIBS="-luuid $LIBS" 3980 cat >conftest.$ac_ext <<_ACEOF 3981 /* confdefs.h. */ 3982 _ACEOF 3983 cat confdefs.h >>conftest.$ac_ext 3984 cat >>conftest.$ac_ext <<_ACEOF 3688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3985 3689 /* end confdefs.h. */ 3986 3690 … … 4000 3704 } 4001 3705 _ACEOF 4002 rm -f conftest.$ac_objext conftest$ac_exeext 4003 if { (ac_try="$ac_link" 4004 case "(($ac_try" in 4005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4006 *) ac_try_echo=$ac_try;; 4007 esac 4008 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4009 $as_echo "$ac_try_echo") >&5 4010 (eval "$ac_link") 2>conftest.er1 4011 ac_status=$? 4012 grep -v '^ *+' conftest.er1 >conftest.err 4013 rm -f conftest.er1 4014 cat conftest.err >&5 4015 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4016 (exit $ac_status); } && { 4017 test -z "$ac_c_werror_flag" || 4018 test ! -s conftest.err 4019 } && test -s conftest$ac_exeext && { 4020 test "$cross_compiling" = yes || 4021 $as_test_x conftest$ac_exeext 4022 }; then 3706 if ac_fn_c_try_link "$LINENO"; then : 4023 3707 ac_cv_lib_uuid_uuid_generate=yes 4024 3708 else 4025 $as_echo "$as_me: failed program was:" >&5 4026 sed 's/^/| /' conftest.$ac_ext >&5 4027 4028 ac_cv_lib_uuid_uuid_generate=no 4029 fi 4030 4031 rm -rf conftest.dSYM 4032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4033 conftest$ac_exeext conftest.$ac_ext 3709 ac_cv_lib_uuid_uuid_generate=no 3710 fi 3711 rm -f core conftest.err conftest.$ac_objext \ 3712 conftest$ac_exeext conftest.$ac_ext 4034 3713 LIBS=$ac_check_lib_save_LIBS 4035 3714 fi 4036 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 4037 3716 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 4038 if test $ac_cv_lib_uuid_uuid_generate = yes; then3717 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 4039 3718 cat >>confdefs.h <<_ACEOF 4040 3719 #define HAVE_LIBUUID 1 … … 4045 3724 fi 4046 3725 4047 { $as_echo "$as_me:$ LINENO: checking for uuid_generate in -luuid" >&53726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_generate in -luuid" >&5 4048 3727 $as_echo_n "checking for uuid_generate in -luuid... " >&6; } 4049 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3728 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then : 4050 3729 $as_echo_n "(cached) " >&6 4051 3730 else 4052 3731 ac_check_lib_save_LIBS=$LIBS 4053 3732 LIBS="-luuid $LIBS" 4054 cat >conftest.$ac_ext <<_ACEOF 4055 /* confdefs.h. */ 4056 _ACEOF 4057 cat confdefs.h >>conftest.$ac_ext 4058 cat >>conftest.$ac_ext <<_ACEOF 3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4059 3734 /* end confdefs.h. */ 4060 3735 … … 4074 3749 } 4075 3750 _ACEOF 4076 rm -f conftest.$ac_objext conftest$ac_exeext 4077 if { (ac_try="$ac_link" 4078 case "(($ac_try" in 4079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4080 *) ac_try_echo=$ac_try;; 4081 esac 4082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4083 $as_echo "$ac_try_echo") >&5 4084 (eval "$ac_link") 2>conftest.er1 4085 ac_status=$? 4086 grep -v '^ *+' conftest.er1 >conftest.err 4087 rm -f conftest.er1 4088 cat conftest.err >&5 4089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4090 (exit $ac_status); } && { 4091 test -z "$ac_c_werror_flag" || 4092 test ! -s conftest.err 4093 } && test -s conftest$ac_exeext && { 4094 test "$cross_compiling" = yes || 4095 $as_test_x conftest$ac_exeext 4096 }; then 3751 if ac_fn_c_try_link "$LINENO"; then : 4097 3752 ac_cv_lib_uuid_uuid_generate=yes 4098 3753 else 4099 $as_echo "$as_me: failed program was:" >&5 4100 sed 's/^/| /' conftest.$ac_ext >&5 4101 4102 ac_cv_lib_uuid_uuid_generate=no 4103 fi 4104 4105 rm -rf conftest.dSYM 4106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4107 conftest$ac_exeext conftest.$ac_ext 3754 ac_cv_lib_uuid_uuid_generate=no 3755 fi 3756 rm -f core conftest.err conftest.$ac_objext \ 3757 conftest$ac_exeext conftest.$ac_ext 4108 3758 LIBS=$ac_check_lib_save_LIBS 4109 3759 fi 4110 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_generate" >&5 4111 3761 $as_echo "$ac_cv_lib_uuid_uuid_generate" >&6; } 4112 if test $ac_cv_lib_uuid_uuid_generate = yes; then3762 if test "x$ac_cv_lib_uuid_uuid_generate" = x""yes; then : 4113 3763 ac_has_uuid_lib=1 4114 3764 fi 4115 3765 4116 3766 4117 { $as_echo "$as_me:$ LINENO: result: Setting PJ_M_NAME to $target_cpu" >&53767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_M_NAME to $target_cpu" >&5 4118 3768 $as_echo "Setting PJ_M_NAME to $target_cpu" >&6; } 4119 3769 cat >>confdefs.h <<_ACEOF … … 4122 3772 4123 3773 4124 { $as_echo "$as_me:$ LINENO: checking memory alignment" >&53774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking memory alignment" >&5 4125 3775 $as_echo_n "checking memory alignment... " >&6; } 4126 3776 case $target in 4127 3777 ia64-* | x86_64-* ) 4128 cat >>confdefs.h <<\_ACEOF 4129 #define PJ_POOL_ALIGNMENT 8 4130 _ACEOF 4131 4132 { $as_echo "$as_me:$LINENO: result: 8 bytes" >&5 3778 $as_echo "#define PJ_POOL_ALIGNMENT 8" >>confdefs.h 3779 3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 8 bytes" >&5 4133 3781 $as_echo "8 bytes" >&6; } 4134 3782 ;; 4135 3783 * ) 4136 cat >>confdefs.h <<\_ACEOF 4137 #define PJ_POOL_ALIGNMENT 4 4138 _ACEOF 4139 4140 { $as_echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 3784 $as_echo "#define PJ_POOL_ALIGNMENT 4" >>confdefs.h 3785 3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4 bytes (default)" >&5 4141 3787 $as_echo "4 bytes (default)" >&6; } 4142 3788 ;; … … 4149 3795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4150 3796 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4151 { $as_echo "$as_me:$ LINENO: checking how to run the C preprocessor" >&53797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4152 3798 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4153 3799 # On Suns, sometimes $CPP names a directory. … … 4156 3802 fi 4157 3803 if test -z "$CPP"; then 4158 if test "${ac_cv_prog_CPP+set}" = set; then 3804 if test "${ac_cv_prog_CPP+set}" = set; then : 4159 3805 $as_echo_n "(cached) " >&6 4160 3806 else … … 4171 3817 # On the NeXT, cc -E runs the code through the compiler's parser, 4172 3818 # not just through cpp. "Syntax error" is here to catch this case. 4173 cat >conftest.$ac_ext <<_ACEOF 4174 /* confdefs.h. */ 4175 _ACEOF 4176 cat confdefs.h >>conftest.$ac_ext 4177 cat >>conftest.$ac_ext <<_ACEOF 3819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4178 3820 /* end confdefs.h. */ 4179 3821 #ifdef __STDC__ … … 4184 3826 Syntax error 4185 3827 _ACEOF 4186 if { (ac_try="$ac_cpp conftest.$ac_ext" 4187 case "(($ac_try" in 4188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4189 *) ac_try_echo=$ac_try;; 4190 esac 4191 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4192 $as_echo "$ac_try_echo") >&5 4193 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4194 ac_status=$? 4195 grep -v '^ *+' conftest.er1 >conftest.err 4196 rm -f conftest.er1 4197 cat conftest.err >&5 4198 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4199 (exit $ac_status); } >/dev/null && { 4200 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4201 test ! -s conftest.err 4202 }; then 4203 : 4204 else 4205 $as_echo "$as_me: failed program was:" >&5 4206 sed 's/^/| /' conftest.$ac_ext >&5 4207 3828 if ac_fn_c_try_cpp "$LINENO"; then : 3829 3830 else 4208 3831 # Broken: fails on valid input. 4209 3832 continue 4210 3833 fi 4211 4212 3834 rm -f conftest.err conftest.$ac_ext 4213 3835 4214 3836 # OK, works on sane cases. Now check whether nonexistent headers 4215 3837 # can be detected and how. 4216 cat >conftest.$ac_ext <<_ACEOF 4217 /* confdefs.h. */ 4218 _ACEOF 4219 cat confdefs.h >>conftest.$ac_ext 4220 cat >>conftest.$ac_ext <<_ACEOF 3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4221 3839 /* end confdefs.h. */ 4222 3840 #include <ac_nonexistent.h> 4223 3841 _ACEOF 4224 if { (ac_try="$ac_cpp conftest.$ac_ext" 4225 case "(($ac_try" in 4226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4227 *) ac_try_echo=$ac_try;; 4228 esac 4229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4230 $as_echo "$ac_try_echo") >&5 4231 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4232 ac_status=$? 4233 grep -v '^ *+' conftest.er1 >conftest.err 4234 rm -f conftest.er1 4235 cat conftest.err >&5 4236 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4237 (exit $ac_status); } >/dev/null && { 4238 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4239 test ! -s conftest.err 4240 }; then 3842 if ac_fn_c_try_cpp "$LINENO"; then : 4241 3843 # Broken: success on invalid input. 4242 3844 continue 4243 3845 else 4244 $as_echo "$as_me: failed program was:" >&54245 sed 's/^/| /' conftest.$ac_ext >&54246 4247 3846 # Passes both tests. 4248 3847 ac_preproc_ok=: 4249 3848 break 4250 3849 fi 4251 4252 3850 rm -f conftest.err conftest.$ac_ext 4253 3851 … … 4255 3853 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4256 3854 rm -f conftest.err conftest.$ac_ext 4257 if $ac_preproc_ok; then 3855 if $ac_preproc_ok; then : 4258 3856 break 4259 3857 fi … … 4267 3865 ac_cv_prog_CPP=$CPP 4268 3866 fi 4269 { $as_echo "$as_me:$ LINENO: result: $CPP" >&53867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4270 3868 $as_echo "$CPP" >&6; } 4271 3869 ac_preproc_ok=false … … 4278 3876 # On the NeXT, cc -E runs the code through the compiler's parser, 4279 3877 # not just through cpp. "Syntax error" is here to catch this case. 4280 cat >conftest.$ac_ext <<_ACEOF 4281 /* confdefs.h. */ 4282 _ACEOF 4283 cat confdefs.h >>conftest.$ac_ext 4284 cat >>conftest.$ac_ext <<_ACEOF 3878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4285 3879 /* end confdefs.h. */ 4286 3880 #ifdef __STDC__ … … 4291 3885 Syntax error 4292 3886 _ACEOF 4293 if { (ac_try="$ac_cpp conftest.$ac_ext" 4294 case "(($ac_try" in 4295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4296 *) ac_try_echo=$ac_try;; 4297 esac 4298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4299 $as_echo "$ac_try_echo") >&5 4300 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4301 ac_status=$? 4302 grep -v '^ *+' conftest.er1 >conftest.err 4303 rm -f conftest.er1 4304 cat conftest.err >&5 4305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4306 (exit $ac_status); } >/dev/null && { 4307 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4308 test ! -s conftest.err 4309 }; then 4310 : 4311 else 4312 $as_echo "$as_me: failed program was:" >&5 4313 sed 's/^/| /' conftest.$ac_ext >&5 4314 3887 if ac_fn_c_try_cpp "$LINENO"; then : 3888 3889 else 4315 3890 # Broken: fails on valid input. 4316 3891 continue 4317 3892 fi 4318 4319 3893 rm -f conftest.err conftest.$ac_ext 4320 3894 4321 3895 # OK, works on sane cases. Now check whether nonexistent headers 4322 3896 # can be detected and how. 4323 cat >conftest.$ac_ext <<_ACEOF 4324 /* confdefs.h. */ 4325 _ACEOF 4326 cat confdefs.h >>conftest.$ac_ext 4327 cat >>conftest.$ac_ext <<_ACEOF 3897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4328 3898 /* end confdefs.h. */ 4329 3899 #include <ac_nonexistent.h> 4330 3900 _ACEOF 4331 if { (ac_try="$ac_cpp conftest.$ac_ext" 4332 case "(($ac_try" in 4333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4334 *) ac_try_echo=$ac_try;; 4335 esac 4336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4337 $as_echo "$ac_try_echo") >&5 4338 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4339 ac_status=$? 4340 grep -v '^ *+' conftest.er1 >conftest.err 4341 rm -f conftest.er1 4342 cat conftest.err >&5 4343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4344 (exit $ac_status); } >/dev/null && { 4345 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4346 test ! -s conftest.err 4347 }; then 3901 if ac_fn_c_try_cpp "$LINENO"; then : 4348 3902 # Broken: success on invalid input. 4349 3903 continue 4350 3904 else 4351 $as_echo "$as_me: failed program was:" >&54352 sed 's/^/| /' conftest.$ac_ext >&54353 4354 3905 # Passes both tests. 4355 3906 ac_preproc_ok=: 4356 3907 break 4357 3908 fi 4358 4359 3909 rm -f conftest.err conftest.$ac_ext 4360 3910 … … 4362 3912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4363 3913 rm -f conftest.err conftest.$ac_ext 4364 if $ac_preproc_ok; then 4365 : 4366 else 4367 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4368 See \`config.log' for more details." >&5 4369 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4370 See \`config.log' for more details." >&2;} 4371 { (exit 1); exit 1; }; } 3914 if $ac_preproc_ok; then : 3915 3916 else 3917 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3919 as_fn_error "C preprocessor \"$CPP\" fails sanity check 3920 See \`config.log' for more details." "$LINENO" 5; } 4372 3921 fi 4373 3922 … … 4379 3928 4380 3929 4381 { $as_echo "$as_me:$ LINENO: checking for grep that handles long lines and -e" >&53930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4382 3931 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4383 if test "${ac_cv_path_GREP+set}" = set; then 3932 if test "${ac_cv_path_GREP+set}" = set; then : 4384 3933 $as_echo_n "(cached) " >&6 4385 3934 else … … 4392 3941 IFS=$as_save_IFS 4393 3942 test -z "$as_dir" && as_dir=. 4394 for ac_prog in grep ggrep; do3943 for ac_prog in grep ggrep; do 4395 3944 for ac_exec_ext in '' $ac_executable_extensions; do 4396 3945 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" … … 4412 3961 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4413 3962 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4414 a c_count=`expr $ac_count + 1`3963 as_fn_arith $ac_count + 1 && ac_count=$as_val 4415 3964 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4416 3965 # Best one so far, save it but keep looking for a better one … … 4427 3976 done 4428 3977 done 4429 done3978 done 4430 3979 IFS=$as_save_IFS 4431 3980 if test -z "$ac_cv_path_GREP"; then 4432 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4433 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4434 { (exit 1); exit 1; }; } 3981 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4435 3982 fi 4436 3983 else … … 4439 3986 4440 3987 fi 4441 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_GREP" >&53988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4442 3989 $as_echo "$ac_cv_path_GREP" >&6; } 4443 3990 GREP="$ac_cv_path_GREP" 4444 3991 4445 3992 4446 { $as_echo "$as_me:$ LINENO: checking for egrep" >&53993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4447 3994 $as_echo_n "checking for egrep... " >&6; } 4448 if test "${ac_cv_path_EGREP+set}" = set; then 3995 if test "${ac_cv_path_EGREP+set}" = set; then : 4449 3996 $as_echo_n "(cached) " >&6 4450 3997 else … … 4460 4007 IFS=$as_save_IFS 4461 4008 test -z "$as_dir" && as_dir=. 4462 for ac_prog in egrep; do4009 for ac_prog in egrep; do 4463 4010 for ac_exec_ext in '' $ac_executable_extensions; do 4464 4011 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" … … 4480 4027 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4481 4028 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4482 a c_count=`expr $ac_count + 1`4029 as_fn_arith $ac_count + 1 && ac_count=$as_val 4483 4030 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4484 4031 # Best one so far, save it but keep looking for a better one … … 4495 4042 done 4496 4043 done 4497 done4044 done 4498 4045 IFS=$as_save_IFS 4499 4046 if test -z "$ac_cv_path_EGREP"; then 4500 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4501 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4502 { (exit 1); exit 1; }; } 4047 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4503 4048 fi 4504 4049 else … … 4508 4053 fi 4509 4054 fi 4510 { $as_echo "$as_me:$ LINENO: result: $ac_cv_path_EGREP" >&54055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4511 4056 $as_echo "$ac_cv_path_EGREP" >&6; } 4512 4057 EGREP="$ac_cv_path_EGREP" 4513 4058 4514 4059 4515 { $as_echo "$as_me:$ LINENO: checking for ANSI C header files" >&54060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4516 4061 $as_echo_n "checking for ANSI C header files... " >&6; } 4517 if test "${ac_cv_header_stdc+set}" = set; then 4062 if test "${ac_cv_header_stdc+set}" = set; then : 4518 4063 $as_echo_n "(cached) " >&6 4519 4064 else 4520 cat >conftest.$ac_ext <<_ACEOF 4521 /* confdefs.h. */ 4522 _ACEOF 4523 cat confdefs.h >>conftest.$ac_ext 4524 cat >>conftest.$ac_ext <<_ACEOF 4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4525 4066 /* end confdefs.h. */ 4526 4067 #include <stdlib.h> … … 4537 4078 } 4538 4079 _ACEOF 4539 rm -f conftest.$ac_objext 4540 if { (ac_try="$ac_compile" 4541 case "(($ac_try" in 4542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4543 *) ac_try_echo=$ac_try;; 4544 esac 4545 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4546 $as_echo "$ac_try_echo") >&5 4547 (eval "$ac_compile") 2>conftest.er1 4548 ac_status=$? 4549 grep -v '^ *+' conftest.er1 >conftest.err 4550 rm -f conftest.er1 4551 cat conftest.err >&5 4552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4553 (exit $ac_status); } && { 4554 test -z "$ac_c_werror_flag" || 4555 test ! -s conftest.err 4556 } && test -s conftest.$ac_objext; then 4080 if ac_fn_c_try_compile "$LINENO"; then : 4557 4081 ac_cv_header_stdc=yes 4558 4082 else 4559 $as_echo "$as_me: failed program was:" >&5 4560 sed 's/^/| /' conftest.$ac_ext >&5 4561 4562 ac_cv_header_stdc=no 4563 fi 4564 4083 ac_cv_header_stdc=no 4084 fi 4565 4085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4566 4086 4567 4087 if test $ac_cv_header_stdc = yes; then 4568 4088 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4569 cat >conftest.$ac_ext <<_ACEOF 4570 /* confdefs.h. */ 4571 _ACEOF 4572 cat confdefs.h >>conftest.$ac_ext 4573 cat >>conftest.$ac_ext <<_ACEOF 4089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4574 4090 /* end confdefs.h. */ 4575 4091 #include <string.h> … … 4577 4093 _ACEOF 4578 4094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4579 $EGREP "memchr" >/dev/null 2>&1; then 4580 : 4095 $EGREP "memchr" >/dev/null 2>&1; then : 4096 4581 4097 else 4582 4098 ac_cv_header_stdc=no … … 4588 4104 if test $ac_cv_header_stdc = yes; then 4589 4105 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4590 cat >conftest.$ac_ext <<_ACEOF 4591 /* confdefs.h. */ 4592 _ACEOF 4593 cat confdefs.h >>conftest.$ac_ext 4594 cat >>conftest.$ac_ext <<_ACEOF 4106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4595 4107 /* end confdefs.h. */ 4596 4108 #include <stdlib.h> … … 4598 4110 _ACEOF 4599 4111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4600 $EGREP "free" >/dev/null 2>&1; then 4601 : 4112 $EGREP "free" >/dev/null 2>&1; then : 4113 4602 4114 else 4603 4115 ac_cv_header_stdc=no … … 4609 4121 if test $ac_cv_header_stdc = yes; then 4610 4122 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4611 if test "$cross_compiling" = yes; then 4123 if test "$cross_compiling" = yes; then : 4612 4124 : 4613 4125 else 4614 cat >conftest.$ac_ext <<_ACEOF 4615 /* confdefs.h. */ 4616 _ACEOF 4617 cat confdefs.h >>conftest.$ac_ext 4618 cat >>conftest.$ac_ext <<_ACEOF 4126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4619 4127 /* end confdefs.h. */ 4620 4128 #include <ctype.h> … … 4643 4151 } 4644 4152 _ACEOF 4645 rm -f conftest$ac_exeext 4646 if { (ac_try="$ac_link" 4647 case "(($ac_try" in 4648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4649 *) ac_try_echo=$ac_try;; 4650 esac 4651 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4652 $as_echo "$ac_try_echo") >&5 4653 (eval "$ac_link") 2>&5 4654 ac_status=$? 4655 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4656 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4657 { (case "(($ac_try" in 4658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4659 *) ac_try_echo=$ac_try;; 4660 esac 4661 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4662 $as_echo "$ac_try_echo") >&5 4663 (eval "$ac_try") 2>&5 4664 ac_status=$? 4665 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4666 (exit $ac_status); }; }; then 4667 : 4668 else 4669 $as_echo "$as_me: program exited with status $ac_status" >&5 4670 $as_echo "$as_me: failed program was:" >&5 4671 sed 's/^/| /' conftest.$ac_ext >&5 4672 4673 ( exit $ac_status ) 4674 ac_cv_header_stdc=no 4675 fi 4676 rm -rf conftest.dSYM 4677 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4678 fi 4679 4680 4681 fi 4682 fi 4683 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4153 if ac_fn_c_try_run "$LINENO"; then : 4154 4155 else 4156 ac_cv_header_stdc=no 4157 fi 4158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4159 conftest.$ac_objext conftest.beam conftest.$ac_ext 4160 fi 4161 4162 fi 4163 fi 4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4684 4165 $as_echo "$ac_cv_header_stdc" >&6; } 4685 4166 if test $ac_cv_header_stdc = yes; then 4686 4167 4687 cat >>confdefs.h <<\_ACEOF 4688 #define STDC_HEADERS 1 4689 _ACEOF 4168 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4690 4169 4691 4170 fi 4692 4171 4693 4172 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4173 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4704 4174 inttypes.h stdint.h unistd.h 4705 do 4706 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4707 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 4708 $as_echo_n "checking for $ac_header... " >&6; } 4709 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4710 $as_echo_n "(cached) " >&6 4711 else 4712 cat >conftest.$ac_ext <<_ACEOF 4713 /* confdefs.h. */ 4714 _ACEOF 4715 cat confdefs.h >>conftest.$ac_ext 4716 cat >>conftest.$ac_ext <<_ACEOF 4717 /* end confdefs.h. */ 4718 $ac_includes_default 4719 4720 #include <$ac_header> 4721 _ACEOF 4722 rm -f conftest.$ac_objext 4723 if { (ac_try="$ac_compile" 4724 case "(($ac_try" in 4725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4726 *) ac_try_echo=$ac_try;; 4727 esac 4728 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4729 $as_echo "$ac_try_echo") >&5 4730 (eval "$ac_compile") 2>conftest.er1 4731 ac_status=$? 4732 grep -v '^ *+' conftest.er1 >conftest.err 4733 rm -f conftest.er1 4734 cat conftest.err >&5 4735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4736 (exit $ac_status); } && { 4737 test -z "$ac_c_werror_flag" || 4738 test ! -s conftest.err 4739 } && test -s conftest.$ac_objext; then 4740 eval "$as_ac_Header=yes" 4741 else 4742 $as_echo "$as_me: failed program was:" >&5 4743 sed 's/^/| /' conftest.$ac_ext >&5 4744 4745 eval "$as_ac_Header=no" 4746 fi 4747 4748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4749 fi 4750 ac_res=`eval 'as_val=${'$as_ac_Header'} 4751 $as_echo "$as_val"'` 4752 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 4753 $as_echo "$ac_res" >&6; } 4754 if test `eval 'as_val=${'$as_ac_Header'} 4755 $as_echo "$as_val"'` = yes; then 4175 do : 4176 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4177 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4178 " 4179 eval as_val=\$$as_ac_Header 4180 if test "x$as_val" = x""yes; then : 4756 4181 cat >>confdefs.h <<_ACEOF 4757 4182 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 … … 4763 4188 4764 4189 4765 4766 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4767 4191 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4768 if test "${ac_cv_c_bigendian+set}" = set; then 4192 if test "${ac_cv_c_bigendian+set}" = set; then : 4769 4193 $as_echo_n "(cached) " >&6 4770 4194 else 4771 4195 ac_cv_c_bigendian=unknown 4772 4196 # See if we're dealing with a universal compiler. 4773 cat >conftest.$ac_ext <<_ACEOF 4774 /* confdefs.h. */ 4775 _ACEOF 4776 cat confdefs.h >>conftest.$ac_ext 4777 cat >>conftest.$ac_ext <<_ACEOF 4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4778 4198 /* end confdefs.h. */ 4779 4199 #ifndef __APPLE_CC__ … … 4783 4203 4784 4204 _ACEOF 4785 rm -f conftest.$ac_objext 4786 if { (ac_try="$ac_compile" 4787 case "(($ac_try" in 4788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4789 *) ac_try_echo=$ac_try;; 4790 esac 4791 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4792 $as_echo "$ac_try_echo") >&5 4793 (eval "$ac_compile") 2>conftest.er1 4794 ac_status=$? 4795 grep -v '^ *+' conftest.er1 >conftest.err 4796 rm -f conftest.er1 4797 cat conftest.err >&5 4798 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4799 (exit $ac_status); } && { 4800 test -z "$ac_c_werror_flag" || 4801 test ! -s conftest.err 4802 } && test -s conftest.$ac_objext; then 4205 if ac_fn_c_try_compile "$LINENO"; then : 4803 4206 4804 4207 # Check for potential -arch flags. It is not universal unless 4805 # there are some -arch flags. Note that *ppc* also matches 4806 # ppc64. This check is also rather less than ideal. 4807 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( 4808 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; 4809 esac 4810 else 4811 $as_echo "$as_me: failed program was:" >&5 4812 sed 's/^/| /' conftest.$ac_ext >&5 4813 4814 4815 fi 4816 4208 # there are at least two -arch flags with different values. 4209 ac_arch= 4210 ac_prev= 4211 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4212 if test -n "$ac_prev"; then 4213 case $ac_word in 4214 i?86 | x86_64 | ppc | ppc64) 4215 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4216 ac_arch=$ac_word 4217 else 4218 ac_cv_c_bigendian=universal 4219 break 4220 fi 4221 ;; 4222 esac 4223 ac_prev= 4224 elif test "x$ac_word" = "x-arch"; then 4225 ac_prev=arch 4226 fi 4227 done 4228 fi 4817 4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4818 4230 if test $ac_cv_c_bigendian = unknown; then 4819 4231 # See if sys/param.h defines the BYTE_ORDER macro. 4820 cat >conftest.$ac_ext <<_ACEOF 4821 /* confdefs.h. */ 4822 _ACEOF 4823 cat confdefs.h >>conftest.$ac_ext 4824 cat >>conftest.$ac_ext <<_ACEOF 4232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4825 4233 /* end confdefs.h. */ 4826 4234 #include <sys/types.h> … … 4840 4248 } 4841 4249 _ACEOF 4842 rm -f conftest.$ac_objext 4843 if { (ac_try="$ac_compile" 4844 case "(($ac_try" in 4845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4846 *) ac_try_echo=$ac_try;; 4847 esac 4848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4849 $as_echo "$ac_try_echo") >&5 4850 (eval "$ac_compile") 2>conftest.er1 4851 ac_status=$? 4852 grep -v '^ *+' conftest.er1 >conftest.err 4853 rm -f conftest.er1 4854 cat conftest.err >&5 4855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4856 (exit $ac_status); } && { 4857 test -z "$ac_c_werror_flag" || 4858 test ! -s conftest.err 4859 } && test -s conftest.$ac_objext; then 4250 if ac_fn_c_try_compile "$LINENO"; then : 4860 4251 # It does; now see whether it defined to BIG_ENDIAN or not. 4861 cat >conftest.$ac_ext <<_ACEOF 4862 /* confdefs.h. */ 4863 _ACEOF 4864 cat confdefs.h >>conftest.$ac_ext 4865 cat >>conftest.$ac_ext <<_ACEOF 4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4866 4253 /* end confdefs.h. */ 4867 4254 #include <sys/types.h> … … 4879 4266 } 4880 4267 _ACEOF 4881 rm -f conftest.$ac_objext 4882 if { (ac_try="$ac_compile" 4883 case "(($ac_try" in 4884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4885 *) ac_try_echo=$ac_try;; 4886 esac 4887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4888 $as_echo "$ac_try_echo") >&5 4889 (eval "$ac_compile") 2>conftest.er1 4890 ac_status=$? 4891 grep -v '^ *+' conftest.er1 >conftest.err 4892 rm -f conftest.er1 4893 cat conftest.err >&5 4894 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4895 (exit $ac_status); } && { 4896 test -z "$ac_c_werror_flag" || 4897 test ! -s conftest.err 4898 } && test -s conftest.$ac_objext; then 4268 if ac_fn_c_try_compile "$LINENO"; then : 4899 4269 ac_cv_c_bigendian=yes 4900 4270 else 4901 $as_echo "$as_me: failed program was:" >&5 4902 sed 's/^/| /' conftest.$ac_ext >&5 4903 4904 ac_cv_c_bigendian=no 4905 fi 4906 4271 ac_cv_c_bigendian=no 4272 fi 4907 4273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4908 else 4909 $as_echo "$as_me: failed program was:" >&5 4910 sed 's/^/| /' conftest.$ac_ext >&5 4911 4912 4913 fi 4914 4274 fi 4915 4275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4916 4276 fi 4917 4277 if test $ac_cv_c_bigendian = unknown; then 4918 4278 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4919 cat >conftest.$ac_ext <<_ACEOF 4920 /* confdefs.h. */ 4921 _ACEOF 4922 cat confdefs.h >>conftest.$ac_ext 4923 cat >>conftest.$ac_ext <<_ACEOF 4279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4924 4280 /* end confdefs.h. */ 4925 4281 #include <limits.h> … … 4936 4292 } 4937 4293 _ACEOF 4938 rm -f conftest.$ac_objext 4939 if { (ac_try="$ac_compile" 4940 case "(($ac_try" in 4941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4942 *) ac_try_echo=$ac_try;; 4943 esac 4944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4945 $as_echo "$ac_try_echo") >&5 4946 (eval "$ac_compile") 2>conftest.er1 4947 ac_status=$? 4948 grep -v '^ *+' conftest.er1 >conftest.err 4949 rm -f conftest.er1 4950 cat conftest.err >&5 4951 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4952 (exit $ac_status); } && { 4953 test -z "$ac_c_werror_flag" || 4954 test ! -s conftest.err 4955 } && test -s conftest.$ac_objext; then 4294 if ac_fn_c_try_compile "$LINENO"; then : 4956 4295 # It does; now see whether it defined to _BIG_ENDIAN or not. 4957 cat >conftest.$ac_ext <<_ACEOF 4958 /* confdefs.h. */ 4959 _ACEOF 4960 cat confdefs.h >>conftest.$ac_ext 4961 cat >>conftest.$ac_ext <<_ACEOF 4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4962 4297 /* end confdefs.h. */ 4963 4298 #include <limits.h> … … 4974 4309 } 4975 4310 _ACEOF 4976 rm -f conftest.$ac_objext 4977 if { (ac_try="$ac_compile" 4978 case "(($ac_try" in 4979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4980 *) ac_try_echo=$ac_try;; 4981 esac 4982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 4983 $as_echo "$ac_try_echo") >&5 4984 (eval "$ac_compile") 2>conftest.er1 4985 ac_status=$? 4986 grep -v '^ *+' conftest.er1 >conftest.err 4987 rm -f conftest.er1 4988 cat conftest.err >&5 4989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 4990 (exit $ac_status); } && { 4991 test -z "$ac_c_werror_flag" || 4992 test ! -s conftest.err 4993 } && test -s conftest.$ac_objext; then 4311 if ac_fn_c_try_compile "$LINENO"; then : 4994 4312 ac_cv_c_bigendian=yes 4995 4313 else 4996 $as_echo "$as_me: failed program was:" >&5 4997 sed 's/^/| /' conftest.$ac_ext >&5 4998 4999 ac_cv_c_bigendian=no 5000 fi 5001 4314 ac_cv_c_bigendian=no 4315 fi 5002 4316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5003 else 5004 $as_echo "$as_me: failed program was:" >&5 5005 sed 's/^/| /' conftest.$ac_ext >&5 5006 5007 5008 fi 5009 4317 fi 5010 4318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5011 4319 fi 5012 4320 if test $ac_cv_c_bigendian = unknown; then 5013 4321 # Compile a test program. 5014 if test "$cross_compiling" = yes; then 4322 if test "$cross_compiling" = yes; then : 5015 4323 # Try to guess by grepping values from an object file. 5016 cat >conftest.$ac_ext <<_ACEOF 5017 /* confdefs.h. */ 5018 _ACEOF 5019 cat confdefs.h >>conftest.$ac_ext 5020 cat >>conftest.$ac_ext <<_ACEOF 4324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5021 4325 /* end confdefs.h. */ 5022 4326 short int ascii_mm[] = … … 5044 4348 } 5045 4349 _ACEOF 5046 rm -f conftest.$ac_objext 5047 if { (ac_try="$ac_compile" 5048 case "(($ac_try" in 5049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5050 *) ac_try_echo=$ac_try;; 5051 esac 5052 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5053 $as_echo "$ac_try_echo") >&5 5054 (eval "$ac_compile") 2>conftest.er1 5055 ac_status=$? 5056 grep -v '^ *+' conftest.er1 >conftest.err 5057 rm -f conftest.er1 5058 cat conftest.err >&5 5059 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5060 (exit $ac_status); } && { 5061 test -z "$ac_c_werror_flag" || 5062 test ! -s conftest.err 5063 } && test -s conftest.$ac_objext; then 4350 if ac_fn_c_try_compile "$LINENO"; then : 5064 4351 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 5065 4352 ac_cv_c_bigendian=yes … … 5073 4360 fi 5074 4361 fi 5075 else 5076 $as_echo "$as_me: failed program was:" >&5 5077 sed 's/^/| /' conftest.$ac_ext >&5 5078 5079 5080 fi 5081 4362 fi 5082 4363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5083 4364 else 5084 cat >conftest.$ac_ext <<_ACEOF 5085 /* confdefs.h. */ 5086 _ACEOF 5087 cat confdefs.h >>conftest.$ac_ext 5088 cat >>conftest.$ac_ext <<_ACEOF 4365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5089 4366 /* end confdefs.h. */ 5090 4367 $ac_includes_default … … 5106 4383 } 5107 4384 _ACEOF 5108 rm -f conftest$ac_exeext 5109 if { (ac_try="$ac_link" 5110 case "(($ac_try" in 5111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5112 *) ac_try_echo=$ac_try;; 5113 esac 5114 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5115 $as_echo "$ac_try_echo") >&5 5116 (eval "$ac_link") 2>&5 5117 ac_status=$? 5118 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5119 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5120 { (case "(($ac_try" in 5121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5122 *) ac_try_echo=$ac_try;; 5123 esac 5124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5125 $as_echo "$ac_try_echo") >&5 5126 (eval "$ac_try") 2>&5 5127 ac_status=$? 5128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5129 (exit $ac_status); }; }; then 4385 if ac_fn_c_try_run "$LINENO"; then : 5130 4386 ac_cv_c_bigendian=no 5131 4387 else 5132 $as_echo "$as_me: program exited with status $ac_status" >&5 5133 $as_echo "$as_me: failed program was:" >&5 5134 sed 's/^/| /' conftest.$ac_ext >&5 5135 5136 ( exit $ac_status ) 5137 ac_cv_c_bigendian=yes 5138 fi 5139 rm -rf conftest.dSYM 5140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5141 fi 5142 4388 ac_cv_c_bigendian=yes 4389 fi 4390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4391 conftest.$ac_objext conftest.beam conftest.$ac_ext 4392 fi 5143 4393 5144 4394 fi 5145 4395 fi 5146 { $as_echo "$as_me:$ LINENO: result: $ac_cv_c_bigendian" >&54396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 5147 4397 $as_echo "$ac_cv_c_bigendian" >&6; } 5148 4398 case $ac_cv_c_bigendian in #( 5149 4399 yes) 5150 cat >>confdefs.h <<\_ACEOF 5151 #define WORDS_BIGENDIAN 1 5152 _ACEOF 4400 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 5153 4401 ;; #( 5154 4402 no) … … 5156 4404 universal) 5157 4405 5158 cat >>confdefs.h <<\_ACEOF 5159 #define AC_APPLE_UNIVERSAL_BUILD 1 5160 _ACEOF 4406 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 5161 4407 5162 4408 ;; #( 5163 4409 *) 5164 { { $as_echo "$as_me:$LINENO: error: unknown endianness 5165 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 5166 $as_echo "$as_me: error: unknown endianness 5167 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 5168 { (exit 1); exit 1; }; } ;; 4410 as_fn_error "unknown endianness 4411 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 5169 4412 esac 5170 4413 … … 5172 4415 case $target in 5173 4416 *mingw* | *cygw* | *win32* | *w32* ) 5174 cat >>confdefs.h <<\_ACEOF 5175 #define PJ_WIN32 1 5176 _ACEOF 5177 5178 cat >>confdefs.h <<\_ACEOF 5179 #define PJ_WIN32_WINNT 0x0400 5180 _ACEOF 5181 5182 cat >>confdefs.h <<\_ACEOF 5183 #define WIN32_LEAN_AND_MEAN 1 5184 _ACEOF 4417 $as_echo "#define PJ_WIN32 1" >>confdefs.h 4418 4419 $as_echo "#define PJ_WIN32_WINNT 0x0400" >>confdefs.h 4420 4421 $as_echo "#define WIN32_LEAN_AND_MEAN 1" >>confdefs.h 5185 4422 5186 4423 ;; 5187 4424 *darwin*) 5188 cat >>confdefs.h <<\_ACEOF 5189 #define PJ_DARWINOS 1 5190 _ACEOF 4425 $as_echo "#define PJ_DARWINOS 1" >>confdefs.h 5191 4426 5192 4427 ;; 5193 4428 *linux*) 5194 cat >>confdefs.h <<\_ACEOF 5195 #define PJ_LINUX 1 5196 _ACEOF 4429 $as_echo "#define PJ_LINUX 1" >>confdefs.h 5197 4430 5198 4431 ;; 5199 4432 *rtems*) 5200 cat >>confdefs.h <<\_ACEOF 5201 #define PJ_RTEMS 1 5202 _ACEOF 4433 $as_echo "#define PJ_RTEMS 1" >>confdefs.h 5203 4434 5204 4435 ;; 5205 4436 *sunos* | *solaris* ) 5206 cat >>confdefs.h <<\_ACEOF 5207 #define PJ_SUNOS 1 5208 _ACEOF 4437 $as_echo "#define PJ_SUNOS 1" >>confdefs.h 5209 4438 5210 4439 ;; … … 5217 4446 5218 4447 # Check whether --enable-floating-point was given. 5219 if test "${enable_floating_point+set}" = set; then 4448 if test "${enable_floating_point+set}" = set; then : 5220 4449 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 5221 cat >>confdefs.h <<\_ACEOF 5222 #define PJ_HAS_FLOATING_POINT 0 5223 _ACEOF 5224 5225 { $as_echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 4450 $as_echo "#define PJ_HAS_FLOATING_POINT 0" >>confdefs.h 4451 4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... yes" >&5 5226 4453 $as_echo "Checking if floating point is disabled... yes" >&6; } 5227 4454 fi 5228 4455 else 5229 4456 5230 cat >>confdefs.h <<\_ACEOF 5231 #define PJ_HAS_FLOATING_POINT 1 5232 _ACEOF 5233 5234 { $as_echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 4457 $as_echo "#define PJ_HAS_FLOATING_POINT 1" >>confdefs.h 4458 4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if floating point is disabled... no" >&5 5235 4460 $as_echo "Checking if floating point is disabled... no" >&6; } 5236 5237 { $as_echo "$as_me:$LINENO: checking for fmod in -lm" >&5 4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5 5238 4462 $as_echo_n "checking for fmod in -lm... " >&6; } 5239 if test "${ac_cv_lib_m_fmod+set}" = set; then 4463 if test "${ac_cv_lib_m_fmod+set}" = set; then : 5240 4464 $as_echo_n "(cached) " >&6 5241 4465 else 5242 4466 ac_check_lib_save_LIBS=$LIBS 5243 4467 LIBS="-lm $LIBS" 5244 cat >conftest.$ac_ext <<_ACEOF 5245 /* confdefs.h. */ 5246 _ACEOF 5247 cat confdefs.h >>conftest.$ac_ext 5248 cat >>conftest.$ac_ext <<_ACEOF 4468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5249 4469 /* end confdefs.h. */ 5250 4470 … … 5264 4484 } 5265 4485 _ACEOF 5266 rm -f conftest.$ac_objext conftest$ac_exeext 5267 if { (ac_try="$ac_link" 5268 case "(($ac_try" in 5269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5270 *) ac_try_echo=$ac_try;; 5271 esac 5272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5273 $as_echo "$ac_try_echo") >&5 5274 (eval "$ac_link") 2>conftest.er1 5275 ac_status=$? 5276 grep -v '^ *+' conftest.er1 >conftest.err 5277 rm -f conftest.er1 5278 cat conftest.err >&5 5279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5280 (exit $ac_status); } && { 5281 test -z "$ac_c_werror_flag" || 5282 test ! -s conftest.err 5283 } && test -s conftest$ac_exeext && { 5284 test "$cross_compiling" = yes || 5285 $as_test_x conftest$ac_exeext 5286 }; then 4486 if ac_fn_c_try_link "$LINENO"; then : 5287 4487 ac_cv_lib_m_fmod=yes 5288 4488 else 5289 $as_echo "$as_me: failed program was:" >&5 5290 sed 's/^/| /' conftest.$ac_ext >&5 5291 5292 ac_cv_lib_m_fmod=no 5293 fi 5294 5295 rm -rf conftest.dSYM 5296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5297 conftest$ac_exeext conftest.$ac_ext 4489 ac_cv_lib_m_fmod=no 4490 fi 4491 rm -f core conftest.err conftest.$ac_objext \ 4492 conftest$ac_exeext conftest.$ac_ext 5298 4493 LIBS=$ac_check_lib_save_LIBS 5299 4494 fi 5300 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_m_fmod" >&54495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5 5301 4496 $as_echo "$ac_cv_lib_m_fmod" >&6; } 5302 if test $ac_cv_lib_m_fmod = yes; then4497 if test "x$ac_cv_lib_m_fmod" = x""yes; then : 5303 4498 cat >>confdefs.h <<_ACEOF 5304 4499 #define HAVE_LIBM 1 … … 5314 4509 5315 4510 5316 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5317 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5318 $as_echo_n "checking for arpa/inet.h... " >&6; } 5319 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5320 $as_echo_n "(cached) " >&6 5321 fi 5322 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5323 $as_echo "$ac_cv_header_arpa_inet_h" >&6; } 5324 else 5325 # Is the header compilable? 5326 { $as_echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 5327 $as_echo_n "checking arpa/inet.h usability... " >&6; } 5328 cat >conftest.$ac_ext <<_ACEOF 5329 /* confdefs.h. */ 5330 _ACEOF 5331 cat confdefs.h >>conftest.$ac_ext 5332 cat >>conftest.$ac_ext <<_ACEOF 5333 /* end confdefs.h. */ 5334 $ac_includes_default 5335 #include <arpa/inet.h> 5336 _ACEOF 5337 rm -f conftest.$ac_objext 5338 if { (ac_try="$ac_compile" 5339 case "(($ac_try" in 5340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5341 *) ac_try_echo=$ac_try;; 5342 esac 5343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5344 $as_echo "$ac_try_echo") >&5 5345 (eval "$ac_compile") 2>conftest.er1 5346 ac_status=$? 5347 grep -v '^ *+' conftest.er1 >conftest.err 5348 rm -f conftest.er1 5349 cat conftest.err >&5 5350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5351 (exit $ac_status); } && { 5352 test -z "$ac_c_werror_flag" || 5353 test ! -s conftest.err 5354 } && test -s conftest.$ac_objext; then 5355 ac_header_compiler=yes 5356 else 5357 $as_echo "$as_me: failed program was:" >&5 5358 sed 's/^/| /' conftest.$ac_ext >&5 5359 5360 ac_header_compiler=no 5361 fi 5362 5363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5364 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5365 $as_echo "$ac_header_compiler" >&6; } 5366 5367 # Is the header present? 5368 { $as_echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 5369 $as_echo_n "checking arpa/inet.h presence... " >&6; } 5370 cat >conftest.$ac_ext <<_ACEOF 5371 /* confdefs.h. */ 5372 _ACEOF 5373 cat confdefs.h >>conftest.$ac_ext 5374 cat >>conftest.$ac_ext <<_ACEOF 5375 /* end confdefs.h. */ 5376 #include <arpa/inet.h> 5377 _ACEOF 5378 if { (ac_try="$ac_cpp conftest.$ac_ext" 5379 case "(($ac_try" in 5380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5381 *) ac_try_echo=$ac_try;; 5382 esac 5383 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5384 $as_echo "$ac_try_echo") >&5 5385 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5386 ac_status=$? 5387 grep -v '^ *+' conftest.er1 >conftest.err 5388 rm -f conftest.er1 5389 cat conftest.err >&5 5390 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5391 (exit $ac_status); } >/dev/null && { 5392 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5393 test ! -s conftest.err 5394 }; then 5395 ac_header_preproc=yes 5396 else 5397 $as_echo "$as_me: failed program was:" >&5 5398 sed 's/^/| /' conftest.$ac_ext >&5 5399 5400 ac_header_preproc=no 5401 fi 5402 5403 rm -f conftest.err conftest.$ac_ext 5404 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5405 $as_echo "$ac_header_preproc" >&6; } 5406 5407 # So? What about this header? 5408 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5409 yes:no: ) 5410 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5 5411 $as_echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5412 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5 5413 $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;} 5414 ac_header_preproc=yes 5415 ;; 5416 no:yes:* ) 5417 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5 5418 $as_echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;} 5419 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5 5420 $as_echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;} 5421 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5 5422 $as_echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;} 5423 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5 5424 $as_echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;} 5425 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5 5426 $as_echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;} 5427 { $as_echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 5428 $as_echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 5429 5430 ;; 5431 esac 5432 { $as_echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5433 $as_echo_n "checking for arpa/inet.h... " >&6; } 5434 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5435 $as_echo_n "(cached) " >&6 5436 else 5437 ac_cv_header_arpa_inet_h=$ac_header_preproc 5438 fi 5439 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5440 $as_echo "$ac_cv_header_arpa_inet_h" >&6; } 5441 5442 fi 5443 if test $ac_cv_header_arpa_inet_h = yes; then 5444 cat >>confdefs.h <<\_ACEOF 5445 #define PJ_HAS_ARPA_INET_H 1 5446 _ACEOF 5447 5448 fi 5449 5450 5451 if test "${ac_cv_header_assert_h+set}" = set; then 5452 { $as_echo "$as_me:$LINENO: checking for assert.h" >&5 5453 $as_echo_n "checking for assert.h... " >&6; } 5454 if test "${ac_cv_header_assert_h+set}" = set; then 5455 $as_echo_n "(cached) " >&6 5456 fi 5457 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5458 $as_echo "$ac_cv_header_assert_h" >&6; } 5459 else 5460 # Is the header compilable? 5461 { $as_echo "$as_me:$LINENO: checking assert.h usability" >&5 5462 $as_echo_n "checking assert.h usability... " >&6; } 5463 cat >conftest.$ac_ext <<_ACEOF 5464 /* confdefs.h. */ 5465 _ACEOF 5466 cat confdefs.h >>conftest.$ac_ext 5467 cat >>conftest.$ac_ext <<_ACEOF 5468 /* end confdefs.h. */ 5469 $ac_includes_default 5470 #include <assert.h> 5471 _ACEOF 5472 rm -f conftest.$ac_objext 5473 if { (ac_try="$ac_compile" 5474 case "(($ac_try" in 5475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5476 *) ac_try_echo=$ac_try;; 5477 esac 5478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5479 $as_echo "$ac_try_echo") >&5 5480 (eval "$ac_compile") 2>conftest.er1 5481 ac_status=$? 5482 grep -v '^ *+' conftest.er1 >conftest.err 5483 rm -f conftest.er1 5484 cat conftest.err >&5 5485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5486 (exit $ac_status); } && { 5487 test -z "$ac_c_werror_flag" || 5488 test ! -s conftest.err 5489 } && test -s conftest.$ac_objext; then 5490 ac_header_compiler=yes 5491 else 5492 $as_echo "$as_me: failed program was:" >&5 5493 sed 's/^/| /' conftest.$ac_ext >&5 5494 5495 ac_header_compiler=no 5496 fi 5497 5498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5499 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5500 $as_echo "$ac_header_compiler" >&6; } 5501 5502 # Is the header present? 5503 { $as_echo "$as_me:$LINENO: checking assert.h presence" >&5 5504 $as_echo_n "checking assert.h presence... " >&6; } 5505 cat >conftest.$ac_ext <<_ACEOF 5506 /* confdefs.h. */ 5507 _ACEOF 5508 cat confdefs.h >>conftest.$ac_ext 5509 cat >>conftest.$ac_ext <<_ACEOF 5510 /* end confdefs.h. */ 5511 #include <assert.h> 5512 _ACEOF 5513 if { (ac_try="$ac_cpp conftest.$ac_ext" 5514 case "(($ac_try" in 5515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5516 *) ac_try_echo=$ac_try;; 5517 esac 5518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5519 $as_echo "$ac_try_echo") >&5 5520 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5521 ac_status=$? 5522 grep -v '^ *+' conftest.er1 >conftest.err 5523 rm -f conftest.er1 5524 cat conftest.err >&5 5525 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5526 (exit $ac_status); } >/dev/null && { 5527 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5528 test ! -s conftest.err 5529 }; then 5530 ac_header_preproc=yes 5531 else 5532 $as_echo "$as_me: failed program was:" >&5 5533 sed 's/^/| /' conftest.$ac_ext >&5 5534 5535 ac_header_preproc=no 5536 fi 5537 5538 rm -f conftest.err conftest.$ac_ext 5539 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5540 $as_echo "$ac_header_preproc" >&6; } 5541 5542 # So? What about this header? 5543 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5544 yes:no: ) 5545 { $as_echo "$as_me:$LINENO: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&5 5546 $as_echo "$as_me: WARNING: assert.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5547 { $as_echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the compiler's result" >&5 5548 $as_echo "$as_me: WARNING: assert.h: proceeding with the compiler's result" >&2;} 5549 ac_header_preproc=yes 5550 ;; 5551 no:yes:* ) 5552 { $as_echo "$as_me:$LINENO: WARNING: assert.h: present but cannot be compiled" >&5 5553 $as_echo "$as_me: WARNING: assert.h: present but cannot be compiled" >&2;} 5554 { $as_echo "$as_me:$LINENO: WARNING: assert.h: check for missing prerequisite headers?" >&5 5555 $as_echo "$as_me: WARNING: assert.h: check for missing prerequisite headers?" >&2;} 5556 { $as_echo "$as_me:$LINENO: WARNING: assert.h: see the Autoconf documentation" >&5 5557 $as_echo "$as_me: WARNING: assert.h: see the Autoconf documentation" >&2;} 5558 { $as_echo "$as_me:$LINENO: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&5 5559 $as_echo "$as_me: WARNING: assert.h: section \"Present But Cannot Be Compiled\"" >&2;} 5560 { $as_echo "$as_me:$LINENO: WARNING: assert.h: proceeding with the preprocessor's result" >&5 5561 $as_echo "$as_me: WARNING: assert.h: proceeding with the preprocessor's result" >&2;} 5562 { $as_echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 5563 $as_echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 5564 5565 ;; 5566 esac 5567 { $as_echo "$as_me:$LINENO: checking for assert.h" >&5 5568 $as_echo_n "checking for assert.h... " >&6; } 5569 if test "${ac_cv_header_assert_h+set}" = set; then 5570 $as_echo_n "(cached) " >&6 5571 else 5572 ac_cv_header_assert_h=$ac_header_preproc 5573 fi 5574 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5575 $as_echo "$ac_cv_header_assert_h" >&6; } 5576 5577 fi 5578 if test $ac_cv_header_assert_h = yes; then 5579 cat >>confdefs.h <<\_ACEOF 5580 #define PJ_HAS_ASSERT_H 1 5581 _ACEOF 5582 5583 fi 5584 5585 5586 if test "${ac_cv_header_ctype_h+set}" = set; then 5587 { $as_echo "$as_me:$LINENO: checking for ctype.h" >&5 5588 $as_echo_n "checking for ctype.h... " >&6; } 5589 if test "${ac_cv_header_ctype_h+set}" = set; then 5590 $as_echo_n "(cached) " >&6 5591 fi 5592 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5593 $as_echo "$ac_cv_header_ctype_h" >&6; } 5594 else 5595 # Is the header compilable? 5596 { $as_echo "$as_me:$LINENO: checking ctype.h usability" >&5 5597 $as_echo_n "checking ctype.h usability... " >&6; } 5598 cat >conftest.$ac_ext <<_ACEOF 5599 /* confdefs.h. */ 5600 _ACEOF 5601 cat confdefs.h >>conftest.$ac_ext 5602 cat >>conftest.$ac_ext <<_ACEOF 5603 /* end confdefs.h. */ 5604 $ac_includes_default 5605 #include <ctype.h> 5606 _ACEOF 5607 rm -f conftest.$ac_objext 5608 if { (ac_try="$ac_compile" 5609 case "(($ac_try" in 5610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5611 *) ac_try_echo=$ac_try;; 5612 esac 5613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5614 $as_echo "$ac_try_echo") >&5 5615 (eval "$ac_compile") 2>conftest.er1 5616 ac_status=$? 5617 grep -v '^ *+' conftest.er1 >conftest.err 5618 rm -f conftest.er1 5619 cat conftest.err >&5 5620 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5621 (exit $ac_status); } && { 5622 test -z "$ac_c_werror_flag" || 5623 test ! -s conftest.err 5624 } && test -s conftest.$ac_objext; then 5625 ac_header_compiler=yes 5626 else 5627 $as_echo "$as_me: failed program was:" >&5 5628 sed 's/^/| /' conftest.$ac_ext >&5 5629 5630 ac_header_compiler=no 5631 fi 5632 5633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5634 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5635 $as_echo "$ac_header_compiler" >&6; } 5636 5637 # Is the header present? 5638 { $as_echo "$as_me:$LINENO: checking ctype.h presence" >&5 5639 $as_echo_n "checking ctype.h presence... " >&6; } 5640 cat >conftest.$ac_ext <<_ACEOF 5641 /* confdefs.h. */ 5642 _ACEOF 5643 cat confdefs.h >>conftest.$ac_ext 5644 cat >>conftest.$ac_ext <<_ACEOF 5645 /* end confdefs.h. */ 5646 #include <ctype.h> 5647 _ACEOF 5648 if { (ac_try="$ac_cpp conftest.$ac_ext" 5649 case "(($ac_try" in 5650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5651 *) ac_try_echo=$ac_try;; 5652 esac 5653 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5654 $as_echo "$ac_try_echo") >&5 5655 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5656 ac_status=$? 5657 grep -v '^ *+' conftest.er1 >conftest.err 5658 rm -f conftest.er1 5659 cat conftest.err >&5 5660 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5661 (exit $ac_status); } >/dev/null && { 5662 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5663 test ! -s conftest.err 5664 }; then 5665 ac_header_preproc=yes 5666 else 5667 $as_echo "$as_me: failed program was:" >&5 5668 sed 's/^/| /' conftest.$ac_ext >&5 5669 5670 ac_header_preproc=no 5671 fi 5672 5673 rm -f conftest.err conftest.$ac_ext 5674 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5675 $as_echo "$ac_header_preproc" >&6; } 5676 5677 # So? What about this header? 5678 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5679 yes:no: ) 5680 { $as_echo "$as_me:$LINENO: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&5 5681 $as_echo "$as_me: WARNING: ctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5682 { $as_echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the compiler's result" >&5 5683 $as_echo "$as_me: WARNING: ctype.h: proceeding with the compiler's result" >&2;} 5684 ac_header_preproc=yes 5685 ;; 5686 no:yes:* ) 5687 { $as_echo "$as_me:$LINENO: WARNING: ctype.h: present but cannot be compiled" >&5 5688 $as_echo "$as_me: WARNING: ctype.h: present but cannot be compiled" >&2;} 5689 { $as_echo "$as_me:$LINENO: WARNING: ctype.h: check for missing prerequisite headers?" >&5 5690 $as_echo "$as_me: WARNING: ctype.h: check for missing prerequisite headers?" >&2;} 5691 { $as_echo "$as_me:$LINENO: WARNING: ctype.h: see the Autoconf documentation" >&5 5692 $as_echo "$as_me: WARNING: ctype.h: see the Autoconf documentation" >&2;} 5693 { $as_echo "$as_me:$LINENO: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&5 5694 $as_echo "$as_me: WARNING: ctype.h: section \"Present But Cannot Be Compiled\"" >&2;} 5695 { $as_echo "$as_me:$LINENO: WARNING: ctype.h: proceeding with the preprocessor's result" >&5 5696 $as_echo "$as_me: WARNING: ctype.h: proceeding with the preprocessor's result" >&2;} 5697 { $as_echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 5698 $as_echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 5699 5700 ;; 5701 esac 5702 { $as_echo "$as_me:$LINENO: checking for ctype.h" >&5 5703 $as_echo_n "checking for ctype.h... " >&6; } 5704 if test "${ac_cv_header_ctype_h+set}" = set; then 5705 $as_echo_n "(cached) " >&6 5706 else 5707 ac_cv_header_ctype_h=$ac_header_preproc 5708 fi 5709 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5710 $as_echo "$ac_cv_header_ctype_h" >&6; } 5711 5712 fi 5713 if test $ac_cv_header_ctype_h = yes; then 5714 cat >>confdefs.h <<\_ACEOF 5715 #define PJ_HAS_CTYPE_H 1 5716 _ACEOF 4511 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 4512 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 4513 $as_echo "#define PJ_HAS_ARPA_INET_H 1" >>confdefs.h 4514 4515 fi 4516 4517 4518 ac_fn_c_check_header_mongrel "$LINENO" "assert.h" "ac_cv_header_assert_h" "$ac_includes_default" 4519 if test "x$ac_cv_header_assert_h" = x""yes; then : 4520 $as_echo "#define PJ_HAS_ASSERT_H 1" >>confdefs.h 4521 4522 fi 4523 4524 4525 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default" 4526 if test "x$ac_cv_header_ctype_h" = x""yes; then : 4527 $as_echo "#define PJ_HAS_CTYPE_H 1" >>confdefs.h 5717 4528 5718 4529 fi … … 5722 4533 case $target in 5723 4534 *mingw* | *cygw* | *win32* | *w32* ) 5724 cat >>confdefs.h <<\_ACEOF 5725 #define PJ_HAS_ERRNO_H 0 5726 _ACEOF 4535 $as_echo "#define PJ_HAS_ERRNO_H 0" >>confdefs.h 5727 4536 5728 4537 ;; 5729 4538 *) 5730 if test "${ac_cv_header_errno_h+set}" = set; then 5731 { $as_echo "$as_me:$LINENO: checking for errno.h" >&5 5732 $as_echo_n "checking for errno.h... " >&6; } 5733 if test "${ac_cv_header_errno_h+set}" = set; then 5734 $as_echo_n "(cached) " >&6 5735 fi 5736 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5737 $as_echo "$ac_cv_header_errno_h" >&6; } 5738 else 5739 # Is the header compilable? 5740 { $as_echo "$as_me:$LINENO: checking errno.h usability" >&5 5741 $as_echo_n "checking errno.h usability... " >&6; } 5742 cat >conftest.$ac_ext <<_ACEOF 5743 /* confdefs.h. */ 5744 _ACEOF 5745 cat confdefs.h >>conftest.$ac_ext 5746 cat >>conftest.$ac_ext <<_ACEOF 5747 /* end confdefs.h. */ 5748 $ac_includes_default 5749 #include <errno.h> 5750 _ACEOF 5751 rm -f conftest.$ac_objext 5752 if { (ac_try="$ac_compile" 5753 case "(($ac_try" in 5754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5755 *) ac_try_echo=$ac_try;; 5756 esac 5757 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5758 $as_echo "$ac_try_echo") >&5 5759 (eval "$ac_compile") 2>conftest.er1 5760 ac_status=$? 5761 grep -v '^ *+' conftest.er1 >conftest.err 5762 rm -f conftest.er1 5763 cat conftest.err >&5 5764 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5765 (exit $ac_status); } && { 5766 test -z "$ac_c_werror_flag" || 5767 test ! -s conftest.err 5768 } && test -s conftest.$ac_objext; then 5769 ac_header_compiler=yes 5770 else 5771 $as_echo "$as_me: failed program was:" >&5 5772 sed 's/^/| /' conftest.$ac_ext >&5 5773 5774 ac_header_compiler=no 5775 fi 5776 5777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5778 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5779 $as_echo "$ac_header_compiler" >&6; } 5780 5781 # Is the header present? 5782 { $as_echo "$as_me:$LINENO: checking errno.h presence" >&5 5783 $as_echo_n "checking errno.h presence... " >&6; } 5784 cat >conftest.$ac_ext <<_ACEOF 5785 /* confdefs.h. */ 5786 _ACEOF 5787 cat confdefs.h >>conftest.$ac_ext 5788 cat >>conftest.$ac_ext <<_ACEOF 5789 /* end confdefs.h. */ 5790 #include <errno.h> 5791 _ACEOF 5792 if { (ac_try="$ac_cpp conftest.$ac_ext" 5793 case "(($ac_try" in 5794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5795 *) ac_try_echo=$ac_try;; 5796 esac 5797 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5798 $as_echo "$ac_try_echo") >&5 5799 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5800 ac_status=$? 5801 grep -v '^ *+' conftest.er1 >conftest.err 5802 rm -f conftest.er1 5803 cat conftest.err >&5 5804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5805 (exit $ac_status); } >/dev/null && { 5806 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5807 test ! -s conftest.err 5808 }; then 5809 ac_header_preproc=yes 5810 else 5811 $as_echo "$as_me: failed program was:" >&5 5812 sed 's/^/| /' conftest.$ac_ext >&5 5813 5814 ac_header_preproc=no 5815 fi 5816 5817 rm -f conftest.err conftest.$ac_ext 5818 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5819 $as_echo "$ac_header_preproc" >&6; } 5820 5821 # So? What about this header? 5822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5823 yes:no: ) 5824 { $as_echo "$as_me:$LINENO: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&5 5825 $as_echo "$as_me: WARNING: errno.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5826 { $as_echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the compiler's result" >&5 5827 $as_echo "$as_me: WARNING: errno.h: proceeding with the compiler's result" >&2;} 5828 ac_header_preproc=yes 5829 ;; 5830 no:yes:* ) 5831 { $as_echo "$as_me:$LINENO: WARNING: errno.h: present but cannot be compiled" >&5 5832 $as_echo "$as_me: WARNING: errno.h: present but cannot be compiled" >&2;} 5833 { $as_echo "$as_me:$LINENO: WARNING: errno.h: check for missing prerequisite headers?" >&5 5834 $as_echo "$as_me: WARNING: errno.h: check for missing prerequisite headers?" >&2;} 5835 { $as_echo "$as_me:$LINENO: WARNING: errno.h: see the Autoconf documentation" >&5 5836 $as_echo "$as_me: WARNING: errno.h: see the Autoconf documentation" >&2;} 5837 { $as_echo "$as_me:$LINENO: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&5 5838 $as_echo "$as_me: WARNING: errno.h: section \"Present But Cannot Be Compiled\"" >&2;} 5839 { $as_echo "$as_me:$LINENO: WARNING: errno.h: proceeding with the preprocessor's result" >&5 5840 $as_echo "$as_me: WARNING: errno.h: proceeding with the preprocessor's result" >&2;} 5841 { $as_echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 5842 $as_echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 5843 5844 ;; 5845 esac 5846 { $as_echo "$as_me:$LINENO: checking for errno.h" >&5 5847 $as_echo_n "checking for errno.h... " >&6; } 5848 if test "${ac_cv_header_errno_h+set}" = set; then 5849 $as_echo_n "(cached) " >&6 5850 else 5851 ac_cv_header_errno_h=$ac_header_preproc 5852 fi 5853 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 5854 $as_echo "$ac_cv_header_errno_h" >&6; } 5855 5856 fi 5857 if test $ac_cv_header_errno_h = yes; then 5858 cat >>confdefs.h <<\_ACEOF 5859 #define PJ_HAS_ERRNO_H 1 5860 _ACEOF 4539 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 4540 if test "x$ac_cv_header_errno_h" = x""yes; then : 4541 $as_echo "#define PJ_HAS_ERRNO_H 1" >>confdefs.h 5861 4542 5862 4543 fi … … 5866 4547 esac 5867 4548 5868 if test "${ac_cv_header_fcntl_h+set}" = set; then 5869 { $as_echo "$as_me:$LINENO: checking for fcntl.h" >&5 5870 $as_echo_n "checking for fcntl.h... " >&6; } 5871 if test "${ac_cv_header_fcntl_h+set}" = set; then 5872 $as_echo_n "(cached) " >&6 5873 fi 5874 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 5875 $as_echo "$ac_cv_header_fcntl_h" >&6; } 5876 else 5877 # Is the header compilable? 5878 { $as_echo "$as_me:$LINENO: checking fcntl.h usability" >&5 5879 $as_echo_n "checking fcntl.h usability... " >&6; } 5880 cat >conftest.$ac_ext <<_ACEOF 5881 /* confdefs.h. */ 5882 _ACEOF 5883 cat confdefs.h >>conftest.$ac_ext 5884 cat >>conftest.$ac_ext <<_ACEOF 5885 /* end confdefs.h. */ 5886 $ac_includes_default 5887 #include <fcntl.h> 5888 _ACEOF 5889 rm -f conftest.$ac_objext 5890 if { (ac_try="$ac_compile" 5891 case "(($ac_try" in 5892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5893 *) ac_try_echo=$ac_try;; 5894 esac 5895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5896 $as_echo "$ac_try_echo") >&5 5897 (eval "$ac_compile") 2>conftest.er1 5898 ac_status=$? 5899 grep -v '^ *+' conftest.er1 >conftest.err 5900 rm -f conftest.er1 5901 cat conftest.err >&5 5902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5903 (exit $ac_status); } && { 5904 test -z "$ac_c_werror_flag" || 5905 test ! -s conftest.err 5906 } && test -s conftest.$ac_objext; then 5907 ac_header_compiler=yes 5908 else 5909 $as_echo "$as_me: failed program was:" >&5 5910 sed 's/^/| /' conftest.$ac_ext >&5 5911 5912 ac_header_compiler=no 5913 fi 5914 5915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5916 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5917 $as_echo "$ac_header_compiler" >&6; } 5918 5919 # Is the header present? 5920 { $as_echo "$as_me:$LINENO: checking fcntl.h presence" >&5 5921 $as_echo_n "checking fcntl.h presence... " >&6; } 5922 cat >conftest.$ac_ext <<_ACEOF 5923 /* confdefs.h. */ 5924 _ACEOF 5925 cat confdefs.h >>conftest.$ac_ext 5926 cat >>conftest.$ac_ext <<_ACEOF 5927 /* end confdefs.h. */ 5928 #include <fcntl.h> 5929 _ACEOF 5930 if { (ac_try="$ac_cpp conftest.$ac_ext" 5931 case "(($ac_try" in 5932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5933 *) ac_try_echo=$ac_try;; 5934 esac 5935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 5936 $as_echo "$ac_try_echo") >&5 5937 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5938 ac_status=$? 5939 grep -v '^ *+' conftest.er1 >conftest.err 5940 rm -f conftest.er1 5941 cat conftest.err >&5 5942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 5943 (exit $ac_status); } >/dev/null && { 5944 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5945 test ! -s conftest.err 5946 }; then 5947 ac_header_preproc=yes 5948 else 5949 $as_echo "$as_me: failed program was:" >&5 5950 sed 's/^/| /' conftest.$ac_ext >&5 5951 5952 ac_header_preproc=no 5953 fi 5954 5955 rm -f conftest.err conftest.$ac_ext 5956 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5957 $as_echo "$ac_header_preproc" >&6; } 5958 5959 # So? What about this header? 5960 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5961 yes:no: ) 5962 { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&5 5963 $as_echo "$as_me: WARNING: fcntl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 5964 { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the compiler's result" >&5 5965 $as_echo "$as_me: WARNING: fcntl.h: proceeding with the compiler's result" >&2;} 5966 ac_header_preproc=yes 5967 ;; 5968 no:yes:* ) 5969 { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: present but cannot be compiled" >&5 5970 $as_echo "$as_me: WARNING: fcntl.h: present but cannot be compiled" >&2;} 5971 { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: check for missing prerequisite headers?" >&5 5972 $as_echo "$as_me: WARNING: fcntl.h: check for missing prerequisite headers?" >&2;} 5973 { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: see the Autoconf documentation" >&5 5974 $as_echo "$as_me: WARNING: fcntl.h: see the Autoconf documentation" >&2;} 5975 { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: section \"Present But Cannot Be Compiled\"" >&5 5976 $as_echo "$as_me: WARNING: fcntl.h: section \"Present But Cannot Be Compiled\"" >&2;} 5977 { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: proceeding with the preprocessor's result" >&5 5978 $as_echo "$as_me: WARNING: fcntl.h: proceeding with the preprocessor's result" >&2;} 5979 { $as_echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 5980 $as_echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 5981 5982 ;; 5983 esac 5984 { $as_echo "$as_me:$LINENO: checking for fcntl.h" >&5 5985 $as_echo_n "checking for fcntl.h... " >&6; } 5986 if test "${ac_cv_header_fcntl_h+set}" = set; then 5987 $as_echo_n "(cached) " >&6 5988 else 5989 ac_cv_header_fcntl_h=$ac_header_preproc 5990 fi 5991 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 5992 $as_echo "$ac_cv_header_fcntl_h" >&6; } 5993 5994 fi 5995 if test $ac_cv_header_fcntl_h = yes; then 5996 cat >>confdefs.h <<\_ACEOF 5997 #define PJ_HAS_FCNTL_H 1 5998 _ACEOF 5999 6000 fi 6001 6002 6003 if test "${ac_cv_header_linux_socket_h+set}" = set; then 6004 { $as_echo "$as_me:$LINENO: checking for linux/socket.h" >&5 6005 $as_echo_n "checking for linux/socket.h... " >&6; } 6006 if test "${ac_cv_header_linux_socket_h+set}" = set; then 6007 $as_echo_n "(cached) " >&6 6008 fi 6009 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 6010 $as_echo "$ac_cv_header_linux_socket_h" >&6; } 6011 else 6012 # Is the header compilable? 6013 { $as_echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 6014 $as_echo_n "checking linux/socket.h usability... " >&6; } 6015 cat >conftest.$ac_ext <<_ACEOF 6016 /* confdefs.h. */ 6017 _ACEOF 6018 cat confdefs.h >>conftest.$ac_ext 6019 cat >>conftest.$ac_ext <<_ACEOF 6020 /* end confdefs.h. */ 6021 $ac_includes_default 6022 #include <linux/socket.h> 6023 _ACEOF 6024 rm -f conftest.$ac_objext 6025 if { (ac_try="$ac_compile" 6026 case "(($ac_try" in 6027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6028 *) ac_try_echo=$ac_try;; 6029 esac 6030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6031 $as_echo "$ac_try_echo") >&5 6032 (eval "$ac_compile") 2>conftest.er1 6033 ac_status=$? 6034 grep -v '^ *+' conftest.er1 >conftest.err 6035 rm -f conftest.er1 6036 cat conftest.err >&5 6037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6038 (exit $ac_status); } && { 6039 test -z "$ac_c_werror_flag" || 6040 test ! -s conftest.err 6041 } && test -s conftest.$ac_objext; then 6042 ac_header_compiler=yes 6043 else 6044 $as_echo "$as_me: failed program was:" >&5 6045 sed 's/^/| /' conftest.$ac_ext >&5 6046 6047 ac_header_compiler=no 6048 fi 6049 6050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6051 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6052 $as_echo "$ac_header_compiler" >&6; } 6053 6054 # Is the header present? 6055 { $as_echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 6056 $as_echo_n "checking linux/socket.h presence... " >&6; } 6057 cat >conftest.$ac_ext <<_ACEOF 6058 /* confdefs.h. */ 6059 _ACEOF 6060 cat confdefs.h >>conftest.$ac_ext 6061 cat >>conftest.$ac_ext <<_ACEOF 6062 /* end confdefs.h. */ 6063 #include <linux/socket.h> 6064 _ACEOF 6065 if { (ac_try="$ac_cpp conftest.$ac_ext" 6066 case "(($ac_try" in 6067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6068 *) ac_try_echo=$ac_try;; 6069 esac 6070 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6071 $as_echo "$ac_try_echo") >&5 6072 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6073 ac_status=$? 6074 grep -v '^ *+' conftest.er1 >conftest.err 6075 rm -f conftest.er1 6076 cat conftest.err >&5 6077 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6078 (exit $ac_status); } >/dev/null && { 6079 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6080 test ! -s conftest.err 6081 }; then 6082 ac_header_preproc=yes 6083 else 6084 $as_echo "$as_me: failed program was:" >&5 6085 sed 's/^/| /' conftest.$ac_ext >&5 6086 6087 ac_header_preproc=no 6088 fi 6089 6090 rm -f conftest.err conftest.$ac_ext 6091 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6092 $as_echo "$ac_header_preproc" >&6; } 6093 6094 # So? What about this header? 6095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6096 yes:no: ) 6097 { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 6098 $as_echo "$as_me: WARNING: linux/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6099 { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the compiler's result" >&5 6100 $as_echo "$as_me: WARNING: linux/socket.h: proceeding with the compiler's result" >&2;} 6101 ac_header_preproc=yes 6102 ;; 6103 no:yes:* ) 6104 { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: present but cannot be compiled" >&5 6105 $as_echo "$as_me: WARNING: linux/socket.h: present but cannot be compiled" >&2;} 6106 { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: check for missing prerequisite headers?" >&5 6107 $as_echo "$as_me: WARNING: linux/socket.h: check for missing prerequisite headers?" >&2;} 6108 { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: see the Autoconf documentation" >&5 6109 $as_echo "$as_me: WARNING: linux/socket.h: see the Autoconf documentation" >&2;} 6110 { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: section \"Present But Cannot Be Compiled\"" >&5 6111 $as_echo "$as_me: WARNING: linux/socket.h: section \"Present But Cannot Be Compiled\"" >&2;} 6112 { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&5 6113 $as_echo "$as_me: WARNING: linux/socket.h: proceeding with the preprocessor's result" >&2;} 6114 { $as_echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 6115 $as_echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 6116 6117 ;; 6118 esac 6119 { $as_echo "$as_me:$LINENO: checking for linux/socket.h" >&5 6120 $as_echo_n "checking for linux/socket.h... " >&6; } 6121 if test "${ac_cv_header_linux_socket_h+set}" = set; then 6122 $as_echo_n "(cached) " >&6 6123 else 6124 ac_cv_header_linux_socket_h=$ac_header_preproc 6125 fi 6126 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 6127 $as_echo "$ac_cv_header_linux_socket_h" >&6; } 6128 6129 fi 6130 if test $ac_cv_header_linux_socket_h = yes; then 6131 cat >>confdefs.h <<\_ACEOF 6132 #define PJ_HAS_LINUX_SOCKET_H 1 6133 _ACEOF 6134 6135 fi 6136 6137 6138 if test "${ac_cv_header_malloc_h+set}" = set; then 6139 { $as_echo "$as_me:$LINENO: checking for malloc.h" >&5 6140 $as_echo_n "checking for malloc.h... " >&6; } 6141 if test "${ac_cv_header_malloc_h+set}" = set; then 6142 $as_echo_n "(cached) " >&6 6143 fi 6144 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 6145 $as_echo "$ac_cv_header_malloc_h" >&6; } 6146 else 6147 # Is the header compilable? 6148 { $as_echo "$as_me:$LINENO: checking malloc.h usability" >&5 6149 $as_echo_n "checking malloc.h usability... " >&6; } 6150 cat >conftest.$ac_ext <<_ACEOF 6151 /* confdefs.h. */ 6152 _ACEOF 6153 cat confdefs.h >>conftest.$ac_ext 6154 cat >>conftest.$ac_ext <<_ACEOF 6155 /* end confdefs.h. */ 6156 $ac_includes_default 6157 #include <malloc.h> 6158 _ACEOF 6159 rm -f conftest.$ac_objext 6160 if { (ac_try="$ac_compile" 6161 case "(($ac_try" in 6162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6163 *) ac_try_echo=$ac_try;; 6164 esac 6165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6166 $as_echo "$ac_try_echo") >&5 6167 (eval "$ac_compile") 2>conftest.er1 6168 ac_status=$? 6169 grep -v '^ *+' conftest.er1 >conftest.err 6170 rm -f conftest.er1 6171 cat conftest.err >&5 6172 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6173 (exit $ac_status); } && { 6174 test -z "$ac_c_werror_flag" || 6175 test ! -s conftest.err 6176 } && test -s conftest.$ac_objext; then 6177 ac_header_compiler=yes 6178 else 6179 $as_echo "$as_me: failed program was:" >&5 6180 sed 's/^/| /' conftest.$ac_ext >&5 6181 6182 ac_header_compiler=no 6183 fi 6184 6185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6186 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6187 $as_echo "$ac_header_compiler" >&6; } 6188 6189 # Is the header present? 6190 { $as_echo "$as_me:$LINENO: checking malloc.h presence" >&5 6191 $as_echo_n "checking malloc.h presence... " >&6; } 6192 cat >conftest.$ac_ext <<_ACEOF 6193 /* confdefs.h. */ 6194 _ACEOF 6195 cat confdefs.h >>conftest.$ac_ext 6196 cat >>conftest.$ac_ext <<_ACEOF 6197 /* end confdefs.h. */ 6198 #include <malloc.h> 6199 _ACEOF 6200 if { (ac_try="$ac_cpp conftest.$ac_ext" 6201 case "(($ac_try" in 6202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6203 *) ac_try_echo=$ac_try;; 6204 esac 6205 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6206 $as_echo "$ac_try_echo") >&5 6207 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6208 ac_status=$? 6209 grep -v '^ *+' conftest.er1 >conftest.err 6210 rm -f conftest.er1 6211 cat conftest.err >&5 6212 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6213 (exit $ac_status); } >/dev/null && { 6214 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6215 test ! -s conftest.err 6216 }; then 6217 ac_header_preproc=yes 6218 else 6219 $as_echo "$as_me: failed program was:" >&5 6220 sed 's/^/| /' conftest.$ac_ext >&5 6221 6222 ac_header_preproc=no 6223 fi 6224 6225 rm -f conftest.err conftest.$ac_ext 6226 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6227 $as_echo "$ac_header_preproc" >&6; } 6228 6229 # So? What about this header? 6230 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6231 yes:no: ) 6232 { $as_echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 6233 $as_echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6234 { $as_echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the compiler's result" >&5 6235 $as_echo "$as_me: WARNING: malloc.h: proceeding with the compiler's result" >&2;} 6236 ac_header_preproc=yes 6237 ;; 6238 no:yes:* ) 6239 { $as_echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 6240 $as_echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} 6241 { $as_echo "$as_me:$LINENO: WARNING: malloc.h: check for missing prerequisite headers?" >&5 6242 $as_echo "$as_me: WARNING: malloc.h: check for missing prerequisite headers?" >&2;} 6243 { $as_echo "$as_me:$LINENO: WARNING: malloc.h: see the Autoconf documentation" >&5 6244 $as_echo "$as_me: WARNING: malloc.h: see the Autoconf documentation" >&2;} 6245 { $as_echo "$as_me:$LINENO: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&5 6246 $as_echo "$as_me: WARNING: malloc.h: section \"Present But Cannot Be Compiled\"" >&2;} 6247 { $as_echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 6248 $as_echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;} 6249 { $as_echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 6250 $as_echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 6251 6252 ;; 6253 esac 6254 { $as_echo "$as_me:$LINENO: checking for malloc.h" >&5 6255 $as_echo_n "checking for malloc.h... " >&6; } 6256 if test "${ac_cv_header_malloc_h+set}" = set; then 6257 $as_echo_n "(cached) " >&6 6258 else 6259 ac_cv_header_malloc_h=$ac_header_preproc 6260 fi 6261 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 6262 $as_echo "$ac_cv_header_malloc_h" >&6; } 6263 6264 fi 6265 if test $ac_cv_header_malloc_h = yes; then 6266 cat >>confdefs.h <<\_ACEOF 6267 #define PJ_HAS_MALLOC_H 1 6268 _ACEOF 6269 6270 fi 6271 6272 6273 if test "${ac_cv_header_netdb_h+set}" = set; then 6274 { $as_echo "$as_me:$LINENO: checking for netdb.h" >&5 6275 $as_echo_n "checking for netdb.h... " >&6; } 6276 if test "${ac_cv_header_netdb_h+set}" = set; then 6277 $as_echo_n "(cached) " >&6 6278 fi 6279 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 6280 $as_echo "$ac_cv_header_netdb_h" >&6; } 6281 else 6282 # Is the header compilable? 6283 { $as_echo "$as_me:$LINENO: checking netdb.h usability" >&5 6284 $as_echo_n "checking netdb.h usability... " >&6; } 6285 cat >conftest.$ac_ext <<_ACEOF 6286 /* confdefs.h. */ 6287 _ACEOF 6288 cat confdefs.h >>conftest.$ac_ext 6289 cat >>conftest.$ac_ext <<_ACEOF 6290 /* end confdefs.h. */ 6291 $ac_includes_default 6292 #include <netdb.h> 6293 _ACEOF 6294 rm -f conftest.$ac_objext 6295 if { (ac_try="$ac_compile" 6296 case "(($ac_try" in 6297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6298 *) ac_try_echo=$ac_try;; 6299 esac 6300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6301 $as_echo "$ac_try_echo") >&5 6302 (eval "$ac_compile") 2>conftest.er1 6303 ac_status=$? 6304 grep -v '^ *+' conftest.er1 >conftest.err 6305 rm -f conftest.er1 6306 cat conftest.err >&5 6307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6308 (exit $ac_status); } && { 6309 test -z "$ac_c_werror_flag" || 6310 test ! -s conftest.err 6311 } && test -s conftest.$ac_objext; then 6312 ac_header_compiler=yes 6313 else 6314 $as_echo "$as_me: failed program was:" >&5 6315 sed 's/^/| /' conftest.$ac_ext >&5 6316 6317 ac_header_compiler=no 6318 fi 6319 6320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6321 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6322 $as_echo "$ac_header_compiler" >&6; } 6323 6324 # Is the header present? 6325 { $as_echo "$as_me:$LINENO: checking netdb.h presence" >&5 6326 $as_echo_n "checking netdb.h presence... " >&6; } 6327 cat >conftest.$ac_ext <<_ACEOF 6328 /* confdefs.h. */ 6329 _ACEOF 6330 cat confdefs.h >>conftest.$ac_ext 6331 cat >>conftest.$ac_ext <<_ACEOF 6332 /* end confdefs.h. */ 6333 #include <netdb.h> 6334 _ACEOF 6335 if { (ac_try="$ac_cpp conftest.$ac_ext" 6336 case "(($ac_try" in 6337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6338 *) ac_try_echo=$ac_try;; 6339 esac 6340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6341 $as_echo "$ac_try_echo") >&5 6342 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6343 ac_status=$? 6344 grep -v '^ *+' conftest.er1 >conftest.err 6345 rm -f conftest.er1 6346 cat conftest.err >&5 6347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6348 (exit $ac_status); } >/dev/null && { 6349 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6350 test ! -s conftest.err 6351 }; then 6352 ac_header_preproc=yes 6353 else 6354 $as_echo "$as_me: failed program was:" >&5 6355 sed 's/^/| /' conftest.$ac_ext >&5 6356 6357 ac_header_preproc=no 6358 fi 6359 6360 rm -f conftest.err conftest.$ac_ext 6361 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6362 $as_echo "$ac_header_preproc" >&6; } 6363 6364 # So? What about this header? 6365 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6366 yes:no: ) 6367 { $as_echo "$as_me:$LINENO: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&5 6368 $as_echo "$as_me: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6369 { $as_echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the compiler's result" >&5 6370 $as_echo "$as_me: WARNING: netdb.h: proceeding with the compiler's result" >&2;} 6371 ac_header_preproc=yes 6372 ;; 6373 no:yes:* ) 6374 { $as_echo "$as_me:$LINENO: WARNING: netdb.h: present but cannot be compiled" >&5 6375 $as_echo "$as_me: WARNING: netdb.h: present but cannot be compiled" >&2;} 6376 { $as_echo "$as_me:$LINENO: WARNING: netdb.h: check for missing prerequisite headers?" >&5 6377 $as_echo "$as_me: WARNING: netdb.h: check for missing prerequisite headers?" >&2;} 6378 { $as_echo "$as_me:$LINENO: WARNING: netdb.h: see the Autoconf documentation" >&5 6379 $as_echo "$as_me: WARNING: netdb.h: see the Autoconf documentation" >&2;} 6380 { $as_echo "$as_me:$LINENO: WARNING: netdb.h: section \"Present But Cannot Be Compiled\"" >&5 6381 $as_echo "$as_me: WARNING: netdb.h: section \"Present But Cannot Be Compiled\"" >&2;} 6382 { $as_echo "$as_me:$LINENO: WARNING: netdb.h: proceeding with the preprocessor's result" >&5 6383 $as_echo "$as_me: WARNING: netdb.h: proceeding with the preprocessor's result" >&2;} 6384 { $as_echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 6385 $as_echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 6386 6387 ;; 6388 esac 6389 { $as_echo "$as_me:$LINENO: checking for netdb.h" >&5 6390 $as_echo_n "checking for netdb.h... " >&6; } 6391 if test "${ac_cv_header_netdb_h+set}" = set; then 6392 $as_echo_n "(cached) " >&6 6393 else 6394 ac_cv_header_netdb_h=$ac_header_preproc 6395 fi 6396 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 6397 $as_echo "$ac_cv_header_netdb_h" >&6; } 6398 6399 fi 6400 if test $ac_cv_header_netdb_h = yes; then 6401 cat >>confdefs.h <<\_ACEOF 6402 #define PJ_HAS_NETDB_H 1 6403 _ACEOF 6404 6405 fi 6406 6407 6408 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6409 { $as_echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 6410 $as_echo_n "checking for netinet/in_systm.h... " >&6; } 6411 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6412 $as_echo_n "(cached) " >&6 6413 fi 6414 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 6415 $as_echo "$ac_cv_header_netinet_in_systm_h" >&6; } 6416 else 6417 # Is the header compilable? 6418 { $as_echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&5 6419 $as_echo_n "checking netinet/in_systm.h usability... " >&6; } 6420 cat >conftest.$ac_ext <<_ACEOF 6421 /* confdefs.h. */ 6422 _ACEOF 6423 cat confdefs.h >>conftest.$ac_ext 6424 cat >>conftest.$ac_ext <<_ACEOF 6425 /* end confdefs.h. */ 6426 $ac_includes_default 6427 #include <netinet/in_systm.h> 6428 _ACEOF 6429 rm -f conftest.$ac_objext 6430 if { (ac_try="$ac_compile" 6431 case "(($ac_try" in 6432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6433 *) ac_try_echo=$ac_try;; 6434 esac 6435 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6436 $as_echo "$ac_try_echo") >&5 6437 (eval "$ac_compile") 2>conftest.er1 6438 ac_status=$? 6439 grep -v '^ *+' conftest.er1 >conftest.err 6440 rm -f conftest.er1 6441 cat conftest.err >&5 6442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6443 (exit $ac_status); } && { 6444 test -z "$ac_c_werror_flag" || 6445 test ! -s conftest.err 6446 } && test -s conftest.$ac_objext; then 6447 ac_header_compiler=yes 6448 else 6449 $as_echo "$as_me: failed program was:" >&5 6450 sed 's/^/| /' conftest.$ac_ext >&5 6451 6452 ac_header_compiler=no 6453 fi 6454 6455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6456 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6457 $as_echo "$ac_header_compiler" >&6; } 6458 6459 # Is the header present? 6460 { $as_echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&5 6461 $as_echo_n "checking netinet/in_systm.h presence... " >&6; } 6462 cat >conftest.$ac_ext <<_ACEOF 6463 /* confdefs.h. */ 6464 _ACEOF 6465 cat confdefs.h >>conftest.$ac_ext 6466 cat >>conftest.$ac_ext <<_ACEOF 6467 /* end confdefs.h. */ 6468 #include <netinet/in_systm.h> 6469 _ACEOF 6470 if { (ac_try="$ac_cpp conftest.$ac_ext" 6471 case "(($ac_try" in 6472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6473 *) ac_try_echo=$ac_try;; 6474 esac 6475 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6476 $as_echo "$ac_try_echo") >&5 6477 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6478 ac_status=$? 6479 grep -v '^ *+' conftest.er1 >conftest.err 6480 rm -f conftest.er1 6481 cat conftest.err >&5 6482 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6483 (exit $ac_status); } >/dev/null && { 6484 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6485 test ! -s conftest.err 6486 }; then 6487 ac_header_preproc=yes 6488 else 6489 $as_echo "$as_me: failed program was:" >&5 6490 sed 's/^/| /' conftest.$ac_ext >&5 6491 6492 ac_header_preproc=no 6493 fi 6494 6495 rm -f conftest.err conftest.$ac_ext 6496 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6497 $as_echo "$ac_header_preproc" >&6; } 6498 6499 # So? What about this header? 6500 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6501 yes:no: ) 6502 { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&5 6503 $as_echo "$as_me: WARNING: netinet/in_systm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6504 { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&5 6505 $as_echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the compiler's result" >&2;} 6506 ac_header_preproc=yes 6507 ;; 6508 no:yes:* ) 6509 { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: present but cannot be compiled" >&5 6510 $as_echo "$as_me: WARNING: netinet/in_systm.h: present but cannot be compiled" >&2;} 6511 { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: check for missing prerequisite headers?" >&5 6512 $as_echo "$as_me: WARNING: netinet/in_systm.h: check for missing prerequisite headers?" >&2;} 6513 { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&5 6514 $as_echo "$as_me: WARNING: netinet/in_systm.h: see the Autoconf documentation" >&2;} 6515 { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: section \"Present But Cannot Be Compiled\"" >&5 6516 $as_echo "$as_me: WARNING: netinet/in_systm.h: section \"Present But Cannot Be Compiled\"" >&2;} 6517 { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&5 6518 $as_echo "$as_me: WARNING: netinet/in_systm.h: proceeding with the preprocessor's result" >&2;} 6519 { $as_echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&5 6520 $as_echo "$as_me: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&2;} 6521 6522 ;; 6523 esac 6524 { $as_echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 6525 $as_echo_n "checking for netinet/in_systm.h... " >&6; } 6526 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6527 $as_echo_n "(cached) " >&6 6528 else 6529 ac_cv_header_netinet_in_systm_h=$ac_header_preproc 6530 fi 6531 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 6532 $as_echo "$ac_cv_header_netinet_in_systm_h" >&6; } 6533 6534 fi 6535 if test $ac_cv_header_netinet_in_systm_h = yes; then 6536 cat >>confdefs.h <<\_ACEOF 6537 #define PJ_HAS_NETINET_IN_SYSTM_H 1 6538 _ACEOF 6539 6540 fi 6541 6542 6543 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6544 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 6545 $as_echo_n "checking for netinet/in.h... " >&6; } 6546 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6547 $as_echo_n "(cached) " >&6 6548 fi 6549 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 6550 $as_echo "$ac_cv_header_netinet_in_h" >&6; } 6551 else 6552 # Is the header compilable? 6553 { $as_echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 6554 $as_echo_n "checking netinet/in.h usability... " >&6; } 6555 cat >conftest.$ac_ext <<_ACEOF 6556 /* confdefs.h. */ 6557 _ACEOF 6558 cat confdefs.h >>conftest.$ac_ext 6559 cat >>conftest.$ac_ext <<_ACEOF 6560 /* end confdefs.h. */ 6561 $ac_includes_default 6562 #include <netinet/in.h> 6563 _ACEOF 6564 rm -f conftest.$ac_objext 6565 if { (ac_try="$ac_compile" 6566 case "(($ac_try" in 6567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6568 *) ac_try_echo=$ac_try;; 6569 esac 6570 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6571 $as_echo "$ac_try_echo") >&5 6572 (eval "$ac_compile") 2>conftest.er1 6573 ac_status=$? 6574 grep -v '^ *+' conftest.er1 >conftest.err 6575 rm -f conftest.er1 6576 cat conftest.err >&5 6577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6578 (exit $ac_status); } && { 6579 test -z "$ac_c_werror_flag" || 6580 test ! -s conftest.err 6581 } && test -s conftest.$ac_objext; then 6582 ac_header_compiler=yes 6583 else 6584 $as_echo "$as_me: failed program was:" >&5 6585 sed 's/^/| /' conftest.$ac_ext >&5 6586 6587 ac_header_compiler=no 6588 fi 6589 6590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6591 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6592 $as_echo "$ac_header_compiler" >&6; } 6593 6594 # Is the header present? 6595 { $as_echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 6596 $as_echo_n "checking netinet/in.h presence... " >&6; } 6597 cat >conftest.$ac_ext <<_ACEOF 6598 /* confdefs.h. */ 6599 _ACEOF 6600 cat confdefs.h >>conftest.$ac_ext 6601 cat >>conftest.$ac_ext <<_ACEOF 6602 /* end confdefs.h. */ 6603 #include <netinet/in.h> 6604 _ACEOF 6605 if { (ac_try="$ac_cpp conftest.$ac_ext" 6606 case "(($ac_try" in 6607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6608 *) ac_try_echo=$ac_try;; 6609 esac 6610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6611 $as_echo "$ac_try_echo") >&5 6612 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6613 ac_status=$? 6614 grep -v '^ *+' conftest.er1 >conftest.err 6615 rm -f conftest.er1 6616 cat conftest.err >&5 6617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6618 (exit $ac_status); } >/dev/null && { 6619 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6620 test ! -s conftest.err 6621 }; then 6622 ac_header_preproc=yes 6623 else 6624 $as_echo "$as_me: failed program was:" >&5 6625 sed 's/^/| /' conftest.$ac_ext >&5 6626 6627 ac_header_preproc=no 6628 fi 6629 6630 rm -f conftest.err conftest.$ac_ext 6631 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6632 $as_echo "$ac_header_preproc" >&6; } 6633 6634 # So? What about this header? 6635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6636 yes:no: ) 6637 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5 6638 $as_echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6639 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5 6640 $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;} 6641 ac_header_preproc=yes 6642 ;; 6643 no:yes:* ) 6644 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5 6645 $as_echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;} 6646 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5 6647 $as_echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;} 6648 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5 6649 $as_echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;} 6650 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5 6651 $as_echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;} 6652 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5 6653 $as_echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;} 6654 { $as_echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 6655 $as_echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 6656 6657 ;; 6658 esac 6659 { $as_echo "$as_me:$LINENO: checking for netinet/in.h" >&5 6660 $as_echo_n "checking for netinet/in.h... " >&6; } 6661 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6662 $as_echo_n "(cached) " >&6 6663 else 6664 ac_cv_header_netinet_in_h=$ac_header_preproc 6665 fi 6666 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 6667 $as_echo "$ac_cv_header_netinet_in_h" >&6; } 6668 6669 fi 6670 if test $ac_cv_header_netinet_in_h = yes; then 6671 cat >>confdefs.h <<\_ACEOF 6672 #define PJ_HAS_NETINET_IN_H 1 6673 _ACEOF 6674 6675 fi 6676 6677 6678 { $as_echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 6679 $as_echo_n "checking for netinet/ip.h... " >&6; } 6680 if test "${ac_cv_header_netinet_ip_h+set}" = set; then 6681 $as_echo_n "(cached) " >&6 6682 else 6683 cat >conftest.$ac_ext <<_ACEOF 6684 /* confdefs.h. */ 6685 _ACEOF 6686 cat confdefs.h >>conftest.$ac_ext 6687 cat >>conftest.$ac_ext <<_ACEOF 6688 /* end confdefs.h. */ 6689 #if PJ_HAS_SYS_TYPES_H 4549 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default" 4550 if test "x$ac_cv_header_fcntl_h" = x""yes; then : 4551 $as_echo "#define PJ_HAS_FCNTL_H 1" >>confdefs.h 4552 4553 fi 4554 4555 4556 ac_fn_c_check_header_mongrel "$LINENO" "linux/socket.h" "ac_cv_header_linux_socket_h" "$ac_includes_default" 4557 if test "x$ac_cv_header_linux_socket_h" = x""yes; then : 4558 $as_echo "#define PJ_HAS_LINUX_SOCKET_H 1" >>confdefs.h 4559 4560 fi 4561 4562 4563 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default" 4564 if test "x$ac_cv_header_malloc_h" = x""yes; then : 4565 $as_echo "#define PJ_HAS_MALLOC_H 1" >>confdefs.h 4566 4567 fi 4568 4569 4570 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default" 4571 if test "x$ac_cv_header_netdb_h" = x""yes; then : 4572 $as_echo "#define PJ_HAS_NETDB_H 1" >>confdefs.h 4573 4574 fi 4575 4576 4577 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default" 4578 if test "x$ac_cv_header_netinet_in_systm_h" = x""yes; then : 4579 $as_echo "#define PJ_HAS_NETINET_IN_SYSTM_H 1" >>confdefs.h 4580 4581 fi 4582 4583 4584 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 4585 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 4586 $as_echo "#define PJ_HAS_NETINET_IN_H 1" >>confdefs.h 4587 4588 fi 4589 4590 4591 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#if PJ_HAS_SYS_TYPES_H 6690 4592 # include <sys/types.h> 6691 4593 #endif … … 6697 4599 #endif 6698 4600 6699 6700 #include <netinet/ip.h> 6701 _ACEOF 6702 rm -f conftest.$ac_objext 6703 if { (ac_try="$ac_compile" 6704 case "(($ac_try" in 6705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6706 *) ac_try_echo=$ac_try;; 6707 esac 6708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6709 $as_echo "$ac_try_echo") >&5 6710 (eval "$ac_compile") 2>conftest.er1 6711 ac_status=$? 6712 grep -v '^ *+' conftest.er1 >conftest.err 6713 rm -f conftest.er1 6714 cat conftest.err >&5 6715 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6716 (exit $ac_status); } && { 6717 test -z "$ac_c_werror_flag" || 6718 test ! -s conftest.err 6719 } && test -s conftest.$ac_objext; then 6720 ac_cv_header_netinet_ip_h=yes 6721 else 6722 $as_echo "$as_me: failed program was:" >&5 6723 sed 's/^/| /' conftest.$ac_ext >&5 6724 6725 ac_cv_header_netinet_ip_h=no 6726 fi 6727 6728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6729 fi 6730 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 6731 $as_echo "$ac_cv_header_netinet_ip_h" >&6; } 6732 if test $ac_cv_header_netinet_ip_h = yes; then 6733 cat >>confdefs.h <<\_ACEOF 6734 #define PJ_HAS_NETINET_IP_H 1 6735 _ACEOF 6736 6737 fi 6738 6739 6740 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6741 { $as_echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 6742 $as_echo_n "checking for netinet/tcp.h... " >&6; } 6743 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6744 $as_echo_n "(cached) " >&6 6745 fi 6746 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 6747 $as_echo "$ac_cv_header_netinet_tcp_h" >&6; } 6748 else 6749 # Is the header compilable? 6750 { $as_echo "$as_me:$LINENO: checking netinet/tcp.h usability" >&5 6751 $as_echo_n "checking netinet/tcp.h usability... " >&6; } 6752 cat >conftest.$ac_ext <<_ACEOF 6753 /* confdefs.h. */ 6754 _ACEOF 6755 cat confdefs.h >>conftest.$ac_ext 6756 cat >>conftest.$ac_ext <<_ACEOF 6757 /* end confdefs.h. */ 6758 $ac_includes_default 6759 #include <netinet/tcp.h> 6760 _ACEOF 6761 rm -f conftest.$ac_objext 6762 if { (ac_try="$ac_compile" 6763 case "(($ac_try" in 6764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6765 *) ac_try_echo=$ac_try;; 6766 esac 6767 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6768 $as_echo "$ac_try_echo") >&5 6769 (eval "$ac_compile") 2>conftest.er1 6770 ac_status=$? 6771 grep -v '^ *+' conftest.er1 >conftest.err 6772 rm -f conftest.er1 6773 cat conftest.err >&5 6774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6775 (exit $ac_status); } && { 6776 test -z "$ac_c_werror_flag" || 6777 test ! -s conftest.err 6778 } && test -s conftest.$ac_objext; then 6779 ac_header_compiler=yes 6780 else 6781 $as_echo "$as_me: failed program was:" >&5 6782 sed 's/^/| /' conftest.$ac_ext >&5 6783 6784 ac_header_compiler=no 6785 fi 6786 6787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6788 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6789 $as_echo "$ac_header_compiler" >&6; } 6790 6791 # Is the header present? 6792 { $as_echo "$as_me:$LINENO: checking netinet/tcp.h presence" >&5 6793 $as_echo_n "checking netinet/tcp.h presence... " >&6; } 6794 cat >conftest.$ac_ext <<_ACEOF 6795 /* confdefs.h. */ 6796 _ACEOF 6797 cat confdefs.h >>conftest.$ac_ext 6798 cat >>conftest.$ac_ext <<_ACEOF 6799 /* end confdefs.h. */ 6800 #include <netinet/tcp.h> 6801 _ACEOF 6802 if { (ac_try="$ac_cpp conftest.$ac_ext" 6803 case "(($ac_try" in 6804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6805 *) ac_try_echo=$ac_try;; 6806 esac 6807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6808 $as_echo "$ac_try_echo") >&5 6809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6810 ac_status=$? 6811 grep -v '^ *+' conftest.er1 >conftest.err 6812 rm -f conftest.er1 6813 cat conftest.err >&5 6814 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6815 (exit $ac_status); } >/dev/null && { 6816 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6817 test ! -s conftest.err 6818 }; then 6819 ac_header_preproc=yes 6820 else 6821 $as_echo "$as_me: failed program was:" >&5 6822 sed 's/^/| /' conftest.$ac_ext >&5 6823 6824 ac_header_preproc=no 6825 fi 6826 6827 rm -f conftest.err conftest.$ac_ext 6828 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6829 $as_echo "$ac_header_preproc" >&6; } 6830 6831 # So? What about this header? 6832 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6833 yes:no: ) 6834 { $as_echo "$as_me:$LINENO: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&5 6835 $as_echo "$as_me: WARNING: netinet/tcp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6836 { $as_echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&5 6837 $as_echo "$as_me: WARNING: netinet/tcp.h: proceeding with the compiler's result" >&2;} 6838 ac_header_preproc=yes 6839 ;; 6840 no:yes:* ) 6841 { $as_echo "$as_me:$LINENO: WARNING: netinet/tcp.h: present but cannot be compiled" >&5 6842 $as_echo "$as_me: WARNING: netinet/tcp.h: present but cannot be compiled" >&2;} 6843 { $as_echo "$as_me:$LINENO: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&5 6844 $as_echo "$as_me: WARNING: netinet/tcp.h: check for missing prerequisite headers?" >&2;} 6845 { $as_echo "$as_me:$LINENO: WARNING: netinet/tcp.h: see the Autoconf documentation" >&5 6846 $as_echo "$as_me: WARNING: netinet/tcp.h: see the Autoconf documentation" >&2;} 6847 { $as_echo "$as_me:$LINENO: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&5 6848 $as_echo "$as_me: WARNING: netinet/tcp.h: section \"Present But Cannot Be Compiled\"" >&2;} 6849 { $as_echo "$as_me:$LINENO: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&5 6850 $as_echo "$as_me: WARNING: netinet/tcp.h: proceeding with the preprocessor's result" >&2;} 6851 { $as_echo "$as_me:$LINENO: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&5 6852 $as_echo "$as_me: WARNING: netinet/tcp.h: in the future, the compiler will take precedence" >&2;} 6853 6854 ;; 6855 esac 6856 { $as_echo "$as_me:$LINENO: checking for netinet/tcp.h" >&5 6857 $as_echo_n "checking for netinet/tcp.h... " >&6; } 6858 if test "${ac_cv_header_netinet_tcp_h+set}" = set; then 6859 $as_echo_n "(cached) " >&6 6860 else 6861 ac_cv_header_netinet_tcp_h=$ac_header_preproc 6862 fi 6863 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_netinet_tcp_h" >&5 6864 $as_echo "$ac_cv_header_netinet_tcp_h" >&6; } 6865 6866 fi 6867 if test $ac_cv_header_netinet_tcp_h = yes; then 6868 cat >>confdefs.h <<\_ACEOF 6869 #define PJ_HAS_NETINET_TCP_H 1 6870 _ACEOF 6871 6872 fi 6873 6874 6875 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6876 { $as_echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 6877 $as_echo_n "checking for ifaddrs.h... " >&6; } 6878 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6879 $as_echo_n "(cached) " >&6 6880 fi 6881 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 6882 $as_echo "$ac_cv_header_ifaddrs_h" >&6; } 6883 else 6884 # Is the header compilable? 6885 { $as_echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 6886 $as_echo_n "checking ifaddrs.h usability... " >&6; } 6887 cat >conftest.$ac_ext <<_ACEOF 6888 /* confdefs.h. */ 6889 _ACEOF 6890 cat confdefs.h >>conftest.$ac_ext 6891 cat >>conftest.$ac_ext <<_ACEOF 6892 /* end confdefs.h. */ 6893 $ac_includes_default 6894 #include <ifaddrs.h> 6895 _ACEOF 6896 rm -f conftest.$ac_objext 6897 if { (ac_try="$ac_compile" 6898 case "(($ac_try" in 6899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6900 *) ac_try_echo=$ac_try;; 6901 esac 6902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6903 $as_echo "$ac_try_echo") >&5 6904 (eval "$ac_compile") 2>conftest.er1 6905 ac_status=$? 6906 grep -v '^ *+' conftest.er1 >conftest.err 6907 rm -f conftest.er1 6908 cat conftest.err >&5 6909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6910 (exit $ac_status); } && { 6911 test -z "$ac_c_werror_flag" || 6912 test ! -s conftest.err 6913 } && test -s conftest.$ac_objext; then 6914 ac_header_compiler=yes 6915 else 6916 $as_echo "$as_me: failed program was:" >&5 6917 sed 's/^/| /' conftest.$ac_ext >&5 6918 6919 ac_header_compiler=no 6920 fi 6921 6922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6923 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6924 $as_echo "$ac_header_compiler" >&6; } 6925 6926 # Is the header present? 6927 { $as_echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 6928 $as_echo_n "checking ifaddrs.h presence... " >&6; } 6929 cat >conftest.$ac_ext <<_ACEOF 6930 /* confdefs.h. */ 6931 _ACEOF 6932 cat confdefs.h >>conftest.$ac_ext 6933 cat >>conftest.$ac_ext <<_ACEOF 6934 /* end confdefs.h. */ 6935 #include <ifaddrs.h> 6936 _ACEOF 6937 if { (ac_try="$ac_cpp conftest.$ac_ext" 6938 case "(($ac_try" in 6939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6940 *) ac_try_echo=$ac_try;; 6941 esac 6942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 6943 $as_echo "$ac_try_echo") >&5 6944 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6945 ac_status=$? 6946 grep -v '^ *+' conftest.er1 >conftest.err 6947 rm -f conftest.er1 6948 cat conftest.err >&5 6949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 6950 (exit $ac_status); } >/dev/null && { 6951 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6952 test ! -s conftest.err 6953 }; then 6954 ac_header_preproc=yes 6955 else 6956 $as_echo "$as_me: failed program was:" >&5 6957 sed 's/^/| /' conftest.$ac_ext >&5 6958 6959 ac_header_preproc=no 6960 fi 6961 6962 rm -f conftest.err conftest.$ac_ext 6963 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6964 $as_echo "$ac_header_preproc" >&6; } 6965 6966 # So? What about this header? 6967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6968 yes:no: ) 6969 { $as_echo "$as_me:$LINENO: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&5 6970 $as_echo "$as_me: WARNING: ifaddrs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 6971 { $as_echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the compiler's result" >&5 6972 $as_echo "$as_me: WARNING: ifaddrs.h: proceeding with the compiler's result" >&2;} 6973 ac_header_preproc=yes 6974 ;; 6975 no:yes:* ) 6976 { $as_echo "$as_me:$LINENO: WARNING: ifaddrs.h: present but cannot be compiled" >&5 6977 $as_echo "$as_me: WARNING: ifaddrs.h: present but cannot be compiled" >&2;} 6978 { $as_echo "$as_me:$LINENO: WARNING: ifaddrs.h: check for missing prerequisite headers?" >&5 6979 $as_echo "$as_me: WARNING: ifaddrs.h: check for missing prerequisite headers?" >&2;} 6980 { $as_echo "$as_me:$LINENO: WARNING: ifaddrs.h: see the Autoconf documentation" >&5 6981 $as_echo "$as_me: WARNING: ifaddrs.h: see the Autoconf documentation" >&2;} 6982 { $as_echo "$as_me:$LINENO: WARNING: ifaddrs.h: section \"Present But Cannot Be Compiled\"" >&5 6983 $as_echo "$as_me: WARNING: ifaddrs.h: section \"Present But Cannot Be Compiled\"" >&2;} 6984 { $as_echo "$as_me:$LINENO: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&5 6985 $as_echo "$as_me: WARNING: ifaddrs.h: proceeding with the preprocessor's result" >&2;} 6986 { $as_echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5 6987 $as_echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;} 6988 6989 ;; 6990 esac 6991 { $as_echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 6992 $as_echo_n "checking for ifaddrs.h... " >&6; } 6993 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6994 $as_echo_n "(cached) " >&6 6995 else 6996 ac_cv_header_ifaddrs_h=$ac_header_preproc 6997 fi 6998 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 6999 $as_echo "$ac_cv_header_ifaddrs_h" >&6; } 7000 7001 fi 7002 if test $ac_cv_header_ifaddrs_h = yes; then 7003 cat >>confdefs.h <<\_ACEOF 7004 #define PJ_HAS_IFADDRS_H 1 7005 _ACEOF 7006 7007 fi 7008 7009 7010 if test "${ac_cv_header_semaphore_h+set}" = set; then 7011 { $as_echo "$as_me:$LINENO: checking for semaphore.h" >&5 7012 $as_echo_n "checking for semaphore.h... " >&6; } 7013 if test "${ac_cv_header_semaphore_h+set}" = set; then 7014 $as_echo_n "(cached) " >&6 7015 fi 7016 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 7017 $as_echo "$ac_cv_header_semaphore_h" >&6; } 7018 else 7019 # Is the header compilable? 7020 { $as_echo "$as_me:$LINENO: checking semaphore.h usability" >&5 7021 $as_echo_n "checking semaphore.h usability... " >&6; } 7022 cat >conftest.$ac_ext <<_ACEOF 7023 /* confdefs.h. */ 7024 _ACEOF 7025 cat confdefs.h >>conftest.$ac_ext 7026 cat >>conftest.$ac_ext <<_ACEOF 7027 /* end confdefs.h. */ 7028 $ac_includes_default 7029 #include <semaphore.h> 7030 _ACEOF 7031 rm -f conftest.$ac_objext 7032 if { (ac_try="$ac_compile" 7033 case "(($ac_try" in 7034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7035 *) ac_try_echo=$ac_try;; 7036 esac 7037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7038 $as_echo "$ac_try_echo") >&5 7039 (eval "$ac_compile") 2>conftest.er1 7040 ac_status=$? 7041 grep -v '^ *+' conftest.er1 >conftest.err 7042 rm -f conftest.er1 7043 cat conftest.err >&5 7044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7045 (exit $ac_status); } && { 7046 test -z "$ac_c_werror_flag" || 7047 test ! -s conftest.err 7048 } && test -s conftest.$ac_objext; then 7049 ac_header_compiler=yes 7050 else 7051 $as_echo "$as_me: failed program was:" >&5 7052 sed 's/^/| /' conftest.$ac_ext >&5 7053 7054 ac_header_compiler=no 7055 fi 7056 7057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7058 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7059 $as_echo "$ac_header_compiler" >&6; } 7060 7061 # Is the header present? 7062 { $as_echo "$as_me:$LINENO: checking semaphore.h presence" >&5 7063 $as_echo_n "checking semaphore.h presence... " >&6; } 7064 cat >conftest.$ac_ext <<_ACEOF 7065 /* confdefs.h. */ 7066 _ACEOF 7067 cat confdefs.h >>conftest.$ac_ext 7068 cat >>conftest.$ac_ext <<_ACEOF 7069 /* end confdefs.h. */ 7070 #include <semaphore.h> 7071 _ACEOF 7072 if { (ac_try="$ac_cpp conftest.$ac_ext" 7073 case "(($ac_try" in 7074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7075 *) ac_try_echo=$ac_try;; 7076 esac 7077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7078 $as_echo "$ac_try_echo") >&5 7079 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7080 ac_status=$? 7081 grep -v '^ *+' conftest.er1 >conftest.err 7082 rm -f conftest.er1 7083 cat conftest.err >&5 7084 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7085 (exit $ac_status); } >/dev/null && { 7086 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7087 test ! -s conftest.err 7088 }; then 7089 ac_header_preproc=yes 7090 else 7091 $as_echo "$as_me: failed program was:" >&5 7092 sed 's/^/| /' conftest.$ac_ext >&5 7093 7094 ac_header_preproc=no 7095 fi 7096 7097 rm -f conftest.err conftest.$ac_ext 7098 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7099 $as_echo "$ac_header_preproc" >&6; } 7100 7101 # So? What about this header? 7102 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7103 yes:no: ) 7104 { $as_echo "$as_me:$LINENO: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&5 7105 $as_echo "$as_me: WARNING: semaphore.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7106 { $as_echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the compiler's result" >&5 7107 $as_echo "$as_me: WARNING: semaphore.h: proceeding with the compiler's result" >&2;} 7108 ac_header_preproc=yes 7109 ;; 7110 no:yes:* ) 7111 { $as_echo "$as_me:$LINENO: WARNING: semaphore.h: present but cannot be compiled" >&5 7112 $as_echo "$as_me: WARNING: semaphore.h: present but cannot be compiled" >&2;} 7113 { $as_echo "$as_me:$LINENO: WARNING: semaphore.h: check for missing prerequisite headers?" >&5 7114 $as_echo "$as_me: WARNING: semaphore.h: check for missing prerequisite headers?" >&2;} 7115 { $as_echo "$as_me:$LINENO: WARNING: semaphore.h: see the Autoconf documentation" >&5 7116 $as_echo "$as_me: WARNING: semaphore.h: see the Autoconf documentation" >&2;} 7117 { $as_echo "$as_me:$LINENO: WARNING: semaphore.h: section \"Present But Cannot Be Compiled\"" >&5 7118 $as_echo "$as_me: WARNING: semaphore.h: section \"Present But Cannot Be Compiled\"" >&2;} 7119 { $as_echo "$as_me:$LINENO: WARNING: semaphore.h: proceeding with the preprocessor's result" >&5 7120 $as_echo "$as_me: WARNING: semaphore.h: proceeding with the preprocessor's result" >&2;} 7121 { $as_echo "$as_me:$LINENO: WARNING: semaphore.h: in the future, the compiler will take precedence" >&5 7122 $as_echo "$as_me: WARNING: semaphore.h: in the future, the compiler will take precedence" >&2;} 7123 7124 ;; 7125 esac 7126 { $as_echo "$as_me:$LINENO: checking for semaphore.h" >&5 7127 $as_echo_n "checking for semaphore.h... " >&6; } 7128 if test "${ac_cv_header_semaphore_h+set}" = set; then 7129 $as_echo_n "(cached) " >&6 7130 else 7131 ac_cv_header_semaphore_h=$ac_header_preproc 7132 fi 7133 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 7134 $as_echo "$ac_cv_header_semaphore_h" >&6; } 7135 7136 fi 7137 if test $ac_cv_header_semaphore_h = yes; then 7138 cat >>confdefs.h <<\_ACEOF 7139 #define PJ_HAS_SEMAPHORE_H 1 7140 _ACEOF 7141 7142 fi 7143 7144 7145 if test "${ac_cv_header_setjmp_h+set}" = set; then 7146 { $as_echo "$as_me:$LINENO: checking for setjmp.h" >&5 7147 $as_echo_n "checking for setjmp.h... " >&6; } 7148 if test "${ac_cv_header_setjmp_h+set}" = set; then 7149 $as_echo_n "(cached) " >&6 7150 fi 7151 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 7152 $as_echo "$ac_cv_header_setjmp_h" >&6; } 7153 else 7154 # Is the header compilable? 7155 { $as_echo "$as_me:$LINENO: checking setjmp.h usability" >&5 7156 $as_echo_n "checking setjmp.h usability... " >&6; } 7157 cat >conftest.$ac_ext <<_ACEOF 7158 /* confdefs.h. */ 7159 _ACEOF 7160 cat confdefs.h >>conftest.$ac_ext 7161 cat >>conftest.$ac_ext <<_ACEOF 7162 /* end confdefs.h. */ 7163 $ac_includes_default 7164 #include <setjmp.h> 7165 _ACEOF 7166 rm -f conftest.$ac_objext 7167 if { (ac_try="$ac_compile" 7168 case "(($ac_try" in 7169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7170 *) ac_try_echo=$ac_try;; 7171 esac 7172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7173 $as_echo "$ac_try_echo") >&5 7174 (eval "$ac_compile") 2>conftest.er1 7175 ac_status=$? 7176 grep -v '^ *+' conftest.er1 >conftest.err 7177 rm -f conftest.er1 7178 cat conftest.err >&5 7179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7180 (exit $ac_status); } && { 7181 test -z "$ac_c_werror_flag" || 7182 test ! -s conftest.err 7183 } && test -s conftest.$ac_objext; then 7184 ac_header_compiler=yes 7185 else 7186 $as_echo "$as_me: failed program was:" >&5 7187 sed 's/^/| /' conftest.$ac_ext >&5 7188 7189 ac_header_compiler=no 7190 fi 7191 7192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7193 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7194 $as_echo "$ac_header_compiler" >&6; } 7195 7196 # Is the header present? 7197 { $as_echo "$as_me:$LINENO: checking setjmp.h presence" >&5 7198 $as_echo_n "checking setjmp.h presence... " >&6; } 7199 cat >conftest.$ac_ext <<_ACEOF 7200 /* confdefs.h. */ 7201 _ACEOF 7202 cat confdefs.h >>conftest.$ac_ext 7203 cat >>conftest.$ac_ext <<_ACEOF 7204 /* end confdefs.h. */ 7205 #include <setjmp.h> 7206 _ACEOF 7207 if { (ac_try="$ac_cpp conftest.$ac_ext" 7208 case "(($ac_try" in 7209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7210 *) ac_try_echo=$ac_try;; 7211 esac 7212 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7213 $as_echo "$ac_try_echo") >&5 7214 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7215 ac_status=$? 7216 grep -v '^ *+' conftest.er1 >conftest.err 7217 rm -f conftest.er1 7218 cat conftest.err >&5 7219 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7220 (exit $ac_status); } >/dev/null && { 7221 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7222 test ! -s conftest.err 7223 }; then 7224 ac_header_preproc=yes 7225 else 7226 $as_echo "$as_me: failed program was:" >&5 7227 sed 's/^/| /' conftest.$ac_ext >&5 7228 7229 ac_header_preproc=no 7230 fi 7231 7232 rm -f conftest.err conftest.$ac_ext 7233 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7234 $as_echo "$ac_header_preproc" >&6; } 7235 7236 # So? What about this header? 7237 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7238 yes:no: ) 7239 { $as_echo "$as_me:$LINENO: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 7240 $as_echo "$as_me: WARNING: setjmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7241 { $as_echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the compiler's result" >&5 7242 $as_echo "$as_me: WARNING: setjmp.h: proceeding with the compiler's result" >&2;} 7243 ac_header_preproc=yes 7244 ;; 7245 no:yes:* ) 7246 { $as_echo "$as_me:$LINENO: WARNING: setjmp.h: present but cannot be compiled" >&5 7247 $as_echo "$as_me: WARNING: setjmp.h: present but cannot be compiled" >&2;} 7248 { $as_echo "$as_me:$LINENO: WARNING: setjmp.h: check for missing prerequisite headers?" >&5 7249 $as_echo "$as_me: WARNING: setjmp.h: check for missing prerequisite headers?" >&2;} 7250 { $as_echo "$as_me:$LINENO: WARNING: setjmp.h: see the Autoconf documentation" >&5 7251 $as_echo "$as_me: WARNING: setjmp.h: see the Autoconf documentation" >&2;} 7252 { $as_echo "$as_me:$LINENO: WARNING: setjmp.h: section \"Present But Cannot Be Compiled\"" >&5 7253 $as_echo "$as_me: WARNING: setjmp.h: section \"Present But Cannot Be Compiled\"" >&2;} 7254 { $as_echo "$as_me:$LINENO: WARNING: setjmp.h: proceeding with the preprocessor's result" >&5 7255 $as_echo "$as_me: WARNING: setjmp.h: proceeding with the preprocessor's result" >&2;} 7256 { $as_echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 7257 $as_echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 7258 7259 ;; 7260 esac 7261 { $as_echo "$as_me:$LINENO: checking for setjmp.h" >&5 7262 $as_echo_n "checking for setjmp.h... " >&6; } 7263 if test "${ac_cv_header_setjmp_h+set}" = set; then 7264 $as_echo_n "(cached) " >&6 7265 else 7266 ac_cv_header_setjmp_h=$ac_header_preproc 7267 fi 7268 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 7269 $as_echo "$ac_cv_header_setjmp_h" >&6; } 7270 7271 fi 7272 if test $ac_cv_header_setjmp_h = yes; then 7273 cat >>confdefs.h <<\_ACEOF 7274 #define PJ_HAS_SETJMP_H 1 7275 _ACEOF 7276 7277 fi 7278 7279 7280 if test "${ac_cv_header_stdarg_h+set}" = set; then 7281 { $as_echo "$as_me:$LINENO: checking for stdarg.h" >&5 7282 $as_echo_n "checking for stdarg.h... " >&6; } 7283 if test "${ac_cv_header_stdarg_h+set}" = set; then 7284 $as_echo_n "(cached) " >&6 7285 fi 7286 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 7287 $as_echo "$ac_cv_header_stdarg_h" >&6; } 7288 else 7289 # Is the header compilable? 7290 { $as_echo "$as_me:$LINENO: checking stdarg.h usability" >&5 7291 $as_echo_n "checking stdarg.h usability... " >&6; } 7292 cat >conftest.$ac_ext <<_ACEOF 7293 /* confdefs.h. */ 7294 _ACEOF 7295 cat confdefs.h >>conftest.$ac_ext 7296 cat >>conftest.$ac_ext <<_ACEOF 7297 /* end confdefs.h. */ 7298 $ac_includes_default 7299 #include <stdarg.h> 7300 _ACEOF 7301 rm -f conftest.$ac_objext 7302 if { (ac_try="$ac_compile" 7303 case "(($ac_try" in 7304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7305 *) ac_try_echo=$ac_try;; 7306 esac 7307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7308 $as_echo "$ac_try_echo") >&5 7309 (eval "$ac_compile") 2>conftest.er1 7310 ac_status=$? 7311 grep -v '^ *+' conftest.er1 >conftest.err 7312 rm -f conftest.er1 7313 cat conftest.err >&5 7314 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7315 (exit $ac_status); } && { 7316 test -z "$ac_c_werror_flag" || 7317 test ! -s conftest.err 7318 } && test -s conftest.$ac_objext; then 7319 ac_header_compiler=yes 7320 else 7321 $as_echo "$as_me: failed program was:" >&5 7322 sed 's/^/| /' conftest.$ac_ext >&5 7323 7324 ac_header_compiler=no 7325 fi 7326 7327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7328 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7329 $as_echo "$ac_header_compiler" >&6; } 7330 7331 # Is the header present? 7332 { $as_echo "$as_me:$LINENO: checking stdarg.h presence" >&5 7333 $as_echo_n "checking stdarg.h presence... " >&6; } 7334 cat >conftest.$ac_ext <<_ACEOF 7335 /* confdefs.h. */ 7336 _ACEOF 7337 cat confdefs.h >>conftest.$ac_ext 7338 cat >>conftest.$ac_ext <<_ACEOF 7339 /* end confdefs.h. */ 7340 #include <stdarg.h> 7341 _ACEOF 7342 if { (ac_try="$ac_cpp conftest.$ac_ext" 7343 case "(($ac_try" in 7344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7345 *) ac_try_echo=$ac_try;; 7346 esac 7347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7348 $as_echo "$ac_try_echo") >&5 7349 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7350 ac_status=$? 7351 grep -v '^ *+' conftest.er1 >conftest.err 7352 rm -f conftest.er1 7353 cat conftest.err >&5 7354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7355 (exit $ac_status); } >/dev/null && { 7356 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7357 test ! -s conftest.err 7358 }; then 7359 ac_header_preproc=yes 7360 else 7361 $as_echo "$as_me: failed program was:" >&5 7362 sed 's/^/| /' conftest.$ac_ext >&5 7363 7364 ac_header_preproc=no 7365 fi 7366 7367 rm -f conftest.err conftest.$ac_ext 7368 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7369 $as_echo "$ac_header_preproc" >&6; } 7370 7371 # So? What about this header? 7372 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7373 yes:no: ) 7374 { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&5 7375 $as_echo "$as_me: WARNING: stdarg.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7376 { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the compiler's result" >&5 7377 $as_echo "$as_me: WARNING: stdarg.h: proceeding with the compiler's result" >&2;} 7378 ac_header_preproc=yes 7379 ;; 7380 no:yes:* ) 7381 { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: present but cannot be compiled" >&5 7382 $as_echo "$as_me: WARNING: stdarg.h: present but cannot be compiled" >&2;} 7383 { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: check for missing prerequisite headers?" >&5 7384 $as_echo "$as_me: WARNING: stdarg.h: check for missing prerequisite headers?" >&2;} 7385 { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: see the Autoconf documentation" >&5 7386 $as_echo "$as_me: WARNING: stdarg.h: see the Autoconf documentation" >&2;} 7387 { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&5 7388 $as_echo "$as_me: WARNING: stdarg.h: section \"Present But Cannot Be Compiled\"" >&2;} 7389 { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: proceeding with the preprocessor's result" >&5 7390 $as_echo "$as_me: WARNING: stdarg.h: proceeding with the preprocessor's result" >&2;} 7391 { $as_echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 7392 $as_echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 7393 7394 ;; 7395 esac 7396 { $as_echo "$as_me:$LINENO: checking for stdarg.h" >&5 7397 $as_echo_n "checking for stdarg.h... " >&6; } 7398 if test "${ac_cv_header_stdarg_h+set}" = set; then 7399 $as_echo_n "(cached) " >&6 7400 else 7401 ac_cv_header_stdarg_h=$ac_header_preproc 7402 fi 7403 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 7404 $as_echo "$ac_cv_header_stdarg_h" >&6; } 7405 7406 fi 7407 if test $ac_cv_header_stdarg_h = yes; then 7408 cat >>confdefs.h <<\_ACEOF 7409 #define PJ_HAS_STDARG_H 1 7410 _ACEOF 7411 7412 fi 7413 7414 7415 if test "${ac_cv_header_stddef_h+set}" = set; then 7416 { $as_echo "$as_me:$LINENO: checking for stddef.h" >&5 7417 $as_echo_n "checking for stddef.h... " >&6; } 7418 if test "${ac_cv_header_stddef_h+set}" = set; then 7419 $as_echo_n "(cached) " >&6 7420 fi 7421 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 7422 $as_echo "$ac_cv_header_stddef_h" >&6; } 7423 else 7424 # Is the header compilable? 7425 { $as_echo "$as_me:$LINENO: checking stddef.h usability" >&5 7426 $as_echo_n "checking stddef.h usability... " >&6; } 7427 cat >conftest.$ac_ext <<_ACEOF 7428 /* confdefs.h. */ 7429 _ACEOF 7430 cat confdefs.h >>conftest.$ac_ext 7431 cat >>conftest.$ac_ext <<_ACEOF 7432 /* end confdefs.h. */ 7433 $ac_includes_default 7434 #include <stddef.h> 7435 _ACEOF 7436 rm -f conftest.$ac_objext 7437 if { (ac_try="$ac_compile" 7438 case "(($ac_try" in 7439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7440 *) ac_try_echo=$ac_try;; 7441 esac 7442 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7443 $as_echo "$ac_try_echo") >&5 7444 (eval "$ac_compile") 2>conftest.er1 7445 ac_status=$? 7446 grep -v '^ *+' conftest.er1 >conftest.err 7447 rm -f conftest.er1 7448 cat conftest.err >&5 7449 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7450 (exit $ac_status); } && { 7451 test -z "$ac_c_werror_flag" || 7452 test ! -s conftest.err 7453 } && test -s conftest.$ac_objext; then 7454 ac_header_compiler=yes 7455 else 7456 $as_echo "$as_me: failed program was:" >&5 7457 sed 's/^/| /' conftest.$ac_ext >&5 7458 7459 ac_header_compiler=no 7460 fi 7461 7462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7463 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7464 $as_echo "$ac_header_compiler" >&6; } 7465 7466 # Is the header present? 7467 { $as_echo "$as_me:$LINENO: checking stddef.h presence" >&5 7468 $as_echo_n "checking stddef.h presence... " >&6; } 7469 cat >conftest.$ac_ext <<_ACEOF 7470 /* confdefs.h. */ 7471 _ACEOF 7472 cat confdefs.h >>conftest.$ac_ext 7473 cat >>conftest.$ac_ext <<_ACEOF 7474 /* end confdefs.h. */ 7475 #include <stddef.h> 7476 _ACEOF 7477 if { (ac_try="$ac_cpp conftest.$ac_ext" 7478 case "(($ac_try" in 7479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7480 *) ac_try_echo=$ac_try;; 7481 esac 7482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7483 $as_echo "$ac_try_echo") >&5 7484 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7485 ac_status=$? 7486 grep -v '^ *+' conftest.er1 >conftest.err 7487 rm -f conftest.er1 7488 cat conftest.err >&5 7489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7490 (exit $ac_status); } >/dev/null && { 7491 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7492 test ! -s conftest.err 7493 }; then 7494 ac_header_preproc=yes 7495 else 7496 $as_echo "$as_me: failed program was:" >&5 7497 sed 's/^/| /' conftest.$ac_ext >&5 7498 7499 ac_header_preproc=no 7500 fi 7501 7502 rm -f conftest.err conftest.$ac_ext 7503 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7504 $as_echo "$ac_header_preproc" >&6; } 7505 7506 # So? What about this header? 7507 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7508 yes:no: ) 7509 { $as_echo "$as_me:$LINENO: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&5 7510 $as_echo "$as_me: WARNING: stddef.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7511 { $as_echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the compiler's result" >&5 7512 $as_echo "$as_me: WARNING: stddef.h: proceeding with the compiler's result" >&2;} 7513 ac_header_preproc=yes 7514 ;; 7515 no:yes:* ) 7516 { $as_echo "$as_me:$LINENO: WARNING: stddef.h: present but cannot be compiled" >&5 7517 $as_echo "$as_me: WARNING: stddef.h: present but cannot be compiled" >&2;} 7518 { $as_echo "$as_me:$LINENO: WARNING: stddef.h: check for missing prerequisite headers?" >&5 7519 $as_echo "$as_me: WARNING: stddef.h: check for missing prerequisite headers?" >&2;} 7520 { $as_echo "$as_me:$LINENO: WARNING: stddef.h: see the Autoconf documentation" >&5 7521 $as_echo "$as_me: WARNING: stddef.h: see the Autoconf documentation" >&2;} 7522 { $as_echo "$as_me:$LINENO: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&5 7523 $as_echo "$as_me: WARNING: stddef.h: section \"Present But Cannot Be Compiled\"" >&2;} 7524 { $as_echo "$as_me:$LINENO: WARNING: stddef.h: proceeding with the preprocessor's result" >&5 7525 $as_echo "$as_me: WARNING: stddef.h: proceeding with the preprocessor's result" >&2;} 7526 { $as_echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 7527 $as_echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 7528 7529 ;; 7530 esac 7531 { $as_echo "$as_me:$LINENO: checking for stddef.h" >&5 7532 $as_echo_n "checking for stddef.h... " >&6; } 7533 if test "${ac_cv_header_stddef_h+set}" = set; then 7534 $as_echo_n "(cached) " >&6 7535 else 7536 ac_cv_header_stddef_h=$ac_header_preproc 7537 fi 7538 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 7539 $as_echo "$ac_cv_header_stddef_h" >&6; } 7540 7541 fi 7542 if test $ac_cv_header_stddef_h = yes; then 7543 cat >>confdefs.h <<\_ACEOF 7544 #define PJ_HAS_STDDEF_H 1 7545 _ACEOF 7546 7547 fi 7548 7549 7550 if test "${ac_cv_header_stdio_h+set}" = set; then 7551 { $as_echo "$as_me:$LINENO: checking for stdio.h" >&5 7552 $as_echo_n "checking for stdio.h... " >&6; } 7553 if test "${ac_cv_header_stdio_h+set}" = set; then 7554 $as_echo_n "(cached) " >&6 7555 fi 7556 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 7557 $as_echo "$ac_cv_header_stdio_h" >&6; } 7558 else 7559 # Is the header compilable? 7560 { $as_echo "$as_me:$LINENO: checking stdio.h usability" >&5 7561 $as_echo_n "checking stdio.h usability... " >&6; } 7562 cat >conftest.$ac_ext <<_ACEOF 7563 /* confdefs.h. */ 7564 _ACEOF 7565 cat confdefs.h >>conftest.$ac_ext 7566 cat >>conftest.$ac_ext <<_ACEOF 7567 /* end confdefs.h. */ 7568 $ac_includes_default 7569 #include <stdio.h> 7570 _ACEOF 7571 rm -f conftest.$ac_objext 7572 if { (ac_try="$ac_compile" 7573 case "(($ac_try" in 7574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7575 *) ac_try_echo=$ac_try;; 7576 esac 7577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7578 $as_echo "$ac_try_echo") >&5 7579 (eval "$ac_compile") 2>conftest.er1 7580 ac_status=$? 7581 grep -v '^ *+' conftest.er1 >conftest.err 7582 rm -f conftest.er1 7583 cat conftest.err >&5 7584 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7585 (exit $ac_status); } && { 7586 test -z "$ac_c_werror_flag" || 7587 test ! -s conftest.err 7588 } && test -s conftest.$ac_objext; then 7589 ac_header_compiler=yes 7590 else 7591 $as_echo "$as_me: failed program was:" >&5 7592 sed 's/^/| /' conftest.$ac_ext >&5 7593 7594 ac_header_compiler=no 7595 fi 7596 7597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7598 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7599 $as_echo "$ac_header_compiler" >&6; } 7600 7601 # Is the header present? 7602 { $as_echo "$as_me:$LINENO: checking stdio.h presence" >&5 7603 $as_echo_n "checking stdio.h presence... " >&6; } 7604 cat >conftest.$ac_ext <<_ACEOF 7605 /* confdefs.h. */ 7606 _ACEOF 7607 cat confdefs.h >>conftest.$ac_ext 7608 cat >>conftest.$ac_ext <<_ACEOF 7609 /* end confdefs.h. */ 7610 #include <stdio.h> 7611 _ACEOF 7612 if { (ac_try="$ac_cpp conftest.$ac_ext" 7613 case "(($ac_try" in 7614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7615 *) ac_try_echo=$ac_try;; 7616 esac 7617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7618 $as_echo "$ac_try_echo") >&5 7619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7620 ac_status=$? 7621 grep -v '^ *+' conftest.er1 >conftest.err 7622 rm -f conftest.er1 7623 cat conftest.err >&5 7624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7625 (exit $ac_status); } >/dev/null && { 7626 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7627 test ! -s conftest.err 7628 }; then 7629 ac_header_preproc=yes 7630 else 7631 $as_echo "$as_me: failed program was:" >&5 7632 sed 's/^/| /' conftest.$ac_ext >&5 7633 7634 ac_header_preproc=no 7635 fi 7636 7637 rm -f conftest.err conftest.$ac_ext 7638 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7639 $as_echo "$ac_header_preproc" >&6; } 7640 7641 # So? What about this header? 7642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7643 yes:no: ) 7644 { $as_echo "$as_me:$LINENO: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&5 7645 $as_echo "$as_me: WARNING: stdio.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7646 { $as_echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the compiler's result" >&5 7647 $as_echo "$as_me: WARNING: stdio.h: proceeding with the compiler's result" >&2;} 7648 ac_header_preproc=yes 7649 ;; 7650 no:yes:* ) 7651 { $as_echo "$as_me:$LINENO: WARNING: stdio.h: present but cannot be compiled" >&5 7652 $as_echo "$as_me: WARNING: stdio.h: present but cannot be compiled" >&2;} 7653 { $as_echo "$as_me:$LINENO: WARNING: stdio.h: check for missing prerequisite headers?" >&5 7654 $as_echo "$as_me: WARNING: stdio.h: check for missing prerequisite headers?" >&2;} 7655 { $as_echo "$as_me:$LINENO: WARNING: stdio.h: see the Autoconf documentation" >&5 7656 $as_echo "$as_me: WARNING: stdio.h: see the Autoconf documentation" >&2;} 7657 { $as_echo "$as_me:$LINENO: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&5 7658 $as_echo "$as_me: WARNING: stdio.h: section \"Present But Cannot Be Compiled\"" >&2;} 7659 { $as_echo "$as_me:$LINENO: WARNING: stdio.h: proceeding with the preprocessor's result" >&5 7660 $as_echo "$as_me: WARNING: stdio.h: proceeding with the preprocessor's result" >&2;} 7661 { $as_echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 7662 $as_echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 7663 7664 ;; 7665 esac 7666 { $as_echo "$as_me:$LINENO: checking for stdio.h" >&5 7667 $as_echo_n "checking for stdio.h... " >&6; } 7668 if test "${ac_cv_header_stdio_h+set}" = set; then 7669 $as_echo_n "(cached) " >&6 7670 else 7671 ac_cv_header_stdio_h=$ac_header_preproc 7672 fi 7673 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 7674 $as_echo "$ac_cv_header_stdio_h" >&6; } 7675 7676 fi 7677 if test $ac_cv_header_stdio_h = yes; then 7678 cat >>confdefs.h <<\_ACEOF 7679 #define PJ_HAS_STDIO_H 1 7680 _ACEOF 7681 7682 fi 7683 7684 7685 if test "${ac_cv_header_stdint_h+set}" = set; then 7686 { $as_echo "$as_me:$LINENO: checking for stdint.h" >&5 7687 $as_echo_n "checking for stdint.h... " >&6; } 7688 if test "${ac_cv_header_stdint_h+set}" = set; then 7689 $as_echo_n "(cached) " >&6 7690 fi 7691 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 7692 $as_echo "$ac_cv_header_stdint_h" >&6; } 7693 else 7694 # Is the header compilable? 7695 { $as_echo "$as_me:$LINENO: checking stdint.h usability" >&5 7696 $as_echo_n "checking stdint.h usability... " >&6; } 7697 cat >conftest.$ac_ext <<_ACEOF 7698 /* confdefs.h. */ 7699 _ACEOF 7700 cat confdefs.h >>conftest.$ac_ext 7701 cat >>conftest.$ac_ext <<_ACEOF 7702 /* end confdefs.h. */ 7703 $ac_includes_default 7704 #include <stdint.h> 7705 _ACEOF 7706 rm -f conftest.$ac_objext 7707 if { (ac_try="$ac_compile" 7708 case "(($ac_try" in 7709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7710 *) ac_try_echo=$ac_try;; 7711 esac 7712 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7713 $as_echo "$ac_try_echo") >&5 7714 (eval "$ac_compile") 2>conftest.er1 7715 ac_status=$? 7716 grep -v '^ *+' conftest.er1 >conftest.err 7717 rm -f conftest.er1 7718 cat conftest.err >&5 7719 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7720 (exit $ac_status); } && { 7721 test -z "$ac_c_werror_flag" || 7722 test ! -s conftest.err 7723 } && test -s conftest.$ac_objext; then 7724 ac_header_compiler=yes 7725 else 7726 $as_echo "$as_me: failed program was:" >&5 7727 sed 's/^/| /' conftest.$ac_ext >&5 7728 7729 ac_header_compiler=no 7730 fi 7731 7732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7733 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7734 $as_echo "$ac_header_compiler" >&6; } 7735 7736 # Is the header present? 7737 { $as_echo "$as_me:$LINENO: checking stdint.h presence" >&5 7738 $as_echo_n "checking stdint.h presence... " >&6; } 7739 cat >conftest.$ac_ext <<_ACEOF 7740 /* confdefs.h. */ 7741 _ACEOF 7742 cat confdefs.h >>conftest.$ac_ext 7743 cat >>conftest.$ac_ext <<_ACEOF 7744 /* end confdefs.h. */ 7745 #include <stdint.h> 7746 _ACEOF 7747 if { (ac_try="$ac_cpp conftest.$ac_ext" 7748 case "(($ac_try" in 7749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7750 *) ac_try_echo=$ac_try;; 7751 esac 7752 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7753 $as_echo "$ac_try_echo") >&5 7754 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7755 ac_status=$? 7756 grep -v '^ *+' conftest.er1 >conftest.err 7757 rm -f conftest.er1 7758 cat conftest.err >&5 7759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7760 (exit $ac_status); } >/dev/null && { 7761 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7762 test ! -s conftest.err 7763 }; then 7764 ac_header_preproc=yes 7765 else 7766 $as_echo "$as_me: failed program was:" >&5 7767 sed 's/^/| /' conftest.$ac_ext >&5 7768 7769 ac_header_preproc=no 7770 fi 7771 7772 rm -f conftest.err conftest.$ac_ext 7773 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7774 $as_echo "$ac_header_preproc" >&6; } 7775 7776 # So? What about this header? 7777 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7778 yes:no: ) 7779 { $as_echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5 7780 $as_echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7781 { $as_echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5 7782 $as_echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;} 7783 ac_header_preproc=yes 7784 ;; 7785 no:yes:* ) 7786 { $as_echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5 7787 $as_echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;} 7788 { $as_echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5 7789 $as_echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;} 7790 { $as_echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5 7791 $as_echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;} 7792 { $as_echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5 7793 $as_echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;} 7794 { $as_echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5 7795 $as_echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;} 7796 { $as_echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 7797 $as_echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 7798 7799 ;; 7800 esac 7801 { $as_echo "$as_me:$LINENO: checking for stdint.h" >&5 7802 $as_echo_n "checking for stdint.h... " >&6; } 7803 if test "${ac_cv_header_stdint_h+set}" = set; then 7804 $as_echo_n "(cached) " >&6 7805 else 7806 ac_cv_header_stdint_h=$ac_header_preproc 7807 fi 7808 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 7809 $as_echo "$ac_cv_header_stdint_h" >&6; } 7810 7811 fi 7812 if test $ac_cv_header_stdint_h = yes; then 7813 cat >>confdefs.h <<\_ACEOF 7814 #define PJ_HAS_STDINT_H 1 7815 _ACEOF 7816 7817 fi 7818 7819 7820 if test "${ac_cv_header_stdlib_h+set}" = set; then 7821 { $as_echo "$as_me:$LINENO: checking for stdlib.h" >&5 7822 $as_echo_n "checking for stdlib.h... " >&6; } 7823 if test "${ac_cv_header_stdlib_h+set}" = set; then 7824 $as_echo_n "(cached) " >&6 7825 fi 7826 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 7827 $as_echo "$ac_cv_header_stdlib_h" >&6; } 7828 else 7829 # Is the header compilable? 7830 { $as_echo "$as_me:$LINENO: checking stdlib.h usability" >&5 7831 $as_echo_n "checking stdlib.h usability... " >&6; } 7832 cat >conftest.$ac_ext <<_ACEOF 7833 /* confdefs.h. */ 7834 _ACEOF 7835 cat confdefs.h >>conftest.$ac_ext 7836 cat >>conftest.$ac_ext <<_ACEOF 7837 /* end confdefs.h. */ 7838 $ac_includes_default 7839 #include <stdlib.h> 7840 _ACEOF 7841 rm -f conftest.$ac_objext 7842 if { (ac_try="$ac_compile" 7843 case "(($ac_try" in 7844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7845 *) ac_try_echo=$ac_try;; 7846 esac 7847 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7848 $as_echo "$ac_try_echo") >&5 7849 (eval "$ac_compile") 2>conftest.er1 7850 ac_status=$? 7851 grep -v '^ *+' conftest.er1 >conftest.err 7852 rm -f conftest.er1 7853 cat conftest.err >&5 7854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7855 (exit $ac_status); } && { 7856 test -z "$ac_c_werror_flag" || 7857 test ! -s conftest.err 7858 } && test -s conftest.$ac_objext; then 7859 ac_header_compiler=yes 7860 else 7861 $as_echo "$as_me: failed program was:" >&5 7862 sed 's/^/| /' conftest.$ac_ext >&5 7863 7864 ac_header_compiler=no 7865 fi 7866 7867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7868 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7869 $as_echo "$ac_header_compiler" >&6; } 7870 7871 # Is the header present? 7872 { $as_echo "$as_me:$LINENO: checking stdlib.h presence" >&5 7873 $as_echo_n "checking stdlib.h presence... " >&6; } 7874 cat >conftest.$ac_ext <<_ACEOF 7875 /* confdefs.h. */ 7876 _ACEOF 7877 cat confdefs.h >>conftest.$ac_ext 7878 cat >>conftest.$ac_ext <<_ACEOF 7879 /* end confdefs.h. */ 7880 #include <stdlib.h> 7881 _ACEOF 7882 if { (ac_try="$ac_cpp conftest.$ac_ext" 7883 case "(($ac_try" in 7884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7885 *) ac_try_echo=$ac_try;; 7886 esac 7887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7888 $as_echo "$ac_try_echo") >&5 7889 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7890 ac_status=$? 7891 grep -v '^ *+' conftest.er1 >conftest.err 7892 rm -f conftest.er1 7893 cat conftest.err >&5 7894 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7895 (exit $ac_status); } >/dev/null && { 7896 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7897 test ! -s conftest.err 7898 }; then 7899 ac_header_preproc=yes 7900 else 7901 $as_echo "$as_me: failed program was:" >&5 7902 sed 's/^/| /' conftest.$ac_ext >&5 7903 7904 ac_header_preproc=no 7905 fi 7906 7907 rm -f conftest.err conftest.$ac_ext 7908 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7909 $as_echo "$ac_header_preproc" >&6; } 7910 7911 # So? What about this header? 7912 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7913 yes:no: ) 7914 { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 7915 $as_echo "$as_me: WARNING: stdlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 7916 { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the compiler's result" >&5 7917 $as_echo "$as_me: WARNING: stdlib.h: proceeding with the compiler's result" >&2;} 7918 ac_header_preproc=yes 7919 ;; 7920 no:yes:* ) 7921 { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: present but cannot be compiled" >&5 7922 $as_echo "$as_me: WARNING: stdlib.h: present but cannot be compiled" >&2;} 7923 { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: check for missing prerequisite headers?" >&5 7924 $as_echo "$as_me: WARNING: stdlib.h: check for missing prerequisite headers?" >&2;} 7925 { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: see the Autoconf documentation" >&5 7926 $as_echo "$as_me: WARNING: stdlib.h: see the Autoconf documentation" >&2;} 7927 { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&5 7928 $as_echo "$as_me: WARNING: stdlib.h: section \"Present But Cannot Be Compiled\"" >&2;} 7929 { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: proceeding with the preprocessor's result" >&5 7930 $as_echo "$as_me: WARNING: stdlib.h: proceeding with the preprocessor's result" >&2;} 7931 { $as_echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 7932 $as_echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 7933 7934 ;; 7935 esac 7936 { $as_echo "$as_me:$LINENO: checking for stdlib.h" >&5 7937 $as_echo_n "checking for stdlib.h... " >&6; } 7938 if test "${ac_cv_header_stdlib_h+set}" = set; then 7939 $as_echo_n "(cached) " >&6 7940 else 7941 ac_cv_header_stdlib_h=$ac_header_preproc 7942 fi 7943 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 7944 $as_echo "$ac_cv_header_stdlib_h" >&6; } 7945 7946 fi 7947 if test $ac_cv_header_stdlib_h = yes; then 7948 cat >>confdefs.h <<\_ACEOF 7949 #define PJ_HAS_STDLIB_H 1 7950 _ACEOF 7951 7952 fi 7953 7954 7955 if test "${ac_cv_header_string_h+set}" = set; then 7956 { $as_echo "$as_me:$LINENO: checking for string.h" >&5 7957 $as_echo_n "checking for string.h... " >&6; } 7958 if test "${ac_cv_header_string_h+set}" = set; then 7959 $as_echo_n "(cached) " >&6 7960 fi 7961 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 7962 $as_echo "$ac_cv_header_string_h" >&6; } 7963 else 7964 # Is the header compilable? 7965 { $as_echo "$as_me:$LINENO: checking string.h usability" >&5 7966 $as_echo_n "checking string.h usability... " >&6; } 7967 cat >conftest.$ac_ext <<_ACEOF 7968 /* confdefs.h. */ 7969 _ACEOF 7970 cat confdefs.h >>conftest.$ac_ext 7971 cat >>conftest.$ac_ext <<_ACEOF 7972 /* end confdefs.h. */ 7973 $ac_includes_default 7974 #include <string.h> 7975 _ACEOF 7976 rm -f conftest.$ac_objext 7977 if { (ac_try="$ac_compile" 7978 case "(($ac_try" in 7979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7980 *) ac_try_echo=$ac_try;; 7981 esac 7982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 7983 $as_echo "$ac_try_echo") >&5 7984 (eval "$ac_compile") 2>conftest.er1 7985 ac_status=$? 7986 grep -v '^ *+' conftest.er1 >conftest.err 7987 rm -f conftest.er1 7988 cat conftest.err >&5 7989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 7990 (exit $ac_status); } && { 7991 test -z "$ac_c_werror_flag" || 7992 test ! -s conftest.err 7993 } && test -s conftest.$ac_objext; then 7994 ac_header_compiler=yes 7995 else 7996 $as_echo "$as_me: failed program was:" >&5 7997 sed 's/^/| /' conftest.$ac_ext >&5 7998 7999 ac_header_compiler=no 8000 fi 8001 8002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8003 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8004 $as_echo "$ac_header_compiler" >&6; } 8005 8006 # Is the header present? 8007 { $as_echo "$as_me:$LINENO: checking string.h presence" >&5 8008 $as_echo_n "checking string.h presence... " >&6; } 8009 cat >conftest.$ac_ext <<_ACEOF 8010 /* confdefs.h. */ 8011 _ACEOF 8012 cat confdefs.h >>conftest.$ac_ext 8013 cat >>conftest.$ac_ext <<_ACEOF 8014 /* end confdefs.h. */ 8015 #include <string.h> 8016 _ACEOF 8017 if { (ac_try="$ac_cpp conftest.$ac_ext" 8018 case "(($ac_try" in 8019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8020 *) ac_try_echo=$ac_try;; 8021 esac 8022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8023 $as_echo "$ac_try_echo") >&5 8024 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8025 ac_status=$? 8026 grep -v '^ *+' conftest.er1 >conftest.err 8027 rm -f conftest.er1 8028 cat conftest.err >&5 8029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8030 (exit $ac_status); } >/dev/null && { 8031 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8032 test ! -s conftest.err 8033 }; then 8034 ac_header_preproc=yes 8035 else 8036 $as_echo "$as_me: failed program was:" >&5 8037 sed 's/^/| /' conftest.$ac_ext >&5 8038 8039 ac_header_preproc=no 8040 fi 8041 8042 rm -f conftest.err conftest.$ac_ext 8043 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8044 $as_echo "$ac_header_preproc" >&6; } 8045 8046 # So? What about this header? 8047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8048 yes:no: ) 8049 { $as_echo "$as_me:$LINENO: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&5 8050 $as_echo "$as_me: WARNING: string.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8051 { $as_echo "$as_me:$LINENO: WARNING: string.h: proceeding with the compiler's result" >&5 8052 $as_echo "$as_me: WARNING: string.h: proceeding with the compiler's result" >&2;} 8053 ac_header_preproc=yes 8054 ;; 8055 no:yes:* ) 8056 { $as_echo "$as_me:$LINENO: WARNING: string.h: present but cannot be compiled" >&5 8057 $as_echo "$as_me: WARNING: string.h: present but cannot be compiled" >&2;} 8058 { $as_echo "$as_me:$LINENO: WARNING: string.h: check for missing prerequisite headers?" >&5 8059 $as_echo "$as_me: WARNING: string.h: check for missing prerequisite headers?" >&2;} 8060 { $as_echo "$as_me:$LINENO: WARNING: string.h: see the Autoconf documentation" >&5 8061 $as_echo "$as_me: WARNING: string.h: see the Autoconf documentation" >&2;} 8062 { $as_echo "$as_me:$LINENO: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&5 8063 $as_echo "$as_me: WARNING: string.h: section \"Present But Cannot Be Compiled\"" >&2;} 8064 { $as_echo "$as_me:$LINENO: WARNING: string.h: proceeding with the preprocessor's result" >&5 8065 $as_echo "$as_me: WARNING: string.h: proceeding with the preprocessor's result" >&2;} 8066 { $as_echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 8067 $as_echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 8068 8069 ;; 8070 esac 8071 { $as_echo "$as_me:$LINENO: checking for string.h" >&5 8072 $as_echo_n "checking for string.h... " >&6; } 8073 if test "${ac_cv_header_string_h+set}" = set; then 8074 $as_echo_n "(cached) " >&6 8075 else 8076 ac_cv_header_string_h=$ac_header_preproc 8077 fi 8078 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 8079 $as_echo "$ac_cv_header_string_h" >&6; } 8080 8081 fi 8082 if test $ac_cv_header_string_h = yes; then 8083 cat >>confdefs.h <<\_ACEOF 8084 #define PJ_HAS_STRING_H 1 8085 _ACEOF 8086 8087 fi 8088 8089 8090 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 8091 { $as_echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 8092 $as_echo_n "checking for sys/ioctl.h... " >&6; } 8093 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 8094 $as_echo_n "(cached) " >&6 8095 fi 8096 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 8097 $as_echo "$ac_cv_header_sys_ioctl_h" >&6; } 8098 else 8099 # Is the header compilable? 8100 { $as_echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 8101 $as_echo_n "checking sys/ioctl.h usability... " >&6; } 8102 cat >conftest.$ac_ext <<_ACEOF 8103 /* confdefs.h. */ 8104 _ACEOF 8105 cat confdefs.h >>conftest.$ac_ext 8106 cat >>conftest.$ac_ext <<_ACEOF 8107 /* end confdefs.h. */ 8108 $ac_includes_default 8109 #include <sys/ioctl.h> 8110 _ACEOF 8111 rm -f conftest.$ac_objext 8112 if { (ac_try="$ac_compile" 8113 case "(($ac_try" in 8114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8115 *) ac_try_echo=$ac_try;; 8116 esac 8117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8118 $as_echo "$ac_try_echo") >&5 8119 (eval "$ac_compile") 2>conftest.er1 8120 ac_status=$? 8121 grep -v '^ *+' conftest.er1 >conftest.err 8122 rm -f conftest.er1 8123 cat conftest.err >&5 8124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8125 (exit $ac_status); } && { 8126 test -z "$ac_c_werror_flag" || 8127 test ! -s conftest.err 8128 } && test -s conftest.$ac_objext; then 8129 ac_header_compiler=yes 8130 else 8131 $as_echo "$as_me: failed program was:" >&5 8132 sed 's/^/| /' conftest.$ac_ext >&5 8133 8134 ac_header_compiler=no 8135 fi 8136 8137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8138 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8139 $as_echo "$ac_header_compiler" >&6; } 8140 8141 # Is the header present? 8142 { $as_echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 8143 $as_echo_n "checking sys/ioctl.h presence... " >&6; } 8144 cat >conftest.$ac_ext <<_ACEOF 8145 /* confdefs.h. */ 8146 _ACEOF 8147 cat confdefs.h >>conftest.$ac_ext 8148 cat >>conftest.$ac_ext <<_ACEOF 8149 /* end confdefs.h. */ 8150 #include <sys/ioctl.h> 8151 _ACEOF 8152 if { (ac_try="$ac_cpp conftest.$ac_ext" 8153 case "(($ac_try" in 8154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8155 *) ac_try_echo=$ac_try;; 8156 esac 8157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8158 $as_echo "$ac_try_echo") >&5 8159 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8160 ac_status=$? 8161 grep -v '^ *+' conftest.er1 >conftest.err 8162 rm -f conftest.er1 8163 cat conftest.err >&5 8164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8165 (exit $ac_status); } >/dev/null && { 8166 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8167 test ! -s conftest.err 8168 }; then 8169 ac_header_preproc=yes 8170 else 8171 $as_echo "$as_me: failed program was:" >&5 8172 sed 's/^/| /' conftest.$ac_ext >&5 8173 8174 ac_header_preproc=no 8175 fi 8176 8177 rm -f conftest.err conftest.$ac_ext 8178 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8179 $as_echo "$ac_header_preproc" >&6; } 8180 8181 # So? What about this header? 8182 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8183 yes:no: ) 8184 { $as_echo "$as_me:$LINENO: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&5 8185 $as_echo "$as_me: WARNING: sys/ioctl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8186 { $as_echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&5 8187 $as_echo "$as_me: WARNING: sys/ioctl.h: proceeding with the compiler's result" >&2;} 8188 ac_header_preproc=yes 8189 ;; 8190 no:yes:* ) 8191 { $as_echo "$as_me:$LINENO: WARNING: sys/ioctl.h: present but cannot be compiled" >&5 8192 $as_echo "$as_me: WARNING: sys/ioctl.h: present but cannot be compiled" >&2;} 8193 { $as_echo "$as_me:$LINENO: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&5 8194 $as_echo "$as_me: WARNING: sys/ioctl.h: check for missing prerequisite headers?" >&2;} 8195 { $as_echo "$as_me:$LINENO: WARNING: sys/ioctl.h: see the Autoconf documentation" >&5 8196 $as_echo "$as_me: WARNING: sys/ioctl.h: see the Autoconf documentation" >&2;} 8197 { $as_echo "$as_me:$LINENO: WARNING: sys/ioctl.h: section \"Present But Cannot Be Compiled\"" >&5 8198 $as_echo "$as_me: WARNING: sys/ioctl.h: section \"Present But Cannot Be Compiled\"" >&2;} 8199 { $as_echo "$as_me:$LINENO: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&5 8200 $as_echo "$as_me: WARNING: sys/ioctl.h: proceeding with the preprocessor's result" >&2;} 8201 { $as_echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 8202 $as_echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 8203 8204 ;; 8205 esac 8206 { $as_echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 8207 $as_echo_n "checking for sys/ioctl.h... " >&6; } 8208 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 8209 $as_echo_n "(cached) " >&6 8210 else 8211 ac_cv_header_sys_ioctl_h=$ac_header_preproc 8212 fi 8213 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 8214 $as_echo "$ac_cv_header_sys_ioctl_h" >&6; } 8215 8216 fi 8217 if test $ac_cv_header_sys_ioctl_h = yes; then 8218 cat >>confdefs.h <<\_ACEOF 8219 #define PJ_HAS_SYS_IOCTL_H 1 8220 _ACEOF 8221 8222 fi 8223 8224 8225 if test "${ac_cv_header_sys_select_h+set}" = set; then 8226 { $as_echo "$as_me:$LINENO: checking for sys/select.h" >&5 8227 $as_echo_n "checking for sys/select.h... " >&6; } 8228 if test "${ac_cv_header_sys_select_h+set}" = set; then 8229 $as_echo_n "(cached) " >&6 8230 fi 8231 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 8232 $as_echo "$ac_cv_header_sys_select_h" >&6; } 8233 else 8234 # Is the header compilable? 8235 { $as_echo "$as_me:$LINENO: checking sys/select.h usability" >&5 8236 $as_echo_n "checking sys/select.h usability... " >&6; } 8237 cat >conftest.$ac_ext <<_ACEOF 8238 /* confdefs.h. */ 8239 _ACEOF 8240 cat confdefs.h >>conftest.$ac_ext 8241 cat >>conftest.$ac_ext <<_ACEOF 8242 /* end confdefs.h. */ 8243 $ac_includes_default 8244 #include <sys/select.h> 8245 _ACEOF 8246 rm -f conftest.$ac_objext 8247 if { (ac_try="$ac_compile" 8248 case "(($ac_try" in 8249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8250 *) ac_try_echo=$ac_try;; 8251 esac 8252 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8253 $as_echo "$ac_try_echo") >&5 8254 (eval "$ac_compile") 2>conftest.er1 8255 ac_status=$? 8256 grep -v '^ *+' conftest.er1 >conftest.err 8257 rm -f conftest.er1 8258 cat conftest.err >&5 8259 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8260 (exit $ac_status); } && { 8261 test -z "$ac_c_werror_flag" || 8262 test ! -s conftest.err 8263 } && test -s conftest.$ac_objext; then 8264 ac_header_compiler=yes 8265 else 8266 $as_echo "$as_me: failed program was:" >&5 8267 sed 's/^/| /' conftest.$ac_ext >&5 8268 8269 ac_header_compiler=no 8270 fi 8271 8272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8273 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8274 $as_echo "$ac_header_compiler" >&6; } 8275 8276 # Is the header present? 8277 { $as_echo "$as_me:$LINENO: checking sys/select.h presence" >&5 8278 $as_echo_n "checking sys/select.h presence... " >&6; } 8279 cat >conftest.$ac_ext <<_ACEOF 8280 /* confdefs.h. */ 8281 _ACEOF 8282 cat confdefs.h >>conftest.$ac_ext 8283 cat >>conftest.$ac_ext <<_ACEOF 8284 /* end confdefs.h. */ 8285 #include <sys/select.h> 8286 _ACEOF 8287 if { (ac_try="$ac_cpp conftest.$ac_ext" 8288 case "(($ac_try" in 8289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8290 *) ac_try_echo=$ac_try;; 8291 esac 8292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8293 $as_echo "$ac_try_echo") >&5 8294 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8295 ac_status=$? 8296 grep -v '^ *+' conftest.er1 >conftest.err 8297 rm -f conftest.er1 8298 cat conftest.err >&5 8299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8300 (exit $ac_status); } >/dev/null && { 8301 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8302 test ! -s conftest.err 8303 }; then 8304 ac_header_preproc=yes 8305 else 8306 $as_echo "$as_me: failed program was:" >&5 8307 sed 's/^/| /' conftest.$ac_ext >&5 8308 8309 ac_header_preproc=no 8310 fi 8311 8312 rm -f conftest.err conftest.$ac_ext 8313 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8314 $as_echo "$ac_header_preproc" >&6; } 8315 8316 # So? What about this header? 8317 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8318 yes:no: ) 8319 { $as_echo "$as_me:$LINENO: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&5 8320 $as_echo "$as_me: WARNING: sys/select.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8321 { $as_echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the compiler's result" >&5 8322 $as_echo "$as_me: WARNING: sys/select.h: proceeding with the compiler's result" >&2;} 8323 ac_header_preproc=yes 8324 ;; 8325 no:yes:* ) 8326 { $as_echo "$as_me:$LINENO: WARNING: sys/select.h: present but cannot be compiled" >&5 8327 $as_echo "$as_me: WARNING: sys/select.h: present but cannot be compiled" >&2;} 8328 { $as_echo "$as_me:$LINENO: WARNING: sys/select.h: check for missing prerequisite headers?" >&5 8329 $as_echo "$as_me: WARNING: sys/select.h: check for missing prerequisite headers?" >&2;} 8330 { $as_echo "$as_me:$LINENO: WARNING: sys/select.h: see the Autoconf documentation" >&5 8331 $as_echo "$as_me: WARNING: sys/select.h: see the Autoconf documentation" >&2;} 8332 { $as_echo "$as_me:$LINENO: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&5 8333 $as_echo "$as_me: WARNING: sys/select.h: section \"Present But Cannot Be Compiled\"" >&2;} 8334 { $as_echo "$as_me:$LINENO: WARNING: sys/select.h: proceeding with the preprocessor's result" >&5 8335 $as_echo "$as_me: WARNING: sys/select.h: proceeding with the preprocessor's result" >&2;} 8336 { $as_echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 8337 $as_echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 8338 8339 ;; 8340 esac 8341 { $as_echo "$as_me:$LINENO: checking for sys/select.h" >&5 8342 $as_echo_n "checking for sys/select.h... " >&6; } 8343 if test "${ac_cv_header_sys_select_h+set}" = set; then 8344 $as_echo_n "(cached) " >&6 8345 else 8346 ac_cv_header_sys_select_h=$ac_header_preproc 8347 fi 8348 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 8349 $as_echo "$ac_cv_header_sys_select_h" >&6; } 8350 8351 fi 8352 if test $ac_cv_header_sys_select_h = yes; then 8353 cat >>confdefs.h <<\_ACEOF 8354 #define PJ_HAS_SYS_SELECT_H 1 8355 _ACEOF 8356 8357 fi 8358 8359 8360 if test "${ac_cv_header_sys_socket_h+set}" = set; then 8361 { $as_echo "$as_me:$LINENO: checking for sys/socket.h" >&5 8362 $as_echo_n "checking for sys/socket.h... " >&6; } 8363 if test "${ac_cv_header_sys_socket_h+set}" = set; then 8364 $as_echo_n "(cached) " >&6 8365 fi 8366 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 8367 $as_echo "$ac_cv_header_sys_socket_h" >&6; } 8368 else 8369 # Is the header compilable? 8370 { $as_echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 8371 $as_echo_n "checking sys/socket.h usability... " >&6; } 8372 cat >conftest.$ac_ext <<_ACEOF 8373 /* confdefs.h. */ 8374 _ACEOF 8375 cat confdefs.h >>conftest.$ac_ext 8376 cat >>conftest.$ac_ext <<_ACEOF 8377 /* end confdefs.h. */ 8378 $ac_includes_default 8379 #include <sys/socket.h> 8380 _ACEOF 8381 rm -f conftest.$ac_objext 8382 if { (ac_try="$ac_compile" 8383 case "(($ac_try" in 8384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8385 *) ac_try_echo=$ac_try;; 8386 esac 8387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8388 $as_echo "$ac_try_echo") >&5 8389 (eval "$ac_compile") 2>conftest.er1 8390 ac_status=$? 8391 grep -v '^ *+' conftest.er1 >conftest.err 8392 rm -f conftest.er1 8393 cat conftest.err >&5 8394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8395 (exit $ac_status); } && { 8396 test -z "$ac_c_werror_flag" || 8397 test ! -s conftest.err 8398 } && test -s conftest.$ac_objext; then 8399 ac_header_compiler=yes 8400 else 8401 $as_echo "$as_me: failed program was:" >&5 8402 sed 's/^/| /' conftest.$ac_ext >&5 8403 8404 ac_header_compiler=no 8405 fi 8406 8407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8408 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8409 $as_echo "$ac_header_compiler" >&6; } 8410 8411 # Is the header present? 8412 { $as_echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 8413 $as_echo_n "checking sys/socket.h presence... " >&6; } 8414 cat >conftest.$ac_ext <<_ACEOF 8415 /* confdefs.h. */ 8416 _ACEOF 8417 cat confdefs.h >>conftest.$ac_ext 8418 cat >>conftest.$ac_ext <<_ACEOF 8419 /* end confdefs.h. */ 8420 #include <sys/socket.h> 8421 _ACEOF 8422 if { (ac_try="$ac_cpp conftest.$ac_ext" 8423 case "(($ac_try" in 8424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8425 *) ac_try_echo=$ac_try;; 8426 esac 8427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8428 $as_echo "$ac_try_echo") >&5 8429 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8430 ac_status=$? 8431 grep -v '^ *+' conftest.er1 >conftest.err 8432 rm -f conftest.er1 8433 cat conftest.err >&5 8434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8435 (exit $ac_status); } >/dev/null && { 8436 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8437 test ! -s conftest.err 8438 }; then 8439 ac_header_preproc=yes 8440 else 8441 $as_echo "$as_me: failed program was:" >&5 8442 sed 's/^/| /' conftest.$ac_ext >&5 8443 8444 ac_header_preproc=no 8445 fi 8446 8447 rm -f conftest.err conftest.$ac_ext 8448 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8449 $as_echo "$ac_header_preproc" >&6; } 8450 8451 # So? What about this header? 8452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8453 yes:no: ) 8454 { $as_echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5 8455 $as_echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8456 { $as_echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5 8457 $as_echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;} 8458 ac_header_preproc=yes 8459 ;; 8460 no:yes:* ) 8461 { $as_echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5 8462 $as_echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;} 8463 { $as_echo "$as_me:$LINENO: WARNING: sys/socket.h: check for missing prerequisite headers?" >&5 8464 $as_echo "$as_me: WARNING: sys/socket.h: check for missing prerequisite headers?" >&2;} 8465 { $as_echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5 8466 $as_echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;} 8467 { $as_echo "$as_me:$LINENO: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&5 8468 $as_echo "$as_me: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&2;} 8469 { $as_echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5 8470 $as_echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;} 8471 { $as_echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 8472 $as_echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 8473 8474 ;; 8475 esac 8476 { $as_echo "$as_me:$LINENO: checking for sys/socket.h" >&5 8477 $as_echo_n "checking for sys/socket.h... " >&6; } 8478 if test "${ac_cv_header_sys_socket_h+set}" = set; then 8479 $as_echo_n "(cached) " >&6 8480 else 8481 ac_cv_header_sys_socket_h=$ac_header_preproc 8482 fi 8483 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 8484 $as_echo "$ac_cv_header_sys_socket_h" >&6; } 8485 8486 fi 8487 if test $ac_cv_header_sys_socket_h = yes; then 8488 cat >>confdefs.h <<\_ACEOF 8489 #define PJ_HAS_SYS_SOCKET_H 1 8490 _ACEOF 8491 8492 fi 8493 8494 8495 if test "${ac_cv_header_sys_time_h+set}" = set; then 8496 { $as_echo "$as_me:$LINENO: checking for sys/time.h" >&5 8497 $as_echo_n "checking for sys/time.h... " >&6; } 8498 if test "${ac_cv_header_sys_time_h+set}" = set; then 8499 $as_echo_n "(cached) " >&6 8500 fi 8501 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 8502 $as_echo "$ac_cv_header_sys_time_h" >&6; } 8503 else 8504 # Is the header compilable? 8505 { $as_echo "$as_me:$LINENO: checking sys/time.h usability" >&5 8506 $as_echo_n "checking sys/time.h usability... " >&6; } 8507 cat >conftest.$ac_ext <<_ACEOF 8508 /* confdefs.h. */ 8509 _ACEOF 8510 cat confdefs.h >>conftest.$ac_ext 8511 cat >>conftest.$ac_ext <<_ACEOF 8512 /* end confdefs.h. */ 8513 $ac_includes_default 8514 #include <sys/time.h> 8515 _ACEOF 8516 rm -f conftest.$ac_objext 8517 if { (ac_try="$ac_compile" 8518 case "(($ac_try" in 8519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8520 *) ac_try_echo=$ac_try;; 8521 esac 8522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8523 $as_echo "$ac_try_echo") >&5 8524 (eval "$ac_compile") 2>conftest.er1 8525 ac_status=$? 8526 grep -v '^ *+' conftest.er1 >conftest.err 8527 rm -f conftest.er1 8528 cat conftest.err >&5 8529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8530 (exit $ac_status); } && { 8531 test -z "$ac_c_werror_flag" || 8532 test ! -s conftest.err 8533 } && test -s conftest.$ac_objext; then 8534 ac_header_compiler=yes 8535 else 8536 $as_echo "$as_me: failed program was:" >&5 8537 sed 's/^/| /' conftest.$ac_ext >&5 8538 8539 ac_header_compiler=no 8540 fi 8541 8542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8543 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8544 $as_echo "$ac_header_compiler" >&6; } 8545 8546 # Is the header present? 8547 { $as_echo "$as_me:$LINENO: checking sys/time.h presence" >&5 8548 $as_echo_n "checking sys/time.h presence... " >&6; } 8549 cat >conftest.$ac_ext <<_ACEOF 8550 /* confdefs.h. */ 8551 _ACEOF 8552 cat confdefs.h >>conftest.$ac_ext 8553 cat >>conftest.$ac_ext <<_ACEOF 8554 /* end confdefs.h. */ 8555 #include <sys/time.h> 8556 _ACEOF 8557 if { (ac_try="$ac_cpp conftest.$ac_ext" 8558 case "(($ac_try" in 8559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8560 *) ac_try_echo=$ac_try;; 8561 esac 8562 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8563 $as_echo "$ac_try_echo") >&5 8564 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8565 ac_status=$? 8566 grep -v '^ *+' conftest.er1 >conftest.err 8567 rm -f conftest.er1 8568 cat conftest.err >&5 8569 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8570 (exit $ac_status); } >/dev/null && { 8571 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8572 test ! -s conftest.err 8573 }; then 8574 ac_header_preproc=yes 8575 else 8576 $as_echo "$as_me: failed program was:" >&5 8577 sed 's/^/| /' conftest.$ac_ext >&5 8578 8579 ac_header_preproc=no 8580 fi 8581 8582 rm -f conftest.err conftest.$ac_ext 8583 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8584 $as_echo "$ac_header_preproc" >&6; } 8585 8586 # So? What about this header? 8587 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8588 yes:no: ) 8589 { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&5 8590 $as_echo "$as_me: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8591 { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the compiler's result" >&5 8592 $as_echo "$as_me: WARNING: sys/time.h: proceeding with the compiler's result" >&2;} 8593 ac_header_preproc=yes 8594 ;; 8595 no:yes:* ) 8596 { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: present but cannot be compiled" >&5 8597 $as_echo "$as_me: WARNING: sys/time.h: present but cannot be compiled" >&2;} 8598 { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: check for missing prerequisite headers?" >&5 8599 $as_echo "$as_me: WARNING: sys/time.h: check for missing prerequisite headers?" >&2;} 8600 { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: see the Autoconf documentation" >&5 8601 $as_echo "$as_me: WARNING: sys/time.h: see the Autoconf documentation" >&2;} 8602 { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: section \"Present But Cannot Be Compiled\"" >&5 8603 $as_echo "$as_me: WARNING: sys/time.h: section \"Present But Cannot Be Compiled\"" >&2;} 8604 { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: proceeding with the preprocessor's result" >&5 8605 $as_echo "$as_me: WARNING: sys/time.h: proceeding with the preprocessor's result" >&2;} 8606 { $as_echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 8607 $as_echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 8608 8609 ;; 8610 esac 8611 { $as_echo "$as_me:$LINENO: checking for sys/time.h" >&5 8612 $as_echo_n "checking for sys/time.h... " >&6; } 8613 if test "${ac_cv_header_sys_time_h+set}" = set; then 8614 $as_echo_n "(cached) " >&6 8615 else 8616 ac_cv_header_sys_time_h=$ac_header_preproc 8617 fi 8618 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 8619 $as_echo "$ac_cv_header_sys_time_h" >&6; } 8620 8621 fi 8622 if test $ac_cv_header_sys_time_h = yes; then 8623 cat >>confdefs.h <<\_ACEOF 8624 #define PJ_HAS_SYS_TIME_H 1 8625 _ACEOF 8626 8627 fi 8628 8629 8630 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8631 { $as_echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 8632 $as_echo_n "checking for sys/timeb.h... " >&6; } 8633 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8634 $as_echo_n "(cached) " >&6 8635 fi 8636 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 8637 $as_echo "$ac_cv_header_sys_timeb_h" >&6; } 8638 else 8639 # Is the header compilable? 8640 { $as_echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 8641 $as_echo_n "checking sys/timeb.h usability... " >&6; } 8642 cat >conftest.$ac_ext <<_ACEOF 8643 /* confdefs.h. */ 8644 _ACEOF 8645 cat confdefs.h >>conftest.$ac_ext 8646 cat >>conftest.$ac_ext <<_ACEOF 8647 /* end confdefs.h. */ 8648 $ac_includes_default 8649 #include <sys/timeb.h> 8650 _ACEOF 8651 rm -f conftest.$ac_objext 8652 if { (ac_try="$ac_compile" 8653 case "(($ac_try" in 8654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8655 *) ac_try_echo=$ac_try;; 8656 esac 8657 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8658 $as_echo "$ac_try_echo") >&5 8659 (eval "$ac_compile") 2>conftest.er1 8660 ac_status=$? 8661 grep -v '^ *+' conftest.er1 >conftest.err 8662 rm -f conftest.er1 8663 cat conftest.err >&5 8664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8665 (exit $ac_status); } && { 8666 test -z "$ac_c_werror_flag" || 8667 test ! -s conftest.err 8668 } && test -s conftest.$ac_objext; then 8669 ac_header_compiler=yes 8670 else 8671 $as_echo "$as_me: failed program was:" >&5 8672 sed 's/^/| /' conftest.$ac_ext >&5 8673 8674 ac_header_compiler=no 8675 fi 8676 8677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8678 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8679 $as_echo "$ac_header_compiler" >&6; } 8680 8681 # Is the header present? 8682 { $as_echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 8683 $as_echo_n "checking sys/timeb.h presence... " >&6; } 8684 cat >conftest.$ac_ext <<_ACEOF 8685 /* confdefs.h. */ 8686 _ACEOF 8687 cat confdefs.h >>conftest.$ac_ext 8688 cat >>conftest.$ac_ext <<_ACEOF 8689 /* end confdefs.h. */ 8690 #include <sys/timeb.h> 8691 _ACEOF 8692 if { (ac_try="$ac_cpp conftest.$ac_ext" 8693 case "(($ac_try" in 8694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8695 *) ac_try_echo=$ac_try;; 8696 esac 8697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8698 $as_echo "$ac_try_echo") >&5 8699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8700 ac_status=$? 8701 grep -v '^ *+' conftest.er1 >conftest.err 8702 rm -f conftest.er1 8703 cat conftest.err >&5 8704 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8705 (exit $ac_status); } >/dev/null && { 8706 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8707 test ! -s conftest.err 8708 }; then 8709 ac_header_preproc=yes 8710 else 8711 $as_echo "$as_me: failed program was:" >&5 8712 sed 's/^/| /' conftest.$ac_ext >&5 8713 8714 ac_header_preproc=no 8715 fi 8716 8717 rm -f conftest.err conftest.$ac_ext 8718 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8719 $as_echo "$ac_header_preproc" >&6; } 8720 8721 # So? What about this header? 8722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8723 yes:no: ) 8724 { $as_echo "$as_me:$LINENO: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&5 8725 $as_echo "$as_me: WARNING: sys/timeb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8726 { $as_echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the compiler's result" >&5 8727 $as_echo "$as_me: WARNING: sys/timeb.h: proceeding with the compiler's result" >&2;} 8728 ac_header_preproc=yes 8729 ;; 8730 no:yes:* ) 8731 { $as_echo "$as_me:$LINENO: WARNING: sys/timeb.h: present but cannot be compiled" >&5 8732 $as_echo "$as_me: WARNING: sys/timeb.h: present but cannot be compiled" >&2;} 8733 { $as_echo "$as_me:$LINENO: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&5 8734 $as_echo "$as_me: WARNING: sys/timeb.h: check for missing prerequisite headers?" >&2;} 8735 { $as_echo "$as_me:$LINENO: WARNING: sys/timeb.h: see the Autoconf documentation" >&5 8736 $as_echo "$as_me: WARNING: sys/timeb.h: see the Autoconf documentation" >&2;} 8737 { $as_echo "$as_me:$LINENO: WARNING: sys/timeb.h: section \"Present But Cannot Be Compiled\"" >&5 8738 $as_echo "$as_me: WARNING: sys/timeb.h: section \"Present But Cannot Be Compiled\"" >&2;} 8739 { $as_echo "$as_me:$LINENO: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&5 8740 $as_echo "$as_me: WARNING: sys/timeb.h: proceeding with the preprocessor's result" >&2;} 8741 { $as_echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 8742 $as_echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 8743 8744 ;; 8745 esac 8746 { $as_echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 8747 $as_echo_n "checking for sys/timeb.h... " >&6; } 8748 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8749 $as_echo_n "(cached) " >&6 8750 else 8751 ac_cv_header_sys_timeb_h=$ac_header_preproc 8752 fi 8753 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 8754 $as_echo "$ac_cv_header_sys_timeb_h" >&6; } 8755 8756 fi 8757 if test $ac_cv_header_sys_timeb_h = yes; then 8758 cat >>confdefs.h <<\_ACEOF 8759 #define PJ_HAS_SYS_TIMEB_H 1 8760 _ACEOF 8761 8762 fi 8763 8764 8765 if test "${ac_cv_header_sys_types_h+set}" = set; then 8766 { $as_echo "$as_me:$LINENO: checking for sys/types.h" >&5 8767 $as_echo_n "checking for sys/types.h... " >&6; } 8768 if test "${ac_cv_header_sys_types_h+set}" = set; then 8769 $as_echo_n "(cached) " >&6 8770 fi 8771 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 8772 $as_echo "$ac_cv_header_sys_types_h" >&6; } 8773 else 8774 # Is the header compilable? 8775 { $as_echo "$as_me:$LINENO: checking sys/types.h usability" >&5 8776 $as_echo_n "checking sys/types.h usability... " >&6; } 8777 cat >conftest.$ac_ext <<_ACEOF 8778 /* confdefs.h. */ 8779 _ACEOF 8780 cat confdefs.h >>conftest.$ac_ext 8781 cat >>conftest.$ac_ext <<_ACEOF 8782 /* end confdefs.h. */ 8783 $ac_includes_default 8784 #include <sys/types.h> 8785 _ACEOF 8786 rm -f conftest.$ac_objext 8787 if { (ac_try="$ac_compile" 8788 case "(($ac_try" in 8789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8790 *) ac_try_echo=$ac_try;; 8791 esac 8792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8793 $as_echo "$ac_try_echo") >&5 8794 (eval "$ac_compile") 2>conftest.er1 8795 ac_status=$? 8796 grep -v '^ *+' conftest.er1 >conftest.err 8797 rm -f conftest.er1 8798 cat conftest.err >&5 8799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8800 (exit $ac_status); } && { 8801 test -z "$ac_c_werror_flag" || 8802 test ! -s conftest.err 8803 } && test -s conftest.$ac_objext; then 8804 ac_header_compiler=yes 8805 else 8806 $as_echo "$as_me: failed program was:" >&5 8807 sed 's/^/| /' conftest.$ac_ext >&5 8808 8809 ac_header_compiler=no 8810 fi 8811 8812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8813 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8814 $as_echo "$ac_header_compiler" >&6; } 8815 8816 # Is the header present? 8817 { $as_echo "$as_me:$LINENO: checking sys/types.h presence" >&5 8818 $as_echo_n "checking sys/types.h presence... " >&6; } 8819 cat >conftest.$ac_ext <<_ACEOF 8820 /* confdefs.h. */ 8821 _ACEOF 8822 cat confdefs.h >>conftest.$ac_ext 8823 cat >>conftest.$ac_ext <<_ACEOF 8824 /* end confdefs.h. */ 8825 #include <sys/types.h> 8826 _ACEOF 8827 if { (ac_try="$ac_cpp conftest.$ac_ext" 8828 case "(($ac_try" in 8829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8830 *) ac_try_echo=$ac_try;; 8831 esac 8832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8833 $as_echo "$ac_try_echo") >&5 8834 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8835 ac_status=$? 8836 grep -v '^ *+' conftest.er1 >conftest.err 8837 rm -f conftest.er1 8838 cat conftest.err >&5 8839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8840 (exit $ac_status); } >/dev/null && { 8841 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8842 test ! -s conftest.err 8843 }; then 8844 ac_header_preproc=yes 8845 else 8846 $as_echo "$as_me: failed program was:" >&5 8847 sed 's/^/| /' conftest.$ac_ext >&5 8848 8849 ac_header_preproc=no 8850 fi 8851 8852 rm -f conftest.err conftest.$ac_ext 8853 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8854 $as_echo "$ac_header_preproc" >&6; } 8855 8856 # So? What about this header? 8857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8858 yes:no: ) 8859 { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5 8860 $as_echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8861 { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5 8862 $as_echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;} 8863 ac_header_preproc=yes 8864 ;; 8865 no:yes:* ) 8866 { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5 8867 $as_echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;} 8868 { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: check for missing prerequisite headers?" >&5 8869 $as_echo "$as_me: WARNING: sys/types.h: check for missing prerequisite headers?" >&2;} 8870 { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5 8871 $as_echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;} 8872 { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&5 8873 $as_echo "$as_me: WARNING: sys/types.h: section \"Present But Cannot Be Compiled\"" >&2;} 8874 { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5 8875 $as_echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;} 8876 { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 8877 $as_echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 8878 8879 ;; 8880 esac 8881 { $as_echo "$as_me:$LINENO: checking for sys/types.h" >&5 8882 $as_echo_n "checking for sys/types.h... " >&6; } 8883 if test "${ac_cv_header_sys_types_h+set}" = set; then 8884 $as_echo_n "(cached) " >&6 8885 else 8886 ac_cv_header_sys_types_h=$ac_header_preproc 8887 fi 8888 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 8889 $as_echo "$ac_cv_header_sys_types_h" >&6; } 8890 8891 fi 8892 if test $ac_cv_header_sys_types_h = yes; then 8893 cat >>confdefs.h <<\_ACEOF 8894 #define PJ_HAS_SYS_TYPES_H 1 8895 _ACEOF 8896 8897 fi 8898 8899 8900 if test "${ac_cv_header_time_h+set}" = set; then 8901 { $as_echo "$as_me:$LINENO: checking for time.h" >&5 8902 $as_echo_n "checking for time.h... " >&6; } 8903 if test "${ac_cv_header_time_h+set}" = set; then 8904 $as_echo_n "(cached) " >&6 8905 fi 8906 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 8907 $as_echo "$ac_cv_header_time_h" >&6; } 8908 else 8909 # Is the header compilable? 8910 { $as_echo "$as_me:$LINENO: checking time.h usability" >&5 8911 $as_echo_n "checking time.h usability... " >&6; } 8912 cat >conftest.$ac_ext <<_ACEOF 8913 /* confdefs.h. */ 8914 _ACEOF 8915 cat confdefs.h >>conftest.$ac_ext 8916 cat >>conftest.$ac_ext <<_ACEOF 8917 /* end confdefs.h. */ 8918 $ac_includes_default 8919 #include <time.h> 8920 _ACEOF 8921 rm -f conftest.$ac_objext 8922 if { (ac_try="$ac_compile" 8923 case "(($ac_try" in 8924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8925 *) ac_try_echo=$ac_try;; 8926 esac 8927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8928 $as_echo "$ac_try_echo") >&5 8929 (eval "$ac_compile") 2>conftest.er1 8930 ac_status=$? 8931 grep -v '^ *+' conftest.er1 >conftest.err 8932 rm -f conftest.er1 8933 cat conftest.err >&5 8934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8935 (exit $ac_status); } && { 8936 test -z "$ac_c_werror_flag" || 8937 test ! -s conftest.err 8938 } && test -s conftest.$ac_objext; then 8939 ac_header_compiler=yes 8940 else 8941 $as_echo "$as_me: failed program was:" >&5 8942 sed 's/^/| /' conftest.$ac_ext >&5 8943 8944 ac_header_compiler=no 8945 fi 8946 8947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8948 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8949 $as_echo "$ac_header_compiler" >&6; } 8950 8951 # Is the header present? 8952 { $as_echo "$as_me:$LINENO: checking time.h presence" >&5 8953 $as_echo_n "checking time.h presence... " >&6; } 8954 cat >conftest.$ac_ext <<_ACEOF 8955 /* confdefs.h. */ 8956 _ACEOF 8957 cat confdefs.h >>conftest.$ac_ext 8958 cat >>conftest.$ac_ext <<_ACEOF 8959 /* end confdefs.h. */ 8960 #include <time.h> 8961 _ACEOF 8962 if { (ac_try="$ac_cpp conftest.$ac_ext" 8963 case "(($ac_try" in 8964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8965 *) ac_try_echo=$ac_try;; 8966 esac 8967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 8968 $as_echo "$ac_try_echo") >&5 8969 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8970 ac_status=$? 8971 grep -v '^ *+' conftest.er1 >conftest.err 8972 rm -f conftest.er1 8973 cat conftest.err >&5 8974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 8975 (exit $ac_status); } >/dev/null && { 8976 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8977 test ! -s conftest.err 8978 }; then 8979 ac_header_preproc=yes 8980 else 8981 $as_echo "$as_me: failed program was:" >&5 8982 sed 's/^/| /' conftest.$ac_ext >&5 8983 8984 ac_header_preproc=no 8985 fi 8986 8987 rm -f conftest.err conftest.$ac_ext 8988 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8989 $as_echo "$ac_header_preproc" >&6; } 8990 8991 # So? What about this header? 8992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8993 yes:no: ) 8994 { $as_echo "$as_me:$LINENO: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&5 8995 $as_echo "$as_me: WARNING: time.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8996 { $as_echo "$as_me:$LINENO: WARNING: time.h: proceeding with the compiler's result" >&5 8997 $as_echo "$as_me: WARNING: time.h: proceeding with the compiler's result" >&2;} 8998 ac_header_preproc=yes 8999 ;; 9000 no:yes:* ) 9001 { $as_echo "$as_me:$LINENO: WARNING: time.h: present but cannot be compiled" >&5 9002 $as_echo "$as_me: WARNING: time.h: present but cannot be compiled" >&2;} 9003 { $as_echo "$as_me:$LINENO: WARNING: time.h: check for missing prerequisite headers?" >&5 9004 $as_echo "$as_me: WARNING: time.h: check for missing prerequisite headers?" >&2;} 9005 { $as_echo "$as_me:$LINENO: WARNING: time.h: see the Autoconf documentation" >&5 9006 $as_echo "$as_me: WARNING: time.h: see the Autoconf documentation" >&2;} 9007 { $as_echo "$as_me:$LINENO: WARNING: time.h: section \"Present But Cannot Be Compiled\"" >&5 9008 $as_echo "$as_me: WARNING: time.h: section \"Present But Cannot Be Compiled\"" >&2;} 9009 { $as_echo "$as_me:$LINENO: WARNING: time.h: proceeding with the preprocessor's result" >&5 9010 $as_echo "$as_me: WARNING: time.h: proceeding with the preprocessor's result" >&2;} 9011 { $as_echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 9012 $as_echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 9013 9014 ;; 9015 esac 9016 { $as_echo "$as_me:$LINENO: checking for time.h" >&5 9017 $as_echo_n "checking for time.h... " >&6; } 9018 if test "${ac_cv_header_time_h+set}" = set; then 9019 $as_echo_n "(cached) " >&6 9020 else 9021 ac_cv_header_time_h=$ac_header_preproc 9022 fi 9023 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 9024 $as_echo "$ac_cv_header_time_h" >&6; } 9025 9026 fi 9027 if test $ac_cv_header_time_h = yes; then 9028 cat >>confdefs.h <<\_ACEOF 9029 #define PJ_HAS_TIME_H 1 9030 _ACEOF 9031 9032 fi 9033 9034 9035 if test "${ac_cv_header_unistd_h+set}" = set; then 9036 { $as_echo "$as_me:$LINENO: checking for unistd.h" >&5 9037 $as_echo_n "checking for unistd.h... " >&6; } 9038 if test "${ac_cv_header_unistd_h+set}" = set; then 9039 $as_echo_n "(cached) " >&6 9040 fi 9041 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 9042 $as_echo "$ac_cv_header_unistd_h" >&6; } 9043 else 9044 # Is the header compilable? 9045 { $as_echo "$as_me:$LINENO: checking unistd.h usability" >&5 9046 $as_echo_n "checking unistd.h usability... " >&6; } 9047 cat >conftest.$ac_ext <<_ACEOF 9048 /* confdefs.h. */ 9049 _ACEOF 9050 cat confdefs.h >>conftest.$ac_ext 9051 cat >>conftest.$ac_ext <<_ACEOF 9052 /* end confdefs.h. */ 9053 $ac_includes_default 9054 #include <unistd.h> 9055 _ACEOF 9056 rm -f conftest.$ac_objext 9057 if { (ac_try="$ac_compile" 9058 case "(($ac_try" in 9059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9060 *) ac_try_echo=$ac_try;; 9061 esac 9062 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9063 $as_echo "$ac_try_echo") >&5 9064 (eval "$ac_compile") 2>conftest.er1 9065 ac_status=$? 9066 grep -v '^ *+' conftest.er1 >conftest.err 9067 rm -f conftest.er1 9068 cat conftest.err >&5 9069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9070 (exit $ac_status); } && { 9071 test -z "$ac_c_werror_flag" || 9072 test ! -s conftest.err 9073 } && test -s conftest.$ac_objext; then 9074 ac_header_compiler=yes 9075 else 9076 $as_echo "$as_me: failed program was:" >&5 9077 sed 's/^/| /' conftest.$ac_ext >&5 9078 9079 ac_header_compiler=no 9080 fi 9081 9082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9083 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9084 $as_echo "$ac_header_compiler" >&6; } 9085 9086 # Is the header present? 9087 { $as_echo "$as_me:$LINENO: checking unistd.h presence" >&5 9088 $as_echo_n "checking unistd.h presence... " >&6; } 9089 cat >conftest.$ac_ext <<_ACEOF 9090 /* confdefs.h. */ 9091 _ACEOF 9092 cat confdefs.h >>conftest.$ac_ext 9093 cat >>conftest.$ac_ext <<_ACEOF 9094 /* end confdefs.h. */ 9095 #include <unistd.h> 9096 _ACEOF 9097 if { (ac_try="$ac_cpp conftest.$ac_ext" 9098 case "(($ac_try" in 9099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9100 *) ac_try_echo=$ac_try;; 9101 esac 9102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9103 $as_echo "$ac_try_echo") >&5 9104 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9105 ac_status=$? 9106 grep -v '^ *+' conftest.er1 >conftest.err 9107 rm -f conftest.er1 9108 cat conftest.err >&5 9109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9110 (exit $ac_status); } >/dev/null && { 9111 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9112 test ! -s conftest.err 9113 }; then 9114 ac_header_preproc=yes 9115 else 9116 $as_echo "$as_me: failed program was:" >&5 9117 sed 's/^/| /' conftest.$ac_ext >&5 9118 9119 ac_header_preproc=no 9120 fi 9121 9122 rm -f conftest.err conftest.$ac_ext 9123 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9124 $as_echo "$ac_header_preproc" >&6; } 9125 9126 # So? What about this header? 9127 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9128 yes:no: ) 9129 { $as_echo "$as_me:$LINENO: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&5 9130 $as_echo "$as_me: WARNING: unistd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9131 { $as_echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the compiler's result" >&5 9132 $as_echo "$as_me: WARNING: unistd.h: proceeding with the compiler's result" >&2;} 9133 ac_header_preproc=yes 9134 ;; 9135 no:yes:* ) 9136 { $as_echo "$as_me:$LINENO: WARNING: unistd.h: present but cannot be compiled" >&5 9137 $as_echo "$as_me: WARNING: unistd.h: present but cannot be compiled" >&2;} 9138 { $as_echo "$as_me:$LINENO: WARNING: unistd.h: check for missing prerequisite headers?" >&5 9139 $as_echo "$as_me: WARNING: unistd.h: check for missing prerequisite headers?" >&2;} 9140 { $as_echo "$as_me:$LINENO: WARNING: unistd.h: see the Autoconf documentation" >&5 9141 $as_echo "$as_me: WARNING: unistd.h: see the Autoconf documentation" >&2;} 9142 { $as_echo "$as_me:$LINENO: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&5 9143 $as_echo "$as_me: WARNING: unistd.h: section \"Present But Cannot Be Compiled\"" >&2;} 9144 { $as_echo "$as_me:$LINENO: WARNING: unistd.h: proceeding with the preprocessor's result" >&5 9145 $as_echo "$as_me: WARNING: unistd.h: proceeding with the preprocessor's result" >&2;} 9146 { $as_echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 9147 $as_echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 9148 9149 ;; 9150 esac 9151 { $as_echo "$as_me:$LINENO: checking for unistd.h" >&5 9152 $as_echo_n "checking for unistd.h... " >&6; } 9153 if test "${ac_cv_header_unistd_h+set}" = set; then 9154 $as_echo_n "(cached) " >&6 9155 else 9156 ac_cv_header_unistd_h=$ac_header_preproc 9157 fi 9158 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 9159 $as_echo "$ac_cv_header_unistd_h" >&6; } 9160 9161 fi 9162 if test $ac_cv_header_unistd_h = yes; then 9163 cat >>confdefs.h <<\_ACEOF 9164 #define PJ_HAS_UNISTD_H 1 9165 _ACEOF 9166 9167 fi 9168 9169 9170 if test "${ac_cv_header_winsock_h+set}" = set; then 9171 { $as_echo "$as_me:$LINENO: checking for winsock.h" >&5 9172 $as_echo_n "checking for winsock.h... " >&6; } 9173 if test "${ac_cv_header_winsock_h+set}" = set; then 9174 $as_echo_n "(cached) " >&6 9175 fi 9176 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 9177 $as_echo "$ac_cv_header_winsock_h" >&6; } 9178 else 9179 # Is the header compilable? 9180 { $as_echo "$as_me:$LINENO: checking winsock.h usability" >&5 9181 $as_echo_n "checking winsock.h usability... " >&6; } 9182 cat >conftest.$ac_ext <<_ACEOF 9183 /* confdefs.h. */ 9184 _ACEOF 9185 cat confdefs.h >>conftest.$ac_ext 9186 cat >>conftest.$ac_ext <<_ACEOF 9187 /* end confdefs.h. */ 9188 $ac_includes_default 9189 #include <winsock.h> 9190 _ACEOF 9191 rm -f conftest.$ac_objext 9192 if { (ac_try="$ac_compile" 9193 case "(($ac_try" in 9194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9195 *) ac_try_echo=$ac_try;; 9196 esac 9197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9198 $as_echo "$ac_try_echo") >&5 9199 (eval "$ac_compile") 2>conftest.er1 9200 ac_status=$? 9201 grep -v '^ *+' conftest.er1 >conftest.err 9202 rm -f conftest.er1 9203 cat conftest.err >&5 9204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9205 (exit $ac_status); } && { 9206 test -z "$ac_c_werror_flag" || 9207 test ! -s conftest.err 9208 } && test -s conftest.$ac_objext; then 9209 ac_header_compiler=yes 9210 else 9211 $as_echo "$as_me: failed program was:" >&5 9212 sed 's/^/| /' conftest.$ac_ext >&5 9213 9214 ac_header_compiler=no 9215 fi 9216 9217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9218 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9219 $as_echo "$ac_header_compiler" >&6; } 9220 9221 # Is the header present? 9222 { $as_echo "$as_me:$LINENO: checking winsock.h presence" >&5 9223 $as_echo_n "checking winsock.h presence... " >&6; } 9224 cat >conftest.$ac_ext <<_ACEOF 9225 /* confdefs.h. */ 9226 _ACEOF 9227 cat confdefs.h >>conftest.$ac_ext 9228 cat >>conftest.$ac_ext <<_ACEOF 9229 /* end confdefs.h. */ 9230 #include <winsock.h> 9231 _ACEOF 9232 if { (ac_try="$ac_cpp conftest.$ac_ext" 9233 case "(($ac_try" in 9234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9235 *) ac_try_echo=$ac_try;; 9236 esac 9237 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9238 $as_echo "$ac_try_echo") >&5 9239 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9240 ac_status=$? 9241 grep -v '^ *+' conftest.er1 >conftest.err 9242 rm -f conftest.er1 9243 cat conftest.err >&5 9244 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9245 (exit $ac_status); } >/dev/null && { 9246 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9247 test ! -s conftest.err 9248 }; then 9249 ac_header_preproc=yes 9250 else 9251 $as_echo "$as_me: failed program was:" >&5 9252 sed 's/^/| /' conftest.$ac_ext >&5 9253 9254 ac_header_preproc=no 9255 fi 9256 9257 rm -f conftest.err conftest.$ac_ext 9258 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9259 $as_echo "$ac_header_preproc" >&6; } 9260 9261 # So? What about this header? 9262 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9263 yes:no: ) 9264 { $as_echo "$as_me:$LINENO: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&5 9265 $as_echo "$as_me: WARNING: winsock.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9266 { $as_echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the compiler's result" >&5 9267 $as_echo "$as_me: WARNING: winsock.h: proceeding with the compiler's result" >&2;} 9268 ac_header_preproc=yes 9269 ;; 9270 no:yes:* ) 9271 { $as_echo "$as_me:$LINENO: WARNING: winsock.h: present but cannot be compiled" >&5 9272 $as_echo "$as_me: WARNING: winsock.h: present but cannot be compiled" >&2;} 9273 { $as_echo "$as_me:$LINENO: WARNING: winsock.h: check for missing prerequisite headers?" >&5 9274 $as_echo "$as_me: WARNING: winsock.h: check for missing prerequisite headers?" >&2;} 9275 { $as_echo "$as_me:$LINENO: WARNING: winsock.h: see the Autoconf documentation" >&5 9276 $as_echo "$as_me: WARNING: winsock.h: see the Autoconf documentation" >&2;} 9277 { $as_echo "$as_me:$LINENO: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&5 9278 $as_echo "$as_me: WARNING: winsock.h: section \"Present But Cannot Be Compiled\"" >&2;} 9279 { $as_echo "$as_me:$LINENO: WARNING: winsock.h: proceeding with the preprocessor's result" >&5 9280 $as_echo "$as_me: WARNING: winsock.h: proceeding with the preprocessor's result" >&2;} 9281 { $as_echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 9282 $as_echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 9283 9284 ;; 9285 esac 9286 { $as_echo "$as_me:$LINENO: checking for winsock.h" >&5 9287 $as_echo_n "checking for winsock.h... " >&6; } 9288 if test "${ac_cv_header_winsock_h+set}" = set; then 9289 $as_echo_n "(cached) " >&6 9290 else 9291 ac_cv_header_winsock_h=$ac_header_preproc 9292 fi 9293 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 9294 $as_echo "$ac_cv_header_winsock_h" >&6; } 9295 9296 fi 9297 if test $ac_cv_header_winsock_h = yes; then 9298 cat >>confdefs.h <<\_ACEOF 9299 #define PJ_HAS_WINSOCK_H 1 9300 _ACEOF 9301 9302 fi 9303 9304 9305 if test "${ac_cv_header_winsock2_h+set}" = set; then 9306 { $as_echo "$as_me:$LINENO: checking for winsock2.h" >&5 9307 $as_echo_n "checking for winsock2.h... " >&6; } 9308 if test "${ac_cv_header_winsock2_h+set}" = set; then 9309 $as_echo_n "(cached) " >&6 9310 fi 9311 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 9312 $as_echo "$ac_cv_header_winsock2_h" >&6; } 9313 else 9314 # Is the header compilable? 9315 { $as_echo "$as_me:$LINENO: checking winsock2.h usability" >&5 9316 $as_echo_n "checking winsock2.h usability... " >&6; } 9317 cat >conftest.$ac_ext <<_ACEOF 9318 /* confdefs.h. */ 9319 _ACEOF 9320 cat confdefs.h >>conftest.$ac_ext 9321 cat >>conftest.$ac_ext <<_ACEOF 9322 /* end confdefs.h. */ 9323 $ac_includes_default 9324 #include <winsock2.h> 9325 _ACEOF 9326 rm -f conftest.$ac_objext 9327 if { (ac_try="$ac_compile" 9328 case "(($ac_try" in 9329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9330 *) ac_try_echo=$ac_try;; 9331 esac 9332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9333 $as_echo "$ac_try_echo") >&5 9334 (eval "$ac_compile") 2>conftest.er1 9335 ac_status=$? 9336 grep -v '^ *+' conftest.er1 >conftest.err 9337 rm -f conftest.er1 9338 cat conftest.err >&5 9339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9340 (exit $ac_status); } && { 9341 test -z "$ac_c_werror_flag" || 9342 test ! -s conftest.err 9343 } && test -s conftest.$ac_objext; then 9344 ac_header_compiler=yes 9345 else 9346 $as_echo "$as_me: failed program was:" >&5 9347 sed 's/^/| /' conftest.$ac_ext >&5 9348 9349 ac_header_compiler=no 9350 fi 9351 9352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9353 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9354 $as_echo "$ac_header_compiler" >&6; } 9355 9356 # Is the header present? 9357 { $as_echo "$as_me:$LINENO: checking winsock2.h presence" >&5 9358 $as_echo_n "checking winsock2.h presence... " >&6; } 9359 cat >conftest.$ac_ext <<_ACEOF 9360 /* confdefs.h. */ 9361 _ACEOF 9362 cat confdefs.h >>conftest.$ac_ext 9363 cat >>conftest.$ac_ext <<_ACEOF 9364 /* end confdefs.h. */ 9365 #include <winsock2.h> 9366 _ACEOF 9367 if { (ac_try="$ac_cpp conftest.$ac_ext" 9368 case "(($ac_try" in 9369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9370 *) ac_try_echo=$ac_try;; 9371 esac 9372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9373 $as_echo "$ac_try_echo") >&5 9374 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9375 ac_status=$? 9376 grep -v '^ *+' conftest.er1 >conftest.err 9377 rm -f conftest.er1 9378 cat conftest.err >&5 9379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9380 (exit $ac_status); } >/dev/null && { 9381 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9382 test ! -s conftest.err 9383 }; then 9384 ac_header_preproc=yes 9385 else 9386 $as_echo "$as_me: failed program was:" >&5 9387 sed 's/^/| /' conftest.$ac_ext >&5 9388 9389 ac_header_preproc=no 9390 fi 9391 9392 rm -f conftest.err conftest.$ac_ext 9393 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9394 $as_echo "$ac_header_preproc" >&6; } 9395 9396 # So? What about this header? 9397 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9398 yes:no: ) 9399 { $as_echo "$as_me:$LINENO: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&5 9400 $as_echo "$as_me: WARNING: winsock2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9401 { $as_echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the compiler's result" >&5 9402 $as_echo "$as_me: WARNING: winsock2.h: proceeding with the compiler's result" >&2;} 9403 ac_header_preproc=yes 9404 ;; 9405 no:yes:* ) 9406 { $as_echo "$as_me:$LINENO: WARNING: winsock2.h: present but cannot be compiled" >&5 9407 $as_echo "$as_me: WARNING: winsock2.h: present but cannot be compiled" >&2;} 9408 { $as_echo "$as_me:$LINENO: WARNING: winsock2.h: check for missing prerequisite headers?" >&5 9409 $as_echo "$as_me: WARNING: winsock2.h: check for missing prerequisite headers?" >&2;} 9410 { $as_echo "$as_me:$LINENO: WARNING: winsock2.h: see the Autoconf documentation" >&5 9411 $as_echo "$as_me: WARNING: winsock2.h: see the Autoconf documentation" >&2;} 9412 { $as_echo "$as_me:$LINENO: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&5 9413 $as_echo "$as_me: WARNING: winsock2.h: section \"Present But Cannot Be Compiled\"" >&2;} 9414 { $as_echo "$as_me:$LINENO: WARNING: winsock2.h: proceeding with the preprocessor's result" >&5 9415 $as_echo "$as_me: WARNING: winsock2.h: proceeding with the preprocessor's result" >&2;} 9416 { $as_echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 9417 $as_echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 9418 9419 ;; 9420 esac 9421 { $as_echo "$as_me:$LINENO: checking for winsock2.h" >&5 9422 $as_echo_n "checking for winsock2.h... " >&6; } 9423 if test "${ac_cv_header_winsock2_h+set}" = set; then 9424 $as_echo_n "(cached) " >&6 9425 else 9426 ac_cv_header_winsock2_h=$ac_header_preproc 9427 fi 9428 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 9429 $as_echo "$ac_cv_header_winsock2_h" >&6; } 9430 9431 fi 9432 if test $ac_cv_header_winsock2_h = yes; then 9433 cat >>confdefs.h <<\_ACEOF 9434 #define PJ_HAS_WINSOCK2_H 1 9435 _ACEOF 9436 9437 fi 9438 9439 9440 { $as_echo "$as_me:$LINENO: checking for mswsock.h" >&5 9441 $as_echo_n "checking for mswsock.h... " >&6; } 9442 if test "${ac_cv_header_mswsock_h+set}" = set; then 9443 $as_echo_n "(cached) " >&6 9444 else 9445 cat >conftest.$ac_ext <<_ACEOF 9446 /* confdefs.h. */ 9447 _ACEOF 9448 cat confdefs.h >>conftest.$ac_ext 9449 cat >>conftest.$ac_ext <<_ACEOF 9450 /* end confdefs.h. */ 9451 #if PJ_HAS_WINSOCK2_H 4601 " 4602 if test "x$ac_cv_header_netinet_ip_h" = x""yes; then : 4603 $as_echo "#define PJ_HAS_NETINET_IP_H 1" >>confdefs.h 4604 4605 fi 4606 4607 4608 ac_fn_c_check_header_mongrel "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default" 4609 if test "x$ac_cv_header_netinet_tcp_h" = x""yes; then : 4610 $as_echo "#define PJ_HAS_NETINET_TCP_H 1" >>confdefs.h 4611 4612 fi 4613 4614 4615 ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default" 4616 if test "x$ac_cv_header_ifaddrs_h" = x""yes; then : 4617 $as_echo "#define PJ_HAS_IFADDRS_H 1" >>confdefs.h 4618 4619 fi 4620 4621 4622 ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default" 4623 if test "x$ac_cv_header_semaphore_h" = x""yes; then : 4624 $as_echo "#define PJ_HAS_SEMAPHORE_H 1" >>confdefs.h 4625 4626 fi 4627 4628 4629 ac_fn_c_check_header_mongrel "$LINENO" "setjmp.h" "ac_cv_header_setjmp_h" "$ac_includes_default" 4630 if test "x$ac_cv_header_setjmp_h" = x""yes; then : 4631 $as_echo "#define PJ_HAS_SETJMP_H 1" >>confdefs.h 4632 4633 fi 4634 4635 4636 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default" 4637 if test "x$ac_cv_header_stdarg_h" = x""yes; then : 4638 $as_echo "#define PJ_HAS_STDARG_H 1" >>confdefs.h 4639 4640 fi 4641 4642 4643 ac_fn_c_check_header_mongrel "$LINENO" "stddef.h" "ac_cv_header_stddef_h" "$ac_includes_default" 4644 if test "x$ac_cv_header_stddef_h" = x""yes; then : 4645 $as_echo "#define PJ_HAS_STDDEF_H 1" >>confdefs.h 4646 4647 fi 4648 4649 4650 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default" 4651 if test "x$ac_cv_header_stdio_h" = x""yes; then : 4652 $as_echo "#define PJ_HAS_STDIO_H 1" >>confdefs.h 4653 4654 fi 4655 4656 4657 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default" 4658 if test "x$ac_cv_header_stdint_h" = x""yes; then : 4659 $as_echo "#define PJ_HAS_STDINT_H 1" >>confdefs.h 4660 4661 fi 4662 4663 4664 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 4665 if test "x$ac_cv_header_stdlib_h" = x""yes; then : 4666 $as_echo "#define PJ_HAS_STDLIB_H 1" >>confdefs.h 4667 4668 fi 4669 4670 4671 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" 4672 if test "x$ac_cv_header_string_h" = x""yes; then : 4673 $as_echo "#define PJ_HAS_STRING_H 1" >>confdefs.h 4674 4675 fi 4676 4677 4678 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default" 4679 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then : 4680 $as_echo "#define PJ_HAS_SYS_IOCTL_H 1" >>confdefs.h 4681 4682 fi 4683 4684 4685 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default" 4686 if test "x$ac_cv_header_sys_select_h" = x""yes; then : 4687 $as_echo "#define PJ_HAS_SYS_SELECT_H 1" >>confdefs.h 4688 4689 fi 4690 4691 4692 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" 4693 if test "x$ac_cv_header_sys_socket_h" = x""yes; then : 4694 $as_echo "#define PJ_HAS_SYS_SOCKET_H 1" >>confdefs.h 4695 4696 fi 4697 4698 4699 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" 4700 if test "x$ac_cv_header_sys_time_h" = x""yes; then : 4701 $as_echo "#define PJ_HAS_SYS_TIME_H 1" >>confdefs.h 4702 4703 fi 4704 4705 4706 ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default" 4707 if test "x$ac_cv_header_sys_timeb_h" = x""yes; then : 4708 $as_echo "#define PJ_HAS_SYS_TIMEB_H 1" >>confdefs.h 4709 4710 fi 4711 4712 4713 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" 4714 if test "x$ac_cv_header_sys_types_h" = x""yes; then : 4715 $as_echo "#define PJ_HAS_SYS_TYPES_H 1" >>confdefs.h 4716 4717 fi 4718 4719 4720 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default" 4721 if test "x$ac_cv_header_time_h" = x""yes; then : 4722 $as_echo "#define PJ_HAS_TIME_H 1" >>confdefs.h 4723 4724 fi 4725 4726 4727 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 4728 if test "x$ac_cv_header_unistd_h" = x""yes; then : 4729 $as_echo "#define PJ_HAS_UNISTD_H 1" >>confdefs.h 4730 4731 fi 4732 4733 4734 ac_fn_c_check_header_mongrel "$LINENO" "winsock.h" "ac_cv_header_winsock_h" "$ac_includes_default" 4735 if test "x$ac_cv_header_winsock_h" = x""yes; then : 4736 $as_echo "#define PJ_HAS_WINSOCK_H 1" >>confdefs.h 4737 4738 fi 4739 4740 4741 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" 4742 if test "x$ac_cv_header_winsock2_h" = x""yes; then : 4743 $as_echo "#define PJ_HAS_WINSOCK2_H 1" >>confdefs.h 4744 4745 fi 4746 4747 4748 ac_fn_c_check_header_compile "$LINENO" "mswsock.h" "ac_cv_header_mswsock_h" "#if PJ_HAS_WINSOCK2_H 9452 4749 # include <winsock2.h> 9453 4750 #elif PJ_HAS_WINSOCK_H … … 9455 4752 #endif 9456 4753 9457 9458 #include <mswsock.h> 9459 _ACEOF 9460 rm -f conftest.$ac_objext 9461 if { (ac_try="$ac_compile" 9462 case "(($ac_try" in 9463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9464 *) ac_try_echo=$ac_try;; 9465 esac 9466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9467 $as_echo "$ac_try_echo") >&5 9468 (eval "$ac_compile") 2>conftest.er1 9469 ac_status=$? 9470 grep -v '^ *+' conftest.er1 >conftest.err 9471 rm -f conftest.er1 9472 cat conftest.err >&5 9473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9474 (exit $ac_status); } && { 9475 test -z "$ac_c_werror_flag" || 9476 test ! -s conftest.err 9477 } && test -s conftest.$ac_objext; then 9478 ac_cv_header_mswsock_h=yes 9479 else 9480 $as_echo "$as_me: failed program was:" >&5 9481 sed 's/^/| /' conftest.$ac_ext >&5 9482 9483 ac_cv_header_mswsock_h=no 9484 fi 9485 9486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9487 fi 9488 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 9489 $as_echo "$ac_cv_header_mswsock_h" >&6; } 9490 if test $ac_cv_header_mswsock_h = yes; then 9491 cat >>confdefs.h <<\_ACEOF 9492 #define PJ_HAS_MSWSOCK_H 1 9493 _ACEOF 9494 9495 fi 9496 9497 9498 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 9499 { $as_echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 9500 $as_echo_n "checking for ws2tcpip.h... " >&6; } 9501 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 9502 $as_echo_n "(cached) " >&6 9503 fi 9504 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 9505 $as_echo "$ac_cv_header_ws2tcpip_h" >&6; } 9506 else 9507 # Is the header compilable? 9508 { $as_echo "$as_me:$LINENO: checking ws2tcpip.h usability" >&5 9509 $as_echo_n "checking ws2tcpip.h usability... " >&6; } 9510 cat >conftest.$ac_ext <<_ACEOF 9511 /* confdefs.h. */ 9512 _ACEOF 9513 cat confdefs.h >>conftest.$ac_ext 9514 cat >>conftest.$ac_ext <<_ACEOF 9515 /* end confdefs.h. */ 9516 $ac_includes_default 9517 #include <ws2tcpip.h> 9518 _ACEOF 9519 rm -f conftest.$ac_objext 9520 if { (ac_try="$ac_compile" 9521 case "(($ac_try" in 9522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9523 *) ac_try_echo=$ac_try;; 9524 esac 9525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9526 $as_echo "$ac_try_echo") >&5 9527 (eval "$ac_compile") 2>conftest.er1 9528 ac_status=$? 9529 grep -v '^ *+' conftest.er1 >conftest.err 9530 rm -f conftest.er1 9531 cat conftest.err >&5 9532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9533 (exit $ac_status); } && { 9534 test -z "$ac_c_werror_flag" || 9535 test ! -s conftest.err 9536 } && test -s conftest.$ac_objext; then 9537 ac_header_compiler=yes 9538 else 9539 $as_echo "$as_me: failed program was:" >&5 9540 sed 's/^/| /' conftest.$ac_ext >&5 9541 9542 ac_header_compiler=no 9543 fi 9544 9545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9546 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9547 $as_echo "$ac_header_compiler" >&6; } 9548 9549 # Is the header present? 9550 { $as_echo "$as_me:$LINENO: checking ws2tcpip.h presence" >&5 9551 $as_echo_n "checking ws2tcpip.h presence... " >&6; } 9552 cat >conftest.$ac_ext <<_ACEOF 9553 /* confdefs.h. */ 9554 _ACEOF 9555 cat confdefs.h >>conftest.$ac_ext 9556 cat >>conftest.$ac_ext <<_ACEOF 9557 /* end confdefs.h. */ 9558 #include <ws2tcpip.h> 9559 _ACEOF 9560 if { (ac_try="$ac_cpp conftest.$ac_ext" 9561 case "(($ac_try" in 9562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9563 *) ac_try_echo=$ac_try;; 9564 esac 9565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9566 $as_echo "$ac_try_echo") >&5 9567 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9568 ac_status=$? 9569 grep -v '^ *+' conftest.er1 >conftest.err 9570 rm -f conftest.er1 9571 cat conftest.err >&5 9572 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9573 (exit $ac_status); } >/dev/null && { 9574 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9575 test ! -s conftest.err 9576 }; then 9577 ac_header_preproc=yes 9578 else 9579 $as_echo "$as_me: failed program was:" >&5 9580 sed 's/^/| /' conftest.$ac_ext >&5 9581 9582 ac_header_preproc=no 9583 fi 9584 9585 rm -f conftest.err conftest.$ac_ext 9586 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9587 $as_echo "$ac_header_preproc" >&6; } 9588 9589 # So? What about this header? 9590 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9591 yes:no: ) 9592 { $as_echo "$as_me:$LINENO: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&5 9593 $as_echo "$as_me: WARNING: ws2tcpip.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9594 { $as_echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&5 9595 $as_echo "$as_me: WARNING: ws2tcpip.h: proceeding with the compiler's result" >&2;} 9596 ac_header_preproc=yes 9597 ;; 9598 no:yes:* ) 9599 { $as_echo "$as_me:$LINENO: WARNING: ws2tcpip.h: present but cannot be compiled" >&5 9600 $as_echo "$as_me: WARNING: ws2tcpip.h: present but cannot be compiled" >&2;} 9601 { $as_echo "$as_me:$LINENO: WARNING: ws2tcpip.h: check for missing prerequisite headers?" >&5 9602 $as_echo "$as_me: WARNING: ws2tcpip.h: check for missing prerequisite headers?" >&2;} 9603 { $as_echo "$as_me:$LINENO: WARNING: ws2tcpip.h: see the Autoconf documentation" >&5 9604 $as_echo "$as_me: WARNING: ws2tcpip.h: see the Autoconf documentation" >&2;} 9605 { $as_echo "$as_me:$LINENO: WARNING: ws2tcpip.h: section \"Present But Cannot Be Compiled\"" >&5 9606 $as_echo "$as_me: WARNING: ws2tcpip.h: section \"Present But Cannot Be Compiled\"" >&2;} 9607 { $as_echo "$as_me:$LINENO: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&5 9608 $as_echo "$as_me: WARNING: ws2tcpip.h: proceeding with the preprocessor's result" >&2;} 9609 { $as_echo "$as_me:$LINENO: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&5 9610 $as_echo "$as_me: WARNING: ws2tcpip.h: in the future, the compiler will take precedence" >&2;} 9611 9612 ;; 9613 esac 9614 { $as_echo "$as_me:$LINENO: checking for ws2tcpip.h" >&5 9615 $as_echo_n "checking for ws2tcpip.h... " >&6; } 9616 if test "${ac_cv_header_ws2tcpip_h+set}" = set; then 9617 $as_echo_n "(cached) " >&6 9618 else 9619 ac_cv_header_ws2tcpip_h=$ac_header_preproc 9620 fi 9621 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_ws2tcpip_h" >&5 9622 $as_echo "$ac_cv_header_ws2tcpip_h" >&6; } 9623 9624 fi 9625 if test $ac_cv_header_ws2tcpip_h = yes; then 9626 cat >>confdefs.h <<\_ACEOF 9627 #define PJ_HAS_WS2TCPIP_H 1 9628 _ACEOF 9629 9630 fi 9631 9632 9633 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 9634 { $as_echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 9635 $as_echo_n "checking for uuid/uuid.h... " >&6; } 9636 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 9637 $as_echo_n "(cached) " >&6 9638 fi 9639 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 9640 $as_echo "$ac_cv_header_uuid_uuid_h" >&6; } 9641 else 9642 # Is the header compilable? 9643 { $as_echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5 9644 $as_echo_n "checking uuid/uuid.h usability... " >&6; } 9645 cat >conftest.$ac_ext <<_ACEOF 9646 /* confdefs.h. */ 9647 _ACEOF 9648 cat confdefs.h >>conftest.$ac_ext 9649 cat >>conftest.$ac_ext <<_ACEOF 9650 /* end confdefs.h. */ 9651 $ac_includes_default 9652 #include <uuid/uuid.h> 9653 _ACEOF 9654 rm -f conftest.$ac_objext 9655 if { (ac_try="$ac_compile" 9656 case "(($ac_try" in 9657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9658 *) ac_try_echo=$ac_try;; 9659 esac 9660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9661 $as_echo "$ac_try_echo") >&5 9662 (eval "$ac_compile") 2>conftest.er1 9663 ac_status=$? 9664 grep -v '^ *+' conftest.er1 >conftest.err 9665 rm -f conftest.er1 9666 cat conftest.err >&5 9667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9668 (exit $ac_status); } && { 9669 test -z "$ac_c_werror_flag" || 9670 test ! -s conftest.err 9671 } && test -s conftest.$ac_objext; then 9672 ac_header_compiler=yes 9673 else 9674 $as_echo "$as_me: failed program was:" >&5 9675 sed 's/^/| /' conftest.$ac_ext >&5 9676 9677 ac_header_compiler=no 9678 fi 9679 9680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9681 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9682 $as_echo "$ac_header_compiler" >&6; } 9683 9684 # Is the header present? 9685 { $as_echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5 9686 $as_echo_n "checking uuid/uuid.h presence... " >&6; } 9687 cat >conftest.$ac_ext <<_ACEOF 9688 /* confdefs.h. */ 9689 _ACEOF 9690 cat confdefs.h >>conftest.$ac_ext 9691 cat >>conftest.$ac_ext <<_ACEOF 9692 /* end confdefs.h. */ 9693 #include <uuid/uuid.h> 9694 _ACEOF 9695 if { (ac_try="$ac_cpp conftest.$ac_ext" 9696 case "(($ac_try" in 9697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9698 *) ac_try_echo=$ac_try;; 9699 esac 9700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9701 $as_echo "$ac_try_echo") >&5 9702 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9703 ac_status=$? 9704 grep -v '^ *+' conftest.er1 >conftest.err 9705 rm -f conftest.er1 9706 cat conftest.err >&5 9707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9708 (exit $ac_status); } >/dev/null && { 9709 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9710 test ! -s conftest.err 9711 }; then 9712 ac_header_preproc=yes 9713 else 9714 $as_echo "$as_me: failed program was:" >&5 9715 sed 's/^/| /' conftest.$ac_ext >&5 9716 9717 ac_header_preproc=no 9718 fi 9719 9720 rm -f conftest.err conftest.$ac_ext 9721 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9722 $as_echo "$ac_header_preproc" >&6; } 9723 9724 # So? What about this header? 9725 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 9726 yes:no: ) 9727 { $as_echo "$as_me:$LINENO: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&5 9728 $as_echo "$as_me: WARNING: uuid/uuid.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9729 { $as_echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&5 9730 $as_echo "$as_me: WARNING: uuid/uuid.h: proceeding with the compiler's result" >&2;} 9731 ac_header_preproc=yes 9732 ;; 9733 no:yes:* ) 9734 { $as_echo "$as_me:$LINENO: WARNING: uuid/uuid.h: present but cannot be compiled" >&5 9735 $as_echo "$as_me: WARNING: uuid/uuid.h: present but cannot be compiled" >&2;} 9736 { $as_echo "$as_me:$LINENO: WARNING: uuid/uuid.h: check for missing prerequisite headers?" >&5 9737 $as_echo "$as_me: WARNING: uuid/uuid.h: check for missing prerequisite headers?" >&2;} 9738 { $as_echo "$as_me:$LINENO: WARNING: uuid/uuid.h: see the Autoconf documentation" >&5 9739 $as_echo "$as_me: WARNING: uuid/uuid.h: see the Autoconf documentation" >&2;} 9740 { $as_echo "$as_me:$LINENO: WARNING: uuid/uuid.h: section \"Present But Cannot Be Compiled\"" >&5 9741 $as_echo "$as_me: WARNING: uuid/uuid.h: section \"Present But Cannot Be Compiled\"" >&2;} 9742 { $as_echo "$as_me:$LINENO: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&5 9743 $as_echo "$as_me: WARNING: uuid/uuid.h: proceeding with the preprocessor's result" >&2;} 9744 { $as_echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5 9745 $as_echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;} 9746 9747 ;; 9748 esac 9749 { $as_echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 9750 $as_echo_n "checking for uuid/uuid.h... " >&6; } 9751 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 9752 $as_echo_n "(cached) " >&6 9753 else 9754 ac_cv_header_uuid_uuid_h=$ac_header_preproc 9755 fi 9756 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 9757 $as_echo "$ac_cv_header_uuid_uuid_h" >&6; } 9758 9759 fi 9760 if test $ac_cv_header_uuid_uuid_h = yes; then 4754 " 4755 if test "x$ac_cv_header_mswsock_h" = x""yes; then : 4756 $as_echo "#define PJ_HAS_MSWSOCK_H 1" >>confdefs.h 4757 4758 fi 4759 4760 4761 ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default" 4762 if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then : 4763 $as_echo "#define PJ_HAS_WS2TCPIP_H 1" >>confdefs.h 4764 4765 fi 4766 4767 4768 ac_fn_c_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default" 4769 if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then : 9761 4770 ac_has_uuid_h=1 9762 4771 fi 9763 4772 9764 4773 9765 { $as_echo "$as_me:$LINENO: checking for net/if.h" >&5 9766 $as_echo_n "checking for net/if.h... " >&6; } 9767 if test "${ac_cv_header_net_if_h+set}" = set; then 9768 $as_echo_n "(cached) " >&6 9769 else 9770 cat >conftest.$ac_ext <<_ACEOF 9771 /* confdefs.h. */ 9772 _ACEOF 9773 cat confdefs.h >>conftest.$ac_ext 9774 cat >>conftest.$ac_ext <<_ACEOF 9775 /* end confdefs.h. */ 9776 #if PJ_HAS_SYS_TYPES_H 4774 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#if PJ_HAS_SYS_TYPES_H 9777 4775 # include <sys/types.h> 9778 4776 #endif … … 9782 4780 #endif 9783 4781 9784 9785 #include <net/if.h> 9786 _ACEOF 9787 rm -f conftest.$ac_objext 9788 if { (ac_try="$ac_compile" 9789 case "(($ac_try" in 9790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9791 *) ac_try_echo=$ac_try;; 9792 esac 9793 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9794 $as_echo "$ac_try_echo") >&5 9795 (eval "$ac_compile") 2>conftest.er1 9796 ac_status=$? 9797 grep -v '^ *+' conftest.er1 >conftest.err 9798 rm -f conftest.er1 9799 cat conftest.err >&5 9800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9801 (exit $ac_status); } && { 9802 test -z "$ac_c_werror_flag" || 9803 test ! -s conftest.err 9804 } && test -s conftest.$ac_objext; then 9805 ac_cv_header_net_if_h=yes 9806 else 9807 $as_echo "$as_me: failed program was:" >&5 9808 sed 's/^/| /' conftest.$ac_ext >&5 9809 9810 ac_cv_header_net_if_h=no 9811 fi 9812 9813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9814 fi 9815 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 9816 $as_echo "$ac_cv_header_net_if_h" >&6; } 9817 if test $ac_cv_header_net_if_h = yes; then 9818 cat >>confdefs.h <<\_ACEOF 9819 #define PJ_HAS_NET_IF_H 1 9820 _ACEOF 9821 9822 fi 9823 9824 9825 { $as_echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 4782 " 4783 if test "x$ac_cv_header_net_if_h" = x""yes; then : 4784 $as_echo "#define PJ_HAS_NET_IF_H 1" >>confdefs.h 4785 4786 fi 4787 4788 4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_OS_NAME to $target" >&5 9826 4790 $as_echo "Setting PJ_OS_NAME to $target" >&6; } 9827 4791 cat >>confdefs.h <<_ACEOF … … 9830 4794 9831 4795 9832 { $as_echo "$as_me:$ LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&54796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 9833 4797 $as_echo "Setting PJ_HAS_ERRNO_VAR to 1" >&6; } 9834 cat >>confdefs.h <<\_ACEOF 9835 #define PJ_HAS_ERRNO_VAR 1 9836 _ACEOF 9837 9838 9839 { $as_echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 4798 $as_echo "#define PJ_HAS_ERRNO_VAR 1" >>confdefs.h 4799 4800 4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 9840 4802 $as_echo "Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6; } 9841 cat >>confdefs.h <<\_ACEOF 9842 #define PJ_HAS_HIGH_RES_TIMER 1 9843 _ACEOF 9844 9845 9846 { $as_echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 4803 $as_echo "#define PJ_HAS_HIGH_RES_TIMER 1" >>confdefs.h 4804 4805 4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_HAS_MALLOC to 1" >&5 9847 4807 $as_echo "Setting PJ_HAS_MALLOC to 1" >&6; } 9848 cat >>confdefs.h <<\_ACEOF 9849 #define PJ_HAS_MALLOC 1 9850 _ACEOF 9851 9852 9853 { $as_echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 4808 $as_echo "#define PJ_HAS_MALLOC 1" >>confdefs.h 4809 4810 4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 9854 4812 $as_echo "Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6; } 9855 cat >>confdefs.h <<\_ACEOF 9856 #define PJ_NATIVE_STRING_IS_UNICODE 0 9857 _ACEOF 9858 9859 9860 { $as_echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 4813 $as_echo "#define PJ_NATIVE_STRING_IS_UNICODE 0" >>confdefs.h 4814 4815 4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 9861 4817 $as_echo "Setting PJ_ATOMIC_VALUE_TYPE to long" >&6; } 9862 cat >>confdefs.h <<\_ACEOF 9863 #define PJ_ATOMIC_VALUE_TYPE long 9864 _ACEOF 9865 9866 9867 { $as_echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 4818 $as_echo "#define PJ_ATOMIC_VALUE_TYPE long" >>confdefs.h 4819 4820 4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_aton() is available" >&5 9868 4822 $as_echo_n "checking if inet_aton() is available... " >&6; } 9869 cat >conftest.$ac_ext <<_ACEOF 9870 /* confdefs.h. */ 9871 _ACEOF 9872 cat confdefs.h >>conftest.$ac_ext 9873 cat >>conftest.$ac_ext <<_ACEOF 4823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9874 4824 /* end confdefs.h. */ 9875 4825 #include <sys/types.h> … … 9884 4834 } 9885 4835 _ACEOF 9886 rm -f conftest.$ac_objext 9887 if { (ac_try="$ac_compile" 9888 case "(($ac_try" in 9889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9890 *) ac_try_echo=$ac_try;; 9891 esac 9892 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9893 $as_echo "$ac_try_echo") >&5 9894 (eval "$ac_compile") 2>conftest.er1 9895 ac_status=$? 9896 grep -v '^ *+' conftest.er1 >conftest.err 9897 rm -f conftest.er1 9898 cat conftest.err >&5 9899 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9900 (exit $ac_status); } && { 9901 test -z "$ac_c_werror_flag" || 9902 test ! -s conftest.err 9903 } && test -s conftest.$ac_objext; then 9904 cat >>confdefs.h <<\_ACEOF 9905 #define PJ_SOCK_HAS_INET_ATON 1 9906 _ACEOF 9907 9908 { $as_echo "$as_me:$LINENO: result: yes" >&5 4836 if ac_fn_c_try_compile "$LINENO"; then : 4837 $as_echo "#define PJ_SOCK_HAS_INET_ATON 1" >>confdefs.h 4838 4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9909 4840 $as_echo "yes" >&6; } 9910 4841 else 9911 $as_echo "$as_me: failed program was:" >&5 9912 sed 's/^/| /' conftest.$ac_ext >&5 9913 9914 { $as_echo "$as_me:$LINENO: result: no" >&5 4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9915 4843 $as_echo "no" >&6; } 9916 4844 fi 9917 9918 4845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9919 4846 9920 { $as_echo "$as_me:$ LINENO: checking if inet_pton() is available" >&54847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_pton() is available" >&5 9921 4848 $as_echo_n "checking if inet_pton() is available... " >&6; } 9922 cat >conftest.$ac_ext <<_ACEOF 9923 /* confdefs.h. */ 9924 _ACEOF 9925 cat confdefs.h >>conftest.$ac_ext 9926 cat >>conftest.$ac_ext <<_ACEOF 4849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9927 4850 /* end confdefs.h. */ 9928 4851 #include <sys/types.h> … … 9937 4860 } 9938 4861 _ACEOF 9939 rm -f conftest.$ac_objext 9940 if { (ac_try="$ac_compile" 9941 case "(($ac_try" in 9942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9943 *) ac_try_echo=$ac_try;; 9944 esac 9945 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9946 $as_echo "$ac_try_echo") >&5 9947 (eval "$ac_compile") 2>conftest.er1 9948 ac_status=$? 9949 grep -v '^ *+' conftest.er1 >conftest.err 9950 rm -f conftest.er1 9951 cat conftest.err >&5 9952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 9953 (exit $ac_status); } && { 9954 test -z "$ac_c_werror_flag" || 9955 test ! -s conftest.err 9956 } && test -s conftest.$ac_objext; then 9957 cat >>confdefs.h <<\_ACEOF 9958 #define PJ_SOCK_HAS_INET_PTON 1 9959 _ACEOF 9960 9961 { $as_echo "$as_me:$LINENO: result: yes" >&5 4862 if ac_fn_c_try_compile "$LINENO"; then : 4863 $as_echo "#define PJ_SOCK_HAS_INET_PTON 1" >>confdefs.h 4864 4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9962 4866 $as_echo "yes" >&6; } 9963 4867 else 9964 $as_echo "$as_me: failed program was:" >&5 9965 sed 's/^/| /' conftest.$ac_ext >&5 9966 9967 { $as_echo "$as_me:$LINENO: result: no" >&5 4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9968 4869 $as_echo "no" >&6; } 9969 4870 fi 9970 9971 4871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9972 4872 9973 { $as_echo "$as_me:$ LINENO: checking if inet_ntop() is available" >&54873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if inet_ntop() is available" >&5 9974 4874 $as_echo_n "checking if inet_ntop() is available... " >&6; } 9975 cat >conftest.$ac_ext <<_ACEOF 9976 /* confdefs.h. */ 9977 _ACEOF 9978 cat confdefs.h >>conftest.$ac_ext 9979 cat >>conftest.$ac_ext <<_ACEOF 4875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9980 4876 /* end confdefs.h. */ 9981 4877 #include <sys/types.h> … … 9990 4886 } 9991 4887 _ACEOF 9992 rm -f conftest.$ac_objext 9993 if { (ac_try="$ac_compile" 9994 case "(($ac_try" in 9995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9996 *) ac_try_echo=$ac_try;; 9997 esac 9998 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 9999 $as_echo "$ac_try_echo") >&5 10000 (eval "$ac_compile") 2>conftest.er1 10001 ac_status=$? 10002 grep -v '^ *+' conftest.er1 >conftest.err 10003 rm -f conftest.er1 10004 cat conftest.err >&5 10005 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10006 (exit $ac_status); } && { 10007 test -z "$ac_c_werror_flag" || 10008 test ! -s conftest.err 10009 } && test -s conftest.$ac_objext; then 10010 cat >>confdefs.h <<\_ACEOF 10011 #define PJ_SOCK_HAS_INET_NTOP 1 10012 _ACEOF 10013 10014 { $as_echo "$as_me:$LINENO: result: yes" >&5 4888 if ac_fn_c_try_compile "$LINENO"; then : 4889 $as_echo "#define PJ_SOCK_HAS_INET_NTOP 1" >>confdefs.h 4890 4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10015 4892 $as_echo "yes" >&6; } 10016 4893 else 10017 $as_echo "$as_me: failed program was:" >&5 10018 sed 's/^/| /' conftest.$ac_ext >&5 10019 10020 { $as_echo "$as_me:$LINENO: result: no" >&5 4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10021 4895 $as_echo "no" >&6; } 10022 4896 fi 10023 10024 4897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10025 4898 10026 { $as_echo "$as_me:$ LINENO: checking if getaddrinfo() is available" >&54899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if getaddrinfo() is available" >&5 10027 4900 $as_echo_n "checking if getaddrinfo() is available... " >&6; } 10028 cat >conftest.$ac_ext <<_ACEOF 10029 /* confdefs.h. */ 10030 _ACEOF 10031 cat confdefs.h >>conftest.$ac_ext 10032 cat >>conftest.$ac_ext <<_ACEOF 4901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10033 4902 /* end confdefs.h. */ 10034 4903 #include <sys/types.h> … … 10043 4912 } 10044 4913 _ACEOF 10045 rm -f conftest.$ac_objext 10046 if { (ac_try="$ac_compile" 10047 case "(($ac_try" in 10048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10049 *) ac_try_echo=$ac_try;; 10050 esac 10051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10052 $as_echo "$ac_try_echo") >&5 10053 (eval "$ac_compile") 2>conftest.er1 10054 ac_status=$? 10055 grep -v '^ *+' conftest.er1 >conftest.err 10056 rm -f conftest.er1 10057 cat conftest.err >&5 10058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10059 (exit $ac_status); } && { 10060 test -z "$ac_c_werror_flag" || 10061 test ! -s conftest.err 10062 } && test -s conftest.$ac_objext; then 10063 cat >>confdefs.h <<\_ACEOF 10064 #define PJ_SOCK_HAS_GETADDRINFO 1 10065 _ACEOF 10066 10067 { $as_echo "$as_me:$LINENO: result: yes" >&5 4914 if ac_fn_c_try_compile "$LINENO"; then : 4915 $as_echo "#define PJ_SOCK_HAS_GETADDRINFO 1" >>confdefs.h 4916 4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10068 4918 $as_echo "yes" >&6; } 10069 4919 else 10070 $as_echo "$as_me: failed program was:" >&5 10071 sed 's/^/| /' conftest.$ac_ext >&5 10072 10073 { $as_echo "$as_me:$LINENO: result: no" >&5 4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10074 4921 $as_echo "no" >&6; } 10075 4922 fi 10076 10077 4923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10078 4924 10079 { $as_echo "$as_me:$ LINENO: checking if sockaddr_in has sin_len member" >&54925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sockaddr_in has sin_len member" >&5 10080 4926 $as_echo_n "checking if sockaddr_in has sin_len member... " >&6; } 10081 cat >conftest.$ac_ext <<_ACEOF 10082 /* confdefs.h. */ 10083 _ACEOF 10084 cat confdefs.h >>conftest.$ac_ext 10085 cat >>conftest.$ac_ext <<_ACEOF 4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10086 4928 /* end confdefs.h. */ 10087 4929 #include <sys/types.h> … … 10097 4939 } 10098 4940 _ACEOF 10099 rm -f conftest.$ac_objext 10100 if { (ac_try="$ac_compile" 10101 case "(($ac_try" in 10102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10103 *) ac_try_echo=$ac_try;; 10104 esac 10105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10106 $as_echo "$ac_try_echo") >&5 10107 (eval "$ac_compile") 2>conftest.er1 10108 ac_status=$? 10109 grep -v '^ *+' conftest.er1 >conftest.err 10110 rm -f conftest.er1 10111 cat conftest.err >&5 10112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10113 (exit $ac_status); } && { 10114 test -z "$ac_c_werror_flag" || 10115 test ! -s conftest.err 10116 } && test -s conftest.$ac_objext; then 10117 cat >>confdefs.h <<\_ACEOF 10118 #define PJ_SOCKADDR_HAS_LEN 1 10119 _ACEOF 10120 10121 { $as_echo "$as_me:$LINENO: result: yes" >&5 4941 if ac_fn_c_try_compile "$LINENO"; then : 4942 $as_echo "#define PJ_SOCKADDR_HAS_LEN 1" >>confdefs.h 4943 4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10122 4945 $as_echo "yes" >&6; } 10123 4946 else 10124 $as_echo "$as_me: failed program was:" >&5 10125 sed 's/^/| /' conftest.$ac_ext >&5 10126 10127 { $as_echo "$as_me:$LINENO: result: no" >&5 4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10128 4948 $as_echo "no" >&6; } 10129 4949 fi 10130 10131 4950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10132 4951 10133 { $as_echo "$as_me:$ LINENO: checking if socklen_t is available" >&54952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if socklen_t is available" >&5 10134 4953 $as_echo_n "checking if socklen_t is available... " >&6; } 10135 cat >conftest.$ac_ext <<_ACEOF 10136 /* confdefs.h. */ 10137 _ACEOF 10138 cat confdefs.h >>conftest.$ac_ext 10139 cat >>conftest.$ac_ext <<_ACEOF 4954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10140 4955 /* end confdefs.h. */ 10141 4956 #include <sys/types.h> … … 10149 4964 } 10150 4965 _ACEOF 10151 rm -f conftest.$ac_objext 10152 if { (ac_try="$ac_compile" 10153 case "(($ac_try" in 10154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10155 *) ac_try_echo=$ac_try;; 10156 esac 10157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10158 $as_echo "$ac_try_echo") >&5 10159 (eval "$ac_compile") 2>conftest.er1 10160 ac_status=$? 10161 grep -v '^ *+' conftest.er1 >conftest.err 10162 rm -f conftest.er1 10163 cat conftest.err >&5 10164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10165 (exit $ac_status); } && { 10166 test -z "$ac_c_werror_flag" || 10167 test ! -s conftest.err 10168 } && test -s conftest.$ac_objext; then 10169 cat >>confdefs.h <<\_ACEOF 10170 #define PJ_HAS_SOCKLEN_T 1 10171 _ACEOF 10172 10173 { $as_echo "$as_me:$LINENO: result: yes" >&5 4966 if ac_fn_c_try_compile "$LINENO"; then : 4967 $as_echo "#define PJ_HAS_SOCKLEN_T 1" >>confdefs.h 4968 4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10174 4970 $as_echo "yes" >&6; } 10175 4971 else 10176 $as_echo "$as_me: failed program was:" >&5 10177 sed 's/^/| /' conftest.$ac_ext >&5 10178 10179 { $as_echo "$as_me:$LINENO: result: no" >&5 4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10180 4973 $as_echo "no" >&6; } 10181 4974 fi 10182 10183 4975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10184 4976 10185 { $as_echo "$as_me:$ LINENO: checking if SO_ERROR is available" >&54977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if SO_ERROR is available" >&5 10186 4978 $as_echo_n "checking if SO_ERROR is available... " >&6; } 10187 4979 case $target in 10188 4980 *mingw* | *cygw* | *win32* | *w32* ) 10189 cat >>confdefs.h <<\_ACEOF 10190 #define PJ_HAS_SO_ERROR 1 10191 _ACEOF 10192 10193 { $as_echo "$as_me:$LINENO: result: yes" >&5 4981 $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 4982 4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10194 4984 $as_echo "yes" >&6; } 10195 4985 ;; 10196 4986 *) 10197 cat >conftest.$ac_ext <<_ACEOF 10198 /* confdefs.h. */ 10199 _ACEOF 10200 cat confdefs.h >>conftest.$ac_ext 10201 cat >>conftest.$ac_ext <<_ACEOF 4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10202 4988 /* end confdefs.h. */ 10203 4989 #include <sys/types.h> … … 10213 4999 } 10214 5000 _ACEOF 10215 rm -f conftest.$ac_objext 10216 if { (ac_try="$ac_compile" 10217 case "(($ac_try" in 10218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10219 *) ac_try_echo=$ac_try;; 10220 esac 10221 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10222 $as_echo "$ac_try_echo") >&5 10223 (eval "$ac_compile") 2>conftest.er1 10224 ac_status=$? 10225 grep -v '^ *+' conftest.er1 >conftest.err 10226 rm -f conftest.er1 10227 cat conftest.err >&5 10228 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10229 (exit $ac_status); } && { 10230 test -z "$ac_c_werror_flag" || 10231 test ! -s conftest.err 10232 } && test -s conftest.$ac_objext; then 10233 cat >>confdefs.h <<\_ACEOF 10234 #define PJ_HAS_SO_ERROR 1 10235 _ACEOF 10236 10237 { $as_echo "$as_me:$LINENO: result: yes" >&5 5001 if ac_fn_c_try_compile "$LINENO"; then : 5002 $as_echo "#define PJ_HAS_SO_ERROR 1" >>confdefs.h 5003 5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10238 5005 $as_echo "yes" >&6; } 10239 5006 else 10240 $as_echo "$as_me: failed program was:" >&5 10241 sed 's/^/| /' conftest.$ac_ext >&5 10242 10243 { $as_echo "$as_me:$LINENO: result: no" >&5 5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10244 5008 $as_echo "no" >&6; } 10245 5009 fi 10246 10247 5010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10248 5011 ;; … … 10250 5013 10251 5014 10252 { $as_echo "$as_me:$ LINENO: checking if pthread_rwlock_t is available" >&55015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available" >&5 10253 5016 $as_echo_n "checking if pthread_rwlock_t is available... " >&6; } 10254 cat >conftest.$ac_ext <<_ACEOF 10255 /* confdefs.h. */ 10256 _ACEOF 10257 cat confdefs.h >>conftest.$ac_ext 10258 cat >>conftest.$ac_ext <<_ACEOF 5017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10259 5018 /* end confdefs.h. */ 10260 5019 #include <pthread.h> … … 10267 5026 } 10268 5027 _ACEOF 10269 rm -f conftest.$ac_objext 10270 if { (ac_try="$ac_compile" 10271 case "(($ac_try" in 10272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10273 *) ac_try_echo=$ac_try;; 10274 esac 10275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10276 $as_echo "$ac_try_echo") >&5 10277 (eval "$ac_compile") 2>conftest.er1 10278 ac_status=$? 10279 grep -v '^ *+' conftest.er1 >conftest.err 10280 rm -f conftest.er1 10281 cat conftest.err >&5 10282 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10283 (exit $ac_status); } && { 10284 test -z "$ac_c_werror_flag" || 10285 test ! -s conftest.err 10286 } && test -s conftest.$ac_objext; then 10287 cat >>confdefs.h <<\_ACEOF 10288 #define PJ_EMULATE_RWMUTEX 0 10289 _ACEOF 5028 if ac_fn_c_try_compile "$LINENO"; then : 5029 $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 10290 5030 10291 5031 ac_rwmutex="yes" 10292 { $as_echo "$as_me:$ LINENO: result: yes" >&55032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10293 5033 $as_echo "yes" >&6; } 10294 5034 else 10295 $as_echo "$as_me: failed program was:" >&5 10296 sed 's/^/| /' conftest.$ac_ext >&5 10297 10298 cat >>confdefs.h <<\_ACEOF 10299 #define PJ_EMULATE_RWMUTEX 1 10300 _ACEOF 5035 $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 10301 5036 10302 5037 ac_rwmutex="no" 10303 { $as_echo "$as_me:$ LINENO: result: no" >&55038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10304 5039 $as_echo "no" >&6; } 10305 5040 fi 10306 10307 5041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10308 5042 10309 5043 if test "$ac_rwmutex" = "no"; then 10310 { $as_echo "$as_me:$ LINENO: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&55044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 10311 5045 $as_echo_n "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... " >&6; } 10312 cat >conftest.$ac_ext <<_ACEOF 10313 /* confdefs.h. */ 10314 _ACEOF 10315 cat confdefs.h >>conftest.$ac_ext 10316 cat >>conftest.$ac_ext <<_ACEOF 5046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10317 5047 /* end confdefs.h. */ 10318 5048 #define _POSIX_READER_WRITER_LOCKS … … 10326 5056 } 10327 5057 _ACEOF 10328 rm -f conftest.$ac_objext 10329 if { (ac_try="$ac_compile" 10330 case "(($ac_try" in 10331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10332 *) ac_try_echo=$ac_try;; 10333 esac 10334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10335 $as_echo "$ac_try_echo") >&5 10336 (eval "$ac_compile") 2>conftest.er1 10337 ac_status=$? 10338 grep -v '^ *+' conftest.er1 >conftest.err 10339 rm -f conftest.er1 10340 cat conftest.err >&5 10341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10342 (exit $ac_status); } && { 10343 test -z "$ac_c_werror_flag" || 10344 test ! -s conftest.err 10345 } && test -s conftest.$ac_objext; then 10346 cat >>confdefs.h <<\_ACEOF 10347 #define PJ_EMULATE_RWMUTEX 0 10348 _ACEOF 5058 if ac_fn_c_try_compile "$LINENO"; then : 5059 $as_echo "#define PJ_EMULATE_RWMUTEX 0" >>confdefs.h 10349 5060 10350 5061 CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" 10351 { $as_echo "$as_me:$ LINENO: result: yes" >&55062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10352 5063 $as_echo "yes" >&6; } 10353 5064 else 10354 $as_echo "$as_me: failed program was:" >&5 10355 sed 's/^/| /' conftest.$ac_ext >&5 10356 10357 cat >>confdefs.h <<\_ACEOF 10358 #define PJ_EMULATE_RWMUTEX 1 10359 _ACEOF 10360 10361 { $as_echo "$as_me:$LINENO: result: no" >&5 5065 $as_echo "#define PJ_EMULATE_RWMUTEX 1" >>confdefs.h 5066 5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10362 5068 $as_echo "no" >&6; } 10363 5069 fi 10364 10365 5070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10366 5071 fi 10367 5072 10368 { $as_echo "$as_me:$ LINENO: checking if pthread_mutexattr_settype() is available" >&55073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_settype() is available" >&5 10369 5074 $as_echo_n "checking if pthread_mutexattr_settype() is available... " >&6; } 10370 cat >conftest.$ac_ext <<_ACEOF 10371 /* confdefs.h. */ 10372 _ACEOF 10373 cat confdefs.h >>conftest.$ac_ext 10374 cat >>conftest.$ac_ext <<_ACEOF 5075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10375 5076 /* end confdefs.h. */ 10376 5077 #include <pthread.h> … … 10383 5084 } 10384 5085 _ACEOF 10385 rm -f conftest.$ac_objext 10386 if { (ac_try="$ac_compile" 10387 case "(($ac_try" in 10388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10389 *) ac_try_echo=$ac_try;; 10390 esac 10391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10392 $as_echo "$ac_try_echo") >&5 10393 (eval "$ac_compile") 2>conftest.er1 10394 ac_status=$? 10395 grep -v '^ *+' conftest.er1 >conftest.err 10396 rm -f conftest.er1 10397 cat conftest.err >&5 10398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10399 (exit $ac_status); } && { 10400 test -z "$ac_c_werror_flag" || 10401 test ! -s conftest.err 10402 } && test -s conftest.$ac_objext; then 10403 cat >>confdefs.h <<\_ACEOF 10404 #define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1 10405 _ACEOF 10406 10407 { $as_echo "$as_me:$LINENO: result: yes" >&5 5086 if ac_fn_c_try_compile "$LINENO"; then : 5087 $as_echo "#define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1" >>confdefs.h 5088 5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10408 5090 $as_echo "yes" >&6; } 10409 5091 else 10410 $as_echo "$as_me: failed program was:" >&5 10411 sed 's/^/| /' conftest.$ac_ext >&5 10412 10413 { $as_echo "$as_me:$LINENO: result: no" >&5 5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10414 5093 $as_echo "no" >&6; } 10415 5094 fi 10416 10417 5095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10418 5096 10419 { $as_echo "$as_me:$ LINENO: checking if pthread_mutexattr_t has recursive member" >&55097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pthread_mutexattr_t has recursive member" >&5 10420 5098 $as_echo_n "checking if pthread_mutexattr_t has recursive member... " >&6; } 10421 cat >conftest.$ac_ext <<_ACEOF 10422 /* confdefs.h. */ 10423 _ACEOF 10424 cat confdefs.h >>conftest.$ac_ext 10425 cat >>conftest.$ac_ext <<_ACEOF 5099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10426 5100 /* end confdefs.h. */ 10427 5101 #include <pthread.h> … … 10435 5109 } 10436 5110 _ACEOF 10437 rm -f conftest.$ac_objext 10438 if { (ac_try="$ac_compile" 10439 case "(($ac_try" in 10440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10441 *) ac_try_echo=$ac_try;; 10442 esac 10443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10444 $as_echo "$ac_try_echo") >&5 10445 (eval "$ac_compile") 2>conftest.er1 10446 ac_status=$? 10447 grep -v '^ *+' conftest.er1 >conftest.err 10448 rm -f conftest.er1 10449 cat conftest.err >&5 10450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10451 (exit $ac_status); } && { 10452 test -z "$ac_c_werror_flag" || 10453 test ! -s conftest.err 10454 } && test -s conftest.$ac_objext; then 10455 cat >>confdefs.h <<\_ACEOF 10456 #define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1 10457 _ACEOF 10458 10459 { $as_echo "$as_me:$LINENO: result: yes" >&5 5111 if ac_fn_c_try_compile "$LINENO"; then : 5112 $as_echo "#define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1" >>confdefs.h 5113 5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 10460 5115 $as_echo "yes" >&6; } 10461 5116 else 10462 $as_echo "$as_me: failed program was:" >&5 10463 sed 's/^/| /' conftest.$ac_ext >&5 10464 10465 { $as_echo "$as_me:$LINENO: result: no" >&5 5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10466 5118 $as_echo "no" >&6; } 10467 5119 fi 10468 10469 5120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10470 5121 10471 5122 10472 { $as_echo "$as_me:$ LINENO: checking ioqueue backend" >&55123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&5 10473 5124 $as_echo_n "checking ioqueue backend... " >&6; } 10474 5125 # Check whether --enable-epoll was given. 10475 if test "${enable_epoll+set}" = set; then 5126 if test "${enable_epoll+set}" = set; then : 10476 5127 enableval=$enable_epoll; 10477 5128 ac_os_objs=ioqueue_epoll.o 10478 { $as_echo "$as_me:$ LINENO: result: /dev/epoll" >&55129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&5 10479 5130 $as_echo "/dev/epoll" >&6; } 10480 5131 … … 10482 5133 10483 5134 ac_os_objs=ioqueue_select.o 10484 { $as_echo "$as_me:$ LINENO: result: select()" >&55135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 10485 5136 $as_echo "select()" >&6; } 10486 5137 … … 10509 5160 10510 5161 # Check whether --enable-sound was given. 10511 if test "${enable_sound+set}" = set; then 5162 if test "${enable_sound+set}" = set; then : 10512 5163 enableval=$enable_sound; if test "$enable_sound" = "no"; then 10513 5164 ac_pjmedia_snd=null 10514 { $as_echo "$as_me:$ LINENO: result: Checking if sound is disabled... yes" >&55165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if sound is disabled... yes" >&5 10515 5166 $as_echo "Checking if sound is disabled... yes" >&6; } 10516 5167 fi … … 10520 5171 10521 5172 10522 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 10523 { $as_echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 10524 $as_echo_n "checking for sys/soundcard.h... " >&6; } 10525 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 10526 $as_echo_n "(cached) " >&6 10527 fi 10528 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 10529 $as_echo "$ac_cv_header_sys_soundcard_h" >&6; } 10530 else 10531 # Is the header compilable? 10532 { $as_echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5 10533 $as_echo_n "checking sys/soundcard.h usability... " >&6; } 10534 cat >conftest.$ac_ext <<_ACEOF 10535 /* confdefs.h. */ 10536 _ACEOF 10537 cat confdefs.h >>conftest.$ac_ext 10538 cat >>conftest.$ac_ext <<_ACEOF 10539 /* end confdefs.h. */ 10540 $ac_includes_default 10541 #include <sys/soundcard.h> 10542 _ACEOF 10543 rm -f conftest.$ac_objext 10544 if { (ac_try="$ac_compile" 10545 case "(($ac_try" in 10546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10547 *) ac_try_echo=$ac_try;; 10548 esac 10549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10550 $as_echo "$ac_try_echo") >&5 10551 (eval "$ac_compile") 2>conftest.er1 10552 ac_status=$? 10553 grep -v '^ *+' conftest.er1 >conftest.err 10554 rm -f conftest.er1 10555 cat conftest.err >&5 10556 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10557 (exit $ac_status); } && { 10558 test -z "$ac_c_werror_flag" || 10559 test ! -s conftest.err 10560 } && test -s conftest.$ac_objext; then 10561 ac_header_compiler=yes 10562 else 10563 $as_echo "$as_me: failed program was:" >&5 10564 sed 's/^/| /' conftest.$ac_ext >&5 10565 10566 ac_header_compiler=no 10567 fi 10568 10569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10570 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10571 $as_echo "$ac_header_compiler" >&6; } 10572 10573 # Is the header present? 10574 { $as_echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5 10575 $as_echo_n "checking sys/soundcard.h presence... " >&6; } 10576 cat >conftest.$ac_ext <<_ACEOF 10577 /* confdefs.h. */ 10578 _ACEOF 10579 cat confdefs.h >>conftest.$ac_ext 10580 cat >>conftest.$ac_ext <<_ACEOF 10581 /* end confdefs.h. */ 10582 #include <sys/soundcard.h> 10583 _ACEOF 10584 if { (ac_try="$ac_cpp conftest.$ac_ext" 10585 case "(($ac_try" in 10586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10587 *) ac_try_echo=$ac_try;; 10588 esac 10589 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10590 $as_echo "$ac_try_echo") >&5 10591 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10592 ac_status=$? 10593 grep -v '^ *+' conftest.er1 >conftest.err 10594 rm -f conftest.er1 10595 cat conftest.err >&5 10596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10597 (exit $ac_status); } >/dev/null && { 10598 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10599 test ! -s conftest.err 10600 }; then 10601 ac_header_preproc=yes 10602 else 10603 $as_echo "$as_me: failed program was:" >&5 10604 sed 's/^/| /' conftest.$ac_ext >&5 10605 10606 ac_header_preproc=no 10607 fi 10608 10609 rm -f conftest.err conftest.$ac_ext 10610 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10611 $as_echo "$ac_header_preproc" >&6; } 10612 10613 # So? What about this header? 10614 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10615 yes:no: ) 10616 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 10617 $as_echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10618 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5 10619 $as_echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;} 10620 ac_header_preproc=yes 10621 ;; 10622 no:yes:* ) 10623 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5 10624 $as_echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;} 10625 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5 10626 $as_echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;} 10627 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5 10628 $as_echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;} 10629 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5 10630 $as_echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;} 10631 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5 10632 $as_echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;} 10633 { $as_echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5 10634 $as_echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;} 10635 10636 ;; 10637 esac 10638 { $as_echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 10639 $as_echo_n "checking for sys/soundcard.h... " >&6; } 10640 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 10641 $as_echo_n "(cached) " >&6 10642 else 10643 ac_cv_header_sys_soundcard_h=$ac_header_preproc 10644 fi 10645 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 10646 $as_echo "$ac_cv_header_sys_soundcard_h" >&6; } 10647 10648 fi 10649 if test $ac_cv_header_sys_soundcard_h = yes; then 5173 5174 # Check whether --with-pa-path was given. 5175 if test "${with_pa_path+set}" = set; then : 5176 withval=$with_pa_path; 5177 if test "x$with_pa_path" != "xno"; then 5178 ac_pa_path=$with_pa_path 5179 # Remove trailing backslash 5180 ac_pa_path=`echo $ac_pa_path | sed 's/\/$//'` 5181 # Test the path 5182 #if test ! -f $ac_pa_path/include/portaudio.h; then 5183 # AC_MSG_ERROR([Wrong --with-pa-path value, $ac_pa_path/include/portaudio.h does not exist]) 5184 #fi 5185 #if test ! -d $ac_pa_path/lib; then 5186 # AC_MSG_ERROR([Wrong --with-pa-path value, $ac_pa_path/lib does not exist]) 5187 #fi 5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Using PortAudio in $ac_pa_path **" >&5 5189 $as_echo "** Using PortAudio in $ac_pa_path **" >&6; } 5190 fi 5191 5192 5193 fi 5194 5195 5196 5197 5198 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default" 5199 if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then : 10650 5200 ac_pa_cflags="$ac_pa_cflags -DHAVE_SYS_SOUNDCARD_H" 10651 5201 fi 10652 5202 10653 5203 10654 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 10655 { $as_echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 10656 $as_echo_n "checking for linux/soundcard.h... " >&6; } 10657 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 10658 $as_echo_n "(cached) " >&6 10659 fi 10660 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 10661 $as_echo "$ac_cv_header_linux_soundcard_h" >&6; } 10662 else 10663 # Is the header compilable? 10664 { $as_echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&5 10665 $as_echo_n "checking linux/soundcard.h usability... " >&6; } 10666 cat >conftest.$ac_ext <<_ACEOF 10667 /* confdefs.h. */ 10668 _ACEOF 10669 cat confdefs.h >>conftest.$ac_ext 10670 cat >>conftest.$ac_ext <<_ACEOF 10671 /* end confdefs.h. */ 10672 $ac_includes_default 10673 #include <linux/soundcard.h> 10674 _ACEOF 10675 rm -f conftest.$ac_objext 10676 if { (ac_try="$ac_compile" 10677 case "(($ac_try" in 10678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10679 *) ac_try_echo=$ac_try;; 10680 esac 10681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10682 $as_echo "$ac_try_echo") >&5 10683 (eval "$ac_compile") 2>conftest.er1 10684 ac_status=$? 10685 grep -v '^ *+' conftest.er1 >conftest.err 10686 rm -f conftest.er1 10687 cat conftest.err >&5 10688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10689 (exit $ac_status); } && { 10690 test -z "$ac_c_werror_flag" || 10691 test ! -s conftest.err 10692 } && test -s conftest.$ac_objext; then 10693 ac_header_compiler=yes 10694 else 10695 $as_echo "$as_me: failed program was:" >&5 10696 sed 's/^/| /' conftest.$ac_ext >&5 10697 10698 ac_header_compiler=no 10699 fi 10700 10701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10702 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10703 $as_echo "$ac_header_compiler" >&6; } 10704 10705 # Is the header present? 10706 { $as_echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&5 10707 $as_echo_n "checking linux/soundcard.h presence... " >&6; } 10708 cat >conftest.$ac_ext <<_ACEOF 10709 /* confdefs.h. */ 10710 _ACEOF 10711 cat confdefs.h >>conftest.$ac_ext 10712 cat >>conftest.$ac_ext <<_ACEOF 10713 /* end confdefs.h. */ 10714 #include <linux/soundcard.h> 10715 _ACEOF 10716 if { (ac_try="$ac_cpp conftest.$ac_ext" 10717 case "(($ac_try" in 10718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10719 *) ac_try_echo=$ac_try;; 10720 esac 10721 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10722 $as_echo "$ac_try_echo") >&5 10723 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10724 ac_status=$? 10725 grep -v '^ *+' conftest.er1 >conftest.err 10726 rm -f conftest.er1 10727 cat conftest.err >&5 10728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10729 (exit $ac_status); } >/dev/null && { 10730 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10731 test ! -s conftest.err 10732 }; then 10733 ac_header_preproc=yes 10734 else 10735 $as_echo "$as_me: failed program was:" >&5 10736 sed 's/^/| /' conftest.$ac_ext >&5 10737 10738 ac_header_preproc=no 10739 fi 10740 10741 rm -f conftest.err conftest.$ac_ext 10742 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10743 $as_echo "$ac_header_preproc" >&6; } 10744 10745 # So? What about this header? 10746 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10747 yes:no: ) 10748 { $as_echo "$as_me:$LINENO: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 10749 $as_echo "$as_me: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10750 { $as_echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&5 10751 $as_echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result" >&2;} 10752 ac_header_preproc=yes 10753 ;; 10754 no:yes:* ) 10755 { $as_echo "$as_me:$LINENO: WARNING: linux/soundcard.h: present but cannot be compiled" >&5 10756 $as_echo "$as_me: WARNING: linux/soundcard.h: present but cannot be compiled" >&2;} 10757 { $as_echo "$as_me:$LINENO: WARNING: linux/soundcard.h: check for missing prerequisite headers?" >&5 10758 $as_echo "$as_me: WARNING: linux/soundcard.h: check for missing prerequisite headers?" >&2;} 10759 { $as_echo "$as_me:$LINENO: WARNING: linux/soundcard.h: see the Autoconf documentation" >&5 10760 $as_echo "$as_me: WARNING: linux/soundcard.h: see the Autoconf documentation" >&2;} 10761 { $as_echo "$as_me:$LINENO: WARNING: linux/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5 10762 $as_echo "$as_me: WARNING: linux/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;} 10763 { $as_echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&5 10764 $as_echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result" >&2;} 10765 { $as_echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5 10766 $as_echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;} 10767 10768 ;; 10769 esac 10770 { $as_echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 10771 $as_echo_n "checking for linux/soundcard.h... " >&6; } 10772 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 10773 $as_echo_n "(cached) " >&6 10774 else 10775 ac_cv_header_linux_soundcard_h=$ac_header_preproc 10776 fi 10777 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 10778 $as_echo "$ac_cv_header_linux_soundcard_h" >&6; } 10779 10780 fi 10781 if test $ac_cv_header_linux_soundcard_h = yes; then 5204 ac_fn_c_check_header_mongrel "$LINENO" "linux/soundcard.h" "ac_cv_header_linux_soundcard_h" "$ac_includes_default" 5205 if test "x$ac_cv_header_linux_soundcard_h" = x""yes; then : 10782 5206 ac_pa_cflags="$ac_pa_cflags -DHAVE_LINUX_SOUNDCARD_H" 10783 5207 fi 10784 5208 10785 5209 10786 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 10787 { $as_echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 10788 $as_echo_n "checking for machine/soundcard.h... " >&6; } 10789 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 10790 $as_echo_n "(cached) " >&6 10791 fi 10792 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 10793 $as_echo "$ac_cv_header_machine_soundcard_h" >&6; } 10794 else 10795 # Is the header compilable? 10796 { $as_echo "$as_me:$LINENO: checking machine/soundcard.h usability" >&5 10797 $as_echo_n "checking machine/soundcard.h usability... " >&6; } 10798 cat >conftest.$ac_ext <<_ACEOF 10799 /* confdefs.h. */ 10800 _ACEOF 10801 cat confdefs.h >>conftest.$ac_ext 10802 cat >>conftest.$ac_ext <<_ACEOF 10803 /* end confdefs.h. */ 10804 $ac_includes_default 10805 #include <machine/soundcard.h> 10806 _ACEOF 10807 rm -f conftest.$ac_objext 10808 if { (ac_try="$ac_compile" 10809 case "(($ac_try" in 10810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10811 *) ac_try_echo=$ac_try;; 10812 esac 10813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10814 $as_echo "$ac_try_echo") >&5 10815 (eval "$ac_compile") 2>conftest.er1 10816 ac_status=$? 10817 grep -v '^ *+' conftest.er1 >conftest.err 10818 rm -f conftest.er1 10819 cat conftest.err >&5 10820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10821 (exit $ac_status); } && { 10822 test -z "$ac_c_werror_flag" || 10823 test ! -s conftest.err 10824 } && test -s conftest.$ac_objext; then 10825 ac_header_compiler=yes 10826 else 10827 $as_echo "$as_me: failed program was:" >&5 10828 sed 's/^/| /' conftest.$ac_ext >&5 10829 10830 ac_header_compiler=no 10831 fi 10832 10833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10834 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10835 $as_echo "$ac_header_compiler" >&6; } 10836 10837 # Is the header present? 10838 { $as_echo "$as_me:$LINENO: checking machine/soundcard.h presence" >&5 10839 $as_echo_n "checking machine/soundcard.h presence... " >&6; } 10840 cat >conftest.$ac_ext <<_ACEOF 10841 /* confdefs.h. */ 10842 _ACEOF 10843 cat confdefs.h >>conftest.$ac_ext 10844 cat >>conftest.$ac_ext <<_ACEOF 10845 /* end confdefs.h. */ 10846 #include <machine/soundcard.h> 10847 _ACEOF 10848 if { (ac_try="$ac_cpp conftest.$ac_ext" 10849 case "(($ac_try" in 10850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10851 *) ac_try_echo=$ac_try;; 10852 esac 10853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10854 $as_echo "$ac_try_echo") >&5 10855 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10856 ac_status=$? 10857 grep -v '^ *+' conftest.er1 >conftest.err 10858 rm -f conftest.er1 10859 cat conftest.err >&5 10860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10861 (exit $ac_status); } >/dev/null && { 10862 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10863 test ! -s conftest.err 10864 }; then 10865 ac_header_preproc=yes 10866 else 10867 $as_echo "$as_me: failed program was:" >&5 10868 sed 's/^/| /' conftest.$ac_ext >&5 10869 10870 ac_header_preproc=no 10871 fi 10872 10873 rm -f conftest.err conftest.$ac_ext 10874 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10875 $as_echo "$ac_header_preproc" >&6; } 10876 10877 # So? What about this header? 10878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10879 yes:no: ) 10880 { $as_echo "$as_me:$LINENO: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5 10881 $as_echo "$as_me: WARNING: machine/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10882 { $as_echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&5 10883 $as_echo "$as_me: WARNING: machine/soundcard.h: proceeding with the compiler's result" >&2;} 10884 ac_header_preproc=yes 10885 ;; 10886 no:yes:* ) 10887 { $as_echo "$as_me:$LINENO: WARNING: machine/soundcard.h: present but cannot be compiled" >&5 10888 $as_echo "$as_me: WARNING: machine/soundcard.h: present but cannot be compiled" >&2;} 10889 { $as_echo "$as_me:$LINENO: WARNING: machine/soundcard.h: check for missing prerequisite headers?" >&5 10890 $as_echo "$as_me: WARNING: machine/soundcard.h: check for missing prerequisite headers?" >&2;} 10891 { $as_echo "$as_me:$LINENO: WARNING: machine/soundcard.h: see the Autoconf documentation" >&5 10892 $as_echo "$as_me: WARNING: machine/soundcard.h: see the Autoconf documentation" >&2;} 10893 { $as_echo "$as_me:$LINENO: WARNING: machine/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5 10894 $as_echo "$as_me: WARNING: machine/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;} 10895 { $as_echo "$as_me:$LINENO: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&5 10896 $as_echo "$as_me: WARNING: machine/soundcard.h: proceeding with the preprocessor's result" >&2;} 10897 { $as_echo "$as_me:$LINENO: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&5 10898 $as_echo "$as_me: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&2;} 10899 10900 ;; 10901 esac 10902 { $as_echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 10903 $as_echo_n "checking for machine/soundcard.h... " >&6; } 10904 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 10905 $as_echo_n "(cached) " >&6 10906 else 10907 ac_cv_header_machine_soundcard_h=$ac_header_preproc 10908 fi 10909 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 10910 $as_echo "$ac_cv_header_machine_soundcard_h" >&6; } 10911 10912 fi 10913 if test $ac_cv_header_machine_soundcard_h = yes; then 5210 ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default" 5211 if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then : 10914 5212 ac_pa_cflags="$ac_pa_cflags -DHAVE_MACHINE_SOUNDCARD_H" 10915 5213 fi … … 10933 5231 #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 10934 5232 ac_pjmedia_snd=pa_old_darwinos 10935 { $as_echo "$as_me:$ LINENO: result: Checking sound device backend... old coreaudio" >&55233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... old coreaudio" >&5 10936 5234 $as_echo "Checking sound device backend... old coreaudio" >&6; } 10937 5235 else 10938 5236 ac_pjmedia_snd=pa_darwinos 10939 { $as_echo "$as_me:$ LINENO: result: Checking sound device backend... coreaudio" >&55237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... coreaudio" >&5 10940 5238 $as_echo "Checking sound device backend... coreaudio" >&6; } 10941 5239 fi … … 10943 5241 *cygwin* | *mingw*) 10944 5242 ac_pjmedia_snd=pa_win32 10945 { $as_echo "$as_me:$ LINENO: result: Checking sound device backend... win32 sound" >&55243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... win32 sound" >&5 10946 5244 $as_echo "Checking sound device backend... win32 sound" >&6; } 10947 5245 ;; 10948 5246 *rtems*) 10949 5247 ac_pjmedia_snd=null 10950 { $as_echo "$as_me:$ LINENO: result: Checking sound device backend... null sound" >&55248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... null sound" >&5 10951 5249 $as_echo "Checking sound device backend... null sound" >&6; } 10952 5250 ;; 10953 5251 *) 10954 5252 ac_pjmedia_snd=pa_unix 10955 if test "${ac_cv_header_alsa_version_h+set}" = set; then 10956 { $as_echo "$as_me:$LINENO: checking for alsa/version.h" >&5 10957 $as_echo_n "checking for alsa/version.h... " >&6; } 10958 if test "${ac_cv_header_alsa_version_h+set}" = set; then 10959 $as_echo_n "(cached) " >&6 10960 fi 10961 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 10962 $as_echo "$ac_cv_header_alsa_version_h" >&6; } 10963 else 10964 # Is the header compilable? 10965 { $as_echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 10966 $as_echo_n "checking alsa/version.h usability... " >&6; } 10967 cat >conftest.$ac_ext <<_ACEOF 10968 /* confdefs.h. */ 10969 _ACEOF 10970 cat confdefs.h >>conftest.$ac_ext 10971 cat >>conftest.$ac_ext <<_ACEOF 10972 /* end confdefs.h. */ 10973 $ac_includes_default 10974 #include <alsa/version.h> 10975 _ACEOF 10976 rm -f conftest.$ac_objext 10977 if { (ac_try="$ac_compile" 10978 case "(($ac_try" in 10979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10980 *) ac_try_echo=$ac_try;; 10981 esac 10982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 10983 $as_echo "$ac_try_echo") >&5 10984 (eval "$ac_compile") 2>conftest.er1 10985 ac_status=$? 10986 grep -v '^ *+' conftest.er1 >conftest.err 10987 rm -f conftest.er1 10988 cat conftest.err >&5 10989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 10990 (exit $ac_status); } && { 10991 test -z "$ac_c_werror_flag" || 10992 test ! -s conftest.err 10993 } && test -s conftest.$ac_objext; then 10994 ac_header_compiler=yes 10995 else 10996 $as_echo "$as_me: failed program was:" >&5 10997 sed 's/^/| /' conftest.$ac_ext >&5 10998 10999 ac_header_compiler=no 11000 fi 11001 11002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11003 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11004 $as_echo "$ac_header_compiler" >&6; } 11005 11006 # Is the header present? 11007 { $as_echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 11008 $as_echo_n "checking alsa/version.h presence... " >&6; } 11009 cat >conftest.$ac_ext <<_ACEOF 11010 /* confdefs.h. */ 11011 _ACEOF 11012 cat confdefs.h >>conftest.$ac_ext 11013 cat >>conftest.$ac_ext <<_ACEOF 11014 /* end confdefs.h. */ 11015 #include <alsa/version.h> 11016 _ACEOF 11017 if { (ac_try="$ac_cpp conftest.$ac_ext" 11018 case "(($ac_try" in 11019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11020 *) ac_try_echo=$ac_try;; 11021 esac 11022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11023 $as_echo "$ac_try_echo") >&5 11024 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11025 ac_status=$? 11026 grep -v '^ *+' conftest.er1 >conftest.err 11027 rm -f conftest.er1 11028 cat conftest.err >&5 11029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11030 (exit $ac_status); } >/dev/null && { 11031 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11032 test ! -s conftest.err 11033 }; then 11034 ac_header_preproc=yes 11035 else 11036 $as_echo "$as_me: failed program was:" >&5 11037 sed 's/^/| /' conftest.$ac_ext >&5 11038 11039 ac_header_preproc=no 11040 fi 11041 11042 rm -f conftest.err conftest.$ac_ext 11043 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11044 $as_echo "$ac_header_preproc" >&6; } 11045 11046 # So? What about this header? 11047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11048 yes:no: ) 11049 { $as_echo "$as_me:$LINENO: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&5 11050 $as_echo "$as_me: WARNING: alsa/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11051 { $as_echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the compiler's result" >&5 11052 $as_echo "$as_me: WARNING: alsa/version.h: proceeding with the compiler's result" >&2;} 11053 ac_header_preproc=yes 11054 ;; 11055 no:yes:* ) 11056 { $as_echo "$as_me:$LINENO: WARNING: alsa/version.h: present but cannot be compiled" >&5 11057 $as_echo "$as_me: WARNING: alsa/version.h: present but cannot be compiled" >&2;} 11058 { $as_echo "$as_me:$LINENO: WARNING: alsa/version.h: check for missing prerequisite headers?" >&5 11059 $as_echo "$as_me: WARNING: alsa/version.h: check for missing prerequisite headers?" >&2;} 11060 { $as_echo "$as_me:$LINENO: WARNING: alsa/version.h: see the Autoconf documentation" >&5 11061 $as_echo "$as_me: WARNING: alsa/version.h: see the Autoconf documentation" >&2;} 11062 { $as_echo "$as_me:$LINENO: WARNING: alsa/version.h: section \"Present But Cannot Be Compiled\"" >&5 11063 $as_echo "$as_me: WARNING: alsa/version.h: section \"Present But Cannot Be Compiled\"" >&2;} 11064 { $as_echo "$as_me:$LINENO: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&5 11065 $as_echo "$as_me: WARNING: alsa/version.h: proceeding with the preprocessor's result" >&2;} 11066 { $as_echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 11067 $as_echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 11068 11069 ;; 11070 esac 11071 { $as_echo "$as_me:$LINENO: checking for alsa/version.h" >&5 11072 $as_echo_n "checking for alsa/version.h... " >&6; } 11073 if test "${ac_cv_header_alsa_version_h+set}" = set; then 11074 $as_echo_n "(cached) " >&6 11075 else 11076 ac_cv_header_alsa_version_h=$ac_header_preproc 11077 fi 11078 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 11079 $as_echo "$ac_cv_header_alsa_version_h" >&6; } 11080 11081 fi 11082 if test $ac_cv_header_alsa_version_h = yes; then 5253 ac_fn_c_check_header_mongrel "$LINENO" "alsa/version.h" "ac_cv_header_alsa_version_h" "$ac_includes_default" 5254 if test "x$ac_cv_header_alsa_version_h" = x""yes; then : 11083 5255 ac_pa_use_alsa=1 11084 5256 … … 11091 5263 11092 5264 11093 { $as_echo "$as_me:$ LINENO: result: Checking sound device backend... unix" >&55265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking sound device backend... unix" >&5 11094 5266 $as_echo "Checking sound device backend... unix" >&6; } 11095 5267 … … 11097 5269 11098 5270 # Check whether --enable-oss was given. 11099 if test "${enable_oss+set}" = set; then 5271 if test "${enable_oss+set}" = set; then : 11100 5272 enableval=$enable_oss; 11101 5273 if test "$enable_oss" = "no"; then 11102 5274 ac_pa_use_oss=0 11103 { $as_echo "$as_me:$ LINENO: result: Checking if OSS audio is disabled... yes" >&55275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if OSS audio is disabled... yes" >&5 11104 5276 $as_echo "Checking if OSS audio is disabled... yes" >&6; } 11105 5277 fi … … 11112 5284 11113 5285 # Check whether --enable-ext_sound was given. 11114 if test "${enable_ext_sound+set}" = set; then 5286 if test "${enable_ext_sound+set}" = set; then : 11115 5287 enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then 11116 5288 ac_pjmedia_snd=external 11117 { $as_echo "$as_me:$ LINENO: result: Checking if external sound is set... yes" >&55289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if external sound is set... yes" >&5 11118 5290 $as_echo "Checking if external sound is set... yes" >&6; } 11119 5291 fi … … 11124 5296 11125 5297 # Check whether --enable-small-filter was given. 11126 if test "${enable_small_filter+set}" = set; then 5298 if test "${enable_small_filter+set}" = set; then : 11127 5299 enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then 11128 5300 ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 11129 { $as_echo "$as_me:$ LINENO: result: Checking if small filter is disabled... yes" >&55301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... yes" >&5 11130 5302 $as_echo "Checking if small filter is disabled... yes" >&6; } 11131 5303 fi 11132 5304 else 11133 { $as_echo "$as_me:$ LINENO: result: Checking if small filter is disabled... no" >&55305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if small filter is disabled... no" >&5 11134 5306 $as_echo "Checking if small filter is disabled... no" >&6; } 11135 5307 fi … … 11138 5310 11139 5311 # Check whether --enable-large-filter was given. 11140 if test "${enable_large_filter+set}" = set; then 5312 if test "${enable_large_filter+set}" = set; then : 11141 5313 enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then 11142 5314 ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 11143 { $as_echo "$as_me:$ LINENO: result: Checking if large filter is disabled... yes" >&55315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... yes" >&5 11144 5316 $as_echo "Checking if large filter is disabled... yes" >&6; } 11145 5317 fi 11146 5318 else 11147 { $as_echo "$as_me:$ LINENO: result: Checking if large filter is disabled... no" >&55319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if large filter is disabled... no" >&5 11148 5320 $as_echo "Checking if large filter is disabled... no" >&6; } 11149 5321 fi … … 11152 5324 11153 5325 # Check whether --enable-speex-aec was given. 11154 if test "${enable_speex_aec+set}" = set; then 5326 if test "${enable_speex_aec+set}" = set; then : 11155 5327 enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then 11156 5328 ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 11157 { $as_echo "$as_me:$ LINENO: result: Checking if Speex AEC is disabled...yes" >&55329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...yes" >&5 11158 5330 $as_echo "Checking if Speex AEC is disabled...yes" >&6; } 11159 5331 fi 11160 5332 else 11161 { $as_echo "$as_me:$ LINENO: result: Checking if Speex AEC is disabled...no" >&55333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex AEC is disabled...no" >&5 11162 5334 $as_echo "Checking if Speex AEC is disabled...no" >&6; } 11163 5335 fi … … 11166 5338 11167 5339 # Check whether --enable-g711-codec was given. 11168 if test "${enable_g711_codec+set}" = set; then 5340 if test "${enable_g711_codec+set}" = set; then : 11169 5341 enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then 11170 5342 ac_no_g711_codec=1 11171 cat >>confdefs.h <<\_ACEOF 11172 #define PJMEDIA_HAS_G711_CODEC 0 11173 _ACEOF 11174 11175 { $as_echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 5343 $as_echo "#define PJMEDIA_HAS_G711_CODEC 0" >>confdefs.h 5344 5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...yes" >&5 11176 5346 $as_echo "Checking if G.711 codec is disabled...yes" >&6; } 11177 5347 fi 11178 5348 else 11179 { $as_echo "$as_me:$ LINENO: result: Checking if G.711 codec is disabled...no" >&55349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.711 codec is disabled...no" >&5 11180 5350 $as_echo "Checking if G.711 codec is disabled...no" >&6; } 11181 5351 fi … … 11185 5355 11186 5356 # Check whether --enable-l16-codec was given. 11187 if test "${enable_l16_codec+set}" = set; then 5357 if test "${enable_l16_codec+set}" = set; then : 11188 5358 enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then 11189 5359 ac_no_l16_codec=1 11190 cat >>confdefs.h <<\_ACEOF 11191 #define PJMEDIA_HAS_L16_CODEC 0 11192 _ACEOF 11193 11194 { $as_echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 5360 $as_echo "#define PJMEDIA_HAS_L16_CODEC 0" >>confdefs.h 5361 5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codecs are disabled...yes" >&5 11195 5363 $as_echo "Checking if L16 codecs are disabled...yes" >&6; } 11196 5364 fi 11197 5365 else 11198 { $as_echo "$as_me:$ LINENO: result: Checking if L16 codec is disabled...no" >&55366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if L16 codec is disabled...no" >&5 11199 5367 $as_echo "Checking if L16 codec is disabled...no" >&6; } 11200 5368 fi … … 11204 5372 11205 5373 # Check whether --enable-gsm-codec was given. 11206 if test "${enable_gsm_codec+set}" = set; then 5374 if test "${enable_gsm_codec+set}" = set; then : 11207 5375 enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then 11208 5376 ac_no_gsm_codec=1 11209 cat >>confdefs.h <<\_ACEOF 11210 #define PJMEDIA_HAS_GSM_CODEC 0 11211 _ACEOF 11212 11213 { $as_echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 5377 $as_echo "#define PJMEDIA_HAS_GSM_CODEC 0" >>confdefs.h 5378 5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...yes" >&5 11214 5380 $as_echo "Checking if GSM codec is disabled...yes" >&6; } 11215 5381 fi 11216 5382 else 11217 { $as_echo "$as_me:$ LINENO: result: Checking if GSM codec is disabled...no" >&55383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if GSM codec is disabled...no" >&5 11218 5384 $as_echo "Checking if GSM codec is disabled...no" >&6; } 11219 5385 fi … … 11222 5388 11223 5389 # Check whether --enable-g722-codec was given. 11224 if test "${enable_g722_codec+set}" = set; then 5390 if test "${enable_g722_codec+set}" = set; then : 11225 5391 enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then 11226 5392 ac_no_g722_codec=1 11227 cat >>confdefs.h <<\_ACEOF 11228 #define PJMEDIA_HAS_G722_CODEC 0 11229 _ACEOF 11230 11231 { $as_echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&5 5393 $as_echo "#define PJMEDIA_HAS_G722_CODEC 0" >>confdefs.h 5394 5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...yes" >&5 11232 5396 $as_echo "Checking if G.722 codec is disabled...yes" >&6; } 11233 5397 fi 11234 5398 else 11235 { $as_echo "$as_me:$ LINENO: result: Checking if G.722 codec is disabled...no" >&55399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722 codec is disabled...no" >&5 11236 5400 $as_echo "Checking if G.722 codec is disabled...no" >&6; } 11237 5401 fi … … 11240 5404 11241 5405 # Check whether --enable-g7221-codec was given. 11242 if test "${enable_g7221_codec+set}" = set; then 5406 if test "${enable_g7221_codec+set}" = set; then : 11243 5407 enableval=$enable_g7221_codec; if test "$enable_g7221_codec" = "no"; then 11244 5408 ac_no_g7221_codec=1 11245 cat >>confdefs.h <<\_ACEOF 11246 #define PJMEDIA_HAS_G7221_CODEC 0 11247 _ACEOF 11248 11249 { $as_echo "$as_me:$LINENO: result: Checking if G.722.1 codec is disabled...yes" >&5 5409 $as_echo "#define PJMEDIA_HAS_G7221_CODEC 0" >>confdefs.h 5410 5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...yes" >&5 11250 5412 $as_echo "Checking if G.722.1 codec is disabled...yes" >&6; } 11251 5413 fi 11252 5414 else 11253 { $as_echo "$as_me:$ LINENO: result: Checking if G.722.1 codec is disabled...no" >&55415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if G.722.1 codec is disabled...no" >&5 11254 5416 $as_echo "Checking if G.722.1 codec is disabled...no" >&6; } 11255 5417 fi … … 11258 5420 11259 5421 # Check whether --enable-speex-codec was given. 11260 if test "${enable_speex_codec+set}" = set; then 5422 if test "${enable_speex_codec+set}" = set; then : 11261 5423 enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then 11262 5424 ac_no_speex_codec=1 11263 cat >>confdefs.h <<\_ACEOF 11264 #define PJMEDIA_HAS_SPEEX_CODEC 0 11265 _ACEOF 11266 11267 { $as_echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 5425 $as_echo "#define PJMEDIA_HAS_SPEEX_CODEC 0" >>confdefs.h 5426 5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...yes" >&5 11268 5428 $as_echo "Checking if Speex codec is disabled...yes" >&6; } 11269 5429 fi 11270 5430 else 11271 { $as_echo "$as_me:$ LINENO: result: Checking if Speex codec is disabled...no" >&55431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if Speex codec is disabled...no" >&5 11272 5432 $as_echo "Checking if Speex codec is disabled...no" >&6; } 11273 5433 fi … … 11276 5436 11277 5437 # Check whether --enable-ilbc-codec was given. 11278 if test "${enable_ilbc_codec+set}" = set; then 5438 if test "${enable_ilbc_codec+set}" = set; then : 11279 5439 enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then 11280 5440 ac_no_ilbc_codec=1 11281 cat >>confdefs.h <<\_ACEOF 11282 #define PJMEDIA_HAS_ILBC_CODEC 0 11283 _ACEOF 11284 11285 { $as_echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 5441 $as_echo "#define PJMEDIA_HAS_ILBC_CODEC 0" >>confdefs.h 5442 5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...yes" >&5 11286 5444 $as_echo "Checking if iLBC codec is disabled...yes" >&6; } 11287 5445 fi 11288 5446 else 11289 { $as_echo "$as_me:$ LINENO: result: Checking if iLBC codec is disabled...no" >&55447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if iLBC codec is disabled...no" >&5 11290 5448 $as_echo "Checking if iLBC codec is disabled...no" >&6; } 11291 5449 fi … … 11293 5451 11294 5452 # Check whether --enable-libsamplerate was given. 11295 if test "${enable_libsamplerate+set}" = set; then 11296 enableval=$enable_libsamplerate; 11297 { $as_echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5 5453 if test "${enable_libsamplerate+set}" = set; then : 5454 enableval=$enable_libsamplerate; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for src_new in -lsamplerate" >&5 11298 5455 $as_echo_n "checking for src_new in -lsamplerate... " >&6; } 11299 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then 5456 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then : 11300 5457 $as_echo_n "(cached) " >&6 11301 5458 else 11302 5459 ac_check_lib_save_LIBS=$LIBS 11303 5460 LIBS="-lsamplerate $LIBS" 11304 cat >conftest.$ac_ext <<_ACEOF 11305 /* confdefs.h. */ 11306 _ACEOF 11307 cat confdefs.h >>conftest.$ac_ext 11308 cat >>conftest.$ac_ext <<_ACEOF 5461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11309 5462 /* end confdefs.h. */ 11310 5463 … … 11324 5477 } 11325 5478 _ACEOF 11326 rm -f conftest.$ac_objext conftest$ac_exeext 11327 if { (ac_try="$ac_link" 11328 case "(($ac_try" in 11329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11330 *) ac_try_echo=$ac_try;; 11331 esac 11332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11333 $as_echo "$ac_try_echo") >&5 11334 (eval "$ac_link") 2>conftest.er1 11335 ac_status=$? 11336 grep -v '^ *+' conftest.er1 >conftest.err 11337 rm -f conftest.er1 11338 cat conftest.err >&5 11339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11340 (exit $ac_status); } && { 11341 test -z "$ac_c_werror_flag" || 11342 test ! -s conftest.err 11343 } && test -s conftest$ac_exeext && { 11344 test "$cross_compiling" = yes || 11345 $as_test_x conftest$ac_exeext 11346 }; then 5479 if ac_fn_c_try_link "$LINENO"; then : 11347 5480 ac_cv_lib_samplerate_src_new=yes 11348 5481 else 11349 $as_echo "$as_me: failed program was:" >&5 11350 sed 's/^/| /' conftest.$ac_ext >&5 11351 11352 ac_cv_lib_samplerate_src_new=no 11353 fi 11354 11355 rm -rf conftest.dSYM 11356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11357 conftest$ac_exeext conftest.$ac_ext 5482 ac_cv_lib_samplerate_src_new=no 5483 fi 5484 rm -f core conftest.err conftest.$ac_objext \ 5485 conftest$ac_exeext conftest.$ac_ext 11358 5486 LIBS=$ac_check_lib_save_LIBS 11359 5487 fi 11360 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_samplerate_src_new" >&55488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_samplerate_src_new" >&5 11361 5489 $as_echo "$ac_cv_lib_samplerate_src_new" >&6; } 11362 if test $ac_cv_lib_samplerate_src_new = yes; then5490 if test "x$ac_cv_lib_samplerate_src_new" = x""yes; then : 11363 5491 cat >>confdefs.h <<_ACEOF 11364 5492 #define HAVE_LIBSAMPLERATE 1 … … 11370 5498 11371 5499 else 11372 { $as_echo "$as_me:$ LINENO: result: Skipping libsamplerate detection" >&55500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping libsamplerate detection" >&5 11373 5501 $as_echo "Skipping libsamplerate detection" >&6; } 11374 5502 … … 11378 5506 11379 5507 # Check whether --enable-ipp was given. 11380 if test "${enable_ipp+set}" = set; then 5508 if test "${enable_ipp+set}" = set; then : 11381 5509 enableval=$enable_ipp; 11382 5510 else … … 11387 5515 11388 5516 # Check whether --enable-ipp was given. 11389 if test "${enable_ipp+set}" = set; then 5517 if test "${enable_ipp+set}" = set; then : 11390 5518 enableval=$enable_ipp; 11391 5519 else … … 11396 5524 11397 5525 # Check whether --enable-ipp-samples was given. 11398 if test "${enable_ipp_samples+set}" = set; then 5526 if test "${enable_ipp_samples+set}" = set; then : 11399 5527 enableval=$enable_ipp_samples; 11400 5528 else … … 11405 5533 11406 5534 if test "x$enable_ipp" != "xno"; then 11407 { $as_echo "$as_me:$ LINENO: checking Intel IPP location" >&55535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP location" >&5 11408 5536 $as_echo_n "checking Intel IPP location... " >&6; } 11409 5537 11410 5538 if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then 11411 { $as_echo "$as_me:$ LINENO: result: $with_ipp" >&55539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp" >&5 11412 5540 $as_echo "$with_ipp" >&6; } 11413 5541 IPPROOT=$with_ipp … … 11415 5543 if test -d /opt/intel/ipp; then 11416 5544 IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` 11417 { $as_echo "$as_me:$ LINENO: result: autodetected in $IPPROOT" >&55545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPROOT" >&5 11418 5546 $as_echo "autodetected in $IPPROOT" >&6; } 11419 5547 fi 11420 5548 else 11421 { $as_echo "$as_me:$ LINENO: result: $IPPROOT" >&55549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPROOT" >&5 11422 5550 $as_echo "$IPPROOT" >&6; } 11423 5551 fi 11424 5552 11425 5553 if test x$IPPROOT = x; then 11426 { { $as_echo "$as_me:$LINENO: error: the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" >&5 11427 $as_echo "$as_me: error: the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" >&2;} 11428 { (exit 1); exit 1; }; } 5554 as_fn_error "the location is neither specified nor can be guessed. Please specify with IPPROOT env var or with --with-ipp option" "$LINENO" 5 11429 5555 elif test ! -d $IPPROOT; then 11430 { { $as_echo "$as_me:$LINENO: error: not found" >&5 11431 $as_echo "$as_me: error: not found" >&2;} 11432 { (exit 1); exit 1; }; } 5556 as_fn_error "not found" "$LINENO" 5 11433 5557 elif test ! -d $IPPROOT/include; then 11434 { { $as_echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 11435 $as_echo "$as_me: error: directory doesn't seem to be valid" >&2;} 11436 { (exit 1); exit 1; }; } 5558 as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 11437 5559 else 11438 5560 # IPP directory looks okay. … … 11455 5577 11456 5578 11457 { $as_echo "$as_me:$ LINENO: checking Intel IPP usability" >&55579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP usability" >&5 11458 5580 $as_echo_n "checking Intel IPP usability... " >&6; } 11459 cat >conftest.$ac_ext <<_ACEOF 11460 /* confdefs.h. */ 11461 _ACEOF 11462 cat confdefs.h >>conftest.$ac_ext 11463 cat >>conftest.$ac_ext <<_ACEOF 5581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11464 5582 /* end confdefs.h. */ 11465 5583 #include <ippcore.h> … … 11473 5591 } 11474 5592 _ACEOF 11475 rm -f conftest.$ac_objext conftest$ac_exeext 11476 if { (ac_try="$ac_link" 11477 case "(($ac_try" in 11478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11479 *) ac_try_echo=$ac_try;; 11480 esac 11481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11482 $as_echo "$ac_try_echo") >&5 11483 (eval "$ac_link") 2>conftest.er1 11484 ac_status=$? 11485 grep -v '^ *+' conftest.er1 >conftest.err 11486 rm -f conftest.er1 11487 cat conftest.err >&5 11488 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11489 (exit $ac_status); } && { 11490 test -z "$ac_c_werror_flag" || 11491 test ! -s conftest.err 11492 } && test -s conftest$ac_exeext && { 11493 test "$cross_compiling" = yes || 11494 $as_test_x conftest$ac_exeext 11495 }; then 11496 { $as_echo "$as_me:$LINENO: result: ok" >&5 5593 if ac_fn_c_try_link "$LINENO"; then : 5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 11497 5595 $as_echo "ok" >&6; } 11498 5596 else 11499 $as_echo "$as_me: failed program was:" >&5 11500 sed 's/^/| /' conftest.$ac_ext >&5 11501 11502 { { $as_echo "$as_me:$LINENO: error: failed 11503 See \`config.log' for more details." >&5 11504 $as_echo "$as_me: error: failed 11505 See \`config.log' for more details." >&2;} 11506 { (exit 1); exit 1; }; } 11507 fi 11508 11509 rm -rf conftest.dSYM 11510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11511 conftest$ac_exeext conftest.$ac_ext 5597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5599 as_fn_error "failed 5600 See \`config.log' for more details." "$LINENO" 5; } 5601 fi 5602 rm -f core conftest.err conftest.$ac_objext \ 5603 conftest$ac_exeext conftest.$ac_ext 11512 5604 11513 5605 CFLAGS="$SAVED_CFLAGS" … … 11516 5608 fi 11517 5609 11518 { $as_echo "$as_me:$ LINENO: checking Intel IPP samples location" >&55610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP samples location" >&5 11519 5611 $as_echo_n "checking Intel IPP samples location... " >&6; } 11520 5612 11521 5613 if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then 11522 { $as_echo "$as_me:$ LINENO: result: $with_ipp_samples" >&55614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_ipp_samples" >&5 11523 5615 $as_echo "$with_ipp_samples" >&6; } 11524 5616 IPPSAMPLES=$with_ipp_samples … … 11526 5618 if test -d /opt/intel/ipp-samples; then 11527 5619 IPPSAMPLES=/opt/intel/ipp-samples 11528 { $as_echo "$as_me:$ LINENO: result: autodetected in $IPPSAMPLES" >&55620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetected in $IPPSAMPLES" >&5 11529 5621 $as_echo "autodetected in $IPPSAMPLES" >&6; } 11530 5622 fi 11531 5623 else 11532 { $as_echo "$as_me:$ LINENO: result: $IPPSAMPLES" >&55624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLES" >&5 11533 5625 $as_echo "$IPPSAMPLES" >&6; } 11534 5626 fi 11535 5627 11536 5628 if test x$IPPSAMPLES = x; then 11537 { { $as_echo "$as_me:$LINENO: error: the location is neither specified nor can be guessed. Please specify with IPPSAMPLES env var or with --with-ipp-samples option" >&5 11538 $as_echo "$as_me: error: the location is neither specified nor can be guessed. Please specify with IPPSAMPLES env var or with --with-ipp-samples option" >&2;} 11539 { (exit 1); exit 1; }; } 5629 as_fn_error "the location is neither specified nor can be guessed. Please specify with IPPSAMPLES env var or with --with-ipp-samples option" "$LINENO" 5 11540 5630 elif test ! -d $IPPSAMPLES; then 11541 { { $as_echo "$as_me:$LINENO: error: not found" >&5 11542 $as_echo "$as_me: error: not found" >&2;} 11543 { (exit 1); exit 1; }; } 5631 as_fn_error "not found" "$LINENO" 5 11544 5632 elif test ! -d $IPPSAMPLES/speech-codecs; then 11545 { { $as_echo "$as_me:$LINENO: error: directory doesn't seem to be valid" >&5 11546 $as_echo "$as_me: error: directory doesn't seem to be valid" >&2;} 11547 { (exit 1); exit 1; }; } 5633 as_fn_error "directory doesn't seem to be valid" "$LINENO" 5 11548 5634 else 11549 5635 # Remove trailing backslash … … 11551 5637 11552 5638 # Guess the libusc.a build location 11553 { $as_echo "$as_me:$ LINENO: checking Intel IPP USC build location" >&55639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC build location" >&5 11554 5640 $as_echo_n "checking Intel IPP USC build location... " >&6; } 11555 5641 IPPSAMPLESLIB=`ls -d $IPPSAMPLES/speech-codecs/bin/*gcc*/lib | head -1` 11556 5642 if test ! -d $IPPSAMPLESLIB; then 11557 { { $as_echo "$as_me:$LINENO: error: the $IPPSAMPLES/speech-codecs/bin/*gcc*/lib directory not found. Have you built the samples? 11558 See \`config.log' for more details." >&5 11559 $as_echo "$as_me: error: the $IPPSAMPLES/speech-codecs/bin/*gcc*/lib directory not found. Have you built the samples? 11560 See \`config.log' for more details." >&2;} 11561 { (exit 1); exit 1; }; } 5643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5645 as_fn_error "the $IPPSAMPLES/speech-codecs/bin/*gcc*/lib directory not found. Have you built the samples? 5646 See \`config.log' for more details." "$LINENO" 5; } 11562 5647 fi 11563 5648 if test ! -f $IPPSAMPLESLIB/libusc.a; then 11564 { { $as_echo "$as_me:$LINENO: error: libusc.a doesn't exist in $IPPSAMPLESLIB 11565 See \`config.log' for more details." >&5 11566 $as_echo "$as_me: error: libusc.a doesn't exist in $IPPSAMPLESLIB 11567 See \`config.log' for more details." >&2;} 11568 { (exit 1); exit 1; }; } 5649 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5651 as_fn_error "libusc.a doesn't exist in $IPPSAMPLESLIB 5652 See \`config.log' for more details." "$LINENO" 5; } 11569 5653 fi 11570 { $as_echo "$as_me:$ LINENO: result: $IPPSAMPLESLIB" >&55654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPPSAMPLESLIB" >&5 11571 5655 $as_echo "$IPPSAMPLESLIB" >&6; } 11572 5656 … … 11580 5664 LIBS="-lusc $LIBS" 11581 5665 11582 { $as_echo "$as_me:$ LINENO: checking Intel IPP USC usability" >&55666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Intel IPP USC usability" >&5 11583 5667 $as_echo_n "checking Intel IPP USC usability... " >&6; } 11584 cat >conftest.$ac_ext <<_ACEOF 11585 /* confdefs.h. */ 11586 _ACEOF 11587 cat confdefs.h >>conftest.$ac_ext 11588 cat >>conftest.$ac_ext <<_ACEOF 5668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11589 5669 /* end confdefs.h. */ 11590 5670 #include <usc.h> … … 11598 5678 } 11599 5679 _ACEOF 11600 rm -f conftest.$ac_objext conftest$ac_exeext 11601 if { (ac_try="$ac_link" 11602 case "(($ac_try" in 11603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11604 *) ac_try_echo=$ac_try;; 11605 esac 11606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11607 $as_echo "$ac_try_echo") >&5 11608 (eval "$ac_link") 2>conftest.er1 11609 ac_status=$? 11610 grep -v '^ *+' conftest.er1 >conftest.err 11611 rm -f conftest.er1 11612 cat conftest.err >&5 11613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11614 (exit $ac_status); } && { 11615 test -z "$ac_c_werror_flag" || 11616 test ! -s conftest.err 11617 } && test -s conftest$ac_exeext && { 11618 test "$cross_compiling" = yes || 11619 $as_test_x conftest$ac_exeext 11620 }; then 11621 { $as_echo "$as_me:$LINENO: result: ok" >&5 5680 if ac_fn_c_try_link "$LINENO"; then : 5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 11622 5682 $as_echo "ok" >&6; } 11623 5683 else 11624 $as_echo "$as_me: failed program was:" >&5 11625 sed 's/^/| /' conftest.$ac_ext >&5 11626 11627 { { $as_echo "$as_me:$LINENO: error: failed 11628 See \`config.log' for more details." >&5 11629 $as_echo "$as_me: error: failed 11630 See \`config.log' for more details." >&2;} 11631 { (exit 1); exit 1; }; } 11632 fi 11633 11634 rm -rf conftest.dSYM 11635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11636 conftest$ac_exeext conftest.$ac_ext 5684 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5685 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5686 as_fn_error "failed 5687 See \`config.log' for more details." "$LINENO" 5; } 5688 fi 5689 rm -f core conftest.err conftest.$ac_objext \ 5690 conftest$ac_exeext conftest.$ac_ext 11637 5691 11638 5692 CFLAGS="$SAVED_CFLAGS" … … 11650 5704 export IPP_LIBS=$IPP_LIBS" 11651 5705 else 11652 { $as_echo "$as_me:$ LINENO: result: Skipping Intel IPP settings (not wanted)" >&55706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Skipping Intel IPP settings (not wanted)" >&5 11653 5707 $as_echo "Skipping Intel IPP settings (not wanted)" >&6; } 11654 5708 fi … … 11658 5712 11659 5713 # Check whether --enable-ssl was given. 11660 if test "${enable_ssl+set}" = set; then 5714 if test "${enable_ssl+set}" = set; then : 11661 5715 enableval=$enable_ssl; 11662 5716 if test "$enable_ssl" = "no"; then 11663 5717 ac_no_ssl=1 11664 { $as_echo "$as_me:$ LINENO: result: Checking if SSL support is disabled... yes" >&55718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if SSL support is disabled... yes" >&5 11665 5719 $as_echo "Checking if SSL support is disabled... yes" >&6; } 11666 5720 fi … … 11668 5722 else 11669 5723 11670 { $as_echo "$as_me:$ LINENO: result: checking for OpenSSL installations.." >&55724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for OpenSSL installations.." >&5 11671 5725 $as_echo "checking for OpenSSL installations.." >&6; } 11672 5726 11673 5727 11674 5728 11675 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 11676 { $as_echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 11677 $as_echo_n "checking for openssl/ssl.h... " >&6; } 11678 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 11679 $as_echo_n "(cached) " >&6 11680 fi 11681 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 11682 $as_echo "$ac_cv_header_openssl_ssl_h" >&6; } 11683 else 11684 # Is the header compilable? 11685 { $as_echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 11686 $as_echo_n "checking openssl/ssl.h usability... " >&6; } 11687 cat >conftest.$ac_ext <<_ACEOF 11688 /* confdefs.h. */ 11689 _ACEOF 11690 cat confdefs.h >>conftest.$ac_ext 11691 cat >>conftest.$ac_ext <<_ACEOF 11692 /* end confdefs.h. */ 11693 $ac_includes_default 11694 #include <openssl/ssl.h> 11695 _ACEOF 11696 rm -f conftest.$ac_objext 11697 if { (ac_try="$ac_compile" 11698 case "(($ac_try" in 11699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11700 *) ac_try_echo=$ac_try;; 11701 esac 11702 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11703 $as_echo "$ac_try_echo") >&5 11704 (eval "$ac_compile") 2>conftest.er1 11705 ac_status=$? 11706 grep -v '^ *+' conftest.er1 >conftest.err 11707 rm -f conftest.er1 11708 cat conftest.err >&5 11709 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11710 (exit $ac_status); } && { 11711 test -z "$ac_c_werror_flag" || 11712 test ! -s conftest.err 11713 } && test -s conftest.$ac_objext; then 11714 ac_header_compiler=yes 11715 else 11716 $as_echo "$as_me: failed program was:" >&5 11717 sed 's/^/| /' conftest.$ac_ext >&5 11718 11719 ac_header_compiler=no 11720 fi 11721 11722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11723 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11724 $as_echo "$ac_header_compiler" >&6; } 11725 11726 # Is the header present? 11727 { $as_echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 11728 $as_echo_n "checking openssl/ssl.h presence... " >&6; } 11729 cat >conftest.$ac_ext <<_ACEOF 11730 /* confdefs.h. */ 11731 _ACEOF 11732 cat confdefs.h >>conftest.$ac_ext 11733 cat >>conftest.$ac_ext <<_ACEOF 11734 /* end confdefs.h. */ 11735 #include <openssl/ssl.h> 11736 _ACEOF 11737 if { (ac_try="$ac_cpp conftest.$ac_ext" 11738 case "(($ac_try" in 11739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11740 *) ac_try_echo=$ac_try;; 11741 esac 11742 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11743 $as_echo "$ac_try_echo") >&5 11744 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11745 ac_status=$? 11746 grep -v '^ *+' conftest.er1 >conftest.err 11747 rm -f conftest.er1 11748 cat conftest.err >&5 11749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11750 (exit $ac_status); } >/dev/null && { 11751 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11752 test ! -s conftest.err 11753 }; then 11754 ac_header_preproc=yes 11755 else 11756 $as_echo "$as_me: failed program was:" >&5 11757 sed 's/^/| /' conftest.$ac_ext >&5 11758 11759 ac_header_preproc=no 11760 fi 11761 11762 rm -f conftest.err conftest.$ac_ext 11763 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11764 $as_echo "$ac_header_preproc" >&6; } 11765 11766 # So? What about this header? 11767 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11768 yes:no: ) 11769 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5 11770 $as_echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 11771 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5 11772 $as_echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;} 11773 ac_header_preproc=yes 11774 ;; 11775 no:yes:* ) 11776 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5 11777 $as_echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;} 11778 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&5 11779 $as_echo "$as_me: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&2;} 11780 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5 11781 $as_echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;} 11782 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5 11783 $as_echo "$as_me: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;} 11784 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5 11785 $as_echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;} 11786 { $as_echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 11787 $as_echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 11788 11789 ;; 11790 esac 11791 { $as_echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 11792 $as_echo_n "checking for openssl/ssl.h... " >&6; } 11793 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 11794 $as_echo_n "(cached) " >&6 11795 else 11796 ac_cv_header_openssl_ssl_h=$ac_header_preproc 11797 fi 11798 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 11799 $as_echo "$ac_cv_header_openssl_ssl_h" >&6; } 11800 11801 fi 11802 if test $ac_cv_header_openssl_ssl_h = yes; then 5729 ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default" 5730 if test "x$ac_cv_header_openssl_ssl_h" = x""yes; then : 11803 5731 openssl_h_present=1 11804 5732 fi 11805 5733 11806 5734 11807 { $as_echo "$as_me:$ LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&55735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ERR_load_BIO_strings in -lcrypto" >&5 11808 5736 $as_echo_n "checking for ERR_load_BIO_strings in -lcrypto... " >&6; } 11809 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 5737 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then : 11810 5738 $as_echo_n "(cached) " >&6 11811 5739 else 11812 5740 ac_check_lib_save_LIBS=$LIBS 11813 5741 LIBS="-lcrypto $LIBS" 11814 cat >conftest.$ac_ext <<_ACEOF 11815 /* confdefs.h. */ 11816 _ACEOF 11817 cat confdefs.h >>conftest.$ac_ext 11818 cat >>conftest.$ac_ext <<_ACEOF 5742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11819 5743 /* end confdefs.h. */ 11820 5744 … … 11834 5758 } 11835 5759 _ACEOF 11836 rm -f conftest.$ac_objext conftest$ac_exeext 11837 if { (ac_try="$ac_link" 11838 case "(($ac_try" in 11839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11840 *) ac_try_echo=$ac_try;; 11841 esac 11842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11843 $as_echo "$ac_try_echo") >&5 11844 (eval "$ac_link") 2>conftest.er1 11845 ac_status=$? 11846 grep -v '^ *+' conftest.er1 >conftest.err 11847 rm -f conftest.er1 11848 cat conftest.err >&5 11849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11850 (exit $ac_status); } && { 11851 test -z "$ac_c_werror_flag" || 11852 test ! -s conftest.err 11853 } && test -s conftest$ac_exeext && { 11854 test "$cross_compiling" = yes || 11855 $as_test_x conftest$ac_exeext 11856 }; then 5760 if ac_fn_c_try_link "$LINENO"; then : 11857 5761 ac_cv_lib_crypto_ERR_load_BIO_strings=yes 11858 5762 else 11859 $as_echo "$as_me: failed program was:" >&5 11860 sed 's/^/| /' conftest.$ac_ext >&5 11861 11862 ac_cv_lib_crypto_ERR_load_BIO_strings=no 11863 fi 11864 11865 rm -rf conftest.dSYM 11866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11867 conftest$ac_exeext conftest.$ac_ext 5763 ac_cv_lib_crypto_ERR_load_BIO_strings=no 5764 fi 5765 rm -f core conftest.err conftest.$ac_objext \ 5766 conftest$ac_exeext conftest.$ac_ext 11868 5767 LIBS=$ac_check_lib_save_LIBS 11869 5768 fi 11870 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&55769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 11871 5770 $as_echo "$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6; } 11872 if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then5771 if test "x$ac_cv_lib_crypto_ERR_load_BIO_strings" = x""yes; then : 11873 5772 libcrypto_present=1 && LIBS="$LIBS -lcrypto" 11874 5773 fi 11875 5774 11876 { $as_echo "$as_me:$ LINENO: checking for SSL_library_init in -lssl" >&55775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_library_init in -lssl" >&5 11877 5776 $as_echo_n "checking for SSL_library_init in -lssl... " >&6; } 11878 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 5777 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then : 11879 5778 $as_echo_n "(cached) " >&6 11880 5779 else 11881 5780 ac_check_lib_save_LIBS=$LIBS 11882 5781 LIBS="-lssl $LIBS" 11883 cat >conftest.$ac_ext <<_ACEOF 11884 /* confdefs.h. */ 11885 _ACEOF 11886 cat confdefs.h >>conftest.$ac_ext 11887 cat >>conftest.$ac_ext <<_ACEOF 5782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11888 5783 /* end confdefs.h. */ 11889 5784 … … 11903 5798 } 11904 5799 _ACEOF 11905 rm -f conftest.$ac_objext conftest$ac_exeext 11906 if { (ac_try="$ac_link" 11907 case "(($ac_try" in 11908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11909 *) ac_try_echo=$ac_try;; 11910 esac 11911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" 11912 $as_echo "$ac_try_echo") >&5 11913 (eval "$ac_link") 2>conftest.er1 11914 ac_status=$? 11915 grep -v '^ *+' conftest.er1 >conftest.err 11916 rm -f conftest.er1 11917 cat conftest.err >&5 11918 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 11919 (exit $ac_status); } && { 11920 test -z "$ac_c_werror_flag" || 11921 test ! -s conftest.err 11922 } && test -s conftest$ac_exeext && { 11923 test "$cross_compiling" = yes || 11924 $as_test_x conftest$ac_exeext 11925 }; then 5800 if ac_fn_c_try_link "$LINENO"; then : 11926 5801 ac_cv_lib_ssl_SSL_library_init=yes 11927 5802 else 11928 $as_echo "$as_me: failed program was:" >&5 11929 sed 's/^/| /' conftest.$ac_ext >&5 11930 11931 ac_cv_lib_ssl_SSL_library_init=no 11932 fi 11933 11934 rm -rf conftest.dSYM 11935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11936 conftest$ac_exeext conftest.$ac_ext 5803 ac_cv_lib_ssl_SSL_library_init=no 5804 fi 5805 rm -f core conftest.err conftest.$ac_objext \ 5806 conftest$ac_exeext conftest.$ac_ext 11937 5807 LIBS=$ac_check_lib_save_LIBS 11938 5808 fi 11939 { $as_echo "$as_me:$ LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&55809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_library_init" >&5 11940 5810 $as_echo "$ac_cv_lib_ssl_SSL_library_init" >&6; } 11941 if test $ac_cv_lib_ssl_SSL_library_init = yes; then5811 if test "x$ac_cv_lib_ssl_SSL_library_init" = x""yes; then : 11942 5812 libssl_present=1 && LIBS="$LIBS -lssl" 11943 5813 fi 11944 5814 11945 5815 if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 11946 { $as_echo "$as_me:$ LINENO: result: OpenSSL library found, SSL support enabled" >&55816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: OpenSSL library found, SSL support enabled" >&5 11947 5817 $as_echo "OpenSSL library found, SSL support enabled" >&6; } 11948 5818 # PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK 11949 5819 #AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1) 11950 cat >>confdefs.h <<\_ACEOF 11951 #define PJ_HAS_SSL_SOCK 1 11952 _ACEOF 5820 $as_echo "#define PJ_HAS_SSL_SOCK 1" >>confdefs.h 11953 5821 11954 5822 else 11955 { $as_echo "$as_me:$ LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&55823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 11956 5824 $as_echo "** OpenSSL libraries not found, disabling SSL support **" >&6; } 11957 5825 fi … … 11963 5831 11964 5832 11965 { $as_echo "$as_me:$ LINENO: checking if select() needs correct nfds" >&55833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if select() needs correct nfds" >&5 11966 5834 $as_echo_n "checking if select() needs correct nfds... " >&6; } 11967 5835 case $target in 11968 *rtems*) cat >>confdefs.h <<\_ACEOF 11969 #define PJ_SELECT_NEEDS_NFDS 1 11970 _ACEOF 11971 11972 { $as_echo "$as_me:$LINENO: result: yes" >&5 5836 *rtems*) $as_echo "#define PJ_SELECT_NEEDS_NFDS 1" >>confdefs.h 5837 5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11973 5839 $as_echo "yes" >&6; } 11974 5840 ;; 11975 *) cat >>confdefs.h <<\_ACEOF 11976 #define PJ_SELECT_NEEDS_NFDS 0 11977 _ACEOF 11978 11979 { $as_echo "$as_me:$LINENO: result: no (default)" >&5 5841 *) $as_echo "#define PJ_SELECT_NEEDS_NFDS 0" >>confdefs.h 5842 5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 11980 5844 $as_echo "no (default)" >&6; } 11981 { $as_echo "$as_me:$ LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&55845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 11982 5846 $as_echo "** Decided that select() doesn't need correct nfds (please check)" >&6; } 11983 5847 ;; 11984 5848 esac 11985 5849 11986 { $as_echo "$as_me:$ LINENO: checking if pj_thread_create() should enforce stack size" >&55850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should enforce stack size" >&5 11987 5851 $as_echo_n "checking if pj_thread_create() should enforce stack size... " >&6; } 11988 5852 case $target in 11989 *rtems*) cat >>confdefs.h <<\_ACEOF 11990 #define PJ_THREAD_SET_STACK_SIZE 1 11991 _ACEOF 11992 11993 { $as_echo "$as_me:$LINENO: result: yes" >&5 5853 *rtems*) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 1" >>confdefs.h 5854 5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 11994 5856 $as_echo "yes" >&6; } 11995 5857 ;; 11996 *) cat >>confdefs.h <<\_ACEOF 11997 #define PJ_THREAD_SET_STACK_SIZE 0 11998 _ACEOF 11999 12000 { $as_echo "$as_me:$LINENO: result: no (default)" >&5 5858 *) $as_echo "#define PJ_THREAD_SET_STACK_SIZE 0" >>confdefs.h 5859 5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 12001 5861 $as_echo "no (default)" >&6; } 12002 5862 ;; 12003 5863 esac 12004 5864 12005 { $as_echo "$as_me:$ LINENO: checking if pj_thread_create() should allocate stack" >&55865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if pj_thread_create() should allocate stack" >&5 12006 5866 $as_echo_n "checking if pj_thread_create() should allocate stack... " >&6; } 12007 5867 case $target in 12008 *rtems*) cat >>confdefs.h <<\_ACEOF 12009 #define PJ_THREAD_ALLOCATE_STACK 1 12010 _ACEOF 12011 12012 { $as_echo "$as_me:$LINENO: result: yes" >&5 5868 *rtems*) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 1" >>confdefs.h 5869 5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12013 5871 $as_echo "yes" >&6; } 12014 5872 ;; 12015 *) cat >>confdefs.h <<\_ACEOF 12016 #define PJ_THREAD_ALLOCATE_STACK 0 12017 _ACEOF 12018 12019 { $as_echo "$as_me:$LINENO: result: no (default)" >&5 5873 *) $as_echo "#define PJ_THREAD_ALLOCATE_STACK 0" >>confdefs.h 5874 5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (default)" >&5 12020 5876 $as_echo "no (default)" >&6; } 12021 5877 ;; … … 12024 5880 case $target in 12025 5881 *mingw* | *cygw* | *win32* | *w32* ) 12026 cat >>confdefs.h <<\_ACEOF 12027 #define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK 12028 _ACEOF 5882 $as_echo "#define PJ_BLOCKING_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 12029 5883 12030 5884 ;; 12031 *) cat >>confdefs.h <<\_ACEOF 12032 #define PJ_BLOCKING_ERROR_VAL EAGAIN 12033 _ACEOF 12034 12035 { $as_echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 5885 *) $as_echo "#define PJ_BLOCKING_ERROR_VAL EAGAIN" >>confdefs.h 5886 5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 12036 5888 $as_echo "** Setting non-blocking recv() retval to EAGAIN (please check)" >&6; } 12037 5889 ;; … … 12040 5892 case $target in 12041 5893 *mingw* | *cygw* | *win32* | *w32* ) 12042 cat >>confdefs.h <<\_ACEOF 12043 #define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK 12044 _ACEOF 5894 $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL WSAEWOULDBLOCK" >>confdefs.h 12045 5895 12046 5896 ;; 12047 *) cat >>confdefs.h <<\_ACEOF 12048 #define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS 12049 _ACEOF 12050 12051 { $as_echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 5897 *) $as_echo "#define PJ_BLOCKING_CONNECT_ERROR_VAL EINPROGRESS" >>confdefs.h 5898 5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 12052 5900 $as_echo "** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6; } 12053 5901 ;; … … 12105 5953 *${as_nl}*) 12106 5954 case $ac_var in #( 12107 *_cv_*) { $as_echo "$as_me:$ LINENO: WARNING: Cache variable $ac_var contains a newline." >&512108 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;5955 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 5956 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 12109 5957 esac 12110 5958 case $ac_var in #( 12111 5959 _ | IFS | as_nl) ;; #( 12112 5960 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 12113 *) $as_unset $ac_var;;5961 *) { eval $ac_var=; unset $ac_var;} ;; 12114 5962 esac ;; 12115 5963 esac … … 12119 5967 case $as_nl`(ac_space=' '; set) 2>&1` in #( 12120 5968 *${as_nl}ac_space=\ *) 12121 # `set' does not quote correctly, so add quotes (double-quote12122 # substitution turns \\\\ into \\, and sed turns \\ into \ ).5969 # `set' does not quote correctly, so add quotes: double-quote 5970 # substitution turns \\\\ into \\, and sed turns \\ into \. 12123 5971 sed -n \ 12124 5972 "s/'/'\\\\''/g; … … 12143 5991 if test -w "$cache_file"; then 12144 5992 test "x$cache_file" != "x/dev/null" && 12145 { $as_echo "$as_me:$ LINENO: updating cache $cache_file" >&55993 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 12146 5994 $as_echo "$as_me: updating cache $cache_file" >&6;} 12147 5995 cat confcache >$cache_file 12148 5996 else 12149 { $as_echo "$as_me:$ LINENO: not updating unwritable cache $cache_file" >&55997 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 12150 5998 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 12151 5999 fi … … 12167 6015 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 12168 6016 # will be set to the directory where LIBOBJS objects are built. 12169 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"12170 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'6017 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6018 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 12171 6019 done 12172 6020 LIBOBJS=$ac_libobjs … … 12181 6029 ac_clean_files_save=$ac_clean_files 12182 6030 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 12183 { $as_echo "$as_me:$ LINENO: creating $CONFIG_STATUS" >&56031 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 12184 6032 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 12185 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6033 as_write_fail=0 6034 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 12186 6035 #! $SHELL 12187 6036 # Generated by $as_me. … … 12193 6042 ac_cs_recheck=false 12194 6043 ac_cs_silent=false 6044 12195 6045 SHELL=\${CONFIG_SHELL-$SHELL} 12196 _ACEOF 12197 12198 cat >>$CONFIG_STATUS <<\_A CEOF || ac_write_fail=112199 ## -------------------- -##12200 ## M4sh Initialization. 12201 ## -------------------- -##6046 export SHELL 6047 _ASEOF 6048 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6049 ## -------------------- ## 6050 ## M4sh Initialization. ## 6051 ## -------------------- ## 12202 6052 12203 6053 # Be more Bourne compatible 12204 6054 DUALCASE=1; export DUALCASE # for MKS sh 12205 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6055 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 12206 6056 emulate sh 12207 6057 NULLCMD=: … … 12211 6061 setopt NO_GLOB_SUBST 12212 6062 else 12213 case `(set -o) 2>/dev/null` in 12214 *posix*) set -o posix ;; 6063 case `(set -o) 2>/dev/null` in #( 6064 *posix*) : 6065 set -o posix ;; #( 6066 *) : 6067 ;; 12215 6068 esac 12216 12217 fi 12218 12219 12220 12221 12222 # PATH needs CR 12223 # Avoid depending upon Character Ranges. 12224 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12225 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 12226 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 12227 as_cr_digits='0123456789' 12228 as_cr_alnum=$as_cr_Letters$as_cr_digits 6069 fi 6070 12229 6071 12230 6072 as_nl=' … … 12235 6077 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 12236 6078 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 12237 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6079 # Prefer a ksh shell builtin over an external printf program on Solaris, 6080 # but without wasting forks for bash or zsh. 6081 if test -z "$BASH_VERSION$ZSH_VERSION" \ 6082 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6083 as_echo='print -r --' 6084 as_echo_n='print -rn --' 6085 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 12238 6086 as_echo='printf %s\n' 12239 6087 as_echo_n='printf %s' … … 12246 6094 as_echo_n_body='eval 12247 6095 arg=$1; 12248 case $arg in 6096 case $arg in #( 12249 6097 *"$as_nl"*) 12250 6098 expr "X$arg" : "X\\(.*\\)$as_nl"; … … 12269 6117 fi 12270 6118 12271 # Support unset when possible.12272 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then12273 as_unset=unset12274 else12275 as_unset=false12276 fi12277 12278 6119 12279 6120 # IFS … … 12285 6126 12286 6127 # Find who we are. Look in the path if we contain no directory separator. 12287 case $0 in 6128 case $0 in #(( 12288 6129 *[\\/]* ) as_myself=$0 ;; 12289 6130 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 12292 6133 IFS=$as_save_IFS 12293 6134 test -z "$as_dir" && as_dir=. 12294 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break12295 done6135 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6136 done 12296 6137 IFS=$as_save_IFS 12297 6138 … … 12305 6146 if test ! -f "$as_myself"; then 12306 6147 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 12307 { (exit 1); exit 1; } 12308 fi 12309 12310 # Work around bugs in pre-3.0 UWIN ksh. 12311 for as_var in ENV MAIL MAILPATH 12312 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 6148 exit 1 6149 fi 6150 6151 # Unset variables that we do not need and which cause bugs (e.g. in 6152 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6153 # suppresses any "Segmentation fault" message there. '((' could 6154 # trigger a bug in pdksh 5.2.14. 6155 for as_var in BASH_ENV ENV MAIL MAILPATH 6156 do eval test x\${$as_var+set} = xset \ 6157 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 12313 6158 done 12314 6159 PS1='$ ' … … 12322 6167 export LANGUAGE 12323 6168 12324 # Required to use basename. 6169 # CDPATH. 6170 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6171 6172 6173 # as_fn_error ERROR [LINENO LOG_FD] 6174 # --------------------------------- 6175 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6176 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6177 # script with status $?, using 1 if that was 0. 6178 as_fn_error () 6179 { 6180 as_status=$?; test $as_status -eq 0 && as_status=1 6181 if test "$3"; then 6182 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6183 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 6184 fi 6185 $as_echo "$as_me: error: $1" >&2 6186 as_fn_exit $as_status 6187 } # as_fn_error 6188 6189 6190 # as_fn_set_status STATUS 6191 # ----------------------- 6192 # Set $? to STATUS, without forking. 6193 as_fn_set_status () 6194 { 6195 return $1 6196 } # as_fn_set_status 6197 6198 # as_fn_exit STATUS 6199 # ----------------- 6200 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6201 as_fn_exit () 6202 { 6203 set +e 6204 as_fn_set_status $1 6205 exit $1 6206 } # as_fn_exit 6207 6208 # as_fn_unset VAR 6209 # --------------- 6210 # Portably unset VAR. 6211 as_fn_unset () 6212 { 6213 { eval $1=; unset $1;} 6214 } 6215 as_unset=as_fn_unset 6216 # as_fn_append VAR VALUE 6217 # ---------------------- 6218 # Append the text in VALUE to the end of the definition contained in VAR. Take 6219 # advantage of any shell optimizations that allow amortized linear growth over 6220 # repeated appends, instead of the typical quadratic growth present in naive 6221 # implementations. 6222 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6223 eval 'as_fn_append () 6224 { 6225 eval $1+=\$2 6226 }' 6227 else 6228 as_fn_append () 6229 { 6230 eval $1=\$$1\$2 6231 } 6232 fi # as_fn_append 6233 6234 # as_fn_arith ARG... 6235 # ------------------ 6236 # Perform arithmetic evaluation on the ARGs, and store the result in the 6237 # global $as_val. Take advantage of shells that can avoid forks. The arguments 6238 # must be portable across $(()) and expr. 6239 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6240 eval 'as_fn_arith () 6241 { 6242 as_val=$(( $* )) 6243 }' 6244 else 6245 as_fn_arith () 6246 { 6247 as_val=`expr "$@" || test $? -eq 1` 6248 } 6249 fi # as_fn_arith 6250 6251 12325 6252 if expr a : '\(a\)' >/dev/null 2>&1 && 12326 6253 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 12336 6263 fi 12337 6264 12338 12339 # Name of the executable. 6265 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6266 as_dirname=dirname 6267 else 6268 as_dirname=false 6269 fi 6270 12340 6271 as_me=`$as_basename -- "$0" || 12341 6272 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ … … 12357 6288 s/.*/./; q'` 12358 6289 12359 # CDPATH. 12360 $as_unset CDPATH 12361 12362 12363 12364 as_lineno_1=$LINENO 12365 as_lineno_2=$LINENO 12366 test "x$as_lineno_1" != "x$as_lineno_2" && 12367 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 12368 12369 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 12370 # uniformly replaced by the line number. The first 'sed' inserts a 12371 # line-number line after each line using $LINENO; the second 'sed' 12372 # does the real work. The second script uses 'N' to pair each 12373 # line-number line with the line containing $LINENO, and appends 12374 # trailing '-' during substitution so that $LINENO is not a special 12375 # case at line end. 12376 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 12377 # scripts with optimization help from Paolo Bonzini. Blame Lee 12378 # E. McMahon (1931-1989) for sed's syntax. :-) 12379 sed -n ' 12380 p 12381 /[$]LINENO/= 12382 ' <$as_myself | 12383 sed ' 12384 s/[$]LINENO.*/&-/ 12385 t lineno 12386 b 12387 :lineno 12388 N 12389 :loop 12390 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 12391 t loop 12392 s/-\n.*// 12393 ' >$as_me.lineno && 12394 chmod +x "$as_me.lineno" || 12395 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 12396 { (exit 1); exit 1; }; } 12397 12398 # Don't try to exec as it changes $[0], causing all sort of problems 12399 # (the dirname of $[0] is not the place where we might find the 12400 # original and so on. Autoconf is especially sensitive to this). 12401 . "./$as_me.lineno" 12402 # Exit status is that of the last command. 12403 exit 12404 } 12405 12406 12407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 12408 as_dirname=dirname 12409 else 12410 as_dirname=false 12411 fi 6290 # Avoid depending upon Character Ranges. 6291 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6292 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6293 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6294 as_cr_digits='0123456789' 6295 as_cr_alnum=$as_cr_Letters$as_cr_digits 12412 6296 12413 6297 ECHO_C= ECHO_N= ECHO_T= 12414 case `echo -n x` in 6298 case `echo -n x` in #((((( 12415 6299 -n*) 12416 case `echo 'x \c'` in6300 case `echo 'xy\c'` in 12417 6301 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 12418 *) ECHO_C='\c';; 6302 xy) ECHO_C='\c';; 6303 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 6304 ECHO_T=' ';; 12419 6305 esac;; 12420 6306 *) 12421 6307 ECHO_N='-n';; 12422 6308 esac 12423 if expr a : '\(a\)' >/dev/null 2>&1 &&12424 test "X`expr 00001 : '.*\(...\)'`" = X001; then12425 as_expr=expr12426 else12427 as_expr=false12428 fi12429 6309 12430 6310 rm -f conf$$ conf$$.exe conf$$.file … … 12455 6335 rmdir conf$$.dir 2>/dev/null 12456 6336 6337 6338 # as_fn_mkdir_p 6339 # ------------- 6340 # Create "$as_dir" as a directory, including parents if necessary. 6341 as_fn_mkdir_p () 6342 { 6343 6344 case $as_dir in #( 6345 -*) as_dir=./$as_dir;; 6346 esac 6347 test -d "$as_dir" || eval $as_mkdir_p || { 6348 as_dirs= 6349 while :; do 6350 case $as_dir in #( 6351 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6352 *) as_qdir=$as_dir;; 6353 esac 6354 as_dirs="'$as_qdir' $as_dirs" 6355 as_dir=`$as_dirname -- "$as_dir" || 6356 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6357 X"$as_dir" : 'X\(//\)[^/]' \| \ 6358 X"$as_dir" : 'X\(//\)$' \| \ 6359 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6360 $as_echo X"$as_dir" | 6361 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6362 s//\1/ 6363 q 6364 } 6365 /^X\(\/\/\)[^/].*/{ 6366 s//\1/ 6367 q 6368 } 6369 /^X\(\/\/\)$/{ 6370 s//\1/ 6371 q 6372 } 6373 /^X\(\/\).*/{ 6374 s//\1/ 6375 q 6376 } 6377 s/.*/./; q'` 6378 test -d "$as_dir" && break 6379 done 6380 test -z "$as_dirs" || eval "mkdir $as_dirs" 6381 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 6382 6383 6384 } # as_fn_mkdir_p 12457 6385 if mkdir -p . 2>/dev/null; then 12458 as_mkdir_p= :6386 as_mkdir_p='mkdir -p "$as_dir"' 12459 6387 else 12460 6388 test -d ./-p && rmdir ./-p … … 12475 6403 test -d "$1/."; 12476 6404 else 12477 case $1 in 6405 case $1 in #( 12478 6406 -*)set "./$1";; 12479 6407 esac; 12480 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 6408 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 12481 6409 ???[sx]*):;;*)false;;esac;fi 12482 6410 '\'' sh … … 12493 6421 12494 6422 exec 6>&1 12495 12496 # Save the log message, to keep $[0] and so on meaningful, and to 6423 ## ----------------------------------- ## 6424 ## Main body of $CONFIG_STATUS script. ## 6425 ## ----------------------------------- ## 6426 _ASEOF 6427 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 6428 6429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6430 # Save the log message, to keep $0 and so on meaningful, and to 12497 6431 # report actual input values of CONFIG_FILES etc. instead of their 12498 6432 # values after options handling. 12499 6433 ac_log=" 12500 6434 This file was extended by pjproject $as_me 1.0, which was 12501 generated by GNU Autoconf 2.6 2. Invocation command line was6435 generated by GNU Autoconf 2.64. Invocation command line was 12502 6436 12503 6437 CONFIG_FILES = $CONFIG_FILES … … 12512 6446 _ACEOF 12513 6447 6448 case $ac_config_files in *" 6449 "*) set x $ac_config_files; shift; ac_config_files=$*;; 6450 esac 6451 6452 case $ac_config_headers in *" 6453 "*) set x $ac_config_headers; shift; ac_config_headers=$*;; 6454 esac 6455 6456 12514 6457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 12515 6458 # Files that config.status was made for. … … 12521 6464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12522 6465 ac_cs_usage="\ 12523 \`$as_me' instantiates files from templates according to the 12524 current configuration. 12525 12526 Usage: $0 [OPTIONS] [FILE]... 6466 \`$as_me' instantiates files and other configuration actions 6467 from templates according to the current configuration. Unless the files 6468 and actions are specified as TAGs, all are instantiated by default. 6469 6470 Usage: $0 [OPTION]... [TAG]... 12527 6471 12528 6472 -h, --help print this help, then exit 12529 6473 -V, --version print version number and configuration settings, then exit 12530 -q, --quiet do not print progress messages 6474 -q, --quiet, --silent 6475 do not print progress messages 12531 6476 -d, --debug don't remove temporary files 12532 6477 --recheck update $as_me by reconfiguring in the same conditions 12533 --file=FILE[:TEMPLATE]6478 --file=FILE[:TEMPLATE] 12534 6479 instantiate the configuration file FILE 12535 --header=FILE[:TEMPLATE]6480 --header=FILE[:TEMPLATE] 12536 6481 instantiate the configuration header FILE 12537 6482 … … 12542 6487 $config_headers 12543 6488 12544 Report bugs to <bug-autoconf@gnu.org>."6489 Report bugs to the package provider." 12545 6490 12546 6491 _ACEOF … … 12548 6493 ac_cs_version="\\ 12549 6494 pjproject config.status 1.0 12550 configured by $0, generated by GNU Autoconf 2.6 2,6495 configured by $0, generated by GNU Autoconf 2.64, 12551 6496 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 12552 6497 12553 Copyright (C) 200 8Free Software Foundation, Inc.6498 Copyright (C) 2009 Free Software Foundation, Inc. 12554 6499 This config.status script is free software; the Free Software Foundation 12555 6500 gives unlimited permission to copy, distribute and modify it." … … 12591 6536 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12592 6537 esac 12593 CONFIG_FILES="$CONFIG_FILES'$ac_optarg'"6538 as_fn_append CONFIG_FILES " '$ac_optarg'" 12594 6539 ac_need_defaults=false;; 12595 6540 --header | --heade | --head | --hea ) … … 12598 6543 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 12599 6544 esac 12600 CONFIG_HEADERS="$CONFIG_HEADERS'$ac_optarg'"6545 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 12601 6546 ac_need_defaults=false;; 12602 6547 --he | --h) 12603 6548 # Conflict between --help and --header 12604 { $as_echo "$as_me: error: ambiguous option: $1 12605 Try \`$0 --help' for more information." >&2 12606 { (exit 1); exit 1; }; };; 6549 as_fn_error "ambiguous option: \`$1' 6550 Try \`$0 --help' for more information.";; 12607 6551 --help | --hel | -h ) 12608 6552 $as_echo "$ac_cs_usage"; exit ;; … … 12612 6556 12613 6557 # This is an error. 12614 -*) { $as_echo "$as_me: error: unrecognized option: $1 12615 Try \`$0 --help' for more information." >&2 12616 { (exit 1); exit 1; }; } ;; 12617 12618 *) ac_config_targets="$ac_config_targets $1" 6558 -*) as_fn_error "unrecognized option: \`$1' 6559 Try \`$0 --help' for more information." ;; 6560 6561 *) as_fn_append ac_config_targets " $1" 12619 6562 ac_need_defaults=false ;; 12620 6563 … … 12676 6619 "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 12677 6620 12678 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 12679 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12680 { (exit 1); exit 1; }; };; 6621 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 12681 6622 esac 12682 6623 done … … 12704 6645 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 12705 6646 ' 0 12706 trap ' { (exit 1); exit 1; }' 1 2 13 156647 trap 'as_fn_exit 1' 1 2 13 15 12707 6648 } 12708 6649 # Create a (secure) tmp directory for tmp files. … … 12715 6656 tmp=./conf$$-$RANDOM 12716 6657 (umask 077 && mkdir "$tmp") 12717 } || 12718 { 12719 $as_echo "$as_me: cannot create a temporary directory in ." >&2 12720 { (exit 1); exit 1; } 12721 } 6658 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 12722 6659 12723 6660 # Set up the scripts for CONFIG_FILES section. … … 12727 6664 12728 6665 12729 ac_cr=' 12730 ' 6666 ac_cr=`echo X | tr X '\015'` 6667 # On cygwin, bash can eat \r inside `` if the user requested igncr. 6668 # But we know of no other shell where ac_cr would be empty at this 6669 # point, so we can use a bashism as a fallback. 6670 if test "x$ac_cr" = x; then 6671 eval ac_cr=\$\'\\r\' 6672 fi 12731 6673 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 12732 6674 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 12733 ac_cs_awk_cr='\ \r'6675 ac_cs_awk_cr='\r' 12734 6676 else 12735 6677 ac_cs_awk_cr=$ac_cr … … 12745 6687 echo "_ACEOF" 12746 6688 } >conf$$subs.sh || 12747 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 12748 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 12749 { (exit 1); exit 1; }; } 6689 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 12750 6690 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 12751 6691 ac_delim='%!_!# ' 12752 6692 for ac_last_try in false false false false false :; do 12753 6693 . ./conf$$subs.sh || 12754 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 12755 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 12756 { (exit 1); exit 1; }; } 12757 12758 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then 6694 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 6695 6696 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 6697 if test $ac_delim_n = $ac_delim_num; then 12759 6698 break 12760 6699 elif $ac_last_try; then 12761 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 12762 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 12763 { (exit 1); exit 1; }; } 6700 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 12764 6701 else 12765 6702 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 12850 6787 cat 12851 6788 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 12852 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 12853 $as_echo "$as_me: error: could not setup config files machinery" >&2;} 12854 { (exit 1); exit 1; }; } 6789 || as_fn_error "could not setup config files machinery" "$LINENO" 5 12855 6790 _ACEOF 12856 6791 … … 12893 6828 break 12894 6829 elif $ac_last_try; then 12895 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 12896 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} 12897 { (exit 1); exit 1; }; } 6830 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 12898 6831 else 12899 6832 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " … … 12961 6894 split(mac1, mac2, "(") #) 12962 6895 macro = mac2[1] 6896 prefix = substr(line, 1, index(line, defundef) - 1) 12963 6897 if (D_is_set[macro]) { 12964 6898 # Preserve the white space surrounding the "#". 12965 prefix = substr(line, 1, index(line, defundef) - 1)12966 6899 print prefix "define", macro P[macro] D[macro] 12967 6900 next … … 12971 6904 # on some systems where configure will not decide to define it. 12972 6905 if (defundef == "undef") { 12973 print "/*", line, "*/"6906 print "/*", prefix defundef, macro, "*/" 12974 6907 next 12975 6908 } … … 12980 6913 _ACEOF 12981 6914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 12982 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 12983 $as_echo "$as_me: error: could not setup config headers machinery" >&2;} 12984 { (exit 1); exit 1; }; } 6915 as_fn_error "could not setup config headers machinery" "$LINENO" 5 12985 6916 fi # test -n "$CONFIG_HEADERS" 12986 6917 … … 12995 6926 case $ac_mode$ac_tag in 12996 6927 :[FHL]*:*);; 12997 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 12998 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;} 12999 { (exit 1); exit 1; }; };; 6928 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 13000 6929 :[FH]-) ac_tag=-:-;; 13001 6930 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; … … 13025 6954 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 13026 6955 esac || 13027 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 13028 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} 13029 { (exit 1); exit 1; }; };; 6956 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 13030 6957 esac 13031 6958 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 13032 a c_file_inputs="$ac_file_inputs'$ac_f'"6959 as_fn_append ac_file_inputs " '$ac_f'" 13033 6960 done 13034 6961 … … 13041 6968 if test x"$ac_file" != x-; then 13042 6969 configure_input="$ac_file. $configure_input" 13043 { $as_echo "$as_me:$ LINENO: creating $ac_file" >&56970 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 13044 6971 $as_echo "$as_me: creating $ac_file" >&6;} 13045 6972 fi … … 13054 6981 case $ac_tag in 13055 6982 *:-:* | *:-) cat >"$tmp/stdin" \ 13056 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13057 $as_echo "$as_me: error: could not create $ac_file" >&2;} 13058 { (exit 1); exit 1; }; } ;; 6983 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 13059 6984 esac 13060 6985 ;; … … 13084 7009 } 13085 7010 s/.*/./; q'` 13086 { as_dir="$ac_dir" 13087 case $as_dir in #( 13088 -*) as_dir=./$as_dir;; 13089 esac 13090 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 13091 as_dirs= 13092 while :; do 13093 case $as_dir in #( 13094 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 13095 *) as_qdir=$as_dir;; 13096 esac 13097 as_dirs="'$as_qdir' $as_dirs" 13098 as_dir=`$as_dirname -- "$as_dir" || 13099 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 13100 X"$as_dir" : 'X\(//\)[^/]' \| \ 13101 X"$as_dir" : 'X\(//\)$' \| \ 13102 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 13103 $as_echo X"$as_dir" | 13104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 13105 s//\1/ 13106 q 13107 } 13108 /^X\(\/\/\)[^/].*/{ 13109 s//\1/ 13110 q 13111 } 13112 /^X\(\/\/\)$/{ 13113 s//\1/ 13114 q 13115 } 13116 /^X\(\/\).*/{ 13117 s//\1/ 13118 q 13119 } 13120 s/.*/./; q'` 13121 test -d "$as_dir" && break 13122 done 13123 test -z "$as_dirs" || eval "mkdir $as_dirs" 13124 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 13125 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} 13126 { (exit 1); exit 1; }; }; } 7011 as_dir="$ac_dir"; as_fn_mkdir_p 13127 7012 ac_builddir=. 13128 7013 … … 13172 7057 # FIXME: This hack should be removed a few years after 2.60. 13173 7058 ac_datarootdir_hack=; ac_datarootdir_seen= 13174 13175 7059 ac_sed_dataroot=' 13176 7060 /datarootdir/ { … … 13182 7066 /@infodir@/p 13183 7067 /@localedir@/p 13184 /@mandir@/p 13185 ' 7068 /@mandir@/p' 13186 7069 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 13187 7070 *datarootdir*) ac_datarootdir_seen=yes;; 13188 7071 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 13189 { $as_echo "$as_me:$ LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&57072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 13190 7073 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 13191 7074 _ACEOF … … 13197 7080 s&@localedir@&$localedir&g 13198 7081 s&@mandir@&$mandir&g 13199 7082 s&\\\${datarootdir}&$datarootdir&g' ;; 13200 7083 esac 13201 7084 _ACEOF … … 13224 7107 " 13225 7108 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 13226 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13227 $as_echo "$as_me: error: could not create $ac_file" >&2;} 13228 { (exit 1); exit 1; }; } 7109 || as_fn_error "could not create $ac_file" "$LINENO" 5 13229 7110 13230 7111 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 13231 7112 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 13232 7113 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 13233 { $as_echo "$as_me:$ LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'7114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 13234 7115 which seems to be undefined. Please make sure it is defined." >&5 13235 7116 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' … … 13241 7122 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 13242 7123 esac \ 13243 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13244 $as_echo "$as_me: error: could not create $ac_file" >&2;} 13245 { (exit 1); exit 1; }; } 7124 || as_fn_error "could not create $ac_file" "$LINENO" 5 13246 7125 ;; 13247 7126 :H) … … 13254 7133 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 13255 7134 } >"$tmp/config.h" \ 13256 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13257 $as_echo "$as_me: error: could not create $ac_file" >&2;} 13258 { (exit 1); exit 1; }; } 7135 || as_fn_error "could not create $ac_file" "$LINENO" 5 13259 7136 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 13260 { $as_echo "$as_me:$ LINENO: $ac_file is unchanged" >&57137 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 13261 7138 $as_echo "$as_me: $ac_file is unchanged" >&6;} 13262 7139 else 13263 7140 rm -f "$ac_file" 13264 7141 mv "$tmp/config.h" "$ac_file" \ 13265 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 13266 $as_echo "$as_me: error: could not create $ac_file" >&2;} 13267 { (exit 1); exit 1; }; } 7142 || as_fn_error "could not create $ac_file" "$LINENO" 5 13268 7143 fi 13269 7144 else 13270 7145 $as_echo "/* $configure_input */" \ 13271 7146 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 13272 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 13273 $as_echo "$as_me: error: could not create -" >&2;} 13274 { (exit 1); exit 1; }; } 7147 || as_fn_error "could not create -" "$LINENO" 5 13275 7148 fi 13276 7149 ;; … … 13282 7155 13283 7156 13284 { (exit 0); exit 0; } 13285 _ACEOF 13286 chmod +x $CONFIG_STATUS 7157 as_fn_exit 0 7158 _ACEOF 13287 7159 ac_clean_files=$ac_clean_files_save 13288 7160 13289 7161 test $ac_write_fail = 0 || 13290 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 13291 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} 13292 { (exit 1); exit 1; }; } 7162 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 13293 7163 13294 7164 … … 13311 7181 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 13312 7182 # would make configure fail if this is the last instruction. 13313 $ac_cs_success || { (exit 1); exit 1; }7183 $ac_cs_success || as_fn_exit $? 13314 7184 fi 13315 7185 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 13316 { $as_echo "$as_me:$ LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&513317 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}13318 fi 13319 13320 13321 13322 { $as_echo "$as_me:$ LINENO: result:7186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7187 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7188 fi 7189 7190 7191 7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 13323 7193 13324 7194 Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h. -
pjproject/trunk/aconfigure.ac
r3057 r3058 389 389 ) 390 390 391 dnl # PortAudio path. If ac_pa_path is not empty, we're using PortAudio 392 dnl # in external location (not under third_party) 393 AC_SUBST(ac_pa_path) 394 AC_ARG_WITH(pa-path, 395 AC_HELP_STRING([--with-pa-path=DIR], 396 [Specify PortAudio alternate location (e.g. /usr). When this option is set, we will not use our copy of PortAudio in third_party directory.]), 397 [ 398 if test "x$with_pa_path" != "xno"; then 399 ac_pa_path=$with_pa_path 400 # Remove trailing backslash 401 ac_pa_path=`echo $ac_pa_path | sed 's/\/$//'` 402 # Test the path 403 #if test ! -f $ac_pa_path/include/portaudio.h; then 404 # AC_MSG_ERROR([Wrong --with-pa-path value, $ac_pa_path/include/portaudio.h does not exist]) 405 #fi 406 #if test ! -d $ac_pa_path/lib; then 407 # AC_MSG_ERROR([Wrong --with-pa-path value, $ac_pa_path/lib does not exist]) 408 #fi 409 AC_MSG_RESULT([** Using PortAudio in $ac_pa_path **]) 410 fi 411 ] 412 ) 413 414 391 415 AC_SUBST(ac_pa_cflags) 392 416 AC_CHECK_HEADER(sys/soundcard.h, -
pjproject/trunk/build.mak.in
r2601 r3058 34 34 endif 35 35 36 ifneq (x@ac_pa_path@,x) 37 # We're using external PortAudio 38 APP_THIRD_PARTY_LIBS += -L@ac_pa_path@/lib -lportaudio 39 APP_THIRD_PARTY_LIB_FILES += 40 else 36 41 ifneq ($(findstring pa,@ac_pjmedia_snd@),) 37 42 APP_THIRD_PARTY_LIBS += -lportaudio-$(TARGET_NAME) 38 43 APP_THIRD_PARTY_LIB_FILES += $(PJ_DIR)/third_party/lib/libportaudio-$(LIB_SUFFIX) 44 endif 39 45 endif 40 46 -
pjproject/trunk/pjmedia/build/Makefile
r3004 r3058 2 2 3 3 THIRD_PARTY:=$(PJDIR)/third_party 4 PA_DIR := $(THIRD_PARTY)/build/portaudio/src5 4 6 5 SRTP_INC=$(CC_INC)$(THIRD_PARTY)/build/srtp \ -
pjproject/trunk/pjmedia/build/os-auto.mak.in
r2740 r3058 87 87 # 88 88 ifneq ($(findstring pa,$(AC_PJMEDIA_SND)),) 89 ifeq (x@ac_pa_path@,x) 90 # Our PA in third_party 89 91 export CFLAGS += -I$(THIRD_PARTY)/build/portaudio -I$(THIRD_PARTY)/portaudio/include -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=1 92 else 93 # External PA 94 export CFLAGS += -I@ac_pa_path@/include -DPJMEDIA_AUDIO_DEV_HAS_PORTAUDIO=1 95 endif 90 96 endif 91 97 -
pjproject/trunk/pjmedia/src/pjmedia-audiodev/pa_dev.c
r2740 r3058 31 31 #define DRIVER_NAME "PA" 32 32 33 /* Enable call to PaUtil_SetDebugPrintFunction, but this is not always 34 * available across all PortAudio versions (?) 35 */ 36 /*#define USE_PA_DEBUG_PRINT */ 37 33 38 struct pa_aud_factory 34 39 { … … 405 410 } 406 411 412 #ifdef USE_PA_DEBUG_PRINT 407 413 /* Logging callback from PA */ 408 414 static void pa_log_cb(const char *log) … … 416 422 typedef void (*PaUtilLogCallback ) (const char *log); 417 423 void PaUtil_SetDebugPrintFunction(PaUtilLogCallback cb); 424 #endif 418 425 419 426 … … 443 450 PJ_UNUSED_ARG(f); 444 451 452 #ifdef USE_PA_DEBUG_PRINT 445 453 PaUtil_SetDebugPrintFunction(&pa_log_cb); 454 #endif 446 455 447 456 err = Pa_Initialize(); -
pjproject/trunk/third_party/build/os-auto.mak.in
r2601 r3058 16 16 endif 17 17 18 ifeq (x@ac_pa_path@,x) 19 # Only if we're using our own PA in third_party 18 20 ifneq ($(findstring pa,@ac_pjmedia_snd@),) 19 21 DIRS += portaudio 20 22 endif 23 endif 21 24
Note: See TracChangeset
for help on using the changeset viewer.