Changeset 2295 for pjproject/trunk
- Timestamp:
- Sep 18, 2008 9:22:16 PM (16 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r2232 r2295 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 61for pjproject 1.0.3 # Generated by GNU Autoconf 2.59 for pjproject 1.0. 4 4 # 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 5 # Copyright (C) 2003 Free Software Foundation, Inc. 7 6 # This configure script is free software; the Free Software Foundation 8 7 # gives unlimited permission to copy, distribute and modify it. … … 11 10 ## --------------------- ## 12 11 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 12 # Be Bourne compatible 15 13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 14 emulate sh … … 19 17 # is contrary to our usage. Disable this feature. 20 18 alias -g '${1+"$@"}'='"$@"' 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 33 79 # Avoid depending upon Character Ranges. 34 80 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 51 97 fi 52 98 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 58 fi 59 60 61 # IFS 62 # We need space, tab and new line, in precisely that order. Quoting is 63 # there to prevent editors from complaining about space-tab. 64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 # splitting by setting IFS to empty value.) 66 as_nl=' 67 ' 68 IFS=" "" $as_nl" 69 70 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 72 *[\\/]* ) as_myself=$0 ;; 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74 110 for as_dir in $PATH 75 111 do … … 78 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 79 115 done 80 IFS=$as_save_IFS 81 82 ;; 83 esac 84 # We did not find ourselves, most probably we were run as `sh COMMAND' 85 # in which case we are not to be found in the path. 86 if test "x$as_myself" = x; then 87 as_myself=$0 88 fi 89 if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 97 done 98 PS1='$ ' 99 PS2='> ' 100 PS4='+ ' 101 102 # NLS nuisances. 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 107 do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 110 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 112 123 fi 113 done 114 115 # Required to use basename. 116 if expr a : '\(a\)' >/dev/null 2>&1 && 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 118 as_expr=expr 119 else 120 as_expr=false 121 fi 122 123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 124 as_basename=basename 125 else 126 as_basename=false 127 fi 128 129 130 # Name of the executable. 131 as_me=`$as_basename -- "$0" || 132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 X"$0" : 'X\(//\)$' \| \ 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" | 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\/\)$/{ 141 s//\1/ 142 q 143 } 144 /^X\/\(\/\).*/{ 145 s//\1/ 146 q 147 } 148 s/.*/./; q'` 149 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 221 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 224 133 IFS=$as_save_IFS 225 134 test -z "$as_dir" && as_dir=. 226 case $as_dir in 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 227 137 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 138 if ("$as_dir/$as_base" -c ' 328 139 as_lineno_1=$LINENO 329 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 330 142 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 427 155 428 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 157 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 435 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 438 sed -n ' 439 p 440 /[$]LINENO/= 441 ' <$as_myself | 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 442 165 sed ' 443 s/[$]LINENO.*/&-/444 t lineno445 b446 :lineno447 166 N 448 :loop 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 450 170 t loop 451 s/-\n.*// 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 452 173 ' >$as_me.lineno && 453 chmod +x "$as_me.lineno"||174 chmod +x $as_me.lineno || 454 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 176 { (exit 1); exit 1; }; } … … 457 178 # Don't try to exec as it changes $[0], causing all sort of problems 458 179 # (the dirname of $[0] is not the place where we might find the 459 # original and so on. Autoconf is especially sensi tive to this).460 . "./$as_me.lineno"180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 461 182 # Exit status is that of the last command. 462 183 exit … … 464 185 465 186 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468 else 469 as_dirname=false 470 fi 471 472 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 474 -n*) 475 case `echo 'x\c'` in 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 478 esac;; 479 *) 480 ECHO_N='-n';; 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 481 192 esac 482 193 483 if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 194 if expr a : '\(a\)' >/dev/null 2>&1; then 485 195 as_expr=expr 486 196 else … … 489 199 490 200 rm -f conf$$ conf$$.exe conf$$.file 491 if test -d conf$$.dir; then492 rm -f conf$$.dir/conf$$.file493 else494 rm -f conf$$.dir495 mkdir conf$$.dir496 fi497 201 echo >conf$$.file 498 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 505 207 as_ln_s='cp -p' 208 else 209 as_ln_s='ln -s' 210 fi 506 211 elif ln conf$$.file conf$$ 2>/dev/null; then 507 212 as_ln_s=ln … … 509 214 as_ln_s='cp -p' 510 215 fi 511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512 rmdir conf$$.dir 2>/dev/null 216 rm -f conf$$ conf$$.exe conf$$.file 513 217 514 218 if mkdir -p . 2>/dev/null; then … … 519 223 fi 520 224 521 if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523 else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 -*)set "./$1";; 536 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538 ???[sx]*):;;*)false;;esac;fi 539 '\'' sh 540 ' 541 fi 542 as_executable_p=$as_test_x 225 as_executable_p="test -f" 543 226 544 227 # Sed expression to map a string onto a valid CPP name. … … 549 232 550 233 551 552 exec 7<&0 </dev/null 6>&1 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 553 243 554 244 # Name of the host. … … 557 247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 558 248 249 exec 6>&1 250 559 251 # 560 252 # Initializations. 561 253 # 562 254 ac_default_prefix=/usr/local 563 ac_clean_files=564 255 ac_config_libobj_dir=. 565 LIBOBJS=566 256 cross_compiling=no 567 257 subdirs= … … 569 259 MAKEFLAGS= 570 260 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document. 263 # This variable seems obsolete. It should probably be removed, and 264 # only ac_max_sed_lines should be used. 265 : ${ac_max_here_lines=38} 571 266 572 267 # Identity of this package. … … 580 275 ac_includes_default="\ 581 276 #include <stdio.h> 582 #if defHAVE_SYS_TYPES_H277 #if HAVE_SYS_TYPES_H 583 278 # include <sys/types.h> 584 279 #endif 585 #if defHAVE_SYS_STAT_H280 #if HAVE_SYS_STAT_H 586 281 # include <sys/stat.h> 587 282 #endif 588 #if defSTDC_HEADERS283 #if STDC_HEADERS 589 284 # include <stdlib.h> 590 285 # include <stddef.h> 591 286 #else 592 # if defHAVE_STDLIB_H287 # if HAVE_STDLIB_H 593 288 # include <stdlib.h> 594 289 # endif 595 290 #endif 596 #if defHAVE_STRING_H597 # if ! defined STDC_HEADERS && definedHAVE_MEMORY_H291 #if HAVE_STRING_H 292 # if !STDC_HEADERS && HAVE_MEMORY_H 598 293 # include <memory.h> 599 294 # endif 600 295 # include <string.h> 601 296 #endif 602 #if defHAVE_STRINGS_H297 #if HAVE_STRINGS_H 603 298 # include <strings.h> 604 299 #endif 605 #if defHAVE_INTTYPES_H300 #if HAVE_INTTYPES_H 606 301 # include <inttypes.h> 302 #else 303 # if HAVE_STDINT_H 304 # include <stdint.h> 305 # endif 607 306 #endif 608 #ifdef HAVE_STDINT_H 609 # include <stdint.h> 610 #endif 611 #ifdef HAVE_UNISTD_H 307 #if HAVE_UNISTD_H 612 308 # include <unistd.h> 613 309 #endif" 614 310 615 ac_subst_vars='SHELL 616 PATH_SEPARATOR 617 PACKAGE_NAME 618 PACKAGE_TARNAME 619 PACKAGE_VERSION 620 PACKAGE_STRING 621 PACKAGE_BUGREPORT 622 exec_prefix 623 prefix 624 program_transform_name 625 bindir 626 sbindir 627 libexecdir 628 datarootdir 629 datadir 630 sysconfdir 631 sharedstatedir 632 localstatedir 633 includedir 634 oldincludedir 635 docdir 636 infodir 637 htmldir 638 dvidir 639 pdfdir 640 psdir 641 libdir 642 localedir 643 mandir 644 DEFS 645 ECHO_C 646 ECHO_N 647 ECHO_T 648 LIBS 649 build_alias 650 host_alias 651 target_alias 652 build 653 build_cpu 654 build_vendor 655 build_os 656 host 657 host_cpu 658 host_vendor 659 host_os 660 target 661 target_cpu 662 target_vendor 663 target_os 664 CC 665 CFLAGS 666 LDFLAGS 667 CPPFLAGS 668 ac_ct_CC 669 EXEEXT 670 OBJEXT 671 CXX 672 CXXFLAGS 673 ac_ct_CXX 674 ac_pjdir 675 ac_build_mak_vars 676 CPP 677 GREP 678 EGREP 679 ac_os_objs 680 ac_pjmedia_snd 681 ac_pa_cflags 682 ac_pa_use_alsa 683 ac_pa_use_oss 684 ac_no_small_filter 685 ac_no_large_filter 686 ac_no_speex_aec 687 ac_no_g711_codec 688 ac_no_l16_codec 689 ac_no_gsm_codec 690 ac_no_g722_codec 691 ac_no_speex_codec 692 ac_no_ilbc_codec 693 ac_no_ssl 694 openssl_h_present 695 libssl_present 696 libcrypto_present 697 ac_cross_compile 698 ac_linux_poll 699 ac_host 700 ac_main_obj 701 LIBOBJS 702 LTLIBOBJS' 311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX ac_pjdir ac_build_mak_vars CPP EGREP ac_os_objs ac_pjmedia_snd ac_pa_cflags ac_pa_use_alsa ac_pa_use_oss ac_no_small_filter ac_no_large_filter ac_no_speex_aec ac_no_g711_codec ac_no_l16_codec ac_no_gsm_codec ac_no_g722_codec ac_no_speex_codec ac_no_ilbc_codec ac_no_ssl openssl_h_present libssl_present libcrypto_present ac_cross_compile ac_linux_poll ac_host ac_main_obj LIBOBJS LTLIBOBJS' 703 312 ac_subst_files='' 704 ac_precious_vars='build_alias705 host_alias706 target_alias707 CC708 CFLAGS709 LDFLAGS710 LIBS711 CPPFLAGS712 CXX713 CXXFLAGS714 CCC715 CPP'716 717 313 718 314 # Initialize some variables set by options. … … 741 337 # by default will actually change. 742 338 # Use braces instead of parens because sh, perl, etc. also accept them. 743 # (The list follows the same order as the GNU Coding Standards.)744 339 bindir='${exec_prefix}/bin' 745 340 sbindir='${exec_prefix}/sbin' 746 341 libexecdir='${exec_prefix}/libexec' 747 datarootdir='${prefix}/share' 748 datadir='${datarootdir}' 342 datadir='${prefix}/share' 749 343 sysconfdir='${prefix}/etc' 750 344 sharedstatedir='${prefix}/com' 751 345 localstatedir='${prefix}/var' 346 libdir='${exec_prefix}/lib' 752 347 includedir='${prefix}/include' 753 348 oldincludedir='/usr/include' 754 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 755 infodir='${datarootdir}/info' 756 htmldir='${docdir}' 757 dvidir='${docdir}' 758 pdfdir='${docdir}' 759 psdir='${docdir}' 760 libdir='${exec_prefix}/lib' 761 localedir='${datarootdir}/locale' 762 mandir='${datarootdir}/man' 349 infodir='${prefix}/info' 350 mandir='${prefix}/man' 763 351 764 352 ac_prev= 765 ac_dashdash=766 353 for ac_option 767 354 do 768 355 # If the previous option needs an argument, assign it. 769 356 if test -n "$ac_prev"; then 770 eval $ac_prev=\$ac_option357 eval "$ac_prev=\$ac_option" 771 358 ac_prev= 772 359 continue 773 360 fi 774 361 362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 363 364 # Accept the important Cygnus configure options, so we can diagnose typos. 365 775 366 case $ac_option in 776 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;777 *) ac_optarg=yes ;;778 esac779 780 # Accept the important Cygnus configure options, so we can diagnose typos.781 782 case $ac_dashdash$ac_option in783 --)784 ac_dashdash=yes ;;785 367 786 368 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 804 386 cache_file=config.cache ;; 805 387 806 -datadir | --datadir | --datadi | --datad )388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 807 389 ac_prev=datadir ;; 808 -datadir=* | --datadir=* | --datadi=* | --datad=*) 390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 391 | --da=*) 809 392 datadir=$ac_optarg ;; 810 811 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \812 | --dataroo | --dataro | --datar)813 ac_prev=datarootdir ;;814 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \815 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)816 datarootdir=$ac_optarg ;;817 393 818 394 -disable-* | --disable-*) 819 395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 820 396 # Reject names that are not valid shell variable names. 821 expr "x$ac_feature" : ".*[^- ._$as_cr_alnum]" >/dev/null &&397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 822 398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 823 399 { (exit 1); exit 1; }; } 824 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 825 eval enable_$ac_feature=no ;; 826 827 -docdir | --docdir | --docdi | --doc | --do) 828 ac_prev=docdir ;; 829 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 830 docdir=$ac_optarg ;; 831 832 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 833 ac_prev=dvidir ;; 834 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 835 dvidir=$ac_optarg ;; 400 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 401 eval "enable_$ac_feature=no" ;; 836 402 837 403 -enable-* | --enable-*) 838 404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 839 405 # Reject names that are not valid shell variable names. 840 expr "x$ac_feature" : ".*[^- ._$as_cr_alnum]" >/dev/null &&406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 841 407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 842 408 { (exit 1); exit 1; }; } 843 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 844 eval enable_$ac_feature=\$ac_optarg ;; 409 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 410 case $ac_option in 411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 412 *) ac_optarg=yes ;; 413 esac 414 eval "enable_$ac_feature='$ac_optarg'" ;; 845 415 846 416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 869 439 host_alias=$ac_optarg ;; 870 440 871 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)872 ac_prev=htmldir ;;873 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \874 | --ht=*)875 htmldir=$ac_optarg ;;876 877 441 -includedir | --includedir | --includedi | --included | --include \ 878 442 | --includ | --inclu | --incl | --inc) … … 899 463 libexecdir=$ac_optarg ;; 900 464 901 -localedir | --localedir | --localedi | --localed | --locale)902 ac_prev=localedir ;;903 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)904 localedir=$ac_optarg ;;905 906 465 -localstatedir | --localstatedir | --localstatedi | --localstated \ 907 | --localstate | --localstat | --localsta | --localst | --locals) 466 | --localstate | --localstat | --localsta | --localst \ 467 | --locals | --local | --loca | --loc | --lo) 908 468 ac_prev=localstatedir ;; 909 469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 910 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 911 472 localstatedir=$ac_optarg ;; 912 473 … … 973 534 program_transform_name=$ac_optarg ;; 974 535 975 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)976 ac_prev=pdfdir ;;977 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)978 pdfdir=$ac_optarg ;;979 980 -psdir | --psdir | --psdi | --psd | --ps)981 ac_prev=psdir ;;982 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)983 psdir=$ac_optarg ;;984 985 536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 986 537 | -silent | --silent | --silen | --sile | --sil) … … 1035 586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1036 587 # Reject names that are not valid shell variable names. 1037 expr "x$ac_package" : ".*[^- ._$as_cr_alnum]" >/dev/null &&588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1038 589 { echo "$as_me: error: invalid package name: $ac_package" >&2 1039 590 { (exit 1); exit 1; }; } 1040 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1041 eval with_$ac_package=\$ac_optarg ;; 591 ac_package=`echo $ac_package| sed 's/-/_/g'` 592 case $ac_option in 593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 594 *) ac_optarg=yes ;; 595 esac 596 eval "with_$ac_package='$ac_optarg'" ;; 1042 597 1043 598 -without-* | --without-*) 1044 599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1045 600 # Reject names that are not valid shell variable names. 1046 expr "x$ac_package" : ".*[^- ._$as_cr_alnum]" >/dev/null &&601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1047 602 { echo "$as_me: error: invalid package name: $ac_package" >&2 1048 603 { (exit 1); exit 1; }; } 1049 ac_package=`echo $ac_package | sed 's/ [-.]/_/g'`1050 eval with_$ac_package=no;;604 ac_package=`echo $ac_package | sed 's/-/_/g'` 605 eval "with_$ac_package=no" ;; 1051 606 1052 607 --x) … … 1079 634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1080 635 { (exit 1); exit 1; }; } 1081 eval $ac_envvar=\$ac_optarg 636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 637 eval "$ac_envvar='$ac_optarg'" 1082 638 export $ac_envvar ;; 1083 639 … … 1099 655 fi 1100 656 1101 # Be sure to have absolute directory names. 1102 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1103 datadir sysconfdir sharedstatedir localstatedir includedir \ 1104 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1105 libdir localedir mandir 657 # Be sure to have absolute paths. 658 for ac_var in exec_prefix prefix 1106 659 do 1107 eval ac_val= \$$ac_var660 eval ac_val=$`echo $ac_var` 1108 661 case $ac_val in 1109 [\\/$]* | ?:[\\/]* ) continue;; 1110 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 664 { (exit 1); exit 1; }; };; 1111 665 esac 1112 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1113 { (exit 1); exit 1; }; } 666 done 667 668 # Be sure to have absolute paths. 669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 670 localstatedir libdir includedir oldincludedir infodir mandir 671 do 672 eval ac_val=$`echo $ac_var` 673 case $ac_val in 674 [\\/$]* | ?:[\\/]* ) ;; 675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 676 { (exit 1); exit 1; }; };; 677 esac 1114 678 done 1115 679 … … 1138 702 1139 703 1140 ac_pwd=`pwd` && test -n "$ac_pwd" &&1141 ac_ls_di=`ls -di .` &&1142 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||1143 { echo "$as_me: error: Working directory cannot be determined" >&21144 { (exit 1); exit 1; }; }1145 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||1146 { echo "$as_me: error: pwd does not report name of working directory" >&21147 { (exit 1); exit 1; }; }1148 1149 1150 704 # Find the source files, if location was not specified. 1151 705 if test -z "$srcdir"; then 1152 706 ac_srcdir_defaulted=yes 1153 # Try the directory containing this script, then the parent directory.1154 ac_confdir=` $as_dirname -- "$0"||707 # Try the directory containing this script, then its parent. 708 ac_confdir=`(dirname "$0") 2>/dev/null || 1155 709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1156 710 X"$0" : 'X\(//\)[^/]' \| \ 1157 711 X"$0" : 'X\(//\)$' \| \ 1158 X"$0" : 'X\(/\)' \| . 2>/dev/null || 712 X"$0" : 'X\(/\)' \| \ 713 . : '\(.\)' 2>/dev/null || 1159 714 echo X"$0" | 1160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1161 s//\1/ 1162 q 1163 } 1164 /^X\(\/\/\)[^/].*/{ 1165 s//\1/ 1166 q 1167 } 1168 /^X\(\/\/\)$/{ 1169 s//\1/ 1170 q 1171 } 1172 /^X\(\/\).*/{ 1173 s//\1/ 1174 q 1175 } 1176 s/.*/./; q'` 715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 716 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 717 /^X\(\/\/\)$/{ s//\1/; q; } 718 /^X\(\/\).*/{ s//\1/; q; } 719 s/.*/./; q'` 1177 720 srcdir=$ac_confdir 1178 if test ! -r "$srcdir/$ac_unique_file"; then721 if test ! -r $srcdir/$ac_unique_file; then 1179 722 srcdir=.. 1180 723 fi … … 1182 725 ac_srcdir_defaulted=no 1183 726 fi 1184 if test ! -r "$srcdir/$ac_unique_file"; then1185 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."1186 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2727 if test ! -r $srcdir/$ac_unique_file; then 728 if test "$ac_srcdir_defaulted" = yes; then 729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 1187 730 { (exit 1); exit 1; }; } 1188 fi 1189 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1190 ac_abs_confdir=`( 1191 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 731 else 732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1192 733 { (exit 1); exit 1; }; } 1193 pwd)` 1194 # When building in place, set srcdir=. 1195 if test "$ac_abs_confdir" = "$ac_pwd"; then 1196 srcdir=. 1197 fi 1198 # Remove unnecessary trailing slashes from srcdir. 1199 # Double slashes in file names in object file debugging info 1200 # mess up M-x gdb in Emacs. 1201 case $srcdir in 1202 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1203 esac 1204 for ac_var in $ac_precious_vars; do 1205 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1206 eval ac_env_${ac_var}_value=\$${ac_var} 1207 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1208 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1209 done 734 fi 735 fi 736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 738 { (exit 1); exit 1; }; } 739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 740 ac_env_build_alias_set=${build_alias+set} 741 ac_env_build_alias_value=$build_alias 742 ac_cv_env_build_alias_set=${build_alias+set} 743 ac_cv_env_build_alias_value=$build_alias 744 ac_env_host_alias_set=${host_alias+set} 745 ac_env_host_alias_value=$host_alias 746 ac_cv_env_host_alias_set=${host_alias+set} 747 ac_cv_env_host_alias_value=$host_alias 748 ac_env_target_alias_set=${target_alias+set} 749 ac_env_target_alias_value=$target_alias 750 ac_cv_env_target_alias_set=${target_alias+set} 751 ac_cv_env_target_alias_value=$target_alias 752 ac_env_CC_set=${CC+set} 753 ac_env_CC_value=$CC 754 ac_cv_env_CC_set=${CC+set} 755 ac_cv_env_CC_value=$CC 756 ac_env_CFLAGS_set=${CFLAGS+set} 757 ac_env_CFLAGS_value=$CFLAGS 758 ac_cv_env_CFLAGS_set=${CFLAGS+set} 759 ac_cv_env_CFLAGS_value=$CFLAGS 760 ac_env_LDFLAGS_set=${LDFLAGS+set} 761 ac_env_LDFLAGS_value=$LDFLAGS 762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 763 ac_cv_env_LDFLAGS_value=$LDFLAGS 764 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 765 ac_env_CPPFLAGS_value=$CPPFLAGS 766 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 767 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 768 ac_env_CXX_set=${CXX+set} 769 ac_env_CXX_value=$CXX 770 ac_cv_env_CXX_set=${CXX+set} 771 ac_cv_env_CXX_value=$CXX 772 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 773 ac_env_CXXFLAGS_value=$CXXFLAGS 774 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 775 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 776 ac_env_CPP_set=${CPP+set} 777 ac_env_CPP_value=$CPP 778 ac_cv_env_CPP_set=${CPP+set} 779 ac_cv_env_CPP_value=$CPP 1210 780 1211 781 # … … 1236 806 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1237 807 808 _ACEOF 809 810 cat <<_ACEOF 1238 811 Installation directories: 1239 812 --prefix=PREFIX install architecture-independent files in PREFIX … … 1253 826 --sbindir=DIR system admin executables [EPREFIX/sbin] 1254 827 --libexecdir=DIR program executables [EPREFIX/libexec] 828 --datadir=DIR read-only architecture-independent data [PREFIX/share] 1255 829 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1256 830 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 1259 833 --includedir=DIR C header files [PREFIX/include] 1260 834 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1261 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1262 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1263 --infodir=DIR info documentation [DATAROOTDIR/info] 1264 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1265 --mandir=DIR man documentation [DATAROOTDIR/man] 1266 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] 1267 --htmldir=DIR html documentation [DOCDIR] 1268 --dvidir=DIR dvi documentation [DOCDIR] 1269 --pdfdir=DIR pdf documentation [DOCDIR] 1270 --psdir=DIR ps documentation [DOCDIR] 835 --infodir=DIR info documentation [PREFIX/info] 836 --mandir=DIR man documentation [PREFIX/man] 1271 837 _ACEOF 1272 838 … … 1291 857 --disable-floating-point 1292 858 Disable floating point where possible 859 --enable-epoll Use /dev/epoll ioqueue on Linux (beta) 1293 860 --disable-sound Exclude sound (i.e. use null sound) 1294 861 --disable-oss Disable OSS audio (default: not disabled) … … 1320 887 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1321 888 nonstandard directory <lib dir> 1322 LIBS libraries to pass to the linker, e.g. -l<library> 1323 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1324 you have headers in a nonstandard directory <include dir> 889 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 890 headers in a nonstandard directory <include dir> 1325 891 CXX C++ compiler command 1326 892 CXXFLAGS C++ compiler flags … … 1331 897 1332 898 _ACEOF 1333 ac_status=$?1334 899 fi 1335 900 1336 901 if test "$ac_init_help" = "recursive"; then 1337 902 # If there are subdirs, report their specific --help. 903 ac_popdir=`pwd` 1338 904 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1339 test -d "$ac_dir"|| continue905 test -d $ac_dir || continue 1340 906 ac_builddir=. 1341 907 1342 case "$ac_dir" in 1343 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 908 if test "$ac_dir" != .; then 909 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 910 # A "../" for each directory in $ac_dir_suffix. 911 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 912 else 913 ac_dir_suffix= ac_top_builddir= 914 fi 915 916 case $srcdir in 917 .) # No --srcdir option. We are building in place. 918 ac_srcdir=. 919 if test -z "$ac_top_builddir"; then 920 ac_top_srcdir=. 921 else 922 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 923 fi ;; 924 [\\/]* | ?:[\\/]* ) # Absolute path. 925 ac_srcdir=$srcdir$ac_dir_suffix; 926 ac_top_srcdir=$srcdir ;; 927 *) # Relative path. 928 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 929 ac_top_srcdir=$ac_top_builddir$srcdir ;; 930 esac 931 932 # Do not use `cd foo && pwd` to compute absolute paths, because 933 # the directories may not exist. 934 case `pwd` in 935 .) ac_abs_builddir="$ac_dir";; 1344 936 *) 1345 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1346 # A ".." for each directory in $ac_dir_suffix. 1347 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1348 case $ac_top_builddir_sub in 1349 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1350 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1351 esac ;; 937 case "$ac_dir" in 938 .) ac_abs_builddir=`pwd`;; 939 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 940 *) ac_abs_builddir=`pwd`/"$ac_dir";; 941 esac;; 1352 942 esac 1353 ac_abs_top_builddir=$ac_pwd 1354 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1355 # for backward compatibility: 1356 ac_top_builddir=$ac_top_build_prefix 1357 1358 case $srcdir in 1359 .) # We are building in place. 1360 ac_srcdir=. 1361 ac_top_srcdir=$ac_top_builddir_sub 1362 ac_abs_top_srcdir=$ac_pwd ;; 1363 [\\/]* | ?:[\\/]* ) # Absolute name. 1364 ac_srcdir=$srcdir$ac_dir_suffix; 1365 ac_top_srcdir=$srcdir 1366 ac_abs_top_srcdir=$srcdir ;; 1367 *) # Relative name. 1368 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1369 ac_top_srcdir=$ac_top_build_prefix$srcdir 1370 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 943 case $ac_abs_builddir in 944 .) ac_abs_top_builddir=${ac_top_builddir}.;; 945 *) 946 case ${ac_top_builddir}. in 947 .) ac_abs_top_builddir=$ac_abs_builddir;; 948 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 949 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 950 esac;; 1371 951 esac 1372 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1373 1374 cd "$ac_dir" || { ac_status=$?; continue; } 1375 # Check for guested configure. 1376 if test -f "$ac_srcdir/configure.gnu"; then 1377 echo && 1378 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1379 elif test -f "$ac_srcdir/configure"; then 1380 echo && 1381 $SHELL "$ac_srcdir/configure" --help=recursive 952 case $ac_abs_builddir in 953 .) ac_abs_srcdir=$ac_srcdir;; 954 *) 955 case $ac_srcdir in 956 .) ac_abs_srcdir=$ac_abs_builddir;; 957 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 958 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 959 esac;; 960 esac 961 case $ac_abs_builddir in 962 .) ac_abs_top_srcdir=$ac_top_srcdir;; 963 *) 964 case $ac_top_srcdir in 965 .) ac_abs_top_srcdir=$ac_abs_builddir;; 966 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 967 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 968 esac;; 969 esac 970 971 cd $ac_dir 972 # Check for guested configure; otherwise get Cygnus style configure. 973 if test -f $ac_srcdir/configure.gnu; then 974 echo 975 $SHELL $ac_srcdir/configure.gnu --help=recursive 976 elif test -f $ac_srcdir/configure; then 977 echo 978 $SHELL $ac_srcdir/configure --help=recursive 979 elif test -f $ac_srcdir/configure.ac || 980 test -f $ac_srcdir/configure.in; then 981 echo 982 $ac_configure --help 1382 983 else 1383 984 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1384 fi || ac_status=$?1385 cd "$ac_pwd" || { ac_status=$?; break; }985 fi 986 cd $ac_popdir 1386 987 done 1387 988 fi 1388 989 1389 test -n "$ac_init_help" && exit $ac_status990 test -n "$ac_init_help" && exit 0 1390 991 if $ac_init_version; then 1391 992 cat <<\_ACEOF 1392 993 pjproject configure 1.0 1393 generated by GNU Autoconf 2.61 1394 1395 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1396 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 994 generated by GNU Autoconf 2.59 995 996 Copyright (C) 2003 Free Software Foundation, Inc. 1397 997 This configure script is free software; the Free Software Foundation 1398 998 gives unlimited permission to copy, distribute and modify it. 1399 999 _ACEOF 1400 exit 1401 fi 1402 cat >config.log <<_ACEOF 1000 exit 0 1001 fi 1002 exec 5>config.log 1003 cat >&5 <<_ACEOF 1403 1004 This file contains any messages produced by compilers while 1404 1005 running configure, to aid debugging if configure makes a mistake. 1405 1006 1406 1007 It was created by pjproject $as_me 1.0, which was 1407 generated by GNU Autoconf 2. 61. Invocation command line was1008 generated by GNU Autoconf 2.59. Invocation command line was 1408 1009 1409 1010 $ $0 $@ 1410 1011 1411 1012 _ACEOF 1412 exec 5>>config.log1413 1013 { 1414 1014 cat <<_ASUNAME … … 1429 1029 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1430 1030 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1431 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null|| echo unknown`1031 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1432 1032 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1433 1033 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1443 1043 echo "PATH: $as_dir" 1444 1044 done 1445 IFS=$as_save_IFS1446 1045 1447 1046 } >&5 … … 1465 1064 ac_configure_args0= 1466 1065 ac_configure_args1= 1066 ac_sep= 1467 1067 ac_must_keep_next=false 1468 1068 for ac_pass in 1 2 … … 1475 1075 | -silent | --silent | --silen | --sile | --sil) 1476 1076 continue ;; 1477 * \'*)1077 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1478 1078 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1479 1079 esac … … 1497 1097 esac 1498 1098 fi 1499 ac_configure_args="$ac_configure_args '$ac_arg'" 1099 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1100 # Get rid of the leading space. 1101 ac_sep=" " 1500 1102 ;; 1501 1103 esac … … 1508 1110 # config.log. We remove comments because anyway the quotes in there 1509 1111 # would cause problems or look ugly. 1510 # WARNING: Use '\'' to represent an apostrophe within the trap.1511 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.1112 # WARNING: Be sure not to use single quotes in there, as some shells, 1113 # such as our DU 5.0 friend, will then `close' the trap. 1512 1114 trap 'exit_status=$? 1513 1115 # Save into config.log some information that might help in debugging. … … 1522 1124 echo 1523 1125 # The following way of writing the cache mishandles newlines in values, 1524 ( 1525 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1526 eval ac_val=\$$ac_var 1527 case $ac_val in #( 1528 *${as_nl}*) 1529 case $ac_var in #( 1530 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1531 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1532 esac 1533 case $ac_var in #( 1534 _ | IFS | as_nl) ;; #( 1535 *) $as_unset $ac_var ;; 1536 esac ;; 1537 esac 1538 done 1126 { 1539 1127 (set) 2>&1 | 1540 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(1541 * ${as_nl}ac_space=\ *)1128 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1129 *ac_space=\ *) 1542 1130 sed -n \ 1543 "s/' \''/'\''\\\\'\'''\''/g;1544 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=' \''\\2'\''/p"1545 ;; #(1131 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1133 ;; 1546 1134 *) 1547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1135 sed -n \ 1136 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1548 1137 ;; 1549 esac | 1550 sort 1551 ) 1138 esac; 1139 } 1552 1140 echo 1553 1141 … … 1560 1148 for ac_var in $ac_subst_vars 1561 1149 do 1562 eval ac_val=\$$ac_var 1563 case $ac_val in 1564 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1565 esac 1566 echo "$ac_var='\''$ac_val'\''" 1150 eval ac_val=$`echo $ac_var` 1151 echo "$ac_var='"'"'$ac_val'"'"'" 1567 1152 done | sort 1568 1153 echo … … 1570 1155 if test -n "$ac_subst_files"; then 1571 1156 cat <<\_ASBOX 1572 ## ------------- ------##1573 ## File substitutions. ##1574 ## ------------- ------##1157 ## ------------- ## 1158 ## Output files. ## 1159 ## ------------- ## 1575 1160 _ASBOX 1576 1161 echo 1577 1162 for ac_var in $ac_subst_files 1578 1163 do 1579 eval ac_val=\$$ac_var 1580 case $ac_val in 1581 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1582 esac 1583 echo "$ac_var='\''$ac_val'\''" 1164 eval ac_val=$`echo $ac_var` 1165 echo "$ac_var='"'"'$ac_val'"'"'" 1584 1166 done | sort 1585 1167 echo … … 1593 1175 _ASBOX 1594 1176 echo 1595 cat confdefs.h1177 sed "/^$/d" confdefs.h | sort 1596 1178 echo 1597 1179 fi … … 1600 1182 echo "$as_me: exit $exit_status" 1601 1183 } >&5 1602 rm -f core *.core core.conftest.*&&1603 rm -f -rconftest* confdefs* conf$$* $ac_clean_files &&1184 rm -f core *.core && 1185 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1604 1186 exit $exit_status 1605 ' 01187 ' 0 1606 1188 for ac_signal in 1 2 13 15; do 1607 1189 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1610 1192 1611 1193 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1612 rm -f -r conftest* confdefs.h 1194 rm -rf conftest* confdefs.h 1195 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1196 echo >confdefs.h 1613 1197 1614 1198 # Predefined preprocessor variables. … … 1641 1225 # Let the site file select an alternate cache file if it wants to. 1642 1226 # Prefer explicitly selected file to automatically selected ones. 1643 if test -n "$CONFIG_SITE"; then 1644 set x "$CONFIG_SITE" 1645 elif test "x$prefix" != xNONE; then 1646 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1647 else 1648 set x "$ac_default_prefix/share/config.site" \ 1649 "$ac_default_prefix/etc/config.site" 1650 fi 1651 shift 1652 for ac_site_file 1653 do 1227 if test -z "$CONFIG_SITE"; then 1228 if test "x$prefix" != xNONE; then 1229 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1230 else 1231 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1232 fi 1233 fi 1234 for ac_site_file in $CONFIG_SITE; do 1654 1235 if test -r "$ac_site_file"; then 1655 1236 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1667 1248 echo "$as_me: loading cache $cache_file" >&6;} 1668 1249 case $cache_file in 1669 [\\/]* | ?:[\\/]* ) . "$cache_file";;1670 *) . "./$cache_file";;1250 [\\/]* | ?:[\\/]* ) . $cache_file;; 1251 *) . ./$cache_file;; 1671 1252 esac 1672 1253 fi … … 1680 1261 # value. 1681 1262 ac_cache_corrupted=false 1682 for ac_var in $ac_precious_vars; do 1263 for ac_var in `(set) 2>&1 | 1264 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1683 1265 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1684 1266 eval ac_new_set=\$ac_env_${ac_var}_set 1685 eval ac_old_val= \$ac_cv_env_${ac_var}_value1686 eval ac_new_val= \$ac_env_${ac_var}_value1267 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1268 eval ac_new_val="\$ac_env_${ac_var}_value" 1687 1269 case $ac_old_set,$ac_new_set in 1688 1270 set,) … … 1709 1291 if test "$ac_new_set" = set; then 1710 1292 case $ac_new_val in 1711 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1293 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1294 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1712 1295 *) ac_arg=$ac_var=$ac_new_val ;; 1713 1296 esac … … 1726 1309 fi 1727 1310 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1311 ac_ext=c 1753 1312 ac_cpp='$CPP $CPPFLAGS' … … 1758 1317 1759 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1760 1344 host_orig="$host" 1761 1345 1762 1346 ac_aux_dir= 1763 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do1764 if test -f "$ac_dir/install-sh"; then1347 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1348 if test -f $ac_dir/install-sh; then 1765 1349 ac_aux_dir=$ac_dir 1766 1350 ac_install_sh="$ac_aux_dir/install-sh -c" 1767 1351 break 1768 elif test -f "$ac_dir/install.sh"; then1352 elif test -f $ac_dir/install.sh; then 1769 1353 ac_aux_dir=$ac_dir 1770 1354 ac_install_sh="$ac_aux_dir/install.sh -c" 1771 1355 break 1772 elif test -f "$ac_dir/shtool"; then1356 elif test -f $ac_dir/shtool; then 1773 1357 ac_aux_dir=$ac_dir 1774 1358 ac_install_sh="$ac_aux_dir/shtool install -c" … … 1777 1361 done 1778 1362 if test -z "$ac_aux_dir"; then 1779 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&51780 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}1363 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1364 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1781 1365 { (exit 1); exit 1; }; } 1782 1366 fi 1783 1784 # These three variables are undocumented and unsupported, 1785 # and are intended to be withdrawn in a future Autoconf release. 1786 # They can cause serious problems if a builder's source tree is in a directory 1787 # whose full name contains unusual characters. 1788 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1789 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1790 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1791 1367 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1368 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1369 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1792 1370 1793 1371 # Make sure we can run config.sub. 1794 $ SHELL "$ac_aux_dir/config.sub"sun4 >/dev/null 2>&1 ||1795 { { echo "$as_me:$LINENO: error: cannot run $ SHELL $ac_aux_dir/config.sub" >&51796 echo "$as_me: error: cannot run $ SHELL $ac_aux_dir/config.sub" >&2;}1372 $ac_config_sub sun4 >/dev/null 2>&1 || 1373 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1374 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1797 1375 { (exit 1); exit 1; }; } 1798 1376 1799 {echo "$as_me:$LINENO: checking build system type" >&51800 echo $ECHO_N "checking build system type... $ECHO_C" >&6 ; }1377 echo "$as_me:$LINENO: checking build system type" >&5 1378 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1801 1379 if test "${ac_cv_build+set}" = set; then 1802 1380 echo $ECHO_N "(cached) $ECHO_C" >&6 1803 1381 else 1804 ac_ build_alias=$build_alias1805 test "x$ac_build_alias" = x&&1806 ac_ build_alias=`$SHELL "$ac_aux_dir/config.guess"`1807 test "x$ac_build_alias" = x&&1382 ac_cv_build_alias=$build_alias 1383 test -z "$ac_cv_build_alias" && 1384 ac_cv_build_alias=`$ac_config_guess` 1385 test -z "$ac_cv_build_alias" && 1808 1386 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1809 1387 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1810 1388 { (exit 1); exit 1; }; } 1811 ac_cv_build=`$ SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||1812 { { echo "$as_me:$LINENO: error: $ SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&51813 echo "$as_me: error: $ SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}1389 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1390 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1391 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1814 1392 { (exit 1); exit 1; }; } 1815 1393 1816 1394 fi 1817 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1818 echo "${ECHO_T}$ac_cv_build" >&6; } 1819 case $ac_cv_build in 1820 *-*-*) ;; 1821 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1822 echo "$as_me: error: invalid value of canonical build" >&2;} 1823 { (exit 1); exit 1; }; };; 1824 esac 1395 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1396 echo "${ECHO_T}$ac_cv_build" >&6 1825 1397 build=$ac_cv_build 1826 ac_save_IFS=$IFS; IFS='-' 1827 set x $ac_cv_build 1828 shift 1829 build_cpu=$1 1830 build_vendor=$2 1831 shift; shift 1832 # Remember, the first character of IFS is used to create $*, 1833 # except with old shells: 1834 build_os=$* 1835 IFS=$ac_save_IFS 1836 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1837 1838 1839 { echo "$as_me:$LINENO: checking host system type" >&5 1840 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 1398 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1399 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1400 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1401 1402 1403 echo "$as_me:$LINENO: checking host system type" >&5 1404 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1841 1405 if test "${ac_cv_host+set}" = set; then 1842 1406 echo $ECHO_N "(cached) $ECHO_C" >&6 1843 1407 else 1844 if test "x$host_alias" = x; then1845 ac_cv_host=$ac_cv_build 1846 else 1847 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||1848 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&51849 echo "$as_me: error: $ SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}1408 ac_cv_host_alias=$host_alias 1409 test -z "$ac_cv_host_alias" && 1410 ac_cv_host_alias=$ac_cv_build_alias 1411 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1412 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1413 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1850 1414 { (exit 1); exit 1; }; } 1851 fi 1852 1853 fi 1854 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1855 echo "${ECHO_T}$ac_cv_host" >&6; } 1856 case $ac_cv_host in 1857 *-*-*) ;; 1858 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1859 echo "$as_me: error: invalid value of canonical host" >&2;} 1860 { (exit 1); exit 1; }; };; 1861 esac 1415 1416 fi 1417 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1418 echo "${ECHO_T}$ac_cv_host" >&6 1862 1419 host=$ac_cv_host 1863 ac_save_IFS=$IFS; IFS='-' 1864 set x $ac_cv_host 1865 shift 1866 host_cpu=$1 1867 host_vendor=$2 1868 shift; shift 1869 # Remember, the first character of IFS is used to create $*, 1870 # except with old shells: 1871 host_os=$* 1872 IFS=$ac_save_IFS 1873 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1874 1875 1876 { echo "$as_me:$LINENO: checking target system type" >&5 1877 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 1420 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1421 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1422 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1423 1424 1425 echo "$as_me:$LINENO: checking target system type" >&5 1426 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1878 1427 if test "${ac_cv_target+set}" = set; then 1879 1428 echo $ECHO_N "(cached) $ECHO_C" >&6 1880 1429 else 1881 if test "x$target_alias" = x; then1882 ac_cv_target=$ac_cv_host 1883 else 1884 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||1885 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&51886 echo "$as_me: error: $ SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}1430 ac_cv_target_alias=$target_alias 1431 test "x$ac_cv_target_alias" = "x" && 1432 ac_cv_target_alias=$ac_cv_host_alias 1433 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1434 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1435 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1887 1436 { (exit 1); exit 1; }; } 1888 fi 1889 1890 fi 1891 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1892 echo "${ECHO_T}$ac_cv_target" >&6; } 1893 case $ac_cv_target in 1894 *-*-*) ;; 1895 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1896 echo "$as_me: error: invalid value of canonical target" >&2;} 1897 { (exit 1); exit 1; }; };; 1898 esac 1437 1438 fi 1439 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1440 echo "${ECHO_T}$ac_cv_target" >&6 1899 1441 target=$ac_cv_target 1900 ac_save_IFS=$IFS; IFS='-' 1901 set x $ac_cv_target 1902 shift 1903 target_cpu=$1 1904 target_vendor=$2 1905 shift; shift 1906 # Remember, the first character of IFS is used to create $*, 1907 # except with old shells: 1908 target_os=$* 1909 IFS=$ac_save_IFS 1910 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1442 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1443 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1444 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1911 1445 1912 1446 … … 1917 1451 NONENONEs,x,x, && 1918 1452 program_prefix=${target_alias}- 1919 ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h pjmedia/include/pjmedia/config_auto.h pjmedia/include/pjmedia-codec/config_auto.h pjsip/include/pjsip/sip_autoconf.h"1920 1921 ac_config_files="$ac_config_files build.mak build/os-auto.mak pjlib/build/os-auto.mak pjlib-util/build/os-auto.mak pjmedia/build/os-auto.mak pjsip/build/os-auto.mak third_party/build/portaudio/os-auto.mak third_party/build/os-auto.mak"1453 ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h pjmedia/include/pjmedia/config_auto.h pjmedia/include/pjmedia-codec/config_auto.h pjsip/include/pjsip/sip_autoconf.h" 1454 1455 ac_config_files="$ac_config_files build.mak build/os-auto.mak pjlib/build/os-auto.mak pjlib-util/build/os-auto.mak pjmedia/build/os-auto.mak pjsip/build/os-auto.mak third_party/build/portaudio/os-auto.mak third_party/build/os-auto.mak" 1922 1456 1923 1457 … … 1939 1473 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1940 1474 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1941 {echo "$as_me:$LINENO: checking for $ac_word" >&51942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1475 echo "$as_me:$LINENO: checking for $ac_word" >&5 1476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1943 1477 if test "${ac_cv_prog_CC+set}" = set; then 1944 1478 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1953 1487 test -z "$as_dir" && as_dir=. 1954 1488 for ac_exec_ext in '' $ac_executable_extensions; do 1955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1956 1490 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1957 1491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1960 1494 done 1961 1495 done 1962 IFS=$as_save_IFS1963 1496 1964 1497 fi … … 1966 1499 CC=$ac_cv_prog_CC 1967 1500 if test -n "$CC"; then 1968 { echo "$as_me:$LINENO: result: $CC" >&5 1969 echo "${ECHO_T}$CC" >&6; } 1970 else 1971 { echo "$as_me:$LINENO: result: no" >&5 1972 echo "${ECHO_T}no" >&6; } 1973 fi 1974 1501 echo "$as_me:$LINENO: result: $CC" >&5 1502 echo "${ECHO_T}$CC" >&6 1503 else 1504 echo "$as_me:$LINENO: result: no" >&5 1505 echo "${ECHO_T}no" >&6 1506 fi 1975 1507 1976 1508 fi … … 1979 1511 # Extract the first word of "gcc", so it can be a program name with args. 1980 1512 set dummy gcc; ac_word=$2 1981 {echo "$as_me:$LINENO: checking for $ac_word" >&51982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1513 echo "$as_me:$LINENO: checking for $ac_word" >&5 1514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1983 1515 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1984 1516 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1993 1525 test -z "$as_dir" && as_dir=. 1994 1526 for ac_exec_ext in '' $ac_executable_extensions; do 1995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1996 1528 ac_cv_prog_ac_ct_CC="gcc" 1997 1529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2000 1532 done 2001 1533 done 2002 IFS=$as_save_IFS2003 1534 2004 1535 fi … … 2006 1537 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2007 1538 if test -n "$ac_ct_CC"; then 2008 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2009 echo "${ECHO_T}$ac_ct_CC" >&6; } 2010 else 2011 { echo "$as_me:$LINENO: result: no" >&5 2012 echo "${ECHO_T}no" >&6; } 2013 fi 2014 2015 if test "x$ac_ct_CC" = x; then 2016 CC="" 2017 else 2018 case $cross_compiling:$ac_tool_warned in 2019 yes:) 2020 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2021 whose name does not start with the host triplet. If you think this 2022 configuration is useful to you, please write to autoconf@gnu.org." >&5 2023 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2024 whose name does not start with the host triplet. If you think this 2025 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2026 ac_tool_warned=yes ;; 2027 esac 2028 CC=$ac_ct_CC 2029 fi 1539 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1540 echo "${ECHO_T}$ac_ct_CC" >&6 1541 else 1542 echo "$as_me:$LINENO: result: no" >&5 1543 echo "${ECHO_T}no" >&6 1544 fi 1545 1546 CC=$ac_ct_CC 2030 1547 else 2031 1548 CC="$ac_cv_prog_CC" … … 2033 1550 2034 1551 if test -z "$CC"; then 2035 2036 1552 if test -n "$ac_tool_prefix"; then 1553 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2037 1554 set dummy ${ac_tool_prefix}cc; ac_word=$2 2038 {echo "$as_me:$LINENO: checking for $ac_word" >&52039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1555 echo "$as_me:$LINENO: checking for $ac_word" >&5 1556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2040 1557 if test "${ac_cv_prog_CC+set}" = set; then 2041 1558 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2050 1567 test -z "$as_dir" && as_dir=. 2051 1568 for ac_exec_ext in '' $ac_executable_extensions; do 2052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2053 1570 ac_cv_prog_CC="${ac_tool_prefix}cc" 2054 1571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2057 1574 done 2058 1575 done 2059 IFS=$as_save_IFS2060 1576 2061 1577 fi … … 2063 1579 CC=$ac_cv_prog_CC 2064 1580 if test -n "$CC"; then 2065 { echo "$as_me:$LINENO: result: $CC" >&5 2066 echo "${ECHO_T}$CC" >&6; } 2067 else 2068 { echo "$as_me:$LINENO: result: no" >&5 2069 echo "${ECHO_T}no" >&6; } 2070 fi 2071 2072 1581 echo "$as_me:$LINENO: result: $CC" >&5 1582 echo "${ECHO_T}$CC" >&6 1583 else 1584 echo "$as_me:$LINENO: result: no" >&5 1585 echo "${ECHO_T}no" >&6 1586 fi 1587 1588 fi 1589 if test -z "$ac_cv_prog_CC"; then 1590 ac_ct_CC=$CC 1591 # Extract the first word of "cc", so it can be a program name with args. 1592 set dummy cc; ac_word=$2 1593 echo "$as_me:$LINENO: checking for $ac_word" >&5 1594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1595 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1596 echo $ECHO_N "(cached) $ECHO_C" >&6 1597 else 1598 if test -n "$ac_ct_CC"; then 1599 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1600 else 1601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1602 for as_dir in $PATH 1603 do 1604 IFS=$as_save_IFS 1605 test -z "$as_dir" && as_dir=. 1606 for ac_exec_ext in '' $ac_executable_extensions; do 1607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1608 ac_cv_prog_ac_ct_CC="cc" 1609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1610 break 2 2073 1611 fi 1612 done 1613 done 1614 1615 fi 1616 fi 1617 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1618 if test -n "$ac_ct_CC"; then 1619 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1620 echo "${ECHO_T}$ac_ct_CC" >&6 1621 else 1622 echo "$as_me:$LINENO: result: no" >&5 1623 echo "${ECHO_T}no" >&6 1624 fi 1625 1626 CC=$ac_ct_CC 1627 else 1628 CC="$ac_cv_prog_CC" 1629 fi 1630 2074 1631 fi 2075 1632 if test -z "$CC"; then 2076 1633 # Extract the first word of "cc", so it can be a program name with args. 2077 1634 set dummy cc; ac_word=$2 2078 {echo "$as_me:$LINENO: checking for $ac_word" >&52079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1635 echo "$as_me:$LINENO: checking for $ac_word" >&5 1636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2080 1637 if test "${ac_cv_prog_CC+set}" = set; then 2081 1638 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2091 1648 test -z "$as_dir" && as_dir=. 2092 1649 for ac_exec_ext in '' $ac_executable_extensions; do 2093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2094 1651 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2095 1652 ac_prog_rejected=yes … … 2102 1659 done 2103 1660 done 2104 IFS=$as_save_IFS2105 1661 2106 1662 if test $ac_prog_rejected = yes; then … … 2120 1676 CC=$ac_cv_prog_CC 2121 1677 if test -n "$CC"; then 2122 { echo "$as_me:$LINENO: result: $CC" >&5 2123 echo "${ECHO_T}$CC" >&6; } 2124 else 2125 { echo "$as_me:$LINENO: result: no" >&5 2126 echo "${ECHO_T}no" >&6; } 2127 fi 2128 1678 echo "$as_me:$LINENO: result: $CC" >&5 1679 echo "${ECHO_T}$CC" >&6 1680 else 1681 echo "$as_me:$LINENO: result: no" >&5 1682 echo "${ECHO_T}no" >&6 1683 fi 2129 1684 2130 1685 fi 2131 1686 if test -z "$CC"; then 2132 1687 if test -n "$ac_tool_prefix"; then 2133 for ac_prog in cl .exe1688 for ac_prog in cl 2134 1689 do 2135 1690 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2136 1691 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2137 {echo "$as_me:$LINENO: checking for $ac_word" >&52138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1692 echo "$as_me:$LINENO: checking for $ac_word" >&5 1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2139 1694 if test "${ac_cv_prog_CC+set}" = set; then 2140 1695 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2149 1704 test -z "$as_dir" && as_dir=. 2150 1705 for ac_exec_ext in '' $ac_executable_extensions; do 2151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2152 1707 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2153 1708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2156 1711 done 2157 1712 done 2158 IFS=$as_save_IFS2159 1713 2160 1714 fi … … 2162 1716 CC=$ac_cv_prog_CC 2163 1717 if test -n "$CC"; then 2164 { echo "$as_me:$LINENO: result: $CC" >&5 2165 echo "${ECHO_T}$CC" >&6; } 2166 else 2167 { echo "$as_me:$LINENO: result: no" >&5 2168 echo "${ECHO_T}no" >&6; } 2169 fi 2170 1718 echo "$as_me:$LINENO: result: $CC" >&5 1719 echo "${ECHO_T}$CC" >&6 1720 else 1721 echo "$as_me:$LINENO: result: no" >&5 1722 echo "${ECHO_T}no" >&6 1723 fi 2171 1724 2172 1725 test -n "$CC" && break … … 2175 1728 if test -z "$CC"; then 2176 1729 ac_ct_CC=$CC 2177 for ac_prog in cl .exe1730 for ac_prog in cl 2178 1731 do 2179 1732 # Extract the first word of "$ac_prog", so it can be a program name with args. 2180 1733 set dummy $ac_prog; ac_word=$2 2181 {echo "$as_me:$LINENO: checking for $ac_word" >&52182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1734 echo "$as_me:$LINENO: checking for $ac_word" >&5 1735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2183 1736 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2184 1737 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2193 1746 test -z "$as_dir" && as_dir=. 2194 1747 for ac_exec_ext in '' $ac_executable_extensions; do 2195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2196 1749 ac_cv_prog_ac_ct_CC="$ac_prog" 2197 1750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2200 1753 done 2201 1754 done 2202 IFS=$as_save_IFS2203 1755 2204 1756 fi … … 2206 1758 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2207 1759 if test -n "$ac_ct_CC"; then 2208 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2209 echo "${ECHO_T}$ac_ct_CC" >&6; } 2210 else 2211 { echo "$as_me:$LINENO: result: no" >&5 2212 echo "${ECHO_T}no" >&6; } 2213 fi 2214 1760 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1761 echo "${ECHO_T}$ac_ct_CC" >&6 1762 else 1763 echo "$as_me:$LINENO: result: no" >&5 1764 echo "${ECHO_T}no" >&6 1765 fi 2215 1766 2216 1767 test -n "$ac_ct_CC" && break 2217 1768 done 2218 1769 2219 if test "x$ac_ct_CC" = x; then 2220 CC="" 2221 else 2222 case $cross_compiling:$ac_tool_warned in 2223 yes:) 2224 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2225 whose name does not start with the host triplet. If you think this 2226 configuration is useful to you, please write to autoconf@gnu.org." >&5 2227 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2228 whose name does not start with the host triplet. If you think this 2229 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2230 ac_tool_warned=yes ;; 2231 esac 2232 CC=$ac_ct_CC 2233 fi 1770 CC=$ac_ct_CC 2234 1771 fi 2235 1772 … … 2244 1781 2245 1782 # Provide some information about the compiler. 2246 echo "$as_me:$LINENO: checking for C compiler version" >&5 1783 echo "$as_me:$LINENO:" \ 1784 "checking for C compiler version" >&5 2247 1785 ac_compiler=`set X $ac_compile; echo $2` 2248 { (ac_try="$ac_compiler --version >&5" 2249 case "(($ac_try" in 2250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2251 *) ac_try_echo=$ac_try;; 2252 esac 2253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2254 (eval "$ac_compiler --version >&5") 2>&5 1786 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1787 (eval $ac_compiler --version </dev/null >&5) 2>&5 2255 1788 ac_status=$? 2256 1789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2257 1790 (exit $ac_status); } 2258 { (ac_try="$ac_compiler -v >&5" 2259 case "(($ac_try" in 2260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2261 *) ac_try_echo=$ac_try;; 2262 esac 2263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2264 (eval "$ac_compiler -v >&5") 2>&5 1791 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1792 (eval $ac_compiler -v </dev/null >&5) 2>&5 2265 1793 ac_status=$? 2266 1794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2267 1795 (exit $ac_status); } 2268 { (ac_try="$ac_compiler -V >&5" 2269 case "(($ac_try" in 2270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2271 *) ac_try_echo=$ac_try;; 2272 esac 2273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2274 (eval "$ac_compiler -V >&5") 2>&5 1796 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1797 (eval $ac_compiler -V </dev/null >&5) 2>&5 2275 1798 ac_status=$? 2276 1799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2297 1820 # It will help us diagnose broken compilers, and finding out an intuition 2298 1821 # of exeext. 2299 {echo "$as_me:$LINENO: checking for C compiler default output file name" >&52300 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 ; }1822 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1823 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2301 1824 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2302 # 2303 # List of possible output files, starting from the most likely. 2304 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2305 # only as a last resort. b.out is created by i960 compilers. 2306 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2307 # 2308 # The IRIX 6 linker writes into existing files which may not be 2309 # executable, retaining their permissions. Remove them first so a 2310 # subsequent execution test works. 2311 ac_rmfiles= 2312 for ac_file in $ac_files 2313 do 2314 case $ac_file in 2315 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2316 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2317 esac 2318 done 2319 rm -f $ac_rmfiles 2320 2321 if { (ac_try="$ac_link_default" 2322 case "(($ac_try" in 2323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2324 *) ac_try_echo=$ac_try;; 2325 esac 2326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2327 (eval "$ac_link_default") 2>&5 1825 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1826 (eval $ac_link_default) 2>&5 2328 1827 ac_status=$? 2329 1828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2330 1829 (exit $ac_status); }; then 2331 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2332 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2333 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2334 # so that the user can short-circuit this test for compilers unknown to 2335 # Autoconf. 2336 for ac_file in $ac_files '' 1830 # Find the output, starting from the most likely. This scheme is 1831 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1832 # resort. 1833 1834 # Be careful to initialize this variable, since it used to be cached. 1835 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1836 ac_cv_exeext= 1837 # b.out is created by i960 compilers. 1838 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2337 1839 do 2338 1840 test -f "$ac_file" || continue 2339 1841 case $ac_file in 2340 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 1842 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1843 ;; 1844 conftest.$ac_ext ) 1845 # This is the source file. 2341 1846 ;; 2342 1847 [ab].out ) … … 2345 1850 break;; 2346 1851 *.* ) 2347 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2348 then :; else 2349 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2350 fi 2351 # We set ac_cv_exeext here because the later test for it is not 2352 # safe: cross compilers may not add the suffix if given an `-o' 2353 # argument, so we may need to know it at that point already. 2354 # Even if this section looks crufty: it has the advantage of 2355 # actually working. 1852 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1853 # FIXME: I believe we export ac_cv_exeext for Libtool, 1854 # but it would be cool to find out if it's true. Does anybody 1855 # maintain Libtool? --akim. 1856 export ac_cv_exeext 2356 1857 break;; 2357 1858 * ) … … 2359 1860 esac 2360 1861 done 2361 test "$ac_cv_exeext" = no && ac_cv_exeext= 2362 2363 else 2364 ac_file='' 2365 fi 2366 2367 { echo "$as_me:$LINENO: result: $ac_file" >&5 2368 echo "${ECHO_T}$ac_file" >&6; } 2369 if test -z "$ac_file"; then 1862 else 2370 1863 echo "$as_me: failed program was:" >&5 2371 1864 sed 's/^/| /' conftest.$ac_ext >&5 … … 2379 1872 2380 1873 ac_exeext=$ac_cv_exeext 2381 2382 # Check that the compiler produces executables we can run. If not, either 1874 echo "$as_me:$LINENO: result: $ac_file" >&5 1875 echo "${ECHO_T}$ac_file" >&6 1876 1877 # Check the compiler produces executables we can run. If not, either 2383 1878 # the compiler is broken, or we cross compile. 2384 {echo "$as_me:$LINENO: checking whether the C compiler works" >&52385 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 ; }1879 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1880 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2386 1881 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2387 1882 # If not cross compiling, check that we can run a simple program. 2388 1883 if test "$cross_compiling" != yes; then 2389 1884 if { ac_try='./$ac_file' 2390 { (case "(($ac_try" in 2391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2392 *) ac_try_echo=$ac_try;; 2393 esac 2394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2395 (eval "$ac_try") 2>&5 1885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1886 (eval $ac_try) 2>&5 2396 1887 ac_status=$? 2397 1888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2412 1903 fi 2413 1904 fi 2414 {echo "$as_me:$LINENO: result: yes" >&52415 echo "${ECHO_T}yes" >&6 ; }1905 echo "$as_me:$LINENO: result: yes" >&5 1906 echo "${ECHO_T}yes" >&6 2416 1907 2417 1908 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2418 1909 ac_clean_files=$ac_clean_files_save 2419 # Check th at the compiler produces executables we can run. If not, either1910 # Check the compiler produces executables we can run. If not, either 2420 1911 # the compiler is broken, or we cross compile. 2421 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2422 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2423 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2424 echo "${ECHO_T}$cross_compiling" >&6; } 2425 2426 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2427 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2428 if { (ac_try="$ac_link" 2429 case "(($ac_try" in 2430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2431 *) ac_try_echo=$ac_try;; 2432 esac 2433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2434 (eval "$ac_link") 2>&5 1912 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1913 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1914 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1915 echo "${ECHO_T}$cross_compiling" >&6 1916 1917 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1918 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1920 (eval $ac_link) 2>&5 2435 1921 ac_status=$? 2436 1922 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2443 1929 test -f "$ac_file" || continue 2444 1930 case $ac_file in 2445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. map | *.inf | *.o | *.obj ) ;;1931 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2446 1932 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1933 export ac_cv_exeext 2447 1934 break;; 2448 1935 * ) break;; … … 2458 1945 2459 1946 rm -f conftest$ac_cv_exeext 2460 {echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52461 echo "${ECHO_T}$ac_cv_exeext" >&6 ; }1947 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1948 echo "${ECHO_T}$ac_cv_exeext" >&6 2462 1949 2463 1950 rm -f conftest.$ac_ext 2464 1951 EXEEXT=$ac_cv_exeext 2465 1952 ac_exeext=$EXEEXT 2466 {echo "$as_me:$LINENO: checking for suffix of object files" >&52467 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 ; }1953 echo "$as_me:$LINENO: checking for suffix of object files" >&5 1954 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2468 1955 if test "${ac_cv_objext+set}" = set; then 2469 1956 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2485 1972 _ACEOF 2486 1973 rm -f conftest.o conftest.obj 2487 if { (ac_try="$ac_compile" 2488 case "(($ac_try" in 2489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2490 *) ac_try_echo=$ac_try;; 2491 esac 2492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2493 (eval "$ac_compile") 2>&5 1974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1975 (eval $ac_compile) 2>&5 2494 1976 ac_status=$? 2495 1977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2496 1978 (exit $ac_status); }; then 2497 for ac_file in conftest.o conftest.obj conftest.*; do 2498 test -f "$ac_file" || continue; 1979 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2499 1980 case $ac_file in 2500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf) ;;1981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2501 1982 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2502 1983 break;; … … 2516 1997 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2517 1998 fi 2518 {echo "$as_me:$LINENO: result: $ac_cv_objext" >&52519 echo "${ECHO_T}$ac_cv_objext" >&6 ; }1999 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2000 echo "${ECHO_T}$ac_cv_objext" >&6 2520 2001 OBJEXT=$ac_cv_objext 2521 2002 ac_objext=$OBJEXT 2522 {echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52523 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 ; }2003 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2004 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2524 2005 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2525 2006 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2544 2025 _ACEOF 2545 2026 rm -f conftest.$ac_objext 2546 if { (ac_try="$ac_compile" 2547 case "(($ac_try" in 2548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2549 *) ac_try_echo=$ac_try;; 2550 esac 2551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2552 (eval "$ac_compile") 2>conftest.er1 2027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2028 (eval $ac_compile) 2>conftest.er1 2553 2029 ac_status=$? 2554 2030 grep -v '^ *+' conftest.er1 >conftest.err … … 2556 2032 cat conftest.err >&5 2557 2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2558 (exit $ac_status); } && { 2559 test -z "$ac_c_werror_flag" || 2560 test ! -s conftest.err 2561 } && test -s conftest.$ac_objext; then 2034 (exit $ac_status); } && 2035 { ac_try='test -z "$ac_c_werror_flag" 2036 || test ! -s conftest.err' 2037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2038 (eval $ac_try) 2>&5 2039 ac_status=$? 2040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2041 (exit $ac_status); }; } && 2042 { ac_try='test -s conftest.$ac_objext' 2043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2044 (eval $ac_try) 2>&5 2045 ac_status=$? 2046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2047 (exit $ac_status); }; }; then 2562 2048 ac_compiler_gnu=yes 2563 2049 else … … 2565 2051 sed 's/^/| /' conftest.$ac_ext >&5 2566 2052 2567 ac_compiler_gnu=no 2568 fi 2569 2570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2053 ac_compiler_gnu=no 2054 fi 2055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2571 2056 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2572 2057 2573 2058 fi 2574 {echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52575 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 ; }2059 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2060 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2576 2061 GCC=`test $ac_compiler_gnu = yes && echo yes` 2577 2062 ac_test_CFLAGS=${CFLAGS+set} 2578 2063 ac_save_CFLAGS=$CFLAGS 2579 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2580 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2064 CFLAGS="-g" 2065 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2066 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2581 2067 if test "${ac_cv_prog_cc_g+set}" = set; then 2582 2068 echo $ECHO_N "(cached) $ECHO_C" >&6 2583 2069 else 2584 ac_save_c_werror_flag=$ac_c_werror_flag 2585 ac_c_werror_flag=yes 2586 ac_cv_prog_cc_g=no 2587 CFLAGS="-g" 2588 cat >conftest.$ac_ext <<_ACEOF 2070 cat >conftest.$ac_ext <<_ACEOF 2589 2071 /* confdefs.h. */ 2590 2072 _ACEOF … … 2602 2084 _ACEOF 2603 2085 rm -f conftest.$ac_objext 2604 if { (ac_try="$ac_compile" 2605 case "(($ac_try" in 2606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2607 *) ac_try_echo=$ac_try;; 2608 esac 2609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2610 (eval "$ac_compile") 2>conftest.er1 2086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2087 (eval $ac_compile) 2>conftest.er1 2611 2088 ac_status=$? 2612 2089 grep -v '^ *+' conftest.er1 >conftest.err … … 2614 2091 cat conftest.err >&5 2615 2092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2616 (exit $ac_status); } && { 2617 test -z "$ac_c_werror_flag" || 2618 test ! -s conftest.err 2619 } && test -s conftest.$ac_objext; then 2093 (exit $ac_status); } && 2094 { ac_try='test -z "$ac_c_werror_flag" 2095 || test ! -s conftest.err' 2096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2097 (eval $ac_try) 2>&5 2098 ac_status=$? 2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2100 (exit $ac_status); }; } && 2101 { ac_try='test -s conftest.$ac_objext' 2102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2103 (eval $ac_try) 2>&5 2104 ac_status=$? 2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2106 (exit $ac_status); }; }; then 2620 2107 ac_cv_prog_cc_g=yes 2621 2108 else … … 2623 2110 sed 's/^/| /' conftest.$ac_ext >&5 2624 2111 2625 CFLAGS="" 2626 cat >conftest.$ac_ext <<_ACEOF 2627 /* confdefs.h. */ 2628 _ACEOF 2629 cat confdefs.h >>conftest.$ac_ext 2630 cat >>conftest.$ac_ext <<_ACEOF 2631 /* end confdefs.h. */ 2632 2633 int 2634 main () 2635 { 2636 2637 ; 2638 return 0; 2639 } 2640 _ACEOF 2641 rm -f conftest.$ac_objext 2642 if { (ac_try="$ac_compile" 2643 case "(($ac_try" in 2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2645 *) ac_try_echo=$ac_try;; 2646 esac 2647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2648 (eval "$ac_compile") 2>conftest.er1 2649 ac_status=$? 2650 grep -v '^ *+' conftest.er1 >conftest.err 2651 rm -f conftest.er1 2652 cat conftest.err >&5 2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2654 (exit $ac_status); } && { 2655 test -z "$ac_c_werror_flag" || 2656 test ! -s conftest.err 2657 } && test -s conftest.$ac_objext; then 2658 : 2659 else 2660 echo "$as_me: failed program was:" >&5 2661 sed 's/^/| /' conftest.$ac_ext >&5 2662 2663 ac_c_werror_flag=$ac_save_c_werror_flag 2664 CFLAGS="-g" 2665 cat >conftest.$ac_ext <<_ACEOF 2666 /* confdefs.h. */ 2667 _ACEOF 2668 cat confdefs.h >>conftest.$ac_ext 2669 cat >>conftest.$ac_ext <<_ACEOF 2670 /* end confdefs.h. */ 2671 2672 int 2673 main () 2674 { 2675 2676 ; 2677 return 0; 2678 } 2679 _ACEOF 2680 rm -f conftest.$ac_objext 2681 if { (ac_try="$ac_compile" 2682 case "(($ac_try" in 2683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2684 *) ac_try_echo=$ac_try;; 2685 esac 2686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2687 (eval "$ac_compile") 2>conftest.er1 2688 ac_status=$? 2689 grep -v '^ *+' conftest.er1 >conftest.err 2690 rm -f conftest.er1 2691 cat conftest.err >&5 2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2693 (exit $ac_status); } && { 2694 test -z "$ac_c_werror_flag" || 2695 test ! -s conftest.err 2696 } && test -s conftest.$ac_objext; then 2697 ac_cv_prog_cc_g=yes 2698 else 2699 echo "$as_me: failed program was:" >&5 2700 sed 's/^/| /' conftest.$ac_ext >&5 2701 2702 2703 fi 2704 2705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2706 fi 2707 2708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2709 fi 2710 2711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2712 ac_c_werror_flag=$ac_save_c_werror_flag 2713 fi 2714 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2715 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2112 ac_cv_prog_cc_g=no 2113 fi 2114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2115 fi 2116 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2117 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2716 2118 if test "$ac_test_CFLAGS" = set; then 2717 2119 CFLAGS=$ac_save_CFLAGS … … 2729 2131 fi 2730 2132 fi 2731 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52732 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2733 if test "${ac_cv_prog_cc_ c89+set}" = set; then2133 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2134 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2135 if test "${ac_cv_prog_cc_stdc+set}" = set; then 2734 2136 echo $ECHO_N "(cached) $ECHO_C" >&6 2735 2137 else 2736 ac_cv_prog_cc_ c89=no2138 ac_cv_prog_cc_stdc=no 2737 2139 ac_save_CC=$CC 2738 2140 cat >conftest.$ac_ext <<_ACEOF … … 2768 2170 function prototypes and stuff, but not '\xHH' hex character constants. 2769 2171 These don't provoke an error unfortunately, instead are silently treated 2770 as 'x'. The following induces an error, until -std is added to get2172 as 'x'. The following induces an error, until -std1 is added to get 2771 2173 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2772 2174 array size at least. It's necessary to write '\x00'==0 to get something 2773 that's true only with -std . */2175 that's true only with -std1. */ 2774 2176 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2775 2776 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters2777 inside strings and character constants. */2778 #define FOO(x) 'x'2779 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];2780 2177 2781 2178 int test (int i, double x); … … 2793 2190 } 2794 2191 _ACEOF 2795 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2796 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2192 # Don't try gcc -ansi; that turns off useful extensions and 2193 # breaks some systems' header files. 2194 # AIX -qlanglvl=ansi 2195 # Ultrix and OSF/1 -std1 2196 # HP-UX 10.20 and later -Ae 2197 # HP-UX older versions -Aa -D_HPUX_SOURCE 2198 # SVR4 -Xc -D__EXTENSIONS__ 2199 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2797 2200 do 2798 2201 CC="$ac_save_CC $ac_arg" 2799 2202 rm -f conftest.$ac_objext 2800 if { (ac_try="$ac_compile" 2801 case "(($ac_try" in 2802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2803 *) ac_try_echo=$ac_try;; 2804 esac 2805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2806 (eval "$ac_compile") 2>conftest.er1 2203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2204 (eval $ac_compile) 2>conftest.er1 2807 2205 ac_status=$? 2808 2206 grep -v '^ *+' conftest.er1 >conftest.err … … 2810 2208 cat conftest.err >&5 2811 2209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2812 (exit $ac_status); } && { 2813 test -z "$ac_c_werror_flag" || 2814 test ! -s conftest.err 2815 } && test -s conftest.$ac_objext; then 2816 ac_cv_prog_cc_c89=$ac_arg 2210 (exit $ac_status); } && 2211 { ac_try='test -z "$ac_c_werror_flag" 2212 || test ! -s conftest.err' 2213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2214 (eval $ac_try) 2>&5 2215 ac_status=$? 2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2217 (exit $ac_status); }; } && 2218 { ac_try='test -s conftest.$ac_objext' 2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2220 (eval $ac_try) 2>&5 2221 ac_status=$? 2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2223 (exit $ac_status); }; }; then 2224 ac_cv_prog_cc_stdc=$ac_arg 2225 break 2817 2226 else 2818 2227 echo "$as_me: failed program was:" >&5 2819 2228 sed 's/^/| /' conftest.$ac_ext >&5 2820 2229 2821 2822 fi 2823 2824 rm -f core conftest.err conftest.$ac_objext 2825 test "x$ac_cv_prog_cc_c89" != "xno" && break 2230 fi 2231 rm -f conftest.err conftest.$ac_objext 2826 2232 done 2827 rm -f conftest.$ac_ext 2233 rm -f conftest.$ac_ext conftest.$ac_objext 2828 2234 CC=$ac_save_CC 2829 2235 2830 2236 fi 2831 # AC_CACHE_VAL 2832 case "x$ac_cv_prog_cc_c89" in 2833 x) 2834 { echo "$as_me:$LINENO: result: none needed" >&5 2835 echo "${ECHO_T}none needed" >&6; } ;; 2836 xno) 2837 { echo "$as_me:$LINENO: result: unsupported" >&5 2838 echo "${ECHO_T}unsupported" >&6; } ;; 2237 2238 case "x$ac_cv_prog_cc_stdc" in 2239 x|xno) 2240 echo "$as_me:$LINENO: result: none needed" >&5 2241 echo "${ECHO_T}none needed" >&6 ;; 2839 2242 *) 2840 CC="$CC $ac_cv_prog_cc_c89"2841 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2842 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; };;2243 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2244 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2245 CC="$CC $ac_cv_prog_cc_stdc" ;; 2843 2246 esac 2844 2247 2845 2248 # Some people use a C++ compiler to compile C. Since we use `exit', 2249 # in C++ we need to declare it. In case someone uses the same compiler 2250 # for both compiling C and C++ we need to have the C++ compiler decide 2251 # the declaration of exit, since it's the most demanding environment. 2252 cat >conftest.$ac_ext <<_ACEOF 2253 #ifndef __cplusplus 2254 choke me 2255 #endif 2256 _ACEOF 2257 rm -f conftest.$ac_objext 2258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2259 (eval $ac_compile) 2>conftest.er1 2260 ac_status=$? 2261 grep -v '^ *+' conftest.er1 >conftest.err 2262 rm -f conftest.er1 2263 cat conftest.err >&5 2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2265 (exit $ac_status); } && 2266 { ac_try='test -z "$ac_c_werror_flag" 2267 || test ! -s conftest.err' 2268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2269 (eval $ac_try) 2>&5 2270 ac_status=$? 2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2272 (exit $ac_status); }; } && 2273 { ac_try='test -s conftest.$ac_objext' 2274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2275 (eval $ac_try) 2>&5 2276 ac_status=$? 2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2278 (exit $ac_status); }; }; then 2279 for ac_declaration in \ 2280 '' \ 2281 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2282 'extern "C" void std::exit (int); using std::exit;' \ 2283 'extern "C" void exit (int) throw ();' \ 2284 'extern "C" void exit (int);' \ 2285 'void exit (int);' 2286 do 2287 cat >conftest.$ac_ext <<_ACEOF 2288 /* confdefs.h. */ 2289 _ACEOF 2290 cat confdefs.h >>conftest.$ac_ext 2291 cat >>conftest.$ac_ext <<_ACEOF 2292 /* end confdefs.h. */ 2293 $ac_declaration 2294 #include <stdlib.h> 2295 int 2296 main () 2297 { 2298 exit (42); 2299 ; 2300 return 0; 2301 } 2302 _ACEOF 2303 rm -f conftest.$ac_objext 2304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2305 (eval $ac_compile) 2>conftest.er1 2306 ac_status=$? 2307 grep -v '^ *+' conftest.er1 >conftest.err 2308 rm -f conftest.er1 2309 cat conftest.err >&5 2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2311 (exit $ac_status); } && 2312 { ac_try='test -z "$ac_c_werror_flag" 2313 || test ! -s conftest.err' 2314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2315 (eval $ac_try) 2>&5 2316 ac_status=$? 2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2318 (exit $ac_status); }; } && 2319 { ac_try='test -s conftest.$ac_objext' 2320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2321 (eval $ac_try) 2>&5 2322 ac_status=$? 2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2324 (exit $ac_status); }; }; then 2325 : 2326 else 2327 echo "$as_me: failed program was:" >&5 2328 sed 's/^/| /' conftest.$ac_ext >&5 2329 2330 continue 2331 fi 2332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2333 cat >conftest.$ac_ext <<_ACEOF 2334 /* confdefs.h. */ 2335 _ACEOF 2336 cat confdefs.h >>conftest.$ac_ext 2337 cat >>conftest.$ac_ext <<_ACEOF 2338 /* end confdefs.h. */ 2339 $ac_declaration 2340 int 2341 main () 2342 { 2343 exit (42); 2344 ; 2345 return 0; 2346 } 2347 _ACEOF 2348 rm -f conftest.$ac_objext 2349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2350 (eval $ac_compile) 2>conftest.er1 2351 ac_status=$? 2352 grep -v '^ *+' conftest.er1 >conftest.err 2353 rm -f conftest.er1 2354 cat conftest.err >&5 2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2356 (exit $ac_status); } && 2357 { ac_try='test -z "$ac_c_werror_flag" 2358 || test ! -s conftest.err' 2359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2360 (eval $ac_try) 2>&5 2361 ac_status=$? 2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2363 (exit $ac_status); }; } && 2364 { ac_try='test -s conftest.$ac_objext' 2365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2366 (eval $ac_try) 2>&5 2367 ac_status=$? 2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2369 (exit $ac_status); }; }; then 2370 break 2371 else 2372 echo "$as_me: failed program was:" >&5 2373 sed 's/^/| /' conftest.$ac_ext >&5 2374 2375 fi 2376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2377 done 2378 rm -f conftest* 2379 if test -n "$ac_declaration"; then 2380 echo '#ifdef __cplusplus' >>confdefs.h 2381 echo $ac_declaration >>confdefs.h 2382 echo '#endif' >>confdefs.h 2383 fi 2384 2385 else 2386 echo "$as_me: failed program was:" >&5 2387 sed 's/^/| /' conftest.$ac_ext >&5 2388 2389 fi 2390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2846 2391 ac_ext=c 2847 2392 ac_cpp='$CPP $CPPFLAGS' … … 2850 2395 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2851 2396 2852 ac_ext=c pp2397 ac_ext=cc 2853 2398 ac_cpp='$CXXCPP $CPPFLAGS' 2854 2399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2855 2400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2856 2401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2857 if test -z "$CXX"; then 2858 if test -n "$CCC"; then 2859 CXX=$CCC 2860 else 2861 if test -n "$ac_tool_prefix"; then 2862 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2402 if test -n "$ac_tool_prefix"; then 2403 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2863 2404 do 2864 2405 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2865 2406 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2866 {echo "$as_me:$LINENO: checking for $ac_word" >&52867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2407 echo "$as_me:$LINENO: checking for $ac_word" >&5 2408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2868 2409 if test "${ac_cv_prog_CXX+set}" = set; then 2869 2410 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2878 2419 test -z "$as_dir" && as_dir=. 2879 2420 for ac_exec_ext in '' $ac_executable_extensions; do 2880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2881 2422 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2882 2423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2885 2426 done 2886 2427 done 2887 IFS=$as_save_IFS2888 2428 2889 2429 fi … … 2891 2431 CXX=$ac_cv_prog_CXX 2892 2432 if test -n "$CXX"; then 2893 { echo "$as_me:$LINENO: result: $CXX" >&5 2894 echo "${ECHO_T}$CXX" >&6; } 2895 else 2896 { echo "$as_me:$LINENO: result: no" >&5 2897 echo "${ECHO_T}no" >&6; } 2898 fi 2899 2433 echo "$as_me:$LINENO: result: $CXX" >&5 2434 echo "${ECHO_T}$CXX" >&6 2435 else 2436 echo "$as_me:$LINENO: result: no" >&5 2437 echo "${ECHO_T}no" >&6 2438 fi 2900 2439 2901 2440 test -n "$CXX" && break … … 2904 2443 if test -z "$CXX"; then 2905 2444 ac_ct_CXX=$CXX 2906 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exeFCC KCC RCC xlC_r xlC2445 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2907 2446 do 2908 2447 # Extract the first word of "$ac_prog", so it can be a program name with args. 2909 2448 set dummy $ac_prog; ac_word=$2 2910 {echo "$as_me:$LINENO: checking for $ac_word" >&52911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2449 echo "$as_me:$LINENO: checking for $ac_word" >&5 2450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2912 2451 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2913 2452 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2922 2461 test -z "$as_dir" && as_dir=. 2923 2462 for ac_exec_ext in '' $ac_executable_extensions; do 2924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2925 2464 ac_cv_prog_ac_ct_CXX="$ac_prog" 2926 2465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2929 2468 done 2930 2469 done 2931 IFS=$as_save_IFS2932 2470 2933 2471 fi … … 2935 2473 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2936 2474 if test -n "$ac_ct_CXX"; then 2937 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2938 echo "${ECHO_T}$ac_ct_CXX" >&6; } 2939 else 2940 { echo "$as_me:$LINENO: result: no" >&5 2941 echo "${ECHO_T}no" >&6; } 2942 fi 2943 2475 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2476 echo "${ECHO_T}$ac_ct_CXX" >&6 2477 else 2478 echo "$as_me:$LINENO: result: no" >&5 2479 echo "${ECHO_T}no" >&6 2480 fi 2944 2481 2945 2482 test -n "$ac_ct_CXX" && break 2946 2483 done 2947 2948 if test "x$ac_ct_CXX" = x; then 2949 CXX="g++" 2950 else 2951 case $cross_compiling:$ac_tool_warned in 2952 yes:) 2953 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2954 whose name does not start with the host triplet. If you think this 2955 configuration is useful to you, please write to autoconf@gnu.org." >&5 2956 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2957 whose name does not start with the host triplet. If you think this 2958 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2959 ac_tool_warned=yes ;; 2960 esac 2961 CXX=$ac_ct_CXX 2962 fi 2963 fi 2964 2965 fi 2966 fi 2484 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2485 2486 CXX=$ac_ct_CXX 2487 fi 2488 2489 2967 2490 # Provide some information about the compiler. 2968 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 2491 echo "$as_me:$LINENO:" \ 2492 "checking for C++ compiler version" >&5 2969 2493 ac_compiler=`set X $ac_compile; echo $2` 2970 { (ac_try="$ac_compiler --version >&5" 2971 case "(($ac_try" in 2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2973 *) ac_try_echo=$ac_try;; 2974 esac 2975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2976 (eval "$ac_compiler --version >&5") 2>&5 2494 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2495 (eval $ac_compiler --version </dev/null >&5) 2>&5 2977 2496 ac_status=$? 2978 2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2979 2498 (exit $ac_status); } 2980 { (ac_try="$ac_compiler -v >&5" 2981 case "(($ac_try" in 2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2983 *) ac_try_echo=$ac_try;; 2984 esac 2985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2986 (eval "$ac_compiler -v >&5") 2>&5 2499 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2500 (eval $ac_compiler -v </dev/null >&5) 2>&5 2987 2501 ac_status=$? 2988 2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2989 2503 (exit $ac_status); } 2990 { (ac_try="$ac_compiler -V >&5" 2991 case "(($ac_try" in 2992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2993 *) ac_try_echo=$ac_try;; 2994 esac 2995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2996 (eval "$ac_compiler -V >&5") 2>&5 2504 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2505 (eval $ac_compiler -V </dev/null >&5) 2>&5 2997 2506 ac_status=$? 2998 2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2999 2508 (exit $ac_status); } 3000 2509 3001 {echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&53002 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 ; }2510 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2511 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 3003 2512 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3004 2513 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3023 2532 _ACEOF 3024 2533 rm -f conftest.$ac_objext 3025 if { (ac_try="$ac_compile" 3026 case "(($ac_try" in 3027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3028 *) ac_try_echo=$ac_try;; 3029 esac 3030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3031 (eval "$ac_compile") 2>conftest.er1 2534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2535 (eval $ac_compile) 2>conftest.er1 3032 2536 ac_status=$? 3033 2537 grep -v '^ *+' conftest.er1 >conftest.err … … 3035 2539 cat conftest.err >&5 3036 2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3037 (exit $ac_status); } && { 3038 test -z "$ac_cxx_werror_flag" || 3039 test ! -s conftest.err 3040 } && test -s conftest.$ac_objext; then 2541 (exit $ac_status); } && 2542 { ac_try='test -z "$ac_cxx_werror_flag" 2543 || test ! -s conftest.err' 2544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2545 (eval $ac_try) 2>&5 2546 ac_status=$? 2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2548 (exit $ac_status); }; } && 2549 { ac_try='test -s conftest.$ac_objext' 2550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2551 (eval $ac_try) 2>&5 2552 ac_status=$? 2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2554 (exit $ac_status); }; }; then 3041 2555 ac_compiler_gnu=yes 3042 2556 else … … 3044 2558 sed 's/^/| /' conftest.$ac_ext >&5 3045 2559 3046 ac_compiler_gnu=no 3047 fi 3048 3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2560 ac_compiler_gnu=no 2561 fi 2562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3050 2563 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3051 2564 3052 2565 fi 3053 {echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&53054 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 ; }2566 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2567 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 3055 2568 GXX=`test $ac_compiler_gnu = yes && echo yes` 3056 2569 ac_test_CXXFLAGS=${CXXFLAGS+set} 3057 2570 ac_save_CXXFLAGS=$CXXFLAGS 3058 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3059 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 2571 CXXFLAGS="-g" 2572 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2573 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3060 2574 if test "${ac_cv_prog_cxx_g+set}" = set; then 3061 2575 echo $ECHO_N "(cached) $ECHO_C" >&6 3062 2576 else 3063 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3064 ac_cxx_werror_flag=yes 3065 ac_cv_prog_cxx_g=no 3066 CXXFLAGS="-g" 3067 cat >conftest.$ac_ext <<_ACEOF 2577 cat >conftest.$ac_ext <<_ACEOF 3068 2578 /* confdefs.h. */ 3069 2579 _ACEOF … … 3081 2591 _ACEOF 3082 2592 rm -f conftest.$ac_objext 3083 if { (ac_try="$ac_compile" 3084 case "(($ac_try" in 3085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3086 *) ac_try_echo=$ac_try;; 3087 esac 3088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3089 (eval "$ac_compile") 2>conftest.er1 2593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2594 (eval $ac_compile) 2>conftest.er1 3090 2595 ac_status=$? 3091 2596 grep -v '^ *+' conftest.er1 >conftest.err … … 3093 2598 cat conftest.err >&5 3094 2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3095 (exit $ac_status); } && { 3096 test -z "$ac_cxx_werror_flag" || 3097 test ! -s conftest.err 3098 } && test -s conftest.$ac_objext; then 2600 (exit $ac_status); } && 2601 { ac_try='test -z "$ac_cxx_werror_flag" 2602 || test ! -s conftest.err' 2603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2604 (eval $ac_try) 2>&5 2605 ac_status=$? 2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2607 (exit $ac_status); }; } && 2608 { ac_try='test -s conftest.$ac_objext' 2609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2610 (eval $ac_try) 2>&5 2611 ac_status=$? 2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2613 (exit $ac_status); }; }; then 3099 2614 ac_cv_prog_cxx_g=yes 3100 2615 else … … 3102 2617 sed 's/^/| /' conftest.$ac_ext >&5 3103 2618 3104 CXXFLAGS="" 3105 cat >conftest.$ac_ext <<_ACEOF 3106 /* confdefs.h. */ 3107 _ACEOF 3108 cat confdefs.h >>conftest.$ac_ext 3109 cat >>conftest.$ac_ext <<_ACEOF 3110 /* end confdefs.h. */ 3111 3112 int 3113 main () 3114 { 3115 3116 ; 3117 return 0; 3118 } 3119 _ACEOF 3120 rm -f conftest.$ac_objext 3121 if { (ac_try="$ac_compile" 3122 case "(($ac_try" in 3123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3124 *) ac_try_echo=$ac_try;; 3125 esac 3126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3127 (eval "$ac_compile") 2>conftest.er1 3128 ac_status=$? 3129 grep -v '^ *+' conftest.er1 >conftest.err 3130 rm -f conftest.er1 3131 cat conftest.err >&5 3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3133 (exit $ac_status); } && { 3134 test -z "$ac_cxx_werror_flag" || 3135 test ! -s conftest.err 3136 } && test -s conftest.$ac_objext; then 3137 : 3138 else 3139 echo "$as_me: failed program was:" >&5 3140 sed 's/^/| /' conftest.$ac_ext >&5 3141 3142 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3143 CXXFLAGS="-g" 3144 cat >conftest.$ac_ext <<_ACEOF 3145 /* confdefs.h. */ 3146 _ACEOF 3147 cat confdefs.h >>conftest.$ac_ext 3148 cat >>conftest.$ac_ext <<_ACEOF 3149 /* end confdefs.h. */ 3150 3151 int 3152 main () 3153 { 3154 3155 ; 3156 return 0; 3157 } 3158 _ACEOF 3159 rm -f conftest.$ac_objext 3160 if { (ac_try="$ac_compile" 3161 case "(($ac_try" in 3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3163 *) ac_try_echo=$ac_try;; 3164 esac 3165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3166 (eval "$ac_compile") 2>conftest.er1 3167 ac_status=$? 3168 grep -v '^ *+' conftest.er1 >conftest.err 3169 rm -f conftest.er1 3170 cat conftest.err >&5 3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3172 (exit $ac_status); } && { 3173 test -z "$ac_cxx_werror_flag" || 3174 test ! -s conftest.err 3175 } && test -s conftest.$ac_objext; then 3176 ac_cv_prog_cxx_g=yes 3177 else 3178 echo "$as_me: failed program was:" >&5 3179 sed 's/^/| /' conftest.$ac_ext >&5 3180 3181 3182 fi 3183 3184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3185 fi 3186 3187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3188 fi 3189 3190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3191 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3192 fi 3193 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3194 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 2619 ac_cv_prog_cxx_g=no 2620 fi 2621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2622 fi 2623 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2624 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3195 2625 if test "$ac_test_CXXFLAGS" = set; then 3196 2626 CXXFLAGS=$ac_save_CXXFLAGS … … 3208 2638 fi 3209 2639 fi 2640 for ac_declaration in \ 2641 '' \ 2642 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2643 'extern "C" void std::exit (int); using std::exit;' \ 2644 'extern "C" void exit (int) throw ();' \ 2645 'extern "C" void exit (int);' \ 2646 'void exit (int);' 2647 do 2648 cat >conftest.$ac_ext <<_ACEOF 2649 /* confdefs.h. */ 2650 _ACEOF 2651 cat confdefs.h >>conftest.$ac_ext 2652 cat >>conftest.$ac_ext <<_ACEOF 2653 /* end confdefs.h. */ 2654 $ac_declaration 2655 #include <stdlib.h> 2656 int 2657 main () 2658 { 2659 exit (42); 2660 ; 2661 return 0; 2662 } 2663 _ACEOF 2664 rm -f conftest.$ac_objext 2665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2666 (eval $ac_compile) 2>conftest.er1 2667 ac_status=$? 2668 grep -v '^ *+' conftest.er1 >conftest.err 2669 rm -f conftest.er1 2670 cat conftest.err >&5 2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2672 (exit $ac_status); } && 2673 { ac_try='test -z "$ac_cxx_werror_flag" 2674 || test ! -s conftest.err' 2675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2676 (eval $ac_try) 2>&5 2677 ac_status=$? 2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2679 (exit $ac_status); }; } && 2680 { ac_try='test -s conftest.$ac_objext' 2681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2682 (eval $ac_try) 2>&5 2683 ac_status=$? 2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2685 (exit $ac_status); }; }; then 2686 : 2687 else 2688 echo "$as_me: failed program was:" >&5 2689 sed 's/^/| /' conftest.$ac_ext >&5 2690 2691 continue 2692 fi 2693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2694 cat >conftest.$ac_ext <<_ACEOF 2695 /* confdefs.h. */ 2696 _ACEOF 2697 cat confdefs.h >>conftest.$ac_ext 2698 cat >>conftest.$ac_ext <<_ACEOF 2699 /* end confdefs.h. */ 2700 $ac_declaration 2701 int 2702 main () 2703 { 2704 exit (42); 2705 ; 2706 return 0; 2707 } 2708 _ACEOF 2709 rm -f conftest.$ac_objext 2710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2711 (eval $ac_compile) 2>conftest.er1 2712 ac_status=$? 2713 grep -v '^ *+' conftest.er1 >conftest.err 2714 rm -f conftest.er1 2715 cat conftest.err >&5 2716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2717 (exit $ac_status); } && 2718 { ac_try='test -z "$ac_cxx_werror_flag" 2719 || test ! -s conftest.err' 2720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2721 (eval $ac_try) 2>&5 2722 ac_status=$? 2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2724 (exit $ac_status); }; } && 2725 { ac_try='test -s conftest.$ac_objext' 2726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2727 (eval $ac_try) 2>&5 2728 ac_status=$? 2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2730 (exit $ac_status); }; }; then 2731 break 2732 else 2733 echo "$as_me: failed program was:" >&5 2734 sed 's/^/| /' conftest.$ac_ext >&5 2735 2736 fi 2737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2738 done 2739 rm -f conftest* 2740 if test -n "$ac_declaration"; then 2741 echo '#ifdef __cplusplus' >>confdefs.h 2742 echo $ac_declaration >>confdefs.h 2743 echo '#endif' >>confdefs.h 2744 fi 2745 3210 2746 ac_ext=c 3211 2747 ac_cpp='$CPP $CPPFLAGS' … … 3234 2770 3235 2771 3236 {echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&53237 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 ; }2772 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 2773 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 3238 2774 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 3239 2775 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3248 2784 /* end confdefs.h. */ 3249 2785 3250 /* Override any GCC internal prototype to avoid an error. 3251 Use char because int might match the return type of a GCC 3252 builtin and then its argument prototype would still apply. */ 2786 /* Override any gcc2 internal prototype to avoid an error. */ 3253 2787 #ifdef __cplusplus 3254 2788 extern "C" 3255 2789 #endif 2790 /* We use char because int might match the return type of a gcc2 2791 builtin and then its argument prototype would still apply. */ 3256 2792 char pthread_create (); 3257 2793 int 3258 2794 main () 3259 2795 { 3260 returnpthread_create ();2796 pthread_create (); 3261 2797 ; 3262 2798 return 0; … … 3264 2800 _ACEOF 3265 2801 rm -f conftest.$ac_objext conftest$ac_exeext 3266 if { (ac_try="$ac_link" 3267 case "(($ac_try" in 3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3269 *) ac_try_echo=$ac_try;; 3270 esac 3271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3272 (eval "$ac_link") 2>conftest.er1 2802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2803 (eval $ac_link) 2>conftest.er1 3273 2804 ac_status=$? 3274 2805 grep -v '^ *+' conftest.er1 >conftest.err … … 3276 2807 cat conftest.err >&5 3277 2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3278 (exit $ac_status); } && { 3279 test -z "$ac_c_werror_flag" || 3280 test ! -s conftest.err 3281 } && test -s conftest$ac_exeext && 3282 $as_test_x conftest$ac_exeext; then 2809 (exit $ac_status); } && 2810 { ac_try='test -z "$ac_c_werror_flag" 2811 || test ! -s conftest.err' 2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2813 (eval $ac_try) 2>&5 2814 ac_status=$? 2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2816 (exit $ac_status); }; } && 2817 { ac_try='test -s conftest$ac_exeext' 2818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2819 (eval $ac_try) 2>&5 2820 ac_status=$? 2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2822 (exit $ac_status); }; }; then 3283 2823 ac_cv_lib_pthread_pthread_create=yes 3284 2824 else … … 3286 2826 sed 's/^/| /' conftest.$ac_ext >&5 3287 2827 3288 ac_cv_lib_pthread_pthread_create=no 3289 fi 3290 3291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2828 ac_cv_lib_pthread_pthread_create=no 2829 fi 2830 rm -f conftest.err conftest.$ac_objext \ 3292 2831 conftest$ac_exeext conftest.$ac_ext 3293 2832 LIBS=$ac_check_lib_save_LIBS 3294 2833 fi 3295 {echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&53296 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 ; }2834 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 2835 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 3297 2836 if test $ac_cv_lib_pthread_pthread_create = yes; then 3298 2837 cat >>confdefs.h <<_ACEOF … … 3305 2844 3306 2845 3307 {echo "$as_me:$LINENO: checking for puts in -lwsock32" >&53308 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6 ; }2846 echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 2847 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6 3309 2848 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 3310 2849 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3319 2858 /* end confdefs.h. */ 3320 2859 3321 /* Override any GCC internal prototype to avoid an error. 3322 Use char because int might match the return type of a GCC 3323 builtin and then its argument prototype would still apply. */ 2860 /* Override any gcc2 internal prototype to avoid an error. */ 3324 2861 #ifdef __cplusplus 3325 2862 extern "C" 3326 2863 #endif 2864 /* We use char because int might match the return type of a gcc2 2865 builtin and then its argument prototype would still apply. */ 3327 2866 char puts (); 3328 2867 int 3329 2868 main () 3330 2869 { 3331 returnputs ();2870 puts (); 3332 2871 ; 3333 2872 return 0; … … 3335 2874 _ACEOF 3336 2875 rm -f conftest.$ac_objext conftest$ac_exeext 3337 if { (ac_try="$ac_link" 3338 case "(($ac_try" in 3339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3340 *) ac_try_echo=$ac_try;; 3341 esac 3342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3343 (eval "$ac_link") 2>conftest.er1 2876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2877 (eval $ac_link) 2>conftest.er1 3344 2878 ac_status=$? 3345 2879 grep -v '^ *+' conftest.er1 >conftest.err … … 3347 2881 cat conftest.err >&5 3348 2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3349 (exit $ac_status); } && { 3350 test -z "$ac_c_werror_flag" || 3351 test ! -s conftest.err 3352 } && test -s conftest$ac_exeext && 3353 $as_test_x conftest$ac_exeext; then 2883 (exit $ac_status); } && 2884 { ac_try='test -z "$ac_c_werror_flag" 2885 || test ! -s conftest.err' 2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2887 (eval $ac_try) 2>&5 2888 ac_status=$? 2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2890 (exit $ac_status); }; } && 2891 { ac_try='test -s conftest$ac_exeext' 2892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2893 (eval $ac_try) 2>&5 2894 ac_status=$? 2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2896 (exit $ac_status); }; }; then 3354 2897 ac_cv_lib_wsock32_puts=yes 3355 2898 else … … 3357 2900 sed 's/^/| /' conftest.$ac_ext >&5 3358 2901 3359 ac_cv_lib_wsock32_puts=no 3360 fi 3361 3362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2902 ac_cv_lib_wsock32_puts=no 2903 fi 2904 rm -f conftest.err conftest.$ac_objext \ 3363 2905 conftest$ac_exeext conftest.$ac_ext 3364 2906 LIBS=$ac_check_lib_save_LIBS 3365 2907 fi 3366 {echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&53367 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6 ; }2908 echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 2909 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6 3368 2910 if test $ac_cv_lib_wsock32_puts = yes; then 3369 2911 cat >>confdefs.h <<_ACEOF … … 3376 2918 3377 2919 3378 {echo "$as_me:$LINENO: checking for puts in -lws2_32" >&53379 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6 ; }2920 echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 2921 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6 3380 2922 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 3381 2923 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3390 2932 /* end confdefs.h. */ 3391 2933 3392 /* Override any GCC internal prototype to avoid an error. 3393 Use char because int might match the return type of a GCC 3394 builtin and then its argument prototype would still apply. */ 2934 /* Override any gcc2 internal prototype to avoid an error. */ 3395 2935 #ifdef __cplusplus 3396 2936 extern "C" 3397 2937 #endif 2938 /* We use char because int might match the return type of a gcc2 2939 builtin and then its argument prototype would still apply. */ 3398 2940 char puts (); 3399 2941 int 3400 2942 main () 3401 2943 { 3402 returnputs ();2944 puts (); 3403 2945 ; 3404 2946 return 0; … … 3406 2948 _ACEOF 3407 2949 rm -f conftest.$ac_objext conftest$ac_exeext 3408 if { (ac_try="$ac_link" 3409 case "(($ac_try" in 3410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3411 *) ac_try_echo=$ac_try;; 3412 esac 3413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3414 (eval "$ac_link") 2>conftest.er1 2950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2951 (eval $ac_link) 2>conftest.er1 3415 2952 ac_status=$? 3416 2953 grep -v '^ *+' conftest.er1 >conftest.err … … 3418 2955 cat conftest.err >&5 3419 2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3420 (exit $ac_status); } && { 3421 test -z "$ac_c_werror_flag" || 3422 test ! -s conftest.err 3423 } && test -s conftest$ac_exeext && 3424 $as_test_x conftest$ac_exeext; then 2957 (exit $ac_status); } && 2958 { ac_try='test -z "$ac_c_werror_flag" 2959 || test ! -s conftest.err' 2960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2961 (eval $ac_try) 2>&5 2962 ac_status=$? 2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2964 (exit $ac_status); }; } && 2965 { ac_try='test -s conftest$ac_exeext' 2966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2967 (eval $ac_try) 2>&5 2968 ac_status=$? 2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2970 (exit $ac_status); }; }; then 3425 2971 ac_cv_lib_ws2_32_puts=yes 3426 2972 else … … 3428 2974 sed 's/^/| /' conftest.$ac_ext >&5 3429 2975 3430 ac_cv_lib_ws2_32_puts=no 3431 fi 3432 3433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2976 ac_cv_lib_ws2_32_puts=no 2977 fi 2978 rm -f conftest.err conftest.$ac_objext \ 3434 2979 conftest$ac_exeext conftest.$ac_ext 3435 2980 LIBS=$ac_check_lib_save_LIBS 3436 2981 fi 3437 {echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&53438 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6 ; }2982 echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 2983 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6 3439 2984 if test $ac_cv_lib_ws2_32_puts = yes; then 3440 2985 cat >>confdefs.h <<_ACEOF … … 3447 2992 3448 2993 3449 {echo "$as_me:$LINENO: checking for puts in -lole32" >&53450 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6 ; }2994 echo "$as_me:$LINENO: checking for puts in -lole32" >&5 2995 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6 3451 2996 if test "${ac_cv_lib_ole32_puts+set}" = set; then 3452 2997 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3461 3006 /* end confdefs.h. */ 3462 3007 3463 /* Override any GCC internal prototype to avoid an error. 3464 Use char because int might match the return type of a GCC 3465 builtin and then its argument prototype would still apply. */ 3008 /* Override any gcc2 internal prototype to avoid an error. */ 3466 3009 #ifdef __cplusplus 3467 3010 extern "C" 3468 3011 #endif 3012 /* We use char because int might match the return type of a gcc2 3013 builtin and then its argument prototype would still apply. */ 3469 3014 char puts (); 3470 3015 int 3471 3016 main () 3472 3017 { 3473 returnputs ();3018 puts (); 3474 3019 ; 3475 3020 return 0; … … 3477 3022 _ACEOF 3478 3023 rm -f conftest.$ac_objext conftest$ac_exeext 3479 if { (ac_try="$ac_link" 3480 case "(($ac_try" in 3481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3482 *) ac_try_echo=$ac_try;; 3483 esac 3484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3485 (eval "$ac_link") 2>conftest.er1 3024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3025 (eval $ac_link) 2>conftest.er1 3486 3026 ac_status=$? 3487 3027 grep -v '^ *+' conftest.er1 >conftest.err … … 3489 3029 cat conftest.err >&5 3490 3030 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 $as_test_x conftest$ac_exeext; then 3031 (exit $ac_status); } && 3032 { ac_try='test -z "$ac_c_werror_flag" 3033 || test ! -s conftest.err' 3034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3035 (eval $ac_try) 2>&5 3036 ac_status=$? 3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3038 (exit $ac_status); }; } && 3039 { ac_try='test -s conftest$ac_exeext' 3040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3041 (eval $ac_try) 2>&5 3042 ac_status=$? 3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3044 (exit $ac_status); }; }; then 3496 3045 ac_cv_lib_ole32_puts=yes 3497 3046 else … … 3499 3048 sed 's/^/| /' conftest.$ac_ext >&5 3500 3049 3501 ac_cv_lib_ole32_puts=no 3502 fi 3503 3504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3050 ac_cv_lib_ole32_puts=no 3051 fi 3052 rm -f conftest.err conftest.$ac_objext \ 3505 3053 conftest$ac_exeext conftest.$ac_ext 3506 3054 LIBS=$ac_check_lib_save_LIBS 3507 3055 fi 3508 {echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&53509 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6 ; }3056 echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 3057 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6 3510 3058 if test $ac_cv_lib_ole32_puts = yes; then 3511 3059 cat >>confdefs.h <<_ACEOF … … 3518 3066 3519 3067 3520 {echo "$as_me:$LINENO: checking for puts in -lwinmm" >&53521 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6 ; }3068 echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3069 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6 3522 3070 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3523 3071 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3532 3080 /* end confdefs.h. */ 3533 3081 3534 /* Override any GCC internal prototype to avoid an error. 3535 Use char because int might match the return type of a GCC 3536 builtin and then its argument prototype would still apply. */ 3082 /* Override any gcc2 internal prototype to avoid an error. */ 3537 3083 #ifdef __cplusplus 3538 3084 extern "C" 3539 3085 #endif 3086 /* We use char because int might match the return type of a gcc2 3087 builtin and then its argument prototype would still apply. */ 3540 3088 char puts (); 3541 3089 int 3542 3090 main () 3543 3091 { 3544 returnputs ();3092 puts (); 3545 3093 ; 3546 3094 return 0; … … 3548 3096 _ACEOF 3549 3097 rm -f conftest.$ac_objext conftest$ac_exeext 3550 if { (ac_try="$ac_link" 3551 case "(($ac_try" in 3552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3553 *) ac_try_echo=$ac_try;; 3554 esac 3555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3556 (eval "$ac_link") 2>conftest.er1 3098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3099 (eval $ac_link) 2>conftest.er1 3557 3100 ac_status=$? 3558 3101 grep -v '^ *+' conftest.er1 >conftest.err … … 3560 3103 cat conftest.err >&5 3561 3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3562 (exit $ac_status); } && { 3563 test -z "$ac_c_werror_flag" || 3564 test ! -s conftest.err 3565 } && test -s conftest$ac_exeext && 3566 $as_test_x conftest$ac_exeext; then 3105 (exit $ac_status); } && 3106 { ac_try='test -z "$ac_c_werror_flag" 3107 || test ! -s conftest.err' 3108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3109 (eval $ac_try) 2>&5 3110 ac_status=$? 3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3112 (exit $ac_status); }; } && 3113 { ac_try='test -s conftest$ac_exeext' 3114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3115 (eval $ac_try) 2>&5 3116 ac_status=$? 3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3118 (exit $ac_status); }; }; then 3567 3119 ac_cv_lib_winmm_puts=yes 3568 3120 else … … 3570 3122 sed 's/^/| /' conftest.$ac_ext >&5 3571 3123 3572 ac_cv_lib_winmm_puts=no 3573 fi 3574 3575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3124 ac_cv_lib_winmm_puts=no 3125 fi 3126 rm -f conftest.err conftest.$ac_objext \ 3576 3127 conftest$ac_exeext conftest.$ac_ext 3577 3128 LIBS=$ac_check_lib_save_LIBS 3578 3129 fi 3579 {echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&53580 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6 ; }3130 echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 3131 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6 3581 3132 if test $ac_cv_lib_winmm_puts = yes; then 3582 3133 cat >>confdefs.h <<_ACEOF … … 3589 3140 3590 3141 3591 {echo "$as_me:$LINENO: checking for puts in -lsocket" >&53592 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6 ; }3142 echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3143 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6 3593 3144 if test "${ac_cv_lib_socket_puts+set}" = set; then 3594 3145 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3603 3154 /* end confdefs.h. */ 3604 3155 3605 /* Override any GCC internal prototype to avoid an error. 3606 Use char because int might match the return type of a GCC 3607 builtin and then its argument prototype would still apply. */ 3156 /* Override any gcc2 internal prototype to avoid an error. */ 3608 3157 #ifdef __cplusplus 3609 3158 extern "C" 3610 3159 #endif 3160 /* We use char because int might match the return type of a gcc2 3161 builtin and then its argument prototype would still apply. */ 3611 3162 char puts (); 3612 3163 int 3613 3164 main () 3614 3165 { 3615 returnputs ();3166 puts (); 3616 3167 ; 3617 3168 return 0; … … 3619 3170 _ACEOF 3620 3171 rm -f conftest.$ac_objext conftest$ac_exeext 3621 if { (ac_try="$ac_link" 3622 case "(($ac_try" in 3623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3624 *) ac_try_echo=$ac_try;; 3625 esac 3626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3627 (eval "$ac_link") 2>conftest.er1 3172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3173 (eval $ac_link) 2>conftest.er1 3628 3174 ac_status=$? 3629 3175 grep -v '^ *+' conftest.er1 >conftest.err … … 3631 3177 cat conftest.err >&5 3632 3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3633 (exit $ac_status); } && { 3634 test -z "$ac_c_werror_flag" || 3635 test ! -s conftest.err 3636 } && test -s conftest$ac_exeext && 3637 $as_test_x conftest$ac_exeext; then 3179 (exit $ac_status); } && 3180 { ac_try='test -z "$ac_c_werror_flag" 3181 || test ! -s conftest.err' 3182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3183 (eval $ac_try) 2>&5 3184 ac_status=$? 3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3186 (exit $ac_status); }; } && 3187 { ac_try='test -s conftest$ac_exeext' 3188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3189 (eval $ac_try) 2>&5 3190 ac_status=$? 3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3192 (exit $ac_status); }; }; then 3638 3193 ac_cv_lib_socket_puts=yes 3639 3194 else … … 3641 3196 sed 's/^/| /' conftest.$ac_ext >&5 3642 3197 3643 ac_cv_lib_socket_puts=no 3644 fi 3645 3646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3198 ac_cv_lib_socket_puts=no 3199 fi 3200 rm -f conftest.err conftest.$ac_objext \ 3647 3201 conftest$ac_exeext conftest.$ac_ext 3648 3202 LIBS=$ac_check_lib_save_LIBS 3649 3203 fi 3650 {echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&53651 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6 ; }3204 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 3205 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6 3652 3206 if test $ac_cv_lib_socket_puts = yes; then 3653 3207 cat >>confdefs.h <<_ACEOF … … 3660 3214 3661 3215 3662 {echo "$as_me:$LINENO: checking for puts in -lrt" >&53663 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6 ; }3216 echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3217 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6 3664 3218 if test "${ac_cv_lib_rt_puts+set}" = set; then 3665 3219 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3674 3228 /* end confdefs.h. */ 3675 3229 3676 /* Override any GCC internal prototype to avoid an error. 3677 Use char because int might match the return type of a GCC 3678 builtin and then its argument prototype would still apply. */ 3230 /* Override any gcc2 internal prototype to avoid an error. */ 3679 3231 #ifdef __cplusplus 3680 3232 extern "C" 3681 3233 #endif 3234 /* We use char because int might match the return type of a gcc2 3235 builtin and then its argument prototype would still apply. */ 3682 3236 char puts (); 3683 3237 int 3684 3238 main () 3685 3239 { 3686 returnputs ();3240 puts (); 3687 3241 ; 3688 3242 return 0; … … 3690 3244 _ACEOF 3691 3245 rm -f conftest.$ac_objext conftest$ac_exeext 3692 if { (ac_try="$ac_link" 3693 case "(($ac_try" in 3694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3695 *) ac_try_echo=$ac_try;; 3696 esac 3697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3698 (eval "$ac_link") 2>conftest.er1 3246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3247 (eval $ac_link) 2>conftest.er1 3699 3248 ac_status=$? 3700 3249 grep -v '^ *+' conftest.er1 >conftest.err … … 3702 3251 cat conftest.err >&5 3703 3252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3704 (exit $ac_status); } && { 3705 test -z "$ac_c_werror_flag" || 3706 test ! -s conftest.err 3707 } && test -s conftest$ac_exeext && 3708 $as_test_x conftest$ac_exeext; then 3253 (exit $ac_status); } && 3254 { ac_try='test -z "$ac_c_werror_flag" 3255 || test ! -s conftest.err' 3256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3257 (eval $ac_try) 2>&5 3258 ac_status=$? 3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3260 (exit $ac_status); }; } && 3261 { ac_try='test -s conftest$ac_exeext' 3262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3263 (eval $ac_try) 2>&5 3264 ac_status=$? 3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3266 (exit $ac_status); }; }; then 3709 3267 ac_cv_lib_rt_puts=yes 3710 3268 else … … 3712 3270 sed 's/^/| /' conftest.$ac_ext >&5 3713 3271 3714 ac_cv_lib_rt_puts=no 3715 fi 3716 3717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3272 ac_cv_lib_rt_puts=no 3273 fi 3274 rm -f conftest.err conftest.$ac_objext \ 3718 3275 conftest$ac_exeext conftest.$ac_ext 3719 3276 LIBS=$ac_check_lib_save_LIBS 3720 3277 fi 3721 {echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&53722 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6 ; }3278 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 3279 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6 3723 3280 if test $ac_cv_lib_rt_puts = yes; then 3724 3281 cat >>confdefs.h <<_ACEOF … … 3731 3288 3732 3289 3733 {echo "$as_me:$LINENO: checking for puts in -lnsl" >&53734 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6 ; }3290 echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3291 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6 3735 3292 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3736 3293 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3745 3302 /* end confdefs.h. */ 3746 3303 3747 /* Override any GCC internal prototype to avoid an error. 3748 Use char because int might match the return type of a GCC 3749 builtin and then its argument prototype would still apply. */ 3304 /* Override any gcc2 internal prototype to avoid an error. */ 3750 3305 #ifdef __cplusplus 3751 3306 extern "C" 3752 3307 #endif 3308 /* We use char because int might match the return type of a gcc2 3309 builtin and then its argument prototype would still apply. */ 3753 3310 char puts (); 3754 3311 int 3755 3312 main () 3756 3313 { 3757 returnputs ();3314 puts (); 3758 3315 ; 3759 3316 return 0; … … 3761 3318 _ACEOF 3762 3319 rm -f conftest.$ac_objext conftest$ac_exeext 3763 if { (ac_try="$ac_link" 3764 case "(($ac_try" in 3765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3766 *) ac_try_echo=$ac_try;; 3767 esac 3768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3769 (eval "$ac_link") 2>conftest.er1 3320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3321 (eval $ac_link) 2>conftest.er1 3770 3322 ac_status=$? 3771 3323 grep -v '^ *+' conftest.er1 >conftest.err … … 3773 3325 cat conftest.err >&5 3774 3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3775 (exit $ac_status); } && { 3776 test -z "$ac_c_werror_flag" || 3777 test ! -s conftest.err 3778 } && test -s conftest$ac_exeext && 3779 $as_test_x conftest$ac_exeext; then 3327 (exit $ac_status); } && 3328 { ac_try='test -z "$ac_c_werror_flag" 3329 || test ! -s conftest.err' 3330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3331 (eval $ac_try) 2>&5 3332 ac_status=$? 3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3334 (exit $ac_status); }; } && 3335 { ac_try='test -s conftest$ac_exeext' 3336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3337 (eval $ac_try) 2>&5 3338 ac_status=$? 3339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3340 (exit $ac_status); }; }; then 3780 3341 ac_cv_lib_nsl_puts=yes 3781 3342 else … … 3783 3344 sed 's/^/| /' conftest.$ac_ext >&5 3784 3345 3785 ac_cv_lib_nsl_puts=no 3786 fi 3787 3788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3346 ac_cv_lib_nsl_puts=no 3347 fi 3348 rm -f conftest.err conftest.$ac_objext \ 3789 3349 conftest$ac_exeext conftest.$ac_ext 3790 3350 LIBS=$ac_check_lib_save_LIBS 3791 3351 fi 3792 {echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&53793 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6 ; }3352 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 3353 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6 3794 3354 if test $ac_cv_lib_nsl_puts = yes; then 3795 3355 cat >>confdefs.h <<_ACEOF … … 3802 3362 3803 3363 3804 {echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53805 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 ; }3364 echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3365 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 3806 3366 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3807 3367 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3816 3376 /* end confdefs.h. */ 3817 3377 3818 /* Override any GCC internal prototype to avoid an error. 3819 Use char because int might match the return type of a GCC 3820 builtin and then its argument prototype would still apply. */ 3378 /* Override any gcc2 internal prototype to avoid an error. */ 3821 3379 #ifdef __cplusplus 3822 3380 extern "C" 3823 3381 #endif 3382 /* We use char because int might match the return type of a gcc2 3383 builtin and then its argument prototype would still apply. */ 3824 3384 char uuid_generate (); 3825 3385 int 3826 3386 main () 3827 3387 { 3828 returnuuid_generate ();3388 uuid_generate (); 3829 3389 ; 3830 3390 return 0; … … 3832 3392 _ACEOF 3833 3393 rm -f conftest.$ac_objext conftest$ac_exeext 3834 if { (ac_try="$ac_link" 3835 case "(($ac_try" in 3836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3837 *) ac_try_echo=$ac_try;; 3838 esac 3839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3840 (eval "$ac_link") 2>conftest.er1 3394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3395 (eval $ac_link) 2>conftest.er1 3841 3396 ac_status=$? 3842 3397 grep -v '^ *+' conftest.er1 >conftest.err … … 3844 3399 cat conftest.err >&5 3845 3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3846 (exit $ac_status); } && { 3847 test -z "$ac_c_werror_flag" || 3848 test ! -s conftest.err 3849 } && test -s conftest$ac_exeext && 3850 $as_test_x conftest$ac_exeext; then 3401 (exit $ac_status); } && 3402 { ac_try='test -z "$ac_c_werror_flag" 3403 || test ! -s conftest.err' 3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3405 (eval $ac_try) 2>&5 3406 ac_status=$? 3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3408 (exit $ac_status); }; } && 3409 { ac_try='test -s conftest$ac_exeext' 3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3411 (eval $ac_try) 2>&5 3412 ac_status=$? 3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3414 (exit $ac_status); }; }; then 3851 3415 ac_cv_lib_uuid_uuid_generate=yes 3852 3416 else … … 3854 3418 sed 's/^/| /' conftest.$ac_ext >&5 3855 3419 3856 ac_cv_lib_uuid_uuid_generate=no 3857 fi 3858 3859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3420 ac_cv_lib_uuid_uuid_generate=no 3421 fi 3422 rm -f conftest.err conftest.$ac_objext \ 3860 3423 conftest$ac_exeext conftest.$ac_ext 3861 3424 LIBS=$ac_check_lib_save_LIBS 3862 3425 fi 3863 {echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53864 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 ; }3426 echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3427 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 3865 3428 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3866 3429 cat >>confdefs.h <<_ACEOF … … 3872 3435 fi 3873 3436 3874 {echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53875 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 ; }3437 echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3438 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 3876 3439 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3877 3440 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3886 3449 /* end confdefs.h. */ 3887 3450 3888 /* Override any GCC internal prototype to avoid an error. 3889 Use char because int might match the return type of a GCC 3890 builtin and then its argument prototype would still apply. */ 3451 /* Override any gcc2 internal prototype to avoid an error. */ 3891 3452 #ifdef __cplusplus 3892 3453 extern "C" 3893 3454 #endif 3455 /* We use char because int might match the return type of a gcc2 3456 builtin and then its argument prototype would still apply. */ 3894 3457 char uuid_generate (); 3895 3458 int 3896 3459 main () 3897 3460 { 3898 returnuuid_generate ();3461 uuid_generate (); 3899 3462 ; 3900 3463 return 0; … … 3902 3465 _ACEOF 3903 3466 rm -f conftest.$ac_objext conftest$ac_exeext 3904 if { (ac_try="$ac_link" 3905 case "(($ac_try" in 3906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3907 *) ac_try_echo=$ac_try;; 3908 esac 3909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3910 (eval "$ac_link") 2>conftest.er1 3467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3468 (eval $ac_link) 2>conftest.er1 3911 3469 ac_status=$? 3912 3470 grep -v '^ *+' conftest.er1 >conftest.err … … 3914 3472 cat conftest.err >&5 3915 3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3916 (exit $ac_status); } && { 3917 test -z "$ac_c_werror_flag" || 3918 test ! -s conftest.err 3919 } && test -s conftest$ac_exeext && 3920 $as_test_x conftest$ac_exeext; then 3474 (exit $ac_status); } && 3475 { ac_try='test -z "$ac_c_werror_flag" 3476 || test ! -s conftest.err' 3477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3478 (eval $ac_try) 2>&5 3479 ac_status=$? 3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3481 (exit $ac_status); }; } && 3482 { ac_try='test -s conftest$ac_exeext' 3483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3484 (eval $ac_try) 2>&5 3485 ac_status=$? 3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3487 (exit $ac_status); }; }; then 3921 3488 ac_cv_lib_uuid_uuid_generate=yes 3922 3489 else … … 3924 3491 sed 's/^/| /' conftest.$ac_ext >&5 3925 3492 3926 ac_cv_lib_uuid_uuid_generate=no 3927 fi 3928 3929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3493 ac_cv_lib_uuid_uuid_generate=no 3494 fi 3495 rm -f conftest.err conftest.$ac_objext \ 3930 3496 conftest$ac_exeext conftest.$ac_ext 3931 3497 LIBS=$ac_check_lib_save_LIBS 3932 3498 fi 3933 {echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53934 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 ; }3499 echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3500 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 3935 3501 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3936 3502 ac_has_uuid_lib=1 … … 3938 3504 3939 3505 3940 {echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&53941 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6 ; }3506 echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 3507 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6 3942 3508 cat >>confdefs.h <<_ACEOF 3943 3509 #define PJ_M_NAME "$target_cpu" … … 3945 3511 3946 3512 3947 {echo "$as_me:$LINENO: checking memory alignment" >&53948 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6 ; }3513 echo "$as_me:$LINENO: checking memory alignment" >&5 3514 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6 3949 3515 case $target in 3950 3516 ia64-* | x86_64-* ) … … 3953 3519 _ACEOF 3954 3520 3955 {echo "$as_me:$LINENO: result: 8 bytes" >&53956 echo "${ECHO_T}8 bytes" >&6 ; }3521 echo "$as_me:$LINENO: result: 8 bytes" >&5 3522 echo "${ECHO_T}8 bytes" >&6 3957 3523 ;; 3958 3524 * ) … … 3961 3527 _ACEOF 3962 3528 3963 {echo "$as_me:$LINENO: result: 4 bytes (default)" >&53964 echo "${ECHO_T}4 bytes (default)" >&6 ; }3529 echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 3530 echo "${ECHO_T}4 bytes (default)" >&6 3965 3531 ;; 3966 3532 esac 3533 3534 3535 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 3536 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 3537 if test "${ac_cv_c_bigendian+set}" = set; then 3538 echo $ECHO_N "(cached) $ECHO_C" >&6 3539 else 3540 # See if sys/param.h defines the BYTE_ORDER macro. 3541 cat >conftest.$ac_ext <<_ACEOF 3542 /* confdefs.h. */ 3543 _ACEOF 3544 cat confdefs.h >>conftest.$ac_ext 3545 cat >>conftest.$ac_ext <<_ACEOF 3546 /* end confdefs.h. */ 3547 #include <sys/types.h> 3548 #include <sys/param.h> 3549 3550 int 3551 main () 3552 { 3553 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 3554 bogus endian macros 3555 #endif 3556 3557 ; 3558 return 0; 3559 } 3560 _ACEOF 3561 rm -f conftest.$ac_objext 3562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3563 (eval $ac_compile) 2>conftest.er1 3564 ac_status=$? 3565 grep -v '^ *+' conftest.er1 >conftest.err 3566 rm -f conftest.er1 3567 cat conftest.err >&5 3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3569 (exit $ac_status); } && 3570 { ac_try='test -z "$ac_c_werror_flag" 3571 || test ! -s conftest.err' 3572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3573 (eval $ac_try) 2>&5 3574 ac_status=$? 3575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3576 (exit $ac_status); }; } && 3577 { ac_try='test -s conftest.$ac_objext' 3578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3579 (eval $ac_try) 2>&5 3580 ac_status=$? 3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3582 (exit $ac_status); }; }; then 3583 # It does; now see whether it defined to BIG_ENDIAN or not. 3584 cat >conftest.$ac_ext <<_ACEOF 3585 /* confdefs.h. */ 3586 _ACEOF 3587 cat confdefs.h >>conftest.$ac_ext 3588 cat >>conftest.$ac_ext <<_ACEOF 3589 /* end confdefs.h. */ 3590 #include <sys/types.h> 3591 #include <sys/param.h> 3592 3593 int 3594 main () 3595 { 3596 #if BYTE_ORDER != BIG_ENDIAN 3597 not big endian 3598 #endif 3599 3600 ; 3601 return 0; 3602 } 3603 _ACEOF 3604 rm -f conftest.$ac_objext 3605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3606 (eval $ac_compile) 2>conftest.er1 3607 ac_status=$? 3608 grep -v '^ *+' conftest.er1 >conftest.err 3609 rm -f conftest.er1 3610 cat conftest.err >&5 3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3612 (exit $ac_status); } && 3613 { ac_try='test -z "$ac_c_werror_flag" 3614 || test ! -s conftest.err' 3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3616 (eval $ac_try) 2>&5 3617 ac_status=$? 3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3619 (exit $ac_status); }; } && 3620 { ac_try='test -s conftest.$ac_objext' 3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3622 (eval $ac_try) 2>&5 3623 ac_status=$? 3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3625 (exit $ac_status); }; }; then 3626 ac_cv_c_bigendian=yes 3627 else 3628 echo "$as_me: failed program was:" >&5 3629 sed 's/^/| /' conftest.$ac_ext >&5 3630 3631 ac_cv_c_bigendian=no 3632 fi 3633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3634 else 3635 echo "$as_me: failed program was:" >&5 3636 sed 's/^/| /' conftest.$ac_ext >&5 3637 3638 # It does not; compile a test program. 3639 if test "$cross_compiling" = yes; then 3640 # try to guess the endianness by grepping values into an object file 3641 ac_cv_c_bigendian=unknown 3642 cat >conftest.$ac_ext <<_ACEOF 3643 /* confdefs.h. */ 3644 _ACEOF 3645 cat confdefs.h >>conftest.$ac_ext 3646 cat >>conftest.$ac_ext <<_ACEOF 3647 /* end confdefs.h. */ 3648 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 3649 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 3650 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 3651 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 3652 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 3653 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 3654 int 3655 main () 3656 { 3657 _ascii (); _ebcdic (); 3658 ; 3659 return 0; 3660 } 3661 _ACEOF 3662 rm -f conftest.$ac_objext 3663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3664 (eval $ac_compile) 2>conftest.er1 3665 ac_status=$? 3666 grep -v '^ *+' conftest.er1 >conftest.err 3667 rm -f conftest.er1 3668 cat conftest.err >&5 3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3670 (exit $ac_status); } && 3671 { ac_try='test -z "$ac_c_werror_flag" 3672 || test ! -s conftest.err' 3673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3674 (eval $ac_try) 2>&5 3675 ac_status=$? 3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3677 (exit $ac_status); }; } && 3678 { ac_try='test -s conftest.$ac_objext' 3679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3680 (eval $ac_try) 2>&5 3681 ac_status=$? 3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3683 (exit $ac_status); }; }; then 3684 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 3685 ac_cv_c_bigendian=yes 3686 fi 3687 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 3688 if test "$ac_cv_c_bigendian" = unknown; then 3689 ac_cv_c_bigendian=no 3690 else 3691 # finding both strings is unlikely to happen, but who knows? 3692 ac_cv_c_bigendian=unknown 3693 fi 3694 fi 3695 else 3696 echo "$as_me: failed program was:" >&5 3697 sed 's/^/| /' conftest.$ac_ext >&5 3698 3699 fi 3700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3701 else 3702 cat >conftest.$ac_ext <<_ACEOF 3703 /* confdefs.h. */ 3704 _ACEOF 3705 cat confdefs.h >>conftest.$ac_ext 3706 cat >>conftest.$ac_ext <<_ACEOF 3707 /* end confdefs.h. */ 3708 int 3709 main () 3710 { 3711 /* Are we little or big endian? From Harbison&Steele. */ 3712 union 3713 { 3714 long l; 3715 char c[sizeof (long)]; 3716 } u; 3717 u.l = 1; 3718 exit (u.c[sizeof (long) - 1] == 1); 3719 } 3720 _ACEOF 3721 rm -f conftest$ac_exeext 3722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3723 (eval $ac_link) 2>&5 3724 ac_status=$? 3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3726 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3728 (eval $ac_try) 2>&5 3729 ac_status=$? 3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3731 (exit $ac_status); }; }; then 3732 ac_cv_c_bigendian=no 3733 else 3734 echo "$as_me: program exited with status $ac_status" >&5 3735 echo "$as_me: failed program was:" >&5 3736 sed 's/^/| /' conftest.$ac_ext >&5 3737 3738 ( exit $ac_status ) 3739 ac_cv_c_bigendian=yes 3740 fi 3741 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3742 fi 3743 fi 3744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3745 fi 3746 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 3747 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 3748 case $ac_cv_c_bigendian in 3749 yes) 3750 3751 cat >>confdefs.h <<\_ACEOF 3752 #define WORDS_BIGENDIAN 1 3753 _ACEOF 3754 ;; 3755 no) 3756 ;; 3757 *) 3758 { { echo "$as_me:$LINENO: error: unknown endianness 3759 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 3760 echo "$as_me: error: unknown endianness 3761 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 3762 { (exit 1); exit 1; }; } ;; 3763 esac 3764 3765 3766 case $target in 3767 *mingw* | *cygw* | *win32* | *w32* ) 3768 cat >>confdefs.h <<\_ACEOF 3769 #define PJ_WIN32 1 3770 _ACEOF 3771 3772 cat >>confdefs.h <<\_ACEOF 3773 #define PJ_WIN32_WINNT 0x0400 3774 _ACEOF 3775 3776 cat >>confdefs.h <<\_ACEOF 3777 #define WIN32_LEAN_AND_MEAN 1 3778 _ACEOF 3779 3780 ;; 3781 *darwin*) 3782 cat >>confdefs.h <<\_ACEOF 3783 #define PJ_DARWINOS 1 3784 _ACEOF 3785 3786 ;; 3787 *linux*) 3788 cat >>confdefs.h <<\_ACEOF 3789 #define PJ_LINUX 1 3790 _ACEOF 3791 3792 ;; 3793 *rtems*) 3794 cat >>confdefs.h <<\_ACEOF 3795 #define PJ_RTEMS 1 3796 _ACEOF 3797 3798 ;; 3799 *sunos* | *solaris* ) 3800 cat >>confdefs.h <<\_ACEOF 3801 #define PJ_SUNOS 1 3802 _ACEOF 3803 3804 ;; 3805 *) 3806 ;; 3807 esac 3808 3809 3810 3811 3812 # Check whether --enable-floating-point or --disable-floating-point was given. 3813 if test "${enable_floating_point+set}" = set; then 3814 enableval="$enable_floating_point" 3815 if test "$enable_floating_point" = "no"; then 3816 cat >>confdefs.h <<\_ACEOF 3817 #define PJ_HAS_FLOATING_POINT 0 3818 _ACEOF 3819 3820 echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 3821 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6 3822 fi 3823 else 3824 3825 cat >>confdefs.h <<\_ACEOF 3826 #define PJ_HAS_FLOATING_POINT 1 3827 _ACEOF 3828 3829 echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 3830 echo "${ECHO_T}Checking if floating point is disabled... no" >&6 3831 3832 echo "$as_me:$LINENO: checking for fmod in -lm" >&5 3833 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6 3834 if test "${ac_cv_lib_m_fmod+set}" = set; then 3835 echo $ECHO_N "(cached) $ECHO_C" >&6 3836 else 3837 ac_check_lib_save_LIBS=$LIBS 3838 LIBS="-lm $LIBS" 3839 cat >conftest.$ac_ext <<_ACEOF 3840 /* confdefs.h. */ 3841 _ACEOF 3842 cat confdefs.h >>conftest.$ac_ext 3843 cat >>conftest.$ac_ext <<_ACEOF 3844 /* end confdefs.h. */ 3845 3846 /* Override any gcc2 internal prototype to avoid an error. */ 3847 #ifdef __cplusplus 3848 extern "C" 3849 #endif 3850 /* We use char because int might match the return type of a gcc2 3851 builtin and then its argument prototype would still apply. */ 3852 char fmod (); 3853 int 3854 main () 3855 { 3856 fmod (); 3857 ; 3858 return 0; 3859 } 3860 _ACEOF 3861 rm -f conftest.$ac_objext conftest$ac_exeext 3862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3863 (eval $ac_link) 2>conftest.er1 3864 ac_status=$? 3865 grep -v '^ *+' conftest.er1 >conftest.err 3866 rm -f conftest.er1 3867 cat conftest.err >&5 3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3869 (exit $ac_status); } && 3870 { ac_try='test -z "$ac_c_werror_flag" 3871 || test ! -s conftest.err' 3872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3873 (eval $ac_try) 2>&5 3874 ac_status=$? 3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3876 (exit $ac_status); }; } && 3877 { ac_try='test -s conftest$ac_exeext' 3878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3879 (eval $ac_try) 2>&5 3880 ac_status=$? 3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3882 (exit $ac_status); }; }; then 3883 ac_cv_lib_m_fmod=yes 3884 else 3885 echo "$as_me: failed program was:" >&5 3886 sed 's/^/| /' conftest.$ac_ext >&5 3887 3888 ac_cv_lib_m_fmod=no 3889 fi 3890 rm -f conftest.err conftest.$ac_objext \ 3891 conftest$ac_exeext conftest.$ac_ext 3892 LIBS=$ac_check_lib_save_LIBS 3893 fi 3894 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 3895 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6 3896 if test $ac_cv_lib_m_fmod = yes; then 3897 cat >>confdefs.h <<_ACEOF 3898 #define HAVE_LIBM 1 3899 _ACEOF 3900 3901 LIBS="-lm $LIBS" 3902 3903 fi 3904 3905 3906 fi; 3967 3907 3968 3908 … … 3972 3912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3973 3913 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3974 {echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53975 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 ; }3914 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3915 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3976 3916 # On Suns, sometimes $CPP names a directory. 3977 3917 if test -n "$CPP" && test -d "$CPP"; then … … 4007 3947 Syntax error 4008 3948 _ACEOF 4009 if { (ac_try="$ac_cpp conftest.$ac_ext" 4010 case "(($ac_try" in 4011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4012 *) ac_try_echo=$ac_try;; 4013 esac 4014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3950 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4016 3951 ac_status=$? 4017 3952 grep -v '^ *+' conftest.er1 >conftest.err … … 4019 3954 cat conftest.err >&5 4020 3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4021 (exit $ac_status); } >/dev/null && { 4022 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4023 test ! -s conftest.err 4024 }; then 3956 (exit $ac_status); } >/dev/null; then 3957 if test -s conftest.err; then 3958 ac_cpp_err=$ac_c_preproc_warn_flag 3959 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3960 else 3961 ac_cpp_err= 3962 fi 3963 else 3964 ac_cpp_err=yes 3965 fi 3966 if test -z "$ac_cpp_err"; then 4025 3967 : 4026 3968 else … … 4031 3973 continue 4032 3974 fi 4033 4034 3975 rm -f conftest.err conftest.$ac_ext 4035 3976 4036 # OK, works on sane cases. Now check whether non existent headers3977 # OK, works on sane cases. Now check whether non-existent headers 4037 3978 # can be detected and how. 4038 3979 cat >conftest.$ac_ext <<_ACEOF … … 4044 3985 #include <ac_nonexistent.h> 4045 3986 _ACEOF 4046 if { (ac_try="$ac_cpp conftest.$ac_ext" 4047 case "(($ac_try" in 4048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4049 *) ac_try_echo=$ac_try;; 4050 esac 4051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4052 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3988 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4053 3989 ac_status=$? 4054 3990 grep -v '^ *+' conftest.er1 >conftest.err … … 4056 3992 cat conftest.err >&5 4057 3993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4058 (exit $ac_status); } >/dev/null && { 4059 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4060 test ! -s conftest.err 4061 }; then 3994 (exit $ac_status); } >/dev/null; then 3995 if test -s conftest.err; then 3996 ac_cpp_err=$ac_c_preproc_warn_flag 3997 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3998 else 3999 ac_cpp_err= 4000 fi 4001 else 4002 ac_cpp_err=yes 4003 fi 4004 if test -z "$ac_cpp_err"; then 4062 4005 # Broken: success on invalid input. 4063 4006 continue … … 4070 4013 break 4071 4014 fi 4072 4073 4015 rm -f conftest.err conftest.$ac_ext 4074 4016 … … 4088 4030 ac_cv_prog_CPP=$CPP 4089 4031 fi 4090 {echo "$as_me:$LINENO: result: $CPP" >&54091 echo "${ECHO_T}$CPP" >&6 ; }4032 echo "$as_me:$LINENO: result: $CPP" >&5 4033 echo "${ECHO_T}$CPP" >&6 4092 4034 ac_preproc_ok=false 4093 4035 for ac_c_preproc_warn_flag in '' yes … … 4112 4054 Syntax error 4113 4055 _ACEOF 4114 if { (ac_try="$ac_cpp conftest.$ac_ext" 4115 case "(($ac_try" in 4116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4117 *) ac_try_echo=$ac_try;; 4118 esac 4119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4120 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4057 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4121 4058 ac_status=$? 4122 4059 grep -v '^ *+' conftest.er1 >conftest.err … … 4124 4061 cat conftest.err >&5 4125 4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4126 (exit $ac_status); } >/dev/null && { 4127 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4128 test ! -s conftest.err 4129 }; then 4063 (exit $ac_status); } >/dev/null; then 4064 if test -s conftest.err; then 4065 ac_cpp_err=$ac_c_preproc_warn_flag 4066 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4067 else 4068 ac_cpp_err= 4069 fi 4070 else 4071 ac_cpp_err=yes 4072 fi 4073 if test -z "$ac_cpp_err"; then 4130 4074 : 4131 4075 else … … 4136 4080 continue 4137 4081 fi 4138 4139 4082 rm -f conftest.err conftest.$ac_ext 4140 4083 4141 # OK, works on sane cases. Now check whether non existent headers4084 # OK, works on sane cases. Now check whether non-existent headers 4142 4085 # can be detected and how. 4143 4086 cat >conftest.$ac_ext <<_ACEOF … … 4149 4092 #include <ac_nonexistent.h> 4150 4093 _ACEOF 4151 if { (ac_try="$ac_cpp conftest.$ac_ext" 4152 case "(($ac_try" in 4153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4154 *) ac_try_echo=$ac_try;; 4155 esac 4156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4157 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4158 4096 ac_status=$? 4159 4097 grep -v '^ *+' conftest.er1 >conftest.err … … 4161 4099 cat conftest.err >&5 4162 4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4163 (exit $ac_status); } >/dev/null && { 4164 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4165 test ! -s conftest.err 4166 }; then 4101 (exit $ac_status); } >/dev/null; then 4102 if test -s conftest.err; then 4103 ac_cpp_err=$ac_c_preproc_warn_flag 4104 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4105 else 4106 ac_cpp_err= 4107 fi 4108 else 4109 ac_cpp_err=yes 4110 fi 4111 if test -z "$ac_cpp_err"; then 4167 4112 # Broken: success on invalid input. 4168 4113 continue … … 4175 4120 break 4176 4121 fi 4177 4178 4122 rm -f conftest.err conftest.$ac_ext 4179 4123 … … 4198 4142 4199 4143 4200 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&54201 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }4202 if test "${ac_cv_p ath_GREP+set}" = set; then4144 echo "$as_me:$LINENO: checking for egrep" >&5 4145 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 4146 if test "${ac_cv_prog_egrep+set}" = set; then 4203 4147 echo $ECHO_N "(cached) $ECHO_C" >&6 4204 4148 else 4205 # Extract the first word of "grep ggrep" to use in msg output 4206 if test -z "$GREP"; then 4207 set dummy grep ggrep; ac_prog_name=$2 4208 if test "${ac_cv_path_GREP+set}" = set; then 4209 echo $ECHO_N "(cached) $ECHO_C" >&6 4210 else 4211 ac_path_GREP_found=false 4212 # Loop through the user's path and test for each of PROGNAME-LIST 4213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4214 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4215 do 4216 IFS=$as_save_IFS 4217 test -z "$as_dir" && as_dir=. 4218 for ac_prog in grep ggrep; do 4219 for ac_exec_ext in '' $ac_executable_extensions; do 4220 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4221 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4222 # Check for GNU ac_path_GREP and select it if it is found. 4223 # Check for GNU $ac_path_GREP 4224 case `"$ac_path_GREP" --version 2>&1` in 4225 *GNU*) 4226 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4227 *) 4228 ac_count=0 4229 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4230 while : 4231 do 4232 cat "conftest.in" "conftest.in" >"conftest.tmp" 4233 mv "conftest.tmp" "conftest.in" 4234 cp "conftest.in" "conftest.nl" 4235 echo 'GREP' >> "conftest.nl" 4236 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4237 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4238 ac_count=`expr $ac_count + 1` 4239 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4240 # Best one so far, save it but keep looking for a better one 4241 ac_cv_path_GREP="$ac_path_GREP" 4242 ac_path_GREP_max=$ac_count 4149 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 4150 then ac_cv_prog_egrep='grep -E' 4151 else ac_cv_prog_egrep='egrep' 4243 4152 fi 4244 # 10*(2^10) chars as input seems more than enough 4245 test $ac_count -gt 10 && break 4246 done 4247 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4248 esac 4249 4250 4251 $ac_path_GREP_found && break 3 4252 done 4253 done 4254 4255 done 4256 IFS=$as_save_IFS 4257 4258 4259 fi 4260 4261 GREP="$ac_cv_path_GREP" 4262 if test -z "$GREP"; then 4263 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4264 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4265 { (exit 1); exit 1; }; } 4266 fi 4267 4268 else 4269 ac_cv_path_GREP=$GREP 4270 fi 4271 4272 4273 fi 4274 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4275 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4276 GREP="$ac_cv_path_GREP" 4277 4278 4279 { echo "$as_me:$LINENO: checking for egrep" >&5 4280 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4281 if test "${ac_cv_path_EGREP+set}" = set; then 4282 echo $ECHO_N "(cached) $ECHO_C" >&6 4283 else 4284 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4285 then ac_cv_path_EGREP="$GREP -E" 4286 else 4287 # Extract the first word of "egrep" to use in msg output 4288 if test -z "$EGREP"; then 4289 set dummy egrep; ac_prog_name=$2 4290 if test "${ac_cv_path_EGREP+set}" = set; then 4291 echo $ECHO_N "(cached) $ECHO_C" >&6 4292 else 4293 ac_path_EGREP_found=false 4294 # Loop through the user's path and test for each of PROGNAME-LIST 4295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4296 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4297 do 4298 IFS=$as_save_IFS 4299 test -z "$as_dir" && as_dir=. 4300 for ac_prog in egrep; do 4301 for ac_exec_ext in '' $ac_executable_extensions; do 4302 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4303 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4304 # Check for GNU ac_path_EGREP and select it if it is found. 4305 # Check for GNU $ac_path_EGREP 4306 case `"$ac_path_EGREP" --version 2>&1` in 4307 *GNU*) 4308 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4309 *) 4310 ac_count=0 4311 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4312 while : 4313 do 4314 cat "conftest.in" "conftest.in" >"conftest.tmp" 4315 mv "conftest.tmp" "conftest.in" 4316 cp "conftest.in" "conftest.nl" 4317 echo 'EGREP' >> "conftest.nl" 4318 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4319 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4320 ac_count=`expr $ac_count + 1` 4321 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4322 # Best one so far, save it but keep looking for a better one 4323 ac_cv_path_EGREP="$ac_path_EGREP" 4324 ac_path_EGREP_max=$ac_count 4325 fi 4326 # 10*(2^10) chars as input seems more than enough 4327 test $ac_count -gt 10 && break 4328 done 4329 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4330 esac 4331 4332 4333 $ac_path_EGREP_found && break 3 4334 done 4335 done 4336 4337 done 4338 IFS=$as_save_IFS 4339 4340 4341 fi 4342 4343 EGREP="$ac_cv_path_EGREP" 4344 if test -z "$EGREP"; then 4345 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4346 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4347 { (exit 1); exit 1; }; } 4348 fi 4349 4350 else 4351 ac_cv_path_EGREP=$EGREP 4352 fi 4353 4354 4355 fi 4356 fi 4357 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4358 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4359 EGREP="$ac_cv_path_EGREP" 4360 4361 4362 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4363 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4153 fi 4154 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 4155 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 4156 EGREP=$ac_cv_prog_egrep 4157 4158 4159 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4160 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4364 4161 if test "${ac_cv_header_stdc+set}" = set; then 4365 4162 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4385 4182 _ACEOF 4386 4183 rm -f conftest.$ac_objext 4387 if { (ac_try="$ac_compile" 4388 case "(($ac_try" in 4389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4390 *) ac_try_echo=$ac_try;; 4391 esac 4392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4393 (eval "$ac_compile") 2>conftest.er1 4184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4185 (eval $ac_compile) 2>conftest.er1 4394 4186 ac_status=$? 4395 4187 grep -v '^ *+' conftest.er1 >conftest.err … … 4397 4189 cat conftest.err >&5 4398 4190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4399 (exit $ac_status); } && { 4400 test -z "$ac_c_werror_flag" || 4401 test ! -s conftest.err 4402 } && test -s conftest.$ac_objext; then 4191 (exit $ac_status); } && 4192 { ac_try='test -z "$ac_c_werror_flag" 4193 || test ! -s conftest.err' 4194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4195 (eval $ac_try) 2>&5 4196 ac_status=$? 4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4198 (exit $ac_status); }; } && 4199 { ac_try='test -s conftest.$ac_objext' 4200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4201 (eval $ac_try) 2>&5 4202 ac_status=$? 4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4204 (exit $ac_status); }; }; then 4403 4205 ac_cv_header_stdc=yes 4404 4206 else … … 4406 4208 sed 's/^/| /' conftest.$ac_ext >&5 4407 4209 4408 ac_cv_header_stdc=no 4409 fi 4410 4411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4210 ac_cv_header_stdc=no 4211 fi 4212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4412 4213 4413 4214 if test $ac_cv_header_stdc = yes; then … … 4465 4266 /* end confdefs.h. */ 4466 4267 #include <ctype.h> 4467 #include <stdlib.h>4468 4268 #if ((' ' & 0x0FF) == 0x020) 4469 4269 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4485 4285 if (XOR (islower (i), ISLOWER (i)) 4486 4286 || toupper (i) != TOUPPER (i)) 4487 return 2;4488 return 0;4287 exit(2); 4288 exit (0); 4489 4289 } 4490 4290 _ACEOF 4491 4291 rm -f conftest$ac_exeext 4492 if { (ac_try="$ac_link" 4493 case "(($ac_try" in 4494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4495 *) ac_try_echo=$ac_try;; 4496 esac 4497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4498 (eval "$ac_link") 2>&5 4292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4293 (eval $ac_link) 2>&5 4499 4294 ac_status=$? 4500 4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4501 4296 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4502 { (case "(($ac_try" in 4503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4504 *) ac_try_echo=$ac_try;; 4505 esac 4506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4507 (eval "$ac_try") 2>&5 4297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4298 (eval $ac_try) 2>&5 4508 4299 ac_status=$? 4509 4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4518 4309 ac_cv_header_stdc=no 4519 4310 fi 4520 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4521 fi 4522 4523 4524 fi 4525 fi 4526 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4527 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4311 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4312 fi 4313 fi 4314 fi 4315 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4316 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4528 4317 if test $ac_cv_header_stdc = yes; then 4529 4318 … … 4548 4337 do 4549 4338 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4550 {echo "$as_me:$LINENO: checking for $ac_header" >&54551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ; }4552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then4339 echo "$as_me:$LINENO: checking for $ac_header" >&5 4340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4341 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4553 4342 echo $ECHO_N "(cached) $ECHO_C" >&6 4554 4343 else … … 4564 4353 _ACEOF 4565 4354 rm -f conftest.$ac_objext 4566 if { (ac_try="$ac_compile" 4567 case "(($ac_try" in 4568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4569 *) ac_try_echo=$ac_try;; 4570 esac 4571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4572 (eval "$ac_compile") 2>conftest.er1 4355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4356 (eval $ac_compile) 2>conftest.er1 4573 4357 ac_status=$? 4574 4358 grep -v '^ *+' conftest.er1 >conftest.err … … 4576 4360 cat conftest.err >&5 4577 4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4578 (exit $ac_status); } && { 4579 test -z "$ac_c_werror_flag" || 4580 test ! -s conftest.err 4581 } && test -s conftest.$ac_objext; then 4362 (exit $ac_status); } && 4363 { ac_try='test -z "$ac_c_werror_flag" 4364 || test ! -s conftest.err' 4365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4366 (eval $ac_try) 2>&5 4367 ac_status=$? 4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4369 (exit $ac_status); }; } && 4370 { ac_try='test -s conftest.$ac_objext' 4371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4372 (eval $ac_try) 2>&5 4373 ac_status=$? 4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4375 (exit $ac_status); }; }; then 4582 4376 eval "$as_ac_Header=yes" 4583 4377 else … … 4585 4379 sed 's/^/| /' conftest.$ac_ext >&5 4586 4380 4587 eval "$as_ac_Header=no" 4588 fi 4589 4590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4591 fi 4592 ac_res=`eval echo '${'$as_ac_Header'}'` 4593 { echo "$as_me:$LINENO: result: $ac_res" >&5 4594 echo "${ECHO_T}$ac_res" >&6; } 4381 eval "$as_ac_Header=no" 4382 fi 4383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4384 fi 4385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4595 4387 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4596 4388 cat >>confdefs.h <<_ACEOF … … 4603 4395 4604 4396 4605 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&54606 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }4607 if test "${ac_cv_c_bigendian+set}" = set; then4608 echo $ECHO_N "(cached) $ECHO_C" >&64609 else4610 # See if sys/param.h defines the BYTE_ORDER macro.4611 cat >conftest.$ac_ext <<_ACEOF4612 /* confdefs.h. */4613 _ACEOF4614 cat confdefs.h >>conftest.$ac_ext4615 cat >>conftest.$ac_ext <<_ACEOF4616 /* end confdefs.h. */4617 #include <sys/types.h>4618 #include <sys/param.h>4619 4620 int4621 main ()4622 {4623 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \4624 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)4625 bogus endian macros4626 #endif4627 4628 ;4629 return 0;4630 }4631 _ACEOF4632 rm -f conftest.$ac_objext4633 if { (ac_try="$ac_compile"4634 case "(($ac_try" in4635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4636 *) ac_try_echo=$ac_try;;4637 esac4638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54639 (eval "$ac_compile") 2>conftest.er14640 ac_status=$?4641 grep -v '^ *+' conftest.er1 >conftest.err4642 rm -f conftest.er14643 cat conftest.err >&54644 echo "$as_me:$LINENO: \$? = $ac_status" >&54645 (exit $ac_status); } && {4646 test -z "$ac_c_werror_flag" ||4647 test ! -s conftest.err4648 } && test -s conftest.$ac_objext; then4649 # It does; now see whether it defined to BIG_ENDIAN or not.4650 cat >conftest.$ac_ext <<_ACEOF4651 /* confdefs.h. */4652 _ACEOF4653 cat confdefs.h >>conftest.$ac_ext4654 cat >>conftest.$ac_ext <<_ACEOF4655 /* end confdefs.h. */4656 #include <sys/types.h>4657 #include <sys/param.h>4658 4659 int4660 main ()4661 {4662 #if BYTE_ORDER != BIG_ENDIAN4663 not big endian4664 #endif4665 4666 ;4667 return 0;4668 }4669 _ACEOF4670 rm -f conftest.$ac_objext4671 if { (ac_try="$ac_compile"4672 case "(($ac_try" in4673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4674 *) ac_try_echo=$ac_try;;4675 esac4676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54677 (eval "$ac_compile") 2>conftest.er14678 ac_status=$?4679 grep -v '^ *+' conftest.er1 >conftest.err4680 rm -f conftest.er14681 cat conftest.err >&54682 echo "$as_me:$LINENO: \$? = $ac_status" >&54683 (exit $ac_status); } && {4684 test -z "$ac_c_werror_flag" ||4685 test ! -s conftest.err4686 } && test -s conftest.$ac_objext; then4687 ac_cv_c_bigendian=yes4688 else4689 echo "$as_me: failed program was:" >&54690 sed 's/^/| /' conftest.$ac_ext >&54691 4692 ac_cv_c_bigendian=no4693 fi4694 4695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4696 else4697 echo "$as_me: failed program was:" >&54698 sed 's/^/| /' conftest.$ac_ext >&54699 4700 # It does not; compile a test program.4701 if test "$cross_compiling" = yes; then4702 # try to guess the endianness by grepping values into an object file4703 ac_cv_c_bigendian=unknown4704 cat >conftest.$ac_ext <<_ACEOF4705 /* confdefs.h. */4706 _ACEOF4707 cat confdefs.h >>conftest.$ac_ext4708 cat >>conftest.$ac_ext <<_ACEOF4709 /* end confdefs.h. */4710 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };4711 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };4712 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }4713 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };4714 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };4715 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }4716 int4717 main ()4718 {4719 _ascii (); _ebcdic ();4720 ;4721 return 0;4722 }4723 _ACEOF4724 rm -f conftest.$ac_objext4725 if { (ac_try="$ac_compile"4726 case "(($ac_try" in4727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4728 *) ac_try_echo=$ac_try;;4729 esac4730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54731 (eval "$ac_compile") 2>conftest.er14732 ac_status=$?4733 grep -v '^ *+' conftest.er1 >conftest.err4734 rm -f conftest.er14735 cat conftest.err >&54736 echo "$as_me:$LINENO: \$? = $ac_status" >&54737 (exit $ac_status); } && {4738 test -z "$ac_c_werror_flag" ||4739 test ! -s conftest.err4740 } && test -s conftest.$ac_objext; then4741 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then4742 ac_cv_c_bigendian=yes4743 fi4744 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then4745 if test "$ac_cv_c_bigendian" = unknown; then4746 ac_cv_c_bigendian=no4747 else4748 # finding both strings is unlikely to happen, but who knows?4749 ac_cv_c_bigendian=unknown4750 fi4751 fi4752 else4753 echo "$as_me: failed program was:" >&54754 sed 's/^/| /' conftest.$ac_ext >&54755 4756 4757 fi4758 4759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4760 else4761 cat >conftest.$ac_ext <<_ACEOF4762 /* confdefs.h. */4763 _ACEOF4764 cat confdefs.h >>conftest.$ac_ext4765 cat >>conftest.$ac_ext <<_ACEOF4766 /* end confdefs.h. */4767 $ac_includes_default4768 int4769 main ()4770 {4771 4772 /* Are we little or big endian? From Harbison&Steele. */4773 union4774 {4775 long int l;4776 char c[sizeof (long int)];4777 } u;4778 u.l = 1;4779 return u.c[sizeof (long int) - 1] == 1;4780 4781 ;4782 return 0;4783 }4784 _ACEOF4785 rm -f conftest$ac_exeext4786 if { (ac_try="$ac_link"4787 case "(($ac_try" in4788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4789 *) ac_try_echo=$ac_try;;4790 esac4791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54792 (eval "$ac_link") 2>&54793 ac_status=$?4794 echo "$as_me:$LINENO: \$? = $ac_status" >&54795 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'4796 { (case "(($ac_try" in4797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4798 *) ac_try_echo=$ac_try;;4799 esac4800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54801 (eval "$ac_try") 2>&54802 ac_status=$?4803 echo "$as_me:$LINENO: \$? = $ac_status" >&54804 (exit $ac_status); }; }; then4805 ac_cv_c_bigendian=no4806 else4807 echo "$as_me: program exited with status $ac_status" >&54808 echo "$as_me: failed program was:" >&54809 sed 's/^/| /' conftest.$ac_ext >&54810 4811 ( exit $ac_status )4812 ac_cv_c_bigendian=yes4813 fi4814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext4815 fi4816 4817 4818 fi4819 4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4821 fi4822 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&54823 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }4824 case $ac_cv_c_bigendian in4825 yes)4826 4827 cat >>confdefs.h <<\_ACEOF4828 #define WORDS_BIGENDIAN 14829 _ACEOF4830 ;;4831 no)4832 ;;4833 *)4834 { { echo "$as_me:$LINENO: error: unknown endianness4835 presetting ac_cv_c_bigendian=no (or yes) will help" >&54836 echo "$as_me: error: unknown endianness4837 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}4838 { (exit 1); exit 1; }; } ;;4839 esac4840 4841 4842 case $target in4843 *mingw* | *cygw* | *win32* | *w32* )4844 cat >>confdefs.h <<\_ACEOF4845 #define PJ_WIN32 14846 _ACEOF4847 4848 cat >>confdefs.h <<\_ACEOF4849 #define PJ_WIN32_WINNT 0x04004850 _ACEOF4851 4852 cat >>confdefs.h <<\_ACEOF4853 #define WIN32_LEAN_AND_MEAN 14854 _ACEOF4855 4856 ;;4857 *darwin*)4858 cat >>confdefs.h <<\_ACEOF4859 #define PJ_DARWINOS 14860 _ACEOF4861 4862 ;;4863 *linux*)4864 cat >>confdefs.h <<\_ACEOF4865 #define PJ_LINUX 14866 _ACEOF4867 4868 ;;4869 *rtems*)4870 cat >>confdefs.h <<\_ACEOF4871 #define PJ_RTEMS 14872 _ACEOF4873 4874 ;;4875 *sunos* | *solaris* )4876 cat >>confdefs.h <<\_ACEOF4877 #define PJ_SUNOS 14878 _ACEOF4879 4880 ;;4881 *)4882 ;;4883 esac4884 4885 4886 4887 4888 # Check whether --enable-floating-point was given.4889 if test "${enable_floating_point+set}" = set; then4890 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then4891 cat >>confdefs.h <<\_ACEOF4892 #define PJ_HAS_FLOATING_POINT 04893 _ACEOF4894 4895 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&54896 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; }4897 fi4898 else4899 4900 cat >>confdefs.h <<\_ACEOF4901 #define PJ_HAS_FLOATING_POINT 14902 _ACEOF4903 4904 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&54905 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; }4906 4907 { echo "$as_me:$LINENO: checking for fmod in -lm" >&54908 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; }4909 if test "${ac_cv_lib_m_fmod+set}" = set; then4910 echo $ECHO_N "(cached) $ECHO_C" >&64911 else4912 ac_check_lib_save_LIBS=$LIBS4913 LIBS="-lm $LIBS"4914 cat >conftest.$ac_ext <<_ACEOF4915 /* confdefs.h. */4916 _ACEOF4917 cat confdefs.h >>conftest.$ac_ext4918 cat >>conftest.$ac_ext <<_ACEOF4919 /* end confdefs.h. */4920 4921 /* Override any GCC internal prototype to avoid an error.4922 Use char because int might match the return type of a GCC4923 builtin and then its argument prototype would still apply. */4924 #ifdef __cplusplus4925 extern "C"4926 #endif4927 char fmod ();4928 int4929 main ()4930 {4931 return fmod ();4932 ;4933 return 0;4934 }4935 _ACEOF4936 rm -f conftest.$ac_objext conftest$ac_exeext4937 if { (ac_try="$ac_link"4938 case "(($ac_try" in4939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4940 *) ac_try_echo=$ac_try;;4941 esac4942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54943 (eval "$ac_link") 2>conftest.er14944 ac_status=$?4945 grep -v '^ *+' conftest.er1 >conftest.err4946 rm -f conftest.er14947 cat conftest.err >&54948 echo "$as_me:$LINENO: \$? = $ac_status" >&54949 (exit $ac_status); } && {4950 test -z "$ac_c_werror_flag" ||4951 test ! -s conftest.err4952 } && test -s conftest$ac_exeext &&4953 $as_test_x conftest$ac_exeext; then4954 ac_cv_lib_m_fmod=yes4955 else4956 echo "$as_me: failed program was:" >&54957 sed 's/^/| /' conftest.$ac_ext >&54958 4959 ac_cv_lib_m_fmod=no4960 fi4961 4962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \4963 conftest$ac_exeext conftest.$ac_ext4964 LIBS=$ac_check_lib_save_LIBS4965 fi4966 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&54967 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; }4968 if test $ac_cv_lib_m_fmod = yes; then4969 cat >>confdefs.h <<_ACEOF4970 #define HAVE_LIBM 14971 _ACEOF4972 4973 LIBS="-lm $LIBS"4974 4975 fi4976 4977 4978 fi4979 4980 4981 4982 4397 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4983 {echo "$as_me:$LINENO: checking for arpa/inet.h" >&54984 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 ; }4398 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 4399 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 4985 4400 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4986 4401 echo $ECHO_N "(cached) $ECHO_C" >&6 4987 4402 fi 4988 {echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&54989 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 ; }4403 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 4404 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 4990 4405 else 4991 4406 # Is the header compilable? 4992 {echo "$as_me:$LINENO: checking arpa/inet.h usability" >&54993 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 ; }4407 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 4408 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 4994 4409 cat >conftest.$ac_ext <<_ACEOF 4995 4410 /* confdefs.h. */ … … 5002 4417 _ACEOF 5003 4418 rm -f conftest.$ac_objext 5004 if { (ac_try="$ac_compile" 5005 case "(($ac_try" in 5006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5007 *) ac_try_echo=$ac_try;; 5008 esac 5009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5010 (eval "$ac_compile") 2>conftest.er1 4419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4420 (eval $ac_compile) 2>conftest.er1 5011 4421 ac_status=$? 5012 4422 grep -v '^ *+' conftest.er1 >conftest.err … … 5014 4424 cat conftest.err >&5 5015 4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5016 (exit $ac_status); } && { 5017 test -z "$ac_c_werror_flag" || 5018 test ! -s conftest.err 5019 } && test -s conftest.$ac_objext; then 4426 (exit $ac_status); } && 4427 { ac_try='test -z "$ac_c_werror_flag" 4428 || test ! -s conftest.err' 4429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4430 (eval $ac_try) 2>&5 4431 ac_status=$? 4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4433 (exit $ac_status); }; } && 4434 { ac_try='test -s conftest.$ac_objext' 4435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4436 (eval $ac_try) 2>&5 4437 ac_status=$? 4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4439 (exit $ac_status); }; }; then 5020 4440 ac_header_compiler=yes 5021 4441 else … … 5023 4443 sed 's/^/| /' conftest.$ac_ext >&5 5024 4444 5025 ac_header_compiler=no 5026 fi 5027 5028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5029 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5030 echo "${ECHO_T}$ac_header_compiler" >&6; } 4445 ac_header_compiler=no 4446 fi 4447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4449 echo "${ECHO_T}$ac_header_compiler" >&6 5031 4450 5032 4451 # Is the header present? 5033 {echo "$as_me:$LINENO: checking arpa/inet.h presence" >&55034 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 ; }4452 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 4453 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 5035 4454 cat >conftest.$ac_ext <<_ACEOF 5036 4455 /* confdefs.h. */ … … 5041 4460 #include <arpa/inet.h> 5042 4461 _ACEOF 5043 if { (ac_try="$ac_cpp conftest.$ac_ext" 5044 case "(($ac_try" in 5045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5046 *) ac_try_echo=$ac_try;; 5047 esac 5048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5049 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5050 4464 ac_status=$? 5051 4465 grep -v '^ *+' conftest.er1 >conftest.err … … 5053 4467 cat conftest.err >&5 5054 4468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5055 (exit $ac_status); } >/dev/null && { 5056 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5057 test ! -s conftest.err 5058 }; then 4469 (exit $ac_status); } >/dev/null; then 4470 if test -s conftest.err; then 4471 ac_cpp_err=$ac_c_preproc_warn_flag 4472 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4473 else 4474 ac_cpp_err= 4475 fi 4476 else 4477 ac_cpp_err=yes 4478 fi 4479 if test -z "$ac_cpp_err"; then 5059 4480 ac_header_preproc=yes 5060 4481 else … … 5064 4485 ac_header_preproc=no 5065 4486 fi 5066 5067 4487 rm -f conftest.err conftest.$ac_ext 5068 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&55069 echo "${ECHO_T}$ac_header_preproc" >&6 ; }4488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4489 echo "${ECHO_T}$ac_header_preproc" >&6 5070 4490 5071 4491 # So? What about this header? … … 5091 4511 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 5092 4512 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 5093 4513 ( 4514 cat <<\_ASBOX 4515 ## ------------------------------------ ## 4516 ## Report this to the pjproject lists. ## 4517 ## ------------------------------------ ## 4518 _ASBOX 4519 ) | 4520 sed "s/^/$as_me: WARNING: /" >&2 5094 4521 ;; 5095 4522 esac 5096 {echo "$as_me:$LINENO: checking for arpa/inet.h" >&55097 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 ; }4523 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 4524 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 5098 4525 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5099 4526 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5101 4528 ac_cv_header_arpa_inet_h=$ac_header_preproc 5102 4529 fi 5103 {echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&55104 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 ; }4530 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 4531 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 5105 4532 5106 4533 fi … … 5114 4541 5115 4542 if test "${ac_cv_header_assert_h+set}" = set; then 5116 {echo "$as_me:$LINENO: checking for assert.h" >&55117 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 ; }4543 echo "$as_me:$LINENO: checking for assert.h" >&5 4544 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 5118 4545 if test "${ac_cv_header_assert_h+set}" = set; then 5119 4546 echo $ECHO_N "(cached) $ECHO_C" >&6 5120 4547 fi 5121 {echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&55122 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 ; }4548 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 4549 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 5123 4550 else 5124 4551 # Is the header compilable? 5125 {echo "$as_me:$LINENO: checking assert.h usability" >&55126 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6 ; }4552 echo "$as_me:$LINENO: checking assert.h usability" >&5 4553 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6 5127 4554 cat >conftest.$ac_ext <<_ACEOF 5128 4555 /* confdefs.h. */ … … 5135 4562 _ACEOF 5136 4563 rm -f conftest.$ac_objext 5137 if { (ac_try="$ac_compile" 5138 case "(($ac_try" in 5139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5140 *) ac_try_echo=$ac_try;; 5141 esac 5142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5143 (eval "$ac_compile") 2>conftest.er1 4564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4565 (eval $ac_compile) 2>conftest.er1 5144 4566 ac_status=$? 5145 4567 grep -v '^ *+' conftest.er1 >conftest.err … … 5147 4569 cat conftest.err >&5 5148 4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5149 (exit $ac_status); } && { 5150 test -z "$ac_c_werror_flag" || 5151 test ! -s conftest.err 5152 } && test -s conftest.$ac_objext; then 4571 (exit $ac_status); } && 4572 { ac_try='test -z "$ac_c_werror_flag" 4573 || test ! -s conftest.err' 4574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4575 (eval $ac_try) 2>&5 4576 ac_status=$? 4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4578 (exit $ac_status); }; } && 4579 { ac_try='test -s conftest.$ac_objext' 4580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4581 (eval $ac_try) 2>&5 4582 ac_status=$? 4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4584 (exit $ac_status); }; }; then 5153 4585 ac_header_compiler=yes 5154 4586 else … … 5156 4588 sed 's/^/| /' conftest.$ac_ext >&5 5157 4589 5158 ac_header_compiler=no 5159 fi 5160 5161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5162 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5163 echo "${ECHO_T}$ac_header_compiler" >&6; } 4590 ac_header_compiler=no 4591 fi 4592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4594 echo "${ECHO_T}$ac_header_compiler" >&6 5164 4595 5165 4596 # Is the header present? 5166 {echo "$as_me:$LINENO: checking assert.h presence" >&55167 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6 ; }4597 echo "$as_me:$LINENO: checking assert.h presence" >&5 4598 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6 5168 4599 cat >conftest.$ac_ext <<_ACEOF 5169 4600 /* confdefs.h. */ … … 5174 4605 #include <assert.h> 5175 4606 _ACEOF 5176 if { (ac_try="$ac_cpp conftest.$ac_ext" 5177 case "(($ac_try" in 5178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5179 *) ac_try_echo=$ac_try;; 5180 esac 5181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5182 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5183 4609 ac_status=$? 5184 4610 grep -v '^ *+' conftest.er1 >conftest.err … … 5186 4612 cat conftest.err >&5 5187 4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5188 (exit $ac_status); } >/dev/null && { 5189 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5190 test ! -s conftest.err 5191 }; then 4614 (exit $ac_status); } >/dev/null; then 4615 if test -s conftest.err; then 4616 ac_cpp_err=$ac_c_preproc_warn_flag 4617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4618 else 4619 ac_cpp_err= 4620 fi 4621 else 4622 ac_cpp_err=yes 4623 fi 4624 if test -z "$ac_cpp_err"; then 5192 4625 ac_header_preproc=yes 5193 4626 else … … 5197 4630 ac_header_preproc=no 5198 4631 fi 5199 5200 4632 rm -f conftest.err conftest.$ac_ext 5201 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&55202 echo "${ECHO_T}$ac_header_preproc" >&6 ; }4633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4634 echo "${ECHO_T}$ac_header_preproc" >&6 5203 4635 5204 4636 # So? What about this header? … … 5224 4656 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 5225 4657 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 5226 4658 ( 4659 cat <<\_ASBOX 4660 ## ------------------------------------ ## 4661 ## Report this to the pjproject lists. ## 4662 ## ------------------------------------ ## 4663 _ASBOX 4664 ) | 4665 sed "s/^/$as_me: WARNING: /" >&2 5227 4666 ;; 5228 4667 esac 5229 {echo "$as_me:$LINENO: checking for assert.h" >&55230 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 ; }4668 echo "$as_me:$LINENO: checking for assert.h" >&5 4669 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 5231 4670 if test "${ac_cv_header_assert_h+set}" = set; then 5232 4671 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5234 4673 ac_cv_header_assert_h=$ac_header_preproc 5235 4674 fi 5236 {echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&55237 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 ; }4675 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 4676 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 5238 4677 5239 4678 fi … … 5247 4686 5248 4687 if test "${ac_cv_header_ctype_h+set}" = set; then 5249 {echo "$as_me:$LINENO: checking for ctype.h" >&55250 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 ; }4688 echo "$as_me:$LINENO: checking for ctype.h" >&5 4689 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 5251 4690 if test "${ac_cv_header_ctype_h+set}" = set; then 5252 4691 echo $ECHO_N "(cached) $ECHO_C" >&6 5253 4692 fi 5254 {echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&55255 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 ; }4693 echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 4694 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 5256 4695 else 5257 4696 # Is the header compilable? 5258 {echo "$as_me:$LINENO: checking ctype.h usability" >&55259 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6 ; }4697 echo "$as_me:$LINENO: checking ctype.h usability" >&5 4698 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6 5260 4699 cat >conftest.$ac_ext <<_ACEOF 5261 4700 /* confdefs.h. */ … … 5268 4707 _ACEOF 5269 4708 rm -f conftest.$ac_objext 5270 if { (ac_try="$ac_compile" 5271 case "(($ac_try" in 5272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5273 *) ac_try_echo=$ac_try;; 5274 esac 5275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5276 (eval "$ac_compile") 2>conftest.er1 4709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4710 (eval $ac_compile) 2>conftest.er1 5277 4711 ac_status=$? 5278 4712 grep -v '^ *+' conftest.er1 >conftest.err … … 5280 4714 cat conftest.err >&5 5281 4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5282 (exit $ac_status); } && { 5283 test -z "$ac_c_werror_flag" || 5284 test ! -s conftest.err 5285 } && test -s conftest.$ac_objext; then 4716 (exit $ac_status); } && 4717 { ac_try='test -z "$ac_c_werror_flag" 4718 || test ! -s conftest.err' 4719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4720 (eval $ac_try) 2>&5 4721 ac_status=$? 4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4723 (exit $ac_status); }; } && 4724 { ac_try='test -s conftest.$ac_objext' 4725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4726 (eval $ac_try) 2>&5 4727 ac_status=$? 4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4729 (exit $ac_status); }; }; then 5286 4730 ac_header_compiler=yes 5287 4731 else … … 5289 4733 sed 's/^/| /' conftest.$ac_ext >&5 5290 4734 5291 ac_header_compiler=no 5292 fi 5293 5294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5295 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5296 echo "${ECHO_T}$ac_header_compiler" >&6; } 4735 ac_header_compiler=no 4736 fi 4737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4739 echo "${ECHO_T}$ac_header_compiler" >&6 5297 4740 5298 4741 # Is the header present? 5299 {echo "$as_me:$LINENO: checking ctype.h presence" >&55300 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6 ; }4742 echo "$as_me:$LINENO: checking ctype.h presence" >&5 4743 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6 5301 4744 cat >conftest.$ac_ext <<_ACEOF 5302 4745 /* confdefs.h. */ … … 5307 4750 #include <ctype.h> 5308 4751 _ACEOF 5309 if { (ac_try="$ac_cpp conftest.$ac_ext" 5310 case "(($ac_try" in 5311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5312 *) ac_try_echo=$ac_try;; 5313 esac 5314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5315 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4753 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5316 4754 ac_status=$? 5317 4755 grep -v '^ *+' conftest.er1 >conftest.err … … 5319 4757 cat conftest.err >&5 5320 4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5321 (exit $ac_status); } >/dev/null && { 5322 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5323 test ! -s conftest.err 5324 }; then 4759 (exit $ac_status); } >/dev/null; then 4760 if test -s conftest.err; then 4761 ac_cpp_err=$ac_c_preproc_warn_flag 4762 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4763 else 4764 ac_cpp_err= 4765 fi 4766 else 4767 ac_cpp_err=yes 4768 fi 4769 if test -z "$ac_cpp_err"; then 5325 4770 ac_header_preproc=yes 5326 4771 else … … 5330 4775 ac_header_preproc=no 5331 4776 fi 5332 5333 4777 rm -f conftest.err conftest.$ac_ext 5334 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&55335 echo "${ECHO_T}$ac_header_preproc" >&6 ; }4778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4779 echo "${ECHO_T}$ac_header_preproc" >&6 5336 4780 5337 4781 # So? What about this header? … … 5357 4801 { echo "$as_me:$LINENO: WARNING: ctype.h: in the future, the compiler will take precedence" >&5 5358 4802 echo "$as_me: WARNING: ctype.h: in the future, the compiler will take precedence" >&2;} 5359 4803 ( 4804 cat <<\_ASBOX 4805 ## ------------------------------------ ## 4806 ## Report this to the pjproject lists. ## 4807 ## ------------------------------------ ## 4808 _ASBOX 4809 ) | 4810 sed "s/^/$as_me: WARNING: /" >&2 5360 4811 ;; 5361 4812 esac 5362 {echo "$as_me:$LINENO: checking for ctype.h" >&55363 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 ; }4813 echo "$as_me:$LINENO: checking for ctype.h" >&5 4814 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 5364 4815 if test "${ac_cv_header_ctype_h+set}" = set; then 5365 4816 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5367 4818 ac_cv_header_ctype_h=$ac_header_preproc 5368 4819 fi 5369 {echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&55370 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 ; }4820 echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 4821 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 5371 4822 5372 4823 fi … … 5389 4840 *) 5390 4841 if test "${ac_cv_header_errno_h+set}" = set; then 5391 {echo "$as_me:$LINENO: checking for errno.h" >&55392 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 ; }4842 echo "$as_me:$LINENO: checking for errno.h" >&5 4843 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 5393 4844 if test "${ac_cv_header_errno_h+set}" = set; then 5394 4845 echo $ECHO_N "(cached) $ECHO_C" >&6 5395 4846 fi 5396 {echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&55397 echo "${ECHO_T}$ac_cv_header_errno_h" >&6 ; }4847 echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 4848 echo "${ECHO_T}$ac_cv_header_errno_h" >&6 5398 4849 else 5399 4850 # Is the header compilable? 5400 {echo "$as_me:$LINENO: checking errno.h usability" >&55401 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6 ; }4851 echo "$as_me:$LINENO: checking errno.h usability" >&5 4852 echo $ECHO_N "checking errno.h usability... $ECHO_C" >&6 5402 4853 cat >conftest.$ac_ext <<_ACEOF 5403 4854 /* confdefs.h. */ … … 5410 4861 _ACEOF 5411 4862 rm -f conftest.$ac_objext 5412 if { (ac_try="$ac_compile" 5413 case "(($ac_try" in 5414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5415 *) ac_try_echo=$ac_try;; 5416 esac 5417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5418 (eval "$ac_compile") 2>conftest.er1 4863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4864 (eval $ac_compile) 2>conftest.er1 5419 4865 ac_status=$? 5420 4866 grep -v '^ *+' conftest.er1 >conftest.err … … 5422 4868 cat conftest.err >&5 5423 4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5424 (exit $ac_status); } && { 5425 test -z "$ac_c_werror_flag" || 5426 test ! -s conftest.err 5427 } && test -s conftest.$ac_objext; then 4870 (exit $ac_status); } && 4871 { ac_try='test -z "$ac_c_werror_flag" 4872 || test ! -s conftest.err' 4873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4874 (eval $ac_try) 2>&5 4875 ac_status=$? 4876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4877 (exit $ac_status); }; } && 4878 { ac_try='test -s conftest.$ac_objext' 4879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4880 (eval $ac_try) 2>&5 4881 ac_status=$? 4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4883 (exit $ac_status); }; }; then 5428 4884 ac_header_compiler=yes 5429 4885 else … … 5431 4887 sed 's/^/| /' conftest.$ac_ext >&5 5432 4888 5433 ac_header_compiler=no 5434 fi 5435 5436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5437 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5438 echo "${ECHO_T}$ac_header_compiler" >&6; } 4889 ac_header_compiler=no 4890 fi 4891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4893 echo "${ECHO_T}$ac_header_compiler" >&6 5439 4894 5440 4895 # Is the header present? 5441 {echo "$as_me:$LINENO: checking errno.h presence" >&55442 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6 ; }4896 echo "$as_me:$LINENO: checking errno.h presence" >&5 4897 echo $ECHO_N "checking errno.h presence... $ECHO_C" >&6 5443 4898 cat >conftest.$ac_ext <<_ACEOF 5444 4899 /* confdefs.h. */ … … 5449 4904 #include <errno.h> 5450 4905 _ACEOF 5451 if { (ac_try="$ac_cpp conftest.$ac_ext" 5452 case "(($ac_try" in 5453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5454 *) ac_try_echo=$ac_try;; 5455 esac 5456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5457 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4907 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5458 4908 ac_status=$? 5459 4909 grep -v '^ *+' conftest.er1 >conftest.err … … 5461 4911 cat conftest.err >&5 5462 4912 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5463 (exit $ac_status); } >/dev/null && { 5464 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5465 test ! -s conftest.err 5466 }; then 4913 (exit $ac_status); } >/dev/null; then 4914 if test -s conftest.err; then 4915 ac_cpp_err=$ac_c_preproc_warn_flag 4916 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4917 else 4918 ac_cpp_err= 4919 fi 4920 else 4921 ac_cpp_err=yes 4922 fi 4923 if test -z "$ac_cpp_err"; then 5467 4924 ac_header_preproc=yes 5468 4925 else … … 5472 4929 ac_header_preproc=no 5473 4930 fi 5474 5475 4931 rm -f conftest.err conftest.$ac_ext 5476 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&55477 echo "${ECHO_T}$ac_header_preproc" >&6 ; }4932 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4933 echo "${ECHO_T}$ac_header_preproc" >&6 5478 4934 5479 4935 # So? What about this header? … … 5499 4955 { echo "$as_me:$LINENO: WARNING: errno.h: in the future, the compiler will take precedence" >&5 5500 4956 echo "$as_me: WARNING: errno.h: in the future, the compiler will take precedence" >&2;} 5501 4957 ( 4958 cat <<\_ASBOX 4959 ## ------------------------------------ ## 4960 ## Report this to the pjproject lists. ## 4961 ## ------------------------------------ ## 4962 _ASBOX 4963 ) | 4964 sed "s/^/$as_me: WARNING: /" >&2 5502 4965 ;; 5503 4966 esac 5504 {echo "$as_me:$LINENO: checking for errno.h" >&55505 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 ; }4967 echo "$as_me:$LINENO: checking for errno.h" >&5 4968 echo $ECHO_N "checking for errno.h... $ECHO_C" >&6 5506 4969 if test "${ac_cv_header_errno_h+set}" = set; then 5507 4970 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5509 4972 ac_cv_header_errno_h=$ac_header_preproc 5510 4973 fi 5511 {echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&55512 echo "${ECHO_T}$ac_cv_header_errno_h" >&6 ; }4974 echo "$as_me:$LINENO: result: $ac_cv_header_errno_h" >&5 4975 echo "${ECHO_T}$ac_cv_header_errno_h" >&6 5513 4976 5514 4977 fi … … 5525 4988 5526 4989 if test "${ac_cv_header_fcntl_h+set}" = set; then 5527 {echo "$as_me:$LINENO: checking for fcntl.h" >&55528 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6 ; }4990 echo "$as_me:$LINENO: checking for fcntl.h" >&5 4991 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6 5529 4992 if test "${ac_cv_header_fcntl_h+set}" = set; then 5530 4993 echo $ECHO_N "(cached) $ECHO_C" >&6 5531 4994 fi 5532 {echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&55533 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6 ; }4995 echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 4996 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6 5534 4997 else 5535 4998 # Is the header compilable? 5536 {echo "$as_me:$LINENO: checking fcntl.h usability" >&55537 echo $ECHO_N "checking fcntl.h usability... $ECHO_C" >&6 ; }4999 echo "$as_me:$LINENO: checking fcntl.h usability" >&5 5000 echo $ECHO_N "checking fcntl.h usability... $ECHO_C" >&6 5538 5001 cat >conftest.$ac_ext <<_ACEOF 5539 5002 /* confdefs.h. */ … … 5546 5009 _ACEOF 5547 5010 rm -f conftest.$ac_objext 5548 if { (ac_try="$ac_compile" 5549 case "(($ac_try" in 5550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5551 *) ac_try_echo=$ac_try;; 5552 esac 5553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5554 (eval "$ac_compile") 2>conftest.er1 5011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5012 (eval $ac_compile) 2>conftest.er1 5555 5013 ac_status=$? 5556 5014 grep -v '^ *+' conftest.er1 >conftest.err … … 5558 5016 cat conftest.err >&5 5559 5017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5560 (exit $ac_status); } && { 5561 test -z "$ac_c_werror_flag" || 5562 test ! -s conftest.err 5563 } && test -s conftest.$ac_objext; then 5018 (exit $ac_status); } && 5019 { ac_try='test -z "$ac_c_werror_flag" 5020 || test ! -s conftest.err' 5021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5022 (eval $ac_try) 2>&5 5023 ac_status=$? 5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5025 (exit $ac_status); }; } && 5026 { ac_try='test -s conftest.$ac_objext' 5027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5028 (eval $ac_try) 2>&5 5029 ac_status=$? 5030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5031 (exit $ac_status); }; }; then 5564 5032 ac_header_compiler=yes 5565 5033 else … … 5567 5035 sed 's/^/| /' conftest.$ac_ext >&5 5568 5036 5569 ac_header_compiler=no 5570 fi 5571 5572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5573 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5574 echo "${ECHO_T}$ac_header_compiler" >&6; } 5037 ac_header_compiler=no 5038 fi 5039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5040 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5041 echo "${ECHO_T}$ac_header_compiler" >&6 5575 5042 5576 5043 # Is the header present? 5577 {echo "$as_me:$LINENO: checking fcntl.h presence" >&55578 echo $ECHO_N "checking fcntl.h presence... $ECHO_C" >&6 ; }5044 echo "$as_me:$LINENO: checking fcntl.h presence" >&5 5045 echo $ECHO_N "checking fcntl.h presence... $ECHO_C" >&6 5579 5046 cat >conftest.$ac_ext <<_ACEOF 5580 5047 /* confdefs.h. */ … … 5585 5052 #include <fcntl.h> 5586 5053 _ACEOF 5587 if { (ac_try="$ac_cpp conftest.$ac_ext" 5588 case "(($ac_try" in 5589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5590 *) ac_try_echo=$ac_try;; 5591 esac 5592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5593 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5055 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5594 5056 ac_status=$? 5595 5057 grep -v '^ *+' conftest.er1 >conftest.err … … 5597 5059 cat conftest.err >&5 5598 5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5599 (exit $ac_status); } >/dev/null && { 5600 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5601 test ! -s conftest.err 5602 }; then 5061 (exit $ac_status); } >/dev/null; then 5062 if test -s conftest.err; then 5063 ac_cpp_err=$ac_c_preproc_warn_flag 5064 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5065 else 5066 ac_cpp_err= 5067 fi 5068 else 5069 ac_cpp_err=yes 5070 fi 5071 if test -z "$ac_cpp_err"; then 5603 5072 ac_header_preproc=yes 5604 5073 else … … 5608 5077 ac_header_preproc=no 5609 5078 fi 5610 5611 5079 rm -f conftest.err conftest.$ac_ext 5612 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&55613 echo "${ECHO_T}$ac_header_preproc" >&6 ; }5080 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5081 echo "${ECHO_T}$ac_header_preproc" >&6 5614 5082 5615 5083 # So? What about this header? … … 5635 5103 { echo "$as_me:$LINENO: WARNING: fcntl.h: in the future, the compiler will take precedence" >&5 5636 5104 echo "$as_me: WARNING: fcntl.h: in the future, the compiler will take precedence" >&2;} 5637 5105 ( 5106 cat <<\_ASBOX 5107 ## ------------------------------------ ## 5108 ## Report this to the pjproject lists. ## 5109 ## ------------------------------------ ## 5110 _ASBOX 5111 ) | 5112 sed "s/^/$as_me: WARNING: /" >&2 5638 5113 ;; 5639 5114 esac 5640 {echo "$as_me:$LINENO: checking for fcntl.h" >&55641 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6 ; }5115 echo "$as_me:$LINENO: checking for fcntl.h" >&5 5116 echo $ECHO_N "checking for fcntl.h... $ECHO_C" >&6 5642 5117 if test "${ac_cv_header_fcntl_h+set}" = set; then 5643 5118 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5645 5120 ac_cv_header_fcntl_h=$ac_header_preproc 5646 5121 fi 5647 {echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&55648 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6 ; }5122 echo "$as_me:$LINENO: result: $ac_cv_header_fcntl_h" >&5 5123 echo "${ECHO_T}$ac_cv_header_fcntl_h" >&6 5649 5124 5650 5125 fi … … 5658 5133 5659 5134 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5660 {echo "$as_me:$LINENO: checking for linux/socket.h" >&55661 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6 ; }5135 echo "$as_me:$LINENO: checking for linux/socket.h" >&5 5136 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6 5662 5137 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5663 5138 echo $ECHO_N "(cached) $ECHO_C" >&6 5664 5139 fi 5665 {echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&55666 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6 ; }5140 echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 5141 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6 5667 5142 else 5668 5143 # Is the header compilable? 5669 {echo "$as_me:$LINENO: checking linux/socket.h usability" >&55670 echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6 ; }5144 echo "$as_me:$LINENO: checking linux/socket.h usability" >&5 5145 echo $ECHO_N "checking linux/socket.h usability... $ECHO_C" >&6 5671 5146 cat >conftest.$ac_ext <<_ACEOF 5672 5147 /* confdefs.h. */ … … 5679 5154 _ACEOF 5680 5155 rm -f conftest.$ac_objext 5681 if { (ac_try="$ac_compile" 5682 case "(($ac_try" in 5683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5684 *) ac_try_echo=$ac_try;; 5685 esac 5686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5687 (eval "$ac_compile") 2>conftest.er1 5156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5157 (eval $ac_compile) 2>conftest.er1 5688 5158 ac_status=$? 5689 5159 grep -v '^ *+' conftest.er1 >conftest.err … … 5691 5161 cat conftest.err >&5 5692 5162 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5693 (exit $ac_status); } && { 5694 test -z "$ac_c_werror_flag" || 5695 test ! -s conftest.err 5696 } && test -s conftest.$ac_objext; then 5163 (exit $ac_status); } && 5164 { ac_try='test -z "$ac_c_werror_flag" 5165 || test ! -s conftest.err' 5166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5167 (eval $ac_try) 2>&5 5168 ac_status=$? 5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5170 (exit $ac_status); }; } && 5171 { ac_try='test -s conftest.$ac_objext' 5172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5173 (eval $ac_try) 2>&5 5174 ac_status=$? 5175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5176 (exit $ac_status); }; }; then 5697 5177 ac_header_compiler=yes 5698 5178 else … … 5700 5180 sed 's/^/| /' conftest.$ac_ext >&5 5701 5181 5702 ac_header_compiler=no 5703 fi 5704 5705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5706 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5707 echo "${ECHO_T}$ac_header_compiler" >&6; } 5182 ac_header_compiler=no 5183 fi 5184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5185 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5186 echo "${ECHO_T}$ac_header_compiler" >&6 5708 5187 5709 5188 # Is the header present? 5710 {echo "$as_me:$LINENO: checking linux/socket.h presence" >&55711 echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6 ; }5189 echo "$as_me:$LINENO: checking linux/socket.h presence" >&5 5190 echo $ECHO_N "checking linux/socket.h presence... $ECHO_C" >&6 5712 5191 cat >conftest.$ac_ext <<_ACEOF 5713 5192 /* confdefs.h. */ … … 5718 5197 #include <linux/socket.h> 5719 5198 _ACEOF 5720 if { (ac_try="$ac_cpp conftest.$ac_ext" 5721 case "(($ac_try" in 5722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5723 *) ac_try_echo=$ac_try;; 5724 esac 5725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5726 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5199 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5200 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5727 5201 ac_status=$? 5728 5202 grep -v '^ *+' conftest.er1 >conftest.err … … 5730 5204 cat conftest.err >&5 5731 5205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5732 (exit $ac_status); } >/dev/null && { 5733 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5734 test ! -s conftest.err 5735 }; then 5206 (exit $ac_status); } >/dev/null; then 5207 if test -s conftest.err; then 5208 ac_cpp_err=$ac_c_preproc_warn_flag 5209 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5210 else 5211 ac_cpp_err= 5212 fi 5213 else 5214 ac_cpp_err=yes 5215 fi 5216 if test -z "$ac_cpp_err"; then 5736 5217 ac_header_preproc=yes 5737 5218 else … … 5741 5222 ac_header_preproc=no 5742 5223 fi 5743 5744 5224 rm -f conftest.err conftest.$ac_ext 5745 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&55746 echo "${ECHO_T}$ac_header_preproc" >&6 ; }5225 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5226 echo "${ECHO_T}$ac_header_preproc" >&6 5747 5227 5748 5228 # So? What about this header? … … 5768 5248 { echo "$as_me:$LINENO: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&5 5769 5249 echo "$as_me: WARNING: linux/socket.h: in the future, the compiler will take precedence" >&2;} 5770 5250 ( 5251 cat <<\_ASBOX 5252 ## ------------------------------------ ## 5253 ## Report this to the pjproject lists. ## 5254 ## ------------------------------------ ## 5255 _ASBOX 5256 ) | 5257 sed "s/^/$as_me: WARNING: /" >&2 5771 5258 ;; 5772 5259 esac 5773 {echo "$as_me:$LINENO: checking for linux/socket.h" >&55774 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6 ; }5260 echo "$as_me:$LINENO: checking for linux/socket.h" >&5 5261 echo $ECHO_N "checking for linux/socket.h... $ECHO_C" >&6 5775 5262 if test "${ac_cv_header_linux_socket_h+set}" = set; then 5776 5263 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5778 5265 ac_cv_header_linux_socket_h=$ac_header_preproc 5779 5266 fi 5780 {echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&55781 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6 ; }5267 echo "$as_me:$LINENO: result: $ac_cv_header_linux_socket_h" >&5 5268 echo "${ECHO_T}$ac_cv_header_linux_socket_h" >&6 5782 5269 5783 5270 fi … … 5791 5278 5792 5279 if test "${ac_cv_header_malloc_h+set}" = set; then 5793 {echo "$as_me:$LINENO: checking for malloc.h" >&55794 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 ; }5280 echo "$as_me:$LINENO: checking for malloc.h" >&5 5281 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 5795 5282 if test "${ac_cv_header_malloc_h+set}" = set; then 5796 5283 echo $ECHO_N "(cached) $ECHO_C" >&6 5797 5284 fi 5798 {echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&55799 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 ; }5285 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 5286 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 5800 5287 else 5801 5288 # Is the header compilable? 5802 {echo "$as_me:$LINENO: checking malloc.h usability" >&55803 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6 ; }5289 echo "$as_me:$LINENO: checking malloc.h usability" >&5 5290 echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6 5804 5291 cat >conftest.$ac_ext <<_ACEOF 5805 5292 /* confdefs.h. */ … … 5812 5299 _ACEOF 5813 5300 rm -f conftest.$ac_objext 5814 if { (ac_try="$ac_compile" 5815 case "(($ac_try" in 5816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5817 *) ac_try_echo=$ac_try;; 5818 esac 5819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5820 (eval "$ac_compile") 2>conftest.er1 5301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5302 (eval $ac_compile) 2>conftest.er1 5821 5303 ac_status=$? 5822 5304 grep -v '^ *+' conftest.er1 >conftest.err … … 5824 5306 cat conftest.err >&5 5825 5307 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5826 (exit $ac_status); } && { 5827 test -z "$ac_c_werror_flag" || 5828 test ! -s conftest.err 5829 } && test -s conftest.$ac_objext; then 5308 (exit $ac_status); } && 5309 { ac_try='test -z "$ac_c_werror_flag" 5310 || test ! -s conftest.err' 5311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5312 (eval $ac_try) 2>&5 5313 ac_status=$? 5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5315 (exit $ac_status); }; } && 5316 { ac_try='test -s conftest.$ac_objext' 5317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5318 (eval $ac_try) 2>&5 5319 ac_status=$? 5320 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5321 (exit $ac_status); }; }; then 5830 5322 ac_header_compiler=yes 5831 5323 else … … 5833 5325 sed 's/^/| /' conftest.$ac_ext >&5 5834 5326 5835 ac_header_compiler=no 5836 fi 5837 5838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5839 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5840 echo "${ECHO_T}$ac_header_compiler" >&6; } 5327 ac_header_compiler=no 5328 fi 5329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5331 echo "${ECHO_T}$ac_header_compiler" >&6 5841 5332 5842 5333 # Is the header present? 5843 {echo "$as_me:$LINENO: checking malloc.h presence" >&55844 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6 ; }5334 echo "$as_me:$LINENO: checking malloc.h presence" >&5 5335 echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6 5845 5336 cat >conftest.$ac_ext <<_ACEOF 5846 5337 /* confdefs.h. */ … … 5851 5342 #include <malloc.h> 5852 5343 _ACEOF 5853 if { (ac_try="$ac_cpp conftest.$ac_ext" 5854 case "(($ac_try" in 5855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5856 *) ac_try_echo=$ac_try;; 5857 esac 5858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5859 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5345 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5860 5346 ac_status=$? 5861 5347 grep -v '^ *+' conftest.er1 >conftest.err … … 5863 5349 cat conftest.err >&5 5864 5350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5865 (exit $ac_status); } >/dev/null && { 5866 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5867 test ! -s conftest.err 5868 }; then 5351 (exit $ac_status); } >/dev/null; then 5352 if test -s conftest.err; then 5353 ac_cpp_err=$ac_c_preproc_warn_flag 5354 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5355 else 5356 ac_cpp_err= 5357 fi 5358 else 5359 ac_cpp_err=yes 5360 fi 5361 if test -z "$ac_cpp_err"; then 5869 5362 ac_header_preproc=yes 5870 5363 else … … 5874 5367 ac_header_preproc=no 5875 5368 fi 5876 5877 5369 rm -f conftest.err conftest.$ac_ext 5878 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&55879 echo "${ECHO_T}$ac_header_preproc" >&6 ; }5370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5371 echo "${ECHO_T}$ac_header_preproc" >&6 5880 5372 5881 5373 # So? What about this header? … … 5901 5393 { echo "$as_me:$LINENO: WARNING: malloc.h: in the future, the compiler will take precedence" >&5 5902 5394 echo "$as_me: WARNING: malloc.h: in the future, the compiler will take precedence" >&2;} 5903 5395 ( 5396 cat <<\_ASBOX 5397 ## ------------------------------------ ## 5398 ## Report this to the pjproject lists. ## 5399 ## ------------------------------------ ## 5400 _ASBOX 5401 ) | 5402 sed "s/^/$as_me: WARNING: /" >&2 5904 5403 ;; 5905 5404 esac 5906 {echo "$as_me:$LINENO: checking for malloc.h" >&55907 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 ; }5405 echo "$as_me:$LINENO: checking for malloc.h" >&5 5406 echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 5908 5407 if test "${ac_cv_header_malloc_h+set}" = set; then 5909 5408 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5911 5410 ac_cv_header_malloc_h=$ac_header_preproc 5912 5411 fi 5913 {echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&55914 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 ; }5412 echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 5413 echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 5915 5414 5916 5415 fi … … 5924 5423 5925 5424 if test "${ac_cv_header_netdb_h+set}" = set; then 5926 {echo "$as_me:$LINENO: checking for netdb.h" >&55927 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 ; }5425 echo "$as_me:$LINENO: checking for netdb.h" >&5 5426 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 5928 5427 if test "${ac_cv_header_netdb_h+set}" = set; then 5929 5428 echo $ECHO_N "(cached) $ECHO_C" >&6 5930 5429 fi 5931 {echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&55932 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 ; }5430 echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 5431 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 5933 5432 else 5934 5433 # Is the header compilable? 5935 {echo "$as_me:$LINENO: checking netdb.h usability" >&55936 echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6 ; }5434 echo "$as_me:$LINENO: checking netdb.h usability" >&5 5435 echo $ECHO_N "checking netdb.h usability... $ECHO_C" >&6 5937 5436 cat >conftest.$ac_ext <<_ACEOF 5938 5437 /* confdefs.h. */ … … 5945 5444 _ACEOF 5946 5445 rm -f conftest.$ac_objext 5947 if { (ac_try="$ac_compile" 5948 case "(($ac_try" in 5949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5950 *) ac_try_echo=$ac_try;; 5951 esac 5952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5953 (eval "$ac_compile") 2>conftest.er1 5446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5447 (eval $ac_compile) 2>conftest.er1 5954 5448 ac_status=$? 5955 5449 grep -v '^ *+' conftest.er1 >conftest.err … … 5957 5451 cat conftest.err >&5 5958 5452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5959 (exit $ac_status); } && { 5960 test -z "$ac_c_werror_flag" || 5961 test ! -s conftest.err 5962 } && test -s conftest.$ac_objext; then 5453 (exit $ac_status); } && 5454 { ac_try='test -z "$ac_c_werror_flag" 5455 || test ! -s conftest.err' 5456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5457 (eval $ac_try) 2>&5 5458 ac_status=$? 5459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5460 (exit $ac_status); }; } && 5461 { ac_try='test -s conftest.$ac_objext' 5462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5463 (eval $ac_try) 2>&5 5464 ac_status=$? 5465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5466 (exit $ac_status); }; }; then 5963 5467 ac_header_compiler=yes 5964 5468 else … … 5966 5470 sed 's/^/| /' conftest.$ac_ext >&5 5967 5471 5968 ac_header_compiler=no 5969 fi 5970 5971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5972 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5973 echo "${ECHO_T}$ac_header_compiler" >&6; } 5472 ac_header_compiler=no 5473 fi 5474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5475 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5476 echo "${ECHO_T}$ac_header_compiler" >&6 5974 5477 5975 5478 # Is the header present? 5976 {echo "$as_me:$LINENO: checking netdb.h presence" >&55977 echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6 ; }5479 echo "$as_me:$LINENO: checking netdb.h presence" >&5 5480 echo $ECHO_N "checking netdb.h presence... $ECHO_C" >&6 5978 5481 cat >conftest.$ac_ext <<_ACEOF 5979 5482 /* confdefs.h. */ … … 5984 5487 #include <netdb.h> 5985 5488 _ACEOF 5986 if { (ac_try="$ac_cpp conftest.$ac_ext" 5987 case "(($ac_try" in 5988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5989 *) ac_try_echo=$ac_try;; 5990 esac 5991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5992 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5490 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5993 5491 ac_status=$? 5994 5492 grep -v '^ *+' conftest.er1 >conftest.err … … 5996 5494 cat conftest.err >&5 5997 5495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5998 (exit $ac_status); } >/dev/null && { 5999 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6000 test ! -s conftest.err 6001 }; then 5496 (exit $ac_status); } >/dev/null; then 5497 if test -s conftest.err; then 5498 ac_cpp_err=$ac_c_preproc_warn_flag 5499 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5500 else 5501 ac_cpp_err= 5502 fi 5503 else 5504 ac_cpp_err=yes 5505 fi 5506 if test -z "$ac_cpp_err"; then 6002 5507 ac_header_preproc=yes 6003 5508 else … … 6007 5512 ac_header_preproc=no 6008 5513 fi 6009 6010 5514 rm -f conftest.err conftest.$ac_ext 6011 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&56012 echo "${ECHO_T}$ac_header_preproc" >&6 ; }5515 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5516 echo "${ECHO_T}$ac_header_preproc" >&6 6013 5517 6014 5518 # So? What about this header? … … 6034 5538 { echo "$as_me:$LINENO: WARNING: netdb.h: in the future, the compiler will take precedence" >&5 6035 5539 echo "$as_me: WARNING: netdb.h: in the future, the compiler will take precedence" >&2;} 6036 5540 ( 5541 cat <<\_ASBOX 5542 ## ------------------------------------ ## 5543 ## Report this to the pjproject lists. ## 5544 ## ------------------------------------ ## 5545 _ASBOX 5546 ) | 5547 sed "s/^/$as_me: WARNING: /" >&2 6037 5548 ;; 6038 5549 esac 6039 {echo "$as_me:$LINENO: checking for netdb.h" >&56040 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 ; }5550 echo "$as_me:$LINENO: checking for netdb.h" >&5 5551 echo $ECHO_N "checking for netdb.h... $ECHO_C" >&6 6041 5552 if test "${ac_cv_header_netdb_h+set}" = set; then 6042 5553 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6044 5555 ac_cv_header_netdb_h=$ac_header_preproc 6045 5556 fi 6046 {echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&56047 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 ; }5557 echo "$as_me:$LINENO: result: $ac_cv_header_netdb_h" >&5 5558 echo "${ECHO_T}$ac_cv_header_netdb_h" >&6 6048 5559 6049 5560 fi … … 6057 5568 6058 5569 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6059 {echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&56060 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6 ; }5570 echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 5571 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6 6061 5572 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6062 5573 echo $ECHO_N "(cached) $ECHO_C" >&6 6063 5574 fi 6064 {echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&56065 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6 ; }5575 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 5576 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6 6066 5577 else 6067 5578 # Is the header compilable? 6068 {echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&56069 echo $ECHO_N "checking netinet/in_systm.h usability... $ECHO_C" >&6 ; }5579 echo "$as_me:$LINENO: checking netinet/in_systm.h usability" >&5 5580 echo $ECHO_N "checking netinet/in_systm.h usability... $ECHO_C" >&6 6070 5581 cat >conftest.$ac_ext <<_ACEOF 6071 5582 /* confdefs.h. */ … … 6078 5589 _ACEOF 6079 5590 rm -f conftest.$ac_objext 6080 if { (ac_try="$ac_compile" 6081 case "(($ac_try" in 6082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6083 *) ac_try_echo=$ac_try;; 6084 esac 6085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6086 (eval "$ac_compile") 2>conftest.er1 5591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5592 (eval $ac_compile) 2>conftest.er1 6087 5593 ac_status=$? 6088 5594 grep -v '^ *+' conftest.er1 >conftest.err … … 6090 5596 cat conftest.err >&5 6091 5597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6092 (exit $ac_status); } && { 6093 test -z "$ac_c_werror_flag" || 6094 test ! -s conftest.err 6095 } && test -s conftest.$ac_objext; then 5598 (exit $ac_status); } && 5599 { ac_try='test -z "$ac_c_werror_flag" 5600 || test ! -s conftest.err' 5601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5602 (eval $ac_try) 2>&5 5603 ac_status=$? 5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5605 (exit $ac_status); }; } && 5606 { ac_try='test -s conftest.$ac_objext' 5607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5608 (eval $ac_try) 2>&5 5609 ac_status=$? 5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5611 (exit $ac_status); }; }; then 6096 5612 ac_header_compiler=yes 6097 5613 else … … 6099 5615 sed 's/^/| /' conftest.$ac_ext >&5 6100 5616 6101 ac_header_compiler=no 6102 fi 6103 6104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6105 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6106 echo "${ECHO_T}$ac_header_compiler" >&6; } 5617 ac_header_compiler=no 5618 fi 5619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5620 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5621 echo "${ECHO_T}$ac_header_compiler" >&6 6107 5622 6108 5623 # Is the header present? 6109 {echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&56110 echo $ECHO_N "checking netinet/in_systm.h presence... $ECHO_C" >&6 ; }5624 echo "$as_me:$LINENO: checking netinet/in_systm.h presence" >&5 5625 echo $ECHO_N "checking netinet/in_systm.h presence... $ECHO_C" >&6 6111 5626 cat >conftest.$ac_ext <<_ACEOF 6112 5627 /* confdefs.h. */ … … 6117 5632 #include <netinet/in_systm.h> 6118 5633 _ACEOF 6119 if { (ac_try="$ac_cpp conftest.$ac_ext" 6120 case "(($ac_try" in 6121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6122 *) ac_try_echo=$ac_try;; 6123 esac 6124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6125 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5635 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6126 5636 ac_status=$? 6127 5637 grep -v '^ *+' conftest.er1 >conftest.err … … 6129 5639 cat conftest.err >&5 6130 5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6131 (exit $ac_status); } >/dev/null && { 6132 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6133 test ! -s conftest.err 6134 }; then 5641 (exit $ac_status); } >/dev/null; then 5642 if test -s conftest.err; then 5643 ac_cpp_err=$ac_c_preproc_warn_flag 5644 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5645 else 5646 ac_cpp_err= 5647 fi 5648 else 5649 ac_cpp_err=yes 5650 fi 5651 if test -z "$ac_cpp_err"; then 6135 5652 ac_header_preproc=yes 6136 5653 else … … 6140 5657 ac_header_preproc=no 6141 5658 fi 6142 6143 5659 rm -f conftest.err conftest.$ac_ext 6144 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&56145 echo "${ECHO_T}$ac_header_preproc" >&6 ; }5660 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5661 echo "${ECHO_T}$ac_header_preproc" >&6 6146 5662 6147 5663 # So? What about this header? … … 6167 5683 { echo "$as_me:$LINENO: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&5 6168 5684 echo "$as_me: WARNING: netinet/in_systm.h: in the future, the compiler will take precedence" >&2;} 6169 5685 ( 5686 cat <<\_ASBOX 5687 ## ------------------------------------ ## 5688 ## Report this to the pjproject lists. ## 5689 ## ------------------------------------ ## 5690 _ASBOX 5691 ) | 5692 sed "s/^/$as_me: WARNING: /" >&2 6170 5693 ;; 6171 5694 esac 6172 {echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&56173 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6 ; }5695 echo "$as_me:$LINENO: checking for netinet/in_systm.h" >&5 5696 echo $ECHO_N "checking for netinet/in_systm.h... $ECHO_C" >&6 6174 5697 if test "${ac_cv_header_netinet_in_systm_h+set}" = set; then 6175 5698 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6177 5700 ac_cv_header_netinet_in_systm_h=$ac_header_preproc 6178 5701 fi 6179 {echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&56180 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6 ; }5702 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_systm_h" >&5 5703 echo "${ECHO_T}$ac_cv_header_netinet_in_systm_h" >&6 6181 5704 6182 5705 fi … … 6190 5713 6191 5714 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6192 {echo "$as_me:$LINENO: checking for netinet/in.h" >&56193 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 ; }5715 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 5716 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 6194 5717 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6195 5718 echo $ECHO_N "(cached) $ECHO_C" >&6 6196 5719 fi 6197 {echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&56198 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 ; }5720 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 5721 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 6199 5722 else 6200 5723 # Is the header compilable? 6201 {echo "$as_me:$LINENO: checking netinet/in.h usability" >&56202 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6 ; }5724 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5 5725 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6 6203 5726 cat >conftest.$ac_ext <<_ACEOF 6204 5727 /* confdefs.h. */ … … 6211 5734 _ACEOF 6212 5735 rm -f conftest.$ac_objext 6213 if { (ac_try="$ac_compile" 6214 case "(($ac_try" in 6215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6216 *) ac_try_echo=$ac_try;; 6217 esac 6218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6219 (eval "$ac_compile") 2>conftest.er1 5736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5737 (eval $ac_compile) 2>conftest.er1 6220 5738 ac_status=$? 6221 5739 grep -v '^ *+' conftest.er1 >conftest.err … … 6223 5741 cat conftest.err >&5 6224 5742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6225 (exit $ac_status); } && { 6226 test -z "$ac_c_werror_flag" || 6227 test ! -s conftest.err 6228 } && test -s conftest.$ac_objext; then 5743 (exit $ac_status); } && 5744 { ac_try='test -z "$ac_c_werror_flag" 5745 || test ! -s conftest.err' 5746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5747 (eval $ac_try) 2>&5 5748 ac_status=$? 5749 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5750 (exit $ac_status); }; } && 5751 { ac_try='test -s conftest.$ac_objext' 5752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5753 (eval $ac_try) 2>&5 5754 ac_status=$? 5755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5756 (exit $ac_status); }; }; then 6229 5757 ac_header_compiler=yes 6230 5758 else … … 6232 5760 sed 's/^/| /' conftest.$ac_ext >&5 6233 5761 6234 ac_header_compiler=no 6235 fi 6236 6237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6238 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6239 echo "${ECHO_T}$ac_header_compiler" >&6; } 5762 ac_header_compiler=no 5763 fi 5764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5765 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5766 echo "${ECHO_T}$ac_header_compiler" >&6 6240 5767 6241 5768 # Is the header present? 6242 {echo "$as_me:$LINENO: checking netinet/in.h presence" >&56243 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6 ; }5769 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5 5770 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6 6244 5771 cat >conftest.$ac_ext <<_ACEOF 6245 5772 /* confdefs.h. */ … … 6250 5777 #include <netinet/in.h> 6251 5778 _ACEOF 6252 if { (ac_try="$ac_cpp conftest.$ac_ext" 6253 case "(($ac_try" in 6254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6255 *) ac_try_echo=$ac_try;; 6256 esac 6257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6258 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5780 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6259 5781 ac_status=$? 6260 5782 grep -v '^ *+' conftest.er1 >conftest.err … … 6262 5784 cat conftest.err >&5 6263 5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6264 (exit $ac_status); } >/dev/null && { 6265 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6266 test ! -s conftest.err 6267 }; then 5786 (exit $ac_status); } >/dev/null; then 5787 if test -s conftest.err; then 5788 ac_cpp_err=$ac_c_preproc_warn_flag 5789 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5790 else 5791 ac_cpp_err= 5792 fi 5793 else 5794 ac_cpp_err=yes 5795 fi 5796 if test -z "$ac_cpp_err"; then 6268 5797 ac_header_preproc=yes 6269 5798 else … … 6273 5802 ac_header_preproc=no 6274 5803 fi 6275 6276 5804 rm -f conftest.err conftest.$ac_ext 6277 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&56278 echo "${ECHO_T}$ac_header_preproc" >&6 ; }5805 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5806 echo "${ECHO_T}$ac_header_preproc" >&6 6279 5807 6280 5808 # So? What about this header? … … 6300 5828 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5 6301 5829 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;} 6302 5830 ( 5831 cat <<\_ASBOX 5832 ## ------------------------------------ ## 5833 ## Report this to the pjproject lists. ## 5834 ## ------------------------------------ ## 5835 _ASBOX 5836 ) | 5837 sed "s/^/$as_me: WARNING: /" >&2 6303 5838 ;; 6304 5839 esac 6305 {echo "$as_me:$LINENO: checking for netinet/in.h" >&56306 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 ; }5840 echo "$as_me:$LINENO: checking for netinet/in.h" >&5 5841 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6 6307 5842 if test "${ac_cv_header_netinet_in_h+set}" = set; then 6308 5843 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6310 5845 ac_cv_header_netinet_in_h=$ac_header_preproc 6311 5846 fi 6312 {echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&56313 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 ; }5847 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5 5848 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6 6314 5849 6315 5850 fi … … 6322 5857 6323 5858 6324 {echo "$as_me:$LINENO: checking for netinet/ip.h" >&56325 echo $ECHO_N "checking for netinet/ip.h... $ECHO_C" >&6 ; }5859 echo "$as_me:$LINENO: checking for netinet/ip.h" >&5 5860 echo $ECHO_N "checking for netinet/ip.h... $ECHO_C" >&6 6326 5861 if test "${ac_cv_header_netinet_ip_h+set}" = set; then 6327 5862 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6341 5876 _ACEOF 6342 5877 rm -f conftest.$ac_objext 6343 if { (ac_try="$ac_compile" 6344 case "(($ac_try" in 6345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6346 *) ac_try_echo=$ac_try;; 6347 esac 6348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6349 (eval "$ac_compile") 2>conftest.er1 5878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5879 (eval $ac_compile) 2>conftest.er1 6350 5880 ac_status=$? 6351 5881 grep -v '^ *+' conftest.er1 >conftest.err … … 6353 5883 cat conftest.err >&5 6354 5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6355 (exit $ac_status); } && { 6356 test -z "$ac_c_werror_flag" || 6357 test ! -s conftest.err 6358 } && test -s conftest.$ac_objext; then 5885 (exit $ac_status); } && 5886 { ac_try='test -z "$ac_c_werror_flag" 5887 || test ! -s conftest.err' 5888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5889 (eval $ac_try) 2>&5 5890 ac_status=$? 5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5892 (exit $ac_status); }; } && 5893 { ac_try='test -s conftest.$ac_objext' 5894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5895 (eval $ac_try) 2>&5 5896 ac_status=$? 5897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5898 (exit $ac_status); }; }; then 6359 5899 ac_cv_header_netinet_ip_h=yes 6360 5900 else … … 6362 5902 sed 's/^/| /' conftest.$ac_ext >&5 6363 5903 6364 ac_cv_header_netinet_ip_h=no 6365 fi 6366 6367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6368 fi 6369 { echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 6370 echo "${ECHO_T}$ac_cv_header_netinet_ip_h" >&6; } 5904 ac_cv_header_netinet_ip_h=no 5905 fi 5906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5907 fi 5908 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_ip_h" >&5 5909 echo "${ECHO_T}$ac_cv_header_netinet_ip_h" >&6 6371 5910 if test $ac_cv_header_netinet_ip_h = yes; then 6372 5911 cat >>confdefs.h <<\_ACEOF … … 6378 5917 6379 5918 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6380 {echo "$as_me:$LINENO: checking for ifaddrs.h" >&56381 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6 ; }5919 echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 5920 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6 6382 5921 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6383 5922 echo $ECHO_N "(cached) $ECHO_C" >&6 6384 5923 fi 6385 {echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&56386 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6 ; }5924 echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 5925 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6 6387 5926 else 6388 5927 # Is the header compilable? 6389 {echo "$as_me:$LINENO: checking ifaddrs.h usability" >&56390 echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6 ; }5928 echo "$as_me:$LINENO: checking ifaddrs.h usability" >&5 5929 echo $ECHO_N "checking ifaddrs.h usability... $ECHO_C" >&6 6391 5930 cat >conftest.$ac_ext <<_ACEOF 6392 5931 /* confdefs.h. */ … … 6399 5938 _ACEOF 6400 5939 rm -f conftest.$ac_objext 6401 if { (ac_try="$ac_compile" 6402 case "(($ac_try" in 6403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6404 *) ac_try_echo=$ac_try;; 6405 esac 6406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6407 (eval "$ac_compile") 2>conftest.er1 5940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5941 (eval $ac_compile) 2>conftest.er1 6408 5942 ac_status=$? 6409 5943 grep -v '^ *+' conftest.er1 >conftest.err … … 6411 5945 cat conftest.err >&5 6412 5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6413 (exit $ac_status); } && { 6414 test -z "$ac_c_werror_flag" || 6415 test ! -s conftest.err 6416 } && test -s conftest.$ac_objext; then 5947 (exit $ac_status); } && 5948 { ac_try='test -z "$ac_c_werror_flag" 5949 || test ! -s conftest.err' 5950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5951 (eval $ac_try) 2>&5 5952 ac_status=$? 5953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5954 (exit $ac_status); }; } && 5955 { ac_try='test -s conftest.$ac_objext' 5956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5957 (eval $ac_try) 2>&5 5958 ac_status=$? 5959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5960 (exit $ac_status); }; }; then 6417 5961 ac_header_compiler=yes 6418 5962 else … … 6420 5964 sed 's/^/| /' conftest.$ac_ext >&5 6421 5965 6422 ac_header_compiler=no 6423 fi 6424 6425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6426 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6427 echo "${ECHO_T}$ac_header_compiler" >&6; } 5966 ac_header_compiler=no 5967 fi 5968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5970 echo "${ECHO_T}$ac_header_compiler" >&6 6428 5971 6429 5972 # Is the header present? 6430 {echo "$as_me:$LINENO: checking ifaddrs.h presence" >&56431 echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6 ; }5973 echo "$as_me:$LINENO: checking ifaddrs.h presence" >&5 5974 echo $ECHO_N "checking ifaddrs.h presence... $ECHO_C" >&6 6432 5975 cat >conftest.$ac_ext <<_ACEOF 6433 5976 /* confdefs.h. */ … … 6438 5981 #include <ifaddrs.h> 6439 5982 _ACEOF 6440 if { (ac_try="$ac_cpp conftest.$ac_ext" 6441 case "(($ac_try" in 6442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6443 *) ac_try_echo=$ac_try;; 6444 esac 6445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6446 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5984 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6447 5985 ac_status=$? 6448 5986 grep -v '^ *+' conftest.er1 >conftest.err … … 6450 5988 cat conftest.err >&5 6451 5989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6452 (exit $ac_status); } >/dev/null && { 6453 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6454 test ! -s conftest.err 6455 }; then 5990 (exit $ac_status); } >/dev/null; then 5991 if test -s conftest.err; then 5992 ac_cpp_err=$ac_c_preproc_warn_flag 5993 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5994 else 5995 ac_cpp_err= 5996 fi 5997 else 5998 ac_cpp_err=yes 5999 fi 6000 if test -z "$ac_cpp_err"; then 6456 6001 ac_header_preproc=yes 6457 6002 else … … 6461 6006 ac_header_preproc=no 6462 6007 fi 6463 6464 6008 rm -f conftest.err conftest.$ac_ext 6465 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&56466 echo "${ECHO_T}$ac_header_preproc" >&6 ; }6009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6010 echo "${ECHO_T}$ac_header_preproc" >&6 6467 6011 6468 6012 # So? What about this header? … … 6488 6032 { echo "$as_me:$LINENO: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&5 6489 6033 echo "$as_me: WARNING: ifaddrs.h: in the future, the compiler will take precedence" >&2;} 6490 6034 ( 6035 cat <<\_ASBOX 6036 ## ------------------------------------ ## 6037 ## Report this to the pjproject lists. ## 6038 ## ------------------------------------ ## 6039 _ASBOX 6040 ) | 6041 sed "s/^/$as_me: WARNING: /" >&2 6491 6042 ;; 6492 6043 esac 6493 {echo "$as_me:$LINENO: checking for ifaddrs.h" >&56494 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6 ; }6044 echo "$as_me:$LINENO: checking for ifaddrs.h" >&5 6045 echo $ECHO_N "checking for ifaddrs.h... $ECHO_C" >&6 6495 6046 if test "${ac_cv_header_ifaddrs_h+set}" = set; then 6496 6047 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6498 6049 ac_cv_header_ifaddrs_h=$ac_header_preproc 6499 6050 fi 6500 {echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&56501 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6 ; }6051 echo "$as_me:$LINENO: result: $ac_cv_header_ifaddrs_h" >&5 6052 echo "${ECHO_T}$ac_cv_header_ifaddrs_h" >&6 6502 6053 6503 6054 fi … … 6511 6062 6512 6063 if test "${ac_cv_header_semaphore_h+set}" = set; then 6513 {echo "$as_me:$LINENO: checking for semaphore.h" >&56514 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6 ; }6064 echo "$as_me:$LINENO: checking for semaphore.h" >&5 6065 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6 6515 6066 if test "${ac_cv_header_semaphore_h+set}" = set; then 6516 6067 echo $ECHO_N "(cached) $ECHO_C" >&6 6517 6068 fi 6518 {echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&56519 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6 ; }6069 echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 6070 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6 6520 6071 else 6521 6072 # Is the header compilable? 6522 {echo "$as_me:$LINENO: checking semaphore.h usability" >&56523 echo $ECHO_N "checking semaphore.h usability... $ECHO_C" >&6 ; }6073 echo "$as_me:$LINENO: checking semaphore.h usability" >&5 6074 echo $ECHO_N "checking semaphore.h usability... $ECHO_C" >&6 6524 6075 cat >conftest.$ac_ext <<_ACEOF 6525 6076 /* confdefs.h. */ … … 6532 6083 _ACEOF 6533 6084 rm -f conftest.$ac_objext 6534 if { (ac_try="$ac_compile" 6535 case "(($ac_try" in 6536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6537 *) ac_try_echo=$ac_try;; 6538 esac 6539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6540 (eval "$ac_compile") 2>conftest.er1 6085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6086 (eval $ac_compile) 2>conftest.er1 6541 6087 ac_status=$? 6542 6088 grep -v '^ *+' conftest.er1 >conftest.err … … 6544 6090 cat conftest.err >&5 6545 6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6546 (exit $ac_status); } && { 6547 test -z "$ac_c_werror_flag" || 6548 test ! -s conftest.err 6549 } && test -s conftest.$ac_objext; then 6092 (exit $ac_status); } && 6093 { ac_try='test -z "$ac_c_werror_flag" 6094 || test ! -s conftest.err' 6095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6096 (eval $ac_try) 2>&5 6097 ac_status=$? 6098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6099 (exit $ac_status); }; } && 6100 { ac_try='test -s conftest.$ac_objext' 6101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6102 (eval $ac_try) 2>&5 6103 ac_status=$? 6104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6105 (exit $ac_status); }; }; then 6550 6106 ac_header_compiler=yes 6551 6107 else … … 6553 6109 sed 's/^/| /' conftest.$ac_ext >&5 6554 6110 6555 ac_header_compiler=no 6556 fi 6557 6558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6559 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6560 echo "${ECHO_T}$ac_header_compiler" >&6; } 6111 ac_header_compiler=no 6112 fi 6113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6114 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6115 echo "${ECHO_T}$ac_header_compiler" >&6 6561 6116 6562 6117 # Is the header present? 6563 {echo "$as_me:$LINENO: checking semaphore.h presence" >&56564 echo $ECHO_N "checking semaphore.h presence... $ECHO_C" >&6 ; }6118 echo "$as_me:$LINENO: checking semaphore.h presence" >&5 6119 echo $ECHO_N "checking semaphore.h presence... $ECHO_C" >&6 6565 6120 cat >conftest.$ac_ext <<_ACEOF 6566 6121 /* confdefs.h. */ … … 6571 6126 #include <semaphore.h> 6572 6127 _ACEOF 6573 if { (ac_try="$ac_cpp conftest.$ac_ext" 6574 case "(($ac_try" in 6575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6576 *) ac_try_echo=$ac_try;; 6577 esac 6578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6580 6130 ac_status=$? 6581 6131 grep -v '^ *+' conftest.er1 >conftest.err … … 6583 6133 cat conftest.err >&5 6584 6134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6585 (exit $ac_status); } >/dev/null && { 6586 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6587 test ! -s conftest.err 6588 }; then 6135 (exit $ac_status); } >/dev/null; then 6136 if test -s conftest.err; then 6137 ac_cpp_err=$ac_c_preproc_warn_flag 6138 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6139 else 6140 ac_cpp_err= 6141 fi 6142 else 6143 ac_cpp_err=yes 6144 fi 6145 if test -z "$ac_cpp_err"; then 6589 6146 ac_header_preproc=yes 6590 6147 else … … 6594 6151 ac_header_preproc=no 6595 6152 fi 6596 6597 6153 rm -f conftest.err conftest.$ac_ext 6598 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&56599 echo "${ECHO_T}$ac_header_preproc" >&6 ; }6154 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6155 echo "${ECHO_T}$ac_header_preproc" >&6 6600 6156 6601 6157 # So? What about this header? … … 6621 6177 { echo "$as_me:$LINENO: WARNING: semaphore.h: in the future, the compiler will take precedence" >&5 6622 6178 echo "$as_me: WARNING: semaphore.h: in the future, the compiler will take precedence" >&2;} 6623 6179 ( 6180 cat <<\_ASBOX 6181 ## ------------------------------------ ## 6182 ## Report this to the pjproject lists. ## 6183 ## ------------------------------------ ## 6184 _ASBOX 6185 ) | 6186 sed "s/^/$as_me: WARNING: /" >&2 6624 6187 ;; 6625 6188 esac 6626 {echo "$as_me:$LINENO: checking for semaphore.h" >&56627 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6 ; }6189 echo "$as_me:$LINENO: checking for semaphore.h" >&5 6190 echo $ECHO_N "checking for semaphore.h... $ECHO_C" >&6 6628 6191 if test "${ac_cv_header_semaphore_h+set}" = set; then 6629 6192 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6631 6194 ac_cv_header_semaphore_h=$ac_header_preproc 6632 6195 fi 6633 {echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&56634 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6 ; }6196 echo "$as_me:$LINENO: result: $ac_cv_header_semaphore_h" >&5 6197 echo "${ECHO_T}$ac_cv_header_semaphore_h" >&6 6635 6198 6636 6199 fi … … 6644 6207 6645 6208 if test "${ac_cv_header_setjmp_h+set}" = set; then 6646 {echo "$as_me:$LINENO: checking for setjmp.h" >&56647 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6 ; }6209 echo "$as_me:$LINENO: checking for setjmp.h" >&5 6210 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6 6648 6211 if test "${ac_cv_header_setjmp_h+set}" = set; then 6649 6212 echo $ECHO_N "(cached) $ECHO_C" >&6 6650 6213 fi 6651 {echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&56652 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6 ; }6214 echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 6215 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6 6653 6216 else 6654 6217 # Is the header compilable? 6655 {echo "$as_me:$LINENO: checking setjmp.h usability" >&56656 echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6 ; }6218 echo "$as_me:$LINENO: checking setjmp.h usability" >&5 6219 echo $ECHO_N "checking setjmp.h usability... $ECHO_C" >&6 6657 6220 cat >conftest.$ac_ext <<_ACEOF 6658 6221 /* confdefs.h. */ … … 6665 6228 _ACEOF 6666 6229 rm -f conftest.$ac_objext 6667 if { (ac_try="$ac_compile" 6668 case "(($ac_try" in 6669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6670 *) ac_try_echo=$ac_try;; 6671 esac 6672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6673 (eval "$ac_compile") 2>conftest.er1 6230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6231 (eval $ac_compile) 2>conftest.er1 6674 6232 ac_status=$? 6675 6233 grep -v '^ *+' conftest.er1 >conftest.err … … 6677 6235 cat conftest.err >&5 6678 6236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6679 (exit $ac_status); } && { 6680 test -z "$ac_c_werror_flag" || 6681 test ! -s conftest.err 6682 } && test -s conftest.$ac_objext; then 6237 (exit $ac_status); } && 6238 { ac_try='test -z "$ac_c_werror_flag" 6239 || test ! -s conftest.err' 6240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6241 (eval $ac_try) 2>&5 6242 ac_status=$? 6243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6244 (exit $ac_status); }; } && 6245 { ac_try='test -s conftest.$ac_objext' 6246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6247 (eval $ac_try) 2>&5 6248 ac_status=$? 6249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6250 (exit $ac_status); }; }; then 6683 6251 ac_header_compiler=yes 6684 6252 else … … 6686 6254 sed 's/^/| /' conftest.$ac_ext >&5 6687 6255 6688 ac_header_compiler=no 6689 fi 6690 6691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6692 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6693 echo "${ECHO_T}$ac_header_compiler" >&6; } 6256 ac_header_compiler=no 6257 fi 6258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6259 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6260 echo "${ECHO_T}$ac_header_compiler" >&6 6694 6261 6695 6262 # Is the header present? 6696 {echo "$as_me:$LINENO: checking setjmp.h presence" >&56697 echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6 ; }6263 echo "$as_me:$LINENO: checking setjmp.h presence" >&5 6264 echo $ECHO_N "checking setjmp.h presence... $ECHO_C" >&6 6698 6265 cat >conftest.$ac_ext <<_ACEOF 6699 6266 /* confdefs.h. */ … … 6704 6271 #include <setjmp.h> 6705 6272 _ACEOF 6706 if { (ac_try="$ac_cpp conftest.$ac_ext" 6707 case "(($ac_try" in 6708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6709 *) ac_try_echo=$ac_try;; 6710 esac 6711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6712 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6274 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6713 6275 ac_status=$? 6714 6276 grep -v '^ *+' conftest.er1 >conftest.err … … 6716 6278 cat conftest.err >&5 6717 6279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6718 (exit $ac_status); } >/dev/null && { 6719 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6720 test ! -s conftest.err 6721 }; then 6280 (exit $ac_status); } >/dev/null; then 6281 if test -s conftest.err; then 6282 ac_cpp_err=$ac_c_preproc_warn_flag 6283 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6284 else 6285 ac_cpp_err= 6286 fi 6287 else 6288 ac_cpp_err=yes 6289 fi 6290 if test -z "$ac_cpp_err"; then 6722 6291 ac_header_preproc=yes 6723 6292 else … … 6727 6296 ac_header_preproc=no 6728 6297 fi 6729 6730 6298 rm -f conftest.err conftest.$ac_ext 6731 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&56732 echo "${ECHO_T}$ac_header_preproc" >&6 ; }6299 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6300 echo "${ECHO_T}$ac_header_preproc" >&6 6733 6301 6734 6302 # So? What about this header? … … 6754 6322 { echo "$as_me:$LINENO: WARNING: setjmp.h: in the future, the compiler will take precedence" >&5 6755 6323 echo "$as_me: WARNING: setjmp.h: in the future, the compiler will take precedence" >&2;} 6756 6324 ( 6325 cat <<\_ASBOX 6326 ## ------------------------------------ ## 6327 ## Report this to the pjproject lists. ## 6328 ## ------------------------------------ ## 6329 _ASBOX 6330 ) | 6331 sed "s/^/$as_me: WARNING: /" >&2 6757 6332 ;; 6758 6333 esac 6759 {echo "$as_me:$LINENO: checking for setjmp.h" >&56760 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6 ; }6334 echo "$as_me:$LINENO: checking for setjmp.h" >&5 6335 echo $ECHO_N "checking for setjmp.h... $ECHO_C" >&6 6761 6336 if test "${ac_cv_header_setjmp_h+set}" = set; then 6762 6337 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6764 6339 ac_cv_header_setjmp_h=$ac_header_preproc 6765 6340 fi 6766 {echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&56767 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6 ; }6341 echo "$as_me:$LINENO: result: $ac_cv_header_setjmp_h" >&5 6342 echo "${ECHO_T}$ac_cv_header_setjmp_h" >&6 6768 6343 6769 6344 fi … … 6777 6352 6778 6353 if test "${ac_cv_header_stdarg_h+set}" = set; then 6779 {echo "$as_me:$LINENO: checking for stdarg.h" >&56780 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 ; }6354 echo "$as_me:$LINENO: checking for stdarg.h" >&5 6355 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 6781 6356 if test "${ac_cv_header_stdarg_h+set}" = set; then 6782 6357 echo $ECHO_N "(cached) $ECHO_C" >&6 6783 6358 fi 6784 {echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&56785 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 ; }6359 echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 6360 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 6786 6361 else 6787 6362 # Is the header compilable? 6788 {echo "$as_me:$LINENO: checking stdarg.h usability" >&56789 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6 ; }6363 echo "$as_me:$LINENO: checking stdarg.h usability" >&5 6364 echo $ECHO_N "checking stdarg.h usability... $ECHO_C" >&6 6790 6365 cat >conftest.$ac_ext <<_ACEOF 6791 6366 /* confdefs.h. */ … … 6798 6373 _ACEOF 6799 6374 rm -f conftest.$ac_objext 6800 if { (ac_try="$ac_compile" 6801 case "(($ac_try" in 6802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6803 *) ac_try_echo=$ac_try;; 6804 esac 6805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6806 (eval "$ac_compile") 2>conftest.er1 6375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6376 (eval $ac_compile) 2>conftest.er1 6807 6377 ac_status=$? 6808 6378 grep -v '^ *+' conftest.er1 >conftest.err … … 6810 6380 cat conftest.err >&5 6811 6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6812 (exit $ac_status); } && { 6813 test -z "$ac_c_werror_flag" || 6814 test ! -s conftest.err 6815 } && test -s conftest.$ac_objext; then 6382 (exit $ac_status); } && 6383 { ac_try='test -z "$ac_c_werror_flag" 6384 || test ! -s conftest.err' 6385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6386 (eval $ac_try) 2>&5 6387 ac_status=$? 6388 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6389 (exit $ac_status); }; } && 6390 { ac_try='test -s conftest.$ac_objext' 6391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6392 (eval $ac_try) 2>&5 6393 ac_status=$? 6394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6395 (exit $ac_status); }; }; then 6816 6396 ac_header_compiler=yes 6817 6397 else … … 6819 6399 sed 's/^/| /' conftest.$ac_ext >&5 6820 6400 6821 ac_header_compiler=no 6822 fi 6823 6824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6825 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6826 echo "${ECHO_T}$ac_header_compiler" >&6; } 6401 ac_header_compiler=no 6402 fi 6403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6404 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6405 echo "${ECHO_T}$ac_header_compiler" >&6 6827 6406 6828 6407 # Is the header present? 6829 {echo "$as_me:$LINENO: checking stdarg.h presence" >&56830 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6 ; }6408 echo "$as_me:$LINENO: checking stdarg.h presence" >&5 6409 echo $ECHO_N "checking stdarg.h presence... $ECHO_C" >&6 6831 6410 cat >conftest.$ac_ext <<_ACEOF 6832 6411 /* confdefs.h. */ … … 6837 6416 #include <stdarg.h> 6838 6417 _ACEOF 6839 if { (ac_try="$ac_cpp conftest.$ac_ext" 6840 case "(($ac_try" in 6841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6842 *) ac_try_echo=$ac_try;; 6843 esac 6844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6845 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6419 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6846 6420 ac_status=$? 6847 6421 grep -v '^ *+' conftest.er1 >conftest.err … … 6849 6423 cat conftest.err >&5 6850 6424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6851 (exit $ac_status); } >/dev/null && { 6852 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6853 test ! -s conftest.err 6854 }; then 6425 (exit $ac_status); } >/dev/null; then 6426 if test -s conftest.err; then 6427 ac_cpp_err=$ac_c_preproc_warn_flag 6428 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6429 else 6430 ac_cpp_err= 6431 fi 6432 else 6433 ac_cpp_err=yes 6434 fi 6435 if test -z "$ac_cpp_err"; then 6855 6436 ac_header_preproc=yes 6856 6437 else … … 6860 6441 ac_header_preproc=no 6861 6442 fi 6862 6863 6443 rm -f conftest.err conftest.$ac_ext 6864 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&56865 echo "${ECHO_T}$ac_header_preproc" >&6 ; }6444 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6445 echo "${ECHO_T}$ac_header_preproc" >&6 6866 6446 6867 6447 # So? What about this header? … … 6887 6467 { echo "$as_me:$LINENO: WARNING: stdarg.h: in the future, the compiler will take precedence" >&5 6888 6468 echo "$as_me: WARNING: stdarg.h: in the future, the compiler will take precedence" >&2;} 6889 6469 ( 6470 cat <<\_ASBOX 6471 ## ------------------------------------ ## 6472 ## Report this to the pjproject lists. ## 6473 ## ------------------------------------ ## 6474 _ASBOX 6475 ) | 6476 sed "s/^/$as_me: WARNING: /" >&2 6890 6477 ;; 6891 6478 esac 6892 {echo "$as_me:$LINENO: checking for stdarg.h" >&56893 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 ; }6479 echo "$as_me:$LINENO: checking for stdarg.h" >&5 6480 echo $ECHO_N "checking for stdarg.h... $ECHO_C" >&6 6894 6481 if test "${ac_cv_header_stdarg_h+set}" = set; then 6895 6482 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6897 6484 ac_cv_header_stdarg_h=$ac_header_preproc 6898 6485 fi 6899 {echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&56900 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 ; }6486 echo "$as_me:$LINENO: result: $ac_cv_header_stdarg_h" >&5 6487 echo "${ECHO_T}$ac_cv_header_stdarg_h" >&6 6901 6488 6902 6489 fi … … 6910 6497 6911 6498 if test "${ac_cv_header_stddef_h+set}" = set; then 6912 {echo "$as_me:$LINENO: checking for stddef.h" >&56913 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 ; }6499 echo "$as_me:$LINENO: checking for stddef.h" >&5 6500 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 6914 6501 if test "${ac_cv_header_stddef_h+set}" = set; then 6915 6502 echo $ECHO_N "(cached) $ECHO_C" >&6 6916 6503 fi 6917 {echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&56918 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 ; }6504 echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 6505 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 6919 6506 else 6920 6507 # Is the header compilable? 6921 {echo "$as_me:$LINENO: checking stddef.h usability" >&56922 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6 ; }6508 echo "$as_me:$LINENO: checking stddef.h usability" >&5 6509 echo $ECHO_N "checking stddef.h usability... $ECHO_C" >&6 6923 6510 cat >conftest.$ac_ext <<_ACEOF 6924 6511 /* confdefs.h. */ … … 6931 6518 _ACEOF 6932 6519 rm -f conftest.$ac_objext 6933 if { (ac_try="$ac_compile" 6934 case "(($ac_try" in 6935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6936 *) ac_try_echo=$ac_try;; 6937 esac 6938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6939 (eval "$ac_compile") 2>conftest.er1 6520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6521 (eval $ac_compile) 2>conftest.er1 6940 6522 ac_status=$? 6941 6523 grep -v '^ *+' conftest.er1 >conftest.err … … 6943 6525 cat conftest.err >&5 6944 6526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6945 (exit $ac_status); } && { 6946 test -z "$ac_c_werror_flag" || 6947 test ! -s conftest.err 6948 } && test -s conftest.$ac_objext; then 6527 (exit $ac_status); } && 6528 { ac_try='test -z "$ac_c_werror_flag" 6529 || test ! -s conftest.err' 6530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6531 (eval $ac_try) 2>&5 6532 ac_status=$? 6533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6534 (exit $ac_status); }; } && 6535 { ac_try='test -s conftest.$ac_objext' 6536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6537 (eval $ac_try) 2>&5 6538 ac_status=$? 6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6540 (exit $ac_status); }; }; then 6949 6541 ac_header_compiler=yes 6950 6542 else … … 6952 6544 sed 's/^/| /' conftest.$ac_ext >&5 6953 6545 6954 ac_header_compiler=no 6955 fi 6956 6957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6958 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6959 echo "${ECHO_T}$ac_header_compiler" >&6; } 6546 ac_header_compiler=no 6547 fi 6548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6549 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6550 echo "${ECHO_T}$ac_header_compiler" >&6 6960 6551 6961 6552 # Is the header present? 6962 {echo "$as_me:$LINENO: checking stddef.h presence" >&56963 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6 ; }6553 echo "$as_me:$LINENO: checking stddef.h presence" >&5 6554 echo $ECHO_N "checking stddef.h presence... $ECHO_C" >&6 6964 6555 cat >conftest.$ac_ext <<_ACEOF 6965 6556 /* confdefs.h. */ … … 6970 6561 #include <stddef.h> 6971 6562 _ACEOF 6972 if { (ac_try="$ac_cpp conftest.$ac_ext" 6973 case "(($ac_try" in 6974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6975 *) ac_try_echo=$ac_try;; 6976 esac 6977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6564 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6979 6565 ac_status=$? 6980 6566 grep -v '^ *+' conftest.er1 >conftest.err … … 6982 6568 cat conftest.err >&5 6983 6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6984 (exit $ac_status); } >/dev/null && { 6985 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6986 test ! -s conftest.err 6987 }; then 6570 (exit $ac_status); } >/dev/null; then 6571 if test -s conftest.err; then 6572 ac_cpp_err=$ac_c_preproc_warn_flag 6573 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6574 else 6575 ac_cpp_err= 6576 fi 6577 else 6578 ac_cpp_err=yes 6579 fi 6580 if test -z "$ac_cpp_err"; then 6988 6581 ac_header_preproc=yes 6989 6582 else … … 6993 6586 ac_header_preproc=no 6994 6587 fi 6995 6996 6588 rm -f conftest.err conftest.$ac_ext 6997 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&56998 echo "${ECHO_T}$ac_header_preproc" >&6 ; }6589 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6590 echo "${ECHO_T}$ac_header_preproc" >&6 6999 6591 7000 6592 # So? What about this header? … … 7020 6612 { echo "$as_me:$LINENO: WARNING: stddef.h: in the future, the compiler will take precedence" >&5 7021 6613 echo "$as_me: WARNING: stddef.h: in the future, the compiler will take precedence" >&2;} 7022 6614 ( 6615 cat <<\_ASBOX 6616 ## ------------------------------------ ## 6617 ## Report this to the pjproject lists. ## 6618 ## ------------------------------------ ## 6619 _ASBOX 6620 ) | 6621 sed "s/^/$as_me: WARNING: /" >&2 7023 6622 ;; 7024 6623 esac 7025 {echo "$as_me:$LINENO: checking for stddef.h" >&57026 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 ; }6624 echo "$as_me:$LINENO: checking for stddef.h" >&5 6625 echo $ECHO_N "checking for stddef.h... $ECHO_C" >&6 7027 6626 if test "${ac_cv_header_stddef_h+set}" = set; then 7028 6627 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7030 6629 ac_cv_header_stddef_h=$ac_header_preproc 7031 6630 fi 7032 {echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&57033 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 ; }6631 echo "$as_me:$LINENO: result: $ac_cv_header_stddef_h" >&5 6632 echo "${ECHO_T}$ac_cv_header_stddef_h" >&6 7034 6633 7035 6634 fi … … 7043 6642 7044 6643 if test "${ac_cv_header_stdio_h+set}" = set; then 7045 {echo "$as_me:$LINENO: checking for stdio.h" >&57046 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 ; }6644 echo "$as_me:$LINENO: checking for stdio.h" >&5 6645 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 7047 6646 if test "${ac_cv_header_stdio_h+set}" = set; then 7048 6647 echo $ECHO_N "(cached) $ECHO_C" >&6 7049 6648 fi 7050 {echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&57051 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 ; }6649 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 6650 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 7052 6651 else 7053 6652 # Is the header compilable? 7054 {echo "$as_me:$LINENO: checking stdio.h usability" >&57055 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6 ; }6653 echo "$as_me:$LINENO: checking stdio.h usability" >&5 6654 echo $ECHO_N "checking stdio.h usability... $ECHO_C" >&6 7056 6655 cat >conftest.$ac_ext <<_ACEOF 7057 6656 /* confdefs.h. */ … … 7064 6663 _ACEOF 7065 6664 rm -f conftest.$ac_objext 7066 if { (ac_try="$ac_compile" 7067 case "(($ac_try" in 7068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7069 *) ac_try_echo=$ac_try;; 7070 esac 7071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7072 (eval "$ac_compile") 2>conftest.er1 6665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6666 (eval $ac_compile) 2>conftest.er1 7073 6667 ac_status=$? 7074 6668 grep -v '^ *+' conftest.er1 >conftest.err … … 7076 6670 cat conftest.err >&5 7077 6671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7078 (exit $ac_status); } && { 7079 test -z "$ac_c_werror_flag" || 7080 test ! -s conftest.err 7081 } && test -s conftest.$ac_objext; then 6672 (exit $ac_status); } && 6673 { ac_try='test -z "$ac_c_werror_flag" 6674 || test ! -s conftest.err' 6675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6676 (eval $ac_try) 2>&5 6677 ac_status=$? 6678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6679 (exit $ac_status); }; } && 6680 { ac_try='test -s conftest.$ac_objext' 6681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6682 (eval $ac_try) 2>&5 6683 ac_status=$? 6684 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6685 (exit $ac_status); }; }; then 7082 6686 ac_header_compiler=yes 7083 6687 else … … 7085 6689 sed 's/^/| /' conftest.$ac_ext >&5 7086 6690 7087 ac_header_compiler=no 7088 fi 7089 7090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7091 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7092 echo "${ECHO_T}$ac_header_compiler" >&6; } 6691 ac_header_compiler=no 6692 fi 6693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6694 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6695 echo "${ECHO_T}$ac_header_compiler" >&6 7093 6696 7094 6697 # Is the header present? 7095 {echo "$as_me:$LINENO: checking stdio.h presence" >&57096 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6 ; }6698 echo "$as_me:$LINENO: checking stdio.h presence" >&5 6699 echo $ECHO_N "checking stdio.h presence... $ECHO_C" >&6 7097 6700 cat >conftest.$ac_ext <<_ACEOF 7098 6701 /* confdefs.h. */ … … 7103 6706 #include <stdio.h> 7104 6707 _ACEOF 7105 if { (ac_try="$ac_cpp conftest.$ac_ext" 7106 case "(($ac_try" in 7107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7108 *) ac_try_echo=$ac_try;; 7109 esac 7110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7111 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6708 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6709 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7112 6710 ac_status=$? 7113 6711 grep -v '^ *+' conftest.er1 >conftest.err … … 7115 6713 cat conftest.err >&5 7116 6714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7117 (exit $ac_status); } >/dev/null && { 7118 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7119 test ! -s conftest.err 7120 }; then 6715 (exit $ac_status); } >/dev/null; then 6716 if test -s conftest.err; then 6717 ac_cpp_err=$ac_c_preproc_warn_flag 6718 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6719 else 6720 ac_cpp_err= 6721 fi 6722 else 6723 ac_cpp_err=yes 6724 fi 6725 if test -z "$ac_cpp_err"; then 7121 6726 ac_header_preproc=yes 7122 6727 else … … 7126 6731 ac_header_preproc=no 7127 6732 fi 7128 7129 6733 rm -f conftest.err conftest.$ac_ext 7130 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&57131 echo "${ECHO_T}$ac_header_preproc" >&6 ; }6734 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6735 echo "${ECHO_T}$ac_header_preproc" >&6 7132 6736 7133 6737 # So? What about this header? … … 7153 6757 { echo "$as_me:$LINENO: WARNING: stdio.h: in the future, the compiler will take precedence" >&5 7154 6758 echo "$as_me: WARNING: stdio.h: in the future, the compiler will take precedence" >&2;} 7155 6759 ( 6760 cat <<\_ASBOX 6761 ## ------------------------------------ ## 6762 ## Report this to the pjproject lists. ## 6763 ## ------------------------------------ ## 6764 _ASBOX 6765 ) | 6766 sed "s/^/$as_me: WARNING: /" >&2 7156 6767 ;; 7157 6768 esac 7158 {echo "$as_me:$LINENO: checking for stdio.h" >&57159 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 ; }6769 echo "$as_me:$LINENO: checking for stdio.h" >&5 6770 echo $ECHO_N "checking for stdio.h... $ECHO_C" >&6 7160 6771 if test "${ac_cv_header_stdio_h+set}" = set; then 7161 6772 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7163 6774 ac_cv_header_stdio_h=$ac_header_preproc 7164 6775 fi 7165 {echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&57166 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 ; }6776 echo "$as_me:$LINENO: result: $ac_cv_header_stdio_h" >&5 6777 echo "${ECHO_T}$ac_cv_header_stdio_h" >&6 7167 6778 7168 6779 fi … … 7176 6787 7177 6788 if test "${ac_cv_header_stdint_h+set}" = set; then 7178 {echo "$as_me:$LINENO: checking for stdint.h" >&57179 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6 ; }6789 echo "$as_me:$LINENO: checking for stdint.h" >&5 6790 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6 7180 6791 if test "${ac_cv_header_stdint_h+set}" = set; then 7181 6792 echo $ECHO_N "(cached) $ECHO_C" >&6 7182 6793 fi 7183 {echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&57184 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6 ; }6794 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 6795 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6 7185 6796 else 7186 6797 # Is the header compilable? 7187 {echo "$as_me:$LINENO: checking stdint.h usability" >&57188 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6 ; }6798 echo "$as_me:$LINENO: checking stdint.h usability" >&5 6799 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6 7189 6800 cat >conftest.$ac_ext <<_ACEOF 7190 6801 /* confdefs.h. */ … … 7197 6808 _ACEOF 7198 6809 rm -f conftest.$ac_objext 7199 if { (ac_try="$ac_compile" 7200 case "(($ac_try" in 7201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7202 *) ac_try_echo=$ac_try;; 7203 esac 7204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7205 (eval "$ac_compile") 2>conftest.er1 6810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6811 (eval $ac_compile) 2>conftest.er1 7206 6812 ac_status=$? 7207 6813 grep -v '^ *+' conftest.er1 >conftest.err … … 7209 6815 cat conftest.err >&5 7210 6816 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7211 (exit $ac_status); } && { 7212 test -z "$ac_c_werror_flag" || 7213 test ! -s conftest.err 7214 } && test -s conftest.$ac_objext; then 6817 (exit $ac_status); } && 6818 { ac_try='test -z "$ac_c_werror_flag" 6819 || test ! -s conftest.err' 6820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6821 (eval $ac_try) 2>&5 6822 ac_status=$? 6823 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6824 (exit $ac_status); }; } && 6825 { ac_try='test -s conftest.$ac_objext' 6826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6827 (eval $ac_try) 2>&5 6828 ac_status=$? 6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6830 (exit $ac_status); }; }; then 7215 6831 ac_header_compiler=yes 7216 6832 else … … 7218 6834 sed 's/^/| /' conftest.$ac_ext >&5 7219 6835 7220 ac_header_compiler=no 7221 fi 7222 7223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7224 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7225 echo "${ECHO_T}$ac_header_compiler" >&6; } 6836 ac_header_compiler=no 6837 fi 6838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6839 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6840 echo "${ECHO_T}$ac_header_compiler" >&6 7226 6841 7227 6842 # Is the header present? 7228 {echo "$as_me:$LINENO: checking stdint.h presence" >&57229 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6 ; }6843 echo "$as_me:$LINENO: checking stdint.h presence" >&5 6844 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6 7230 6845 cat >conftest.$ac_ext <<_ACEOF 7231 6846 /* confdefs.h. */ … … 7236 6851 #include <stdint.h> 7237 6852 _ACEOF 7238 if { (ac_try="$ac_cpp conftest.$ac_ext" 7239 case "(($ac_try" in 7240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7241 *) ac_try_echo=$ac_try;; 7242 esac 7243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7244 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6853 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6854 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7245 6855 ac_status=$? 7246 6856 grep -v '^ *+' conftest.er1 >conftest.err … … 7248 6858 cat conftest.err >&5 7249 6859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7250 (exit $ac_status); } >/dev/null && { 7251 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7252 test ! -s conftest.err 7253 }; then 6860 (exit $ac_status); } >/dev/null; then 6861 if test -s conftest.err; then 6862 ac_cpp_err=$ac_c_preproc_warn_flag 6863 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 6864 else 6865 ac_cpp_err= 6866 fi 6867 else 6868 ac_cpp_err=yes 6869 fi 6870 if test -z "$ac_cpp_err"; then 7254 6871 ac_header_preproc=yes 7255 6872 else … … 7259 6876 ac_header_preproc=no 7260 6877 fi 7261 7262 6878 rm -f conftest.err conftest.$ac_ext 7263 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&57264 echo "${ECHO_T}$ac_header_preproc" >&6 ; }6879 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6880 echo "${ECHO_T}$ac_header_preproc" >&6 7265 6881 7266 6882 # So? What about this header? … … 7286 6902 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5 7287 6903 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;} 7288 6904 ( 6905 cat <<\_ASBOX 6906 ## ------------------------------------ ## 6907 ## Report this to the pjproject lists. ## 6908 ## ------------------------------------ ## 6909 _ASBOX 6910 ) | 6911 sed "s/^/$as_me: WARNING: /" >&2 7289 6912 ;; 7290 6913 esac 7291 {echo "$as_me:$LINENO: checking for stdint.h" >&57292 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6 ; }6914 echo "$as_me:$LINENO: checking for stdint.h" >&5 6915 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6 7293 6916 if test "${ac_cv_header_stdint_h+set}" = set; then 7294 6917 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7296 6919 ac_cv_header_stdint_h=$ac_header_preproc 7297 6920 fi 7298 {echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&57299 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6 ; }6921 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5 6922 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6 7300 6923 7301 6924 fi … … 7309 6932 7310 6933 if test "${ac_cv_header_stdlib_h+set}" = set; then 7311 {echo "$as_me:$LINENO: checking for stdlib.h" >&57312 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 ; }6934 echo "$as_me:$LINENO: checking for stdlib.h" >&5 6935 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 7313 6936 if test "${ac_cv_header_stdlib_h+set}" = set; then 7314 6937 echo $ECHO_N "(cached) $ECHO_C" >&6 7315 6938 fi 7316 {echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&57317 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 ; }6939 echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 6940 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 7318 6941 else 7319 6942 # Is the header compilable? 7320 {echo "$as_me:$LINENO: checking stdlib.h usability" >&57321 echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6 ; }6943 echo "$as_me:$LINENO: checking stdlib.h usability" >&5 6944 echo $ECHO_N "checking stdlib.h usability... $ECHO_C" >&6 7322 6945 cat >conftest.$ac_ext <<_ACEOF 7323 6946 /* confdefs.h. */ … … 7330 6953 _ACEOF 7331 6954 rm -f conftest.$ac_objext 7332 if { (ac_try="$ac_compile" 7333 case "(($ac_try" in 7334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7335 *) ac_try_echo=$ac_try;; 7336 esac 7337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7338 (eval "$ac_compile") 2>conftest.er1 6955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6956 (eval $ac_compile) 2>conftest.er1 7339 6957 ac_status=$? 7340 6958 grep -v '^ *+' conftest.er1 >conftest.err … … 7342 6960 cat conftest.err >&5 7343 6961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7344 (exit $ac_status); } && { 7345 test -z "$ac_c_werror_flag" || 7346 test ! -s conftest.err 7347 } && test -s conftest.$ac_objext; then 6962 (exit $ac_status); } && 6963 { ac_try='test -z "$ac_c_werror_flag" 6964 || test ! -s conftest.err' 6965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6966 (eval $ac_try) 2>&5 6967 ac_status=$? 6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6969 (exit $ac_status); }; } && 6970 { ac_try='test -s conftest.$ac_objext' 6971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6972 (eval $ac_try) 2>&5 6973 ac_status=$? 6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6975 (exit $ac_status); }; }; then 7348 6976 ac_header_compiler=yes 7349 6977 else … … 7351 6979 sed 's/^/| /' conftest.$ac_ext >&5 7352 6980 7353 ac_header_compiler=no 7354 fi 7355 7356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7357 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7358 echo "${ECHO_T}$ac_header_compiler" >&6; } 6981 ac_header_compiler=no 6982 fi 6983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 6984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6985 echo "${ECHO_T}$ac_header_compiler" >&6 7359 6986 7360 6987 # Is the header present? 7361 {echo "$as_me:$LINENO: checking stdlib.h presence" >&57362 echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6 ; }6988 echo "$as_me:$LINENO: checking stdlib.h presence" >&5 6989 echo $ECHO_N "checking stdlib.h presence... $ECHO_C" >&6 7363 6990 cat >conftest.$ac_ext <<_ACEOF 7364 6991 /* confdefs.h. */ … … 7369 6996 #include <stdlib.h> 7370 6997 _ACEOF 7371 if { (ac_try="$ac_cpp conftest.$ac_ext" 7372 case "(($ac_try" in 7373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7374 *) ac_try_echo=$ac_try;; 7375 esac 7376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7377 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6999 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7378 7000 ac_status=$? 7379 7001 grep -v '^ *+' conftest.er1 >conftest.err … … 7381 7003 cat conftest.err >&5 7382 7004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7383 (exit $ac_status); } >/dev/null && { 7384 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7385 test ! -s conftest.err 7386 }; then 7005 (exit $ac_status); } >/dev/null; then 7006 if test -s conftest.err; then 7007 ac_cpp_err=$ac_c_preproc_warn_flag 7008 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7009 else 7010 ac_cpp_err= 7011 fi 7012 else 7013 ac_cpp_err=yes 7014 fi 7015 if test -z "$ac_cpp_err"; then 7387 7016 ac_header_preproc=yes 7388 7017 else … … 7392 7021 ac_header_preproc=no 7393 7022 fi 7394 7395 7023 rm -f conftest.err conftest.$ac_ext 7396 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&57397 echo "${ECHO_T}$ac_header_preproc" >&6 ; }7024 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7025 echo "${ECHO_T}$ac_header_preproc" >&6 7398 7026 7399 7027 # So? What about this header? … … 7419 7047 { echo "$as_me:$LINENO: WARNING: stdlib.h: in the future, the compiler will take precedence" >&5 7420 7048 echo "$as_me: WARNING: stdlib.h: in the future, the compiler will take precedence" >&2;} 7421 7049 ( 7050 cat <<\_ASBOX 7051 ## ------------------------------------ ## 7052 ## Report this to the pjproject lists. ## 7053 ## ------------------------------------ ## 7054 _ASBOX 7055 ) | 7056 sed "s/^/$as_me: WARNING: /" >&2 7422 7057 ;; 7423 7058 esac 7424 {echo "$as_me:$LINENO: checking for stdlib.h" >&57425 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 ; }7059 echo "$as_me:$LINENO: checking for stdlib.h" >&5 7060 echo $ECHO_N "checking for stdlib.h... $ECHO_C" >&6 7426 7061 if test "${ac_cv_header_stdlib_h+set}" = set; then 7427 7062 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7429 7064 ac_cv_header_stdlib_h=$ac_header_preproc 7430 7065 fi 7431 {echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&57432 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 ; }7066 echo "$as_me:$LINENO: result: $ac_cv_header_stdlib_h" >&5 7067 echo "${ECHO_T}$ac_cv_header_stdlib_h" >&6 7433 7068 7434 7069 fi … … 7442 7077 7443 7078 if test "${ac_cv_header_string_h+set}" = set; then 7444 {echo "$as_me:$LINENO: checking for string.h" >&57445 echo $ECHO_N "checking for string.h... $ECHO_C" >&6 ; }7079 echo "$as_me:$LINENO: checking for string.h" >&5 7080 echo $ECHO_N "checking for string.h... $ECHO_C" >&6 7446 7081 if test "${ac_cv_header_string_h+set}" = set; then 7447 7082 echo $ECHO_N "(cached) $ECHO_C" >&6 7448 7083 fi 7449 {echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&57450 echo "${ECHO_T}$ac_cv_header_string_h" >&6 ; }7084 echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 7085 echo "${ECHO_T}$ac_cv_header_string_h" >&6 7451 7086 else 7452 7087 # Is the header compilable? 7453 {echo "$as_me:$LINENO: checking string.h usability" >&57454 echo $ECHO_N "checking string.h usability... $ECHO_C" >&6 ; }7088 echo "$as_me:$LINENO: checking string.h usability" >&5 7089 echo $ECHO_N "checking string.h usability... $ECHO_C" >&6 7455 7090 cat >conftest.$ac_ext <<_ACEOF 7456 7091 /* confdefs.h. */ … … 7463 7098 _ACEOF 7464 7099 rm -f conftest.$ac_objext 7465 if { (ac_try="$ac_compile" 7466 case "(($ac_try" in 7467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7468 *) ac_try_echo=$ac_try;; 7469 esac 7470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7471 (eval "$ac_compile") 2>conftest.er1 7100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7101 (eval $ac_compile) 2>conftest.er1 7472 7102 ac_status=$? 7473 7103 grep -v '^ *+' conftest.er1 >conftest.err … … 7475 7105 cat conftest.err >&5 7476 7106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7477 (exit $ac_status); } && { 7478 test -z "$ac_c_werror_flag" || 7479 test ! -s conftest.err 7480 } && test -s conftest.$ac_objext; then 7107 (exit $ac_status); } && 7108 { ac_try='test -z "$ac_c_werror_flag" 7109 || test ! -s conftest.err' 7110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7111 (eval $ac_try) 2>&5 7112 ac_status=$? 7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7114 (exit $ac_status); }; } && 7115 { ac_try='test -s conftest.$ac_objext' 7116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7117 (eval $ac_try) 2>&5 7118 ac_status=$? 7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7120 (exit $ac_status); }; }; then 7481 7121 ac_header_compiler=yes 7482 7122 else … … 7484 7124 sed 's/^/| /' conftest.$ac_ext >&5 7485 7125 7486 ac_header_compiler=no 7487 fi 7488 7489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7490 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7491 echo "${ECHO_T}$ac_header_compiler" >&6; } 7126 ac_header_compiler=no 7127 fi 7128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7129 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7130 echo "${ECHO_T}$ac_header_compiler" >&6 7492 7131 7493 7132 # Is the header present? 7494 {echo "$as_me:$LINENO: checking string.h presence" >&57495 echo $ECHO_N "checking string.h presence... $ECHO_C" >&6 ; }7133 echo "$as_me:$LINENO: checking string.h presence" >&5 7134 echo $ECHO_N "checking string.h presence... $ECHO_C" >&6 7496 7135 cat >conftest.$ac_ext <<_ACEOF 7497 7136 /* confdefs.h. */ … … 7502 7141 #include <string.h> 7503 7142 _ACEOF 7504 if { (ac_try="$ac_cpp conftest.$ac_ext" 7505 case "(($ac_try" in 7506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7507 *) ac_try_echo=$ac_try;; 7508 esac 7509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7511 7145 ac_status=$? 7512 7146 grep -v '^ *+' conftest.er1 >conftest.err … … 7514 7148 cat conftest.err >&5 7515 7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7516 (exit $ac_status); } >/dev/null && { 7517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7518 test ! -s conftest.err 7519 }; then 7150 (exit $ac_status); } >/dev/null; then 7151 if test -s conftest.err; then 7152 ac_cpp_err=$ac_c_preproc_warn_flag 7153 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7154 else 7155 ac_cpp_err= 7156 fi 7157 else 7158 ac_cpp_err=yes 7159 fi 7160 if test -z "$ac_cpp_err"; then 7520 7161 ac_header_preproc=yes 7521 7162 else … … 7525 7166 ac_header_preproc=no 7526 7167 fi 7527 7528 7168 rm -f conftest.err conftest.$ac_ext 7529 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&57530 echo "${ECHO_T}$ac_header_preproc" >&6 ; }7169 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7170 echo "${ECHO_T}$ac_header_preproc" >&6 7531 7171 7532 7172 # So? What about this header? … … 7552 7192 { echo "$as_me:$LINENO: WARNING: string.h: in the future, the compiler will take precedence" >&5 7553 7193 echo "$as_me: WARNING: string.h: in the future, the compiler will take precedence" >&2;} 7554 7194 ( 7195 cat <<\_ASBOX 7196 ## ------------------------------------ ## 7197 ## Report this to the pjproject lists. ## 7198 ## ------------------------------------ ## 7199 _ASBOX 7200 ) | 7201 sed "s/^/$as_me: WARNING: /" >&2 7555 7202 ;; 7556 7203 esac 7557 {echo "$as_me:$LINENO: checking for string.h" >&57558 echo $ECHO_N "checking for string.h... $ECHO_C" >&6 ; }7204 echo "$as_me:$LINENO: checking for string.h" >&5 7205 echo $ECHO_N "checking for string.h... $ECHO_C" >&6 7559 7206 if test "${ac_cv_header_string_h+set}" = set; then 7560 7207 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7562 7209 ac_cv_header_string_h=$ac_header_preproc 7563 7210 fi 7564 {echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&57565 echo "${ECHO_T}$ac_cv_header_string_h" >&6 ; }7211 echo "$as_me:$LINENO: result: $ac_cv_header_string_h" >&5 7212 echo "${ECHO_T}$ac_cv_header_string_h" >&6 7566 7213 7567 7214 fi … … 7575 7222 7576 7223 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 7577 {echo "$as_me:$LINENO: checking for sys/ioctl.h" >&57578 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6 ; }7224 echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 7225 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6 7579 7226 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 7580 7227 echo $ECHO_N "(cached) $ECHO_C" >&6 7581 7228 fi 7582 {echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&57583 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6 ; }7229 echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 7230 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6 7584 7231 else 7585 7232 # Is the header compilable? 7586 {echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&57587 echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6 ; }7233 echo "$as_me:$LINENO: checking sys/ioctl.h usability" >&5 7234 echo $ECHO_N "checking sys/ioctl.h usability... $ECHO_C" >&6 7588 7235 cat >conftest.$ac_ext <<_ACEOF 7589 7236 /* confdefs.h. */ … … 7596 7243 _ACEOF 7597 7244 rm -f conftest.$ac_objext 7598 if { (ac_try="$ac_compile" 7599 case "(($ac_try" in 7600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7601 *) ac_try_echo=$ac_try;; 7602 esac 7603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7604 (eval "$ac_compile") 2>conftest.er1 7245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7246 (eval $ac_compile) 2>conftest.er1 7605 7247 ac_status=$? 7606 7248 grep -v '^ *+' conftest.er1 >conftest.err … … 7608 7250 cat conftest.err >&5 7609 7251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7610 (exit $ac_status); } && { 7611 test -z "$ac_c_werror_flag" || 7612 test ! -s conftest.err 7613 } && test -s conftest.$ac_objext; then 7252 (exit $ac_status); } && 7253 { ac_try='test -z "$ac_c_werror_flag" 7254 || test ! -s conftest.err' 7255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7256 (eval $ac_try) 2>&5 7257 ac_status=$? 7258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7259 (exit $ac_status); }; } && 7260 { ac_try='test -s conftest.$ac_objext' 7261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7262 (eval $ac_try) 2>&5 7263 ac_status=$? 7264 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7265 (exit $ac_status); }; }; then 7614 7266 ac_header_compiler=yes 7615 7267 else … … 7617 7269 sed 's/^/| /' conftest.$ac_ext >&5 7618 7270 7619 ac_header_compiler=no 7620 fi 7621 7622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7623 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7624 echo "${ECHO_T}$ac_header_compiler" >&6; } 7271 ac_header_compiler=no 7272 fi 7273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7274 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7275 echo "${ECHO_T}$ac_header_compiler" >&6 7625 7276 7626 7277 # Is the header present? 7627 {echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&57628 echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6 ; }7278 echo "$as_me:$LINENO: checking sys/ioctl.h presence" >&5 7279 echo $ECHO_N "checking sys/ioctl.h presence... $ECHO_C" >&6 7629 7280 cat >conftest.$ac_ext <<_ACEOF 7630 7281 /* confdefs.h. */ … … 7635 7286 #include <sys/ioctl.h> 7636 7287 _ACEOF 7637 if { (ac_try="$ac_cpp conftest.$ac_ext" 7638 case "(($ac_try" in 7639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7640 *) ac_try_echo=$ac_try;; 7641 esac 7642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7643 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7644 7290 ac_status=$? 7645 7291 grep -v '^ *+' conftest.er1 >conftest.err … … 7647 7293 cat conftest.err >&5 7648 7294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7649 (exit $ac_status); } >/dev/null && { 7650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7651 test ! -s conftest.err 7652 }; then 7295 (exit $ac_status); } >/dev/null; then 7296 if test -s conftest.err; then 7297 ac_cpp_err=$ac_c_preproc_warn_flag 7298 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7299 else 7300 ac_cpp_err= 7301 fi 7302 else 7303 ac_cpp_err=yes 7304 fi 7305 if test -z "$ac_cpp_err"; then 7653 7306 ac_header_preproc=yes 7654 7307 else … … 7658 7311 ac_header_preproc=no 7659 7312 fi 7660 7661 7313 rm -f conftest.err conftest.$ac_ext 7662 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&57663 echo "${ECHO_T}$ac_header_preproc" >&6 ; }7314 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7315 echo "${ECHO_T}$ac_header_preproc" >&6 7664 7316 7665 7317 # So? What about this header? … … 7685 7337 { echo "$as_me:$LINENO: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&5 7686 7338 echo "$as_me: WARNING: sys/ioctl.h: in the future, the compiler will take precedence" >&2;} 7687 7339 ( 7340 cat <<\_ASBOX 7341 ## ------------------------------------ ## 7342 ## Report this to the pjproject lists. ## 7343 ## ------------------------------------ ## 7344 _ASBOX 7345 ) | 7346 sed "s/^/$as_me: WARNING: /" >&2 7688 7347 ;; 7689 7348 esac 7690 {echo "$as_me:$LINENO: checking for sys/ioctl.h" >&57691 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6 ; }7349 echo "$as_me:$LINENO: checking for sys/ioctl.h" >&5 7350 echo $ECHO_N "checking for sys/ioctl.h... $ECHO_C" >&6 7692 7351 if test "${ac_cv_header_sys_ioctl_h+set}" = set; then 7693 7352 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7695 7354 ac_cv_header_sys_ioctl_h=$ac_header_preproc 7696 7355 fi 7697 {echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&57698 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6 ; }7356 echo "$as_me:$LINENO: result: $ac_cv_header_sys_ioctl_h" >&5 7357 echo "${ECHO_T}$ac_cv_header_sys_ioctl_h" >&6 7699 7358 7700 7359 fi … … 7708 7367 7709 7368 if test "${ac_cv_header_sys_select_h+set}" = set; then 7710 {echo "$as_me:$LINENO: checking for sys/select.h" >&57711 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6 ; }7369 echo "$as_me:$LINENO: checking for sys/select.h" >&5 7370 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6 7712 7371 if test "${ac_cv_header_sys_select_h+set}" = set; then 7713 7372 echo $ECHO_N "(cached) $ECHO_C" >&6 7714 7373 fi 7715 {echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&57716 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6 ; }7374 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 7375 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6 7717 7376 else 7718 7377 # Is the header compilable? 7719 {echo "$as_me:$LINENO: checking sys/select.h usability" >&57720 echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6 ; }7378 echo "$as_me:$LINENO: checking sys/select.h usability" >&5 7379 echo $ECHO_N "checking sys/select.h usability... $ECHO_C" >&6 7721 7380 cat >conftest.$ac_ext <<_ACEOF 7722 7381 /* confdefs.h. */ … … 7729 7388 _ACEOF 7730 7389 rm -f conftest.$ac_objext 7731 if { (ac_try="$ac_compile" 7732 case "(($ac_try" in 7733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7734 *) ac_try_echo=$ac_try;; 7735 esac 7736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7737 (eval "$ac_compile") 2>conftest.er1 7390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7391 (eval $ac_compile) 2>conftest.er1 7738 7392 ac_status=$? 7739 7393 grep -v '^ *+' conftest.er1 >conftest.err … … 7741 7395 cat conftest.err >&5 7742 7396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7743 (exit $ac_status); } && { 7744 test -z "$ac_c_werror_flag" || 7745 test ! -s conftest.err 7746 } && test -s conftest.$ac_objext; then 7397 (exit $ac_status); } && 7398 { ac_try='test -z "$ac_c_werror_flag" 7399 || test ! -s conftest.err' 7400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7401 (eval $ac_try) 2>&5 7402 ac_status=$? 7403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7404 (exit $ac_status); }; } && 7405 { ac_try='test -s conftest.$ac_objext' 7406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7407 (eval $ac_try) 2>&5 7408 ac_status=$? 7409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7410 (exit $ac_status); }; }; then 7747 7411 ac_header_compiler=yes 7748 7412 else … … 7750 7414 sed 's/^/| /' conftest.$ac_ext >&5 7751 7415 7752 ac_header_compiler=no 7753 fi 7754 7755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7756 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7757 echo "${ECHO_T}$ac_header_compiler" >&6; } 7416 ac_header_compiler=no 7417 fi 7418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7419 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7420 echo "${ECHO_T}$ac_header_compiler" >&6 7758 7421 7759 7422 # Is the header present? 7760 {echo "$as_me:$LINENO: checking sys/select.h presence" >&57761 echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6 ; }7423 echo "$as_me:$LINENO: checking sys/select.h presence" >&5 7424 echo $ECHO_N "checking sys/select.h presence... $ECHO_C" >&6 7762 7425 cat >conftest.$ac_ext <<_ACEOF 7763 7426 /* confdefs.h. */ … … 7768 7431 #include <sys/select.h> 7769 7432 _ACEOF 7770 if { (ac_try="$ac_cpp conftest.$ac_ext" 7771 case "(($ac_try" in 7772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7773 *) ac_try_echo=$ac_try;; 7774 esac 7775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7776 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7434 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7777 7435 ac_status=$? 7778 7436 grep -v '^ *+' conftest.er1 >conftest.err … … 7780 7438 cat conftest.err >&5 7781 7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7782 (exit $ac_status); } >/dev/null && { 7783 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7784 test ! -s conftest.err 7785 }; then 7440 (exit $ac_status); } >/dev/null; then 7441 if test -s conftest.err; then 7442 ac_cpp_err=$ac_c_preproc_warn_flag 7443 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7444 else 7445 ac_cpp_err= 7446 fi 7447 else 7448 ac_cpp_err=yes 7449 fi 7450 if test -z "$ac_cpp_err"; then 7786 7451 ac_header_preproc=yes 7787 7452 else … … 7791 7456 ac_header_preproc=no 7792 7457 fi 7793 7794 7458 rm -f conftest.err conftest.$ac_ext 7795 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&57796 echo "${ECHO_T}$ac_header_preproc" >&6 ; }7459 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7460 echo "${ECHO_T}$ac_header_preproc" >&6 7797 7461 7798 7462 # So? What about this header? … … 7818 7482 { echo "$as_me:$LINENO: WARNING: sys/select.h: in the future, the compiler will take precedence" >&5 7819 7483 echo "$as_me: WARNING: sys/select.h: in the future, the compiler will take precedence" >&2;} 7820 7484 ( 7485 cat <<\_ASBOX 7486 ## ------------------------------------ ## 7487 ## Report this to the pjproject lists. ## 7488 ## ------------------------------------ ## 7489 _ASBOX 7490 ) | 7491 sed "s/^/$as_me: WARNING: /" >&2 7821 7492 ;; 7822 7493 esac 7823 {echo "$as_me:$LINENO: checking for sys/select.h" >&57824 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6 ; }7494 echo "$as_me:$LINENO: checking for sys/select.h" >&5 7495 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6 7825 7496 if test "${ac_cv_header_sys_select_h+set}" = set; then 7826 7497 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7828 7499 ac_cv_header_sys_select_h=$ac_header_preproc 7829 7500 fi 7830 {echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&57831 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6 ; }7501 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5 7502 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6 7832 7503 7833 7504 fi … … 7841 7512 7842 7513 if test "${ac_cv_header_sys_socket_h+set}" = set; then 7843 {echo "$as_me:$LINENO: checking for sys/socket.h" >&57844 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 ; }7514 echo "$as_me:$LINENO: checking for sys/socket.h" >&5 7515 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 7845 7516 if test "${ac_cv_header_sys_socket_h+set}" = set; then 7846 7517 echo $ECHO_N "(cached) $ECHO_C" >&6 7847 7518 fi 7848 {echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&57849 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 ; }7519 echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 7520 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 7850 7521 else 7851 7522 # Is the header compilable? 7852 {echo "$as_me:$LINENO: checking sys/socket.h usability" >&57853 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6 ; }7523 echo "$as_me:$LINENO: checking sys/socket.h usability" >&5 7524 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6 7854 7525 cat >conftest.$ac_ext <<_ACEOF 7855 7526 /* confdefs.h. */ … … 7862 7533 _ACEOF 7863 7534 rm -f conftest.$ac_objext 7864 if { (ac_try="$ac_compile" 7865 case "(($ac_try" in 7866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7867 *) ac_try_echo=$ac_try;; 7868 esac 7869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7870 (eval "$ac_compile") 2>conftest.er1 7535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7536 (eval $ac_compile) 2>conftest.er1 7871 7537 ac_status=$? 7872 7538 grep -v '^ *+' conftest.er1 >conftest.err … … 7874 7540 cat conftest.err >&5 7875 7541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7876 (exit $ac_status); } && { 7877 test -z "$ac_c_werror_flag" || 7878 test ! -s conftest.err 7879 } && test -s conftest.$ac_objext; then 7542 (exit $ac_status); } && 7543 { ac_try='test -z "$ac_c_werror_flag" 7544 || test ! -s conftest.err' 7545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7546 (eval $ac_try) 2>&5 7547 ac_status=$? 7548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7549 (exit $ac_status); }; } && 7550 { ac_try='test -s conftest.$ac_objext' 7551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7552 (eval $ac_try) 2>&5 7553 ac_status=$? 7554 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7555 (exit $ac_status); }; }; then 7880 7556 ac_header_compiler=yes 7881 7557 else … … 7883 7559 sed 's/^/| /' conftest.$ac_ext >&5 7884 7560 7885 ac_header_compiler=no 7886 fi 7887 7888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7889 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7890 echo "${ECHO_T}$ac_header_compiler" >&6; } 7561 ac_header_compiler=no 7562 fi 7563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7565 echo "${ECHO_T}$ac_header_compiler" >&6 7891 7566 7892 7567 # Is the header present? 7893 {echo "$as_me:$LINENO: checking sys/socket.h presence" >&57894 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6 ; }7568 echo "$as_me:$LINENO: checking sys/socket.h presence" >&5 7569 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6 7895 7570 cat >conftest.$ac_ext <<_ACEOF 7896 7571 /* confdefs.h. */ … … 7901 7576 #include <sys/socket.h> 7902 7577 _ACEOF 7903 if { (ac_try="$ac_cpp conftest.$ac_ext" 7904 case "(($ac_try" in 7905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7906 *) ac_try_echo=$ac_try;; 7907 esac 7908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7909 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7910 7580 ac_status=$? 7911 7581 grep -v '^ *+' conftest.er1 >conftest.err … … 7913 7583 cat conftest.err >&5 7914 7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7915 (exit $ac_status); } >/dev/null && { 7916 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 7917 test ! -s conftest.err 7918 }; then 7585 (exit $ac_status); } >/dev/null; then 7586 if test -s conftest.err; then 7587 ac_cpp_err=$ac_c_preproc_warn_flag 7588 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7589 else 7590 ac_cpp_err= 7591 fi 7592 else 7593 ac_cpp_err=yes 7594 fi 7595 if test -z "$ac_cpp_err"; then 7919 7596 ac_header_preproc=yes 7920 7597 else … … 7924 7601 ac_header_preproc=no 7925 7602 fi 7926 7927 7603 rm -f conftest.err conftest.$ac_ext 7928 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&57929 echo "${ECHO_T}$ac_header_preproc" >&6 ; }7604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7605 echo "${ECHO_T}$ac_header_preproc" >&6 7930 7606 7931 7607 # So? What about this header? … … 7951 7627 { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5 7952 7628 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;} 7953 7629 ( 7630 cat <<\_ASBOX 7631 ## ------------------------------------ ## 7632 ## Report this to the pjproject lists. ## 7633 ## ------------------------------------ ## 7634 _ASBOX 7635 ) | 7636 sed "s/^/$as_me: WARNING: /" >&2 7954 7637 ;; 7955 7638 esac 7956 {echo "$as_me:$LINENO: checking for sys/socket.h" >&57957 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 ; }7639 echo "$as_me:$LINENO: checking for sys/socket.h" >&5 7640 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6 7958 7641 if test "${ac_cv_header_sys_socket_h+set}" = set; then 7959 7642 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7961 7644 ac_cv_header_sys_socket_h=$ac_header_preproc 7962 7645 fi 7963 {echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&57964 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 ; }7646 echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5 7647 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6 7965 7648 7966 7649 fi … … 7974 7657 7975 7658 if test "${ac_cv_header_sys_time_h+set}" = set; then 7976 {echo "$as_me:$LINENO: checking for sys/time.h" >&57977 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 ; }7659 echo "$as_me:$LINENO: checking for sys/time.h" >&5 7660 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 7978 7661 if test "${ac_cv_header_sys_time_h+set}" = set; then 7979 7662 echo $ECHO_N "(cached) $ECHO_C" >&6 7980 7663 fi 7981 {echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&57982 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 ; }7664 echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 7665 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 7983 7666 else 7984 7667 # Is the header compilable? 7985 {echo "$as_me:$LINENO: checking sys/time.h usability" >&57986 echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6 ; }7668 echo "$as_me:$LINENO: checking sys/time.h usability" >&5 7669 echo $ECHO_N "checking sys/time.h usability... $ECHO_C" >&6 7987 7670 cat >conftest.$ac_ext <<_ACEOF 7988 7671 /* confdefs.h. */ … … 7995 7678 _ACEOF 7996 7679 rm -f conftest.$ac_objext 7997 if { (ac_try="$ac_compile" 7998 case "(($ac_try" in 7999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8000 *) ac_try_echo=$ac_try;; 8001 esac 8002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8003 (eval "$ac_compile") 2>conftest.er1 7680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7681 (eval $ac_compile) 2>conftest.er1 8004 7682 ac_status=$? 8005 7683 grep -v '^ *+' conftest.er1 >conftest.err … … 8007 7685 cat conftest.err >&5 8008 7686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8009 (exit $ac_status); } && { 8010 test -z "$ac_c_werror_flag" || 8011 test ! -s conftest.err 8012 } && test -s conftest.$ac_objext; then 7687 (exit $ac_status); } && 7688 { ac_try='test -z "$ac_c_werror_flag" 7689 || test ! -s conftest.err' 7690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7691 (eval $ac_try) 2>&5 7692 ac_status=$? 7693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7694 (exit $ac_status); }; } && 7695 { ac_try='test -s conftest.$ac_objext' 7696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7697 (eval $ac_try) 2>&5 7698 ac_status=$? 7699 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7700 (exit $ac_status); }; }; then 8013 7701 ac_header_compiler=yes 8014 7702 else … … 8016 7704 sed 's/^/| /' conftest.$ac_ext >&5 8017 7705 8018 ac_header_compiler=no 8019 fi 8020 8021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8022 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8023 echo "${ECHO_T}$ac_header_compiler" >&6; } 7706 ac_header_compiler=no 7707 fi 7708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7710 echo "${ECHO_T}$ac_header_compiler" >&6 8024 7711 8025 7712 # Is the header present? 8026 {echo "$as_me:$LINENO: checking sys/time.h presence" >&58027 echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6 ; }7713 echo "$as_me:$LINENO: checking sys/time.h presence" >&5 7714 echo $ECHO_N "checking sys/time.h presence... $ECHO_C" >&6 8028 7715 cat >conftest.$ac_ext <<_ACEOF 8029 7716 /* confdefs.h. */ … … 8034 7721 #include <sys/time.h> 8035 7722 _ACEOF 8036 if { (ac_try="$ac_cpp conftest.$ac_ext" 8037 case "(($ac_try" in 8038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8039 *) ac_try_echo=$ac_try;; 8040 esac 8041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8042 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7724 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8043 7725 ac_status=$? 8044 7726 grep -v '^ *+' conftest.er1 >conftest.err … … 8046 7728 cat conftest.err >&5 8047 7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8048 (exit $ac_status); } >/dev/null && { 8049 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8050 test ! -s conftest.err 8051 }; then 7730 (exit $ac_status); } >/dev/null; then 7731 if test -s conftest.err; then 7732 ac_cpp_err=$ac_c_preproc_warn_flag 7733 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7734 else 7735 ac_cpp_err= 7736 fi 7737 else 7738 ac_cpp_err=yes 7739 fi 7740 if test -z "$ac_cpp_err"; then 8052 7741 ac_header_preproc=yes 8053 7742 else … … 8057 7746 ac_header_preproc=no 8058 7747 fi 8059 8060 7748 rm -f conftest.err conftest.$ac_ext 8061 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&58062 echo "${ECHO_T}$ac_header_preproc" >&6 ; }7749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7750 echo "${ECHO_T}$ac_header_preproc" >&6 8063 7751 8064 7752 # So? What about this header? … … 8084 7772 { echo "$as_me:$LINENO: WARNING: sys/time.h: in the future, the compiler will take precedence" >&5 8085 7773 echo "$as_me: WARNING: sys/time.h: in the future, the compiler will take precedence" >&2;} 8086 7774 ( 7775 cat <<\_ASBOX 7776 ## ------------------------------------ ## 7777 ## Report this to the pjproject lists. ## 7778 ## ------------------------------------ ## 7779 _ASBOX 7780 ) | 7781 sed "s/^/$as_me: WARNING: /" >&2 8087 7782 ;; 8088 7783 esac 8089 {echo "$as_me:$LINENO: checking for sys/time.h" >&58090 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 ; }7784 echo "$as_me:$LINENO: checking for sys/time.h" >&5 7785 echo $ECHO_N "checking for sys/time.h... $ECHO_C" >&6 8091 7786 if test "${ac_cv_header_sys_time_h+set}" = set; then 8092 7787 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 8094 7789 ac_cv_header_sys_time_h=$ac_header_preproc 8095 7790 fi 8096 {echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&58097 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 ; }7791 echo "$as_me:$LINENO: result: $ac_cv_header_sys_time_h" >&5 7792 echo "${ECHO_T}$ac_cv_header_sys_time_h" >&6 8098 7793 8099 7794 fi … … 8107 7802 8108 7803 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8109 {echo "$as_me:$LINENO: checking for sys/timeb.h" >&58110 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6 ; }7804 echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 7805 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6 8111 7806 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8112 7807 echo $ECHO_N "(cached) $ECHO_C" >&6 8113 7808 fi 8114 {echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&58115 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6 ; }7809 echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 7810 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6 8116 7811 else 8117 7812 # Is the header compilable? 8118 {echo "$as_me:$LINENO: checking sys/timeb.h usability" >&58119 echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6 ; }7813 echo "$as_me:$LINENO: checking sys/timeb.h usability" >&5 7814 echo $ECHO_N "checking sys/timeb.h usability... $ECHO_C" >&6 8120 7815 cat >conftest.$ac_ext <<_ACEOF 8121 7816 /* confdefs.h. */ … … 8128 7823 _ACEOF 8129 7824 rm -f conftest.$ac_objext 8130 if { (ac_try="$ac_compile" 8131 case "(($ac_try" in 8132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8133 *) ac_try_echo=$ac_try;; 8134 esac 8135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8136 (eval "$ac_compile") 2>conftest.er1 7825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7826 (eval $ac_compile) 2>conftest.er1 8137 7827 ac_status=$? 8138 7828 grep -v '^ *+' conftest.er1 >conftest.err … … 8140 7830 cat conftest.err >&5 8141 7831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8142 (exit $ac_status); } && { 8143 test -z "$ac_c_werror_flag" || 8144 test ! -s conftest.err 8145 } && test -s conftest.$ac_objext; then 7832 (exit $ac_status); } && 7833 { ac_try='test -z "$ac_c_werror_flag" 7834 || test ! -s conftest.err' 7835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7836 (eval $ac_try) 2>&5 7837 ac_status=$? 7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7839 (exit $ac_status); }; } && 7840 { ac_try='test -s conftest.$ac_objext' 7841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7842 (eval $ac_try) 2>&5 7843 ac_status=$? 7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7845 (exit $ac_status); }; }; then 8146 7846 ac_header_compiler=yes 8147 7847 else … … 8149 7849 sed 's/^/| /' conftest.$ac_ext >&5 8150 7850 8151 ac_header_compiler=no 8152 fi 8153 8154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8155 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8156 echo "${ECHO_T}$ac_header_compiler" >&6; } 7851 ac_header_compiler=no 7852 fi 7853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7854 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7855 echo "${ECHO_T}$ac_header_compiler" >&6 8157 7856 8158 7857 # Is the header present? 8159 {echo "$as_me:$LINENO: checking sys/timeb.h presence" >&58160 echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6 ; }7858 echo "$as_me:$LINENO: checking sys/timeb.h presence" >&5 7859 echo $ECHO_N "checking sys/timeb.h presence... $ECHO_C" >&6 8161 7860 cat >conftest.$ac_ext <<_ACEOF 8162 7861 /* confdefs.h. */ … … 8167 7866 #include <sys/timeb.h> 8168 7867 _ACEOF 8169 if { (ac_try="$ac_cpp conftest.$ac_ext" 8170 case "(($ac_try" in 8171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8172 *) ac_try_echo=$ac_try;; 8173 esac 8174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8175 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7869 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8176 7870 ac_status=$? 8177 7871 grep -v '^ *+' conftest.er1 >conftest.err … … 8179 7873 cat conftest.err >&5 8180 7874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8181 (exit $ac_status); } >/dev/null && { 8182 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8183 test ! -s conftest.err 8184 }; then 7875 (exit $ac_status); } >/dev/null; then 7876 if test -s conftest.err; then 7877 ac_cpp_err=$ac_c_preproc_warn_flag 7878 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 7879 else 7880 ac_cpp_err= 7881 fi 7882 else 7883 ac_cpp_err=yes 7884 fi 7885 if test -z "$ac_cpp_err"; then 8185 7886 ac_header_preproc=yes 8186 7887 else … … 8190 7891 ac_header_preproc=no 8191 7892 fi 8192 8193 7893 rm -f conftest.err conftest.$ac_ext 8194 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&58195 echo "${ECHO_T}$ac_header_preproc" >&6 ; }7894 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7895 echo "${ECHO_T}$ac_header_preproc" >&6 8196 7896 8197 7897 # So? What about this header? … … 8217 7917 { echo "$as_me:$LINENO: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&5 8218 7918 echo "$as_me: WARNING: sys/timeb.h: in the future, the compiler will take precedence" >&2;} 8219 7919 ( 7920 cat <<\_ASBOX 7921 ## ------------------------------------ ## 7922 ## Report this to the pjproject lists. ## 7923 ## ------------------------------------ ## 7924 _ASBOX 7925 ) | 7926 sed "s/^/$as_me: WARNING: /" >&2 8220 7927 ;; 8221 7928 esac 8222 {echo "$as_me:$LINENO: checking for sys/timeb.h" >&58223 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6 ; }7929 echo "$as_me:$LINENO: checking for sys/timeb.h" >&5 7930 echo $ECHO_N "checking for sys/timeb.h... $ECHO_C" >&6 8224 7931 if test "${ac_cv_header_sys_timeb_h+set}" = set; then 8225 7932 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 8227 7934 ac_cv_header_sys_timeb_h=$ac_header_preproc 8228 7935 fi 8229 {echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&58230 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6 ; }7936 echo "$as_me:$LINENO: result: $ac_cv_header_sys_timeb_h" >&5 7937 echo "${ECHO_T}$ac_cv_header_sys_timeb_h" >&6 8231 7938 8232 7939 fi … … 8240 7947 8241 7948 if test "${ac_cv_header_sys_types_h+set}" = set; then 8242 {echo "$as_me:$LINENO: checking for sys/types.h" >&58243 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 ; }7949 echo "$as_me:$LINENO: checking for sys/types.h" >&5 7950 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 8244 7951 if test "${ac_cv_header_sys_types_h+set}" = set; then 8245 7952 echo $ECHO_N "(cached) $ECHO_C" >&6 8246 7953 fi 8247 {echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&58248 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 ; }7954 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 7955 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 8249 7956 else 8250 7957 # Is the header compilable? 8251 {echo "$as_me:$LINENO: checking sys/types.h usability" >&58252 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6 ; }7958 echo "$as_me:$LINENO: checking sys/types.h usability" >&5 7959 echo $ECHO_N "checking sys/types.h usability... $ECHO_C" >&6 8253 7960 cat >conftest.$ac_ext <<_ACEOF 8254 7961 /* confdefs.h. */ … … 8261 7968 _ACEOF 8262 7969 rm -f conftest.$ac_objext 8263 if { (ac_try="$ac_compile" 8264 case "(($ac_try" in 8265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8266 *) ac_try_echo=$ac_try;; 8267 esac 8268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8269 (eval "$ac_compile") 2>conftest.er1 7970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7971 (eval $ac_compile) 2>conftest.er1 8270 7972 ac_status=$? 8271 7973 grep -v '^ *+' conftest.er1 >conftest.err … … 8273 7975 cat conftest.err >&5 8274 7976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8275 (exit $ac_status); } && { 8276 test -z "$ac_c_werror_flag" || 8277 test ! -s conftest.err 8278 } && test -s conftest.$ac_objext; then 7977 (exit $ac_status); } && 7978 { ac_try='test -z "$ac_c_werror_flag" 7979 || test ! -s conftest.err' 7980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7981 (eval $ac_try) 2>&5 7982 ac_status=$? 7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7984 (exit $ac_status); }; } && 7985 { ac_try='test -s conftest.$ac_objext' 7986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7987 (eval $ac_try) 2>&5 7988 ac_status=$? 7989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7990 (exit $ac_status); }; }; then 8279 7991 ac_header_compiler=yes 8280 7992 else … … 8282 7994 sed 's/^/| /' conftest.$ac_ext >&5 8283 7995 8284 ac_header_compiler=no 8285 fi 8286 8287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8288 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8289 echo "${ECHO_T}$ac_header_compiler" >&6; } 7996 ac_header_compiler=no 7997 fi 7998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7999 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8000 echo "${ECHO_T}$ac_header_compiler" >&6 8290 8001 8291 8002 # Is the header present? 8292 {echo "$as_me:$LINENO: checking sys/types.h presence" >&58293 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6 ; }8003 echo "$as_me:$LINENO: checking sys/types.h presence" >&5 8004 echo $ECHO_N "checking sys/types.h presence... $ECHO_C" >&6 8294 8005 cat >conftest.$ac_ext <<_ACEOF 8295 8006 /* confdefs.h. */ … … 8300 8011 #include <sys/types.h> 8301 8012 _ACEOF 8302 if { (ac_try="$ac_cpp conftest.$ac_ext" 8303 case "(($ac_try" in 8304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8305 *) ac_try_echo=$ac_try;; 8306 esac 8307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8308 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8013 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8014 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8309 8015 ac_status=$? 8310 8016 grep -v '^ *+' conftest.er1 >conftest.err … … 8312 8018 cat conftest.err >&5 8313 8019 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8314 (exit $ac_status); } >/dev/null && { 8315 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8316 test ! -s conftest.err 8317 }; then 8020 (exit $ac_status); } >/dev/null; then 8021 if test -s conftest.err; then 8022 ac_cpp_err=$ac_c_preproc_warn_flag 8023 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 8024 else 8025 ac_cpp_err= 8026 fi 8027 else 8028 ac_cpp_err=yes 8029 fi 8030 if test -z "$ac_cpp_err"; then 8318 8031 ac_header_preproc=yes 8319 8032 else … … 8323 8036 ac_header_preproc=no 8324 8037 fi 8325 8326 8038 rm -f conftest.err conftest.$ac_ext 8327 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&58328 echo "${ECHO_T}$ac_header_preproc" >&6 ; }8039 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8040 echo "${ECHO_T}$ac_header_preproc" >&6 8329 8041 8330 8042 # So? What about this header? … … 8350 8062 { echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5 8351 8063 echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;} 8352 8064 ( 8065 cat <<\_ASBOX 8066 ## ------------------------------------ ## 8067 ## Report this to the pjproject lists. ## 8068 ## ------------------------------------ ## 8069 _ASBOX 8070 ) | 8071 sed "s/^/$as_me: WARNING: /" >&2 8353 8072 ;; 8354 8073 esac 8355 {echo "$as_me:$LINENO: checking for sys/types.h" >&58356 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 ; }8074 echo "$as_me:$LINENO: checking for sys/types.h" >&5 8075 echo $ECHO_N "checking for sys/types.h... $ECHO_C" >&6 8357 8076 if test "${ac_cv_header_sys_types_h+set}" = set; then 8358 8077 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 8360 8079 ac_cv_header_sys_types_h=$ac_header_preproc 8361 8080 fi 8362 {echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&58363 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 ; }8081 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5 8082 echo "${ECHO_T}$ac_cv_header_sys_types_h" >&6 8364 8083 8365 8084 fi … … 8373 8092 8374 8093 if test "${ac_cv_header_time_h+set}" = set; then 8375 {echo "$as_me:$LINENO: checking for time.h" >&58376 echo $ECHO_N "checking for time.h... $ECHO_C" >&6 ; }8094 echo "$as_me:$LINENO: checking for time.h" >&5 8095 echo $ECHO_N "checking for time.h... $ECHO_C" >&6 8377 8096 if test "${ac_cv_header_time_h+set}" = set; then 8378 8097 echo $ECHO_N "(cached) $ECHO_C" >&6 8379 8098 fi 8380 {echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&58381 echo "${ECHO_T}$ac_cv_header_time_h" >&6 ; }8099 echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 8100 echo "${ECHO_T}$ac_cv_header_time_h" >&6 8382 8101 else 8383 8102 # Is the header compilable? 8384 {echo "$as_me:$LINENO: checking time.h usability" >&58385 echo $ECHO_N "checking time.h usability... $ECHO_C" >&6 ; }8103 echo "$as_me:$LINENO: checking time.h usability" >&5 8104 echo $ECHO_N "checking time.h usability... $ECHO_C" >&6 8386 8105 cat >conftest.$ac_ext <<_ACEOF 8387 8106 /* confdefs.h. */ … … 8394 8113 _ACEOF 8395 8114 rm -f conftest.$ac_objext 8396 if { (ac_try="$ac_compile" 8397 case "(($ac_try" in 8398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8399 *) ac_try_echo=$ac_try;; 8400 esac 8401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8402 (eval "$ac_compile") 2>conftest.er1 8115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8116 (eval $ac_compile) 2>conftest.er1 8403 8117 ac_status=$? 8404 8118 grep -v '^ *+' conftest.er1 >conftest.err … … 8406 8120 cat conftest.err >&5 8407 8121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8408 (exit $ac_status); } && { 8409 test -z "$ac_c_werror_flag" || 8410 test ! -s conftest.err 8411 } && test -s conftest.$ac_objext; then 8122 (exit $ac_status); } && 8123 { ac_try='test -z "$ac_c_werror_flag" 8124 || test ! -s conftest.err' 8125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8126 (eval $ac_try) 2>&5 8127 ac_status=$? 8128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8129 (exit $ac_status); }; } && 8130 { ac_try='test -s conftest.$ac_objext' 8131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8132 (eval $ac_try) 2>&5 8133 ac_status=$? 8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8135 (exit $ac_status); }; }; then 8412 8136 ac_header_compiler=yes 8413 8137 else … … 8415 8139 sed 's/^/| /' conftest.$ac_ext >&5 8416 8140 8417 ac_header_compiler=no 8418 fi 8419 8420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8421 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8422 echo "${ECHO_T}$ac_header_compiler" >&6; } 8141 ac_header_compiler=no 8142 fi 8143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8144 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8145 echo "${ECHO_T}$ac_header_compiler" >&6 8423 8146 8424 8147 # Is the header present? 8425 {echo "$as_me:$LINENO: checking time.h presence" >&58426 echo $ECHO_N "checking time.h presence... $ECHO_C" >&6 ; }8148 echo "$as_me:$LINENO: checking time.h presence" >&5 8149 echo $ECHO_N "checking time.h presence... $ECHO_C" >&6 8427 8150 cat >conftest.$ac_ext <<_ACEOF 8428 8151 /* confdefs.h. */ … … 8433 8156 #include <time.h> 8434 8157 _ACEOF 8435 if { (ac_try="$ac_cpp conftest.$ac_ext" 8436 case "(($ac_try" in 8437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8438 *) ac_try_echo=$ac_try;; 8439 esac 8440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8441 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8159 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8442 8160 ac_status=$? 8443 8161 grep -v '^ *+' conftest.er1 >conftest.err … … 8445 8163 cat conftest.err >&5 8446 8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8447 (exit $ac_status); } >/dev/null && { 8448 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8449 test ! -s conftest.err 8450 }; then 8165 (exit $ac_status); } >/dev/null; then 8166 if test -s conftest.err; then 8167 ac_cpp_err=$ac_c_preproc_warn_flag 8168 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 8169 else 8170 ac_cpp_err= 8171 fi 8172 else 8173 ac_cpp_err=yes 8174 fi 8175 if test -z "$ac_cpp_err"; then 8451 8176 ac_header_preproc=yes 8452 8177 else … … 8456 8181 ac_header_preproc=no 8457 8182 fi 8458 8459 8183 rm -f conftest.err conftest.$ac_ext 8460 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&58461 echo "${ECHO_T}$ac_header_preproc" >&6 ; }8184 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8185 echo "${ECHO_T}$ac_header_preproc" >&6 8462 8186 8463 8187 # So? What about this header? … … 8483 8207 { echo "$as_me:$LINENO: WARNING: time.h: in the future, the compiler will take precedence" >&5 8484 8208 echo "$as_me: WARNING: time.h: in the future, the compiler will take precedence" >&2;} 8485 8209 ( 8210 cat <<\_ASBOX 8211 ## ------------------------------------ ## 8212 ## Report this to the pjproject lists. ## 8213 ## ------------------------------------ ## 8214 _ASBOX 8215 ) | 8216 sed "s/^/$as_me: WARNING: /" >&2 8486 8217 ;; 8487 8218 esac 8488 {echo "$as_me:$LINENO: checking for time.h" >&58489 echo $ECHO_N "checking for time.h... $ECHO_C" >&6 ; }8219 echo "$as_me:$LINENO: checking for time.h" >&5 8220 echo $ECHO_N "checking for time.h... $ECHO_C" >&6 8490 8221 if test "${ac_cv_header_time_h+set}" = set; then 8491 8222 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 8493 8224 ac_cv_header_time_h=$ac_header_preproc 8494 8225 fi 8495 {echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&58496 echo "${ECHO_T}$ac_cv_header_time_h" >&6 ; }8226 echo "$as_me:$LINENO: result: $ac_cv_header_time_h" >&5 8227 echo "${ECHO_T}$ac_cv_header_time_h" >&6 8497 8228 8498 8229 fi … … 8506 8237 8507 8238 if test "${ac_cv_header_unistd_h+set}" = set; then 8508 {echo "$as_me:$LINENO: checking for unistd.h" >&58509 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 ; }8239 echo "$as_me:$LINENO: checking for unistd.h" >&5 8240 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 8510 8241 if test "${ac_cv_header_unistd_h+set}" = set; then 8511 8242 echo $ECHO_N "(cached) $ECHO_C" >&6 8512 8243 fi 8513 {echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&58514 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 ; }8244 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 8245 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 8515 8246 else 8516 8247 # Is the header compilable? 8517 {echo "$as_me:$LINENO: checking unistd.h usability" >&58518 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6 ; }8248 echo "$as_me:$LINENO: checking unistd.h usability" >&5 8249 echo $ECHO_N "checking unistd.h usability... $ECHO_C" >&6 8519 8250 cat >conftest.$ac_ext <<_ACEOF 8520 8251 /* confdefs.h. */ … … 8527 8258 _ACEOF 8528 8259 rm -f conftest.$ac_objext 8529 if { (ac_try="$ac_compile" 8530 case "(($ac_try" in 8531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8532 *) ac_try_echo=$ac_try;; 8533 esac 8534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8535 (eval "$ac_compile") 2>conftest.er1 8260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8261 (eval $ac_compile) 2>conftest.er1 8536 8262 ac_status=$? 8537 8263 grep -v '^ *+' conftest.er1 >conftest.err … … 8539 8265 cat conftest.err >&5 8540 8266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8541 (exit $ac_status); } && { 8542 test -z "$ac_c_werror_flag" || 8543 test ! -s conftest.err 8544 } && test -s conftest.$ac_objext; then 8267 (exit $ac_status); } && 8268 { ac_try='test -z "$ac_c_werror_flag" 8269 || test ! -s conftest.err' 8270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8271 (eval $ac_try) 2>&5 8272 ac_status=$? 8273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8274 (exit $ac_status); }; } && 8275 { ac_try='test -s conftest.$ac_objext' 8276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8277 (eval $ac_try) 2>&5 8278 ac_status=$? 8279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8280 (exit $ac_status); }; }; then 8545 8281 ac_header_compiler=yes 8546 8282 else … … 8548 8284 sed 's/^/| /' conftest.$ac_ext >&5 8549 8285 8550 ac_header_compiler=no 8551 fi 8552 8553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8554 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8555 echo "${ECHO_T}$ac_header_compiler" >&6; } 8286 ac_header_compiler=no 8287 fi 8288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8289 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8290 echo "${ECHO_T}$ac_header_compiler" >&6 8556 8291 8557 8292 # Is the header present? 8558 {echo "$as_me:$LINENO: checking unistd.h presence" >&58559 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6 ; }8293 echo "$as_me:$LINENO: checking unistd.h presence" >&5 8294 echo $ECHO_N "checking unistd.h presence... $ECHO_C" >&6 8560 8295 cat >conftest.$ac_ext <<_ACEOF 8561 8296 /* confdefs.h. */ … … 8566 8301 #include <unistd.h> 8567 8302 _ACEOF 8568 if { (ac_try="$ac_cpp conftest.$ac_ext" 8569 case "(($ac_try" in 8570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8571 *) ac_try_echo=$ac_try;; 8572 esac 8573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8574 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8304 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8575 8305 ac_status=$? 8576 8306 grep -v '^ *+' conftest.er1 >conftest.err … … 8578 8308 cat conftest.err >&5 8579 8309 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8580 (exit $ac_status); } >/dev/null && { 8581 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8582 test ! -s conftest.err 8583 }; then 8310 (exit $ac_status); } >/dev/null; then 8311 if test -s conftest.err; then 8312 ac_cpp_err=$ac_c_preproc_warn_flag 8313 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 8314 else 8315 ac_cpp_err= 8316 fi 8317 else 8318 ac_cpp_err=yes 8319 fi 8320 if test -z "$ac_cpp_err"; then 8584 8321 ac_header_preproc=yes 8585 8322 else … … 8589 8326 ac_header_preproc=no 8590 8327 fi 8591 8592 8328 rm -f conftest.err conftest.$ac_ext 8593 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&58594 echo "${ECHO_T}$ac_header_preproc" >&6 ; }8329 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8330 echo "${ECHO_T}$ac_header_preproc" >&6 8595 8331 8596 8332 # So? What about this header? … … 8616 8352 { echo "$as_me:$LINENO: WARNING: unistd.h: in the future, the compiler will take precedence" >&5 8617 8353 echo "$as_me: WARNING: unistd.h: in the future, the compiler will take precedence" >&2;} 8618 8354 ( 8355 cat <<\_ASBOX 8356 ## ------------------------------------ ## 8357 ## Report this to the pjproject lists. ## 8358 ## ------------------------------------ ## 8359 _ASBOX 8360 ) | 8361 sed "s/^/$as_me: WARNING: /" >&2 8619 8362 ;; 8620 8363 esac 8621 {echo "$as_me:$LINENO: checking for unistd.h" >&58622 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 ; }8364 echo "$as_me:$LINENO: checking for unistd.h" >&5 8365 echo $ECHO_N "checking for unistd.h... $ECHO_C" >&6 8623 8366 if test "${ac_cv_header_unistd_h+set}" = set; then 8624 8367 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 8626 8369 ac_cv_header_unistd_h=$ac_header_preproc 8627 8370 fi 8628 {echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&58629 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 ; }8371 echo "$as_me:$LINENO: result: $ac_cv_header_unistd_h" >&5 8372 echo "${ECHO_T}$ac_cv_header_unistd_h" >&6 8630 8373 8631 8374 fi … … 8639 8382 8640 8383 if test "${ac_cv_header_winsock_h+set}" = set; then 8641 {echo "$as_me:$LINENO: checking for winsock.h" >&58642 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6 ; }8384 echo "$as_me:$LINENO: checking for winsock.h" >&5 8385 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6 8643 8386 if test "${ac_cv_header_winsock_h+set}" = set; then 8644 8387 echo $ECHO_N "(cached) $ECHO_C" >&6 8645 8388 fi 8646 {echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&58647 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6 ; }8389 echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 8390 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6 8648 8391 else 8649 8392 # Is the header compilable? 8650 {echo "$as_me:$LINENO: checking winsock.h usability" >&58651 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6 ; }8393 echo "$as_me:$LINENO: checking winsock.h usability" >&5 8394 echo $ECHO_N "checking winsock.h usability... $ECHO_C" >&6 8652 8395 cat >conftest.$ac_ext <<_ACEOF 8653 8396 /* confdefs.h. */ … … 8660 8403 _ACEOF 8661 8404 rm -f conftest.$ac_objext 8662 if { (ac_try="$ac_compile" 8663 case "(($ac_try" in 8664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8665 *) ac_try_echo=$ac_try;; 8666 esac 8667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8668 (eval "$ac_compile") 2>conftest.er1 8405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8406 (eval $ac_compile) 2>conftest.er1 8669 8407 ac_status=$? 8670 8408 grep -v '^ *+' conftest.er1 >conftest.err … … 8672 8410 cat conftest.err >&5 8673 8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8674 (exit $ac_status); } && { 8675 test -z "$ac_c_werror_flag" || 8676 test ! -s conftest.err 8677 } && test -s conftest.$ac_objext; then 8412 (exit $ac_status); } && 8413 { ac_try='test -z "$ac_c_werror_flag" 8414 || test ! -s conftest.err' 8415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8416 (eval $ac_try) 2>&5 8417 ac_status=$? 8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8419 (exit $ac_status); }; } && 8420 { ac_try='test -s conftest.$ac_objext' 8421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8422 (eval $ac_try) 2>&5 8423 ac_status=$? 8424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8425 (exit $ac_status); }; }; then 8678 8426 ac_header_compiler=yes 8679 8427 else … … 8681 8429 sed 's/^/| /' conftest.$ac_ext >&5 8682 8430 8683 ac_header_compiler=no 8684 fi 8685 8686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8687 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8688 echo "${ECHO_T}$ac_header_compiler" >&6; } 8431 ac_header_compiler=no 8432 fi 8433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8434 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8435 echo "${ECHO_T}$ac_header_compiler" >&6 8689 8436 8690 8437 # Is the header present? 8691 {echo "$as_me:$LINENO: checking winsock.h presence" >&58692 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6 ; }8438 echo "$as_me:$LINENO: checking winsock.h presence" >&5 8439 echo $ECHO_N "checking winsock.h presence... $ECHO_C" >&6 8693 8440 cat >conftest.$ac_ext <<_ACEOF 8694 8441 /* confdefs.h. */ … … 8699 8446 #include <winsock.h> 8700 8447 _ACEOF 8701 if { (ac_try="$ac_cpp conftest.$ac_ext" 8702 case "(($ac_try" in 8703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8704 *) ac_try_echo=$ac_try;; 8705 esac 8706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8707 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8449 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8708 8450 ac_status=$? 8709 8451 grep -v '^ *+' conftest.er1 >conftest.err … … 8711 8453 cat conftest.err >&5 8712 8454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8713 (exit $ac_status); } >/dev/null && { 8714 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8715 test ! -s conftest.err 8716 }; then 8455 (exit $ac_status); } >/dev/null; then 8456 if test -s conftest.err; then 8457 ac_cpp_err=$ac_c_preproc_warn_flag 8458 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 8459 else 8460 ac_cpp_err= 8461 fi 8462 else 8463 ac_cpp_err=yes 8464 fi 8465 if test -z "$ac_cpp_err"; then 8717 8466 ac_header_preproc=yes 8718 8467 else … … 8722 8471 ac_header_preproc=no 8723 8472 fi 8724 8725 8473 rm -f conftest.err conftest.$ac_ext 8726 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&58727 echo "${ECHO_T}$ac_header_preproc" >&6 ; }8474 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8475 echo "${ECHO_T}$ac_header_preproc" >&6 8728 8476 8729 8477 # So? What about this header? … … 8749 8497 { echo "$as_me:$LINENO: WARNING: winsock.h: in the future, the compiler will take precedence" >&5 8750 8498 echo "$as_me: WARNING: winsock.h: in the future, the compiler will take precedence" >&2;} 8751 8499 ( 8500 cat <<\_ASBOX 8501 ## ------------------------------------ ## 8502 ## Report this to the pjproject lists. ## 8503 ## ------------------------------------ ## 8504 _ASBOX 8505 ) | 8506 sed "s/^/$as_me: WARNING: /" >&2 8752 8507 ;; 8753 8508 esac 8754 {echo "$as_me:$LINENO: checking for winsock.h" >&58755 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6 ; }8509 echo "$as_me:$LINENO: checking for winsock.h" >&5 8510 echo $ECHO_N "checking for winsock.h... $ECHO_C" >&6 8756 8511 if test "${ac_cv_header_winsock_h+set}" = set; then 8757 8512 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 8759 8514 ac_cv_header_winsock_h=$ac_header_preproc 8760 8515 fi 8761 {echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&58762 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6 ; }8516 echo "$as_me:$LINENO: result: $ac_cv_header_winsock_h" >&5 8517 echo "${ECHO_T}$ac_cv_header_winsock_h" >&6 8763 8518 8764 8519 fi … … 8772 8527 8773 8528 if test "${ac_cv_header_winsock2_h+set}" = set; then 8774 {echo "$as_me:$LINENO: checking for winsock2.h" >&58775 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6 ; }8529 echo "$as_me:$LINENO: checking for winsock2.h" >&5 8530 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6 8776 8531 if test "${ac_cv_header_winsock2_h+set}" = set; then 8777 8532 echo $ECHO_N "(cached) $ECHO_C" >&6 8778 8533 fi 8779 {echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&58780 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6 ; }8534 echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 8535 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6 8781 8536 else 8782 8537 # Is the header compilable? 8783 {echo "$as_me:$LINENO: checking winsock2.h usability" >&58784 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6 ; }8538 echo "$as_me:$LINENO: checking winsock2.h usability" >&5 8539 echo $ECHO_N "checking winsock2.h usability... $ECHO_C" >&6 8785 8540 cat >conftest.$ac_ext <<_ACEOF 8786 8541 /* confdefs.h. */ … … 8793 8548 _ACEOF 8794 8549 rm -f conftest.$ac_objext 8795 if { (ac_try="$ac_compile" 8796 case "(($ac_try" in 8797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8798 *) ac_try_echo=$ac_try;; 8799 esac 8800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8801 (eval "$ac_compile") 2>conftest.er1 8550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8551 (eval $ac_compile) 2>conftest.er1 8802 8552 ac_status=$? 8803 8553 grep -v '^ *+' conftest.er1 >conftest.err … … 8805 8555 cat conftest.err >&5 8806 8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8807 (exit $ac_status); } && { 8808 test -z "$ac_c_werror_flag" || 8809 test ! -s conftest.err 8810 } && test -s conftest.$ac_objext; then 8557 (exit $ac_status); } && 8558 { ac_try='test -z "$ac_c_werror_flag" 8559 || test ! -s conftest.err' 8560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8561 (eval $ac_try) 2>&5 8562 ac_status=$? 8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8564 (exit $ac_status); }; } && 8565 { ac_try='test -s conftest.$ac_objext' 8566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8567 (eval $ac_try) 2>&5 8568 ac_status=$? 8569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8570 (exit $ac_status); }; }; then 8811 8571 ac_header_compiler=yes 8812 8572 else … … 8814 8574 sed 's/^/| /' conftest.$ac_ext >&5 8815 8575 8816 ac_header_compiler=no 8817 fi 8818 8819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8820 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8821 echo "${ECHO_T}$ac_header_compiler" >&6; } 8576 ac_header_compiler=no 8577 fi 8578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8579 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8580 echo "${ECHO_T}$ac_header_compiler" >&6 8822 8581 8823 8582 # Is the header present? 8824 {echo "$as_me:$LINENO: checking winsock2.h presence" >&58825 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6 ; }8583 echo "$as_me:$LINENO: checking winsock2.h presence" >&5 8584 echo $ECHO_N "checking winsock2.h presence... $ECHO_C" >&6 8826 8585 cat >conftest.$ac_ext <<_ACEOF 8827 8586 /* confdefs.h. */ … … 8832 8591 #include <winsock2.h> 8833 8592 _ACEOF 8834 if { (ac_try="$ac_cpp conftest.$ac_ext" 8835 case "(($ac_try" in 8836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8837 *) ac_try_echo=$ac_try;; 8838 esac 8839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8594 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8841 8595 ac_status=$? 8842 8596 grep -v '^ *+' conftest.er1 >conftest.err … … 8844 8598 cat conftest.err >&5 8845 8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8846 (exit $ac_status); } >/dev/null && { 8847 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8848 test ! -s conftest.err 8849 }; then 8600 (exit $ac_status); } >/dev/null; then 8601 if test -s conftest.err; then 8602 ac_cpp_err=$ac_c_preproc_warn_flag 8603 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 8604 else 8605 ac_cpp_err= 8606 fi 8607 else 8608 ac_cpp_err=yes 8609 fi 8610 if test -z "$ac_cpp_err"; then 8850 8611 ac_header_preproc=yes 8851 8612 else … … 8855 8616 ac_header_preproc=no 8856 8617 fi 8857 8858 8618 rm -f conftest.err conftest.$ac_ext 8859 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&58860 echo "${ECHO_T}$ac_header_preproc" >&6 ; }8619 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8620 echo "${ECHO_T}$ac_header_preproc" >&6 8861 8621 8862 8622 # So? What about this header? … … 8882 8642 { echo "$as_me:$LINENO: WARNING: winsock2.h: in the future, the compiler will take precedence" >&5 8883 8643 echo "$as_me: WARNING: winsock2.h: in the future, the compiler will take precedence" >&2;} 8884 8644 ( 8645 cat <<\_ASBOX 8646 ## ------------------------------------ ## 8647 ## Report this to the pjproject lists. ## 8648 ## ------------------------------------ ## 8649 _ASBOX 8650 ) | 8651 sed "s/^/$as_me: WARNING: /" >&2 8885 8652 ;; 8886 8653 esac 8887 {echo "$as_me:$LINENO: checking for winsock2.h" >&58888 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6 ; }8654 echo "$as_me:$LINENO: checking for winsock2.h" >&5 8655 echo $ECHO_N "checking for winsock2.h... $ECHO_C" >&6 8889 8656 if test "${ac_cv_header_winsock2_h+set}" = set; then 8890 8657 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 8892 8659 ac_cv_header_winsock2_h=$ac_header_preproc 8893 8660 fi 8894 {echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&58895 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6 ; }8661 echo "$as_me:$LINENO: result: $ac_cv_header_winsock2_h" >&5 8662 echo "${ECHO_T}$ac_cv_header_winsock2_h" >&6 8896 8663 8897 8664 fi … … 8904 8671 8905 8672 8906 {echo "$as_me:$LINENO: checking for mswsock.h" >&58907 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6 ; }8673 echo "$as_me:$LINENO: checking for mswsock.h" >&5 8674 echo $ECHO_N "checking for mswsock.h... $ECHO_C" >&6 8908 8675 if test "${ac_cv_header_mswsock_h+set}" = set; then 8909 8676 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 8925 8692 _ACEOF 8926 8693 rm -f conftest.$ac_objext 8927 if { (ac_try="$ac_compile" 8928 case "(($ac_try" in 8929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8930 *) ac_try_echo=$ac_try;; 8931 esac 8932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8933 (eval "$ac_compile") 2>conftest.er1 8694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8695 (eval $ac_compile) 2>conftest.er1 8934 8696 ac_status=$? 8935 8697 grep -v '^ *+' conftest.er1 >conftest.err … … 8937 8699 cat conftest.err >&5 8938 8700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8939 (exit $ac_status); } && { 8940 test -z "$ac_c_werror_flag" || 8941 test ! -s conftest.err 8942 } && test -s conftest.$ac_objext; then 8701 (exit $ac_status); } && 8702 { ac_try='test -z "$ac_c_werror_flag" 8703 || test ! -s conftest.err' 8704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8705 (eval $ac_try) 2>&5 8706 ac_status=$? 8707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8708 (exit $ac_status); }; } && 8709 { ac_try='test -s conftest.$ac_objext' 8710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8711 (eval $ac_try) 2>&5 8712 ac_status=$? 8713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8714 (exit $ac_status); }; }; then 8943 8715 ac_cv_header_mswsock_h=yes 8944 8716 else … … 8946 8718 sed 's/^/| /' conftest.$ac_ext >&5 8947 8719 8948 ac_cv_header_mswsock_h=no 8949 fi 8950 8951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8952 fi 8953 { echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 8954 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6; } 8720 ac_cv_header_mswsock_h=no 8721 fi 8722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8723 fi 8724 echo "$as_me:$LINENO: result: $ac_cv_header_mswsock_h" >&5 8725 echo "${ECHO_T}$ac_cv_header_mswsock_h" >&6 8955 8726 if test $ac_cv_header_mswsock_h = yes; then 8956 8727 cat >>confdefs.h <<\_ACEOF … … 8962 8733 8963 8734 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 8964 {echo "$as_me:$LINENO: checking for uuid/uuid.h" >&58965 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6 ; }8735 echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 8736 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6 8966 8737 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 8967 8738 echo $ECHO_N "(cached) $ECHO_C" >&6 8968 8739 fi 8969 {echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&58970 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6 ; }8740 echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 8741 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6 8971 8742 else 8972 8743 # Is the header compilable? 8973 {echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&58974 echo $ECHO_N "checking uuid/uuid.h usability... $ECHO_C" >&6 ; }8744 echo "$as_me:$LINENO: checking uuid/uuid.h usability" >&5 8745 echo $ECHO_N "checking uuid/uuid.h usability... $ECHO_C" >&6 8975 8746 cat >conftest.$ac_ext <<_ACEOF 8976 8747 /* confdefs.h. */ … … 8983 8754 _ACEOF 8984 8755 rm -f conftest.$ac_objext 8985 if { (ac_try="$ac_compile" 8986 case "(($ac_try" in 8987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8988 *) ac_try_echo=$ac_try;; 8989 esac 8990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8991 (eval "$ac_compile") 2>conftest.er1 8756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8757 (eval $ac_compile) 2>conftest.er1 8992 8758 ac_status=$? 8993 8759 grep -v '^ *+' conftest.er1 >conftest.err … … 8995 8761 cat conftest.err >&5 8996 8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8997 (exit $ac_status); } && { 8998 test -z "$ac_c_werror_flag" || 8999 test ! -s conftest.err 9000 } && test -s conftest.$ac_objext; then 8763 (exit $ac_status); } && 8764 { ac_try='test -z "$ac_c_werror_flag" 8765 || test ! -s conftest.err' 8766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8767 (eval $ac_try) 2>&5 8768 ac_status=$? 8769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8770 (exit $ac_status); }; } && 8771 { ac_try='test -s conftest.$ac_objext' 8772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8773 (eval $ac_try) 2>&5 8774 ac_status=$? 8775 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8776 (exit $ac_status); }; }; then 9001 8777 ac_header_compiler=yes 9002 8778 else … … 9004 8780 sed 's/^/| /' conftest.$ac_ext >&5 9005 8781 9006 ac_header_compiler=no 9007 fi 9008 9009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9010 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9011 echo "${ECHO_T}$ac_header_compiler" >&6; } 8782 ac_header_compiler=no 8783 fi 8784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8786 echo "${ECHO_T}$ac_header_compiler" >&6 9012 8787 9013 8788 # Is the header present? 9014 {echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&59015 echo $ECHO_N "checking uuid/uuid.h presence... $ECHO_C" >&6 ; }8789 echo "$as_me:$LINENO: checking uuid/uuid.h presence" >&5 8790 echo $ECHO_N "checking uuid/uuid.h presence... $ECHO_C" >&6 9016 8791 cat >conftest.$ac_ext <<_ACEOF 9017 8792 /* confdefs.h. */ … … 9022 8797 #include <uuid/uuid.h> 9023 8798 _ACEOF 9024 if { (ac_try="$ac_cpp conftest.$ac_ext" 9025 case "(($ac_try" in 9026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9027 *) ac_try_echo=$ac_try;; 9028 esac 9029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 8800 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9031 8801 ac_status=$? 9032 8802 grep -v '^ *+' conftest.er1 >conftest.err … … 9034 8804 cat conftest.err >&5 9035 8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9036 (exit $ac_status); } >/dev/null && { 9037 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9038 test ! -s conftest.err 9039 }; then 8806 (exit $ac_status); } >/dev/null; then 8807 if test -s conftest.err; then 8808 ac_cpp_err=$ac_c_preproc_warn_flag 8809 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 8810 else 8811 ac_cpp_err= 8812 fi 8813 else 8814 ac_cpp_err=yes 8815 fi 8816 if test -z "$ac_cpp_err"; then 9040 8817 ac_header_preproc=yes 9041 8818 else … … 9045 8822 ac_header_preproc=no 9046 8823 fi 9047 9048 8824 rm -f conftest.err conftest.$ac_ext 9049 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&59050 echo "${ECHO_T}$ac_header_preproc" >&6 ; }8825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8826 echo "${ECHO_T}$ac_header_preproc" >&6 9051 8827 9052 8828 # So? What about this header? … … 9072 8848 { echo "$as_me:$LINENO: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&5 9073 8849 echo "$as_me: WARNING: uuid/uuid.h: in the future, the compiler will take precedence" >&2;} 9074 8850 ( 8851 cat <<\_ASBOX 8852 ## ------------------------------------ ## 8853 ## Report this to the pjproject lists. ## 8854 ## ------------------------------------ ## 8855 _ASBOX 8856 ) | 8857 sed "s/^/$as_me: WARNING: /" >&2 9075 8858 ;; 9076 8859 esac 9077 {echo "$as_me:$LINENO: checking for uuid/uuid.h" >&59078 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6 ; }8860 echo "$as_me:$LINENO: checking for uuid/uuid.h" >&5 8861 echo $ECHO_N "checking for uuid/uuid.h... $ECHO_C" >&6 9079 8862 if test "${ac_cv_header_uuid_uuid_h+set}" = set; then 9080 8863 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 9082 8865 ac_cv_header_uuid_uuid_h=$ac_header_preproc 9083 8866 fi 9084 {echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&59085 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6 ; }8867 echo "$as_me:$LINENO: result: $ac_cv_header_uuid_uuid_h" >&5 8868 echo "${ECHO_T}$ac_cv_header_uuid_uuid_h" >&6 9086 8869 9087 8870 fi … … 9091 8874 9092 8875 9093 {echo "$as_me:$LINENO: checking for net/if.h" >&59094 echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6 ; }8876 echo "$as_me:$LINENO: checking for net/if.h" >&5 8877 echo $ECHO_N "checking for net/if.h... $ECHO_C" >&6 9095 8878 if test "${ac_cv_header_net_if_h+set}" = set; then 9096 8879 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 9110 8893 _ACEOF 9111 8894 rm -f conftest.$ac_objext 9112 if { (ac_try="$ac_compile" 9113 case "(($ac_try" in 9114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9115 *) ac_try_echo=$ac_try;; 9116 esac 9117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9118 (eval "$ac_compile") 2>conftest.er1 8895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8896 (eval $ac_compile) 2>conftest.er1 9119 8897 ac_status=$? 9120 8898 grep -v '^ *+' conftest.er1 >conftest.err … … 9122 8900 cat conftest.err >&5 9123 8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9124 (exit $ac_status); } && { 9125 test -z "$ac_c_werror_flag" || 9126 test ! -s conftest.err 9127 } && test -s conftest.$ac_objext; then 8902 (exit $ac_status); } && 8903 { ac_try='test -z "$ac_c_werror_flag" 8904 || test ! -s conftest.err' 8905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8906 (eval $ac_try) 2>&5 8907 ac_status=$? 8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8909 (exit $ac_status); }; } && 8910 { ac_try='test -s conftest.$ac_objext' 8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 8912 (eval $ac_try) 2>&5 8913 ac_status=$? 8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8915 (exit $ac_status); }; }; then 9128 8916 ac_cv_header_net_if_h=yes 9129 8917 else … … 9131 8919 sed 's/^/| /' conftest.$ac_ext >&5 9132 8920 9133 ac_cv_header_net_if_h=no 9134 fi 9135 9136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9137 fi 9138 { echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 9139 echo "${ECHO_T}$ac_cv_header_net_if_h" >&6; } 8921 ac_cv_header_net_if_h=no 8922 fi 8923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 8924 fi 8925 echo "$as_me:$LINENO: result: $ac_cv_header_net_if_h" >&5 8926 echo "${ECHO_T}$ac_cv_header_net_if_h" >&6 9140 8927 if test $ac_cv_header_net_if_h = yes; then 9141 8928 cat >>confdefs.h <<\_ACEOF … … 9147 8934 9148 8935 9149 {echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&59150 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6 ; }8936 echo "$as_me:$LINENO: result: Setting PJ_OS_NAME to $target" >&5 8937 echo "${ECHO_T}Setting PJ_OS_NAME to $target" >&6 9151 8938 cat >>confdefs.h <<_ACEOF 9152 8939 #define PJ_OS_NAME "$target" … … 9154 8941 9155 8942 9156 {echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&59157 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6 ; }8943 echo "$as_me:$LINENO: result: Setting PJ_HAS_ERRNO_VAR to 1" >&5 8944 echo "${ECHO_T}Setting PJ_HAS_ERRNO_VAR to 1" >&6 9158 8945 cat >>confdefs.h <<\_ACEOF 9159 8946 #define PJ_HAS_ERRNO_VAR 1 … … 9161 8948 9162 8949 9163 {echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&59164 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6 ; }8950 echo "$as_me:$LINENO: result: Setting PJ_HAS_HIGH_RES_TIMER to 1" >&5 8951 echo "${ECHO_T}Setting PJ_HAS_HIGH_RES_TIMER to 1" >&6 9165 8952 cat >>confdefs.h <<\_ACEOF 9166 8953 #define PJ_HAS_HIGH_RES_TIMER 1 … … 9168 8955 9169 8956 9170 {echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&59171 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6 ; }8957 echo "$as_me:$LINENO: result: Setting PJ_HAS_MALLOC to 1" >&5 8958 echo "${ECHO_T}Setting PJ_HAS_MALLOC to 1" >&6 9172 8959 cat >>confdefs.h <<\_ACEOF 9173 8960 #define PJ_HAS_MALLOC 1 … … 9175 8962 9176 8963 9177 {echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&59178 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6 ; }8964 echo "$as_me:$LINENO: result: Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&5 8965 echo "${ECHO_T}Setting PJ_NATIVE_STRING_IS_UNICODE to 0" >&6 9179 8966 cat >>confdefs.h <<\_ACEOF 9180 8967 #define PJ_NATIVE_STRING_IS_UNICODE 0 … … 9182 8969 9183 8970 9184 {echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&59185 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6 ; }8971 echo "$as_me:$LINENO: result: Setting PJ_ATOMIC_VALUE_TYPE to long" >&5 8972 echo "${ECHO_T}Setting PJ_ATOMIC_VALUE_TYPE to long" >&6 9186 8973 cat >>confdefs.h <<\_ACEOF 9187 8974 #define PJ_ATOMIC_VALUE_TYPE long … … 9189 8976 9190 8977 9191 {echo "$as_me:$LINENO: checking if inet_aton() is available" >&59192 echo $ECHO_N "checking if inet_aton() is available... $ECHO_C" >&6 ; }8978 echo "$as_me:$LINENO: checking if inet_aton() is available" >&5 8979 echo $ECHO_N "checking if inet_aton() is available... $ECHO_C" >&6 9193 8980 cat >conftest.$ac_ext <<_ACEOF 9194 8981 /* confdefs.h. */ … … 9209 8996 _ACEOF 9210 8997 rm -f conftest.$ac_objext 9211 if { (ac_try="$ac_compile" 9212 case "(($ac_try" in 9213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9214 *) ac_try_echo=$ac_try;; 9215 esac 9216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9217 (eval "$ac_compile") 2>conftest.er1 8998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 8999 (eval $ac_compile) 2>conftest.er1 9218 9000 ac_status=$? 9219 9001 grep -v '^ *+' conftest.er1 >conftest.err … … 9221 9003 cat conftest.err >&5 9222 9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9223 (exit $ac_status); } && { 9224 test -z "$ac_c_werror_flag" || 9225 test ! -s conftest.err 9226 } && test -s conftest.$ac_objext; then 9005 (exit $ac_status); } && 9006 { ac_try='test -z "$ac_c_werror_flag" 9007 || test ! -s conftest.err' 9008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9009 (eval $ac_try) 2>&5 9010 ac_status=$? 9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9012 (exit $ac_status); }; } && 9013 { ac_try='test -s conftest.$ac_objext' 9014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9015 (eval $ac_try) 2>&5 9016 ac_status=$? 9017 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9018 (exit $ac_status); }; }; then 9227 9019 cat >>confdefs.h <<\_ACEOF 9228 9020 #define PJ_SOCK_HAS_INET_ATON 1 9229 9021 _ACEOF 9230 9022 9231 {echo "$as_me:$LINENO: result: yes" >&59232 echo "${ECHO_T}yes" >&6 ; }9023 echo "$as_me:$LINENO: result: yes" >&5 9024 echo "${ECHO_T}yes" >&6 9233 9025 else 9234 9026 echo "$as_me: failed program was:" >&5 9235 9027 sed 's/^/| /' conftest.$ac_ext >&5 9236 9028 9237 { echo "$as_me:$LINENO: result: no" >&5 9238 echo "${ECHO_T}no" >&6; } 9239 fi 9240 9241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9242 9243 { echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 9244 echo $ECHO_N "checking if inet_pton() is available... $ECHO_C" >&6; } 9029 echo "$as_me:$LINENO: result: no" >&5 9030 echo "${ECHO_T}no" >&6 9031 fi 9032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9033 9034 echo "$as_me:$LINENO: checking if inet_pton() is available" >&5 9035 echo $ECHO_N "checking if inet_pton() is available... $ECHO_C" >&6 9245 9036 cat >conftest.$ac_ext <<_ACEOF 9246 9037 /* confdefs.h. */ … … 9261 9052 _ACEOF 9262 9053 rm -f conftest.$ac_objext 9263 if { (ac_try="$ac_compile" 9264 case "(($ac_try" in 9265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9266 *) ac_try_echo=$ac_try;; 9267 esac 9268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9269 (eval "$ac_compile") 2>conftest.er1 9054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9055 (eval $ac_compile) 2>conftest.er1 9270 9056 ac_status=$? 9271 9057 grep -v '^ *+' conftest.er1 >conftest.err … … 9273 9059 cat conftest.err >&5 9274 9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9275 (exit $ac_status); } && { 9276 test -z "$ac_c_werror_flag" || 9277 test ! -s conftest.err 9278 } && test -s conftest.$ac_objext; then 9061 (exit $ac_status); } && 9062 { ac_try='test -z "$ac_c_werror_flag" 9063 || test ! -s conftest.err' 9064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9065 (eval $ac_try) 2>&5 9066 ac_status=$? 9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9068 (exit $ac_status); }; } && 9069 { ac_try='test -s conftest.$ac_objext' 9070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9071 (eval $ac_try) 2>&5 9072 ac_status=$? 9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9074 (exit $ac_status); }; }; then 9279 9075 cat >>confdefs.h <<\_ACEOF 9280 9076 #define PJ_SOCK_HAS_INET_PTON 1 9281 9077 _ACEOF 9282 9078 9283 {echo "$as_me:$LINENO: result: yes" >&59284 echo "${ECHO_T}yes" >&6 ; }9079 echo "$as_me:$LINENO: result: yes" >&5 9080 echo "${ECHO_T}yes" >&6 9285 9081 else 9286 9082 echo "$as_me: failed program was:" >&5 9287 9083 sed 's/^/| /' conftest.$ac_ext >&5 9288 9084 9289 { echo "$as_me:$LINENO: result: no" >&5 9290 echo "${ECHO_T}no" >&6; } 9291 fi 9292 9293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9294 9295 { echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 9296 echo $ECHO_N "checking if inet_ntop() is available... $ECHO_C" >&6; } 9085 echo "$as_me:$LINENO: result: no" >&5 9086 echo "${ECHO_T}no" >&6 9087 fi 9088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9089 9090 echo "$as_me:$LINENO: checking if inet_ntop() is available" >&5 9091 echo $ECHO_N "checking if inet_ntop() is available... $ECHO_C" >&6 9297 9092 cat >conftest.$ac_ext <<_ACEOF 9298 9093 /* confdefs.h. */ … … 9313 9108 _ACEOF 9314 9109 rm -f conftest.$ac_objext 9315 if { (ac_try="$ac_compile" 9316 case "(($ac_try" in 9317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9318 *) ac_try_echo=$ac_try;; 9319 esac 9320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9321 (eval "$ac_compile") 2>conftest.er1 9110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9111 (eval $ac_compile) 2>conftest.er1 9322 9112 ac_status=$? 9323 9113 grep -v '^ *+' conftest.er1 >conftest.err … … 9325 9115 cat conftest.err >&5 9326 9116 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9327 (exit $ac_status); } && { 9328 test -z "$ac_c_werror_flag" || 9329 test ! -s conftest.err 9330 } && test -s conftest.$ac_objext; then 9117 (exit $ac_status); } && 9118 { ac_try='test -z "$ac_c_werror_flag" 9119 || test ! -s conftest.err' 9120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9121 (eval $ac_try) 2>&5 9122 ac_status=$? 9123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9124 (exit $ac_status); }; } && 9125 { ac_try='test -s conftest.$ac_objext' 9126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9127 (eval $ac_try) 2>&5 9128 ac_status=$? 9129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9130 (exit $ac_status); }; }; then 9331 9131 cat >>confdefs.h <<\_ACEOF 9332 9132 #define PJ_SOCK_HAS_INET_NTOP 1 9333 9133 _ACEOF 9334 9134 9335 {echo "$as_me:$LINENO: result: yes" >&59336 echo "${ECHO_T}yes" >&6 ; }9135 echo "$as_me:$LINENO: result: yes" >&5 9136 echo "${ECHO_T}yes" >&6 9337 9137 else 9338 9138 echo "$as_me: failed program was:" >&5 9339 9139 sed 's/^/| /' conftest.$ac_ext >&5 9340 9140 9341 { echo "$as_me:$LINENO: result: no" >&5 9342 echo "${ECHO_T}no" >&6; } 9343 fi 9344 9345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9346 9347 { echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 9348 echo $ECHO_N "checking if getaddrinfo() is available... $ECHO_C" >&6; } 9141 echo "$as_me:$LINENO: result: no" >&5 9142 echo "${ECHO_T}no" >&6 9143 fi 9144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9145 9146 echo "$as_me:$LINENO: checking if getaddrinfo() is available" >&5 9147 echo $ECHO_N "checking if getaddrinfo() is available... $ECHO_C" >&6 9349 9148 cat >conftest.$ac_ext <<_ACEOF 9350 9149 /* confdefs.h. */ … … 9365 9164 _ACEOF 9366 9165 rm -f conftest.$ac_objext 9367 if { (ac_try="$ac_compile" 9368 case "(($ac_try" in 9369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9370 *) ac_try_echo=$ac_try;; 9371 esac 9372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9373 (eval "$ac_compile") 2>conftest.er1 9166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9167 (eval $ac_compile) 2>conftest.er1 9374 9168 ac_status=$? 9375 9169 grep -v '^ *+' conftest.er1 >conftest.err … … 9377 9171 cat conftest.err >&5 9378 9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9379 (exit $ac_status); } && { 9380 test -z "$ac_c_werror_flag" || 9381 test ! -s conftest.err 9382 } && test -s conftest.$ac_objext; then 9173 (exit $ac_status); } && 9174 { ac_try='test -z "$ac_c_werror_flag" 9175 || test ! -s conftest.err' 9176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9177 (eval $ac_try) 2>&5 9178 ac_status=$? 9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9180 (exit $ac_status); }; } && 9181 { ac_try='test -s conftest.$ac_objext' 9182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9183 (eval $ac_try) 2>&5 9184 ac_status=$? 9185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9186 (exit $ac_status); }; }; then 9383 9187 cat >>confdefs.h <<\_ACEOF 9384 9188 #define PJ_SOCK_HAS_GETADDRINFO 1 9385 9189 _ACEOF 9386 9190 9387 {echo "$as_me:$LINENO: result: yes" >&59388 echo "${ECHO_T}yes" >&6 ; }9191 echo "$as_me:$LINENO: result: yes" >&5 9192 echo "${ECHO_T}yes" >&6 9389 9193 else 9390 9194 echo "$as_me: failed program was:" >&5 9391 9195 sed 's/^/| /' conftest.$ac_ext >&5 9392 9196 9393 { echo "$as_me:$LINENO: result: no" >&5 9394 echo "${ECHO_T}no" >&6; } 9395 fi 9396 9397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9398 9399 { echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 9400 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6; } 9197 echo "$as_me:$LINENO: result: no" >&5 9198 echo "${ECHO_T}no" >&6 9199 fi 9200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9201 9202 echo "$as_me:$LINENO: checking if sockaddr_in has sin_len member" >&5 9203 echo $ECHO_N "checking if sockaddr_in has sin_len member... $ECHO_C" >&6 9401 9204 cat >conftest.$ac_ext <<_ACEOF 9402 9205 /* confdefs.h. */ … … 9418 9221 _ACEOF 9419 9222 rm -f conftest.$ac_objext 9420 if { (ac_try="$ac_compile" 9421 case "(($ac_try" in 9422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9423 *) ac_try_echo=$ac_try;; 9424 esac 9425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9426 (eval "$ac_compile") 2>conftest.er1 9223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9224 (eval $ac_compile) 2>conftest.er1 9427 9225 ac_status=$? 9428 9226 grep -v '^ *+' conftest.er1 >conftest.err … … 9430 9228 cat conftest.err >&5 9431 9229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9432 (exit $ac_status); } && { 9433 test -z "$ac_c_werror_flag" || 9434 test ! -s conftest.err 9435 } && test -s conftest.$ac_objext; then 9230 (exit $ac_status); } && 9231 { ac_try='test -z "$ac_c_werror_flag" 9232 || test ! -s conftest.err' 9233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9234 (eval $ac_try) 2>&5 9235 ac_status=$? 9236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9237 (exit $ac_status); }; } && 9238 { ac_try='test -s conftest.$ac_objext' 9239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9240 (eval $ac_try) 2>&5 9241 ac_status=$? 9242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9243 (exit $ac_status); }; }; then 9436 9244 cat >>confdefs.h <<\_ACEOF 9437 9245 #define PJ_SOCKADDR_HAS_LEN 1 9438 9246 _ACEOF 9439 9247 9440 {echo "$as_me:$LINENO: result: yes" >&59441 echo "${ECHO_T}yes" >&6 ; }9248 echo "$as_me:$LINENO: result: yes" >&5 9249 echo "${ECHO_T}yes" >&6 9442 9250 else 9443 9251 echo "$as_me: failed program was:" >&5 9444 9252 sed 's/^/| /' conftest.$ac_ext >&5 9445 9253 9446 { echo "$as_me:$LINENO: result: no" >&5 9447 echo "${ECHO_T}no" >&6; } 9448 fi 9449 9450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9451 9452 { echo "$as_me:$LINENO: checking if socklen_t is available" >&5 9453 echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6; } 9254 echo "$as_me:$LINENO: result: no" >&5 9255 echo "${ECHO_T}no" >&6 9256 fi 9257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9258 9259 echo "$as_me:$LINENO: checking if socklen_t is available" >&5 9260 echo $ECHO_N "checking if socklen_t is available... $ECHO_C" >&6 9454 9261 cat >conftest.$ac_ext <<_ACEOF 9455 9262 /* confdefs.h. */ … … 9468 9275 _ACEOF 9469 9276 rm -f conftest.$ac_objext 9470 if { (ac_try="$ac_compile" 9471 case "(($ac_try" in 9472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9473 *) ac_try_echo=$ac_try;; 9474 esac 9475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9476 (eval "$ac_compile") 2>conftest.er1 9277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9278 (eval $ac_compile) 2>conftest.er1 9477 9279 ac_status=$? 9478 9280 grep -v '^ *+' conftest.er1 >conftest.err … … 9480 9282 cat conftest.err >&5 9481 9283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9482 (exit $ac_status); } && { 9483 test -z "$ac_c_werror_flag" || 9484 test ! -s conftest.err 9485 } && test -s conftest.$ac_objext; then 9284 (exit $ac_status); } && 9285 { ac_try='test -z "$ac_c_werror_flag" 9286 || test ! -s conftest.err' 9287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9288 (eval $ac_try) 2>&5 9289 ac_status=$? 9290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9291 (exit $ac_status); }; } && 9292 { ac_try='test -s conftest.$ac_objext' 9293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9294 (eval $ac_try) 2>&5 9295 ac_status=$? 9296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9297 (exit $ac_status); }; }; then 9486 9298 cat >>confdefs.h <<\_ACEOF 9487 9299 #define PJ_HAS_SOCKLEN_T 1 9488 9300 _ACEOF 9489 9301 9490 {echo "$as_me:$LINENO: result: yes" >&59491 echo "${ECHO_T}yes" >&6 ; }9302 echo "$as_me:$LINENO: result: yes" >&5 9303 echo "${ECHO_T}yes" >&6 9492 9304 else 9493 9305 echo "$as_me: failed program was:" >&5 9494 9306 sed 's/^/| /' conftest.$ac_ext >&5 9495 9307 9496 { echo "$as_me:$LINENO: result: no" >&5 9497 echo "${ECHO_T}no" >&6; } 9498 fi 9499 9500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9501 9502 { echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 9503 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6; } 9308 echo "$as_me:$LINENO: result: no" >&5 9309 echo "${ECHO_T}no" >&6 9310 fi 9311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9312 9313 echo "$as_me:$LINENO: checking if SO_ERROR is available" >&5 9314 echo $ECHO_N "checking if SO_ERROR is available... $ECHO_C" >&6 9504 9315 case $target in 9505 9316 *mingw* | *cygw* | *win32* | *w32* ) … … 9508 9319 _ACEOF 9509 9320 9510 {echo "$as_me:$LINENO: result: yes" >&59511 echo "${ECHO_T}yes" >&6 ; }9321 echo "$as_me:$LINENO: result: yes" >&5 9322 echo "${ECHO_T}yes" >&6 9512 9323 ;; 9513 9324 *) … … 9531 9342 _ACEOF 9532 9343 rm -f conftest.$ac_objext 9533 if { (ac_try="$ac_compile" 9534 case "(($ac_try" in 9535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9536 *) ac_try_echo=$ac_try;; 9537 esac 9538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9539 (eval "$ac_compile") 2>conftest.er1 9344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9345 (eval $ac_compile) 2>conftest.er1 9540 9346 ac_status=$? 9541 9347 grep -v '^ *+' conftest.er1 >conftest.err … … 9543 9349 cat conftest.err >&5 9544 9350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9545 (exit $ac_status); } && { 9546 test -z "$ac_c_werror_flag" || 9547 test ! -s conftest.err 9548 } && test -s conftest.$ac_objext; then 9351 (exit $ac_status); } && 9352 { ac_try='test -z "$ac_c_werror_flag" 9353 || test ! -s conftest.err' 9354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9355 (eval $ac_try) 2>&5 9356 ac_status=$? 9357 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9358 (exit $ac_status); }; } && 9359 { ac_try='test -s conftest.$ac_objext' 9360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9361 (eval $ac_try) 2>&5 9362 ac_status=$? 9363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9364 (exit $ac_status); }; }; then 9549 9365 cat >>confdefs.h <<\_ACEOF 9550 9366 #define PJ_HAS_SO_ERROR 1 9551 9367 _ACEOF 9552 9368 9553 {echo "$as_me:$LINENO: result: yes" >&59554 echo "${ECHO_T}yes" >&6 ; }9369 echo "$as_me:$LINENO: result: yes" >&5 9370 echo "${ECHO_T}yes" >&6 9555 9371 else 9556 9372 echo "$as_me: failed program was:" >&5 9557 9373 sed 's/^/| /' conftest.$ac_ext >&5 9558 9374 9559 { echo "$as_me:$LINENO: result: no" >&5 9560 echo "${ECHO_T}no" >&6; } 9561 fi 9562 9563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9375 echo "$as_me:$LINENO: result: no" >&5 9376 echo "${ECHO_T}no" >&6 9377 fi 9378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9564 9379 ;; 9565 9380 esac 9566 9381 9567 9382 9568 {echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&59569 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6 ; }9383 echo "$as_me:$LINENO: checking if pthread_rwlock_t is available" >&5 9384 echo $ECHO_N "checking if pthread_rwlock_t is available... $ECHO_C" >&6 9570 9385 cat >conftest.$ac_ext <<_ACEOF 9571 9386 /* confdefs.h. */ … … 9584 9399 _ACEOF 9585 9400 rm -f conftest.$ac_objext 9586 if { (ac_try="$ac_compile" 9587 case "(($ac_try" in 9588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9589 *) ac_try_echo=$ac_try;; 9590 esac 9591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9592 (eval "$ac_compile") 2>conftest.er1 9401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9402 (eval $ac_compile) 2>conftest.er1 9593 9403 ac_status=$? 9594 9404 grep -v '^ *+' conftest.er1 >conftest.err … … 9596 9406 cat conftest.err >&5 9597 9407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9598 (exit $ac_status); } && { 9599 test -z "$ac_c_werror_flag" || 9600 test ! -s conftest.err 9601 } && test -s conftest.$ac_objext; then 9408 (exit $ac_status); } && 9409 { ac_try='test -z "$ac_c_werror_flag" 9410 || test ! -s conftest.err' 9411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9412 (eval $ac_try) 2>&5 9413 ac_status=$? 9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9415 (exit $ac_status); }; } && 9416 { ac_try='test -s conftest.$ac_objext' 9417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9418 (eval $ac_try) 2>&5 9419 ac_status=$? 9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9421 (exit $ac_status); }; }; then 9602 9422 cat >>confdefs.h <<\_ACEOF 9603 9423 #define PJ_EMULATE_RWMUTEX 0 … … 9605 9425 9606 9426 ac_rwmutex="yes" 9607 {echo "$as_me:$LINENO: result: yes" >&59608 echo "${ECHO_T}yes" >&6 ; }9427 echo "$as_me:$LINENO: result: yes" >&5 9428 echo "${ECHO_T}yes" >&6 9609 9429 else 9610 9430 echo "$as_me: failed program was:" >&5 9611 9431 sed 's/^/| /' conftest.$ac_ext >&5 9612 9432 9613 9433 cat >>confdefs.h <<\_ACEOF 9614 9434 #define PJ_EMULATE_RWMUTEX 1 9615 9435 _ACEOF 9616 9436 9617 9437 ac_rwmutex="no" 9618 { echo "$as_me:$LINENO: result: no" >&5 9619 echo "${ECHO_T}no" >&6; } 9620 fi 9621 9622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9438 echo "$as_me:$LINENO: result: no" >&5 9439 echo "${ECHO_T}no" >&6 9440 fi 9441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9623 9442 9624 9443 if test "$ac_rwmutex" = "no"; then 9625 {echo "$as_me:$LINENO: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&59626 echo $ECHO_N "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... $ECHO_C" >&6 ; }9444 echo "$as_me:$LINENO: checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS" >&5 9445 echo $ECHO_N "checking if pthread_rwlock_t is available with _POSIX_READER_WRITER_LOCKS... $ECHO_C" >&6 9627 9446 cat >conftest.$ac_ext <<_ACEOF 9628 9447 /* confdefs.h. */ … … 9642 9461 _ACEOF 9643 9462 rm -f conftest.$ac_objext 9644 if { (ac_try="$ac_compile" 9645 case "(($ac_try" in 9646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9647 *) ac_try_echo=$ac_try;; 9648 esac 9649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9650 (eval "$ac_compile") 2>conftest.er1 9463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9464 (eval $ac_compile) 2>conftest.er1 9651 9465 ac_status=$? 9652 9466 grep -v '^ *+' conftest.er1 >conftest.err … … 9654 9468 cat conftest.err >&5 9655 9469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9656 (exit $ac_status); } && { 9657 test -z "$ac_c_werror_flag" || 9658 test ! -s conftest.err 9659 } && test -s conftest.$ac_objext; then 9470 (exit $ac_status); } && 9471 { ac_try='test -z "$ac_c_werror_flag" 9472 || test ! -s conftest.err' 9473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9474 (eval $ac_try) 2>&5 9475 ac_status=$? 9476 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9477 (exit $ac_status); }; } && 9478 { ac_try='test -s conftest.$ac_objext' 9479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9480 (eval $ac_try) 2>&5 9481 ac_status=$? 9482 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9483 (exit $ac_status); }; }; then 9660 9484 cat >>confdefs.h <<\_ACEOF 9661 9485 #define PJ_EMULATE_RWMUTEX 0 … … 9663 9487 9664 9488 CFLAGS="$CFLAGS -D_POSIX_THREADS -D_POSIX_READER_WRITER_LOCKS" 9665 {echo "$as_me:$LINENO: result: yes" >&59666 echo "${ECHO_T}yes" >&6 ; }9489 echo "$as_me:$LINENO: result: yes" >&5 9490 echo "${ECHO_T}yes" >&6 9667 9491 else 9668 9492 echo "$as_me: failed program was:" >&5 9669 9493 sed 's/^/| /' conftest.$ac_ext >&5 9670 9494 9671 9495 cat >>confdefs.h <<\_ACEOF 9672 9496 #define PJ_EMULATE_RWMUTEX 1 9673 9497 _ACEOF 9674 9498 9675 { echo "$as_me:$LINENO: result: no" >&5 9676 echo "${ECHO_T}no" >&6; } 9677 fi 9678 9679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9680 fi 9681 9682 { echo "$as_me:$LINENO: checking if pthread_mutexattr_settype() is available" >&5 9683 echo $ECHO_N "checking if pthread_mutexattr_settype() is available... $ECHO_C" >&6; } 9499 echo "$as_me:$LINENO: result: no" >&5 9500 echo "${ECHO_T}no" >&6 9501 fi 9502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9503 fi 9504 9505 echo "$as_me:$LINENO: checking if pthread_mutexattr_settype() is available" >&5 9506 echo $ECHO_N "checking if pthread_mutexattr_settype() is available... $ECHO_C" >&6 9684 9507 cat >conftest.$ac_ext <<_ACEOF 9685 9508 /* confdefs.h. */ … … 9698 9521 _ACEOF 9699 9522 rm -f conftest.$ac_objext 9700 if { (ac_try="$ac_compile" 9701 case "(($ac_try" in 9702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9703 *) ac_try_echo=$ac_try;; 9704 esac 9705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9706 (eval "$ac_compile") 2>conftest.er1 9523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9524 (eval $ac_compile) 2>conftest.er1 9707 9525 ac_status=$? 9708 9526 grep -v '^ *+' conftest.er1 >conftest.err … … 9710 9528 cat conftest.err >&5 9711 9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9712 (exit $ac_status); } && { 9713 test -z "$ac_c_werror_flag" || 9714 test ! -s conftest.err 9715 } && test -s conftest.$ac_objext; then 9530 (exit $ac_status); } && 9531 { ac_try='test -z "$ac_c_werror_flag" 9532 || test ! -s conftest.err' 9533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9534 (eval $ac_try) 2>&5 9535 ac_status=$? 9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9537 (exit $ac_status); }; } && 9538 { ac_try='test -s conftest.$ac_objext' 9539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9540 (eval $ac_try) 2>&5 9541 ac_status=$? 9542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9543 (exit $ac_status); }; }; then 9716 9544 cat >>confdefs.h <<\_ACEOF 9717 9545 #define PJ_HAS_PTHREAD_MUTEXATTR_SETTYPE 1 9718 9546 _ACEOF 9719 9547 9720 {echo "$as_me:$LINENO: result: yes" >&59721 echo "${ECHO_T}yes" >&6 ; }9548 echo "$as_me:$LINENO: result: yes" >&5 9549 echo "${ECHO_T}yes" >&6 9722 9550 else 9723 9551 echo "$as_me: failed program was:" >&5 9724 9552 sed 's/^/| /' conftest.$ac_ext >&5 9725 9553 9726 { echo "$as_me:$LINENO: result: no" >&5 9727 echo "${ECHO_T}no" >&6; } 9728 fi 9729 9730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9731 9732 { echo "$as_me:$LINENO: checking if pthread_mutexattr_t has recursive member" >&5 9733 echo $ECHO_N "checking if pthread_mutexattr_t has recursive member... $ECHO_C" >&6; } 9554 echo "$as_me:$LINENO: result: no" >&5 9555 echo "${ECHO_T}no" >&6 9556 fi 9557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9558 9559 echo "$as_me:$LINENO: checking if pthread_mutexattr_t has recursive member" >&5 9560 echo $ECHO_N "checking if pthread_mutexattr_t has recursive member... $ECHO_C" >&6 9734 9561 cat >conftest.$ac_ext <<_ACEOF 9735 9562 /* confdefs.h. */ … … 9749 9576 _ACEOF 9750 9577 rm -f conftest.$ac_objext 9751 if { (ac_try="$ac_compile" 9752 case "(($ac_try" in 9753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9754 *) ac_try_echo=$ac_try;; 9755 esac 9756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9757 (eval "$ac_compile") 2>conftest.er1 9578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9579 (eval $ac_compile) 2>conftest.er1 9758 9580 ac_status=$? 9759 9581 grep -v '^ *+' conftest.er1 >conftest.err … … 9761 9583 cat conftest.err >&5 9762 9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9763 (exit $ac_status); } && { 9764 test -z "$ac_c_werror_flag" || 9765 test ! -s conftest.err 9766 } && test -s conftest.$ac_objext; then 9585 (exit $ac_status); } && 9586 { ac_try='test -z "$ac_c_werror_flag" 9587 || test ! -s conftest.err' 9588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9589 (eval $ac_try) 2>&5 9590 ac_status=$? 9591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9592 (exit $ac_status); }; } && 9593 { ac_try='test -s conftest.$ac_objext' 9594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9595 (eval $ac_try) 2>&5 9596 ac_status=$? 9597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9598 (exit $ac_status); }; }; then 9767 9599 cat >>confdefs.h <<\_ACEOF 9768 9600 #define PJ_PTHREAD_MUTEXATTR_T_HAS_RECURSIVE 1 9769 9601 _ACEOF 9770 9602 9771 {echo "$as_me:$LINENO: result: yes" >&59772 echo "${ECHO_T}yes" >&6 ; }9603 echo "$as_me:$LINENO: result: yes" >&5 9604 echo "${ECHO_T}yes" >&6 9773 9605 else 9774 9606 echo "$as_me: failed program was:" >&5 9775 9607 sed 's/^/| /' conftest.$ac_ext >&5 9776 9608 9777 { echo "$as_me:$LINENO: result: no" >&5 9778 echo "${ECHO_T}no" >&6; } 9779 fi 9780 9781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9609 echo "$as_me:$LINENO: result: no" >&5 9610 echo "${ECHO_T}no" >&6 9611 fi 9612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9613 9614 9615 echo "$as_me:$LINENO: checking ioqueue backend" >&5 9616 echo $ECHO_N "checking ioqueue backend... $ECHO_C" >&6 9617 # Check whether --enable-epoll or --disable-epoll was given. 9618 if test "${enable_epoll+set}" = set; then 9619 enableval="$enable_epoll" 9620 9621 ac_os_objs=ioqueue_epoll.o 9622 echo "$as_me:$LINENO: result: /dev/epoll" >&5 9623 echo "${ECHO_T}/dev/epoll" >&6 9624 9625 else 9626 9627 ac_os_objs=ioqueue_select.o 9628 echo "$as_me:$LINENO: result: select()" >&5 9629 echo "${ECHO_T}select()" >&6 9630 9631 fi; 9782 9632 9783 9633 9784 9634 case $target in 9785 9635 *mingw* | *cygw* | *win32* | *w32* ) 9786 ac_os_objs=" file_access_win32.o file_io_win32.o os_core_win32.o os_error_win32.o os_time_win32.o os_timestamp_win32.o guid_win32.o ioqueue_select.o"9636 ac_os_objs="$ac_os_objs file_access_win32.o file_io_win32.o os_core_win32.o os_error_win32.o os_time_win32.o os_timestamp_win32.o guid_win32.o" 9787 9637 ;; 9788 9638 *) 9789 ac_os_objs=" file_access_unistd.o file_io_ansi.o os_core_unix.o os_error_unix.o os_time_unix.o os_timestamp_posix.o ioqueue_select.o"9639 ac_os_objs="$ac_os_objs file_access_unistd.o file_io_ansi.o os_core_unix.o os_error_unix.o os_time_unix.o os_timestamp_posix.o" 9790 9640 # UUID 9791 9641 if test "$ac_has_uuid_lib" = "1" -a "$ac_has_uuid_h" = "1"; then … … 9801 9651 9802 9652 9803 # Check whether --enable-sound was given.9653 # Check whether --enable-sound or --disable-sound was given. 9804 9654 if test "${enable_sound+set}" = set; then 9805 enableval=$enable_sound; if test "$enable_sound" = "no"; then 9655 enableval="$enable_sound" 9656 if test "$enable_sound" = "no"; then 9806 9657 ac_pjmedia_snd=null 9807 {echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&59808 echo "${ECHO_T}Checking if sound is disabled... yes" >&6 ; }9658 echo "$as_me:$LINENO: result: Checking if sound is disabled... yes" >&5 9659 echo "${ECHO_T}Checking if sound is disabled... yes" >&6 9809 9660 fi 9810 9661 9811 fi 9812 9662 fi; 9813 9663 9814 9664 9815 9665 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 9816 {echo "$as_me:$LINENO: checking for sys/soundcard.h" >&59817 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6 ; }9666 echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 9667 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6 9818 9668 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 9819 9669 echo $ECHO_N "(cached) $ECHO_C" >&6 9820 9670 fi 9821 {echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&59822 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6 ; }9671 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 9672 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6 9823 9673 else 9824 9674 # Is the header compilable? 9825 {echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&59826 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6 ; }9675 echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5 9676 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6 9827 9677 cat >conftest.$ac_ext <<_ACEOF 9828 9678 /* confdefs.h. */ … … 9835 9685 _ACEOF 9836 9686 rm -f conftest.$ac_objext 9837 if { (ac_try="$ac_compile" 9838 case "(($ac_try" in 9839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9840 *) ac_try_echo=$ac_try;; 9841 esac 9842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9843 (eval "$ac_compile") 2>conftest.er1 9687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9688 (eval $ac_compile) 2>conftest.er1 9844 9689 ac_status=$? 9845 9690 grep -v '^ *+' conftest.er1 >conftest.err … … 9847 9692 cat conftest.err >&5 9848 9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9849 (exit $ac_status); } && { 9850 test -z "$ac_c_werror_flag" || 9851 test ! -s conftest.err 9852 } && test -s conftest.$ac_objext; then 9694 (exit $ac_status); } && 9695 { ac_try='test -z "$ac_c_werror_flag" 9696 || test ! -s conftest.err' 9697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9698 (eval $ac_try) 2>&5 9699 ac_status=$? 9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9701 (exit $ac_status); }; } && 9702 { ac_try='test -s conftest.$ac_objext' 9703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9704 (eval $ac_try) 2>&5 9705 ac_status=$? 9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9707 (exit $ac_status); }; }; then 9853 9708 ac_header_compiler=yes 9854 9709 else … … 9856 9711 sed 's/^/| /' conftest.$ac_ext >&5 9857 9712 9858 ac_header_compiler=no 9859 fi 9860 9861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9862 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9863 echo "${ECHO_T}$ac_header_compiler" >&6; } 9713 ac_header_compiler=no 9714 fi 9715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9717 echo "${ECHO_T}$ac_header_compiler" >&6 9864 9718 9865 9719 # Is the header present? 9866 {echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&59867 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6 ; }9720 echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5 9721 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6 9868 9722 cat >conftest.$ac_ext <<_ACEOF 9869 9723 /* confdefs.h. */ … … 9874 9728 #include <sys/soundcard.h> 9875 9729 _ACEOF 9876 if { (ac_try="$ac_cpp conftest.$ac_ext" 9877 case "(($ac_try" in 9878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9879 *) ac_try_echo=$ac_try;; 9880 esac 9881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9882 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 9731 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 9883 9732 ac_status=$? 9884 9733 grep -v '^ *+' conftest.er1 >conftest.err … … 9886 9735 cat conftest.err >&5 9887 9736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9888 (exit $ac_status); } >/dev/null && { 9889 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 9890 test ! -s conftest.err 9891 }; then 9737 (exit $ac_status); } >/dev/null; then 9738 if test -s conftest.err; then 9739 ac_cpp_err=$ac_c_preproc_warn_flag 9740 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 9741 else 9742 ac_cpp_err= 9743 fi 9744 else 9745 ac_cpp_err=yes 9746 fi 9747 if test -z "$ac_cpp_err"; then 9892 9748 ac_header_preproc=yes 9893 9749 else … … 9897 9753 ac_header_preproc=no 9898 9754 fi 9899 9900 9755 rm -f conftest.err conftest.$ac_ext 9901 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&59902 echo "${ECHO_T}$ac_header_preproc" >&6 ; }9756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9757 echo "${ECHO_T}$ac_header_preproc" >&6 9903 9758 9904 9759 # So? What about this header? … … 9924 9779 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5 9925 9780 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;} 9926 9781 ( 9782 cat <<\_ASBOX 9783 ## ------------------------------------ ## 9784 ## Report this to the pjproject lists. ## 9785 ## ------------------------------------ ## 9786 _ASBOX 9787 ) | 9788 sed "s/^/$as_me: WARNING: /" >&2 9927 9789 ;; 9928 9790 esac 9929 {echo "$as_me:$LINENO: checking for sys/soundcard.h" >&59930 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6 ; }9791 echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5 9792 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6 9931 9793 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then 9932 9794 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 9934 9796 ac_cv_header_sys_soundcard_h=$ac_header_preproc 9935 9797 fi 9936 {echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&59937 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6 ; }9798 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5 9799 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6 9938 9800 9939 9801 fi … … 9944 9806 9945 9807 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 9946 {echo "$as_me:$LINENO: checking for linux/soundcard.h" >&59947 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6 ; }9808 echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 9809 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6 9948 9810 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 9949 9811 echo $ECHO_N "(cached) $ECHO_C" >&6 9950 9812 fi 9951 {echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&59952 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6 ; }9813 echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 9814 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6 9953 9815 else 9954 9816 # Is the header compilable? 9955 {echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&59956 echo $ECHO_N "checking linux/soundcard.h usability... $ECHO_C" >&6 ; }9817 echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&5 9818 echo $ECHO_N "checking linux/soundcard.h usability... $ECHO_C" >&6 9957 9819 cat >conftest.$ac_ext <<_ACEOF 9958 9820 /* confdefs.h. */ … … 9965 9827 _ACEOF 9966 9828 rm -f conftest.$ac_objext 9967 if { (ac_try="$ac_compile" 9968 case "(($ac_try" in 9969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9970 *) ac_try_echo=$ac_try;; 9971 esac 9972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9973 (eval "$ac_compile") 2>conftest.er1 9829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9830 (eval $ac_compile) 2>conftest.er1 9974 9831 ac_status=$? 9975 9832 grep -v '^ *+' conftest.er1 >conftest.err … … 9977 9834 cat conftest.err >&5 9978 9835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9979 (exit $ac_status); } && { 9980 test -z "$ac_c_werror_flag" || 9981 test ! -s conftest.err 9982 } && test -s conftest.$ac_objext; then 9836 (exit $ac_status); } && 9837 { ac_try='test -z "$ac_c_werror_flag" 9838 || test ! -s conftest.err' 9839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9840 (eval $ac_try) 2>&5 9841 ac_status=$? 9842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9843 (exit $ac_status); }; } && 9844 { ac_try='test -s conftest.$ac_objext' 9845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9846 (eval $ac_try) 2>&5 9847 ac_status=$? 9848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9849 (exit $ac_status); }; }; then 9983 9850 ac_header_compiler=yes 9984 9851 else … … 9986 9853 sed 's/^/| /' conftest.$ac_ext >&5 9987 9854 9988 ac_header_compiler=no 9989 fi 9990 9991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9992 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9993 echo "${ECHO_T}$ac_header_compiler" >&6; } 9855 ac_header_compiler=no 9856 fi 9857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 9858 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9859 echo "${ECHO_T}$ac_header_compiler" >&6 9994 9860 9995 9861 # Is the header present? 9996 {echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&59997 echo $ECHO_N "checking linux/soundcard.h presence... $ECHO_C" >&6 ; }9862 echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&5 9863 echo $ECHO_N "checking linux/soundcard.h presence... $ECHO_C" >&6 9998 9864 cat >conftest.$ac_ext <<_ACEOF 9999 9865 /* confdefs.h. */ … … 10004 9870 #include <linux/soundcard.h> 10005 9871 _ACEOF 10006 if { (ac_try="$ac_cpp conftest.$ac_ext" 10007 case "(($ac_try" in 10008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10009 *) ac_try_echo=$ac_try;; 10010 esac 10011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10012 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 9872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 9873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10013 9874 ac_status=$? 10014 9875 grep -v '^ *+' conftest.er1 >conftest.err … … 10016 9877 cat conftest.err >&5 10017 9878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10018 (exit $ac_status); } >/dev/null && { 10019 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10020 test ! -s conftest.err 10021 }; then 9879 (exit $ac_status); } >/dev/null; then 9880 if test -s conftest.err; then 9881 ac_cpp_err=$ac_c_preproc_warn_flag 9882 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 9883 else 9884 ac_cpp_err= 9885 fi 9886 else 9887 ac_cpp_err=yes 9888 fi 9889 if test -z "$ac_cpp_err"; then 10022 9890 ac_header_preproc=yes 10023 9891 else … … 10027 9895 ac_header_preproc=no 10028 9896 fi 10029 10030 9897 rm -f conftest.err conftest.$ac_ext 10031 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&510032 echo "${ECHO_T}$ac_header_preproc" >&6 ; }9898 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 9899 echo "${ECHO_T}$ac_header_preproc" >&6 10033 9900 10034 9901 # So? What about this header? … … 10054 9921 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5 10055 9922 echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;} 10056 9923 ( 9924 cat <<\_ASBOX 9925 ## ------------------------------------ ## 9926 ## Report this to the pjproject lists. ## 9927 ## ------------------------------------ ## 9928 _ASBOX 9929 ) | 9930 sed "s/^/$as_me: WARNING: /" >&2 10057 9931 ;; 10058 9932 esac 10059 {echo "$as_me:$LINENO: checking for linux/soundcard.h" >&510060 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6 ; }9933 echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5 9934 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6 10061 9935 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then 10062 9936 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 10064 9938 ac_cv_header_linux_soundcard_h=$ac_header_preproc 10065 9939 fi 10066 {echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&510067 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6 ; }9940 echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5 9941 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6 10068 9942 10069 9943 fi … … 10074 9948 10075 9949 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 10076 {echo "$as_me:$LINENO: checking for machine/soundcard.h" >&510077 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6 ; }9950 echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 9951 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6 10078 9952 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 10079 9953 echo $ECHO_N "(cached) $ECHO_C" >&6 10080 9954 fi 10081 {echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&510082 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6 ; }9955 echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 9956 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6 10083 9957 else 10084 9958 # Is the header compilable? 10085 {echo "$as_me:$LINENO: checking machine/soundcard.h usability" >&510086 echo $ECHO_N "checking machine/soundcard.h usability... $ECHO_C" >&6 ; }9959 echo "$as_me:$LINENO: checking machine/soundcard.h usability" >&5 9960 echo $ECHO_N "checking machine/soundcard.h usability... $ECHO_C" >&6 10087 9961 cat >conftest.$ac_ext <<_ACEOF 10088 9962 /* confdefs.h. */ … … 10095 9969 _ACEOF 10096 9970 rm -f conftest.$ac_objext 10097 if { (ac_try="$ac_compile" 10098 case "(($ac_try" in 10099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10100 *) ac_try_echo=$ac_try;; 10101 esac 10102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10103 (eval "$ac_compile") 2>conftest.er1 9971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 9972 (eval $ac_compile) 2>conftest.er1 10104 9973 ac_status=$? 10105 9974 grep -v '^ *+' conftest.er1 >conftest.err … … 10107 9976 cat conftest.err >&5 10108 9977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10109 (exit $ac_status); } && { 10110 test -z "$ac_c_werror_flag" || 10111 test ! -s conftest.err 10112 } && test -s conftest.$ac_objext; then 9978 (exit $ac_status); } && 9979 { ac_try='test -z "$ac_c_werror_flag" 9980 || test ! -s conftest.err' 9981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9982 (eval $ac_try) 2>&5 9983 ac_status=$? 9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9985 (exit $ac_status); }; } && 9986 { ac_try='test -s conftest.$ac_objext' 9987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 9988 (eval $ac_try) 2>&5 9989 ac_status=$? 9990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9991 (exit $ac_status); }; }; then 10113 9992 ac_header_compiler=yes 10114 9993 else … … 10116 9995 sed 's/^/| /' conftest.$ac_ext >&5 10117 9996 10118 ac_header_compiler=no 10119 fi 10120 10121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10122 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10123 echo "${ECHO_T}$ac_header_compiler" >&6; } 9997 ac_header_compiler=no 9998 fi 9999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10000 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10001 echo "${ECHO_T}$ac_header_compiler" >&6 10124 10002 10125 10003 # Is the header present? 10126 {echo "$as_me:$LINENO: checking machine/soundcard.h presence" >&510127 echo $ECHO_N "checking machine/soundcard.h presence... $ECHO_C" >&6 ; }10004 echo "$as_me:$LINENO: checking machine/soundcard.h presence" >&5 10005 echo $ECHO_N "checking machine/soundcard.h presence... $ECHO_C" >&6 10128 10006 cat >conftest.$ac_ext <<_ACEOF 10129 10007 /* confdefs.h. */ … … 10134 10012 #include <machine/soundcard.h> 10135 10013 _ACEOF 10136 if { (ac_try="$ac_cpp conftest.$ac_ext" 10137 case "(($ac_try" in 10138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10139 *) ac_try_echo=$ac_try;; 10140 esac 10141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10142 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 10015 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10143 10016 ac_status=$? 10144 10017 grep -v '^ *+' conftest.er1 >conftest.err … … 10146 10019 cat conftest.err >&5 10147 10020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10148 (exit $ac_status); } >/dev/null && { 10149 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10150 test ! -s conftest.err 10151 }; then 10021 (exit $ac_status); } >/dev/null; then 10022 if test -s conftest.err; then 10023 ac_cpp_err=$ac_c_preproc_warn_flag 10024 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 10025 else 10026 ac_cpp_err= 10027 fi 10028 else 10029 ac_cpp_err=yes 10030 fi 10031 if test -z "$ac_cpp_err"; then 10152 10032 ac_header_preproc=yes 10153 10033 else … … 10157 10037 ac_header_preproc=no 10158 10038 fi 10159 10160 10039 rm -f conftest.err conftest.$ac_ext 10161 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&510162 echo "${ECHO_T}$ac_header_preproc" >&6 ; }10040 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10041 echo "${ECHO_T}$ac_header_preproc" >&6 10163 10042 10164 10043 # So? What about this header? … … 10184 10063 { echo "$as_me:$LINENO: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&5 10185 10064 echo "$as_me: WARNING: machine/soundcard.h: in the future, the compiler will take precedence" >&2;} 10186 10065 ( 10066 cat <<\_ASBOX 10067 ## ------------------------------------ ## 10068 ## Report this to the pjproject lists. ## 10069 ## ------------------------------------ ## 10070 _ASBOX 10071 ) | 10072 sed "s/^/$as_me: WARNING: /" >&2 10187 10073 ;; 10188 10074 esac 10189 {echo "$as_me:$LINENO: checking for machine/soundcard.h" >&510190 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6 ; }10075 echo "$as_me:$LINENO: checking for machine/soundcard.h" >&5 10076 echo $ECHO_N "checking for machine/soundcard.h... $ECHO_C" >&6 10191 10077 if test "${ac_cv_header_machine_soundcard_h+set}" = set; then 10192 10078 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 10194 10080 ac_cv_header_machine_soundcard_h=$ac_header_preproc 10195 10081 fi 10196 {echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&510197 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6 ; }10082 echo "$as_me:$LINENO: result: $ac_cv_header_machine_soundcard_h" >&5 10083 echo "${ECHO_T}$ac_cv_header_machine_soundcard_h" >&6 10198 10084 10199 10085 fi … … 10220 10106 #AC_MSG_RESULT([Setting additional PortAudio CFLAGS.. -DPA_OLD_CORE_AUDIO -DMOSX_USE_NON_ATOMIC_FLAG_BITS]) 10221 10107 ac_pjmedia_snd=pa_old_darwinos 10222 {echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&510223 echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6 ; }10108 echo "$as_me:$LINENO: result: Checking sound device backend... old coreaudio" >&5 10109 echo "${ECHO_T}Checking sound device backend... old coreaudio" >&6 10224 10110 else 10225 10111 ac_pjmedia_snd=pa_darwinos 10226 {echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&510227 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6 ; }10112 echo "$as_me:$LINENO: result: Checking sound device backend... coreaudio" >&5 10113 echo "${ECHO_T}Checking sound device backend... coreaudio" >&6 10228 10114 fi 10229 10115 ;; 10230 10116 *cygwin* | *mingw*) 10231 10117 ac_pjmedia_snd=pa_win32 10232 {echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&510233 echo "${ECHO_T}Checking sound device backend... win32 sound" >&6 ; }10118 echo "$as_me:$LINENO: result: Checking sound device backend... win32 sound" >&5 10119 echo "${ECHO_T}Checking sound device backend... win32 sound" >&6 10234 10120 ;; 10235 10121 *rtems*) 10236 10122 ac_pjmedia_snd=null 10237 {echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&510238 echo "${ECHO_T}Checking sound device backend... null sound" >&6 ; }10123 echo "$as_me:$LINENO: result: Checking sound device backend... null sound" >&5 10124 echo "${ECHO_T}Checking sound device backend... null sound" >&6 10239 10125 ;; 10240 10126 *) 10241 10127 ac_pjmedia_snd=pa_unix 10242 10128 if test "${ac_cv_header_alsa_version_h+set}" = set; then 10243 {echo "$as_me:$LINENO: checking for alsa/version.h" >&510244 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6 ; }10129 echo "$as_me:$LINENO: checking for alsa/version.h" >&5 10130 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6 10245 10131 if test "${ac_cv_header_alsa_version_h+set}" = set; then 10246 10132 echo $ECHO_N "(cached) $ECHO_C" >&6 10247 10133 fi 10248 {echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&510249 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6 ; }10134 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 10135 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6 10250 10136 else 10251 10137 # Is the header compilable? 10252 {echo "$as_me:$LINENO: checking alsa/version.h usability" >&510253 echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6 ; }10138 echo "$as_me:$LINENO: checking alsa/version.h usability" >&5 10139 echo $ECHO_N "checking alsa/version.h usability... $ECHO_C" >&6 10254 10140 cat >conftest.$ac_ext <<_ACEOF 10255 10141 /* confdefs.h. */ … … 10262 10148 _ACEOF 10263 10149 rm -f conftest.$ac_objext 10264 if { (ac_try="$ac_compile" 10265 case "(($ac_try" in 10266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10267 *) ac_try_echo=$ac_try;; 10268 esac 10269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10270 (eval "$ac_compile") 2>conftest.er1 10150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10151 (eval $ac_compile) 2>conftest.er1 10271 10152 ac_status=$? 10272 10153 grep -v '^ *+' conftest.er1 >conftest.err … … 10274 10155 cat conftest.err >&5 10275 10156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10276 (exit $ac_status); } && { 10277 test -z "$ac_c_werror_flag" || 10278 test ! -s conftest.err 10279 } && test -s conftest.$ac_objext; then 10157 (exit $ac_status); } && 10158 { ac_try='test -z "$ac_c_werror_flag" 10159 || test ! -s conftest.err' 10160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10161 (eval $ac_try) 2>&5 10162 ac_status=$? 10163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10164 (exit $ac_status); }; } && 10165 { ac_try='test -s conftest.$ac_objext' 10166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10167 (eval $ac_try) 2>&5 10168 ac_status=$? 10169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10170 (exit $ac_status); }; }; then 10280 10171 ac_header_compiler=yes 10281 10172 else … … 10283 10174 sed 's/^/| /' conftest.$ac_ext >&5 10284 10175 10285 ac_header_compiler=no 10286 fi 10287 10288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10289 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10290 echo "${ECHO_T}$ac_header_compiler" >&6; } 10176 ac_header_compiler=no 10177 fi 10178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10179 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10180 echo "${ECHO_T}$ac_header_compiler" >&6 10291 10181 10292 10182 # Is the header present? 10293 {echo "$as_me:$LINENO: checking alsa/version.h presence" >&510294 echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6 ; }10183 echo "$as_me:$LINENO: checking alsa/version.h presence" >&5 10184 echo $ECHO_N "checking alsa/version.h presence... $ECHO_C" >&6 10295 10185 cat >conftest.$ac_ext <<_ACEOF 10296 10186 /* confdefs.h. */ … … 10301 10191 #include <alsa/version.h> 10302 10192 _ACEOF 10303 if { (ac_try="$ac_cpp conftest.$ac_ext" 10304 case "(($ac_try" in 10305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10306 *) ac_try_echo=$ac_try;; 10307 esac 10308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10309 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10193 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 10194 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10310 10195 ac_status=$? 10311 10196 grep -v '^ *+' conftest.er1 >conftest.err … … 10313 10198 cat conftest.err >&5 10314 10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10315 (exit $ac_status); } >/dev/null && { 10316 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10317 test ! -s conftest.err 10318 }; then 10200 (exit $ac_status); } >/dev/null; then 10201 if test -s conftest.err; then 10202 ac_cpp_err=$ac_c_preproc_warn_flag 10203 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 10204 else 10205 ac_cpp_err= 10206 fi 10207 else 10208 ac_cpp_err=yes 10209 fi 10210 if test -z "$ac_cpp_err"; then 10319 10211 ac_header_preproc=yes 10320 10212 else … … 10324 10216 ac_header_preproc=no 10325 10217 fi 10326 10327 10218 rm -f conftest.err conftest.$ac_ext 10328 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&510329 echo "${ECHO_T}$ac_header_preproc" >&6 ; }10219 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10220 echo "${ECHO_T}$ac_header_preproc" >&6 10330 10221 10331 10222 # So? What about this header? … … 10351 10242 { echo "$as_me:$LINENO: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&5 10352 10243 echo "$as_me: WARNING: alsa/version.h: in the future, the compiler will take precedence" >&2;} 10353 10244 ( 10245 cat <<\_ASBOX 10246 ## ------------------------------------ ## 10247 ## Report this to the pjproject lists. ## 10248 ## ------------------------------------ ## 10249 _ASBOX 10250 ) | 10251 sed "s/^/$as_me: WARNING: /" >&2 10354 10252 ;; 10355 10253 esac 10356 {echo "$as_me:$LINENO: checking for alsa/version.h" >&510357 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6 ; }10254 echo "$as_me:$LINENO: checking for alsa/version.h" >&5 10255 echo $ECHO_N "checking for alsa/version.h... $ECHO_C" >&6 10358 10256 if test "${ac_cv_header_alsa_version_h+set}" = set; then 10359 10257 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 10361 10259 ac_cv_header_alsa_version_h=$ac_header_preproc 10362 10260 fi 10363 {echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&510364 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6 ; }10261 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_version_h" >&5 10262 echo "${ECHO_T}$ac_cv_header_alsa_version_h" >&6 10365 10263 10366 10264 fi … … 10376 10274 10377 10275 10378 {echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&510379 echo "${ECHO_T}Checking sound device backend... unix" >&6 ; }10276 echo "$as_me:$LINENO: result: Checking sound device backend... unix" >&5 10277 echo "${ECHO_T}Checking sound device backend... unix" >&6 10380 10278 10381 10279 ac_pa_use_oss=1 10382 10280 10383 # Check whether --enable-oss was given.10281 # Check whether --enable-oss or --disable-oss was given. 10384 10282 if test "${enable_oss+set}" = set; then 10385 enableval=$enable_oss; 10283 enableval="$enable_oss" 10284 10386 10285 if test "$enable_oss" = "no"; then 10387 10286 ac_pa_use_oss=0 10388 {echo "$as_me:$LINENO: result: Checking if OSS audio is disabled... yes" >&510389 echo "${ECHO_T}Checking if OSS audio is disabled... yes" >&6 ; }10287 echo "$as_me:$LINENO: result: Checking if OSS audio is disabled... yes" >&5 10288 echo "${ECHO_T}Checking if OSS audio is disabled... yes" >&6 10390 10289 fi 10391 10290 10392 fi 10393 10291 fi; 10394 10292 ;; 10395 10293 esac 10396 10294 fi 10397 10295 10398 # Check whether --enable-ext_sound was given.10296 # Check whether --enable-ext_sound or --disable-ext_sound was given. 10399 10297 if test "${enable_ext_sound+set}" = set; then 10400 enableval=$enable_ext_sound; if test "$enable_ext_sound" = "yes"; then 10298 enableval="$enable_ext_sound" 10299 if test "$enable_ext_sound" = "yes"; then 10401 10300 ac_pjmedia_snd=external 10402 {echo "$as_me:$LINENO: result: Checking if external sound is set... yes" >&510403 echo "${ECHO_T}Checking if external sound is set... yes" >&6 ; }10301 echo "$as_me:$LINENO: result: Checking if external sound is set... yes" >&5 10302 echo "${ECHO_T}Checking if external sound is set... yes" >&6 10404 10303 fi 10405 10304 10406 fi 10407 10408 10409 10410 # Check whether --enable-small-filter was given. 10305 fi; 10306 10307 10308 # Check whether --enable-small-filter or --disable-small-filter was given. 10411 10309 if test "${enable_small_filter+set}" = set; then 10412 enableval=$enable_small_filter; if test "$enable_small_filter" = "no"; then 10310 enableval="$enable_small_filter" 10311 if test "$enable_small_filter" = "no"; then 10413 10312 ac_no_small_filter='-DPJMEDIA_HAS_SMALL_FILTER=0' 10414 {echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&510415 echo "${ECHO_T}Checking if small filter is disabled... yes" >&6 ; }10313 echo "$as_me:$LINENO: result: Checking if small filter is disabled... yes" >&5 10314 echo "${ECHO_T}Checking if small filter is disabled... yes" >&6 10416 10315 fi 10417 10316 else 10418 { echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 10419 echo "${ECHO_T}Checking if small filter is disabled... no" >&6; } 10420 fi 10421 10422 10423 10424 # Check whether --enable-large-filter was given. 10317 echo "$as_me:$LINENO: result: Checking if small filter is disabled... no" >&5 10318 echo "${ECHO_T}Checking if small filter is disabled... no" >&6 10319 fi; 10320 10321 10322 # Check whether --enable-large-filter or --disable-large-filter was given. 10425 10323 if test "${enable_large_filter+set}" = set; then 10426 enableval=$enable_large_filter; if test "$enable_large_filter" = "no"; then 10324 enableval="$enable_large_filter" 10325 if test "$enable_large_filter" = "no"; then 10427 10326 ac_no_large_filter='-DPJMEDIA_HAS_LARGE_FILTER=0' 10428 {echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&510429 echo "${ECHO_T}Checking if large filter is disabled... yes" >&6 ; }10327 echo "$as_me:$LINENO: result: Checking if large filter is disabled... yes" >&5 10328 echo "${ECHO_T}Checking if large filter is disabled... yes" >&6 10430 10329 fi 10431 10330 else 10432 { echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 10433 echo "${ECHO_T}Checking if large filter is disabled... no" >&6; } 10434 fi 10435 10436 10437 10438 # Check whether --enable-speex-aec was given. 10331 echo "$as_me:$LINENO: result: Checking if large filter is disabled... no" >&5 10332 echo "${ECHO_T}Checking if large filter is disabled... no" >&6 10333 fi; 10334 10335 10336 # Check whether --enable-speex-aec or --disable-speex-aec was given. 10439 10337 if test "${enable_speex_aec+set}" = set; then 10440 enableval=$enable_speex_aec; if test "$enable_speex_aec" = "no"; then 10338 enableval="$enable_speex_aec" 10339 if test "$enable_speex_aec" = "no"; then 10441 10340 ac_no_speex_aec='-DPJMEDIA_HAS_SPEEX_AEC=0' 10442 {echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&510443 echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6 ; }10341 echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...yes" >&5 10342 echo "${ECHO_T}Checking if Speex AEC is disabled...yes" >&6 10444 10343 fi 10445 10344 else 10446 { echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 10447 echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6; } 10448 fi 10449 10450 10451 10452 # Check whether --enable-g711-codec was given. 10345 echo "$as_me:$LINENO: result: Checking if Speex AEC is disabled...no" >&5 10346 echo "${ECHO_T}Checking if Speex AEC is disabled...no" >&6 10347 fi; 10348 10349 10350 # Check whether --enable-g711-codec or --disable-g711-codec was given. 10453 10351 if test "${enable_g711_codec+set}" = set; then 10454 enableval=$enable_g711_codec; if test "$enable_g711_codec" = "no"; then 10352 enableval="$enable_g711_codec" 10353 if test "$enable_g711_codec" = "no"; then 10455 10354 ac_no_g711_codec=1 10456 10355 cat >>confdefs.h <<\_ACEOF … … 10458 10357 _ACEOF 10459 10358 10460 {echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&510461 echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6 ; }10359 echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...yes" >&5 10360 echo "${ECHO_T}Checking if G.711 codec is disabled...yes" >&6 10462 10361 fi 10463 10362 else 10464 { echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 10465 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6; } 10466 fi 10467 10468 10469 10470 10471 # Check whether --enable-l16-codec was given. 10363 echo "$as_me:$LINENO: result: Checking if G.711 codec is disabled...no" >&5 10364 echo "${ECHO_T}Checking if G.711 codec is disabled...no" >&6 10365 fi; 10366 10367 10368 10369 # Check whether --enable-l16-codec or --disable-l16-codec was given. 10472 10370 if test "${enable_l16_codec+set}" = set; then 10473 enableval=$enable_l16_codec; if test "$enable_l16_codec" = "no"; then 10371 enableval="$enable_l16_codec" 10372 if test "$enable_l16_codec" = "no"; then 10474 10373 ac_no_l16_codec=1 10475 10374 cat >>confdefs.h <<\_ACEOF … … 10477 10376 _ACEOF 10478 10377 10479 {echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&510480 echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6 ; }10378 echo "$as_me:$LINENO: result: Checking if L16 codecs are disabled...yes" >&5 10379 echo "${ECHO_T}Checking if L16 codecs are disabled...yes" >&6 10481 10380 fi 10482 10381 else 10483 { echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&5 10484 echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6; } 10485 fi 10486 10487 10488 10489 10490 # Check whether --enable-gsm-codec was given. 10382 echo "$as_me:$LINENO: result: Checking if L16 codec is disabled...no" >&5 10383 echo "${ECHO_T}Checking if L16 codec is disabled...no" >&6 10384 fi; 10385 10386 10387 10388 # Check whether --enable-gsm-codec or --disable-gsm-codec was given. 10491 10389 if test "${enable_gsm_codec+set}" = set; then 10492 enableval=$enable_gsm_codec; if test "$enable_gsm_codec" = "no"; then 10390 enableval="$enable_gsm_codec" 10391 if test "$enable_gsm_codec" = "no"; then 10493 10392 ac_no_gsm_codec=1 10494 10393 cat >>confdefs.h <<\_ACEOF … … 10496 10395 _ACEOF 10497 10396 10498 {echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&510499 echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6 ; }10397 echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...yes" >&5 10398 echo "${ECHO_T}Checking if GSM codec is disabled...yes" >&6 10500 10399 fi 10501 10400 else 10502 { echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 10503 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6; } 10504 fi 10505 10506 10507 10508 # Check whether --enable-g722-codec was given. 10401 echo "$as_me:$LINENO: result: Checking if GSM codec is disabled...no" >&5 10402 echo "${ECHO_T}Checking if GSM codec is disabled...no" >&6 10403 fi; 10404 10405 10406 # Check whether --enable-g722-codec or --disable-g722-codec was given. 10509 10407 if test "${enable_g722_codec+set}" = set; then 10510 enableval=$enable_g722_codec; if test "$enable_g722_codec" = "no"; then 10408 enableval="$enable_g722_codec" 10409 if test "$enable_g722_codec" = "no"; then 10511 10410 ac_no_g722_codec=1 10512 10411 cat >>confdefs.h <<\_ACEOF … … 10514 10413 _ACEOF 10515 10414 10516 {echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&510517 echo "${ECHO_T}Checking if G.722 codec is disabled...yes" >&6 ; }10415 echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...yes" >&5 10416 echo "${ECHO_T}Checking if G.722 codec is disabled...yes" >&6 10518 10417 fi 10519 10418 else 10520 { echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&5 10521 echo "${ECHO_T}Checking if G.722 codec is disabled...no" >&6; } 10522 fi 10523 10524 10525 10526 # Check whether --enable-speex-codec was given. 10419 echo "$as_me:$LINENO: result: Checking if G.722 codec is disabled...no" >&5 10420 echo "${ECHO_T}Checking if G.722 codec is disabled...no" >&6 10421 fi; 10422 10423 10424 # Check whether --enable-speex-codec or --disable-speex-codec was given. 10527 10425 if test "${enable_speex_codec+set}" = set; then 10528 enableval=$enable_speex_codec; if test "$enable_speex_codec" = "no"; then 10426 enableval="$enable_speex_codec" 10427 if test "$enable_speex_codec" = "no"; then 10529 10428 ac_no_speex_codec=1 10530 10429 cat >>confdefs.h <<\_ACEOF … … 10532 10431 _ACEOF 10533 10432 10534 {echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&510535 echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6 ; }10433 echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...yes" >&5 10434 echo "${ECHO_T}Checking if Speex codec is disabled...yes" >&6 10536 10435 fi 10537 10436 else 10538 { echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 10539 echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6; } 10540 fi 10541 10542 10543 10544 # Check whether --enable-ilbc-codec was given. 10437 echo "$as_me:$LINENO: result: Checking if Speex codec is disabled...no" >&5 10438 echo "${ECHO_T}Checking if Speex codec is disabled...no" >&6 10439 fi; 10440 10441 10442 # Check whether --enable-ilbc-codec or --disable-ilbc-codec was given. 10545 10443 if test "${enable_ilbc_codec+set}" = set; then 10546 enableval=$enable_ilbc_codec; if test "$enable_ilbc_codec" = "no"; then 10444 enableval="$enable_ilbc_codec" 10445 if test "$enable_ilbc_codec" = "no"; then 10547 10446 ac_no_ilbc_codec=1 10548 10447 cat >>confdefs.h <<\_ACEOF … … 10550 10449 _ACEOF 10551 10450 10552 {echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&510553 echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6 ; }10451 echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...yes" >&5 10452 echo "${ECHO_T}Checking if iLBC codec is disabled...yes" >&6 10554 10453 fi 10555 10454 else 10556 { echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 10557 echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6; } 10558 fi 10559 10560 10561 # Check whether --enable-libsamplerate was given. 10455 echo "$as_me:$LINENO: result: Checking if iLBC codec is disabled...no" >&5 10456 echo "${ECHO_T}Checking if iLBC codec is disabled...no" >&6 10457 fi; 10458 10459 # Check whether --enable-libsamplerate or --disable-libsamplerate was given. 10562 10460 if test "${enable_libsamplerate+set}" = set; then 10563 enableval=$enable_libsamplerate; 10564 { echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5 10565 echo $ECHO_N "checking for src_new in -lsamplerate... $ECHO_C" >&6; } 10461 enableval="$enable_libsamplerate" 10462 10463 echo "$as_me:$LINENO: checking for src_new in -lsamplerate" >&5 10464 echo $ECHO_N "checking for src_new in -lsamplerate... $ECHO_C" >&6 10566 10465 if test "${ac_cv_lib_samplerate_src_new+set}" = set; then 10567 10466 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 10576 10475 /* end confdefs.h. */ 10577 10476 10578 /* Override any GCC internal prototype to avoid an error. 10579 Use char because int might match the return type of a GCC 10580 builtin and then its argument prototype would still apply. */ 10477 /* Override any gcc2 internal prototype to avoid an error. */ 10581 10478 #ifdef __cplusplus 10582 10479 extern "C" 10583 10480 #endif 10481 /* We use char because int might match the return type of a gcc2 10482 builtin and then its argument prototype would still apply. */ 10584 10483 char src_new (); 10585 10484 int 10586 10485 main () 10587 10486 { 10588 returnsrc_new ();10487 src_new (); 10589 10488 ; 10590 10489 return 0; … … 10592 10491 _ACEOF 10593 10492 rm -f conftest.$ac_objext conftest$ac_exeext 10594 if { (ac_try="$ac_link" 10595 case "(($ac_try" in 10596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10597 *) ac_try_echo=$ac_try;; 10598 esac 10599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10600 (eval "$ac_link") 2>conftest.er1 10493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10494 (eval $ac_link) 2>conftest.er1 10601 10495 ac_status=$? 10602 10496 grep -v '^ *+' conftest.er1 >conftest.err … … 10604 10498 cat conftest.err >&5 10605 10499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10606 (exit $ac_status); } && { 10607 test -z "$ac_c_werror_flag" || 10608 test ! -s conftest.err 10609 } && test -s conftest$ac_exeext && 10610 $as_test_x conftest$ac_exeext; then 10500 (exit $ac_status); } && 10501 { ac_try='test -z "$ac_c_werror_flag" 10502 || test ! -s conftest.err' 10503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10504 (eval $ac_try) 2>&5 10505 ac_status=$? 10506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10507 (exit $ac_status); }; } && 10508 { ac_try='test -s conftest$ac_exeext' 10509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10510 (eval $ac_try) 2>&5 10511 ac_status=$? 10512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10513 (exit $ac_status); }; }; then 10611 10514 ac_cv_lib_samplerate_src_new=yes 10612 10515 else … … 10614 10517 sed 's/^/| /' conftest.$ac_ext >&5 10615 10518 10616 ac_cv_lib_samplerate_src_new=no 10617 fi 10618 10619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10519 ac_cv_lib_samplerate_src_new=no 10520 fi 10521 rm -f conftest.err conftest.$ac_objext \ 10620 10522 conftest$ac_exeext conftest.$ac_ext 10621 10523 LIBS=$ac_check_lib_save_LIBS 10622 10524 fi 10623 {echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&510624 echo "${ECHO_T}$ac_cv_lib_samplerate_src_new" >&6 ; }10525 echo "$as_me:$LINENO: result: $ac_cv_lib_samplerate_src_new" >&5 10526 echo "${ECHO_T}$ac_cv_lib_samplerate_src_new" >&6 10625 10527 if test $ac_cv_lib_samplerate_src_new = yes; then 10626 10528 cat >>confdefs.h <<_ACEOF … … 10633 10535 10634 10536 else 10635 { echo "$as_me:$LINENO: result: Skipping libsamplerate detection" >&5 10636 echo "${ECHO_T}Skipping libsamplerate detection" >&6; } 10637 10638 fi 10639 10640 10641 10642 # Check whether --enable-ipp was given. 10537 echo "$as_me:$LINENO: result: Skipping libsamplerate detection" >&5 10538 echo "${ECHO_T}Skipping libsamplerate detection" >&6 10539 10540 fi; 10541 10542 10543 # Check whether --enable-ipp or --disable-ipp was given. 10643 10544 if test "${enable_ipp+set}" = set; then 10644 enableval=$enable_ipp; 10545 enableval="$enable_ipp" 10546 10645 10547 else 10646 10548 enable_ipp=no 10647 10549 10648 fi 10649 10650 10651 # Check whether --enable-ipp was given. 10550 fi; 10551 10552 # Check whether --enable-ipp or --disable-ipp was given. 10652 10553 if test "${enable_ipp+set}" = set; then 10653 enableval=$enable_ipp; 10554 enableval="$enable_ipp" 10555 10654 10556 else 10655 10557 with_ipp=no 10656 10558 10657 fi 10658 10659 10660 # Check whether --enable-ipp-samples was given. 10559 fi; 10560 10561 # Check whether --enable-ipp-samples or --disable-ipp-samples was given. 10661 10562 if test "${enable_ipp_samples+set}" = set; then 10662 enableval=$enable_ipp_samples; 10563 enableval="$enable_ipp_samples" 10564 10663 10565 else 10664 10566 with_ipp_samples=no 10665 10567 10666 fi 10667 10568 fi; 10668 10569 10669 10570 if test "x$enable_ipp" != "xno"; then 10670 {echo "$as_me:$LINENO: checking Intel IPP location" >&510671 echo $ECHO_N "checking Intel IPP location... $ECHO_C" >&6 ; }10571 echo "$as_me:$LINENO: checking Intel IPP location" >&5 10572 echo $ECHO_N "checking Intel IPP location... $ECHO_C" >&6 10672 10573 10673 10574 if test "x$with_ipp" != "xno" -a "x$with_ipp" != "x"; then 10674 {echo "$as_me:$LINENO: result: $with_ipp" >&510675 echo "${ECHO_T}$with_ipp" >&6 ; }10575 echo "$as_me:$LINENO: result: $with_ipp" >&5 10576 echo "${ECHO_T}$with_ipp" >&6 10676 10577 IPPROOT=$with_ipp 10677 10578 elif test "x$IPPROOT" = "x"; then 10678 10579 if test -d /opt/intel/ipp; then 10679 10580 IPPROOT=`ls -d /opt/intel/ipp/*/* | head -1` 10680 {echo "$as_me:$LINENO: result: autodetected in $IPPROOT" >&510681 echo "${ECHO_T}autodetected in $IPPROOT" >&6 ; }10581 echo "$as_me:$LINENO: result: autodetected in $IPPROOT" >&5 10582 echo "${ECHO_T}autodetected in $IPPROOT" >&6 10682 10583 fi 10683 10584 else 10684 {echo "$as_me:$LINENO: result: $IPPROOT" >&510685 echo "${ECHO_T}$IPPROOT" >&6 ; }10585 echo "$as_me:$LINENO: result: $IPPROOT" >&5 10586 echo "${ECHO_T}$IPPROOT" >&6 10686 10587 fi 10687 10588 … … 10718 10619 10719 10620 10720 {echo "$as_me:$LINENO: checking Intel IPP usability" >&510721 echo $ECHO_N "checking Intel IPP usability... $ECHO_C" >&6 ; }10621 echo "$as_me:$LINENO: checking Intel IPP usability" >&5 10622 echo $ECHO_N "checking Intel IPP usability... $ECHO_C" >&6 10722 10623 cat >conftest.$ac_ext <<_ACEOF 10723 10624 /* confdefs.h. */ … … 10737 10638 _ACEOF 10738 10639 rm -f conftest.$ac_objext conftest$ac_exeext 10739 if { (ac_try="$ac_link" 10740 case "(($ac_try" in 10741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10742 *) ac_try_echo=$ac_try;; 10743 esac 10744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10745 (eval "$ac_link") 2>conftest.er1 10640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10641 (eval $ac_link) 2>conftest.er1 10746 10642 ac_status=$? 10747 10643 grep -v '^ *+' conftest.er1 >conftest.err … … 10749 10645 cat conftest.err >&5 10750 10646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10751 (exit $ac_status); } && { 10752 test -z "$ac_c_werror_flag" || 10753 test ! -s conftest.err 10754 } && test -s conftest$ac_exeext && 10755 $as_test_x conftest$ac_exeext; then 10756 { echo "$as_me:$LINENO: result: ok" >&5 10757 echo "${ECHO_T}ok" >&6; } 10647 (exit $ac_status); } && 10648 { ac_try='test -z "$ac_c_werror_flag" 10649 || test ! -s conftest.err' 10650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10651 (eval $ac_try) 2>&5 10652 ac_status=$? 10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10654 (exit $ac_status); }; } && 10655 { ac_try='test -s conftest$ac_exeext' 10656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10657 (eval $ac_try) 2>&5 10658 ac_status=$? 10659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10660 (exit $ac_status); }; }; then 10661 echo "$as_me:$LINENO: result: ok" >&5 10662 echo "${ECHO_T}ok" >&6 10758 10663 else 10759 10664 echo "$as_me: failed program was:" >&5 10760 10665 sed 's/^/| /' conftest.$ac_ext >&5 10761 10666 10762 10667 { { echo "$as_me:$LINENO: error: failed 10763 10668 See \`config.log' for more details." >&5 10764 10669 echo "$as_me: error: failed … … 10766 10671 { (exit 1); exit 1; }; } 10767 10672 fi 10768 10769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10673 rm -f conftest.err conftest.$ac_objext \ 10770 10674 conftest$ac_exeext conftest.$ac_ext 10771 10675 … … 10775 10679 fi 10776 10680 10777 {echo "$as_me:$LINENO: checking Intel IPP samples location" >&510778 echo $ECHO_N "checking Intel IPP samples location... $ECHO_C" >&6 ; }10681 echo "$as_me:$LINENO: checking Intel IPP samples location" >&5 10682 echo $ECHO_N "checking Intel IPP samples location... $ECHO_C" >&6 10779 10683 10780 10684 if test "x$with_ipp_samples" != "xno" -a "x$with_ipp_samples" != "x"; then 10781 {echo "$as_me:$LINENO: result: $with_ipp_samples" >&510782 echo "${ECHO_T}$with_ipp_samples" >&6 ; }10685 echo "$as_me:$LINENO: result: $with_ipp_samples" >&5 10686 echo "${ECHO_T}$with_ipp_samples" >&6 10783 10687 IPPSAMPLES=$with_ipp_samples 10784 10688 elif test "x$IPPSAMPLES" = "x"; then 10785 10689 if test -d /opt/intel/ipp-samples; then 10786 10690 IPPSAMPLES=/opt/intel/ipp-samples 10787 {echo "$as_me:$LINENO: result: autodetected in $IPPSAMPLES" >&510788 echo "${ECHO_T}autodetected in $IPPSAMPLES" >&6 ; }10691 echo "$as_me:$LINENO: result: autodetected in $IPPSAMPLES" >&5 10692 echo "${ECHO_T}autodetected in $IPPSAMPLES" >&6 10789 10693 fi 10790 10694 else 10791 {echo "$as_me:$LINENO: result: $IPPSAMPLES" >&510792 echo "${ECHO_T}$IPPSAMPLES" >&6 ; }10695 echo "$as_me:$LINENO: result: $IPPSAMPLES" >&5 10696 echo "${ECHO_T}$IPPSAMPLES" >&6 10793 10697 fi 10794 10698 … … 10810 10714 10811 10715 # Guess the libusc.a build location 10812 {echo "$as_me:$LINENO: checking Intel IPP USC build location" >&510813 echo $ECHO_N "checking Intel IPP USC build location... $ECHO_C" >&6 ; }10716 echo "$as_me:$LINENO: checking Intel IPP USC build location" >&5 10717 echo $ECHO_N "checking Intel IPP USC build location... $ECHO_C" >&6 10814 10718 IPPSAMPLESLIB=`ls -d $IPPSAMPLES/speech-codecs/bin/*gcc*/lib | head -1` 10815 10719 if test ! -d $IPPSAMPLESLIB; then … … 10827 10731 { (exit 1); exit 1; }; } 10828 10732 fi 10829 {echo "$as_me:$LINENO: result: $IPPSAMPLESLIB" >&510830 echo "${ECHO_T}$IPPSAMPLESLIB" >&6 ; }10733 echo "$as_me:$LINENO: result: $IPPSAMPLESLIB" >&5 10734 echo "${ECHO_T}$IPPSAMPLESLIB" >&6 10831 10735 10832 10736 SAVED_CFLAGS="$CFLAGS" … … 10839 10743 LIBS="-lusc $LIBS" 10840 10744 10841 {echo "$as_me:$LINENO: checking Intel IPP USC usability" >&510842 echo $ECHO_N "checking Intel IPP USC usability... $ECHO_C" >&6 ; }10745 echo "$as_me:$LINENO: checking Intel IPP USC usability" >&5 10746 echo $ECHO_N "checking Intel IPP USC usability... $ECHO_C" >&6 10843 10747 cat >conftest.$ac_ext <<_ACEOF 10844 10748 /* confdefs.h. */ … … 10858 10762 _ACEOF 10859 10763 rm -f conftest.$ac_objext conftest$ac_exeext 10860 if { (ac_try="$ac_link" 10861 case "(($ac_try" in 10862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10863 *) ac_try_echo=$ac_try;; 10864 esac 10865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10866 (eval "$ac_link") 2>conftest.er1 10764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 10765 (eval $ac_link) 2>conftest.er1 10867 10766 ac_status=$? 10868 10767 grep -v '^ *+' conftest.er1 >conftest.err … … 10870 10769 cat conftest.err >&5 10871 10770 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10872 (exit $ac_status); } && { 10873 test -z "$ac_c_werror_flag" || 10874 test ! -s conftest.err 10875 } && test -s conftest$ac_exeext && 10876 $as_test_x conftest$ac_exeext; then 10877 { echo "$as_me:$LINENO: result: ok" >&5 10878 echo "${ECHO_T}ok" >&6; } 10771 (exit $ac_status); } && 10772 { ac_try='test -z "$ac_c_werror_flag" 10773 || test ! -s conftest.err' 10774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10775 (eval $ac_try) 2>&5 10776 ac_status=$? 10777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10778 (exit $ac_status); }; } && 10779 { ac_try='test -s conftest$ac_exeext' 10780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10781 (eval $ac_try) 2>&5 10782 ac_status=$? 10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10784 (exit $ac_status); }; }; then 10785 echo "$as_me:$LINENO: result: ok" >&5 10786 echo "${ECHO_T}ok" >&6 10879 10787 else 10880 10788 echo "$as_me: failed program was:" >&5 10881 10789 sed 's/^/| /' conftest.$ac_ext >&5 10882 10790 10883 10791 { { echo "$as_me:$LINENO: error: failed 10884 10792 See \`config.log' for more details." >&5 10885 10793 echo "$as_me: error: failed … … 10887 10795 { (exit 1); exit 1; }; } 10888 10796 fi 10889 10890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10797 rm -f conftest.err conftest.$ac_objext \ 10891 10798 conftest$ac_exeext conftest.$ac_ext 10892 10799 … … 10905 10812 export IPP_LIBS=$IPP_LIBS" 10906 10813 else 10907 {echo "$as_me:$LINENO: result: Skipping Intel IPP settings (not wanted)" >&510908 echo "${ECHO_T}Skipping Intel IPP settings (not wanted)" >&6 ; }10909 fi 10910 10911 10912 10913 10914 # Check whether --enable-ssl was given.10814 echo "$as_me:$LINENO: result: Skipping Intel IPP settings (not wanted)" >&5 10815 echo "${ECHO_T}Skipping Intel IPP settings (not wanted)" >&6 10816 fi 10817 10818 10819 10820 10821 # Check whether --enable-ssl or --disable-ssl was given. 10915 10822 if test "${enable_ssl+set}" = set; then 10916 enableval=$enable_ssl; 10823 enableval="$enable_ssl" 10824 10917 10825 if test "$enable_ssl" = "no"; then 10918 10826 ac_no_ssl=1 10919 {echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&510920 echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6 ; }10827 echo "$as_me:$LINENO: result: Checking if SSL support is disabled... yes" >&5 10828 echo "${ECHO_T}Checking if SSL support is disabled... yes" >&6 10921 10829 fi 10922 10830 10923 10831 else 10924 10832 10925 {echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&510926 echo "${ECHO_T}checking for OpenSSL installations.." >&6 ; }10833 echo "$as_me:$LINENO: result: checking for OpenSSL installations.." >&5 10834 echo "${ECHO_T}checking for OpenSSL installations.." >&6 10927 10835 10928 10836 10929 10837 10930 10838 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 10931 {echo "$as_me:$LINENO: checking for openssl/ssl.h" >&510932 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6 ; }10839 echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 10840 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6 10933 10841 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 10934 10842 echo $ECHO_N "(cached) $ECHO_C" >&6 10935 10843 fi 10936 {echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&510937 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6 ; }10844 echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 10845 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6 10938 10846 else 10939 10847 # Is the header compilable? 10940 {echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&510941 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6 ; }10848 echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5 10849 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6 10942 10850 cat >conftest.$ac_ext <<_ACEOF 10943 10851 /* confdefs.h. */ … … 10950 10858 _ACEOF 10951 10859 rm -f conftest.$ac_objext 10952 if { (ac_try="$ac_compile" 10953 case "(($ac_try" in 10954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10955 *) ac_try_echo=$ac_try;; 10956 esac 10957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10958 (eval "$ac_compile") 2>conftest.er1 10860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 10861 (eval $ac_compile) 2>conftest.er1 10959 10862 ac_status=$? 10960 10863 grep -v '^ *+' conftest.er1 >conftest.err … … 10962 10865 cat conftest.err >&5 10963 10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10964 (exit $ac_status); } && { 10965 test -z "$ac_c_werror_flag" || 10966 test ! -s conftest.err 10967 } && test -s conftest.$ac_objext; then 10867 (exit $ac_status); } && 10868 { ac_try='test -z "$ac_c_werror_flag" 10869 || test ! -s conftest.err' 10870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10871 (eval $ac_try) 2>&5 10872 ac_status=$? 10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10874 (exit $ac_status); }; } && 10875 { ac_try='test -s conftest.$ac_objext' 10876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 10877 (eval $ac_try) 2>&5 10878 ac_status=$? 10879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10880 (exit $ac_status); }; }; then 10968 10881 ac_header_compiler=yes 10969 10882 else … … 10971 10884 sed 's/^/| /' conftest.$ac_ext >&5 10972 10885 10973 ac_header_compiler=no 10974 fi 10975 10976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10977 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10978 echo "${ECHO_T}$ac_header_compiler" >&6; } 10886 ac_header_compiler=no 10887 fi 10888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 10889 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10890 echo "${ECHO_T}$ac_header_compiler" >&6 10979 10891 10980 10892 # Is the header present? 10981 {echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&510982 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6 ; }10893 echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5 10894 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6 10983 10895 cat >conftest.$ac_ext <<_ACEOF 10984 10896 /* confdefs.h. */ … … 10989 10901 #include <openssl/ssl.h> 10990 10902 _ACEOF 10991 if { (ac_try="$ac_cpp conftest.$ac_ext" 10992 case "(($ac_try" in 10993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10994 *) ac_try_echo=$ac_try;; 10995 esac 10996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10997 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10903 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 10904 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 10998 10905 ac_status=$? 10999 10906 grep -v '^ *+' conftest.er1 >conftest.err … … 11001 10908 cat conftest.err >&5 11002 10909 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11003 (exit $ac_status); } >/dev/null && { 11004 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11005 test ! -s conftest.err 11006 }; then 10910 (exit $ac_status); } >/dev/null; then 10911 if test -s conftest.err; then 10912 ac_cpp_err=$ac_c_preproc_warn_flag 10913 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 10914 else 10915 ac_cpp_err= 10916 fi 10917 else 10918 ac_cpp_err=yes 10919 fi 10920 if test -z "$ac_cpp_err"; then 11007 10921 ac_header_preproc=yes 11008 10922 else … … 11012 10926 ac_header_preproc=no 11013 10927 fi 11014 11015 10928 rm -f conftest.err conftest.$ac_ext 11016 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&511017 echo "${ECHO_T}$ac_header_preproc" >&6 ; }10929 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10930 echo "${ECHO_T}$ac_header_preproc" >&6 11018 10931 11019 10932 # So? What about this header? … … 11039 10952 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5 11040 10953 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;} 11041 10954 ( 10955 cat <<\_ASBOX 10956 ## ------------------------------------ ## 10957 ## Report this to the pjproject lists. ## 10958 ## ------------------------------------ ## 10959 _ASBOX 10960 ) | 10961 sed "s/^/$as_me: WARNING: /" >&2 11042 10962 ;; 11043 10963 esac 11044 {echo "$as_me:$LINENO: checking for openssl/ssl.h" >&511045 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6 ; }10964 echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5 10965 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6 11046 10966 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then 11047 10967 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 11049 10969 ac_cv_header_openssl_ssl_h=$ac_header_preproc 11050 10970 fi 11051 {echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&511052 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6 ; }10971 echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5 10972 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6 11053 10973 11054 10974 fi … … 11058 10978 11059 10979 11060 {echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&511061 echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6 ; }10980 echo "$as_me:$LINENO: checking for SSL_library_init in -lssl" >&5 10981 echo $ECHO_N "checking for SSL_library_init in -lssl... $ECHO_C" >&6 11062 10982 if test "${ac_cv_lib_ssl_SSL_library_init+set}" = set; then 11063 10983 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 11072 10992 /* end confdefs.h. */ 11073 10993 11074 /* Override any GCC internal prototype to avoid an error. 11075 Use char because int might match the return type of a GCC 11076 builtin and then its argument prototype would still apply. */ 10994 /* Override any gcc2 internal prototype to avoid an error. */ 11077 10995 #ifdef __cplusplus 11078 10996 extern "C" 11079 10997 #endif 10998 /* We use char because int might match the return type of a gcc2 10999 builtin and then its argument prototype would still apply. */ 11080 11000 char SSL_library_init (); 11081 11001 int 11082 11002 main () 11083 11003 { 11084 returnSSL_library_init ();11004 SSL_library_init (); 11085 11005 ; 11086 11006 return 0; … … 11088 11008 _ACEOF 11089 11009 rm -f conftest.$ac_objext conftest$ac_exeext 11090 if { (ac_try="$ac_link" 11091 case "(($ac_try" in 11092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11093 *) ac_try_echo=$ac_try;; 11094 esac 11095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11096 (eval "$ac_link") 2>conftest.er1 11010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11011 (eval $ac_link) 2>conftest.er1 11097 11012 ac_status=$? 11098 11013 grep -v '^ *+' conftest.er1 >conftest.err … … 11100 11015 cat conftest.err >&5 11101 11016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11102 (exit $ac_status); } && { 11103 test -z "$ac_c_werror_flag" || 11104 test ! -s conftest.err 11105 } && test -s conftest$ac_exeext && 11106 $as_test_x conftest$ac_exeext; then 11017 (exit $ac_status); } && 11018 { ac_try='test -z "$ac_c_werror_flag" 11019 || test ! -s conftest.err' 11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11021 (eval $ac_try) 2>&5 11022 ac_status=$? 11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11024 (exit $ac_status); }; } && 11025 { ac_try='test -s conftest$ac_exeext' 11026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11027 (eval $ac_try) 2>&5 11028 ac_status=$? 11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11030 (exit $ac_status); }; }; then 11107 11031 ac_cv_lib_ssl_SSL_library_init=yes 11108 11032 else … … 11110 11034 sed 's/^/| /' conftest.$ac_ext >&5 11111 11035 11112 ac_cv_lib_ssl_SSL_library_init=no 11113 fi 11114 11115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11036 ac_cv_lib_ssl_SSL_library_init=no 11037 fi 11038 rm -f conftest.err conftest.$ac_objext \ 11116 11039 conftest$ac_exeext conftest.$ac_ext 11117 11040 LIBS=$ac_check_lib_save_LIBS 11118 11041 fi 11119 {echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&511120 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6 ; }11042 echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_library_init" >&5 11043 echo "${ECHO_T}$ac_cv_lib_ssl_SSL_library_init" >&6 11121 11044 if test $ac_cv_lib_ssl_SSL_library_init = yes; then 11122 11045 libssl_present=1 && LIBS="$LIBS -lssl" 11123 11046 fi 11124 11047 11125 {echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&511126 echo $ECHO_N "checking for ERR_load_BIO_strings in -lcrypto... $ECHO_C" >&6 ; }11048 echo "$as_me:$LINENO: checking for ERR_load_BIO_strings in -lcrypto" >&5 11049 echo $ECHO_N "checking for ERR_load_BIO_strings in -lcrypto... $ECHO_C" >&6 11127 11050 if test "${ac_cv_lib_crypto_ERR_load_BIO_strings+set}" = set; then 11128 11051 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 11137 11060 /* end confdefs.h. */ 11138 11061 11139 /* Override any GCC internal prototype to avoid an error. 11140 Use char because int might match the return type of a GCC 11141 builtin and then its argument prototype would still apply. */ 11062 /* Override any gcc2 internal prototype to avoid an error. */ 11142 11063 #ifdef __cplusplus 11143 11064 extern "C" 11144 11065 #endif 11066 /* We use char because int might match the return type of a gcc2 11067 builtin and then its argument prototype would still apply. */ 11145 11068 char ERR_load_BIO_strings (); 11146 11069 int 11147 11070 main () 11148 11071 { 11149 returnERR_load_BIO_strings ();11072 ERR_load_BIO_strings (); 11150 11073 ; 11151 11074 return 0; … … 11153 11076 _ACEOF 11154 11077 rm -f conftest.$ac_objext conftest$ac_exeext 11155 if { (ac_try="$ac_link" 11156 case "(($ac_try" in 11157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11158 *) ac_try_echo=$ac_try;; 11159 esac 11160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11161 (eval "$ac_link") 2>conftest.er1 11078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 11079 (eval $ac_link) 2>conftest.er1 11162 11080 ac_status=$? 11163 11081 grep -v '^ *+' conftest.er1 >conftest.err … … 11165 11083 cat conftest.err >&5 11166 11084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11167 (exit $ac_status); } && { 11168 test -z "$ac_c_werror_flag" || 11169 test ! -s conftest.err 11170 } && test -s conftest$ac_exeext && 11171 $as_test_x conftest$ac_exeext; then 11085 (exit $ac_status); } && 11086 { ac_try='test -z "$ac_c_werror_flag" 11087 || test ! -s conftest.err' 11088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11089 (eval $ac_try) 2>&5 11090 ac_status=$? 11091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11092 (exit $ac_status); }; } && 11093 { ac_try='test -s conftest$ac_exeext' 11094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 11095 (eval $ac_try) 2>&5 11096 ac_status=$? 11097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11098 (exit $ac_status); }; }; then 11172 11099 ac_cv_lib_crypto_ERR_load_BIO_strings=yes 11173 11100 else … … 11175 11102 sed 's/^/| /' conftest.$ac_ext >&5 11176 11103 11177 ac_cv_lib_crypto_ERR_load_BIO_strings=no 11178 fi 11179 11180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11104 ac_cv_lib_crypto_ERR_load_BIO_strings=no 11105 fi 11106 rm -f conftest.err conftest.$ac_objext \ 11181 11107 conftest$ac_exeext conftest.$ac_ext 11182 11108 LIBS=$ac_check_lib_save_LIBS 11183 11109 fi 11184 {echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&511185 echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6 ; }11110 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_ERR_load_BIO_strings" >&5 11111 echo "${ECHO_T}$ac_cv_lib_crypto_ERR_load_BIO_strings" >&6 11186 11112 if test $ac_cv_lib_crypto_ERR_load_BIO_strings = yes; then 11187 11113 libcrypto_present=1 && LIBS="$LIBS -lcrypto" … … 11189 11115 11190 11116 if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then 11191 {echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&511192 echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6 ; }11117 echo "$as_me:$LINENO: result: OpenSSL library found, SSL support enabled" >&5 11118 echo "${ECHO_T}OpenSSL library found, SSL support enabled" >&6 11193 11119 cat >>confdefs.h <<\_ACEOF 11194 11120 #define PJSIP_HAS_TLS_TRANSPORT 1 … … 11196 11122 11197 11123 else 11198 {echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&511199 echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6 ; }11124 echo "$as_me:$LINENO: result: ** OpenSSL libraries not found, disabling SSL support **" >&5 11125 echo "${ECHO_T}** OpenSSL libraries not found, disabling SSL support **" >&6 11200 11126 fi 11201 11127 11202 fi 11203 11204 11205 11206 11207 11208 { echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 11209 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6; } 11128 fi; 11129 11130 11131 11132 11133 echo "$as_me:$LINENO: checking if select() needs correct nfds" >&5 11134 echo $ECHO_N "checking if select() needs correct nfds... $ECHO_C" >&6 11210 11135 case $target in 11211 11136 *rtems*) cat >>confdefs.h <<\_ACEOF … … 11213 11138 _ACEOF 11214 11139 11215 {echo "$as_me:$LINENO: result: yes" >&511216 echo "${ECHO_T}yes" >&6 ; }11140 echo "$as_me:$LINENO: result: yes" >&5 11141 echo "${ECHO_T}yes" >&6 11217 11142 ;; 11218 11143 *) cat >>confdefs.h <<\_ACEOF … … 11220 11145 _ACEOF 11221 11146 11222 {echo "$as_me:$LINENO: result: no (default)" >&511223 echo "${ECHO_T}no (default)" >&6 ; }11224 {echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&511225 echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6 ; }11147 echo "$as_me:$LINENO: result: no (default)" >&5 11148 echo "${ECHO_T}no (default)" >&6 11149 echo "$as_me:$LINENO: result: ** Decided that select() doesn't need correct nfds (please check)" >&5 11150 echo "${ECHO_T}** Decided that select() doesn't need correct nfds (please check)" >&6 11226 11151 ;; 11227 11152 esac 11228 11153 11229 {echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&511230 echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6 ; }11154 echo "$as_me:$LINENO: checking if pj_thread_create() should enforce stack size" >&5 11155 echo $ECHO_N "checking if pj_thread_create() should enforce stack size... $ECHO_C" >&6 11231 11156 case $target in 11232 11157 *rtems*) cat >>confdefs.h <<\_ACEOF … … 11234 11159 _ACEOF 11235 11160 11236 {echo "$as_me:$LINENO: result: yes" >&511237 echo "${ECHO_T}yes" >&6 ; }11161 echo "$as_me:$LINENO: result: yes" >&5 11162 echo "${ECHO_T}yes" >&6 11238 11163 ;; 11239 11164 *) cat >>confdefs.h <<\_ACEOF … … 11241 11166 _ACEOF 11242 11167 11243 {echo "$as_me:$LINENO: result: no (default)" >&511244 echo "${ECHO_T}no (default)" >&6 ; }11168 echo "$as_me:$LINENO: result: no (default)" >&5 11169 echo "${ECHO_T}no (default)" >&6 11245 11170 ;; 11246 11171 esac 11247 11172 11248 {echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&511249 echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6 ; }11173 echo "$as_me:$LINENO: checking if pj_thread_create() should allocate stack" >&5 11174 echo $ECHO_N "checking if pj_thread_create() should allocate stack... $ECHO_C" >&6 11250 11175 case $target in 11251 11176 *rtems*) cat >>confdefs.h <<\_ACEOF … … 11253 11178 _ACEOF 11254 11179 11255 {echo "$as_me:$LINENO: result: yes" >&511256 echo "${ECHO_T}yes" >&6 ; }11180 echo "$as_me:$LINENO: result: yes" >&5 11181 echo "${ECHO_T}yes" >&6 11257 11182 ;; 11258 11183 *) cat >>confdefs.h <<\_ACEOF … … 11260 11185 _ACEOF 11261 11186 11262 {echo "$as_me:$LINENO: result: no (default)" >&511263 echo "${ECHO_T}no (default)" >&6 ; }11187 echo "$as_me:$LINENO: result: no (default)" >&5 11188 echo "${ECHO_T}no (default)" >&6 11264 11189 ;; 11265 11190 esac … … 11276 11201 _ACEOF 11277 11202 11278 {echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&511279 echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6 ; }11203 echo "$as_me:$LINENO: result: ** Setting non-blocking recv() retval to EAGAIN (please check)" >&5 11204 echo "${ECHO_T}** Setting non-blocking recv() retval to EAGAIN (please check)" >&6 11280 11205 ;; 11281 11206 esac … … 11292 11217 _ACEOF 11293 11218 11294 {echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&511295 echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6 ; }11219 echo "$as_me:$LINENO: result: ** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&5 11220 echo "${ECHO_T}** Setting non-blocking connect() retval to EINPROGRESS (please check)" >&6 11296 11221 ;; 11297 11222 esac … … 11339 11264 # The following way of writing the cache mishandles newlines in values, 11340 11265 # but we know of no workaround that is simple, portable, and efficient. 11341 # So, we kill variables containing newlines.11266 # So, don't put newlines in cache variables' values. 11342 11267 # Ultrix sh set writes to stderr and can't be redirected directly, 11343 11268 # and sets the high bit in the cache file unless we assign to the vars. 11344 ( 11345 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 11346 eval ac_val=\$$ac_var 11347 case $ac_val in #( 11348 *${as_nl}*) 11349 case $ac_var in #( 11350 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 11351 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 11352 esac 11353 case $ac_var in #( 11354 _ | IFS | as_nl) ;; #( 11355 *) $as_unset $ac_var ;; 11356 esac ;; 11357 esac 11358 done 11359 11269 { 11360 11270 (set) 2>&1 | 11361 case $as_nl`(ac_space=' '; set) 2>&1` in #(11362 * ${as_nl}ac_space=\ *)11271 case `(ac_space=' '; set | grep ac_space) 2>&1` in 11272 *ac_space=\ *) 11363 11273 # `set' does not quote correctly, so add quotes (double-quote 11364 11274 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 11366 11276 "s/'/'\\\\''/g; 11367 11277 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 11368 ;; #(11278 ;; 11369 11279 *) 11370 11280 # `set' quotes correctly as required by POSIX, so do not add quotes. 11371 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 11281 sed -n \ 11282 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 11372 11283 ;; 11373 esac | 11374 sort 11375 ) | 11284 esac; 11285 } | 11376 11286 sed ' 11377 /^ac_cv_env_/b end11378 11287 t clear 11379 : clear11288 : clear 11380 11289 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 11381 11290 t end 11382 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 11383 :end' >>confcache 11384 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 11385 if test -w "$cache_file"; then 11386 test "x$cache_file" != "x/dev/null" && 11387 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 11388 echo "$as_me: updating cache $cache_file" >&6;} 11291 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 11292 : end' >>confcache 11293 if diff $cache_file confcache >/dev/null 2>&1; then :; else 11294 if test -w $cache_file; then 11295 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 11389 11296 cat confcache >$cache_file 11390 11297 else 11391 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 11392 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 11298 echo "not updating unwritable cache $cache_file" 11393 11299 fi 11394 11300 fi … … 11398 11304 # Let make expand exec_prefix. 11399 11305 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 11306 11307 # VPATH may cause trouble with some makes, so we remove $(srcdir), 11308 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 11309 # trailing colons and then remove the whole line if VPATH becomes empty 11310 # (actually we leave an empty line to preserve line numbers). 11311 if test "x$srcdir" = x.; then 11312 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 11313 s/:*\$(srcdir):*/:/; 11314 s/:*\${srcdir}:*/:/; 11315 s/:*@srcdir@:*/:/; 11316 s/^\([^=]*=[ ]*\):*/\1/; 11317 s/:*$//; 11318 s/^[^=]*=[ ]*$//; 11319 }' 11320 fi 11400 11321 11401 11322 DEFS=-DHAVE_CONFIG_H … … 11405 11326 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 11406 11327 # 1. Remove the extension, and $U if already installed. 11407 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 11408 ac_i=`echo "$ac_i" | sed "$ac_script"` 11409 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 11410 # will be set to the directory where LIBOBJS objects are built. 11411 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 11412 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 11328 ac_i=`echo "$ac_i" | 11329 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 11330 # 2. Add them. 11331 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 11332 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 11413 11333 done 11414 11334 LIBOBJS=$ac_libobjs … … 11441 11361 ## --------------------- ## 11442 11362 11443 # Be more Bourne compatible 11444 DUALCASE=1; export DUALCASE # for MKS sh 11363 # Be Bourne compatible 11445 11364 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 11446 11365 emulate sh … … 11449 11368 # is contrary to our usage. Disable this feature. 11450 11369 alias -g '${1+"$@"}'='"$@"' 11451 setopt NO_GLOB_SUBST 11452 else 11453 case `(set -o) 2>/dev/null` in 11454 *posix*) set -o posix ;; 11455 esac 11456 11457 fi 11458 11459 11460 11461 11462 # PATH needs CR 11370 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 11371 set -o posix 11372 fi 11373 DUALCASE=1; export DUALCASE # for MKS sh 11374 11375 # Support unset when possible. 11376 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 11377 as_unset=unset 11378 else 11379 as_unset=false 11380 fi 11381 11382 11383 # Work around bugs in pre-3.0 UWIN ksh. 11384 $as_unset ENV MAIL MAILPATH 11385 PS1='$ ' 11386 PS2='> ' 11387 PS4='+ ' 11388 11389 # NLS nuisances. 11390 for as_var in \ 11391 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 11392 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 11393 LC_TELEPHONE LC_TIME 11394 do 11395 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 11396 eval $as_var=C; export $as_var 11397 else 11398 $as_unset $as_var 11399 fi 11400 done 11401 11402 # Required to use basename. 11403 if expr a : '\(a\)' >/dev/null 2>&1; then 11404 as_expr=expr 11405 else 11406 as_expr=false 11407 fi 11408 11409 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 11410 as_basename=basename 11411 else 11412 as_basename=false 11413 fi 11414 11415 11416 # Name of the executable. 11417 as_me=`$as_basename "$0" || 11418 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 11419 X"$0" : 'X\(//\)$' \| \ 11420 X"$0" : 'X\(/\)$' \| \ 11421 . : '\(.\)' 2>/dev/null || 11422 echo X/"$0" | 11423 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 11424 /^X\/\(\/\/\)$/{ s//\1/; q; } 11425 /^X\/\(\/\).*/{ s//\1/; q; } 11426 s/.*/./; q'` 11427 11428 11429 # PATH needs CR, and LINENO needs CR and PATH. 11463 11430 # Avoid depending upon Character Ranges. 11464 11431 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 11481 11448 fi 11482 11449 11483 # Support unset when possible. 11484 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 11485 as_unset=unset 11486 else 11487 as_unset=false 11488 fi 11489 11490 11491 # IFS 11492 # We need space, tab and new line, in precisely that order. Quoting is 11493 # there to prevent editors from complaining about space-tab. 11494 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 11495 # splitting by setting IFS to empty value.) 11496 as_nl=' 11497 ' 11498 IFS=" "" $as_nl" 11499 11500 # Find who we are. Look in the path if we contain no directory separator. 11501 case $0 in 11502 *[\\/]* ) as_myself=$0 ;; 11503 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11450 11451 as_lineno_1=$LINENO 11452 as_lineno_2=$LINENO 11453 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 11454 test "x$as_lineno_1" != "x$as_lineno_2" && 11455 test "x$as_lineno_3" = "x$as_lineno_2" || { 11456 # Find who we are. Look in the path if we contain no path at all 11457 # relative or not. 11458 case $0 in 11459 *[\\/]* ) as_myself=$0 ;; 11460 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11504 11461 for as_dir in $PATH 11505 11462 do … … 11508 11465 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 11509 11466 done 11510 IFS=$as_save_IFS 11511 11512 ;; 11513 esac 11514 # We did not find ourselves, most probably we were run as `sh COMMAND' 11515 # in which case we are not to be found in the path. 11516 if test "x$as_myself" = x; then 11517 as_myself=$0 11518 fi 11519 if test ! -f "$as_myself"; then 11520 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 11521 { (exit 1); exit 1; } 11522 fi 11523 11524 # Work around bugs in pre-3.0 UWIN ksh. 11525 for as_var in ENV MAIL MAILPATH 11526 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 11527 done 11528 PS1='$ ' 11529 PS2='> ' 11530 PS4='+ ' 11531 11532 # NLS nuisances. 11533 for as_var in \ 11534 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 11535 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 11536 LC_TELEPHONE LC_TIME 11467 11468 ;; 11469 esac 11470 # We did not find ourselves, most probably we were run as `sh COMMAND' 11471 # in which case we are not to be found in the path. 11472 if test "x$as_myself" = x; then 11473 as_myself=$0 11474 fi 11475 if test ! -f "$as_myself"; then 11476 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 11477 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 11478 { (exit 1); exit 1; }; } 11479 fi 11480 case $CONFIG_SHELL in 11481 '') 11482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 11483 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 11537 11484 do 11538 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 11539 eval $as_var=C; export $as_var 11540 else 11541 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 11542 fi 11543 done 11544 11545 # Required to use basename. 11546 if expr a : '\(a\)' >/dev/null 2>&1 && 11547 test "X`expr 00001 : '.*\(...\)'`" = X001; then 11548 as_expr=expr 11549 else 11550 as_expr=false 11551 fi 11552 11553 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 11554 as_basename=basename 11555 else 11556 as_basename=false 11557 fi 11558 11559 11560 # Name of the executable. 11561 as_me=`$as_basename -- "$0" || 11562 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 11563 X"$0" : 'X\(//\)$' \| \ 11564 X"$0" : 'X\(/\)' \| . 2>/dev/null || 11565 echo X/"$0" | 11566 sed '/^.*\/\([^/][^/]*\)\/*$/{ 11567 s//\1/ 11568 q 11569 } 11570 /^X\/\(\/\/\)$/{ 11571 s//\1/ 11572 q 11573 } 11574 /^X\/\(\/\).*/{ 11575 s//\1/ 11576 q 11577 } 11578 s/.*/./; q'` 11579 11580 # CDPATH. 11581 $as_unset CDPATH 11582 11583 11584 11485 IFS=$as_save_IFS 11486 test -z "$as_dir" && as_dir=. 11487 for as_base in sh bash ksh sh5; do 11488 case $as_dir in 11489 /*) 11490 if ("$as_dir/$as_base" -c ' 11585 11491 as_lineno_1=$LINENO 11586 11492 as_lineno_2=$LINENO 11493 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 11587 11494 test "x$as_lineno_1" != "x$as_lineno_2" && 11588 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 11495 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 11496 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 11497 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 11498 CONFIG_SHELL=$as_dir/$as_base 11499 export CONFIG_SHELL 11500 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 11501 fi;; 11502 esac 11503 done 11504 done 11505 ;; 11506 esac 11589 11507 11590 11508 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 11591 11509 # uniformly replaced by the line number. The first 'sed' inserts a 11592 # line-number line after each line using $LINENO; the second 'sed' 11593 # does the real work. The second script uses 'N' to pair each 11594 # line-number line with the line containing $LINENO, and appends 11595 # trailing '-' during substitution so that $LINENO is not a special 11596 # case at line end. 11510 # line-number line before each line; the second 'sed' does the real 11511 # work. The second script uses 'N' to pair each line-number line 11512 # with the numbered line, and appends trailing '-' during 11513 # substitution so that $LINENO is not a special case at line end. 11597 11514 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 11598 # scripts with optimization help from Paolo Bonzini. Blame Lee 11599 # E. McMahon (1931-1989) for sed's syntax. :-) 11600 sed -n ' 11601 p 11602 /[$]LINENO/= 11603 ' <$as_myself | 11515 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 11516 sed '=' <$as_myself | 11604 11517 sed ' 11605 s/[$]LINENO.*/&-/11606 t lineno11607 b11608 :lineno11609 11518 N 11610 :loop 11611 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 11519 s,$,-, 11520 : loop 11521 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 11612 11522 t loop 11613 s/-\n.*// 11523 s,-$,, 11524 s,^['$as_cr_digits']*\n,, 11614 11525 ' >$as_me.lineno && 11615 chmod +x "$as_me.lineno" || 11616 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 11526 chmod +x $as_me.lineno || 11527 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 11528 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 11617 11529 { (exit 1); exit 1; }; } 11618 11530 11619 11531 # Don't try to exec as it changes $[0], causing all sort of problems 11620 11532 # (the dirname of $[0] is not the place where we might find the 11621 # original and so on. Autoconf is especially sensi tive to this).11622 . "./$as_me.lineno"11533 # original and so on. Autoconf is especially sensible to this). 11534 . ./$as_me.lineno 11623 11535 # Exit status is that of the last command. 11624 11536 exit … … 11626 11538 11627 11539 11628 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 11629 as_dirname=dirname 11630 else 11631 as_dirname=false 11632 fi 11633 11634 ECHO_C= ECHO_N= ECHO_T= 11635 case `echo -n x` in 11636 -n*) 11637 case `echo 'x\c'` in 11638 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 11639 *) ECHO_C='\c';; 11640 esac;; 11641 *) 11642 ECHO_N='-n';; 11540 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 11541 *c*,-n*) ECHO_N= ECHO_C=' 11542 ' ECHO_T=' ' ;; 11543 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 11544 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 11643 11545 esac 11644 11546 11645 if expr a : '\(a\)' >/dev/null 2>&1 && 11646 test "X`expr 00001 : '.*\(...\)'`" = X001; then 11547 if expr a : '\(a\)' >/dev/null 2>&1; then 11647 11548 as_expr=expr 11648 11549 else … … 11651 11552 11652 11553 rm -f conf$$ conf$$.exe conf$$.file 11653 if test -d conf$$.dir; then11654 rm -f conf$$.dir/conf$$.file11655 else11656 rm -f conf$$.dir11657 mkdir conf$$.dir11658 fi11659 11554 echo >conf$$.file 11660 11555 if ln -s conf$$.file conf$$ 2>/dev/null; then 11661 as_ln_s='ln -s' 11662 # ... but there are two gotchas: 11663 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 11664 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 11665 # In both cases, we have to default to `cp -p'. 11666 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 11556 # We could just check for DJGPP; but this test a) works b) is more generic 11557 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 11558 if test -f conf$$.exe; then 11559 # Don't use ln at all; we don't have any links 11667 11560 as_ln_s='cp -p' 11561 else 11562 as_ln_s='ln -s' 11563 fi 11668 11564 elif ln conf$$.file conf$$ 2>/dev/null; then 11669 11565 as_ln_s=ln … … 11671 11567 as_ln_s='cp -p' 11672 11568 fi 11673 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 11674 rmdir conf$$.dir 2>/dev/null 11569 rm -f conf$$ conf$$.exe conf$$.file 11675 11570 11676 11571 if mkdir -p . 2>/dev/null; then … … 11681 11576 fi 11682 11577 11683 if test -x / >/dev/null 2>&1; then 11684 as_test_x='test -x' 11685 else 11686 if ls -dL / >/dev/null 2>&1; then 11687 as_ls_L_option=L 11688 else 11689 as_ls_L_option= 11690 fi 11691 as_test_x=' 11692 eval sh -c '\'' 11693 if test -d "$1"; then 11694 test -d "$1/."; 11695 else 11696 case $1 in 11697 -*)set "./$1";; 11698 esac; 11699 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 11700 ???[sx]*):;;*)false;;esac;fi 11701 '\'' sh 11702 ' 11703 fi 11704 as_executable_p=$as_test_x 11578 as_executable_p="test -f" 11705 11579 11706 11580 # Sed expression to map a string onto a valid CPP name. … … 11711 11585 11712 11586 11587 # IFS 11588 # We need space, tab and new line, in precisely that order. 11589 as_nl=' 11590 ' 11591 IFS=" $as_nl" 11592 11593 # CDPATH. 11594 $as_unset CDPATH 11595 11713 11596 exec 6>&1 11714 11597 11715 # Save the log message, to keep$[0] and so on meaningful, and to11598 # Open the log real soon, to keep \$[0] and so on meaningful, and to 11716 11599 # report actual input values of CONFIG_FILES etc. instead of their 11717 # values after options handling. 11718 ac_log=" 11600 # values after options handling. Logging --version etc. is OK. 11601 exec 5>>config.log 11602 { 11603 echo 11604 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 11605 ## Running $as_me. ## 11606 _ASBOX 11607 } >&5 11608 cat >&5 <<_CSEOF 11609 11719 11610 This file was extended by pjproject $as_me 1.0, which was 11720 generated by GNU Autoconf 2. 61. Invocation command line was11611 generated by GNU Autoconf 2.59. Invocation command line was 11721 11612 11722 11613 CONFIG_FILES = $CONFIG_FILES … … 11726 11617 $ $0 $@ 11727 11618 11728 on `(hostname || uname -n) 2>/dev/null | sed 1q` 11729 " 11730 11731 _ACEOF 11732 11733 cat >>$CONFIG_STATUS <<_ACEOF 11619 _CSEOF 11620 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 11621 echo >&5 11622 _ACEOF 11623 11734 11624 # Files that config.status was made for. 11735 config_files="$ac_config_files" 11736 config_headers="$ac_config_headers" 11737 11738 _ACEOF 11625 if test -n "$ac_config_files"; then 11626 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 11627 fi 11628 11629 if test -n "$ac_config_headers"; then 11630 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 11631 fi 11632 11633 if test -n "$ac_config_links"; then 11634 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 11635 fi 11636 11637 if test -n "$ac_config_commands"; then 11638 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 11639 fi 11739 11640 11740 11641 cat >>$CONFIG_STATUS <<\_ACEOF 11642 11741 11643 ac_cs_usage="\ 11742 11644 \`$as_me' instantiates files from templates according to the … … 11746 11648 11747 11649 -h, --help print this help, then exit 11748 -V, --version print version number and configuration settings, then exit11650 -V, --version print version number, then exit 11749 11651 -q, --quiet do not print progress messages 11750 11652 -d, --debug don't remove temporary files … … 11762 11664 11763 11665 Report bugs to <bug-autoconf@gnu.org>." 11764 11765 _ACEOF 11666 _ACEOF 11667 11766 11668 cat >>$CONFIG_STATUS <<_ACEOF 11767 11669 ac_cs_version="\\ 11768 11670 pjproject config.status 1.0 11769 configured by $0, generated by GNU Autoconf 2. 61,11770 with options \\"`echo "$ac_configure_args" | sed 's/ ^ //; s/[\\""\`\$]/\\\\&/g'`\\"11771 11772 Copyright (C) 200 6Free Software Foundation, Inc.11671 configured by $0, generated by GNU Autoconf 2.59, 11672 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 11673 11674 Copyright (C) 2003 Free Software Foundation, Inc. 11773 11675 This config.status script is free software; the Free Software Foundation 11774 11676 gives unlimited permission to copy, distribute and modify it." 11775 11776 ac_pwd='$ac_pwd' 11777 srcdir='$srcdir' 11677 srcdir=$srcdir 11778 11678 _ACEOF 11779 11679 … … 11786 11686 case $1 in 11787 11687 --*=*) 11788 ac_option=`expr " X$1" : 'X\([^=]*\)='`11789 ac_optarg=`expr " X$1" : 'X[^=]*=\(.*\)'`11688 ac_option=`expr "x$1" : 'x\([^=]*\)='` 11689 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 11790 11690 ac_shift=: 11791 11691 ;; 11792 *)11692 -*) 11793 11693 ac_option=$1 11794 11694 ac_optarg=$2 11795 11695 ac_shift=shift 11796 11696 ;; 11697 *) # This is not an option, so the user has probably given explicit 11698 # arguments. 11699 ac_option=$1 11700 ac_need_defaults=false;; 11797 11701 esac 11798 11702 11799 11703 case $ac_option in 11800 11704 # Handling of the options. 11705 _ACEOF 11706 cat >>$CONFIG_STATUS <<\_ACEOF 11801 11707 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 11802 11708 ac_cs_recheck=: ;; 11803 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 11804 echo "$ac_cs_version"; exit ;; 11805 --debug | --debu | --deb | --de | --d | -d ) 11709 --version | --vers* | -V ) 11710 echo "$ac_cs_version"; exit 0 ;; 11711 --he | --h) 11712 # Conflict between --help and --header 11713 { { echo "$as_me:$LINENO: error: ambiguous option: $1 11714 Try \`$0 --help' for more information." >&5 11715 echo "$as_me: error: ambiguous option: $1 11716 Try \`$0 --help' for more information." >&2;} 11717 { (exit 1); exit 1; }; };; 11718 --help | --hel | -h ) 11719 echo "$ac_cs_usage"; exit 0 ;; 11720 --debug | --d* | -d ) 11806 11721 debug=: ;; 11807 11722 --file | --fil | --fi | --f ) … … 11813 11728 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 11814 11729 ac_need_defaults=false;; 11815 --he | --h)11816 # Conflict between --help and --header11817 { echo "$as_me: error: ambiguous option: $111818 Try \`$0 --help' for more information." >&211819 { (exit 1); exit 1; }; };;11820 --help | --hel | -h )11821 echo "$ac_cs_usage"; exit ;;11822 11730 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 11823 11731 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 11825 11733 11826 11734 # This is an error. 11827 -*) { echo "$as_me: error: unrecognized option: $1 11828 Try \`$0 --help' for more information." >&2 11735 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 11736 Try \`$0 --help' for more information." >&5 11737 echo "$as_me: error: unrecognized option: $1 11738 Try \`$0 --help' for more information." >&2;} 11829 11739 { (exit 1); exit 1; }; } ;; 11830 11740 11831 *) ac_config_targets="$ac_config_targets $1" 11832 ac_need_defaults=false ;; 11741 *) ac_config_targets="$ac_config_targets $1" ;; 11833 11742 11834 11743 esac … … 11846 11755 cat >>$CONFIG_STATUS <<_ACEOF 11847 11756 if \$ac_cs_recheck; then 11848 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 11849 CONFIG_SHELL=$SHELL 11850 export CONFIG_SHELL 11851 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 11852 fi 11853 11854 _ACEOF 11757 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 11758 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 11759 fi 11760 11761 _ACEOF 11762 11763 11764 11765 11766 11855 11767 cat >>$CONFIG_STATUS <<\_ACEOF 11856 exec 5>>config.log11857 {11858 echo11859 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX11860 ## Running $as_me. ##11861 _ASBOX11862 echo "$ac_log"11863 } >&511864 11865 _ACEOF11866 cat >>$CONFIG_STATUS <<_ACEOF11867 _ACEOF11868 11869 cat >>$CONFIG_STATUS <<\_ACEOF11870 11871 # Handling of arguments.11872 11768 for ac_config_target in $ac_config_targets 11873 11769 do 11874 case $ac_config_targetin11875 "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;;11876 "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;;11877 "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;;11878 "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;;11879 "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;;11880 "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;;11881 "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILESbuild/os-auto.mak" ;;11882 "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;;11883 "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;;11884 "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;;11885 "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;;11886 "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;;11887 "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;;11888 11770 case "$ac_config_target" in 11771 # Handling of arguments. 11772 "build.mak" ) CONFIG_FILES="$CONFIG_FILES build.mak" ;; 11773 "build/os-auto.mak" ) CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;; 11774 "pjlib/build/os-auto.mak" ) CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;; 11775 "pjlib-util/build/os-auto.mak" ) CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;; 11776 "pjmedia/build/os-auto.mak" ) CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;; 11777 "pjsip/build/os-auto.mak" ) CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;; 11778 "third_party/build/portaudio/os-auto.mak" ) CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;; 11779 "third_party/build/os-auto.mak" ) CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 11780 "pjlib/include/pj/compat/os_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;; 11781 "pjlib/include/pj/compat/m_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;; 11782 "pjmedia/include/pjmedia/config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;; 11783 "pjmedia/include/pjmedia-codec/config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;; 11784 "pjsip/include/pjsip/sip_autoconf.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;; 11889 11785 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 11890 11786 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} … … 11892 11788 esac 11893 11789 done 11894 11895 11790 11896 11791 # If the user did not use the arguments to specify the items to instantiate, … … 11904 11799 11905 11800 # Have a temporary directory for convenience. Make it in the build tree 11906 # simply because there is no reason against havingit here, and in addition,11801 # simply because there is no reason to put it here, and in addition, 11907 11802 # creating and moving files from /tmp can sometimes cause problems. 11908 # Hook for its removal unless debugging. 11909 # Note that there is a small window in which the directory will not be cleaned: 11910 # after its creation but before its name has been assigned to `$tmp'. 11803 # Create a temporary directory, and hook for its removal unless debugging. 11911 11804 $debug || 11912 11805 { 11913 tmp= 11914 trap 'exit_status=$? 11915 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 11916 ' 0 11806 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 11917 11807 trap '{ (exit 1); exit 1; }' 1 2 13 15 11918 11808 } 11809 11919 11810 # Create a (secure) tmp directory for tmp files. 11920 11811 11921 11812 { 11922 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&11813 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 11923 11814 test -n "$tmp" && test -d "$tmp" 11924 11815 } || 11925 11816 { 11926 tmp=./conf $$-$RANDOM11927 (umask 077 && mkdir "$tmp")11817 tmp=./confstat$$-$RANDOM 11818 (umask 077 && mkdir $tmp) 11928 11819 } || 11929 11820 { … … 11932 11823 } 11933 11824 11825 _ACEOF 11826 11827 cat >>$CONFIG_STATUS <<_ACEOF 11828 11934 11829 # 11935 # Set up the sed scripts forCONFIG_FILES section.11830 # CONFIG_FILES section. 11936 11831 # 11937 11832 11938 11833 # No need to generate the scripts if there are no CONFIG_FILES. 11939 11834 # This happens for instance when ./config.status config.h 11940 if test -n "$CONFIG_FILES"; then 11941 11942 _ACEOF 11943 11944 11945 11946 ac_delim='%!_!# ' 11947 for ac_last_try in false false false false false :; do 11948 cat >conf$$subs.sed <<_ACEOF 11949 SHELL!$SHELL$ac_delim 11950 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 11951 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 11952 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 11953 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 11954 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 11955 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 11956 exec_prefix!$exec_prefix$ac_delim 11957 prefix!$prefix$ac_delim 11958 program_transform_name!$program_transform_name$ac_delim 11959 bindir!$bindir$ac_delim 11960 sbindir!$sbindir$ac_delim 11961 libexecdir!$libexecdir$ac_delim 11962 datarootdir!$datarootdir$ac_delim 11963 datadir!$datadir$ac_delim 11964 sysconfdir!$sysconfdir$ac_delim 11965 sharedstatedir!$sharedstatedir$ac_delim 11966 localstatedir!$localstatedir$ac_delim 11967 includedir!$includedir$ac_delim 11968 oldincludedir!$oldincludedir$ac_delim 11969 docdir!$docdir$ac_delim 11970 infodir!$infodir$ac_delim 11971 htmldir!$htmldir$ac_delim 11972 dvidir!$dvidir$ac_delim 11973 pdfdir!$pdfdir$ac_delim 11974 psdir!$psdir$ac_delim 11975 libdir!$libdir$ac_delim 11976 localedir!$localedir$ac_delim 11977 mandir!$mandir$ac_delim 11978 DEFS!$DEFS$ac_delim 11979 ECHO_C!$ECHO_C$ac_delim 11980 ECHO_N!$ECHO_N$ac_delim 11981 ECHO_T!$ECHO_T$ac_delim 11982 LIBS!$LIBS$ac_delim 11983 build_alias!$build_alias$ac_delim 11984 host_alias!$host_alias$ac_delim 11985 target_alias!$target_alias$ac_delim 11986 build!$build$ac_delim 11987 build_cpu!$build_cpu$ac_delim 11988 build_vendor!$build_vendor$ac_delim 11989 build_os!$build_os$ac_delim 11990 host!$host$ac_delim 11991 host_cpu!$host_cpu$ac_delim 11992 host_vendor!$host_vendor$ac_delim 11993 host_os!$host_os$ac_delim 11994 target!$target$ac_delim 11995 target_cpu!$target_cpu$ac_delim 11996 target_vendor!$target_vendor$ac_delim 11997 target_os!$target_os$ac_delim 11998 CC!$CC$ac_delim 11999 CFLAGS!$CFLAGS$ac_delim 12000 LDFLAGS!$LDFLAGS$ac_delim 12001 CPPFLAGS!$CPPFLAGS$ac_delim 12002 ac_ct_CC!$ac_ct_CC$ac_delim 12003 EXEEXT!$EXEEXT$ac_delim 12004 OBJEXT!$OBJEXT$ac_delim 12005 CXX!$CXX$ac_delim 12006 CXXFLAGS!$CXXFLAGS$ac_delim 12007 ac_ct_CXX!$ac_ct_CXX$ac_delim 12008 ac_pjdir!$ac_pjdir$ac_delim 12009 ac_build_mak_vars!$ac_build_mak_vars$ac_delim 12010 CPP!$CPP$ac_delim 12011 GREP!$GREP$ac_delim 12012 EGREP!$EGREP$ac_delim 12013 ac_os_objs!$ac_os_objs$ac_delim 12014 ac_pjmedia_snd!$ac_pjmedia_snd$ac_delim 12015 ac_pa_cflags!$ac_pa_cflags$ac_delim 12016 ac_pa_use_alsa!$ac_pa_use_alsa$ac_delim 12017 ac_pa_use_oss!$ac_pa_use_oss$ac_delim 12018 ac_no_small_filter!$ac_no_small_filter$ac_delim 12019 ac_no_large_filter!$ac_no_large_filter$ac_delim 12020 ac_no_speex_aec!$ac_no_speex_aec$ac_delim 12021 ac_no_g711_codec!$ac_no_g711_codec$ac_delim 12022 ac_no_l16_codec!$ac_no_l16_codec$ac_delim 12023 ac_no_gsm_codec!$ac_no_gsm_codec$ac_delim 12024 ac_no_g722_codec!$ac_no_g722_codec$ac_delim 12025 ac_no_speex_codec!$ac_no_speex_codec$ac_delim 12026 ac_no_ilbc_codec!$ac_no_ilbc_codec$ac_delim 12027 ac_no_ssl!$ac_no_ssl$ac_delim 12028 openssl_h_present!$openssl_h_present$ac_delim 12029 libssl_present!$libssl_present$ac_delim 12030 libcrypto_present!$libcrypto_present$ac_delim 12031 ac_cross_compile!$ac_cross_compile$ac_delim 12032 ac_linux_poll!$ac_linux_poll$ac_delim 12033 ac_host!$ac_host$ac_delim 12034 ac_main_obj!$ac_main_obj$ac_delim 12035 LIBOBJS!$LIBOBJS$ac_delim 12036 LTLIBOBJS!$LTLIBOBJS$ac_delim 12037 _ACEOF 12038 12039 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 88; then 12040 break 12041 elif $ac_last_try; then 12042 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 12043 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 12044 { (exit 1); exit 1; }; } 12045 else 12046 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 11835 if test -n "\$CONFIG_FILES"; then 11836 # Protect against being on the right side of a sed subst in config.status. 11837 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 11838 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 11839 s,@SHELL@,$SHELL,;t t 11840 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 11841 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 11842 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 11843 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 11844 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 11845 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 11846 s,@exec_prefix@,$exec_prefix,;t t 11847 s,@prefix@,$prefix,;t t 11848 s,@program_transform_name@,$program_transform_name,;t t 11849 s,@bindir@,$bindir,;t t 11850 s,@sbindir@,$sbindir,;t t 11851 s,@libexecdir@,$libexecdir,;t t 11852 s,@datadir@,$datadir,;t t 11853 s,@sysconfdir@,$sysconfdir,;t t 11854 s,@sharedstatedir@,$sharedstatedir,;t t 11855 s,@localstatedir@,$localstatedir,;t t 11856 s,@libdir@,$libdir,;t t 11857 s,@includedir@,$includedir,;t t 11858 s,@oldincludedir@,$oldincludedir,;t t 11859 s,@infodir@,$infodir,;t t 11860 s,@mandir@,$mandir,;t t 11861 s,@build_alias@,$build_alias,;t t 11862 s,@host_alias@,$host_alias,;t t 11863 s,@target_alias@,$target_alias,;t t 11864 s,@DEFS@,$DEFS,;t t 11865 s,@ECHO_C@,$ECHO_C,;t t 11866 s,@ECHO_N@,$ECHO_N,;t t 11867 s,@ECHO_T@,$ECHO_T,;t t 11868 s,@LIBS@,$LIBS,;t t 11869 s,@build@,$build,;t t 11870 s,@build_cpu@,$build_cpu,;t t 11871 s,@build_vendor@,$build_vendor,;t t 11872 s,@build_os@,$build_os,;t t 11873 s,@host@,$host,;t t 11874 s,@host_cpu@,$host_cpu,;t t 11875 s,@host_vendor@,$host_vendor,;t t 11876 s,@host_os@,$host_os,;t t 11877 s,@target@,$target,;t t 11878 s,@target_cpu@,$target_cpu,;t t 11879 s,@target_vendor@,$target_vendor,;t t 11880 s,@target_os@,$target_os,;t t 11881 s,@CC@,$CC,;t t 11882 s,@CFLAGS@,$CFLAGS,;t t 11883 s,@LDFLAGS@,$LDFLAGS,;t t 11884 s,@CPPFLAGS@,$CPPFLAGS,;t t 11885 s,@ac_ct_CC@,$ac_ct_CC,;t t 11886 s,@EXEEXT@,$EXEEXT,;t t 11887 s,@OBJEXT@,$OBJEXT,;t t 11888 s,@CXX@,$CXX,;t t 11889 s,@CXXFLAGS@,$CXXFLAGS,;t t 11890 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 11891 s,@ac_pjdir@,$ac_pjdir,;t t 11892 s,@ac_build_mak_vars@,$ac_build_mak_vars,;t t 11893 s,@CPP@,$CPP,;t t 11894 s,@EGREP@,$EGREP,;t t 11895 s,@ac_os_objs@,$ac_os_objs,;t t 11896 s,@ac_pjmedia_snd@,$ac_pjmedia_snd,;t t 11897 s,@ac_pa_cflags@,$ac_pa_cflags,;t t 11898 s,@ac_pa_use_alsa@,$ac_pa_use_alsa,;t t 11899 s,@ac_pa_use_oss@,$ac_pa_use_oss,;t t 11900 s,@ac_no_small_filter@,$ac_no_small_filter,;t t 11901 s,@ac_no_large_filter@,$ac_no_large_filter,;t t 11902 s,@ac_no_speex_aec@,$ac_no_speex_aec,;t t 11903 s,@ac_no_g711_codec@,$ac_no_g711_codec,;t t 11904 s,@ac_no_l16_codec@,$ac_no_l16_codec,;t t 11905 s,@ac_no_gsm_codec@,$ac_no_gsm_codec,;t t 11906 s,@ac_no_g722_codec@,$ac_no_g722_codec,;t t 11907 s,@ac_no_speex_codec@,$ac_no_speex_codec,;t t 11908 s,@ac_no_ilbc_codec@,$ac_no_ilbc_codec,;t t 11909 s,@ac_no_ssl@,$ac_no_ssl,;t t 11910 s,@openssl_h_present@,$openssl_h_present,;t t 11911 s,@libssl_present@,$libssl_present,;t t 11912 s,@libcrypto_present@,$libcrypto_present,;t t 11913 s,@ac_cross_compile@,$ac_cross_compile,;t t 11914 s,@ac_linux_poll@,$ac_linux_poll,;t t 11915 s,@ac_host@,$ac_host,;t t 11916 s,@ac_main_obj@,$ac_main_obj,;t t 11917 s,@LIBOBJS@,$LIBOBJS,;t t 11918 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 11919 CEOF 11920 11921 _ACEOF 11922 11923 cat >>$CONFIG_STATUS <<\_ACEOF 11924 # Split the substitutions into bite-sized pieces for seds with 11925 # small command number limits, like on Digital OSF/1 and HP-UX. 11926 ac_max_sed_lines=48 11927 ac_sed_frag=1 # Number of current file. 11928 ac_beg=1 # First line for current file. 11929 ac_end=$ac_max_sed_lines # Line after last line for current file. 11930 ac_more_lines=: 11931 ac_sed_cmds= 11932 while $ac_more_lines; do 11933 if test $ac_beg -gt 1; then 11934 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 11935 else 11936 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 11937 fi 11938 if test ! -s $tmp/subs.frag; then 11939 ac_more_lines=false 11940 else 11941 # The purpose of the label and of the branching condition is to 11942 # speed up the sed processing (if there are no `@' at all, there 11943 # is no need to browse any of the substitutions). 11944 # These are the two extra sed commands mentioned above. 11945 (echo ':t 11946 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 11947 if test -z "$ac_sed_cmds"; then 11948 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 11949 else 11950 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 11951 fi 11952 ac_sed_frag=`expr $ac_sed_frag + 1` 11953 ac_beg=$ac_end 11954 ac_end=`expr $ac_end + $ac_max_sed_lines` 11955 fi 11956 done 11957 if test -z "$ac_sed_cmds"; then 11958 ac_sed_cmds=cat 12047 11959 fi 12048 done 12049 12050 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 12051 if test -n "$ac_eof"; then 12052 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 12053 ac_eof=`expr $ac_eof + 1` 12054 fi 12055 12056 cat >>$CONFIG_STATUS <<_ACEOF 12057 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 12058 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 12059 _ACEOF 12060 sed ' 12061 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 12062 s/^/s,@/; s/!/@,|#_!!_#|/ 12063 :n 12064 t n 12065 s/'"$ac_delim"'$/,g/; t 12066 s/$/\\/; p 12067 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 12068 ' >>$CONFIG_STATUS <conf$$subs.sed 12069 rm -f conf$$subs.sed 12070 cat >>$CONFIG_STATUS <<_ACEOF 12071 :end 12072 s/|#_!!_#|//g 12073 CEOF$ac_eof 12074 _ACEOF 12075 12076 12077 # VPATH may cause trouble with some makes, so we remove $(srcdir), 12078 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 12079 # trailing colons and then remove the whole line if VPATH becomes empty 12080 # (actually we leave an empty line to preserve line numbers). 12081 if test "x$srcdir" = x.; then 12082 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 12083 s/:*\$(srcdir):*/:/ 12084 s/:*\${srcdir}:*/:/ 12085 s/:*@srcdir@:*/:/ 12086 s/^\([^=]*=[ ]*\):*/\1/ 12087 s/:*$// 12088 s/^[^=]*=[ ]*$// 12089 }' 12090 fi 12091 11960 fi # test -n "$CONFIG_FILES" 11961 11962 _ACEOF 12092 11963 cat >>$CONFIG_STATUS <<\_ACEOF 12093 fi # test -n "$CONFIG_FILES" 12094 12095 12096 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 12097 do 12098 case $ac_tag in 12099 :[FHLC]) ac_mode=$ac_tag; continue;; 11964 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 11965 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 11966 case $ac_file in 11967 - | *:- | *:-:* ) # input from stdin 11968 cat >$tmp/stdin 11969 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 11970 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 11971 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 11972 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 11973 * ) ac_file_in=$ac_file.in ;; 12100 11974 esac 12101 case $ac_mode$ac_tag in 12102 :[FHL]*:*);; 12103 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 12104 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 12105 { (exit 1); exit 1; }; };; 12106 :[FH]-) ac_tag=-:-;; 12107 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 12108 esac 12109 ac_save_IFS=$IFS 12110 IFS=: 12111 set x $ac_tag 12112 IFS=$ac_save_IFS 12113 shift 12114 ac_file=$1 12115 shift 12116 12117 case $ac_mode in 12118 :L) ac_source=$1;; 12119 :[FH]) 12120 ac_file_inputs= 12121 for ac_f 12122 do 12123 case $ac_f in 12124 -) ac_f="$tmp/stdin";; 12125 *) # Look for the file first in the build tree, then in the source tree 12126 # (if the path is not absolute). The absolute path cannot be DOS-style, 12127 # because $ac_f cannot contain `:'. 12128 test -f "$ac_f" || 12129 case $ac_f in 12130 [\\/$]*) false;; 12131 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 12132 esac || 12133 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 12134 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 12135 { (exit 1); exit 1; }; };; 12136 esac 12137 ac_file_inputs="$ac_file_inputs $ac_f" 12138 done 12139 12140 # Let's still pretend it is `configure' which instantiates (i.e., don't 12141 # use $as_me), people would be surprised to read: 12142 # /* config.h. Generated by config.status. */ 12143 configure_input="Generated from "`IFS=: 12144 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 12145 if test x"$ac_file" != x-; then 12146 configure_input="$ac_file. $configure_input" 12147 { echo "$as_me:$LINENO: creating $ac_file" >&5 12148 echo "$as_me: creating $ac_file" >&6;} 12149 fi 12150 12151 case $ac_tag in 12152 *:-:* | *:-) cat >"$tmp/stdin";; 12153 esac 12154 ;; 12155 esac 12156 12157 ac_dir=`$as_dirname -- "$ac_file" || 11975 11976 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 11977 ac_dir=`(dirname "$ac_file") 2>/dev/null || 12158 11978 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12159 11979 X"$ac_file" : 'X\(//\)[^/]' \| \ 12160 11980 X"$ac_file" : 'X\(//\)$' \| \ 12161 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 11981 X"$ac_file" : 'X\(/\)' \| \ 11982 . : '\(.\)' 2>/dev/null || 12162 11983 echo X"$ac_file" | 12163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12164 s//\1/ 12165 q 12166 } 12167 /^X\(\/\/\)[^/].*/{ 12168 s//\1/ 12169 q 12170 } 12171 /^X\(\/\/\)$/{ 12172 s//\1/ 12173 q 12174 } 12175 /^X\(\/\).*/{ 12176 s//\1/ 12177 q 12178 } 12179 s/.*/./; q'` 12180 { as_dir="$ac_dir" 12181 case $as_dir in #( 12182 -*) as_dir=./$as_dir;; 12183 esac 12184 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 11984 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 11985 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 11986 /^X\(\/\/\)$/{ s//\1/; q; } 11987 /^X\(\/\).*/{ s//\1/; q; } 11988 s/.*/./; q'` 11989 { if $as_mkdir_p; then 11990 mkdir -p "$ac_dir" 11991 else 11992 as_dir="$ac_dir" 12185 11993 as_dirs= 12186 while :; do 12187 case $as_dir in #( 12188 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 12189 *) as_qdir=$as_dir;; 12190 esac 12191 as_dirs="'$as_qdir' $as_dirs" 12192 as_dir=`$as_dirname -- "$as_dir" || 11994 while test ! -d "$as_dir"; do 11995 as_dirs="$as_dir $as_dirs" 11996 as_dir=`(dirname "$as_dir") 2>/dev/null || 12193 11997 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12194 11998 X"$as_dir" : 'X\(//\)[^/]' \| \ 12195 11999 X"$as_dir" : 'X\(//\)$' \| \ 12196 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 12000 X"$as_dir" : 'X\(/\)' \| \ 12001 . : '\(.\)' 2>/dev/null || 12197 12002 echo X"$as_dir" | 12198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 12199 s//\1/ 12200 q 12201 } 12202 /^X\(\/\/\)[^/].*/{ 12203 s//\1/ 12204 q 12205 } 12206 /^X\(\/\/\)$/{ 12207 s//\1/ 12208 q 12209 } 12210 /^X\(\/\).*/{ 12211 s//\1/ 12212 q 12213 } 12214 s/.*/./; q'` 12215 test -d "$as_dir" && break 12003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 12004 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 12005 /^X\(\/\/\)$/{ s//\1/; q; } 12006 /^X\(\/\).*/{ s//\1/; q; } 12007 s/.*/./; q'` 12216 12008 done 12217 test -z "$as_dirs" || eval "mkdir $as_dirs"12218 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&512219 echo "$as_me: error: cannot create directory $as_dir" >&2;}12009 test ! -n "$as_dirs" || mkdir $as_dirs 12010 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 12011 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 12220 12012 { (exit 1); exit 1; }; }; } 12013 12221 12014 ac_builddir=. 12222 12015 12223 case "$ac_dir" in 12224 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 12016 if test "$ac_dir" != .; then 12017 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 12018 # A "../" for each directory in $ac_dir_suffix. 12019 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 12020 else 12021 ac_dir_suffix= ac_top_builddir= 12022 fi 12023 12024 case $srcdir in 12025 .) # No --srcdir option. We are building in place. 12026 ac_srcdir=. 12027 if test -z "$ac_top_builddir"; then 12028 ac_top_srcdir=. 12029 else 12030 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 12031 fi ;; 12032 [\\/]* | ?:[\\/]* ) # Absolute path. 12033 ac_srcdir=$srcdir$ac_dir_suffix; 12034 ac_top_srcdir=$srcdir ;; 12035 *) # Relative path. 12036 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 12037 ac_top_srcdir=$ac_top_builddir$srcdir ;; 12038 esac 12039 12040 # Do not use `cd foo && pwd` to compute absolute paths, because 12041 # the directories may not exist. 12042 case `pwd` in 12043 .) ac_abs_builddir="$ac_dir";; 12225 12044 *) 12226 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 12227 # A ".." for each directory in $ac_dir_suffix. 12228 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 12229 case $ac_top_builddir_sub in 12230 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 12231 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 12232 esac ;; 12045 case "$ac_dir" in 12046 .) ac_abs_builddir=`pwd`;; 12047 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 12048 *) ac_abs_builddir=`pwd`/"$ac_dir";; 12049 esac;; 12233 12050 esac 12234 ac_abs_top_builddir=$ac_pwd 12235 ac_abs_builddir=$ac_pwd$ac_dir_suffix 12236 # for backward compatibility: 12237 ac_top_builddir=$ac_top_build_prefix 12238 12239 case $srcdir in 12240 .) # We are building in place. 12241 ac_srcdir=. 12242 ac_top_srcdir=$ac_top_builddir_sub 12243 ac_abs_top_srcdir=$ac_pwd ;; 12244 [\\/]* | ?:[\\/]* ) # Absolute name. 12245 ac_srcdir=$srcdir$ac_dir_suffix; 12246 ac_top_srcdir=$srcdir 12247 ac_abs_top_srcdir=$srcdir ;; 12248 *) # Relative name. 12249 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 12250 ac_top_srcdir=$ac_top_build_prefix$srcdir 12251 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 12051 case $ac_abs_builddir in 12052 .) ac_abs_top_builddir=${ac_top_builddir}.;; 12053 *) 12054 case ${ac_top_builddir}. in 12055 .) ac_abs_top_builddir=$ac_abs_builddir;; 12056 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 12057 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 12058 esac;; 12252 12059 esac 12253 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 12254 12255 12256 case $ac_mode in 12257 :F) 12258 # 12259 # CONFIG_FILE 12260 # 12261 12262 _ACEOF 12263 12264 cat >>$CONFIG_STATUS <<\_ACEOF 12265 # If the template does not know about datarootdir, expand it. 12266 # FIXME: This hack should be removed a few years after 2.60. 12267 ac_datarootdir_hack=; ac_datarootdir_seen= 12268 12269 case `sed -n '/datarootdir/ { 12270 p 12271 q 12272 } 12273 /@datadir@/p 12274 /@docdir@/p 12275 /@infodir@/p 12276 /@localedir@/p 12277 /@mandir@/p 12278 ' $ac_file_inputs` in 12279 *datarootdir*) ac_datarootdir_seen=yes;; 12280 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 12281 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 12282 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 12283 _ACEOF 12284 cat >>$CONFIG_STATUS <<_ACEOF 12285 ac_datarootdir_hack=' 12286 s&@datadir@&$datadir&g 12287 s&@docdir@&$docdir&g 12288 s&@infodir@&$infodir&g 12289 s&@localedir@&$localedir&g 12290 s&@mandir@&$mandir&g 12291 s&\\\${datarootdir}&$datarootdir&g' ;; 12060 case $ac_abs_builddir in 12061 .) ac_abs_srcdir=$ac_srcdir;; 12062 *) 12063 case $ac_srcdir in 12064 .) ac_abs_srcdir=$ac_abs_builddir;; 12065 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 12066 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 12067 esac;; 12292 12068 esac 12293 _ACEOF 12294 12295 # Neutralize VPATH when `$srcdir' = `.'. 12296 # Shell code in configure.ac might set extrasub. 12297 # FIXME: do we really want to maintain this feature? 12069 case $ac_abs_builddir in 12070 .) ac_abs_top_srcdir=$ac_top_srcdir;; 12071 *) 12072 case $ac_top_srcdir in 12073 .) ac_abs_top_srcdir=$ac_abs_builddir;; 12074 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 12075 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 12076 esac;; 12077 esac 12078 12079 12080 12081 if test x"$ac_file" != x-; then 12082 { echo "$as_me:$LINENO: creating $ac_file" >&5 12083 echo "$as_me: creating $ac_file" >&6;} 12084 rm -f "$ac_file" 12085 fi 12086 # Let's still pretend it is `configure' which instantiates (i.e., don't 12087 # use $as_me), people would be surprised to read: 12088 # /* config.h. Generated by config.status. */ 12089 if test x"$ac_file" = x-; then 12090 configure_input= 12091 else 12092 configure_input="$ac_file. " 12093 fi 12094 configure_input=$configure_input"Generated from `echo $ac_file_in | 12095 sed 's,.*/,,'` by configure." 12096 12097 # First look for the input files in the build tree, otherwise in the 12098 # src tree. 12099 ac_file_inputs=`IFS=: 12100 for f in $ac_file_in; do 12101 case $f in 12102 -) echo $tmp/stdin ;; 12103 [\\/$]*) 12104 # Absolute (can't be DOS-style, as IFS=:) 12105 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 12106 echo "$as_me: error: cannot find input file: $f" >&2;} 12107 { (exit 1); exit 1; }; } 12108 echo "$f";; 12109 *) # Relative 12110 if test -f "$f"; then 12111 # Build tree 12112 echo "$f" 12113 elif test -f "$srcdir/$f"; then 12114 # Source tree 12115 echo "$srcdir/$f" 12116 else 12117 # /dev/null tree 12118 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 12119 echo "$as_me: error: cannot find input file: $f" >&2;} 12120 { (exit 1); exit 1; }; } 12121 fi;; 12122 esac 12123 done` || { (exit 1); exit 1; } 12124 _ACEOF 12298 12125 cat >>$CONFIG_STATUS <<_ACEOF 12299 12126 sed "$ac_vpsub … … 12303 12130 :t 12304 12131 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 12305 s&@configure_input@&$configure_input&;t t 12306 s&@top_builddir@&$ac_top_builddir_sub&;t t 12307 s&@srcdir@&$ac_srcdir&;t t 12308 s&@abs_srcdir@&$ac_abs_srcdir&;t t 12309 s&@top_srcdir@&$ac_top_srcdir&;t t 12310 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 12311 s&@builddir@&$ac_builddir&;t t 12312 s&@abs_builddir@&$ac_abs_builddir&;t t 12313 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 12314 $ac_datarootdir_hack 12315 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 12316 12317 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 12318 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 12319 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 12320 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12321 which seems to be undefined. Please make sure it is defined." >&5 12322 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 12323 which seems to be undefined. Please make sure it is defined." >&2;} 12324 12325 rm -f "$tmp/stdin" 12132 s,@configure_input@,$configure_input,;t t 12133 s,@srcdir@,$ac_srcdir,;t t 12134 s,@abs_srcdir@,$ac_abs_srcdir,;t t 12135 s,@top_srcdir@,$ac_top_srcdir,;t t 12136 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 12137 s,@builddir@,$ac_builddir,;t t 12138 s,@abs_builddir@,$ac_abs_builddir,;t t 12139 s,@top_builddir@,$ac_top_builddir,;t t 12140 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 12141 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 12142 rm -f $tmp/stdin 12143 if test x"$ac_file" != x-; then 12144 mv $tmp/out $ac_file 12145 else 12146 cat $tmp/out 12147 rm -f $tmp/out 12148 fi 12149 12150 done 12151 _ACEOF 12152 cat >>$CONFIG_STATUS <<\_ACEOF 12153 12154 # 12155 # CONFIG_HEADER section. 12156 # 12157 12158 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 12159 # NAME is the cpp macro being defined and VALUE is the value it is being given. 12160 # 12161 # ac_d sets the value in "#define NAME VALUE" lines. 12162 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 12163 ac_dB='[ ].*$,\1#\2' 12164 ac_dC=' ' 12165 ac_dD=',;t' 12166 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 12167 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 12168 ac_uB='$,\1#\2define\3' 12169 ac_uC=' ' 12170 ac_uD=',;t' 12171 12172 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 12173 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 12326 12174 case $ac_file in 12327 -) cat "$tmp/out"; rm -f "$tmp/out";; 12328 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 12175 - | *:- | *:-:* ) # input from stdin 12176 cat >$tmp/stdin 12177 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 12178 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 12179 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 12180 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 12181 * ) ac_file_in=$ac_file.in ;; 12329 12182 esac 12330 ;; 12331 :H) 12332 # 12333 # CONFIG_HEADER 12334 # 12335 _ACEOF 12336 12337 # Transform confdefs.h into a sed script `conftest.defines', that 12338 # substitutes the proper values into config.h.in to produce config.h. 12339 rm -f conftest.defines conftest.tail 12340 # First, append a space to every undef/define line, to ease matching. 12341 echo 's/$/ /' >conftest.defines 12342 # Then, protect against being on the right side of a sed subst, or in 12343 # an unquoted here document, in config.status. If some macros were 12344 # called several times there might be several #defines for the same 12345 # symbol, which is useless. But do not sort them, since the last 12346 # AC_DEFINE must be honored. 12347 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 12348 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 12349 # NAME is the cpp macro being defined, VALUE is the value it is being given. 12350 # PARAMS is the parameter list in the macro definition--in most cases, it's 12351 # just an empty string. 12352 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 12353 ac_dB='\\)[ (].*,\\1define\\2' 12354 ac_dC=' ' 12355 ac_dD=' ,' 12356 12357 uniq confdefs.h | 12358 sed -n ' 12359 t rset 12360 :rset 12361 s/^[ ]*#[ ]*define[ ][ ]*// 12362 t ok 12363 d 12364 :ok 12365 s/[\\&,]/\\&/g 12366 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 12367 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 12368 ' >>conftest.defines 12369 12370 # Remove the space that was appended to ease matching. 12371 # Then replace #undef with comments. This is necessary, for 12183 12184 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 12185 echo "$as_me: creating $ac_file" >&6;} 12186 12187 # First look for the input files in the build tree, otherwise in the 12188 # src tree. 12189 ac_file_inputs=`IFS=: 12190 for f in $ac_file_in; do 12191 case $f in 12192 -) echo $tmp/stdin ;; 12193 [\\/$]*) 12194 # Absolute (can't be DOS-style, as IFS=:) 12195 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 12196 echo "$as_me: error: cannot find input file: $f" >&2;} 12197 { (exit 1); exit 1; }; } 12198 # Do quote $f, to prevent DOS paths from being IFS'd. 12199 echo "$f";; 12200 *) # Relative 12201 if test -f "$f"; then 12202 # Build tree 12203 echo "$f" 12204 elif test -f "$srcdir/$f"; then 12205 # Source tree 12206 echo "$srcdir/$f" 12207 else 12208 # /dev/null tree 12209 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 12210 echo "$as_me: error: cannot find input file: $f" >&2;} 12211 { (exit 1); exit 1; }; } 12212 fi;; 12213 esac 12214 done` || { (exit 1); exit 1; } 12215 # Remove the trailing spaces. 12216 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 12217 12218 _ACEOF 12219 12220 # Transform confdefs.h into two sed scripts, `conftest.defines' and 12221 # `conftest.undefs', that substitutes the proper values into 12222 # config.h.in to produce config.h. The first handles `#define' 12223 # templates, and the second `#undef' templates. 12224 # And first: Protect against being on the right side of a sed subst in 12225 # config.status. Protect against being in an unquoted here document 12226 # in config.status. 12227 rm -f conftest.defines conftest.undefs 12228 # Using a here document instead of a string reduces the quoting nightmare. 12229 # Putting comments in sed scripts is not portable. 12230 # 12231 # `end' is used to avoid that the second main sed command (meant for 12232 # 0-ary CPP macros) applies to n-ary macro definitions. 12233 # See the Autoconf documentation for `clear'. 12234 cat >confdef2sed.sed <<\_ACEOF 12235 s/[\\&,]/\\&/g 12236 s,[\\$`],\\&,g 12237 t clear 12238 : clear 12239 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 12240 t end 12241 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 12242 : end 12243 _ACEOF 12244 # If some macros were called several times there might be several times 12245 # the same #defines, which is useless. Nevertheless, we may not want to 12246 # sort them, since we want the *last* AC-DEFINE to be honored. 12247 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 12248 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 12249 rm -f confdef2sed.sed 12250 12251 # This sed command replaces #undef with comments. This is necessary, for 12372 12252 # example, in the case of _POSIX_SOURCE, which is predefined and required 12373 12253 # on some systems where configure will not decide to define it. 12374 # (The regexp can be short, since the line contains either #define or #undef.) 12375 echo 's/ $// 12376 s,^[ #]*u.*,/* & */,' >>conftest.defines 12377 12378 # Break up conftest.defines: 12379 ac_max_sed_lines=50 12380 12381 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 12382 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 12383 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 12384 # et cetera. 12385 ac_in='$ac_file_inputs' 12386 ac_out='"$tmp/out1"' 12387 ac_nxt='"$tmp/out2"' 12388 12389 while : 12254 cat >>conftest.undefs <<\_ACEOF 12255 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 12256 _ACEOF 12257 12258 # Break up conftest.defines because some shells have a limit on the size 12259 # of here documents, and old seds have small limits too (100 cmds). 12260 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 12261 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 12262 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 12263 echo ' :' >>$CONFIG_STATUS 12264 rm -f conftest.tail 12265 while grep . conftest.defines >/dev/null 12390 12266 do 12391 # Write a here document: 12392 cat >>$CONFIG_STATUS <<_ACEOF 12393 # First, check the format of the line: 12394 cat >"\$tmp/defines.sed" <<\\CEOF 12395 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 12396 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 12397 b 12398 :def 12399 _ACEOF 12400 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 12267 # Write a limited-size here document to $tmp/defines.sed. 12268 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 12269 # Speed up: don't consider the non `#define' lines. 12270 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 12271 # Work around the forget-to-reset-the-flag bug. 12272 echo 't clr' >>$CONFIG_STATUS 12273 echo ': clr' >>$CONFIG_STATUS 12274 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 12401 12275 echo 'CEOF 12402 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 12403 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 12404 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 12405 grep . conftest.tail >/dev/null || break 12276 sed -f $tmp/defines.sed $tmp/in >$tmp/out 12277 rm -f $tmp/in 12278 mv $tmp/out $tmp/in 12279 ' >>$CONFIG_STATUS 12280 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 12406 12281 rm -f conftest.defines 12407 12282 mv conftest.tail conftest.defines 12408 12283 done 12409 rm -f conftest.defines conftest.tail 12410 12411 echo "ac_result=$ac_in" >>$CONFIG_STATUS 12284 rm -f conftest.defines 12285 echo ' fi # grep' >>$CONFIG_STATUS 12286 echo >>$CONFIG_STATUS 12287 12288 # Break up conftest.undefs because some shells have a limit on the size 12289 # of here documents, and old seds have small limits too (100 cmds). 12290 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 12291 rm -f conftest.tail 12292 while grep . conftest.undefs >/dev/null 12293 do 12294 # Write a limited-size here document to $tmp/undefs.sed. 12295 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 12296 # Speed up: don't consider the non `#undef' 12297 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 12298 # Work around the forget-to-reset-the-flag bug. 12299 echo 't clr' >>$CONFIG_STATUS 12300 echo ': clr' >>$CONFIG_STATUS 12301 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 12302 echo 'CEOF 12303 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 12304 rm -f $tmp/in 12305 mv $tmp/out $tmp/in 12306 ' >>$CONFIG_STATUS 12307 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 12308 rm -f conftest.undefs 12309 mv conftest.tail conftest.undefs 12310 done 12311 rm -f conftest.undefs 12312 12412 12313 cat >>$CONFIG_STATUS <<\_ACEOF 12314 # Let's still pretend it is `configure' which instantiates (i.e., don't 12315 # use $as_me), people would be surprised to read: 12316 # /* config.h. Generated by config.status. */ 12317 if test x"$ac_file" = x-; then 12318 echo "/* Generated by configure. */" >$tmp/config.h 12319 else 12320 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 12321 fi 12322 cat $tmp/in >>$tmp/config.h 12323 rm -f $tmp/in 12413 12324 if test x"$ac_file" != x-; then 12414 echo "/* $configure_input */" >"$tmp/config.h" 12415 cat "$ac_result" >>"$tmp/config.h" 12416 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 12325 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 12417 12326 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 12418 12327 echo "$as_me: $ac_file is unchanged" >&6;} 12419 12328 else 12329 ac_dir=`(dirname "$ac_file") 2>/dev/null || 12330 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12331 X"$ac_file" : 'X\(//\)[^/]' \| \ 12332 X"$ac_file" : 'X\(//\)$' \| \ 12333 X"$ac_file" : 'X\(/\)' \| \ 12334 . : '\(.\)' 2>/dev/null || 12335 echo X"$ac_file" | 12336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 12337 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 12338 /^X\(\/\/\)$/{ s//\1/; q; } 12339 /^X\(\/\).*/{ s//\1/; q; } 12340 s/.*/./; q'` 12341 { if $as_mkdir_p; then 12342 mkdir -p "$ac_dir" 12343 else 12344 as_dir="$ac_dir" 12345 as_dirs= 12346 while test ! -d "$as_dir"; do 12347 as_dirs="$as_dir $as_dirs" 12348 as_dir=`(dirname "$as_dir") 2>/dev/null || 12349 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 12350 X"$as_dir" : 'X\(//\)[^/]' \| \ 12351 X"$as_dir" : 'X\(//\)$' \| \ 12352 X"$as_dir" : 'X\(/\)' \| \ 12353 . : '\(.\)' 2>/dev/null || 12354 echo X"$as_dir" | 12355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 12356 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 12357 /^X\(\/\/\)$/{ s//\1/; q; } 12358 /^X\(\/\).*/{ s//\1/; q; } 12359 s/.*/./; q'` 12360 done 12361 test ! -n "$as_dirs" || mkdir $as_dirs 12362 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 12363 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 12364 { (exit 1); exit 1; }; }; } 12365 12420 12366 rm -f $ac_file 12421 mv "$tmp/config.h"$ac_file12367 mv $tmp/config.h $ac_file 12422 12368 fi 12423 12369 else 12424 echo "/* $configure_input */"12425 cat "$ac_result"12370 cat $tmp/config.h 12371 rm -f $tmp/config.h 12426 12372 fi 12427 rm -f "$tmp/out12" 12428 ;; 12429 12430 12431 esac 12432 12433 done # for ac_tag 12434 12373 done 12374 _ACEOF 12375 12376 cat >>$CONFIG_STATUS <<\_ACEOF 12435 12377 12436 12378 { (exit 0); exit 0; } … … 12463 12405 12464 12406 12465 {echo "$as_me:$LINENO: result:12407 echo "$as_me:$LINENO: result: 12466 12408 12467 12409 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. … … 12482 12424 12483 12425 The next step now is to run 'make dep' and 'make'. 12484 " >&6 ; }12485 12426 " >&6 12427 -
pjproject/trunk/aconfigure.ac
r2232 r2295 323 323 [AC_MSG_RESULT(no)]) 324 324 325 dnl ###################### 326 dnl # ioqueue selection 327 dnl # 325 328 AC_SUBST(ac_os_objs) 329 AC_MSG_CHECKING([ioqueue backend]) 330 AC_ARG_ENABLE(epoll, 331 AC_HELP_STRING([--enable-epoll], 332 [Use /dev/epoll ioqueue on Linux (beta)]), 333 [ 334 ac_os_objs=ioqueue_epoll.o 335 AC_MSG_RESULT([/dev/epoll]) 336 ], 337 [ 338 ac_os_objs=ioqueue_select.o 339 AC_MSG_RESULT([select()]) 340 ]) 341 342 343 dnl ###################### 344 dnl # OS specific files 345 dnl # 326 346 case $target in 327 347 *mingw* | *cygw* | *win32* | *w32* ) 328 ac_os_objs=" file_access_win32.o file_io_win32.o os_core_win32.o os_error_win32.o os_time_win32.o os_timestamp_win32.o guid_win32.o ioqueue_select.o"348 ac_os_objs="$ac_os_objs file_access_win32.o file_io_win32.o os_core_win32.o os_error_win32.o os_time_win32.o os_timestamp_win32.o guid_win32.o" 329 349 ;; 330 350 *) 331 ac_os_objs=" file_access_unistd.o file_io_ansi.o os_core_unix.o os_error_unix.o os_time_unix.o os_timestamp_posix.o ioqueue_select.o"351 ac_os_objs="$ac_os_objs file_access_unistd.o file_io_ansi.o os_core_unix.o os_error_unix.o os_time_unix.o os_timestamp_posix.o" 332 352 # UUID 333 353 if test "$ac_has_uuid_lib" = "1" -a "$ac_has_uuid_h" = "1"; then -
pjproject/trunk/pjlib/src/pj/ioqueue_epoll.c
r2039 r2295 176 176 struct epoll_event *events; 177 177 struct queue *queue; 178 179 #if PJ_IOQUEUE_HAS_SAFE_UNREG 180 pj_mutex_t *ref_cnt_mutex; 181 pj_ioqueue_key_t active_list; 182 pj_ioqueue_key_t closing_list; 183 pj_ioqueue_key_t free_list; 184 #endif 178 185 }; 179 186 … … 182 189 */ 183 190 #include "ioqueue_common_abs.c" 191 192 #if PJ_IOQUEUE_HAS_SAFE_UNREG 193 /* Scan closing keys to be put to free list again */ 194 static void scan_closing_keys(pj_ioqueue_t *ioqueue); 195 #endif 184 196 185 197 /* … … 207 219 pj_status_t rc; 208 220 pj_lock_t *lock; 221 int i; 209 222 210 223 /* Check that arguments are valid. */ … … 223 236 ioqueue->count = 0; 224 237 pj_list_init(&ioqueue->hlist); 238 239 #if PJ_IOQUEUE_HAS_SAFE_UNREG 240 /* When safe unregistration is used (the default), we pre-create 241 * all keys and put them in the free list. 242 */ 243 244 /* Mutex to protect key's reference counter 245 * We don't want to use key's mutex or ioqueue's mutex because 246 * that would create deadlock situation in some cases. 247 */ 248 rc = pj_mutex_create_simple(pool, NULL, &ioqueue->ref_cnt_mutex); 249 if (rc != PJ_SUCCESS) 250 return rc; 251 252 253 /* Init key list */ 254 pj_list_init(&ioqueue->free_list); 255 pj_list_init(&ioqueue->closing_list); 256 257 258 /* Pre-create all keys according to max_fd */ 259 for ( i=0; i<max_fd; ++i) { 260 pj_ioqueue_key_t *key; 261 262 key = PJ_POOL_ALLOC_T(pool, pj_ioqueue_key_t); 263 key->ref_count = 0; 264 rc = pj_mutex_create_recursive(pool, NULL, &key->mutex); 265 if (rc != PJ_SUCCESS) { 266 key = ioqueue->free_list.next; 267 while (key != &ioqueue->free_list) { 268 pj_mutex_destroy(key->mutex); 269 key = key->next; 270 } 271 pj_mutex_destroy(ioqueue->ref_cnt_mutex); 272 return rc; 273 } 274 275 pj_list_push_back(&ioqueue->free_list, key); 276 } 277 #endif 225 278 226 279 rc = pj_lock_create_simple_mutex(pool, "ioq%p", &lock); … … 257 310 PJ_DEF(pj_status_t) pj_ioqueue_destroy(pj_ioqueue_t *ioqueue) 258 311 { 312 pj_ioqueue_key_t *key; 313 259 314 PJ_ASSERT_RETURN(ioqueue, PJ_EINVAL); 260 315 PJ_ASSERT_RETURN(ioqueue->epfd > 0, PJ_EINVALIDOP); … … 263 318 os_close(ioqueue->epfd); 264 319 ioqueue->epfd = 0; 320 321 #if PJ_IOQUEUE_HAS_SAFE_UNREG 322 /* Destroy reference counters */ 323 key = ioqueue->active_list.next; 324 while (key != &ioqueue->active_list) { 325 pj_mutex_destroy(key->mutex); 326 key = key->next; 327 } 328 329 key = ioqueue->closing_list.next; 330 while (key != &ioqueue->closing_list) { 331 pj_mutex_destroy(key->mutex); 332 key = key->next; 333 } 334 335 key = ioqueue->free_list.next; 336 while (key != &ioqueue->free_list) { 337 pj_mutex_destroy(key->mutex); 338 key = key->next; 339 } 340 341 pj_mutex_destroy(ioqueue->ref_cnt_mutex); 342 #endif 265 343 return ioqueue_destroy(ioqueue); 266 344 } … … 304 382 } 305 383 384 /* If safe unregistration (PJ_IOQUEUE_HAS_SAFE_UNREG) is used, get 385 * the key from the free list. Otherwise allocate a new one. 386 */ 387 #if PJ_IOQUEUE_HAS_SAFE_UNREG 388 389 /* Scan closing_keys first to let them come back to free_list */ 390 scan_closing_keys(ioqueue); 391 392 pj_assert(!pj_list_empty(&ioqueue->free_list)); 393 if (pj_list_empty(&ioqueue->free_list)) { 394 rc = PJ_ETOOMANY; 395 goto on_return; 396 } 397 398 key = ioqueue->free_list.next; 399 pj_list_erase(key); 400 #else 306 401 /* Create key. */ 307 402 key = (pj_ioqueue_key_t*)pj_pool_zalloc(pool, sizeof(pj_ioqueue_key_t)); 403 #endif 404 308 405 rc = ioqueue_init_key(pool, ioqueue, key, sock, user_data, cb); 309 406 if (rc != PJ_SUCCESS) { … … 313 410 314 411 /* Create key's mutex */ 315 rc = pj_mutex_create_recursive(pool, NULL, &key->mutex);412 /* rc = pj_mutex_create_recursive(pool, NULL, &key->mutex); 316 413 if (rc != PJ_SUCCESS) { 317 414 key = NULL; 318 415 goto on_return; 319 416 } 320 417 */ 321 418 /* os_epoll_ctl. */ 322 419 ev.events = EPOLLIN | EPOLLERR; … … 346 443 } 347 444 445 #if PJ_IOQUEUE_HAS_SAFE_UNREG 446 /* Increment key's reference counter */ 447 static void increment_counter(pj_ioqueue_key_t *key) 448 { 449 pj_mutex_lock(key->ioqueue->ref_cnt_mutex); 450 ++key->ref_count; 451 pj_mutex_unlock(key->ioqueue->ref_cnt_mutex); 452 } 453 454 /* Decrement the key's reference counter, and when the counter reach zero, 455 * destroy the key. 456 * 457 * Note: MUST NOT CALL THIS FUNCTION WHILE HOLDING ioqueue's LOCK. 458 */ 459 static void decrement_counter(pj_ioqueue_key_t *key) 460 { 461 pj_lock_acquire(key->ioqueue->lock); 462 pj_mutex_lock(key->ioqueue->ref_cnt_mutex); 463 --key->ref_count; 464 if (key->ref_count == 0) { 465 466 pj_assert(key->closing == 1); 467 pj_gettimeofday(&key->free_time); 468 key->free_time.msec += PJ_IOQUEUE_KEY_FREE_DELAY; 469 pj_time_val_normalize(&key->free_time); 470 471 pj_list_erase(key); 472 pj_list_push_back(&key->ioqueue->closing_list, key); 473 474 } 475 pj_mutex_unlock(key->ioqueue->ref_cnt_mutex); 476 pj_lock_release(key->ioqueue->lock); 477 } 478 #endif 479 348 480 /* 349 481 * pj_ioqueue_unregister() … … 364 496 pj_assert(ioqueue->count > 0); 365 497 --ioqueue->count; 498 #if !PJ_IOQUEUE_HAS_SAFE_UNREG 366 499 pj_list_erase(key); 500 #endif 367 501 368 502 ev.events = 0; … … 375 509 } 376 510 377 pj_lock_release(ioqueue->lock);378 379 511 /* Destroy the key. */ 380 512 pj_sock_close(key->fd); 513 514 pj_lock_release(ioqueue->lock); 515 516 517 #if PJ_IOQUEUE_HAS_SAFE_UNREG 518 /* Mark key is closing. */ 519 key->closing = 1; 520 521 /* Decrement counter. */ 522 decrement_counter(key); 523 524 /* Done. */ 525 pj_mutex_unlock(key->mutex); 526 #else 381 527 pj_mutex_destroy(key->mutex); 528 #endif 382 529 383 530 return PJ_SUCCESS; … … 420 567 } 421 568 } 569 570 #if PJ_IOQUEUE_HAS_SAFE_UNREG 571 /* Scan closing keys to be put to free list again */ 572 static void scan_closing_keys(pj_ioqueue_t *ioqueue) 573 { 574 pj_time_val now; 575 pj_ioqueue_key_t *h; 576 577 pj_gettimeofday(&now); 578 h = ioqueue->closing_list.next; 579 while (h != &ioqueue->closing_list) { 580 pj_ioqueue_key_t *next = h->next; 581 582 pj_assert(h->closing != 0); 583 584 if (PJ_TIME_VAL_GTE(now, h->free_time)) { 585 pj_list_erase(h); 586 pj_list_push_back(&ioqueue->free_list, h); 587 } 588 h = next; 589 } 590 } 591 #endif 422 592 423 593 /* … … 442 612 count = os_epoll_wait( ioqueue->epfd, events, ioqueue->max, msec); 443 613 if (count == 0) { 614 #if PJ_IOQUEUE_HAS_SAFE_UNREG 615 /* Check the closing keys only when there's no activity and when there are 616 * pending closing keys. 617 */ 618 if (count == 0 && !pj_list_empty(&ioqueue->closing_list)) { 619 pj_lock_acquire(ioqueue->lock); 620 scan_closing_keys(ioqueue); 621 pj_lock_release(ioqueue->lock); 622 } 623 #endif 444 624 TRACE_((THIS_FILE, "os_epoll_wait timed out")); 445 625 return count; … … 468 648 if ((events[i].events & EPOLLIN) && 469 649 (key_has_pending_read(h) || key_has_pending_accept(h))) { 650 651 #if PJ_IOQUEUE_HAS_SAFE_UNREG 652 increment_counter(h); 653 #endif 470 654 queue[processed].key = h; 471 655 queue[processed].event_type = READABLE_EVENT; … … 477 661 */ 478 662 if ((events[i].events & EPOLLOUT) && key_has_pending_write(h)) { 663 664 #if PJ_IOQUEUE_HAS_SAFE_UNREG 665 increment_counter(h); 666 #endif 479 667 queue[processed].key = h; 480 668 queue[processed].event_type = WRITEABLE_EVENT; … … 487 675 */ 488 676 if ((events[i].events & EPOLLOUT) && (h->connecting)) { 677 678 #if PJ_IOQUEUE_HAS_SAFE_UNREG 679 increment_counter(h); 680 #endif 489 681 queue[processed].key = h; 490 682 queue[processed].event_type = WRITEABLE_EVENT; … … 497 689 */ 498 690 if (events[i].events & EPOLLERR && (h->connecting)) { 691 692 #if PJ_IOQUEUE_HAS_SAFE_UNREG 693 increment_counter(h); 694 #endif 499 695 queue[processed].key = h; 500 696 queue[processed].event_type = EXCEPTION_EVENT; … … 520 716 break; 521 717 } 718 719 #if PJ_IOQUEUE_HAS_SAFE_UNREG 720 decrement_counter(queue[i].key); 721 #endif 522 722 } 523 723
Note: See TracChangeset
for help on using the changeset viewer.