Changeset 2232
- Timestamp:
- Aug 21, 2008 8:59:58 PM (16 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r2190 r2232 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59 for pjproject 0.8.3 # Generated by GNU Autoconf 2.61 for pjproject 1.0. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. … … 10 11 ## --------------------- ## 11 12 12 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 13 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 16 emulate sh … … 17 19 # is contrary to our usage. Disable this feature. 18 20 alias -g '${1+"$@"}'='"$@"' 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. 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 79 33 # Avoid depending upon Character Ranges. 80 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 97 51 fi 98 52 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 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 110 74 for as_dir in $PATH 111 75 do … … 114 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 79 done 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 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 123 112 fi 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 '') 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= 130 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 133 224 IFS=$as_save_IFS 134 225 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 226 case $as_dir in 137 227 /*) 138 if ("$as_dir/$as_base" -c ' 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 ( 139 328 as_lineno_1=$LINENO 140 329 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`142 330 test "x$as_lineno_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 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" || { 155 427 156 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 429 # uniformly replaced by the line number. The first 'sed' inserts a 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. 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. 162 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 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 | 165 442 sed ' 443 s/[$]LINENO.*/&-/ 444 t lineno 445 b 446 :lineno 166 447 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 448 :loop 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 450 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 451 s/-\n.*// 173 452 ' >$as_me.lineno && 174 chmod +x $as_me.lineno||453 chmod +x "$as_me.lineno" || 175 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 455 { (exit 1); exit 1; }; } … … 178 457 # Don't try to exec as it changes $[0], causing all sort of problems 179 458 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno459 # original and so on. Autoconf is especially sensitive to this). 460 . "./$as_me.lineno" 182 461 # Exit status is that of the last command. 183 462 exit … … 185 464 186 465 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= ;; 192 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 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';; 481 esac 482 483 if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 195 485 as_expr=expr 196 486 else … … 199 489 200 490 rm -f conf$$ conf$$.exe conf$$.file 491 if test -d conf$$.dir; then 492 rm -f conf$$.dir/conf$$.file 493 else 494 rm -f conf$$.dir 495 mkdir conf$$.dir 496 fi 201 497 echo >conf$$.file 202 498 if ln -s conf$$.file conf$$ 2>/dev/null; then 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 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 || 207 505 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 fi211 506 elif ln conf$$.file conf$$ 2>/dev/null; then 212 507 as_ln_s=ln … … 214 509 as_ln_s='cp -p' 215 510 fi 216 rm -f conf$$ conf$$.exe conf$$.file 511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512 rmdir conf$$.dir 2>/dev/null 217 513 218 514 if mkdir -p . 2>/dev/null; then … … 223 519 fi 224 520 225 as_executable_p="test -f" 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 226 543 227 544 # Sed expression to map a string onto a valid CPP name. … … 232 549 233 550 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 551 552 exec 7<&0 </dev/null 6>&1 243 553 244 554 # Name of the host. … … 247 557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 558 249 exec 6>&1250 251 559 # 252 560 # Initializations. 253 561 # 254 562 ac_default_prefix=/usr/local 563 ac_clean_files= 255 564 ac_config_libobj_dir=. 565 LIBOBJS= 256 566 cross_compiling=no 257 567 subdirs= … … 260 570 SHELL=${CONFIG_SHELL-/bin/sh} 261 571 262 # Maximum number of lines to put in a shell here document.263 # This variable seems obsolete. It should probably be removed, and264 # only ac_max_sed_lines should be used.265 : ${ac_max_here_lines=38}266 267 572 # Identity of this package. 268 573 PACKAGE_NAME='pjproject' 269 574 PACKAGE_TARNAME='pjproject' 270 PACKAGE_VERSION=' 0.8'271 PACKAGE_STRING='pjproject 0.8'575 PACKAGE_VERSION='1.0' 576 PACKAGE_STRING='pjproject 1.0' 272 577 PACKAGE_BUGREPORT='' 273 578 … … 275 580 ac_includes_default="\ 276 581 #include <stdio.h> 277 #if HAVE_SYS_TYPES_H582 #ifdef HAVE_SYS_TYPES_H 278 583 # include <sys/types.h> 279 584 #endif 280 #if HAVE_SYS_STAT_H585 #ifdef HAVE_SYS_STAT_H 281 586 # include <sys/stat.h> 282 587 #endif 283 #if STDC_HEADERS588 #ifdef STDC_HEADERS 284 589 # include <stdlib.h> 285 590 # include <stddef.h> 286 591 #else 287 # if HAVE_STDLIB_H592 # ifdef HAVE_STDLIB_H 288 593 # include <stdlib.h> 289 594 # endif 290 595 #endif 291 #if HAVE_STRING_H292 # if ! STDC_HEADERS &&HAVE_MEMORY_H596 #ifdef HAVE_STRING_H 597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 293 598 # include <memory.h> 294 599 # endif 295 600 # include <string.h> 296 601 #endif 297 #if HAVE_STRINGS_H602 #ifdef HAVE_STRINGS_H 298 603 # include <strings.h> 299 604 #endif 300 #if HAVE_INTTYPES_H605 #ifdef HAVE_INTTYPES_H 301 606 # include <inttypes.h> 302 #else303 # if HAVE_STDINT_H304 # include <stdint.h>305 # endif306 607 #endif 307 #if HAVE_UNISTD_H 608 #ifdef HAVE_STDINT_H 609 # include <stdint.h> 610 #endif 611 #ifdef HAVE_UNISTD_H 308 612 # include <unistd.h> 309 613 #endif" 310 614 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 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' 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' 312 703 ac_subst_files='' 704 ac_precious_vars='build_alias 705 host_alias 706 target_alias 707 CC 708 CFLAGS 709 LDFLAGS 710 LIBS 711 CPPFLAGS 712 CXX 713 CXXFLAGS 714 CCC 715 CPP' 716 313 717 314 718 # Initialize some variables set by options. … … 337 741 # by default will actually change. 338 742 # Use braces instead of parens because sh, perl, etc. also accept them. 743 # (The list follows the same order as the GNU Coding Standards.) 339 744 bindir='${exec_prefix}/bin' 340 745 sbindir='${exec_prefix}/sbin' 341 746 libexecdir='${exec_prefix}/libexec' 342 datadir='${prefix}/share' 747 datarootdir='${prefix}/share' 748 datadir='${datarootdir}' 343 749 sysconfdir='${prefix}/etc' 344 750 sharedstatedir='${prefix}/com' 345 751 localstatedir='${prefix}/var' 346 libdir='${exec_prefix}/lib'347 752 includedir='${prefix}/include' 348 753 oldincludedir='/usr/include' 349 infodir='${prefix}/info' 350 mandir='${prefix}/man' 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' 351 763 352 764 ac_prev= 765 ac_dashdash= 353 766 for ac_option 354 767 do 355 768 # If the previous option needs an argument, assign it. 356 769 if test -n "$ac_prev"; then 357 eval "$ac_prev=\$ac_option"770 eval $ac_prev=\$ac_option 358 771 ac_prev= 359 772 continue 360 773 fi 361 774 362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 775 case $ac_option in 776 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 777 *) ac_optarg=yes ;; 778 esac 363 779 364 780 # Accept the important Cygnus configure options, so we can diagnose typos. 365 781 366 case $ac_option in 782 case $ac_dashdash$ac_option in 783 --) 784 ac_dashdash=yes ;; 367 785 368 786 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 386 804 cache_file=config.cache ;; 387 805 388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)806 -datadir | --datadir | --datadi | --datad) 389 807 ac_prev=datadir ;; 390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 391 | --da=*) 808 -datadir=* | --datadir=* | --datadi=* | --datad=*) 392 809 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 ;; 393 817 394 818 -disable-* | --disable-*) 395 819 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 396 820 # Reject names that are not valid shell variable names. 397 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&821 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 398 822 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 399 823 { (exit 1); exit 1; }; } 400 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 401 eval "enable_$ac_feature=no" ;; 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 ;; 402 836 403 837 -enable-* | --enable-*) 404 838 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 405 839 # Reject names that are not valid shell variable names. 406 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&840 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 407 841 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 408 842 { (exit 1); exit 1; }; } 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'" ;; 843 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 844 eval enable_$ac_feature=\$ac_optarg ;; 415 845 416 846 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 439 869 host_alias=$ac_optarg ;; 440 870 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 441 877 -includedir | --includedir | --includedi | --included | --include \ 442 878 | --includ | --inclu | --incl | --inc) … … 463 899 libexecdir=$ac_optarg ;; 464 900 901 -localedir | --localedir | --localedi | --localed | --locale) 902 ac_prev=localedir ;; 903 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 904 localedir=$ac_optarg ;; 905 465 906 -localstatedir | --localstatedir | --localstatedi | --localstated \ 466 | --localstate | --localstat | --localsta | --localst \ 467 | --locals | --local | --loca | --loc | --lo) 907 | --localstate | --localstat | --localsta | --localst | --locals) 468 908 ac_prev=localstatedir ;; 469 909 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 910 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 472 911 localstatedir=$ac_optarg ;; 473 912 … … 534 973 program_transform_name=$ac_optarg ;; 535 974 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 536 985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 537 986 | -silent | --silent | --silen | --sile | --sil) … … 586 1035 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 587 1036 # Reject names that are not valid shell variable names. 588 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1037 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 589 1038 { echo "$as_me: error: invalid package name: $ac_package" >&2 590 1039 { (exit 1); exit 1; }; } 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'" ;; 1040 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1041 eval with_$ac_package=\$ac_optarg ;; 597 1042 598 1043 -without-* | --without-*) 599 1044 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 600 1045 # Reject names that are not valid shell variable names. 601 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1046 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 602 1047 { echo "$as_me: error: invalid package name: $ac_package" >&2 603 1048 { (exit 1); exit 1; }; } 604 ac_package=`echo $ac_package | sed 's/ -/_/g'`605 eval "with_$ac_package=no";;1049 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1050 eval with_$ac_package=no ;; 606 1051 607 1052 --x) … … 634 1079 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 635 1080 { (exit 1); exit 1; }; } 636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 637 eval "$ac_envvar='$ac_optarg'" 1081 eval $ac_envvar=\$ac_optarg 638 1082 export $ac_envvar ;; 639 1083 … … 655 1099 fi 656 1100 657 # Be sure to have absolute paths. 658 for ac_var in exec_prefix prefix 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 659 1106 do 660 eval ac_val= $`echo $ac_var`1107 eval ac_val=\$$ac_var 661 1108 case $ac_val in 662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 664 { (exit 1); exit 1; }; };; 1109 [\\/$]* | ?:[\\/]* ) continue;; 1110 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 665 1111 esac 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 1112 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1113 { (exit 1); exit 1; }; } 678 1114 done 679 1115 … … 702 1138 703 1139 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" >&2 1144 { (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" >&2 1147 { (exit 1); exit 1; }; } 1148 1149 704 1150 # Find the source files, if location was not specified. 705 1151 if test -z "$srcdir"; then 706 1152 ac_srcdir_defaulted=yes 707 # Try the directory containing this script, then its parent.708 ac_confdir=` (dirname "$0") 2>/dev/null||1153 # Try the directory containing this script, then the parent directory. 1154 ac_confdir=`$as_dirname -- "$0" || 709 1155 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 710 1156 X"$0" : 'X\(//\)[^/]' \| \ 711 1157 X"$0" : 'X\(//\)$' \| \ 712 X"$0" : 'X\(/\)' \| \ 713 . : '\(.\)' 2>/dev/null || 1158 X"$0" : 'X\(/\)' \| . 2>/dev/null || 714 1159 echo X"$0" | 715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 716 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 717 /^X\(\/\/\)$/{ s//\1/; q; } 718 /^X\(\/\).*/{ s//\1/; q; } 719 s/.*/./; q'` 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'` 720 1177 srcdir=$ac_confdir 721 if test ! -r $srcdir/$ac_unique_file; then1178 if test ! -r "$srcdir/$ac_unique_file"; then 722 1179 srcdir=.. 723 1180 fi … … 725 1182 ac_srcdir_defaulted=no 726 1183 fi 727 if test ! -r $srcdir/$ac_unique_file; then728 if test "$ac_srcdir_defaulted" = yes; then729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21184 if test ! -r "$srcdir/$ac_unique_file"; then 1185 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1186 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 730 1187 { (exit 1); exit 1; }; } 731 else 732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 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 733 1192 { (exit 1); exit 1; }; } 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 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 780 1210 781 1211 # … … 786 1216 # This message is too long to be a string in the A/UX 3.1 sh. 787 1217 cat <<_ACEOF 788 \`configure' configures pjproject 0.8to adapt to many kinds of systems.1218 \`configure' configures pjproject 1.0 to adapt to many kinds of systems. 789 1219 790 1220 Usage: $0 [OPTION]... [VAR=VALUE]... … … 806 1236 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 807 1237 808 _ACEOF809 810 cat <<_ACEOF811 1238 Installation directories: 812 1239 --prefix=PREFIX install architecture-independent files in PREFIX … … 826 1253 --sbindir=DIR system admin executables [EPREFIX/sbin] 827 1254 --libexecdir=DIR program executables [EPREFIX/libexec] 828 --datadir=DIR read-only architecture-independent data [PREFIX/share]829 1255 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 830 1256 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 833 1259 --includedir=DIR C header files [PREFIX/include] 834 1260 --oldincludedir=DIR C header files for non-gcc [/usr/include] 835 --infodir=DIR info documentation [PREFIX/info] 836 --mandir=DIR man documentation [PREFIX/man] 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] 837 1271 _ACEOF 838 1272 … … 848 1282 if test -n "$ac_init_help"; then 849 1283 case $ac_init_help in 850 short | recursive ) echo "Configuration of pjproject 0.8:";;1284 short | recursive ) echo "Configuration of pjproject 1.0:";; 851 1285 esac 852 1286 cat <<\_ACEOF … … 872 1306 --enable-libsamplerate Link with libsamplerate when available. Note that 873 1307 PJMEDIA_RESAMPLE_IMP must also be configured 1308 --enable-ipp Enable Intel IPP support. Specify the Intel IPP 1309 package and samples location using IPPROOT and 1310 IPPSAMPLES env var or with --with-ipp and 1311 --with-ipp-samples options 1312 --with-ipp=DIR Specify the Intel IPP location 1313 --with-ipp-samples=DIR Specify the Intel IPP samples location 874 1314 --disable-ssl Exclude SSL support the build (default: autodetect) 875 1315 … … 880 1320 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 881 1321 nonstandard directory <lib dir> 882 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 883 headers in a nonstandard directory <include 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> 884 1325 CXX C++ compiler command 885 1326 CXXFLAGS C++ compiler flags … … 890 1331 891 1332 _ACEOF 1333 ac_status=$? 892 1334 fi 893 1335 894 1336 if test "$ac_init_help" = "recursive"; then 895 1337 # If there are subdirs, report their specific --help. 896 ac_popdir=`pwd`897 1338 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 898 test -d $ac_dir|| continue1339 test -d "$ac_dir" || continue 899 1340 ac_builddir=. 900 1341 901 if test "$ac_dir" != .; then 1342 case "$ac_dir" in 1343 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1344 *) 902 1345 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 903 # A "../" for each directory in $ac_dir_suffix. 904 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 905 else 906 ac_dir_suffix= ac_top_builddir= 907 fi 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 ;; 1352 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 908 1357 909 1358 case $srcdir in 910 .) # No --srcdir option.We are building in place.1359 .) # We are building in place. 911 1360 ac_srcdir=. 912 if test -z "$ac_top_builddir"; then 913 ac_top_srcdir=. 914 else 915 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 916 fi ;; 917 [\\/]* | ?:[\\/]* ) # Absolute path. 1361 ac_top_srcdir=$ac_top_builddir_sub 1362 ac_abs_top_srcdir=$ac_pwd ;; 1363 [\\/]* | ?:[\\/]* ) # Absolute name. 918 1364 ac_srcdir=$srcdir$ac_dir_suffix; 919 ac_top_srcdir=$srcdir ;; 920 *) # Relative path. 921 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 922 ac_top_srcdir=$ac_top_builddir$srcdir ;; 923 esac 924 925 # Do not use `cd foo && pwd` to compute absolute paths, because 926 # the directories may not exist. 927 case `pwd` in 928 .) ac_abs_builddir="$ac_dir";; 929 *) 930 case "$ac_dir" in 931 .) ac_abs_builddir=`pwd`;; 932 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 933 *) ac_abs_builddir=`pwd`/"$ac_dir";; 934 esac;; 935 esac 936 case $ac_abs_builddir in 937 .) ac_abs_top_builddir=${ac_top_builddir}.;; 938 *) 939 case ${ac_top_builddir}. in 940 .) ac_abs_top_builddir=$ac_abs_builddir;; 941 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 942 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 943 esac;; 944 esac 945 case $ac_abs_builddir in 946 .) ac_abs_srcdir=$ac_srcdir;; 947 *) 948 case $ac_srcdir in 949 .) ac_abs_srcdir=$ac_abs_builddir;; 950 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 951 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 952 esac;; 953 esac 954 case $ac_abs_builddir in 955 .) ac_abs_top_srcdir=$ac_top_srcdir;; 956 *) 957 case $ac_top_srcdir in 958 .) ac_abs_top_srcdir=$ac_abs_builddir;; 959 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 960 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 961 esac;; 962 esac 963 964 cd $ac_dir 965 # Check for guested configure; otherwise get Cygnus style configure. 966 if test -f $ac_srcdir/configure.gnu; then 967 echo 968 $SHELL $ac_srcdir/configure.gnu --help=recursive 969 elif test -f $ac_srcdir/configure; then 970 echo 971 $SHELL $ac_srcdir/configure --help=recursive 972 elif test -f $ac_srcdir/configure.ac || 973 test -f $ac_srcdir/configure.in; then 974 echo 975 $ac_configure --help 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 ;; 1371 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 976 1382 else 977 1383 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 978 fi 979 cd $ac_popdir1384 fi || ac_status=$? 1385 cd "$ac_pwd" || { ac_status=$?; break; } 980 1386 done 981 1387 fi 982 1388 983 test -n "$ac_init_help" && exit 01389 test -n "$ac_init_help" && exit $ac_status 984 1390 if $ac_init_version; then 985 1391 cat <<\_ACEOF 986 pjproject configure 0.8 987 generated by GNU Autoconf 2.59 988 989 Copyright (C) 2003 Free Software Foundation, Inc. 1392 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. 990 1397 This configure script is free software; the Free Software Foundation 991 1398 gives unlimited permission to copy, distribute and modify it. 992 1399 _ACEOF 993 exit 0 994 fi 995 exec 5>config.log 996 cat >&5 <<_ACEOF 1400 exit 1401 fi 1402 cat >config.log <<_ACEOF 997 1403 This file contains any messages produced by compilers while 998 1404 running configure, to aid debugging if configure makes a mistake. 999 1405 1000 It was created by pjproject $as_me 0.8, which was1001 generated by GNU Autoconf 2. 59. Invocation command line was1406 It was created by pjproject $as_me 1.0, which was 1407 generated by GNU Autoconf 2.61. Invocation command line was 1002 1408 1003 1409 $ $0 $@ 1004 1410 1005 1411 _ACEOF 1412 exec 5>>config.log 1006 1413 { 1007 1414 cat <<_ASUNAME … … 1022 1429 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1023 1430 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1024 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1431 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1025 1432 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1026 1433 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1036 1443 echo "PATH: $as_dir" 1037 1444 done 1445 IFS=$as_save_IFS 1038 1446 1039 1447 } >&5 … … 1057 1465 ac_configure_args0= 1058 1466 ac_configure_args1= 1059 ac_sep=1060 1467 ac_must_keep_next=false 1061 1468 for ac_pass in 1 2 … … 1068 1475 | -silent | --silent | --silen | --sile | --sil) 1069 1476 continue ;; 1070 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1477 *\'*) 1071 1478 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1072 1479 esac … … 1090 1497 esac 1091 1498 fi 1092 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1093 # Get rid of the leading space. 1094 ac_sep=" " 1499 ac_configure_args="$ac_configure_args '$ac_arg'" 1095 1500 ;; 1096 1501 esac … … 1103 1508 # config.log. We remove comments because anyway the quotes in there 1104 1509 # would cause problems or look ugly. 1105 # WARNING: Be sure not to use single quotes in there, as some shells,1106 # such as our DU 5.0 friend, will then `close' the trap.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. 1107 1512 trap 'exit_status=$? 1108 1513 # Save into config.log some information that might help in debugging. … … 1117 1522 echo 1118 1523 # The following way of writing the cache mishandles newlines in values, 1119 { 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 1120 1539 (set) 2>&1 | 1121 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1122 * ac_space=\ *)1540 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1541 *${as_nl}ac_space=\ *) 1123 1542 sed -n \ 1124 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1543 "s/'\''/'\''\\\\'\'''\''/g; 1544 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1545 ;; #( 1546 *) 1547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1126 1548 ;; 1127 *) 1128 sed -n \ 1129 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1130 ;; 1131 esac; 1132 } 1549 esac | 1550 sort 1551 ) 1133 1552 echo 1134 1553 … … 1141 1560 for ac_var in $ac_subst_vars 1142 1561 do 1143 eval ac_val=$`echo $ac_var` 1144 echo "$ac_var='"'"'$ac_val'"'"'" 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'\''" 1145 1567 done | sort 1146 1568 echo … … 1148 1570 if test -n "$ac_subst_files"; then 1149 1571 cat <<\_ASBOX 1150 ## ------------- ##1151 ## Output files. ##1152 ## ------------- ##1572 ## ------------------- ## 1573 ## File substitutions. ## 1574 ## ------------------- ## 1153 1575 _ASBOX 1154 1576 echo 1155 1577 for ac_var in $ac_subst_files 1156 1578 do 1157 eval ac_val=$`echo $ac_var` 1158 echo "$ac_var='"'"'$ac_val'"'"'" 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'\''" 1159 1584 done | sort 1160 1585 echo … … 1168 1593 _ASBOX 1169 1594 echo 1170 sed "/^$/d" confdefs.h | sort1595 cat confdefs.h 1171 1596 echo 1172 1597 fi … … 1175 1600 echo "$as_me: exit $exit_status" 1176 1601 } >&5 1177 rm -f core *.core &&1178 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1602 rm -f core *.core core.conftest.* && 1603 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1179 1604 exit $exit_status 1180 1605 ' 0 1181 1606 for ac_signal in 1 2 13 15; do 1182 1607 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1185 1610 1186 1611 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1187 rm -rf conftest* confdefs.h 1188 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1189 echo >confdefs.h 1612 rm -f -r conftest* confdefs.h 1190 1613 1191 1614 # Predefined preprocessor variables. … … 1218 1641 # Let the site file select an alternate cache file if it wants to. 1219 1642 # Prefer explicitly selected file to automatically selected ones. 1220 if test -z "$CONFIG_SITE"; then 1221 if test "x$prefix" != xNONE; then 1222 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1223 else 1224 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1225 fi 1226 fi 1227 for ac_site_file in $CONFIG_SITE; do 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 1228 1654 if test -r "$ac_site_file"; then 1229 1655 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1241 1667 echo "$as_me: loading cache $cache_file" >&6;} 1242 1668 case $cache_file in 1243 [\\/]* | ?:[\\/]* ) . $cache_file;;1244 *) . ./$cache_file;;1669 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1670 *) . "./$cache_file";; 1245 1671 esac 1246 1672 fi … … 1254 1680 # value. 1255 1681 ac_cache_corrupted=false 1256 for ac_var in `(set) 2>&1 | 1257 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1682 for ac_var in $ac_precious_vars; do 1258 1683 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1259 1684 eval ac_new_set=\$ac_env_${ac_var}_set 1260 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1261 eval ac_new_val= "\$ac_env_${ac_var}_value"1685 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1686 eval ac_new_val=\$ac_env_${ac_var}_value 1262 1687 case $ac_old_set,$ac_new_set in 1263 1688 set,) … … 1284 1709 if test "$ac_new_set" = set; then 1285 1710 case $ac_new_val in 1286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1287 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1711 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1288 1712 *) ac_arg=$ac_var=$ac_new_val ;; 1289 1713 esac … … 1302 1726 fi 1303 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1304 1752 ac_ext=c 1305 1753 ac_cpp='$CPP $CPPFLAGS' … … 1310 1758 1311 1759 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1760 host_orig="$host" 1338 1761 1339 1762 ac_aux_dir= 1340 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do1341 if test -f $ac_dir/install-sh; then1763 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1764 if test -f "$ac_dir/install-sh"; then 1342 1765 ac_aux_dir=$ac_dir 1343 1766 ac_install_sh="$ac_aux_dir/install-sh -c" 1344 1767 break 1345 elif test -f $ac_dir/install.sh; then1768 elif test -f "$ac_dir/install.sh"; then 1346 1769 ac_aux_dir=$ac_dir 1347 1770 ac_install_sh="$ac_aux_dir/install.sh -c" 1348 1771 break 1349 elif test -f $ac_dir/shtool; then1772 elif test -f "$ac_dir/shtool"; then 1350 1773 ac_aux_dir=$ac_dir 1351 1774 ac_install_sh="$ac_aux_dir/shtool install -c" … … 1354 1777 done 1355 1778 if test -z "$ac_aux_dir"; then 1356 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&51357 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}1779 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1780 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1358 1781 { (exit 1); exit 1; }; } 1359 1782 fi 1360 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1361 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1362 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 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 1363 1792 1364 1793 # Make sure we can run config.sub. 1365 $ ac_config_subsun4 >/dev/null 2>&1 ||1366 { { echo "$as_me:$LINENO: error: cannot run $ ac_config_sub" >&51367 echo "$as_me: error: cannot run $ ac_config_sub" >&2;}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" >&5 1796 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1368 1797 { (exit 1); exit 1; }; } 1369 1798 1370 echo "$as_me:$LINENO: checking build system type" >&51371 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1799 { echo "$as_me:$LINENO: checking build system type" >&5 1800 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1372 1801 if test "${ac_cv_build+set}" = set; then 1373 1802 echo $ECHO_N "(cached) $ECHO_C" >&6 1374 1803 else 1375 ac_ cv_build_alias=$build_alias1376 test -z "$ac_cv_build_alias"&&1377 ac_ cv_build_alias=`$ac_config_guess`1378 test -z "$ac_cv_build_alias"&&1804 ac_build_alias=$build_alias 1805 test "x$ac_build_alias" = x && 1806 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1807 test "x$ac_build_alias" = x && 1379 1808 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1380 1809 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1381 1810 { (exit 1); exit 1; }; } 1382 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||1383 { { echo "$as_me:$LINENO: error: $ ac_config_sub $ac_cv_build_alias failed" >&51384 echo "$as_me: error: $ ac_config_sub $ac_cv_build_alias failed" >&2;}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" >&5 1813 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1385 1814 { (exit 1); exit 1; }; } 1386 1815 1387 1816 fi 1388 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1389 echo "${ECHO_T}$ac_cv_build" >&6 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 1390 1825 build=$ac_cv_build 1391 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1392 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1393 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1394 1395 1396 echo "$as_me:$LINENO: checking host system type" >&5 1397 echo $ECHO_N "checking host system type... $ECHO_C" >&6 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 1841 if test "${ac_cv_host+set}" = set; then 1399 1842 echo $ECHO_N "(cached) $ECHO_C" >&6 1400 1843 else 1401 ac_cv_host_alias=$host_alias1402 test -z "$ac_cv_host_alias" && 1403 ac_cv_host_alias=$ac_cv_build_alias 1404 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||1405 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&51406 echo "$as_me: error: $ ac_config_sub $ac_cv_host_alias failed" >&2;}1844 if test "x$host_alias" = x; then 1845 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" >&5 1849 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1407 1850 { (exit 1); exit 1; }; } 1408 1409 fi 1410 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1411 echo "${ECHO_T}$ac_cv_host" >&6 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 1412 1862 host=$ac_cv_host 1413 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1414 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1415 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1416 1417 1418 echo "$as_me:$LINENO: checking target system type" >&5 1419 echo $ECHO_N "checking target system type... $ECHO_C" >&6 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 1878 if test "${ac_cv_target+set}" = set; then 1421 1879 echo $ECHO_N "(cached) $ECHO_C" >&6 1422 1880 else 1423 ac_cv_target_alias=$target_alias1424 test "x$ac_cv_target_alias" = "x" && 1425 ac_cv_target_alias=$ac_cv_host_alias 1426 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||1427 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&51428 echo "$as_me: error: $ ac_config_sub $ac_cv_target_alias failed" >&2;}1881 if test "x$target_alias" = x; then 1882 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" >&5 1886 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1429 1887 { (exit 1); exit 1; }; } 1430 1431 fi 1432 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1433 echo "${ECHO_T}$ac_cv_target" >&6 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 1434 1899 target=$ac_cv_target 1435 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1436 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1437 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 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 1438 1911 1439 1912 … … 1444 1917 NONENONEs,x,x, && 1445 1918 program_prefix=${target_alias}- 1446 1447 1448 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" 1449 1922 1450 1923 … … 1466 1939 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1467 1940 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1468 echo "$as_me:$LINENO: checking for $ac_word" >&51469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1941 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1470 1943 if test "${ac_cv_prog_CC+set}" = set; then 1471 1944 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1480 1953 test -z "$as_dir" && as_dir=. 1481 1954 for ac_exec_ext in '' $ac_executable_extensions; do 1482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1483 1956 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1484 1957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1487 1960 done 1488 1961 done 1962 IFS=$as_save_IFS 1489 1963 1490 1964 fi … … 1492 1966 CC=$ac_cv_prog_CC 1493 1967 if test -n "$CC"; then 1494 echo "$as_me:$LINENO: result: $CC" >&5 1495 echo "${ECHO_T}$CC" >&6 1496 else 1497 echo "$as_me:$LINENO: result: no" >&5 1498 echo "${ECHO_T}no" >&6 1499 fi 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 1500 1975 1501 1976 fi … … 1504 1979 # Extract the first word of "gcc", so it can be a program name with args. 1505 1980 set dummy gcc; ac_word=$2 1506 echo "$as_me:$LINENO: checking for $ac_word" >&51507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1981 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1508 1983 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1509 1984 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1518 1993 test -z "$as_dir" && as_dir=. 1519 1994 for ac_exec_ext in '' $ac_executable_extensions; do 1520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1521 1996 ac_cv_prog_ac_ct_CC="gcc" 1522 1997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1525 2000 done 1526 2001 done 2002 IFS=$as_save_IFS 1527 2003 1528 2004 fi … … 1530 2006 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1531 2007 if test -n "$ac_ct_CC"; then 1532 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1533 echo "${ECHO_T}$ac_ct_CC" >&6 1534 else 1535 echo "$as_me:$LINENO: result: no" >&5 1536 echo "${ECHO_T}no" >&6 1537 fi 1538 1539 CC=$ac_ct_CC 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 1540 2030 else 1541 2031 CC="$ac_cv_prog_CC" … … 1543 2033 1544 2034 if test -z "$CC"; then 1545 if test -n "$ac_tool_prefix"; then1546 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2035 if test -n "$ac_tool_prefix"; then 2036 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1547 2037 set dummy ${ac_tool_prefix}cc; ac_word=$2 1548 echo "$as_me:$LINENO: checking for $ac_word" >&51549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2038 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1550 2040 if test "${ac_cv_prog_CC+set}" = set; then 1551 2041 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1560 2050 test -z "$as_dir" && as_dir=. 1561 2051 for ac_exec_ext in '' $ac_executable_extensions; do 1562 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1563 2053 ac_cv_prog_CC="${ac_tool_prefix}cc" 1564 2054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1567 2057 done 1568 2058 done 2059 IFS=$as_save_IFS 1569 2060 1570 2061 fi … … 1572 2063 CC=$ac_cv_prog_CC 1573 2064 if test -n "$CC"; then 1574 echo "$as_me:$LINENO: result: $CC" >&5 1575 echo "${ECHO_T}$CC" >&6 1576 else 1577 echo "$as_me:$LINENO: result: no" >&5 1578 echo "${ECHO_T}no" >&6 1579 fi 1580 1581 fi 1582 if test -z "$ac_cv_prog_CC"; then 1583 ac_ct_CC=$CC 1584 # Extract the first word of "cc", so it can be a program name with args. 1585 set dummy cc; ac_word=$2 1586 echo "$as_me:$LINENO: checking for $ac_word" >&5 1587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1588 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1589 echo $ECHO_N "(cached) $ECHO_C" >&6 1590 else 1591 if test -n "$ac_ct_CC"; then 1592 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1593 else 1594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1595 for as_dir in $PATH 1596 do 1597 IFS=$as_save_IFS 1598 test -z "$as_dir" && as_dir=. 1599 for ac_exec_ext in '' $ac_executable_extensions; do 1600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1601 ac_cv_prog_ac_ct_CC="cc" 1602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1603 break 2 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 1604 2073 fi 1605 done1606 done1607 1608 fi1609 fi1610 ac_ct_CC=$ac_cv_prog_ac_ct_CC1611 if test -n "$ac_ct_CC"; then1612 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51613 echo "${ECHO_T}$ac_ct_CC" >&61614 else1615 echo "$as_me:$LINENO: result: no" >&51616 echo "${ECHO_T}no" >&61617 fi1618 1619 CC=$ac_ct_CC1620 else1621 CC="$ac_cv_prog_CC"1622 fi1623 1624 2074 fi 1625 2075 if test -z "$CC"; then 1626 2076 # Extract the first word of "cc", so it can be a program name with args. 1627 2077 set dummy cc; ac_word=$2 1628 echo "$as_me:$LINENO: checking for $ac_word" >&51629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2078 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1630 2080 if test "${ac_cv_prog_CC+set}" = set; then 1631 2081 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1641 2091 test -z "$as_dir" && as_dir=. 1642 2092 for ac_exec_ext in '' $ac_executable_extensions; do 1643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1644 2094 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1645 2095 ac_prog_rejected=yes … … 1652 2102 done 1653 2103 done 2104 IFS=$as_save_IFS 1654 2105 1655 2106 if test $ac_prog_rejected = yes; then … … 1669 2120 CC=$ac_cv_prog_CC 1670 2121 if test -n "$CC"; then 1671 echo "$as_me:$LINENO: result: $CC" >&5 1672 echo "${ECHO_T}$CC" >&6 1673 else 1674 echo "$as_me:$LINENO: result: no" >&5 1675 echo "${ECHO_T}no" >&6 1676 fi 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 1677 2129 1678 2130 fi 1679 2131 if test -z "$CC"; then 1680 2132 if test -n "$ac_tool_prefix"; then 1681 for ac_prog in cl 2133 for ac_prog in cl.exe 1682 2134 do 1683 2135 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1684 2136 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1685 echo "$as_me:$LINENO: checking for $ac_word" >&51686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2137 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1687 2139 if test "${ac_cv_prog_CC+set}" = set; then 1688 2140 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1697 2149 test -z "$as_dir" && as_dir=. 1698 2150 for ac_exec_ext in '' $ac_executable_extensions; do 1699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1700 2152 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1701 2153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1704 2156 done 1705 2157 done 2158 IFS=$as_save_IFS 1706 2159 1707 2160 fi … … 1709 2162 CC=$ac_cv_prog_CC 1710 2163 if test -n "$CC"; then 1711 echo "$as_me:$LINENO: result: $CC" >&5 1712 echo "${ECHO_T}$CC" >&6 1713 else 1714 echo "$as_me:$LINENO: result: no" >&5 1715 echo "${ECHO_T}no" >&6 1716 fi 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 1717 2171 1718 2172 test -n "$CC" && break … … 1721 2175 if test -z "$CC"; then 1722 2176 ac_ct_CC=$CC 1723 for ac_prog in cl 2177 for ac_prog in cl.exe 1724 2178 do 1725 2179 # Extract the first word of "$ac_prog", so it can be a program name with args. 1726 2180 set dummy $ac_prog; ac_word=$2 1727 echo "$as_me:$LINENO: checking for $ac_word" >&51728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2181 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1729 2183 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1730 2184 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1739 2193 test -z "$as_dir" && as_dir=. 1740 2194 for ac_exec_ext in '' $ac_executable_extensions; do 1741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1742 2196 ac_cv_prog_ac_ct_CC="$ac_prog" 1743 2197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1746 2200 done 1747 2201 done 2202 IFS=$as_save_IFS 1748 2203 1749 2204 fi … … 1751 2206 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1752 2207 if test -n "$ac_ct_CC"; then 1753 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1754 echo "${ECHO_T}$ac_ct_CC" >&6 1755 else 1756 echo "$as_me:$LINENO: result: no" >&5 1757 echo "${ECHO_T}no" >&6 1758 fi 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 1759 2215 1760 2216 test -n "$ac_ct_CC" && break 1761 2217 done 1762 2218 1763 CC=$ac_ct_CC 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 1764 2234 fi 1765 2235 … … 1774 2244 1775 2245 # Provide some information about the compiler. 1776 echo "$as_me:$LINENO:" \ 1777 "checking for C compiler version" >&5 2246 echo "$as_me:$LINENO: checking for C compiler version" >&5 1778 2247 ac_compiler=`set X $ac_compile; echo $2` 1779 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1780 (eval $ac_compiler --version </dev/null >&5) 2>&5 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 1781 2255 ac_status=$? 1782 2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1783 2257 (exit $ac_status); } 1784 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1785 (eval $ac_compiler -v </dev/null >&5) 2>&5 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 1786 2265 ac_status=$? 1787 2266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1788 2267 (exit $ac_status); } 1789 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1790 (eval $ac_compiler -V </dev/null >&5) 2>&5 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 1791 2275 ac_status=$? 1792 2276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1813 2297 # It will help us diagnose broken compilers, and finding out an intuition 1814 2298 # of exeext. 1815 echo "$as_me:$LINENO: checking for C compiler default output file name" >&51816 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2299 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2300 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 1817 2301 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1818 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1819 (eval $ac_link_default) 2>&5 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 1820 2328 ac_status=$? 1821 2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1822 2330 (exit $ac_status); }; then 1823 # Find the output, starting from the most likely. This scheme is 1824 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1825 # resort. 1826 1827 # Be careful to initialize this variable, since it used to be cached. 1828 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1829 ac_cv_exeext= 1830 # b.out is created by i960 compilers. 1831 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 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 '' 1832 2337 do 1833 2338 test -f "$ac_file" || continue 1834 2339 case $ac_file in 1835 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1836 ;; 1837 conftest.$ac_ext ) 1838 # This is the source file. 2340 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 1839 2341 ;; 1840 2342 [ab].out ) … … 1843 2345 break;; 1844 2346 *.* ) 1845 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1846 # FIXME: I believe we export ac_cv_exeext for Libtool, 1847 # but it would be cool to find out if it's true. Does anybody 1848 # maintain Libtool? --akim. 1849 export ac_cv_exeext 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. 1850 2356 break;; 1851 2357 * ) … … 1853 2359 esac 1854 2360 done 1855 else 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 1856 2370 echo "$as_me: failed program was:" >&5 1857 2371 sed 's/^/| /' conftest.$ac_ext >&5 … … 1865 2379 1866 2380 ac_exeext=$ac_cv_exeext 1867 echo "$as_me:$LINENO: result: $ac_file" >&5 1868 echo "${ECHO_T}$ac_file" >&6 1869 1870 # Check the compiler produces executables we can run. If not, either 2381 2382 # Check that the compiler produces executables we can run. If not, either 1871 2383 # the compiler is broken, or we cross compile. 1872 echo "$as_me:$LINENO: checking whether the C compiler works" >&51873 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2384 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2385 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 1874 2386 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1875 2387 # If not cross compiling, check that we can run a simple program. 1876 2388 if test "$cross_compiling" != yes; then 1877 2389 if { ac_try='./$ac_file' 1878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1879 (eval $ac_try) 2>&5 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 1880 2396 ac_status=$? 1881 2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1896 2412 fi 1897 2413 fi 1898 echo "$as_me:$LINENO: result: yes" >&51899 echo "${ECHO_T}yes" >&6 2414 { echo "$as_me:$LINENO: result: yes" >&5 2415 echo "${ECHO_T}yes" >&6; } 1900 2416 1901 2417 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1902 2418 ac_clean_files=$ac_clean_files_save 1903 # Check th e compiler produces executables we can run. If not, either2419 # Check that the compiler produces executables we can run. If not, either 1904 2420 # the compiler is broken, or we cross compile. 1905 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1906 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1907 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1908 echo "${ECHO_T}$cross_compiling" >&6 1909 1910 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1911 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1913 (eval $ac_link) 2>&5 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 1914 2435 ac_status=$? 1915 2436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1922 2443 test -f "$ac_file" || continue 1923 2444 case $ac_file in 1924 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 1925 2446 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1926 export ac_cv_exeext1927 2447 break;; 1928 2448 * ) break;; … … 1938 2458 1939 2459 rm -f conftest$ac_cv_exeext 1940 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&51941 echo "${ECHO_T}$ac_cv_exeext" >&6 2460 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2461 echo "${ECHO_T}$ac_cv_exeext" >&6; } 1942 2462 1943 2463 rm -f conftest.$ac_ext 1944 2464 EXEEXT=$ac_cv_exeext 1945 2465 ac_exeext=$EXEEXT 1946 echo "$as_me:$LINENO: checking for suffix of object files" >&51947 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2466 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2467 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 1948 2468 if test "${ac_cv_objext+set}" = set; then 1949 2469 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1965 2485 _ACEOF 1966 2486 rm -f conftest.o conftest.obj 1967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1968 (eval $ac_compile) 2>&5 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 1969 2494 ac_status=$? 1970 2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1971 2496 (exit $ac_status); }; then 1972 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2497 for ac_file in conftest.o conftest.obj conftest.*; do 2498 test -f "$ac_file" || continue; 1973 2499 case $ac_file in 1974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 1975 2501 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1976 2502 break;; … … 1990 2516 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1991 2517 fi 1992 echo "$as_me:$LINENO: result: $ac_cv_objext" >&51993 echo "${ECHO_T}$ac_cv_objext" >&6 2518 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2519 echo "${ECHO_T}$ac_cv_objext" >&6; } 1994 2520 OBJEXT=$ac_cv_objext 1995 2521 ac_objext=$OBJEXT 1996 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&51997 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2522 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2523 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 1998 2524 if test "${ac_cv_c_compiler_gnu+set}" = set; then 1999 2525 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2018 2544 _ACEOF 2019 2545 rm -f conftest.$ac_objext 2020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2021 (eval $ac_compile) 2>conftest.er1 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 2022 2553 ac_status=$? 2023 2554 grep -v '^ *+' conftest.er1 >conftest.err … … 2025 2556 cat conftest.err >&5 2026 2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2027 (exit $ac_status); } && 2028 { ac_try='test -z "$ac_c_werror_flag" 2029 || test ! -s conftest.err' 2030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2031 (eval $ac_try) 2>&5 2032 ac_status=$? 2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2034 (exit $ac_status); }; } && 2035 { ac_try='test -s conftest.$ac_objext' 2036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2037 (eval $ac_try) 2>&5 2038 ac_status=$? 2039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2040 (exit $ac_status); }; }; then 2558 (exit $ac_status); } && { 2559 test -z "$ac_c_werror_flag" || 2560 test ! -s conftest.err 2561 } && test -s conftest.$ac_objext; then 2041 2562 ac_compiler_gnu=yes 2042 2563 else … … 2044 2565 sed 's/^/| /' conftest.$ac_ext >&5 2045 2566 2046 ac_compiler_gnu=no 2047 fi 2048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2567 ac_compiler_gnu=no 2568 fi 2569 2570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2049 2571 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2050 2572 2051 2573 fi 2052 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52053 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2574 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2575 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2054 2576 GCC=`test $ac_compiler_gnu = yes && echo yes` 2055 2577 ac_test_CFLAGS=${CFLAGS+set} 2056 2578 ac_save_CFLAGS=$CFLAGS 2057 CFLAGS="-g" 2058 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2059 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2579 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2580 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2060 2581 if test "${ac_cv_prog_cc_g+set}" = set; then 2061 2582 echo $ECHO_N "(cached) $ECHO_C" >&6 2062 2583 else 2063 cat >conftest.$ac_ext <<_ACEOF 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 2064 2589 /* confdefs.h. */ 2065 2590 _ACEOF … … 2077 2602 _ACEOF 2078 2603 rm -f conftest.$ac_objext 2079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2080 (eval $ac_compile) 2>conftest.er1 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 2081 2611 ac_status=$? 2082 2612 grep -v '^ *+' conftest.er1 >conftest.err … … 2084 2614 cat conftest.err >&5 2085 2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2086 (exit $ac_status); } && 2087 { ac_try='test -z "$ac_c_werror_flag" 2088 || test ! -s conftest.err' 2089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2090 (eval $ac_try) 2>&5 2091 ac_status=$? 2092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2093 (exit $ac_status); }; } && 2094 { ac_try='test -s conftest.$ac_objext' 2095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2096 (eval $ac_try) 2>&5 2097 ac_status=$? 2098 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2099 (exit $ac_status); }; }; then 2616 (exit $ac_status); } && { 2617 test -z "$ac_c_werror_flag" || 2618 test ! -s conftest.err 2619 } && test -s conftest.$ac_objext; then 2100 2620 ac_cv_prog_cc_g=yes 2101 2621 else … … 2103 2623 sed 's/^/| /' conftest.$ac_ext >&5 2104 2624 2105 ac_cv_prog_cc_g=no 2106 fi 2107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2108 fi 2109 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2110 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 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; } 2111 2716 if test "$ac_test_CFLAGS" = set; then 2112 2717 CFLAGS=$ac_save_CFLAGS … … 2124 2729 fi 2125 2730 fi 2126 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52127 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&62128 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2731 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2732 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2733 if test "${ac_cv_prog_cc_c89+set}" = set; then 2129 2734 echo $ECHO_N "(cached) $ECHO_C" >&6 2130 2735 else 2131 ac_cv_prog_cc_ stdc=no2736 ac_cv_prog_cc_c89=no 2132 2737 ac_save_CC=$CC 2133 2738 cat >conftest.$ac_ext <<_ACEOF … … 2163 2768 function prototypes and stuff, but not '\xHH' hex character constants. 2164 2769 These don't provoke an error unfortunately, instead are silently treated 2165 as 'x'. The following induces an error, until -std 1is added to get2770 as 'x'. The following induces an error, until -std is added to get 2166 2771 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2167 2772 array size at least. It's necessary to write '\x00'==0 to get something 2168 that's true only with -std 1. */2773 that's true only with -std. */ 2169 2774 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2775 2776 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2777 inside strings and character constants. */ 2778 #define FOO(x) 'x' 2779 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2170 2780 2171 2781 int test (int i, double x); … … 2183 2793 } 2184 2794 _ACEOF 2185 # Don't try gcc -ansi; that turns off useful extensions and 2186 # breaks some systems' header files. 2187 # AIX -qlanglvl=ansi 2188 # Ultrix and OSF/1 -std1 2189 # HP-UX 10.20 and later -Ae 2190 # HP-UX older versions -Aa -D_HPUX_SOURCE 2191 # SVR4 -Xc -D__EXTENSIONS__ 2192 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2795 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2796 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2193 2797 do 2194 2798 CC="$ac_save_CC $ac_arg" 2195 2799 rm -f conftest.$ac_objext 2196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2197 (eval $ac_compile) 2>conftest.er1 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 2198 2807 ac_status=$? 2199 2808 grep -v '^ *+' conftest.er1 >conftest.err … … 2201 2810 cat conftest.err >&5 2202 2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2203 (exit $ac_status); } && 2204 { ac_try='test -z "$ac_c_werror_flag" 2205 || test ! -s conftest.err' 2206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2207 (eval $ac_try) 2>&5 2208 ac_status=$? 2209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2210 (exit $ac_status); }; } && 2211 { ac_try='test -s conftest.$ac_objext' 2212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2213 (eval $ac_try) 2>&5 2214 ac_status=$? 2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2216 (exit $ac_status); }; }; then 2217 ac_cv_prog_cc_stdc=$ac_arg 2218 break 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 2219 2817 else 2220 2818 echo "$as_me: failed program was:" >&5 2221 2819 sed 's/^/| /' conftest.$ac_ext >&5 2222 2820 2223 fi 2224 rm -f conftest.err conftest.$ac_objext 2821 2822 fi 2823 2824 rm -f core conftest.err conftest.$ac_objext 2825 test "x$ac_cv_prog_cc_c89" != "xno" && break 2225 2826 done 2226 rm -f conftest.$ac_ext conftest.$ac_objext2827 rm -f conftest.$ac_ext 2227 2828 CC=$ac_save_CC 2228 2829 2229 2830 fi 2230 2231 case "x$ac_cv_prog_cc_stdc" in 2232 x|xno) 2233 echo "$as_me:$LINENO: result: none needed" >&5 2234 echo "${ECHO_T}none needed" >&6 ;; 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; } ;; 2235 2839 *) 2236 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2237 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2238 CC="$CC $ac_cv_prog_cc_stdc" ;; 2239 esac 2240 2241 # Some people use a C++ compiler to compile C. Since we use `exit', 2242 # in C++ we need to declare it. In case someone uses the same compiler 2243 # for both compiling C and C++ we need to have the C++ compiler decide 2244 # the declaration of exit, since it's the most demanding environment. 2245 cat >conftest.$ac_ext <<_ACEOF 2246 #ifndef __cplusplus 2247 choke me 2248 #endif 2249 _ACEOF 2250 rm -f conftest.$ac_objext 2251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2252 (eval $ac_compile) 2>conftest.er1 2253 ac_status=$? 2254 grep -v '^ *+' conftest.er1 >conftest.err 2255 rm -f conftest.er1 2256 cat conftest.err >&5 2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2258 (exit $ac_status); } && 2259 { ac_try='test -z "$ac_c_werror_flag" 2260 || test ! -s conftest.err' 2261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2262 (eval $ac_try) 2>&5 2263 ac_status=$? 2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2265 (exit $ac_status); }; } && 2266 { ac_try='test -s conftest.$ac_objext' 2267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2268 (eval $ac_try) 2>&5 2269 ac_status=$? 2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2271 (exit $ac_status); }; }; then 2272 for ac_declaration in \ 2273 '' \ 2274 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2275 'extern "C" void std::exit (int); using std::exit;' \ 2276 'extern "C" void exit (int) throw ();' \ 2277 'extern "C" void exit (int);' \ 2278 'void exit (int);' 2279 do 2280 cat >conftest.$ac_ext <<_ACEOF 2281 /* confdefs.h. */ 2282 _ACEOF 2283 cat confdefs.h >>conftest.$ac_ext 2284 cat >>conftest.$ac_ext <<_ACEOF 2285 /* end confdefs.h. */ 2286 $ac_declaration 2287 #include <stdlib.h> 2288 int 2289 main () 2290 { 2291 exit (42); 2292 ; 2293 return 0; 2294 } 2295 _ACEOF 2296 rm -f conftest.$ac_objext 2297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2298 (eval $ac_compile) 2>conftest.er1 2299 ac_status=$? 2300 grep -v '^ *+' conftest.er1 >conftest.err 2301 rm -f conftest.er1 2302 cat conftest.err >&5 2303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2304 (exit $ac_status); } && 2305 { ac_try='test -z "$ac_c_werror_flag" 2306 || test ! -s conftest.err' 2307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2308 (eval $ac_try) 2>&5 2309 ac_status=$? 2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2311 (exit $ac_status); }; } && 2312 { ac_try='test -s conftest.$ac_objext' 2313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2314 (eval $ac_try) 2>&5 2315 ac_status=$? 2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2317 (exit $ac_status); }; }; then 2318 : 2319 else 2320 echo "$as_me: failed program was:" >&5 2321 sed 's/^/| /' conftest.$ac_ext >&5 2322 2323 continue 2324 fi 2325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2326 cat >conftest.$ac_ext <<_ACEOF 2327 /* confdefs.h. */ 2328 _ACEOF 2329 cat confdefs.h >>conftest.$ac_ext 2330 cat >>conftest.$ac_ext <<_ACEOF 2331 /* end confdefs.h. */ 2332 $ac_declaration 2333 int 2334 main () 2335 { 2336 exit (42); 2337 ; 2338 return 0; 2339 } 2340 _ACEOF 2341 rm -f conftest.$ac_objext 2342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2343 (eval $ac_compile) 2>conftest.er1 2344 ac_status=$? 2345 grep -v '^ *+' conftest.er1 >conftest.err 2346 rm -f conftest.er1 2347 cat conftest.err >&5 2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2349 (exit $ac_status); } && 2350 { ac_try='test -z "$ac_c_werror_flag" 2351 || test ! -s conftest.err' 2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2353 (eval $ac_try) 2>&5 2354 ac_status=$? 2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2356 (exit $ac_status); }; } && 2357 { ac_try='test -s conftest.$ac_objext' 2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2359 (eval $ac_try) 2>&5 2360 ac_status=$? 2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2362 (exit $ac_status); }; }; then 2363 break 2364 else 2365 echo "$as_me: failed program was:" >&5 2366 sed 's/^/| /' conftest.$ac_ext >&5 2367 2368 fi 2369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2370 done 2371 rm -f conftest* 2372 if test -n "$ac_declaration"; then 2373 echo '#ifdef __cplusplus' >>confdefs.h 2374 echo $ac_declaration >>confdefs.h 2375 echo '#endif' >>confdefs.h 2376 fi 2377 2378 else 2379 echo "$as_me: failed program was:" >&5 2380 sed 's/^/| /' conftest.$ac_ext >&5 2381 2382 fi 2383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 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; } ;; 2843 esac 2844 2845 2384 2846 ac_ext=c 2385 2847 ac_cpp='$CPP $CPPFLAGS' … … 2388 2850 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2389 2851 2390 ac_ext=c c2852 ac_ext=cpp 2391 2853 ac_cpp='$CXXCPP $CPPFLAGS' 2392 2854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2393 2855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2394 2856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2395 if test -n "$ac_tool_prefix"; then 2396 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 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 2397 2863 do 2398 2864 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2399 2865 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2400 echo "$as_me:$LINENO: checking for $ac_word" >&52401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2866 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2402 2868 if test "${ac_cv_prog_CXX+set}" = set; then 2403 2869 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2412 2878 test -z "$as_dir" && as_dir=. 2413 2879 for ac_exec_ext in '' $ac_executable_extensions; do 2414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2415 2881 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2416 2882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2419 2885 done 2420 2886 done 2887 IFS=$as_save_IFS 2421 2888 2422 2889 fi … … 2424 2891 CXX=$ac_cv_prog_CXX 2425 2892 if test -n "$CXX"; then 2426 echo "$as_me:$LINENO: result: $CXX" >&5 2427 echo "${ECHO_T}$CXX" >&6 2428 else 2429 echo "$as_me:$LINENO: result: no" >&5 2430 echo "${ECHO_T}no" >&6 2431 fi 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 2432 2900 2433 2901 test -n "$CXX" && break … … 2436 2904 if test -z "$CXX"; then 2437 2905 ac_ct_CXX=$CXX 2438 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC2906 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2439 2907 do 2440 2908 # Extract the first word of "$ac_prog", so it can be a program name with args. 2441 2909 set dummy $ac_prog; ac_word=$2 2442 echo "$as_me:$LINENO: checking for $ac_word" >&52443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2910 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2444 2912 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2445 2913 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2454 2922 test -z "$as_dir" && as_dir=. 2455 2923 for ac_exec_ext in '' $ac_executable_extensions; do 2456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2457 2925 ac_cv_prog_ac_ct_CXX="$ac_prog" 2458 2926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2461 2929 done 2462 2930 done 2931 IFS=$as_save_IFS 2463 2932 2464 2933 fi … … 2466 2935 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2467 2936 if test -n "$ac_ct_CXX"; then 2468 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2469 echo "${ECHO_T}$ac_ct_CXX" >&6 2470 else 2471 echo "$as_me:$LINENO: result: no" >&5 2472 echo "${ECHO_T}no" >&6 2473 fi 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 2474 2944 2475 2945 test -n "$ac_ct_CXX" && break 2476 2946 done 2477 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2478 2479 CXX=$ac_ct_CXX 2480 fi 2481 2482 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 2483 2967 # Provide some information about the compiler. 2484 echo "$as_me:$LINENO:" \ 2485 "checking for C++ compiler version" >&5 2968 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 2486 2969 ac_compiler=`set X $ac_compile; echo $2` 2487 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2488 (eval $ac_compiler --version </dev/null >&5) 2>&5 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 2489 2977 ac_status=$? 2490 2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2491 2979 (exit $ac_status); } 2492 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2493 (eval $ac_compiler -v </dev/null >&5) 2>&5 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 2494 2987 ac_status=$? 2495 2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2496 2989 (exit $ac_status); } 2497 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2498 (eval $ac_compiler -V </dev/null >&5) 2>&5 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 2499 2997 ac_status=$? 2500 2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2501 2999 (exit $ac_status); } 2502 3000 2503 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52504 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 3001 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3002 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 2505 3003 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2506 3004 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2525 3023 _ACEOF 2526 3024 rm -f conftest.$ac_objext 2527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2528 (eval $ac_compile) 2>conftest.er1 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 2529 3032 ac_status=$? 2530 3033 grep -v '^ *+' conftest.er1 >conftest.err … … 2532 3035 cat conftest.err >&5 2533 3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2534 (exit $ac_status); } && 2535 { ac_try='test -z "$ac_cxx_werror_flag" 2536 || test ! -s conftest.err' 2537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2538 (eval $ac_try) 2>&5 2539 ac_status=$? 2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2541 (exit $ac_status); }; } && 2542 { ac_try='test -s conftest.$ac_objext' 2543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2544 (eval $ac_try) 2>&5 2545 ac_status=$? 2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2547 (exit $ac_status); }; }; then 3037 (exit $ac_status); } && { 3038 test -z "$ac_cxx_werror_flag" || 3039 test ! -s conftest.err 3040 } && test -s conftest.$ac_objext; then 2548 3041 ac_compiler_gnu=yes 2549 3042 else … … 2551 3044 sed 's/^/| /' conftest.$ac_ext >&5 2552 3045 2553 ac_compiler_gnu=no 2554 fi 2555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3046 ac_compiler_gnu=no 3047 fi 3048 3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2556 3050 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2557 3051 2558 3052 fi 2559 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&52560 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 3053 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3054 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 2561 3055 GXX=`test $ac_compiler_gnu = yes && echo yes` 2562 3056 ac_test_CXXFLAGS=${CXXFLAGS+set} 2563 3057 ac_save_CXXFLAGS=$CXXFLAGS 2564 CXXFLAGS="-g" 2565 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2566 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3058 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3059 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 2567 3060 if test "${ac_cv_prog_cxx_g+set}" = set; then 2568 3061 echo $ECHO_N "(cached) $ECHO_C" >&6 2569 3062 else 2570 cat >conftest.$ac_ext <<_ACEOF 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 2571 3068 /* confdefs.h. */ 2572 3069 _ACEOF … … 2584 3081 _ACEOF 2585 3082 rm -f conftest.$ac_objext 2586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2587 (eval $ac_compile) 2>conftest.er1 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 2588 3090 ac_status=$? 2589 3091 grep -v '^ *+' conftest.er1 >conftest.err … … 2591 3093 cat conftest.err >&5 2592 3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2593 (exit $ac_status); } && 2594 { ac_try='test -z "$ac_cxx_werror_flag" 2595 || test ! -s conftest.err' 2596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2597 (eval $ac_try) 2>&5 2598 ac_status=$? 2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2600 (exit $ac_status); }; } && 2601 { ac_try='test -s conftest.$ac_objext' 2602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2603 (eval $ac_try) 2>&5 2604 ac_status=$? 2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2606 (exit $ac_status); }; }; then 3095 (exit $ac_status); } && { 3096 test -z "$ac_cxx_werror_flag" || 3097 test ! -s conftest.err 3098 } && test -s conftest.$ac_objext; then 2607 3099 ac_cv_prog_cxx_g=yes 2608 3100 else … … 2610 3102 sed 's/^/| /' conftest.$ac_ext >&5 2611 3103 2612 ac_cv_prog_cxx_g=no 2613 fi 2614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2615 fi 2616 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2617 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 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; } 2618 3195 if test "$ac_test_CXXFLAGS" = set; then 2619 3196 CXXFLAGS=$ac_save_CXXFLAGS … … 2631 3208 fi 2632 3209 fi 2633 for ac_declaration in \2634 '' \2635 'extern "C" void std::exit (int) throw (); using std::exit;' \2636 'extern "C" void std::exit (int); using std::exit;' \2637 'extern "C" void exit (int) throw ();' \2638 'extern "C" void exit (int);' \2639 'void exit (int);'2640 do2641 cat >conftest.$ac_ext <<_ACEOF2642 /* confdefs.h. */2643 _ACEOF2644 cat confdefs.h >>conftest.$ac_ext2645 cat >>conftest.$ac_ext <<_ACEOF2646 /* end confdefs.h. */2647 $ac_declaration2648 #include <stdlib.h>2649 int2650 main ()2651 {2652 exit (42);2653 ;2654 return 0;2655 }2656 _ACEOF2657 rm -f conftest.$ac_objext2658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52659 (eval $ac_compile) 2>conftest.er12660 ac_status=$?2661 grep -v '^ *+' conftest.er1 >conftest.err2662 rm -f conftest.er12663 cat conftest.err >&52664 echo "$as_me:$LINENO: \$? = $ac_status" >&52665 (exit $ac_status); } &&2666 { ac_try='test -z "$ac_cxx_werror_flag"2667 || test ! -s conftest.err'2668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52669 (eval $ac_try) 2>&52670 ac_status=$?2671 echo "$as_me:$LINENO: \$? = $ac_status" >&52672 (exit $ac_status); }; } &&2673 { ac_try='test -s conftest.$ac_objext'2674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52675 (eval $ac_try) 2>&52676 ac_status=$?2677 echo "$as_me:$LINENO: \$? = $ac_status" >&52678 (exit $ac_status); }; }; then2679 :2680 else2681 echo "$as_me: failed program was:" >&52682 sed 's/^/| /' conftest.$ac_ext >&52683 2684 continue2685 fi2686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2687 cat >conftest.$ac_ext <<_ACEOF2688 /* confdefs.h. */2689 _ACEOF2690 cat confdefs.h >>conftest.$ac_ext2691 cat >>conftest.$ac_ext <<_ACEOF2692 /* end confdefs.h. */2693 $ac_declaration2694 int2695 main ()2696 {2697 exit (42);2698 ;2699 return 0;2700 }2701 _ACEOF2702 rm -f conftest.$ac_objext2703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52704 (eval $ac_compile) 2>conftest.er12705 ac_status=$?2706 grep -v '^ *+' conftest.er1 >conftest.err2707 rm -f conftest.er12708 cat conftest.err >&52709 echo "$as_me:$LINENO: \$? = $ac_status" >&52710 (exit $ac_status); } &&2711 { ac_try='test -z "$ac_cxx_werror_flag"2712 || test ! -s conftest.err'2713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52714 (eval $ac_try) 2>&52715 ac_status=$?2716 echo "$as_me:$LINENO: \$? = $ac_status" >&52717 (exit $ac_status); }; } &&2718 { ac_try='test -s conftest.$ac_objext'2719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52720 (eval $ac_try) 2>&52721 ac_status=$?2722 echo "$as_me:$LINENO: \$? = $ac_status" >&52723 (exit $ac_status); }; }; then2724 break2725 else2726 echo "$as_me: failed program was:" >&52727 sed 's/^/| /' conftest.$ac_ext >&52728 2729 fi2730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2731 done2732 rm -f conftest*2733 if test -n "$ac_declaration"; then2734 echo '#ifdef __cplusplus' >>confdefs.h2735 echo $ac_declaration >>confdefs.h2736 echo '#endif' >>confdefs.h2737 fi2738 2739 3210 ac_ext=c 2740 3211 ac_cpp='$CPP $CPPFLAGS' … … 2748 3219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2749 3220 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3221 2750 3222 2751 3223 … … 2762 3234 2763 3235 2764 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&52765 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 3236 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 3237 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 2766 3238 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 2767 3239 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2776 3248 /* end confdefs.h. */ 2777 3249 2778 /* Override any gcc2 internal prototype to avoid an error. */ 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. */ 2779 3253 #ifdef __cplusplus 2780 3254 extern "C" 2781 3255 #endif 2782 /* We use char because int might match the return type of a gcc22783 builtin and then its argument prototype would still apply. */2784 3256 char pthread_create (); 2785 3257 int 2786 3258 main () 2787 3259 { 2788 pthread_create ();3260 return pthread_create (); 2789 3261 ; 2790 3262 return 0; … … 2792 3264 _ACEOF 2793 3265 rm -f conftest.$ac_objext conftest$ac_exeext 2794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2795 (eval $ac_link) 2>conftest.er1 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 2796 3273 ac_status=$? 2797 3274 grep -v '^ *+' conftest.er1 >conftest.err … … 2799 3276 cat conftest.err >&5 2800 3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2801 (exit $ac_status); } && 2802 { ac_try='test -z "$ac_c_werror_flag" 2803 || test ! -s conftest.err' 2804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2805 (eval $ac_try) 2>&5 2806 ac_status=$? 2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2808 (exit $ac_status); }; } && 2809 { ac_try='test -s conftest$ac_exeext' 2810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2811 (eval $ac_try) 2>&5 2812 ac_status=$? 2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2814 (exit $ac_status); }; }; then 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 2815 3283 ac_cv_lib_pthread_pthread_create=yes 2816 3284 else … … 2818 3286 sed 's/^/| /' conftest.$ac_ext >&5 2819 3287 2820 ac_cv_lib_pthread_pthread_create=no 2821 fi 2822 rm -f conftest.err conftest.$ac_objext \ 3288 ac_cv_lib_pthread_pthread_create=no 3289 fi 3290 3291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2823 3292 conftest$ac_exeext conftest.$ac_ext 2824 3293 LIBS=$ac_check_lib_save_LIBS 2825 3294 fi 2826 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&52827 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 3295 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 3296 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 2828 3297 if test $ac_cv_lib_pthread_pthread_create = yes; then 2829 3298 cat >>confdefs.h <<_ACEOF … … 2836 3305 2837 3306 2838 echo "$as_me:$LINENO: checking for puts in -lwsock32" >&52839 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6 3307 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 3308 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 2840 3309 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 2841 3310 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2850 3319 /* end confdefs.h. */ 2851 3320 2852 /* Override any gcc2 internal prototype to avoid an error. */ 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. */ 2853 3324 #ifdef __cplusplus 2854 3325 extern "C" 2855 3326 #endif 2856 /* We use char because int might match the return type of a gcc22857 builtin and then its argument prototype would still apply. */2858 3327 char puts (); 2859 3328 int 2860 3329 main () 2861 3330 { 2862 puts ();3331 return puts (); 2863 3332 ; 2864 3333 return 0; … … 2866 3335 _ACEOF 2867 3336 rm -f conftest.$ac_objext conftest$ac_exeext 2868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2869 (eval $ac_link) 2>conftest.er1 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 2870 3344 ac_status=$? 2871 3345 grep -v '^ *+' conftest.er1 >conftest.err … … 2873 3347 cat conftest.err >&5 2874 3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2875 (exit $ac_status); } && 2876 { ac_try='test -z "$ac_c_werror_flag" 2877 || test ! -s conftest.err' 2878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2879 (eval $ac_try) 2>&5 2880 ac_status=$? 2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2882 (exit $ac_status); }; } && 2883 { ac_try='test -s conftest$ac_exeext' 2884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2885 (eval $ac_try) 2>&5 2886 ac_status=$? 2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2888 (exit $ac_status); }; }; then 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 2889 3354 ac_cv_lib_wsock32_puts=yes 2890 3355 else … … 2892 3357 sed 's/^/| /' conftest.$ac_ext >&5 2893 3358 2894 ac_cv_lib_wsock32_puts=no 2895 fi 2896 rm -f conftest.err conftest.$ac_objext \ 3359 ac_cv_lib_wsock32_puts=no 3360 fi 3361 3362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2897 3363 conftest$ac_exeext conftest.$ac_ext 2898 3364 LIBS=$ac_check_lib_save_LIBS 2899 3365 fi 2900 echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&52901 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6 3366 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 3367 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 2902 3368 if test $ac_cv_lib_wsock32_puts = yes; then 2903 3369 cat >>confdefs.h <<_ACEOF … … 2910 3376 2911 3377 2912 echo "$as_me:$LINENO: checking for puts in -lws2_32" >&52913 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6 3378 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 3379 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 2914 3380 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 2915 3381 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2924 3390 /* end confdefs.h. */ 2925 3391 2926 /* Override any gcc2 internal prototype to avoid an error. */ 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. */ 2927 3395 #ifdef __cplusplus 2928 3396 extern "C" 2929 3397 #endif 2930 /* We use char because int might match the return type of a gcc22931 builtin and then its argument prototype would still apply. */2932 3398 char puts (); 2933 3399 int 2934 3400 main () 2935 3401 { 2936 puts ();3402 return puts (); 2937 3403 ; 2938 3404 return 0; … … 2940 3406 _ACEOF 2941 3407 rm -f conftest.$ac_objext conftest$ac_exeext 2942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2943 (eval $ac_link) 2>conftest.er1 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 2944 3415 ac_status=$? 2945 3416 grep -v '^ *+' conftest.er1 >conftest.err … … 2947 3418 cat conftest.err >&5 2948 3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2949 (exit $ac_status); } && 2950 { ac_try='test -z "$ac_c_werror_flag" 2951 || test ! -s conftest.err' 2952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2953 (eval $ac_try) 2>&5 2954 ac_status=$? 2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2956 (exit $ac_status); }; } && 2957 { ac_try='test -s conftest$ac_exeext' 2958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2959 (eval $ac_try) 2>&5 2960 ac_status=$? 2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2962 (exit $ac_status); }; }; then 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 2963 3425 ac_cv_lib_ws2_32_puts=yes 2964 3426 else … … 2966 3428 sed 's/^/| /' conftest.$ac_ext >&5 2967 3429 2968 ac_cv_lib_ws2_32_puts=no 2969 fi 2970 rm -f conftest.err conftest.$ac_objext \ 3430 ac_cv_lib_ws2_32_puts=no 3431 fi 3432 3433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2971 3434 conftest$ac_exeext conftest.$ac_ext 2972 3435 LIBS=$ac_check_lib_save_LIBS 2973 3436 fi 2974 echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&52975 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6 3437 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 3438 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 2976 3439 if test $ac_cv_lib_ws2_32_puts = yes; then 2977 3440 cat >>confdefs.h <<_ACEOF … … 2984 3447 2985 3448 2986 echo "$as_me:$LINENO: checking for puts in -lole32" >&52987 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6 3449 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 3450 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 2988 3451 if test "${ac_cv_lib_ole32_puts+set}" = set; then 2989 3452 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2998 3461 /* end confdefs.h. */ 2999 3462 3000 /* Override any gcc2 internal prototype to avoid an error. */ 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. */ 3001 3466 #ifdef __cplusplus 3002 3467 extern "C" 3003 3468 #endif 3004 /* We use char because int might match the return type of a gcc23005 builtin and then its argument prototype would still apply. */3006 3469 char puts (); 3007 3470 int 3008 3471 main () 3009 3472 { 3010 puts ();3473 return puts (); 3011 3474 ; 3012 3475 return 0; … … 3014 3477 _ACEOF 3015 3478 rm -f conftest.$ac_objext conftest$ac_exeext 3016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3017 (eval $ac_link) 2>conftest.er1 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 3018 3486 ac_status=$? 3019 3487 grep -v '^ *+' conftest.er1 >conftest.err … … 3021 3489 cat conftest.err >&5 3022 3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3023 (exit $ac_status); } && 3024 { ac_try='test -z "$ac_c_werror_flag" 3025 || test ! -s conftest.err' 3026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3027 (eval $ac_try) 2>&5 3028 ac_status=$? 3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3030 (exit $ac_status); }; } && 3031 { ac_try='test -s conftest$ac_exeext' 3032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3033 (eval $ac_try) 2>&5 3034 ac_status=$? 3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3036 (exit $ac_status); }; }; then 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 3037 3496 ac_cv_lib_ole32_puts=yes 3038 3497 else … … 3040 3499 sed 's/^/| /' conftest.$ac_ext >&5 3041 3500 3042 ac_cv_lib_ole32_puts=no 3043 fi 3044 rm -f conftest.err conftest.$ac_objext \ 3501 ac_cv_lib_ole32_puts=no 3502 fi 3503 3504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3045 3505 conftest$ac_exeext conftest.$ac_ext 3046 3506 LIBS=$ac_check_lib_save_LIBS 3047 3507 fi 3048 echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&53049 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6 3508 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 3509 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 3050 3510 if test $ac_cv_lib_ole32_puts = yes; then 3051 3511 cat >>confdefs.h <<_ACEOF … … 3058 3518 3059 3519 3060 echo "$as_me:$LINENO: checking for puts in -lwinmm" >&53061 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6 3520 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3521 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 3062 3522 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3063 3523 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3072 3532 /* end confdefs.h. */ 3073 3533 3074 /* Override any gcc2 internal prototype to avoid an error. */ 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. */ 3075 3537 #ifdef __cplusplus 3076 3538 extern "C" 3077 3539 #endif 3078 /* We use char because int might match the return type of a gcc23079 builtin and then its argument prototype would still apply. */3080 3540 char puts (); 3081 3541 int 3082 3542 main () 3083 3543 { 3084 puts ();3544 return puts (); 3085 3545 ; 3086 3546 return 0; … … 3088 3548 _ACEOF 3089 3549 rm -f conftest.$ac_objext conftest$ac_exeext 3090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3091 (eval $ac_link) 2>conftest.er1 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 3092 3557 ac_status=$? 3093 3558 grep -v '^ *+' conftest.er1 >conftest.err … … 3095 3560 cat conftest.err >&5 3096 3561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3097 (exit $ac_status); } && 3098 { ac_try='test -z "$ac_c_werror_flag" 3099 || test ! -s conftest.err' 3100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3101 (eval $ac_try) 2>&5 3102 ac_status=$? 3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3104 (exit $ac_status); }; } && 3105 { ac_try='test -s conftest$ac_exeext' 3106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3107 (eval $ac_try) 2>&5 3108 ac_status=$? 3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3110 (exit $ac_status); }; }; then 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 3111 3567 ac_cv_lib_winmm_puts=yes 3112 3568 else … … 3114 3570 sed 's/^/| /' conftest.$ac_ext >&5 3115 3571 3116 ac_cv_lib_winmm_puts=no 3117 fi 3118 rm -f conftest.err conftest.$ac_objext \ 3572 ac_cv_lib_winmm_puts=no 3573 fi 3574 3575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3119 3576 conftest$ac_exeext conftest.$ac_ext 3120 3577 LIBS=$ac_check_lib_save_LIBS 3121 3578 fi 3122 echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&53123 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6 3579 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 3580 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 3124 3581 if test $ac_cv_lib_winmm_puts = yes; then 3125 3582 cat >>confdefs.h <<_ACEOF … … 3132 3589 3133 3590 3134 echo "$as_me:$LINENO: checking for puts in -lsocket" >&53135 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6 3591 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3592 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 3136 3593 if test "${ac_cv_lib_socket_puts+set}" = set; then 3137 3594 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3146 3603 /* end confdefs.h. */ 3147 3604 3148 /* Override any gcc2 internal prototype to avoid an error. */ 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. */ 3149 3608 #ifdef __cplusplus 3150 3609 extern "C" 3151 3610 #endif 3152 /* We use char because int might match the return type of a gcc23153 builtin and then its argument prototype would still apply. */3154 3611 char puts (); 3155 3612 int 3156 3613 main () 3157 3614 { 3158 puts ();3615 return puts (); 3159 3616 ; 3160 3617 return 0; … … 3162 3619 _ACEOF 3163 3620 rm -f conftest.$ac_objext conftest$ac_exeext 3164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3165 (eval $ac_link) 2>conftest.er1 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 3166 3628 ac_status=$? 3167 3629 grep -v '^ *+' conftest.er1 >conftest.err … … 3169 3631 cat conftest.err >&5 3170 3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3171 (exit $ac_status); } && 3172 { ac_try='test -z "$ac_c_werror_flag" 3173 || test ! -s conftest.err' 3174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3175 (eval $ac_try) 2>&5 3176 ac_status=$? 3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3178 (exit $ac_status); }; } && 3179 { ac_try='test -s conftest$ac_exeext' 3180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3181 (eval $ac_try) 2>&5 3182 ac_status=$? 3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3184 (exit $ac_status); }; }; then 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 3185 3638 ac_cv_lib_socket_puts=yes 3186 3639 else … … 3188 3641 sed 's/^/| /' conftest.$ac_ext >&5 3189 3642 3190 ac_cv_lib_socket_puts=no 3191 fi 3192 rm -f conftest.err conftest.$ac_objext \ 3643 ac_cv_lib_socket_puts=no 3644 fi 3645 3646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3193 3647 conftest$ac_exeext conftest.$ac_ext 3194 3648 LIBS=$ac_check_lib_save_LIBS 3195 3649 fi 3196 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&53197 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6 3650 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 3651 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 3198 3652 if test $ac_cv_lib_socket_puts = yes; then 3199 3653 cat >>confdefs.h <<_ACEOF … … 3206 3660 3207 3661 3208 echo "$as_me:$LINENO: checking for puts in -lrt" >&53209 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6 3662 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3663 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 3210 3664 if test "${ac_cv_lib_rt_puts+set}" = set; then 3211 3665 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3220 3674 /* end confdefs.h. */ 3221 3675 3222 /* Override any gcc2 internal prototype to avoid an error. */ 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. */ 3223 3679 #ifdef __cplusplus 3224 3680 extern "C" 3225 3681 #endif 3226 /* We use char because int might match the return type of a gcc23227 builtin and then its argument prototype would still apply. */3228 3682 char puts (); 3229 3683 int 3230 3684 main () 3231 3685 { 3232 puts ();3686 return puts (); 3233 3687 ; 3234 3688 return 0; … … 3236 3690 _ACEOF 3237 3691 rm -f conftest.$ac_objext conftest$ac_exeext 3238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3239 (eval $ac_link) 2>conftest.er1 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 3240 3699 ac_status=$? 3241 3700 grep -v '^ *+' conftest.er1 >conftest.err … … 3243 3702 cat conftest.err >&5 3244 3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3245 (exit $ac_status); } && 3246 { ac_try='test -z "$ac_c_werror_flag" 3247 || test ! -s conftest.err' 3248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3249 (eval $ac_try) 2>&5 3250 ac_status=$? 3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3252 (exit $ac_status); }; } && 3253 { ac_try='test -s conftest$ac_exeext' 3254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3255 (eval $ac_try) 2>&5 3256 ac_status=$? 3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3258 (exit $ac_status); }; }; then 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 3259 3709 ac_cv_lib_rt_puts=yes 3260 3710 else … … 3262 3712 sed 's/^/| /' conftest.$ac_ext >&5 3263 3713 3264 ac_cv_lib_rt_puts=no 3265 fi 3266 rm -f conftest.err conftest.$ac_objext \ 3714 ac_cv_lib_rt_puts=no 3715 fi 3716 3717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3267 3718 conftest$ac_exeext conftest.$ac_ext 3268 3719 LIBS=$ac_check_lib_save_LIBS 3269 3720 fi 3270 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&53271 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6 3721 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 3722 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 3272 3723 if test $ac_cv_lib_rt_puts = yes; then 3273 3724 cat >>confdefs.h <<_ACEOF … … 3280 3731 3281 3732 3282 echo "$as_me:$LINENO: checking for puts in -lnsl" >&53283 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6 3733 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3734 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 3284 3735 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3285 3736 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3294 3745 /* end confdefs.h. */ 3295 3746 3296 /* Override any gcc2 internal prototype to avoid an error. */ 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. */ 3297 3750 #ifdef __cplusplus 3298 3751 extern "C" 3299 3752 #endif 3300 /* We use char because int might match the return type of a gcc23301 builtin and then its argument prototype would still apply. */3302 3753 char puts (); 3303 3754 int 3304 3755 main () 3305 3756 { 3306 puts ();3757 return puts (); 3307 3758 ; 3308 3759 return 0; … … 3310 3761 _ACEOF 3311 3762 rm -f conftest.$ac_objext conftest$ac_exeext 3312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3313 (eval $ac_link) 2>conftest.er1 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 3314 3770 ac_status=$? 3315 3771 grep -v '^ *+' conftest.er1 >conftest.err … … 3317 3773 cat conftest.err >&5 3318 3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3319 (exit $ac_status); } && 3320 { ac_try='test -z "$ac_c_werror_flag" 3321 || test ! -s conftest.err' 3322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3323 (eval $ac_try) 2>&5 3324 ac_status=$? 3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3326 (exit $ac_status); }; } && 3327 { ac_try='test -s conftest$ac_exeext' 3328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3329 (eval $ac_try) 2>&5 3330 ac_status=$? 3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3332 (exit $ac_status); }; }; then 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 3333 3780 ac_cv_lib_nsl_puts=yes 3334 3781 else … … 3336 3783 sed 's/^/| /' conftest.$ac_ext >&5 3337 3784 3338 ac_cv_lib_nsl_puts=no 3339 fi 3340 rm -f conftest.err conftest.$ac_objext \ 3785 ac_cv_lib_nsl_puts=no 3786 fi 3787 3788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3341 3789 conftest$ac_exeext conftest.$ac_ext 3342 3790 LIBS=$ac_check_lib_save_LIBS 3343 3791 fi 3344 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&53345 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6 3792 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 3793 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 3346 3794 if test $ac_cv_lib_nsl_puts = yes; then 3347 3795 cat >>confdefs.h <<_ACEOF … … 3354 3802 3355 3803 3356 echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53357 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 3804 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3805 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3358 3806 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3359 3807 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3368 3816 /* end confdefs.h. */ 3369 3817 3370 /* Override any gcc2 internal prototype to avoid an error. */ 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. */ 3371 3821 #ifdef __cplusplus 3372 3822 extern "C" 3373 3823 #endif 3374 /* We use char because int might match the return type of a gcc23375 builtin and then its argument prototype would still apply. */3376 3824 char uuid_generate (); 3377 3825 int 3378 3826 main () 3379 3827 { 3380 uuid_generate ();3828 return uuid_generate (); 3381 3829 ; 3382 3830 return 0; … … 3384 3832 _ACEOF 3385 3833 rm -f conftest.$ac_objext conftest$ac_exeext 3386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3387 (eval $ac_link) 2>conftest.er1 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 3388 3841 ac_status=$? 3389 3842 grep -v '^ *+' conftest.er1 >conftest.err … … 3391 3844 cat conftest.err >&5 3392 3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3393 (exit $ac_status); } && 3394 { ac_try='test -z "$ac_c_werror_flag" 3395 || test ! -s conftest.err' 3396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3397 (eval $ac_try) 2>&5 3398 ac_status=$? 3399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3400 (exit $ac_status); }; } && 3401 { ac_try='test -s conftest$ac_exeext' 3402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3403 (eval $ac_try) 2>&5 3404 ac_status=$? 3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3406 (exit $ac_status); }; }; then 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 3407 3851 ac_cv_lib_uuid_uuid_generate=yes 3408 3852 else … … 3410 3854 sed 's/^/| /' conftest.$ac_ext >&5 3411 3855 3412 ac_cv_lib_uuid_uuid_generate=no 3413 fi 3414 rm -f conftest.err conftest.$ac_objext \ 3856 ac_cv_lib_uuid_uuid_generate=no 3857 fi 3858 3859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3415 3860 conftest$ac_exeext conftest.$ac_ext 3416 3861 LIBS=$ac_check_lib_save_LIBS 3417 3862 fi 3418 echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53419 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 3863 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3864 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 3420 3865 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3421 3866 cat >>confdefs.h <<_ACEOF … … 3427 3872 fi 3428 3873 3429 echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53430 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 3874 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3875 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3431 3876 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3432 3877 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3441 3886 /* end confdefs.h. */ 3442 3887 3443 /* Override any gcc2 internal prototype to avoid an error. */ 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. */ 3444 3891 #ifdef __cplusplus 3445 3892 extern "C" 3446 3893 #endif 3447 /* We use char because int might match the return type of a gcc23448 builtin and then its argument prototype would still apply. */3449 3894 char uuid_generate (); 3450 3895 int 3451 3896 main () 3452 3897 { 3453 uuid_generate ();3898 return uuid_generate (); 3454 3899 ; 3455 3900 return 0; … … 3457 3902 _ACEOF 3458 3903 rm -f conftest.$ac_objext conftest$ac_exeext 3459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3460 (eval $ac_link) 2>conftest.er1 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 3461 3911 ac_status=$? 3462 3912 grep -v '^ *+' conftest.er1 >conftest.err … … 3464 3914 cat conftest.err >&5 3465 3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3466 (exit $ac_status); } && 3467 { ac_try='test -z "$ac_c_werror_flag" 3468 || test ! -s conftest.err' 3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3470 (eval $ac_try) 2>&5 3471 ac_status=$? 3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3473 (exit $ac_status); }; } && 3474 { ac_try='test -s conftest$ac_exeext' 3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3476 (eval $ac_try) 2>&5 3477 ac_status=$? 3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3479 (exit $ac_status); }; }; then 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 3480 3921 ac_cv_lib_uuid_uuid_generate=yes 3481 3922 else … … 3483 3924 sed 's/^/| /' conftest.$ac_ext >&5 3484 3925 3485 ac_cv_lib_uuid_uuid_generate=no 3486 fi 3487 rm -f conftest.err conftest.$ac_objext \ 3926 ac_cv_lib_uuid_uuid_generate=no 3927 fi 3928 3929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3488 3930 conftest$ac_exeext conftest.$ac_ext 3489 3931 LIBS=$ac_check_lib_save_LIBS 3490 3932 fi 3491 echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53492 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 3933 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3934 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 3493 3935 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3494 3936 ac_has_uuid_lib=1 … … 3496 3938 3497 3939 3498 echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&53499 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6 3940 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 3941 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 3500 3942 cat >>confdefs.h <<_ACEOF 3501 3943 #define PJ_M_NAME "$target_cpu" … … 3503 3945 3504 3946 3505 echo "$as_me:$LINENO: checking memory alignment" >&53506 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6 3947 { echo "$as_me:$LINENO: checking memory alignment" >&5 3948 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 3507 3949 case $target in 3508 3950 ia64-* | x86_64-* ) … … 3511 3953 _ACEOF 3512 3954 3513 echo "$as_me:$LINENO: result: 8 bytes" >&53514 echo "${ECHO_T}8 bytes" >&6 3955 { echo "$as_me:$LINENO: result: 8 bytes" >&5 3956 echo "${ECHO_T}8 bytes" >&6; } 3515 3957 ;; 3516 3958 * ) … … 3519 3961 _ACEOF 3520 3962 3521 echo "$as_me:$LINENO: result: 4 bytes (default)" >&53522 echo "${ECHO_T}4 bytes (default)" >&6 3963 { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 3964 echo "${ECHO_T}4 bytes (default)" >&6; } 3523 3965 ;; 3524 3966 esac 3525 3526 3527 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&53528 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&63529 if test "${ac_cv_c_bigendian+set}" = set; then3530 echo $ECHO_N "(cached) $ECHO_C" >&63531 else3532 # See if sys/param.h defines the BYTE_ORDER macro.3533 cat >conftest.$ac_ext <<_ACEOF3534 /* confdefs.h. */3535 _ACEOF3536 cat confdefs.h >>conftest.$ac_ext3537 cat >>conftest.$ac_ext <<_ACEOF3538 /* end confdefs.h. */3539 #include <sys/types.h>3540 #include <sys/param.h>3541 3542 int3543 main ()3544 {3545 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN3546 bogus endian macros3547 #endif3548 3549 ;3550 return 0;3551 }3552 _ACEOF3553 rm -f conftest.$ac_objext3554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53555 (eval $ac_compile) 2>conftest.er13556 ac_status=$?3557 grep -v '^ *+' conftest.er1 >conftest.err3558 rm -f conftest.er13559 cat conftest.err >&53560 echo "$as_me:$LINENO: \$? = $ac_status" >&53561 (exit $ac_status); } &&3562 { ac_try='test -z "$ac_c_werror_flag"3563 || test ! -s conftest.err'3564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53565 (eval $ac_try) 2>&53566 ac_status=$?3567 echo "$as_me:$LINENO: \$? = $ac_status" >&53568 (exit $ac_status); }; } &&3569 { ac_try='test -s conftest.$ac_objext'3570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53571 (eval $ac_try) 2>&53572 ac_status=$?3573 echo "$as_me:$LINENO: \$? = $ac_status" >&53574 (exit $ac_status); }; }; then3575 # It does; now see whether it defined to BIG_ENDIAN or not.3576 cat >conftest.$ac_ext <<_ACEOF3577 /* confdefs.h. */3578 _ACEOF3579 cat confdefs.h >>conftest.$ac_ext3580 cat >>conftest.$ac_ext <<_ACEOF3581 /* end confdefs.h. */3582 #include <sys/types.h>3583 #include <sys/param.h>3584 3585 int3586 main ()3587 {3588 #if BYTE_ORDER != BIG_ENDIAN3589 not big endian3590 #endif3591 3592 ;3593 return 0;3594 }3595 _ACEOF3596 rm -f conftest.$ac_objext3597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53598 (eval $ac_compile) 2>conftest.er13599 ac_status=$?3600 grep -v '^ *+' conftest.er1 >conftest.err3601 rm -f conftest.er13602 cat conftest.err >&53603 echo "$as_me:$LINENO: \$? = $ac_status" >&53604 (exit $ac_status); } &&3605 { ac_try='test -z "$ac_c_werror_flag"3606 || test ! -s conftest.err'3607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53608 (eval $ac_try) 2>&53609 ac_status=$?3610 echo "$as_me:$LINENO: \$? = $ac_status" >&53611 (exit $ac_status); }; } &&3612 { ac_try='test -s conftest.$ac_objext'3613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53614 (eval $ac_try) 2>&53615 ac_status=$?3616 echo "$as_me:$LINENO: \$? = $ac_status" >&53617 (exit $ac_status); }; }; then3618 ac_cv_c_bigendian=yes3619 else3620 echo "$as_me: failed program was:" >&53621 sed 's/^/| /' conftest.$ac_ext >&53622 3623 ac_cv_c_bigendian=no3624 fi3625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext3626 else3627 echo "$as_me: failed program was:" >&53628 sed 's/^/| /' conftest.$ac_ext >&53629 3630 # It does not; compile a test program.3631 if test "$cross_compiling" = yes; then3632 # try to guess the endianness by grepping values into an object file3633 ac_cv_c_bigendian=unknown3634 cat >conftest.$ac_ext <<_ACEOF3635 /* confdefs.h. */3636 _ACEOF3637 cat confdefs.h >>conftest.$ac_ext3638 cat >>conftest.$ac_ext <<_ACEOF3639 /* end confdefs.h. */3640 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };3641 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };3642 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }3643 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };3644 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };3645 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }3646 int3647 main ()3648 {3649 _ascii (); _ebcdic ();3650 ;3651 return 0;3652 }3653 _ACEOF3654 rm -f conftest.$ac_objext3655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53656 (eval $ac_compile) 2>conftest.er13657 ac_status=$?3658 grep -v '^ *+' conftest.er1 >conftest.err3659 rm -f conftest.er13660 cat conftest.err >&53661 echo "$as_me:$LINENO: \$? = $ac_status" >&53662 (exit $ac_status); } &&3663 { ac_try='test -z "$ac_c_werror_flag"3664 || test ! -s conftest.err'3665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53666 (eval $ac_try) 2>&53667 ac_status=$?3668 echo "$as_me:$LINENO: \$? = $ac_status" >&53669 (exit $ac_status); }; } &&3670 { ac_try='test -s conftest.$ac_objext'3671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53672 (eval $ac_try) 2>&53673 ac_status=$?3674 echo "$as_me:$LINENO: \$? = $ac_status" >&53675 (exit $ac_status); }; }; then3676 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then3677 ac_cv_c_bigendian=yes3678 fi3679 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then3680 if test "$ac_cv_c_bigendian" = unknown; then3681 ac_cv_c_bigendian=no3682 else3683 # finding both strings is unlikely to happen, but who knows?3684 ac_cv_c_bigendian=unknown3685 fi3686 fi3687 else3688 echo "$as_me: failed program was:" >&53689 sed 's/^/| /' conftest.$ac_ext >&53690 3691 fi3692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext3693 else3694 cat >conftest.$ac_ext <<_ACEOF3695 /* confdefs.h. */3696 _ACEOF3697 cat confdefs.h >>conftest.$ac_ext3698 cat >>conftest.$ac_ext <<_ACEOF3699 /* end confdefs.h. */3700 int3701 main ()3702 {3703 /* Are we little or big endian? From Harbison&Steele. */3704 union3705 {3706 long l;3707 char c[sizeof (long)];3708 } u;3709 u.l = 1;3710 exit (u.c[sizeof (long) - 1] == 1);3711 }3712 _ACEOF3713 rm -f conftest$ac_exeext3714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&53715 (eval $ac_link) 2>&53716 ac_status=$?3717 echo "$as_me:$LINENO: \$? = $ac_status" >&53718 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'3719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53720 (eval $ac_try) 2>&53721 ac_status=$?3722 echo "$as_me:$LINENO: \$? = $ac_status" >&53723 (exit $ac_status); }; }; then3724 ac_cv_c_bigendian=no3725 else3726 echo "$as_me: program exited with status $ac_status" >&53727 echo "$as_me: failed program was:" >&53728 sed 's/^/| /' conftest.$ac_ext >&53729 3730 ( exit $ac_status )3731 ac_cv_c_bigendian=yes3732 fi3733 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext3734 fi3735 fi3736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext3737 fi3738 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&53739 echo "${ECHO_T}$ac_cv_c_bigendian" >&63740 case $ac_cv_c_bigendian in3741 yes)3742 3743 cat >>confdefs.h <<\_ACEOF3744 #define WORDS_BIGENDIAN 13745 _ACEOF3746 ;;3747 no)3748 ;;3749 *)3750 { { echo "$as_me:$LINENO: error: unknown endianness3751 presetting ac_cv_c_bigendian=no (or yes) will help" >&53752 echo "$as_me: error: unknown endianness3753 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}3754 { (exit 1); exit 1; }; } ;;3755 esac3756 3757 3758 case $target in3759 *mingw* | *cygw* | *win32* | *w32* )3760 cat >>confdefs.h <<\_ACEOF3761 #define PJ_WIN32 13762 _ACEOF3763 3764 cat >>confdefs.h <<\_ACEOF3765 #define PJ_WIN32_WINNT 0x04003766 _ACEOF3767 3768 cat >>confdefs.h <<\_ACEOF3769 #define WIN32_LEAN_AND_MEAN 13770 _ACEOF3771 3772 ;;3773 *darwin*)3774 cat >>confdefs.h <<\_ACEOF3775 #define PJ_DARWINOS 13776 _ACEOF3777 3778 ;;3779 *linux*)3780 cat >>confdefs.h <<\_ACEOF3781 #define PJ_LINUX 13782 _ACEOF3783 3784 ;;3785 *rtems*)3786 cat >>confdefs.h <<\_ACEOF3787 #define PJ_RTEMS 13788 _ACEOF3789 3790 ;;3791 *sunos* | *solaris* )3792 cat >>confdefs.h <<\_ACEOF3793 #define PJ_SUNOS 13794 _ACEOF3795 3796 ;;3797 *)3798 ;;3799 esac3800 3801 3802 3803 3804 # Check whether --enable-floating-point or --disable-floating-point was given.3805 if test "${enable_floating_point+set}" = set; then3806 enableval="$enable_floating_point"3807 if test "$enable_floating_point" = "no"; then3808 cat >>confdefs.h <<\_ACEOF3809 #define PJ_HAS_FLOATING_POINT 03810 _ACEOF3811 3812 echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&53813 echo "${ECHO_T}Checking if floating point is disabled... yes" >&63814 fi3815 else3816 3817 cat >>confdefs.h <<\_ACEOF3818 #define PJ_HAS_FLOATING_POINT 13819 _ACEOF3820 3821 echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&53822 echo "${ECHO_T}Checking if floating point is disabled... no" >&63823 3824 echo "$as_me:$LINENO: checking for fmod in -lm" >&53825 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&63826 if test "${ac_cv_lib_m_fmod+set}" = set; then3827 echo $ECHO_N "(cached) $ECHO_C" >&63828 else3829 ac_check_lib_save_LIBS=$LIBS3830 LIBS="-lm $LIBS"3831 cat >conftest.$ac_ext <<_ACEOF3832 /* confdefs.h. */3833 _ACEOF3834 cat confdefs.h >>conftest.$ac_ext3835 cat >>conftest.$ac_ext <<_ACEOF3836 /* end confdefs.h. */3837 3838 /* Override any gcc2 internal prototype to avoid an error. */3839 #ifdef __cplusplus3840 extern "C"3841 #endif3842 /* We use char because int might match the return type of a gcc23843 builtin and then its argument prototype would still apply. */3844 char fmod ();3845 int3846 main ()3847 {3848 fmod ();3849 ;3850 return 0;3851 }3852 _ACEOF3853 rm -f conftest.$ac_objext conftest$ac_exeext3854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&53855 (eval $ac_link) 2>conftest.er13856 ac_status=$?3857 grep -v '^ *+' conftest.er1 >conftest.err3858 rm -f conftest.er13859 cat conftest.err >&53860 echo "$as_me:$LINENO: \$? = $ac_status" >&53861 (exit $ac_status); } &&3862 { ac_try='test -z "$ac_c_werror_flag"3863 || test ! -s conftest.err'3864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53865 (eval $ac_try) 2>&53866 ac_status=$?3867 echo "$as_me:$LINENO: \$? = $ac_status" >&53868 (exit $ac_status); }; } &&3869 { ac_try='test -s conftest$ac_exeext'3870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53871 (eval $ac_try) 2>&53872 ac_status=$?3873 echo "$as_me:$LINENO: \$? = $ac_status" >&53874 (exit $ac_status); }; }; then3875 ac_cv_lib_m_fmod=yes3876 else3877 echo "$as_me: failed program was:" >&53878 sed 's/^/| /' conftest.$ac_ext >&53879 3880 ac_cv_lib_m_fmod=no3881 fi3882 rm -f conftest.err conftest.$ac_objext \3883 conftest$ac_exeext conftest.$ac_ext3884 LIBS=$ac_check_lib_save_LIBS3885 fi3886 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&53887 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&63888 if test $ac_cv_lib_m_fmod = yes; then3889 cat >>confdefs.h <<_ACEOF3890 #define HAVE_LIBM 13891 _ACEOF3892 3893 LIBS="-lm $LIBS"3894 3895 fi3896 3897 3898 fi;3899 3967 3900 3968 … … 3904 3972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3905 3973 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3906 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53907 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3974 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3975 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3908 3976 # On Suns, sometimes $CPP names a directory. 3909 3977 if test -n "$CPP" && test -d "$CPP"; then … … 3939 4007 Syntax error 3940 4008 _ACEOF 3941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3942 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 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 3943 4016 ac_status=$? 3944 4017 grep -v '^ *+' conftest.er1 >conftest.err … … 3946 4019 cat conftest.err >&5 3947 4020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3948 (exit $ac_status); } >/dev/null; then 3949 if test -s conftest.err; then 3950 ac_cpp_err=$ac_c_preproc_warn_flag 3951 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3952 else 3953 ac_cpp_err= 3954 fi 3955 else 3956 ac_cpp_err=yes 3957 fi 3958 if test -z "$ac_cpp_err"; then 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 3959 4025 : 3960 4026 else … … 3965 4031 continue 3966 4032 fi 4033 3967 4034 rm -f conftest.err conftest.$ac_ext 3968 4035 3969 # OK, works on sane cases. Now check whether non -existent headers4036 # OK, works on sane cases. Now check whether nonexistent headers 3970 4037 # can be detected and how. 3971 4038 cat >conftest.$ac_ext <<_ACEOF … … 3977 4044 #include <ac_nonexistent.h> 3978 4045 _ACEOF 3979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3980 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 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 3981 4053 ac_status=$? 3982 4054 grep -v '^ *+' conftest.er1 >conftest.err … … 3984 4056 cat conftest.err >&5 3985 4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3986 (exit $ac_status); } >/dev/null; then 3987 if test -s conftest.err; then 3988 ac_cpp_err=$ac_c_preproc_warn_flag 3989 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3990 else 3991 ac_cpp_err= 3992 fi 3993 else 3994 ac_cpp_err=yes 3995 fi 3996 if test -z "$ac_cpp_err"; then 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 3997 4062 # Broken: success on invalid input. 3998 4063 continue … … 4005 4070 break 4006 4071 fi 4072 4007 4073 rm -f conftest.err conftest.$ac_ext 4008 4074 … … 4022 4088 ac_cv_prog_CPP=$CPP 4023 4089 fi 4024 echo "$as_me:$LINENO: result: $CPP" >&54025 echo "${ECHO_T}$CPP" >&6 4090 { echo "$as_me:$LINENO: result: $CPP" >&5 4091 echo "${ECHO_T}$CPP" >&6; } 4026 4092 ac_preproc_ok=false 4027 4093 for ac_c_preproc_warn_flag in '' yes … … 4046 4112 Syntax error 4047 4113 _ACEOF 4048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 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 4050 4121 ac_status=$? 4051 4122 grep -v '^ *+' conftest.er1 >conftest.err … … 4053 4124 cat conftest.err >&5 4054 4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4055 (exit $ac_status); } >/dev/null; then 4056 if test -s conftest.err; then 4057 ac_cpp_err=$ac_c_preproc_warn_flag 4058 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4059 else 4060 ac_cpp_err= 4061 fi 4062 else 4063 ac_cpp_err=yes 4064 fi 4065 if test -z "$ac_cpp_err"; then 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 4066 4130 : 4067 4131 else … … 4072 4136 continue 4073 4137 fi 4138 4074 4139 rm -f conftest.err conftest.$ac_ext 4075 4140 4076 # OK, works on sane cases. Now check whether non -existent headers4141 # OK, works on sane cases. Now check whether nonexistent headers 4077 4142 # can be detected and how. 4078 4143 cat >conftest.$ac_ext <<_ACEOF … … 4084 4149 #include <ac_nonexistent.h> 4085 4150 _ACEOF 4086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 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 4088 4158 ac_status=$? 4089 4159 grep -v '^ *+' conftest.er1 >conftest.err … … 4091 4161 cat conftest.err >&5 4092 4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4093 (exit $ac_status); } >/dev/null; then 4094 if test -s conftest.err; then 4095 ac_cpp_err=$ac_c_preproc_warn_flag 4096 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4097 else 4098 ac_cpp_err= 4099 fi 4100 else 4101 ac_cpp_err=yes 4102 fi 4103 if test -z "$ac_cpp_err"; then 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 4104 4167 # Broken: success on invalid input. 4105 4168 continue … … 4112 4175 break 4113 4176 fi 4177 4114 4178 rm -f conftest.err conftest.$ac_ext 4115 4179 … … 4134 4198 4135 4199 4136 echo "$as_me:$LINENO: checking for egrep" >&54137 echo $ECHO_N "checking for egrep... $ECHO_C" >&64138 if test "${ac_cv_p rog_egrep+set}" = set; then4200 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4201 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4202 if test "${ac_cv_path_GREP+set}" = set; then 4139 4203 echo $ECHO_N "(cached) $ECHO_C" >&6 4140 4204 else 4141 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 4142 then ac_cv_prog_egrep='grep -E' 4143 else ac_cv_prog_egrep='egrep' 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 4144 4243 fi 4145 fi 4146 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 4147 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 4148 EGREP=$ac_cv_prog_egrep 4149 4150 4151 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4152 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 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 4364 if test "${ac_cv_header_stdc+set}" = set; then 4154 4365 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4174 4385 _ACEOF 4175 4386 rm -f conftest.$ac_objext 4176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4177 (eval $ac_compile) 2>conftest.er1 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 4178 4394 ac_status=$? 4179 4395 grep -v '^ *+' conftest.er1 >conftest.err … … 4181 4397 cat conftest.err >&5 4182 4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4183 (exit $ac_status); } && 4184 { ac_try='test -z "$ac_c_werror_flag" 4185 || test ! -s conftest.err' 4186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4187 (eval $ac_try) 2>&5 4188 ac_status=$? 4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4190 (exit $ac_status); }; } && 4191 { ac_try='test -s conftest.$ac_objext' 4192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4193 (eval $ac_try) 2>&5 4194 ac_status=$? 4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4196 (exit $ac_status); }; }; then 4399 (exit $ac_status); } && { 4400 test -z "$ac_c_werror_flag" || 4401 test ! -s conftest.err 4402 } && test -s conftest.$ac_objext; then 4197 4403 ac_cv_header_stdc=yes 4198 4404 else … … 4200 4406 sed 's/^/| /' conftest.$ac_ext >&5 4201 4407 4202 ac_cv_header_stdc=no 4203 fi 4204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4408 ac_cv_header_stdc=no 4409 fi 4410 4411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4205 4412 4206 4413 if test $ac_cv_header_stdc = yes; then … … 4258 4465 /* end confdefs.h. */ 4259 4466 #include <ctype.h> 4467 #include <stdlib.h> 4260 4468 #if ((' ' & 0x0FF) == 0x020) 4261 4469 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4277 4485 if (XOR (islower (i), ISLOWER (i)) 4278 4486 || toupper (i) != TOUPPER (i)) 4279 exit(2);4280 exit (0);4487 return 2; 4488 return 0; 4281 4489 } 4282 4490 _ACEOF 4283 4491 rm -f conftest$ac_exeext 4284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4285 (eval $ac_link) 2>&5 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 4286 4499 ac_status=$? 4287 4500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4288 4501 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4290 (eval $ac_try) 2>&5 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 4291 4508 ac_status=$? 4292 4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4301 4518 ac_cv_header_stdc=no 4302 4519 fi 4303 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4304 fi 4305 fi 4306 fi 4307 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4308 echo "${ECHO_T}$ac_cv_header_stdc" >&6 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; } 4309 4528 if test $ac_cv_header_stdc = yes; then 4310 4529 … … 4329 4548 do 4330 4549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4331 echo "$as_me:$LINENO: checking for $ac_header" >&54332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4333 if eval "test \"\${$as_ac_Header+set}\" = set"; then4550 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4334 4553 echo $ECHO_N "(cached) $ECHO_C" >&6 4335 4554 else … … 4345 4564 _ACEOF 4346 4565 rm -f conftest.$ac_objext 4347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4348 (eval $ac_compile) 2>conftest.er1 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 4349 4573 ac_status=$? 4350 4574 grep -v '^ *+' conftest.er1 >conftest.err … … 4352 4576 cat conftest.err >&5 4353 4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4354 (exit $ac_status); } && 4355 { ac_try='test -z "$ac_c_werror_flag" 4356 || test ! -s conftest.err' 4357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4358 (eval $ac_try) 2>&5 4359 ac_status=$? 4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4361 (exit $ac_status); }; } && 4362 { ac_try='test -s conftest.$ac_objext' 4363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4364 (eval $ac_try) 2>&5 4365 ac_status=$? 4366 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4367 (exit $ac_status); }; }; then 4578 (exit $ac_status); } && { 4579 test -z "$ac_c_werror_flag" || 4580 test ! -s conftest.err 4581 } && test -s conftest.$ac_objext; then 4368 4582 eval "$as_ac_Header=yes" 4369 4583 else … … 4371 4585 sed 's/^/| /' conftest.$ac_ext >&5 4372 4586 4373 eval "$as_ac_Header=no" 4374 fi 4375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4376 fi 4377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 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; } 4379 4595 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4380 4596 cat >>confdefs.h <<_ACEOF … … 4387 4603 4388 4604 4605 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4606 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 4607 if test "${ac_cv_c_bigendian+set}" = set; then 4608 echo $ECHO_N "(cached) $ECHO_C" >&6 4609 else 4610 # See if sys/param.h defines the BYTE_ORDER macro. 4611 cat >conftest.$ac_ext <<_ACEOF 4612 /* confdefs.h. */ 4613 _ACEOF 4614 cat confdefs.h >>conftest.$ac_ext 4615 cat >>conftest.$ac_ext <<_ACEOF 4616 /* end confdefs.h. */ 4617 #include <sys/types.h> 4618 #include <sys/param.h> 4619 4620 int 4621 main () 4622 { 4623 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4624 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4625 bogus endian macros 4626 #endif 4627 4628 ; 4629 return 0; 4630 } 4631 _ACEOF 4632 rm -f conftest.$ac_objext 4633 if { (ac_try="$ac_compile" 4634 case "(($ac_try" in 4635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4636 *) ac_try_echo=$ac_try;; 4637 esac 4638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4639 (eval "$ac_compile") 2>conftest.er1 4640 ac_status=$? 4641 grep -v '^ *+' conftest.er1 >conftest.err 4642 rm -f conftest.er1 4643 cat conftest.err >&5 4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4645 (exit $ac_status); } && { 4646 test -z "$ac_c_werror_flag" || 4647 test ! -s conftest.err 4648 } && test -s conftest.$ac_objext; then 4649 # It does; now see whether it defined to BIG_ENDIAN or not. 4650 cat >conftest.$ac_ext <<_ACEOF 4651 /* confdefs.h. */ 4652 _ACEOF 4653 cat confdefs.h >>conftest.$ac_ext 4654 cat >>conftest.$ac_ext <<_ACEOF 4655 /* end confdefs.h. */ 4656 #include <sys/types.h> 4657 #include <sys/param.h> 4658 4659 int 4660 main () 4661 { 4662 #if BYTE_ORDER != BIG_ENDIAN 4663 not big endian 4664 #endif 4665 4666 ; 4667 return 0; 4668 } 4669 _ACEOF 4670 rm -f conftest.$ac_objext 4671 if { (ac_try="$ac_compile" 4672 case "(($ac_try" in 4673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4674 *) ac_try_echo=$ac_try;; 4675 esac 4676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4677 (eval "$ac_compile") 2>conftest.er1 4678 ac_status=$? 4679 grep -v '^ *+' conftest.er1 >conftest.err 4680 rm -f conftest.er1 4681 cat conftest.err >&5 4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4683 (exit $ac_status); } && { 4684 test -z "$ac_c_werror_flag" || 4685 test ! -s conftest.err 4686 } && test -s conftest.$ac_objext; then 4687 ac_cv_c_bigendian=yes 4688 else 4689 echo "$as_me: failed program was:" >&5 4690 sed 's/^/| /' conftest.$ac_ext >&5 4691 4692 ac_cv_c_bigendian=no 4693 fi 4694 4695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4696 else 4697 echo "$as_me: failed program was:" >&5 4698 sed 's/^/| /' conftest.$ac_ext >&5 4699 4700 # It does not; compile a test program. 4701 if test "$cross_compiling" = yes; then 4702 # try to guess the endianness by grepping values into an object file 4703 ac_cv_c_bigendian=unknown 4704 cat >conftest.$ac_ext <<_ACEOF 4705 /* confdefs.h. */ 4706 _ACEOF 4707 cat confdefs.h >>conftest.$ac_ext 4708 cat >>conftest.$ac_ext <<_ACEOF 4709 /* 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 int 4717 main () 4718 { 4719 _ascii (); _ebcdic (); 4720 ; 4721 return 0; 4722 } 4723 _ACEOF 4724 rm -f conftest.$ac_objext 4725 if { (ac_try="$ac_compile" 4726 case "(($ac_try" in 4727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4728 *) ac_try_echo=$ac_try;; 4729 esac 4730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4731 (eval "$ac_compile") 2>conftest.er1 4732 ac_status=$? 4733 grep -v '^ *+' conftest.er1 >conftest.err 4734 rm -f conftest.er1 4735 cat conftest.err >&5 4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4737 (exit $ac_status); } && { 4738 test -z "$ac_c_werror_flag" || 4739 test ! -s conftest.err 4740 } && test -s conftest.$ac_objext; then 4741 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 4742 ac_cv_c_bigendian=yes 4743 fi 4744 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4745 if test "$ac_cv_c_bigendian" = unknown; then 4746 ac_cv_c_bigendian=no 4747 else 4748 # finding both strings is unlikely to happen, but who knows? 4749 ac_cv_c_bigendian=unknown 4750 fi 4751 fi 4752 else 4753 echo "$as_me: failed program was:" >&5 4754 sed 's/^/| /' conftest.$ac_ext >&5 4755 4756 4757 fi 4758 4759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4760 else 4761 cat >conftest.$ac_ext <<_ACEOF 4762 /* confdefs.h. */ 4763 _ACEOF 4764 cat confdefs.h >>conftest.$ac_ext 4765 cat >>conftest.$ac_ext <<_ACEOF 4766 /* end confdefs.h. */ 4767 $ac_includes_default 4768 int 4769 main () 4770 { 4771 4772 /* Are we little or big endian? From Harbison&Steele. */ 4773 union 4774 { 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 _ACEOF 4785 rm -f conftest$ac_exeext 4786 if { (ac_try="$ac_link" 4787 case "(($ac_try" in 4788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4789 *) ac_try_echo=$ac_try;; 4790 esac 4791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4792 (eval "$ac_link") 2>&5 4793 ac_status=$? 4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4795 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4796 { (case "(($ac_try" in 4797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4798 *) ac_try_echo=$ac_try;; 4799 esac 4800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4801 (eval "$ac_try") 2>&5 4802 ac_status=$? 4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4804 (exit $ac_status); }; }; then 4805 ac_cv_c_bigendian=no 4806 else 4807 echo "$as_me: program exited with status $ac_status" >&5 4808 echo "$as_me: failed program was:" >&5 4809 sed 's/^/| /' conftest.$ac_ext >&5 4810 4811 ( exit $ac_status ) 4812 ac_cv_c_bigendian=yes 4813 fi 4814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4815 fi 4816 4817 4818 fi 4819 4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4821 fi 4822 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4823 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4824 case $ac_cv_c_bigendian in 4825 yes) 4826 4827 cat >>confdefs.h <<\_ACEOF 4828 #define WORDS_BIGENDIAN 1 4829 _ACEOF 4830 ;; 4831 no) 4832 ;; 4833 *) 4834 { { echo "$as_me:$LINENO: error: unknown endianness 4835 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4836 echo "$as_me: error: unknown endianness 4837 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4838 { (exit 1); exit 1; }; } ;; 4839 esac 4840 4841 4842 case $target in 4843 *mingw* | *cygw* | *win32* | *w32* ) 4844 cat >>confdefs.h <<\_ACEOF 4845 #define PJ_WIN32 1 4846 _ACEOF 4847 4848 cat >>confdefs.h <<\_ACEOF 4849 #define PJ_WIN32_WINNT 0x0400 4850 _ACEOF 4851 4852 cat >>confdefs.h <<\_ACEOF 4853 #define WIN32_LEAN_AND_MEAN 1 4854 _ACEOF 4855 4856 ;; 4857 *darwin*) 4858 cat >>confdefs.h <<\_ACEOF 4859 #define PJ_DARWINOS 1 4860 _ACEOF 4861 4862 ;; 4863 *linux*) 4864 cat >>confdefs.h <<\_ACEOF 4865 #define PJ_LINUX 1 4866 _ACEOF 4867 4868 ;; 4869 *rtems*) 4870 cat >>confdefs.h <<\_ACEOF 4871 #define PJ_RTEMS 1 4872 _ACEOF 4873 4874 ;; 4875 *sunos* | *solaris* ) 4876 cat >>confdefs.h <<\_ACEOF 4877 #define PJ_SUNOS 1 4878 _ACEOF 4879 4880 ;; 4881 *) 4882 ;; 4883 esac 4884 4885 4886 4887 4888 # Check whether --enable-floating-point was given. 4889 if test "${enable_floating_point+set}" = set; then 4890 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 4891 cat >>confdefs.h <<\_ACEOF 4892 #define PJ_HAS_FLOATING_POINT 0 4893 _ACEOF 4894 4895 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 4896 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 4897 fi 4898 else 4899 4900 cat >>confdefs.h <<\_ACEOF 4901 #define PJ_HAS_FLOATING_POINT 1 4902 _ACEOF 4903 4904 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 4905 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 4906 4907 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 4908 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 4909 if test "${ac_cv_lib_m_fmod+set}" = set; then 4910 echo $ECHO_N "(cached) $ECHO_C" >&6 4911 else 4912 ac_check_lib_save_LIBS=$LIBS 4913 LIBS="-lm $LIBS" 4914 cat >conftest.$ac_ext <<_ACEOF 4915 /* confdefs.h. */ 4916 _ACEOF 4917 cat confdefs.h >>conftest.$ac_ext 4918 cat >>conftest.$ac_ext <<_ACEOF 4919 /* 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 GCC 4923 builtin and then its argument prototype would still apply. */ 4924 #ifdef __cplusplus 4925 extern "C" 4926 #endif 4927 char fmod (); 4928 int 4929 main () 4930 { 4931 return fmod (); 4932 ; 4933 return 0; 4934 } 4935 _ACEOF 4936 rm -f conftest.$ac_objext conftest$ac_exeext 4937 if { (ac_try="$ac_link" 4938 case "(($ac_try" in 4939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4940 *) ac_try_echo=$ac_try;; 4941 esac 4942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4943 (eval "$ac_link") 2>conftest.er1 4944 ac_status=$? 4945 grep -v '^ *+' conftest.er1 >conftest.err 4946 rm -f conftest.er1 4947 cat conftest.err >&5 4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4949 (exit $ac_status); } && { 4950 test -z "$ac_c_werror_flag" || 4951 test ! -s conftest.err 4952 } && test -s conftest$ac_exeext && 4953 $as_test_x conftest$ac_exeext; then 4954 ac_cv_lib_m_fmod=yes 4955 else 4956 echo "$as_me: failed program was:" >&5 4957 sed 's/^/| /' conftest.$ac_ext >&5 4958 4959 ac_cv_lib_m_fmod=no 4960 fi 4961 4962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4963 conftest$ac_exeext conftest.$ac_ext 4964 LIBS=$ac_check_lib_save_LIBS 4965 fi 4966 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 4967 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 4968 if test $ac_cv_lib_m_fmod = yes; then 4969 cat >>confdefs.h <<_ACEOF 4970 #define HAVE_LIBM 1 4971 _ACEOF 4972 4973 LIBS="-lm $LIBS" 4974 4975 fi 4976 4977 4978 fi 4979 4980 4981 4389 4982 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4390 echo "$as_me:$LINENO: checking for arpa/inet.h" >&54391 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 4983 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 4984 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 4392 4985 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4393 4986 echo $ECHO_N "(cached) $ECHO_C" >&6 4394 4987 fi 4395 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&54396 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 4988 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 4989 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 4397 4990 else 4398 4991 # Is the header compilable? 4399 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&54400 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 4992 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 4993 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 4401 4994 cat >conftest.$ac_ext <<_ACEOF 4402 4995 /* confdefs.h. */ … … 4409 5002 _ACEOF 4410 5003 rm -f conftest.$ac_objext 4411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4412 (eval $ac_compile) 2>conftest.er1 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 4413 5011 ac_status=$? 4414 5012 grep -v '^ *+' conftest.er1 >conftest.err … … 4416 5014 cat conftest.err >&5 4417 5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4418 (exit $ac_status); } && 4419 { ac_try='test -z "$ac_c_werror_flag" 4420 || test ! -s conftest.err' 4421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4422 (eval $ac_try) 2>&5 4423 ac_status=$? 4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4425 (exit $ac_status); }; } && 4426 { ac_try='test -s conftest.$ac_objext' 4427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4428 (eval $ac_try) 2>&5 4429 ac_status=$? 4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4431 (exit $ac_status); }; }; then 5016 (exit $ac_status); } && { 5017 test -z "$ac_c_werror_flag" || 5018 test ! -s conftest.err 5019 } && test -s conftest.$ac_objext; then 4432 5020 ac_header_compiler=yes 4433 5021 else … … 4435 5023 sed 's/^/| /' conftest.$ac_ext >&5 4436 5024 4437 ac_header_compiler=no 4438 fi 4439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4440 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4441 echo "${ECHO_T}$ac_header_compiler" >&6 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; } 4442 5031 4443 5032 # Is the header present? 4444 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&54445 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 5033 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 5034 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 4446 5035 cat >conftest.$ac_ext <<_ACEOF 4447 5036 /* confdefs.h. */ … … 4452 5041 #include <arpa/inet.h> 4453 5042 _ACEOF 4454 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4455 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 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 4456 5050 ac_status=$? 4457 5051 grep -v '^ *+' conftest.er1 >conftest.err … … 4459 5053 cat conftest.err >&5 4460 5054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4461 (exit $ac_status); } >/dev/null; then 4462 if test -s conftest.err; then 4463 ac_cpp_err=$ac_c_preproc_warn_flag 4464 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4465 else 4466 ac_cpp_err= 4467 fi 4468 else 4469 ac_cpp_err=yes 4470 fi 4471 if test -z "$ac_cpp_err"; then 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 4472 5059 ac_header_preproc=yes 4473 5060 else … … 4477 5064 ac_header_preproc=no 4478 5065 fi 5066 4479 5067 rm -f conftest.err conftest.$ac_ext 4480 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54481 echo "${ECHO_T}$ac_header_preproc" >&6 5068 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5069 echo "${ECHO_T}$ac_header_preproc" >&6; } 4482 5070 4483 5071 # So? What about this header? … … 4503 5091 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 4504 5092 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 4505 ( 4506 cat <<\_ASBOX 4507 ## ------------------------------------ ## 4508 ## Report this to the pjproject lists. ## 4509 ## ------------------------------------ ## 4510 _ASBOX 4511 ) | 4512 sed "s/^/$as_me: WARNING: /" >&2 5093 4513 5094 ;; 4514 5095 esac 4515 echo "$as_me:$LINENO: checking for arpa/inet.h" >&54516 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 5096 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5097 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 4517 5098 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4518 5099 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4520 5101 ac_cv_header_arpa_inet_h=$ac_header_preproc 4521 5102 fi 4522 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&54523 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 5103 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5104 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 4524 5105 4525 5106 fi … … 4533 5114 4534 5115 if test "${ac_cv_header_assert_h+set}" = set; then 4535 echo "$as_me:$LINENO: checking for assert.h" >&54536 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 5116 { echo "$as_me:$LINENO: checking for assert.h" >&5 5117 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 4537 5118 if test "${ac_cv_header_assert_h+set}" = set; then 4538 5119 echo $ECHO_N "(cached) $ECHO_C" >&6 4539 5120 fi 4540 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&54541 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 5121 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5122 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 4542 5123 else 4543 5124 # Is the header compilable? 4544 echo "$as_me:$LINENO: checking assert.h usability" >&54545 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6 5125 { echo "$as_me:$LINENO: checking assert.h usability" >&5 5126 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 4546 5127 cat >conftest.$ac_ext <<_ACEOF 4547 5128 /* confdefs.h. */ … … 4554 5135 _ACEOF 4555 5136 rm -f conftest.$ac_objext 4556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4557 (eval $ac_compile) 2>conftest.er1 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 4558 5144 ac_status=$? 4559 5145 grep -v '^ *+' conftest.er1 >conftest.err … … 4561 5147 cat conftest.err >&5 4562 5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4563 (exit $ac_status); } && 4564 { ac_try='test -z "$ac_c_werror_flag" 4565 || test ! -s conftest.err' 4566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4567 (eval $ac_try) 2>&5 4568 ac_status=$? 4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4570 (exit $ac_status); }; } && 4571 { ac_try='test -s conftest.$ac_objext' 4572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4573 (eval $ac_try) 2>&5 4574 ac_status=$? 4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4576 (exit $ac_status); }; }; then 5149 (exit $ac_status); } && { 5150 test -z "$ac_c_werror_flag" || 5151 test ! -s conftest.err 5152 } && test -s conftest.$ac_objext; then 4577 5153 ac_header_compiler=yes 4578 5154 else … … 4580 5156 sed 's/^/| /' conftest.$ac_ext >&5 4581 5157 4582 ac_header_compiler=no 4583 fi 4584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4585 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4586 echo "${ECHO_T}$ac_header_compiler" >&6 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; } 4587 5164 4588 5165 # Is the header present? 4589 echo "$as_me:$LINENO: checking assert.h presence" >&54590 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6 5166 { echo "$as_me:$LINENO: checking assert.h presence" >&5 5167 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 4591 5168 cat >conftest.$ac_ext <<_ACEOF 4592 5169 /* confdefs.h. */ … … 4597 5174 #include <assert.h> 4598 5175 _ACEOF 4599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4600 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 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 4601 5183 ac_status=$? 4602 5184 grep -v '^ *+' conftest.er1 >conftest.err … … 4604 5186 cat conftest.err >&5 4605 5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4606 (exit $ac_status); } >/dev/null; then 4607 if test -s conftest.err; then 4608 ac_cpp_err=$ac_c_preproc_warn_flag 4609 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4610 else 4611 ac_cpp_err= 4612 fi 4613 else 4614 ac_cpp_err=yes 4615 fi 4616 if test -z "$ac_cpp_err"; then 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 4617 5192 ac_header_preproc=yes 4618 5193 else … … 4622 5197 ac_header_preproc=no 4623 5198 fi 5199 4624 5200 rm -f conftest.err conftest.$ac_ext 4625 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54626 echo "${ECHO_T}$ac_header_preproc" >&6 5201 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5202 echo "${ECHO_T}$ac_header_preproc" >&6; } 4627 5203 4628 5204 # So? What about this header? … … 4648 5224 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 4649 5225 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 4650 ( 4651 cat <<\_ASBOX 4652 ## ------------------------------------ ## 4653 ## Report this to the pjproject lists. ## 4654 ## ------------------------------------ ## 4655 _ASBOX 4656 ) | 4657 sed "s/^/$as_me: WARNING: /" >&2 5226 4658 5227 ;; 4659 5228 esac 4660 echo "$as_me:$LINENO: checking for assert.h" >&54661 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 5229 { echo "$as_me:$LINENO: checking for assert.h" >&5 5230 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 4662 5231 if test "${ac_cv_header_assert_h+set}" = set; then 4663 5232 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4665 5234 ac_cv_header_assert_h=$ac_header_preproc 4666 5235 fi 4667 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&54668 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 5236 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5237 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 4669 5238 4670 5239 fi … … 4678 5247 4679 5248 if test "${ac_cv_header_ctype_h+set}" = set; then 4680 echo "$as_me:$LINENO: checking for ctype.h" >&54681 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 5249 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5250 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 4682 5251 if test "${ac_cv_header_ctype_h+set}" = set; then 4683 5252 echo $ECHO_N "(cached) $ECHO_C" >&6 4684 5253 fi 4685 echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&54686 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 5254 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5255 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 4687 5256 else 4688 5257 # Is the header compilable? 4689 echo "$as_me:$LINENO: checking ctype.h usability" >&54690 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6 5258 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 5259 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 4691 5260 cat >conftest.$ac_ext <<_ACEOF 4692 5261 /* confdefs.h. */ … … 4699 5268 _ACEOF 4700 5269 rm -f conftest.$ac_objext 4701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4702 (eval $ac_compile) 2>conftest.er1 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 4703 5277 ac_status=$? 4704 5278 grep -v '^ *+' conftest.er1 >conftest.err … … 4706 5280 cat conftest.err >&5 4707 5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4708 (exit $ac_status); } && 4709 { ac_try='test -z "$ac_c_werror_flag" 4710 || test ! -s conftest.err' 4711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4712 (eval $ac_try) 2>&5 4713 ac_status=$? 4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5