Changeset 2601
- Timestamp:
- Apr 15, 2009 2:45:41 PM (15 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 1 added
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r2331 r2601 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59for pjproject 1.0.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= … … 259 569 MAKEFLAGS= 260 570 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document.263 # This variable seems obsolete. It should probably be removed, and264 # only ac_max_sed_lines should be used.265 : ${ac_max_here_lines=38}266 571 267 572 # Identity of this package. … … 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 ac_build_mak_vars CPP EGREP ac_os_objs ac_pjmedia_snd ac_pa_cflags ac_pa_use_alsa ac_pa_use_oss ac_no_small_filter ac_no_large_filter ac_no_speex_aec ac_no_g711_codec ac_no_l16_codec ac_no_gsm_codec ac_no_g722_codec ac_no_speex_codec ac_no_ilbc_codec ac_no_ssl openssl_h_present libssl_present libcrypto_present ac_cross_compile ac_linux_poll ac_host ac_main_obj LIBOBJS LTLIBOBJS' 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_g7221_codec 692 ac_no_speex_codec 693 ac_no_ilbc_codec 694 ac_no_ssl 695 openssl_h_present 696 libssl_present 697 libcrypto_present 698 ac_cross_compile 699 ac_linux_poll 700 ac_host 701 ac_main_obj 702 LIBOBJS 703 LTLIBOBJS' 312 704 ac_subst_files='' 705 ac_precious_vars='build_alias 706 host_alias 707 target_alias 708 CC 709 CFLAGS 710 LDFLAGS 711 LIBS 712 CPPFLAGS 713 CXX 714 CXXFLAGS 715 CCC 716 CPP' 717 313 718 314 719 # Initialize some variables set by options. … … 337 742 # by default will actually change. 338 743 # Use braces instead of parens because sh, perl, etc. also accept them. 744 # (The list follows the same order as the GNU Coding Standards.) 339 745 bindir='${exec_prefix}/bin' 340 746 sbindir='${exec_prefix}/sbin' 341 747 libexecdir='${exec_prefix}/libexec' 342 datadir='${prefix}/share' 748 datarootdir='${prefix}/share' 749 datadir='${datarootdir}' 343 750 sysconfdir='${prefix}/etc' 344 751 sharedstatedir='${prefix}/com' 345 752 localstatedir='${prefix}/var' 346 libdir='${exec_prefix}/lib'347 753 includedir='${prefix}/include' 348 754 oldincludedir='/usr/include' 349 infodir='${prefix}/info' 350 mandir='${prefix}/man' 755 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 756 infodir='${datarootdir}/info' 757 htmldir='${docdir}' 758 dvidir='${docdir}' 759 pdfdir='${docdir}' 760 psdir='${docdir}' 761 libdir='${exec_prefix}/lib' 762 localedir='${datarootdir}/locale' 763 mandir='${datarootdir}/man' 351 764 352 765 ac_prev= 766 ac_dashdash= 353 767 for ac_option 354 768 do 355 769 # If the previous option needs an argument, assign it. 356 770 if test -n "$ac_prev"; then 357 eval "$ac_prev=\$ac_option"771 eval $ac_prev=\$ac_option 358 772 ac_prev= 359 773 continue 360 774 fi 361 775 362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 776 case $ac_option in 777 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 778 *) ac_optarg=yes ;; 779 esac 363 780 364 781 # Accept the important Cygnus configure options, so we can diagnose typos. 365 782 366 case $ac_option in 783 case $ac_dashdash$ac_option in 784 --) 785 ac_dashdash=yes ;; 367 786 368 787 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 386 805 cache_file=config.cache ;; 387 806 388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)807 -datadir | --datadir | --datadi | --datad) 389 808 ac_prev=datadir ;; 390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 391 | --da=*) 809 -datadir=* | --datadir=* | --datadi=* | --datad=*) 392 810 datadir=$ac_optarg ;; 811 812 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 813 | --dataroo | --dataro | --datar) 814 ac_prev=datarootdir ;; 815 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 816 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 817 datarootdir=$ac_optarg ;; 393 818 394 819 -disable-* | --disable-*) 395 820 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 396 821 # Reject names that are not valid shell variable names. 397 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&822 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 398 823 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 399 824 { (exit 1); exit 1; }; } 400 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 401 eval "enable_$ac_feature=no" ;; 825 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 826 eval enable_$ac_feature=no ;; 827 828 -docdir | --docdir | --docdi | --doc | --do) 829 ac_prev=docdir ;; 830 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 831 docdir=$ac_optarg ;; 832 833 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 834 ac_prev=dvidir ;; 835 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 836 dvidir=$ac_optarg ;; 402 837 403 838 -enable-* | --enable-*) 404 839 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 405 840 # Reject names that are not valid shell variable names. 406 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&841 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 407 842 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 408 843 { (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'" ;; 844 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 845 eval enable_$ac_feature=\$ac_optarg ;; 415 846 416 847 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 439 870 host_alias=$ac_optarg ;; 440 871 872 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 873 ac_prev=htmldir ;; 874 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 875 | --ht=*) 876 htmldir=$ac_optarg ;; 877 441 878 -includedir | --includedir | --includedi | --included | --include \ 442 879 | --includ | --inclu | --incl | --inc) … … 463 900 libexecdir=$ac_optarg ;; 464 901 902 -localedir | --localedir | --localedi | --localed | --locale) 903 ac_prev=localedir ;; 904 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 905 localedir=$ac_optarg ;; 906 465 907 -localstatedir | --localstatedir | --localstatedi | --localstated \ 466 | --localstate | --localstat | --localsta | --localst \ 467 | --locals | --local | --loca | --loc | --lo) 908 | --localstate | --localstat | --localsta | --localst | --locals) 468 909 ac_prev=localstatedir ;; 469 910 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 911 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 472 912 localstatedir=$ac_optarg ;; 473 913 … … 534 974 program_transform_name=$ac_optarg ;; 535 975 976 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 977 ac_prev=pdfdir ;; 978 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 979 pdfdir=$ac_optarg ;; 980 981 -psdir | --psdir | --psdi | --psd | --ps) 982 ac_prev=psdir ;; 983 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 984 psdir=$ac_optarg ;; 985 536 986 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 537 987 | -silent | --silent | --silen | --sile | --sil) … … 586 1036 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 587 1037 # Reject names that are not valid shell variable names. 588 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1038 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 589 1039 { echo "$as_me: error: invalid package name: $ac_package" >&2 590 1040 { (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'" ;; 1041 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1042 eval with_$ac_package=\$ac_optarg ;; 597 1043 598 1044 -without-* | --without-*) 599 1045 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 600 1046 # Reject names that are not valid shell variable names. 601 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1047 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 602 1048 { echo "$as_me: error: invalid package name: $ac_package" >&2 603 1049 { (exit 1); exit 1; }; } 604 ac_package=`echo $ac_package | sed 's/ -/_/g'`605 eval "with_$ac_package=no";;1050 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1051 eval with_$ac_package=no ;; 606 1052 607 1053 --x) … … 634 1080 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 635 1081 { (exit 1); exit 1; }; } 636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 637 eval "$ac_envvar='$ac_optarg'" 1082 eval $ac_envvar=\$ac_optarg 638 1083 export $ac_envvar ;; 639 1084 … … 655 1100 fi 656 1101 657 # Be sure to have absolute paths. 658 for ac_var in exec_prefix prefix 1102 # Be sure to have absolute directory names. 1103 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1104 datadir sysconfdir sharedstatedir localstatedir includedir \ 1105 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1106 libdir localedir mandir 659 1107 do 660 eval ac_val= $`echo $ac_var`1108 eval ac_val=\$$ac_var 661 1109 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; }; };; 1110 [\\/$]* | ?:[\\/]* ) continue;; 1111 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 665 1112 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 1113 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1114 { (exit 1); exit 1; }; } 678 1115 done 679 1116 … … 702 1139 703 1140 1141 ac_pwd=`pwd` && test -n "$ac_pwd" && 1142 ac_ls_di=`ls -di .` && 1143 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1144 { echo "$as_me: error: Working directory cannot be determined" >&2 1145 { (exit 1); exit 1; }; } 1146 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1147 { echo "$as_me: error: pwd does not report name of working directory" >&2 1148 { (exit 1); exit 1; }; } 1149 1150 704 1151 # Find the source files, if location was not specified. 705 1152 if test -z "$srcdir"; then 706 1153 ac_srcdir_defaulted=yes 707 # Try the directory containing this script, then its parent.708 ac_confdir=` (dirname "$0") 2>/dev/null||1154 # Try the directory containing this script, then the parent directory. 1155 ac_confdir=`$as_dirname -- "$0" || 709 1156 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 710 1157 X"$0" : 'X\(//\)[^/]' \| \ 711 1158 X"$0" : 'X\(//\)$' \| \ 712 X"$0" : 'X\(/\)' \| \ 713 . : '\(.\)' 2>/dev/null || 1159 X"$0" : 'X\(/\)' \| . 2>/dev/null || 714 1160 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'` 1161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1162 s//\1/ 1163 q 1164 } 1165 /^X\(\/\/\)[^/].*/{ 1166 s//\1/ 1167 q 1168 } 1169 /^X\(\/\/\)$/{ 1170 s//\1/ 1171 q 1172 } 1173 /^X\(\/\).*/{ 1174 s//\1/ 1175 q 1176 } 1177 s/.*/./; q'` 720 1178 srcdir=$ac_confdir 721 if test ! -r $srcdir/$ac_unique_file; then1179 if test ! -r "$srcdir/$ac_unique_file"; then 722 1180 srcdir=.. 723 1181 fi … … 725 1183 ac_srcdir_defaulted=no 726 1184 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 .." >&21185 if test ! -r "$srcdir/$ac_unique_file"; then 1186 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1187 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 730 1188 { (exit 1); exit 1; }; } 731 else 732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1189 fi 1190 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1191 ac_abs_confdir=`( 1192 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 733 1193 { (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 1194 pwd)` 1195 # When building in place, set srcdir=. 1196 if test "$ac_abs_confdir" = "$ac_pwd"; then 1197 srcdir=. 1198 fi 1199 # Remove unnecessary trailing slashes from srcdir. 1200 # Double slashes in file names in object file debugging info 1201 # mess up M-x gdb in Emacs. 1202 case $srcdir in 1203 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1204 esac 1205 for ac_var in $ac_precious_vars; do 1206 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1207 eval ac_env_${ac_var}_value=\$${ac_var} 1208 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1209 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1210 done 780 1211 781 1212 # … … 806 1237 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 807 1238 808 _ACEOF809 810 cat <<_ACEOF811 1239 Installation directories: 812 1240 --prefix=PREFIX install architecture-independent files in PREFIX … … 826 1254 --sbindir=DIR system admin executables [EPREFIX/sbin] 827 1255 --libexecdir=DIR program executables [EPREFIX/libexec] 828 --datadir=DIR read-only architecture-independent data [PREFIX/share]829 1256 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 830 1257 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 833 1260 --includedir=DIR C header files [PREFIX/include] 834 1261 --oldincludedir=DIR C header files for non-gcc [/usr/include] 835 --infodir=DIR info documentation [PREFIX/info] 836 --mandir=DIR man documentation [PREFIX/man] 1262 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1263 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1264 --infodir=DIR info documentation [DATAROOTDIR/info] 1265 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1266 --mandir=DIR man documentation [DATAROOTDIR/man] 1267 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] 1268 --htmldir=DIR html documentation [DOCDIR] 1269 --dvidir=DIR dvi documentation [DOCDIR] 1270 --pdfdir=DIR pdf documentation [DOCDIR] 1271 --psdir=DIR ps documentation [DOCDIR] 837 1272 _ACEOF 838 1273 … … 869 1304 --disable-gsm-codec Exclude GSM codec in the build 870 1305 --disable-g722-codec Exclude G.722 codec in the build 1306 --disable-g7221-codec Exclude G.7221 codec in the build 871 1307 --disable-speex-codec Exclude Speex codecs in the build 872 1308 --disable-ilbc-codec Exclude iLBC codec in the build … … 887 1323 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 888 1324 nonstandard directory <lib dir> 889 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 890 headers in a nonstandard directory <include dir> 1325 LIBS libraries to pass to the linker, e.g. -l<library> 1326 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1327 you have headers in a nonstandard directory <include dir> 891 1328 CXX C++ compiler command 892 1329 CXXFLAGS C++ compiler flags … … 897 1334 898 1335 _ACEOF 1336 ac_status=$? 899 1337 fi 900 1338 901 1339 if test "$ac_init_help" = "recursive"; then 902 1340 # If there are subdirs, report their specific --help. 903 ac_popdir=`pwd`904 1341 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 905 test -d $ac_dir|| continue1342 test -d "$ac_dir" || continue 906 1343 ac_builddir=. 907 1344 908 if test "$ac_dir" != .; then 1345 case "$ac_dir" in 1346 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1347 *) 909 1348 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 910 # A "../" for each directory in $ac_dir_suffix. 911 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 912 else 913 ac_dir_suffix= ac_top_builddir= 914 fi 1349 # A ".." for each directory in $ac_dir_suffix. 1350 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1351 case $ac_top_builddir_sub in 1352 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1353 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1354 esac ;; 1355 esac 1356 ac_abs_top_builddir=$ac_pwd 1357 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1358 # for backward compatibility: 1359 ac_top_builddir=$ac_top_build_prefix 915 1360 916 1361 case $srcdir in 917 .) # No --srcdir option.We are building in place.1362 .) # We are building in place. 918 1363 ac_srcdir=. 919 if test -z "$ac_top_builddir"; then 920 ac_top_srcdir=. 921 else 922 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 923 fi ;; 924 [\\/]* | ?:[\\/]* ) # Absolute path. 1364 ac_top_srcdir=$ac_top_builddir_sub 1365 ac_abs_top_srcdir=$ac_pwd ;; 1366 [\\/]* | ?:[\\/]* ) # Absolute name. 925 1367 ac_srcdir=$srcdir$ac_dir_suffix; 926 ac_top_srcdir=$srcdir ;; 927 *) # Relative path. 928 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 929 ac_top_srcdir=$ac_top_builddir$srcdir ;; 930 esac 931 932 # Do not use `cd foo && pwd` to compute absolute paths, because 933 # the directories may not exist. 934 case `pwd` in 935 .) ac_abs_builddir="$ac_dir";; 936 *) 937 case "$ac_dir" in 938 .) ac_abs_builddir=`pwd`;; 939 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 940 *) ac_abs_builddir=`pwd`/"$ac_dir";; 941 esac;; 942 esac 943 case $ac_abs_builddir in 944 .) ac_abs_top_builddir=${ac_top_builddir}.;; 945 *) 946 case ${ac_top_builddir}. in 947 .) ac_abs_top_builddir=$ac_abs_builddir;; 948 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 949 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 950 esac;; 951 esac 952 case $ac_abs_builddir in 953 .) ac_abs_srcdir=$ac_srcdir;; 954 *) 955 case $ac_srcdir in 956 .) ac_abs_srcdir=$ac_abs_builddir;; 957 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 958 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 959 esac;; 960 esac 961 case $ac_abs_builddir in 962 .) ac_abs_top_srcdir=$ac_top_srcdir;; 963 *) 964 case $ac_top_srcdir in 965 .) ac_abs_top_srcdir=$ac_abs_builddir;; 966 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 967 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 968 esac;; 969 esac 970 971 cd $ac_dir 972 # Check for guested configure; otherwise get Cygnus style configure. 973 if test -f $ac_srcdir/configure.gnu; then 974 echo 975 $SHELL $ac_srcdir/configure.gnu --help=recursive 976 elif test -f $ac_srcdir/configure; then 977 echo 978 $SHELL $ac_srcdir/configure --help=recursive 979 elif test -f $ac_srcdir/configure.ac || 980 test -f $ac_srcdir/configure.in; then 981 echo 982 $ac_configure --help 1368 ac_top_srcdir=$srcdir 1369 ac_abs_top_srcdir=$srcdir ;; 1370 *) # Relative name. 1371 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1372 ac_top_srcdir=$ac_top_build_prefix$srcdir 1373 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1374 esac 1375 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1376 1377 cd "$ac_dir" || { ac_status=$?; continue; } 1378 # Check for guested configure. 1379 if test -f "$ac_srcdir/configure.gnu"; then 1380 echo && 1381 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1382 elif test -f "$ac_srcdir/configure"; then 1383 echo && 1384 $SHELL "$ac_srcdir/configure" --help=recursive 983 1385 else 984 1386 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 985 fi 986 cd $ac_popdir1387 fi || ac_status=$? 1388 cd "$ac_pwd" || { ac_status=$?; break; } 987 1389 done 988 1390 fi 989 1391 990 test -n "$ac_init_help" && exit 01392 test -n "$ac_init_help" && exit $ac_status 991 1393 if $ac_init_version; then 992 1394 cat <<\_ACEOF 993 1395 pjproject configure 1.0 994 generated by GNU Autoconf 2.59 995 996 Copyright (C) 2003 Free Software Foundation, Inc. 1396 generated by GNU Autoconf 2.61 1397 1398 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1399 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 997 1400 This configure script is free software; the Free Software Foundation 998 1401 gives unlimited permission to copy, distribute and modify it. 999 1402 _ACEOF 1000 exit 0 1001 fi 1002 exec 5>config.log 1003 cat >&5 <<_ACEOF 1403 exit 1404 fi 1405 cat >config.log <<_ACEOF 1004 1406 This file contains any messages produced by compilers while 1005 1407 running configure, to aid debugging if configure makes a mistake. 1006 1408 1007 1409 It was created by pjproject $as_me 1.0, which was 1008 generated by GNU Autoconf 2. 59. Invocation command line was1410 generated by GNU Autoconf 2.61. Invocation command line was 1009 1411 1010 1412 $ $0 $@ 1011 1413 1012 1414 _ACEOF 1415 exec 5>>config.log 1013 1416 { 1014 1417 cat <<_ASUNAME … … 1029 1432 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1030 1433 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1031 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1434 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1032 1435 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1033 1436 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1043 1446 echo "PATH: $as_dir" 1044 1447 done 1448 IFS=$as_save_IFS 1045 1449 1046 1450 } >&5 … … 1064 1468 ac_configure_args0= 1065 1469 ac_configure_args1= 1066 ac_sep=1067 1470 ac_must_keep_next=false 1068 1471 for ac_pass in 1 2 … … 1075 1478 | -silent | --silent | --silen | --sile | --sil) 1076 1479 continue ;; 1077 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1480 *\'*) 1078 1481 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1079 1482 esac … … 1097 1500 esac 1098 1501 fi 1099 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1100 # Get rid of the leading space. 1101 ac_sep=" " 1502 ac_configure_args="$ac_configure_args '$ac_arg'" 1102 1503 ;; 1103 1504 esac … … 1110 1511 # config.log. We remove comments because anyway the quotes in there 1111 1512 # would cause problems or look ugly. 1112 # WARNING: Be sure not to use single quotes in there, as some shells,1113 # such as our DU 5.0 friend, will then `close' the trap.1513 # WARNING: Use '\'' to represent an apostrophe within the trap. 1514 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1114 1515 trap 'exit_status=$? 1115 1516 # Save into config.log some information that might help in debugging. … … 1124 1525 echo 1125 1526 # The following way of writing the cache mishandles newlines in values, 1126 { 1527 ( 1528 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1529 eval ac_val=\$$ac_var 1530 case $ac_val in #( 1531 *${as_nl}*) 1532 case $ac_var in #( 1533 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1534 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1535 esac 1536 case $ac_var in #( 1537 _ | IFS | as_nl) ;; #( 1538 *) $as_unset $ac_var ;; 1539 esac ;; 1540 esac 1541 done 1127 1542 (set) 2>&1 | 1128 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1129 * ac_space=\ *)1543 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1544 *${as_nl}ac_space=\ *) 1130 1545 sed -n \ 1131 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1546 "s/'\''/'\''\\\\'\'''\''/g; 1547 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1548 ;; #( 1549 *) 1550 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1133 1551 ;; 1134 *) 1135 sed -n \ 1136 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1137 ;; 1138 esac; 1139 } 1552 esac | 1553 sort 1554 ) 1140 1555 echo 1141 1556 … … 1148 1563 for ac_var in $ac_subst_vars 1149 1564 do 1150 eval ac_val=$`echo $ac_var` 1151 echo "$ac_var='"'"'$ac_val'"'"'" 1565 eval ac_val=\$$ac_var 1566 case $ac_val in 1567 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1568 esac 1569 echo "$ac_var='\''$ac_val'\''" 1152 1570 done | sort 1153 1571 echo … … 1155 1573 if test -n "$ac_subst_files"; then 1156 1574 cat <<\_ASBOX 1157 ## ------------- ##1158 ## Output files. ##1159 ## ------------- ##1575 ## ------------------- ## 1576 ## File substitutions. ## 1577 ## ------------------- ## 1160 1578 _ASBOX 1161 1579 echo 1162 1580 for ac_var in $ac_subst_files 1163 1581 do 1164 eval ac_val=$`echo $ac_var` 1165 echo "$ac_var='"'"'$ac_val'"'"'" 1582 eval ac_val=\$$ac_var 1583 case $ac_val in 1584 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1585 esac 1586 echo "$ac_var='\''$ac_val'\''" 1166 1587 done | sort 1167 1588 echo … … 1175 1596 _ASBOX 1176 1597 echo 1177 sed "/^$/d" confdefs.h | sort1598 cat confdefs.h 1178 1599 echo 1179 1600 fi … … 1182 1603 echo "$as_me: exit $exit_status" 1183 1604 } >&5 1184 rm -f core *.core &&1185 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1605 rm -f core *.core core.conftest.* && 1606 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1186 1607 exit $exit_status 1187 1608 ' 0 1188 1609 for ac_signal in 1 2 13 15; do 1189 1610 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1192 1613 1193 1614 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1194 rm -rf conftest* confdefs.h 1195 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1196 echo >confdefs.h 1615 rm -f -r conftest* confdefs.h 1197 1616 1198 1617 # Predefined preprocessor variables. … … 1225 1644 # Let the site file select an alternate cache file if it wants to. 1226 1645 # Prefer explicitly selected file to automatically selected ones. 1227 if test -z "$CONFIG_SITE"; then 1228 if test "x$prefix" != xNONE; then 1229 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1230 else 1231 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1232 fi 1233 fi 1234 for ac_site_file in $CONFIG_SITE; do 1646 if test -n "$CONFIG_SITE"; then 1647 set x "$CONFIG_SITE" 1648 elif test "x$prefix" != xNONE; then 1649 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1650 else 1651 set x "$ac_default_prefix/share/config.site" \ 1652 "$ac_default_prefix/etc/config.site" 1653 fi 1654 shift 1655 for ac_site_file 1656 do 1235 1657 if test -r "$ac_site_file"; then 1236 1658 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1248 1670 echo "$as_me: loading cache $cache_file" >&6;} 1249 1671 case $cache_file in 1250 [\\/]* | ?:[\\/]* ) . $cache_file;;1251 *) . ./$cache_file;;1672 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1673 *) . "./$cache_file";; 1252 1674 esac 1253 1675 fi … … 1261 1683 # value. 1262 1684 ac_cache_corrupted=false 1263 for ac_var in `(set) 2>&1 | 1264 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1685 for ac_var in $ac_precious_vars; do 1265 1686 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1266 1687 eval ac_new_set=\$ac_env_${ac_var}_set 1267 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1268 eval ac_new_val= "\$ac_env_${ac_var}_value"1688 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1689 eval ac_new_val=\$ac_env_${ac_var}_value 1269 1690 case $ac_old_set,$ac_new_set in 1270 1691 set,) … … 1291 1712 if test "$ac_new_set" = set; then 1292 1713 case $ac_new_val in 1293 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1294 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1714 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1295 1715 *) ac_arg=$ac_var=$ac_new_val ;; 1296 1716 esac … … 1309 1729 fi 1310 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1311 1755 ac_ext=c 1312 1756 ac_cpp='$CPP $CPPFLAGS' … … 1317 1761 1318 1762 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1763 host_orig="$host" 1345 1764 1346 1765 ac_aux_dir= 1347 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do1348 if test -f $ac_dir/install-sh; then1766 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1767 if test -f "$ac_dir/install-sh"; then 1349 1768 ac_aux_dir=$ac_dir 1350 1769 ac_install_sh="$ac_aux_dir/install-sh -c" 1351 1770 break 1352 elif test -f $ac_dir/install.sh; then1771 elif test -f "$ac_dir/install.sh"; then 1353 1772 ac_aux_dir=$ac_dir 1354 1773 ac_install_sh="$ac_aux_dir/install.sh -c" 1355 1774 break 1356 elif test -f $ac_dir/shtool; then1775 elif test -f "$ac_dir/shtool"; then 1357 1776 ac_aux_dir=$ac_dir 1358 1777 ac_install_sh="$ac_aux_dir/shtool install -c" … … 1361 1780 done 1362 1781 if test -z "$ac_aux_dir"; then 1363 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&51364 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}1782 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1783 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1365 1784 { (exit 1); exit 1; }; } 1366 1785 fi 1367 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1368 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1369 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1786 1787 # These three variables are undocumented and unsupported, 1788 # and are intended to be withdrawn in a future Autoconf release. 1789 # They can cause serious problems if a builder's source tree is in a directory 1790 # whose full name contains unusual characters. 1791 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1792 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1793 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1794 1370 1795 1371 1796 # Make sure we can run config.sub. 1372 $ ac_config_subsun4 >/dev/null 2>&1 ||1373 { { echo "$as_me:$LINENO: error: cannot run $ ac_config_sub" >&51374 echo "$as_me: error: cannot run $ ac_config_sub" >&2;}1797 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1798 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1799 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1375 1800 { (exit 1); exit 1; }; } 1376 1801 1377 echo "$as_me:$LINENO: checking build system type" >&51378 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1802 { echo "$as_me:$LINENO: checking build system type" >&5 1803 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1379 1804 if test "${ac_cv_build+set}" = set; then 1380 1805 echo $ECHO_N "(cached) $ECHO_C" >&6 1381 1806 else 1382 ac_ cv_build_alias=$build_alias1383 test -z "$ac_cv_build_alias"&&1384 ac_ cv_build_alias=`$ac_config_guess`1385 test -z "$ac_cv_build_alias"&&1807 ac_build_alias=$build_alias 1808 test "x$ac_build_alias" = x && 1809 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1810 test "x$ac_build_alias" = x && 1386 1811 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1387 1812 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1388 1813 { (exit 1); exit 1; }; } 1389 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||1390 { { echo "$as_me:$LINENO: error: $ ac_config_sub $ac_cv_build_alias failed" >&51391 echo "$as_me: error: $ ac_config_sub $ac_cv_build_alias failed" >&2;}1814 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1815 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1816 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1392 1817 { (exit 1); exit 1; }; } 1393 1818 1394 1819 fi 1395 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1396 echo "${ECHO_T}$ac_cv_build" >&6 1820 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1821 echo "${ECHO_T}$ac_cv_build" >&6; } 1822 case $ac_cv_build in 1823 *-*-*) ;; 1824 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1825 echo "$as_me: error: invalid value of canonical build" >&2;} 1826 { (exit 1); exit 1; }; };; 1827 esac 1397 1828 build=$ac_cv_build 1398 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1399 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1400 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1401 1402 1403 echo "$as_me:$LINENO: checking host system type" >&5 1404 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1829 ac_save_IFS=$IFS; IFS='-' 1830 set x $ac_cv_build 1831 shift 1832 build_cpu=$1 1833 build_vendor=$2 1834 shift; shift 1835 # Remember, the first character of IFS is used to create $*, 1836 # except with old shells: 1837 build_os=$* 1838 IFS=$ac_save_IFS 1839 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1840 1841 1842 { echo "$as_me:$LINENO: checking host system type" >&5 1843 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 1405 1844 if test "${ac_cv_host+set}" = set; then 1406 1845 echo $ECHO_N "(cached) $ECHO_C" >&6 1407 1846 else 1408 ac_cv_host_alias=$host_alias1409 test -z "$ac_cv_host_alias" && 1410 ac_cv_host_alias=$ac_cv_build_alias 1411 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||1412 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&51413 echo "$as_me: error: $ ac_config_sub $ac_cv_host_alias failed" >&2;}1847 if test "x$host_alias" = x; then 1848 ac_cv_host=$ac_cv_build 1849 else 1850 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1851 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1852 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1414 1853 { (exit 1); exit 1; }; } 1415 1416 fi 1417 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1418 echo "${ECHO_T}$ac_cv_host" >&6 1854 fi 1855 1856 fi 1857 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1858 echo "${ECHO_T}$ac_cv_host" >&6; } 1859 case $ac_cv_host in 1860 *-*-*) ;; 1861 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1862 echo "$as_me: error: invalid value of canonical host" >&2;} 1863 { (exit 1); exit 1; }; };; 1864 esac 1419 1865 host=$ac_cv_host 1420 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1421 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1422 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1423 1424 1425 echo "$as_me:$LINENO: checking target system type" >&5 1426 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1866 ac_save_IFS=$IFS; IFS='-' 1867 set x $ac_cv_host 1868 shift 1869 host_cpu=$1 1870 host_vendor=$2 1871 shift; shift 1872 # Remember, the first character of IFS is used to create $*, 1873 # except with old shells: 1874 host_os=$* 1875 IFS=$ac_save_IFS 1876 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1877 1878 1879 { echo "$as_me:$LINENO: checking target system type" >&5 1880 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 1427 1881 if test "${ac_cv_target+set}" = set; then 1428 1882 echo $ECHO_N "(cached) $ECHO_C" >&6 1429 1883 else 1430 ac_cv_target_alias=$target_alias1431 test "x$ac_cv_target_alias" = "x" && 1432 ac_cv_target_alias=$ac_cv_host_alias 1433 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||1434 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&51435 echo "$as_me: error: $ ac_config_sub $ac_cv_target_alias failed" >&2;}1884 if test "x$target_alias" = x; then 1885 ac_cv_target=$ac_cv_host 1886 else 1887 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1888 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1889 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1436 1890 { (exit 1); exit 1; }; } 1437 1438 fi 1439 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1440 echo "${ECHO_T}$ac_cv_target" >&6 1891 fi 1892 1893 fi 1894 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1895 echo "${ECHO_T}$ac_cv_target" >&6; } 1896 case $ac_cv_target in 1897 *-*-*) ;; 1898 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1899 echo "$as_me: error: invalid value of canonical target" >&2;} 1900 { (exit 1); exit 1; }; };; 1901 esac 1441 1902 target=$ac_cv_target 1442 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1443 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1444 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1903 ac_save_IFS=$IFS; IFS='-' 1904 set x $ac_cv_target 1905 shift 1906 target_cpu=$1 1907 target_vendor=$2 1908 shift; shift 1909 # Remember, the first character of IFS is used to create $*, 1910 # except with old shells: 1911 target_os=$* 1912 IFS=$ac_save_IFS 1913 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1445 1914 1446 1915 … … 1451 1920 NONENONEs,x,x, && 1452 1921 program_prefix=${target_alias}- 1453 1454 1455 1922 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" 1923 1924 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" 1456 1925 1457 1926 … … 1473 1942 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1474 1943 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1475 echo "$as_me:$LINENO: checking for $ac_word" >&51476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1944 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1477 1946 if test "${ac_cv_prog_CC+set}" = set; then 1478 1947 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1487 1956 test -z "$as_dir" && as_dir=. 1488 1957 for ac_exec_ext in '' $ac_executable_extensions; do 1489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1490 1959 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1491 1960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1494 1963 done 1495 1964 done 1965 IFS=$as_save_IFS 1496 1966 1497 1967 fi … … 1499 1969 CC=$ac_cv_prog_CC 1500 1970 if test -n "$CC"; then 1501 echo "$as_me:$LINENO: result: $CC" >&5 1502 echo "${ECHO_T}$CC" >&6 1503 else 1504 echo "$as_me:$LINENO: result: no" >&5 1505 echo "${ECHO_T}no" >&6 1506 fi 1971 { echo "$as_me:$LINENO: result: $CC" >&5 1972 echo "${ECHO_T}$CC" >&6; } 1973 else 1974 { echo "$as_me:$LINENO: result: no" >&5 1975 echo "${ECHO_T}no" >&6; } 1976 fi 1977 1507 1978 1508 1979 fi … … 1511 1982 # Extract the first word of "gcc", so it can be a program name with args. 1512 1983 set dummy gcc; ac_word=$2 1513 echo "$as_me:$LINENO: checking for $ac_word" >&51514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1984 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1515 1986 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1516 1987 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1525 1996 test -z "$as_dir" && as_dir=. 1526 1997 for ac_exec_ext in '' $ac_executable_extensions; do 1527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1528 1999 ac_cv_prog_ac_ct_CC="gcc" 1529 2000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1532 2003 done 1533 2004 done 2005 IFS=$as_save_IFS 1534 2006 1535 2007 fi … … 1537 2009 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1538 2010 if test -n "$ac_ct_CC"; then 1539 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1540 echo "${ECHO_T}$ac_ct_CC" >&6 1541 else 1542 echo "$as_me:$LINENO: result: no" >&5 1543 echo "${ECHO_T}no" >&6 1544 fi 1545 1546 CC=$ac_ct_CC 2011 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2012 echo "${ECHO_T}$ac_ct_CC" >&6; } 2013 else 2014 { echo "$as_me:$LINENO: result: no" >&5 2015 echo "${ECHO_T}no" >&6; } 2016 fi 2017 2018 if test "x$ac_ct_CC" = x; then 2019 CC="" 2020 else 2021 case $cross_compiling:$ac_tool_warned in 2022 yes:) 2023 { echo "$as_me:$LINENO: 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." >&5 2026 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2027 whose name does not start with the host triplet. If you think this 2028 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2029 ac_tool_warned=yes ;; 2030 esac 2031 CC=$ac_ct_CC 2032 fi 1547 2033 else 1548 2034 CC="$ac_cv_prog_CC" … … 1550 2036 1551 2037 if test -z "$CC"; then 1552 if test -n "$ac_tool_prefix"; then1553 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2038 if test -n "$ac_tool_prefix"; then 2039 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1554 2040 set dummy ${ac_tool_prefix}cc; ac_word=$2 1555 echo "$as_me:$LINENO: checking for $ac_word" >&51556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2041 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1557 2043 if test "${ac_cv_prog_CC+set}" = set; then 1558 2044 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1567 2053 test -z "$as_dir" && as_dir=. 1568 2054 for ac_exec_ext in '' $ac_executable_extensions; do 1569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1570 2056 ac_cv_prog_CC="${ac_tool_prefix}cc" 1571 2057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1574 2060 done 1575 2061 done 2062 IFS=$as_save_IFS 1576 2063 1577 2064 fi … … 1579 2066 CC=$ac_cv_prog_CC 1580 2067 if test -n "$CC"; then 1581 echo "$as_me:$LINENO: result: $CC" >&5 1582 echo "${ECHO_T}$CC" >&6 1583 else 1584 echo "$as_me:$LINENO: result: no" >&5 1585 echo "${ECHO_T}no" >&6 1586 fi 1587 1588 fi 1589 if test -z "$ac_cv_prog_CC"; then 1590 ac_ct_CC=$CC 1591 # Extract the first word of "cc", so it can be a program name with args. 1592 set dummy cc; ac_word=$2 1593 echo "$as_me:$LINENO: checking for $ac_word" >&5 1594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1595 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1596 echo $ECHO_N "(cached) $ECHO_C" >&6 1597 else 1598 if test -n "$ac_ct_CC"; then 1599 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1600 else 1601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1602 for as_dir in $PATH 1603 do 1604 IFS=$as_save_IFS 1605 test -z "$as_dir" && as_dir=. 1606 for ac_exec_ext in '' $ac_executable_extensions; do 1607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1608 ac_cv_prog_ac_ct_CC="cc" 1609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1610 break 2 2068 { echo "$as_me:$LINENO: result: $CC" >&5 2069 echo "${ECHO_T}$CC" >&6; } 2070 else 2071 { echo "$as_me:$LINENO: result: no" >&5 2072 echo "${ECHO_T}no" >&6; } 2073 fi 2074 2075 1611 2076 fi 1612 done1613 done1614 1615 fi1616 fi1617 ac_ct_CC=$ac_cv_prog_ac_ct_CC1618 if test -n "$ac_ct_CC"; then1619 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51620 echo "${ECHO_T}$ac_ct_CC" >&61621 else1622 echo "$as_me:$LINENO: result: no" >&51623 echo "${ECHO_T}no" >&61624 fi1625 1626 CC=$ac_ct_CC1627 else1628 CC="$ac_cv_prog_CC"1629 fi1630 1631 2077 fi 1632 2078 if test -z "$CC"; then 1633 2079 # Extract the first word of "cc", so it can be a program name with args. 1634 2080 set dummy cc; ac_word=$2 1635 echo "$as_me:$LINENO: checking for $ac_word" >&51636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2081 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1637 2083 if test "${ac_cv_prog_CC+set}" = set; then 1638 2084 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1648 2094 test -z "$as_dir" && as_dir=. 1649 2095 for ac_exec_ext in '' $ac_executable_extensions; do 1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1651 2097 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1652 2098 ac_prog_rejected=yes … … 1659 2105 done 1660 2106 done 2107 IFS=$as_save_IFS 1661 2108 1662 2109 if test $ac_prog_rejected = yes; then … … 1676 2123 CC=$ac_cv_prog_CC 1677 2124 if test -n "$CC"; then 1678 echo "$as_me:$LINENO: result: $CC" >&5 1679 echo "${ECHO_T}$CC" >&6 1680 else 1681 echo "$as_me:$LINENO: result: no" >&5 1682 echo "${ECHO_T}no" >&6 1683 fi 2125 { echo "$as_me:$LINENO: result: $CC" >&5 2126 echo "${ECHO_T}$CC" >&6; } 2127 else 2128 { echo "$as_me:$LINENO: result: no" >&5 2129 echo "${ECHO_T}no" >&6; } 2130 fi 2131 1684 2132 1685 2133 fi 1686 2134 if test -z "$CC"; then 1687 2135 if test -n "$ac_tool_prefix"; then 1688 for ac_prog in cl 2136 for ac_prog in cl.exe 1689 2137 do 1690 2138 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1691 2139 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1692 echo "$as_me:$LINENO: checking for $ac_word" >&51693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2140 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1694 2142 if test "${ac_cv_prog_CC+set}" = set; then 1695 2143 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1704 2152 test -z "$as_dir" && as_dir=. 1705 2153 for ac_exec_ext in '' $ac_executable_extensions; do 1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1707 2155 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1708 2156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1711 2159 done 1712 2160 done 2161 IFS=$as_save_IFS 1713 2162 1714 2163 fi … … 1716 2165 CC=$ac_cv_prog_CC 1717 2166 if test -n "$CC"; then 1718 echo "$as_me:$LINENO: result: $CC" >&5 1719 echo "${ECHO_T}$CC" >&6 1720 else 1721 echo "$as_me:$LINENO: result: no" >&5 1722 echo "${ECHO_T}no" >&6 1723 fi 2167 { echo "$as_me:$LINENO: result: $CC" >&5 2168 echo "${ECHO_T}$CC" >&6; } 2169 else 2170 { echo "$as_me:$LINENO: result: no" >&5 2171 echo "${ECHO_T}no" >&6; } 2172 fi 2173 1724 2174 1725 2175 test -n "$CC" && break … … 1728 2178 if test -z "$CC"; then 1729 2179 ac_ct_CC=$CC 1730 for ac_prog in cl 2180 for ac_prog in cl.exe 1731 2181 do 1732 2182 # Extract the first word of "$ac_prog", so it can be a program name with args. 1733 2183 set dummy $ac_prog; ac_word=$2 1734 echo "$as_me:$LINENO: checking for $ac_word" >&51735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2184 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1736 2186 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1737 2187 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1746 2196 test -z "$as_dir" && as_dir=. 1747 2197 for ac_exec_ext in '' $ac_executable_extensions; do 1748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1749 2199 ac_cv_prog_ac_ct_CC="$ac_prog" 1750 2200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1753 2203 done 1754 2204 done 2205 IFS=$as_save_IFS 1755 2206 1756 2207 fi … … 1758 2209 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1759 2210 if test -n "$ac_ct_CC"; then 1760 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1761 echo "${ECHO_T}$ac_ct_CC" >&6 1762 else 1763 echo "$as_me:$LINENO: result: no" >&5 1764 echo "${ECHO_T}no" >&6 1765 fi 2211 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2212 echo "${ECHO_T}$ac_ct_CC" >&6; } 2213 else 2214 { echo "$as_me:$LINENO: result: no" >&5 2215 echo "${ECHO_T}no" >&6; } 2216 fi 2217 1766 2218 1767 2219 test -n "$ac_ct_CC" && break 1768 2220 done 1769 2221 1770 CC=$ac_ct_CC 2222 if test "x$ac_ct_CC" = x; then 2223 CC="" 2224 else 2225 case $cross_compiling:$ac_tool_warned in 2226 yes:) 2227 { echo "$as_me:$LINENO: 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." >&5 2230 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2231 whose name does not start with the host triplet. If you think this 2232 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2233 ac_tool_warned=yes ;; 2234 esac 2235 CC=$ac_ct_CC 2236 fi 1771 2237 fi 1772 2238 … … 1781 2247 1782 2248 # Provide some information about the compiler. 1783 echo "$as_me:$LINENO:" \ 1784 "checking for C compiler version" >&5 2249 echo "$as_me:$LINENO: checking for C compiler version" >&5 1785 2250 ac_compiler=`set X $ac_compile; echo $2` 1786 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1787 (eval $ac_compiler --version </dev/null >&5) 2>&5 2251 { (ac_try="$ac_compiler --version >&5" 2252 case "(($ac_try" in 2253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2254 *) ac_try_echo=$ac_try;; 2255 esac 2256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2257 (eval "$ac_compiler --version >&5") 2>&5 1788 2258 ac_status=$? 1789 2259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1790 2260 (exit $ac_status); } 1791 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1792 (eval $ac_compiler -v </dev/null >&5) 2>&5 2261 { (ac_try="$ac_compiler -v >&5" 2262 case "(($ac_try" in 2263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2264 *) ac_try_echo=$ac_try;; 2265 esac 2266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2267 (eval "$ac_compiler -v >&5") 2>&5 1793 2268 ac_status=$? 1794 2269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1795 2270 (exit $ac_status); } 1796 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1797 (eval $ac_compiler -V </dev/null >&5) 2>&5 2271 { (ac_try="$ac_compiler -V >&5" 2272 case "(($ac_try" in 2273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2274 *) ac_try_echo=$ac_try;; 2275 esac 2276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2277 (eval "$ac_compiler -V >&5") 2>&5 1798 2278 ac_status=$? 1799 2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1820 2300 # It will help us diagnose broken compilers, and finding out an intuition 1821 2301 # of exeext. 1822 echo "$as_me:$LINENO: checking for C compiler default output file name" >&51823 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2302 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2303 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 1824 2304 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1825 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1826 (eval $ac_link_default) 2>&5 2305 # 2306 # List of possible output files, starting from the most likely. 2307 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2308 # only as a last resort. b.out is created by i960 compilers. 2309 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2310 # 2311 # The IRIX 6 linker writes into existing files which may not be 2312 # executable, retaining their permissions. Remove them first so a 2313 # subsequent execution test works. 2314 ac_rmfiles= 2315 for ac_file in $ac_files 2316 do 2317 case $ac_file in 2318 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2319 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2320 esac 2321 done 2322 rm -f $ac_rmfiles 2323 2324 if { (ac_try="$ac_link_default" 2325 case "(($ac_try" in 2326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2327 *) ac_try_echo=$ac_try;; 2328 esac 2329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2330 (eval "$ac_link_default") 2>&5 1827 2331 ac_status=$? 1828 2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1829 2333 (exit $ac_status); }; then 1830 # Find the output, starting from the most likely. This scheme is 1831 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1832 # resort. 1833 1834 # Be careful to initialize this variable, since it used to be cached. 1835 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1836 ac_cv_exeext= 1837 # b.out is created by i960 compilers. 1838 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2334 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2335 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2336 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2337 # so that the user can short-circuit this test for compilers unknown to 2338 # Autoconf. 2339 for ac_file in $ac_files '' 1839 2340 do 1840 2341 test -f "$ac_file" || continue 1841 2342 case $ac_file in 1842 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1843 ;; 1844 conftest.$ac_ext ) 1845 # This is the source file. 2343 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 1846 2344 ;; 1847 2345 [ab].out ) … … 1850 2348 break;; 1851 2349 *.* ) 1852 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1853 # FIXME: I believe we export ac_cv_exeext for Libtool, 1854 # but it would be cool to find out if it's true. Does anybody 1855 # maintain Libtool? --akim. 1856 export ac_cv_exeext 2350 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2351 then :; else 2352 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2353 fi 2354 # We set ac_cv_exeext here because the later test for it is not 2355 # safe: cross compilers may not add the suffix if given an `-o' 2356 # argument, so we may need to know it at that point already. 2357 # Even if this section looks crufty: it has the advantage of 2358 # actually working. 1857 2359 break;; 1858 2360 * ) … … 1860 2362 esac 1861 2363 done 1862 else 2364 test "$ac_cv_exeext" = no && ac_cv_exeext= 2365 2366 else 2367 ac_file='' 2368 fi 2369 2370 { echo "$as_me:$LINENO: result: $ac_file" >&5 2371 echo "${ECHO_T}$ac_file" >&6; } 2372 if test -z "$ac_file"; then 1863 2373 echo "$as_me: failed program was:" >&5 1864 2374 sed 's/^/| /' conftest.$ac_ext >&5 … … 1872 2382 1873 2383 ac_exeext=$ac_cv_exeext 1874 echo "$as_me:$LINENO: result: $ac_file" >&5 1875 echo "${ECHO_T}$ac_file" >&6 1876 1877 # Check the compiler produces executables we can run. If not, either 2384 2385 # Check that the compiler produces executables we can run. If not, either 1878 2386 # the compiler is broken, or we cross compile. 1879 echo "$as_me:$LINENO: checking whether the C compiler works" >&51880 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2387 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2388 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 1881 2389 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1882 2390 # If not cross compiling, check that we can run a simple program. 1883 2391 if test "$cross_compiling" != yes; then 1884 2392 if { ac_try='./$ac_file' 1885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1886 (eval $ac_try) 2>&5 2393 { (case "(($ac_try" in 2394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2395 *) ac_try_echo=$ac_try;; 2396 esac 2397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2398 (eval "$ac_try") 2>&5 1887 2399 ac_status=$? 1888 2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1903 2415 fi 1904 2416 fi 1905 echo "$as_me:$LINENO: result: yes" >&51906 echo "${ECHO_T}yes" >&6 2417 { echo "$as_me:$LINENO: result: yes" >&5 2418 echo "${ECHO_T}yes" >&6; } 1907 2419 1908 2420 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1909 2421 ac_clean_files=$ac_clean_files_save 1910 # Check th e compiler produces executables we can run. If not, either2422 # Check that the compiler produces executables we can run. If not, either 1911 2423 # the compiler is broken, or we cross compile. 1912 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1913 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1914 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1915 echo "${ECHO_T}$cross_compiling" >&6 1916 1917 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1918 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1920 (eval $ac_link) 2>&5 2424 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2425 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2426 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2427 echo "${ECHO_T}$cross_compiling" >&6; } 2428 2429 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2430 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2431 if { (ac_try="$ac_link" 2432 case "(($ac_try" in 2433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2434 *) ac_try_echo=$ac_try;; 2435 esac 2436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2437 (eval "$ac_link") 2>&5 1921 2438 ac_status=$? 1922 2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1929 2446 test -f "$ac_file" || continue 1930 2447 case $ac_file in 1931 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2448 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 1932 2449 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1933 export ac_cv_exeext1934 2450 break;; 1935 2451 * ) break;; … … 1945 2461 1946 2462 rm -f conftest$ac_cv_exeext 1947 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&51948 echo "${ECHO_T}$ac_cv_exeext" >&6 2463 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2464 echo "${ECHO_T}$ac_cv_exeext" >&6; } 1949 2465 1950 2466 rm -f conftest.$ac_ext 1951 2467 EXEEXT=$ac_cv_exeext 1952 2468 ac_exeext=$EXEEXT 1953 echo "$as_me:$LINENO: checking for suffix of object files" >&51954 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2469 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2470 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 1955 2471 if test "${ac_cv_objext+set}" = set; then 1956 2472 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1972 2488 _ACEOF 1973 2489 rm -f conftest.o conftest.obj 1974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1975 (eval $ac_compile) 2>&5 2490 if { (ac_try="$ac_compile" 2491 case "(($ac_try" in 2492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2493 *) ac_try_echo=$ac_try;; 2494 esac 2495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2496 (eval "$ac_compile") 2>&5 1976 2497 ac_status=$? 1977 2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1978 2499 (exit $ac_status); }; then 1979 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2500 for ac_file in conftest.o conftest.obj conftest.*; do 2501 test -f "$ac_file" || continue; 1980 2502 case $ac_file in 1981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2503 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 1982 2504 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1983 2505 break;; … … 1997 2519 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1998 2520 fi 1999 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52000 echo "${ECHO_T}$ac_cv_objext" >&6 2521 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2522 echo "${ECHO_T}$ac_cv_objext" >&6; } 2001 2523 OBJEXT=$ac_cv_objext 2002 2524 ac_objext=$OBJEXT 2003 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52004 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2525 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2526 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2005 2527 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2006 2528 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2025 2547 _ACEOF 2026 2548 rm -f conftest.$ac_objext 2027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2028 (eval $ac_compile) 2>conftest.er1 2549 if { (ac_try="$ac_compile" 2550 case "(($ac_try" in 2551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2552 *) ac_try_echo=$ac_try;; 2553 esac 2554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2555 (eval "$ac_compile") 2>conftest.er1 2029 2556 ac_status=$? 2030 2557 grep -v '^ *+' conftest.er1 >conftest.err … … 2032 2559 cat conftest.err >&5 2033 2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2034 (exit $ac_status); } && 2035 { ac_try='test -z "$ac_c_werror_flag" 2036 || test ! -s conftest.err' 2037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2038 (eval $ac_try) 2>&5 2039 ac_status=$? 2040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2041 (exit $ac_status); }; } && 2042 { ac_try='test -s conftest.$ac_objext' 2043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2044 (eval $ac_try) 2>&5 2045 ac_status=$? 2046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2047 (exit $ac_status); }; }; then 2561 (exit $ac_status); } && { 2562 test -z "$ac_c_werror_flag" || 2563 test ! -s conftest.err 2564 } && test -s conftest.$ac_objext; then 2048 2565 ac_compiler_gnu=yes 2049 2566 else … … 2051 2568 sed 's/^/| /' conftest.$ac_ext >&5 2052 2569 2053 ac_compiler_gnu=no 2054 fi 2055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2570 ac_compiler_gnu=no 2571 fi 2572 2573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2056 2574 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2057 2575 2058 2576 fi 2059 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52060 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2577 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2578 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2061 2579 GCC=`test $ac_compiler_gnu = yes && echo yes` 2062 2580 ac_test_CFLAGS=${CFLAGS+set} 2063 2581 ac_save_CFLAGS=$CFLAGS 2064 CFLAGS="-g" 2065 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2066 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2582 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2583 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2067 2584 if test "${ac_cv_prog_cc_g+set}" = set; then 2068 2585 echo $ECHO_N "(cached) $ECHO_C" >&6 2069 2586 else 2070 cat >conftest.$ac_ext <<_ACEOF 2587 ac_save_c_werror_flag=$ac_c_werror_flag 2588 ac_c_werror_flag=yes 2589 ac_cv_prog_cc_g=no 2590 CFLAGS="-g" 2591 cat >conftest.$ac_ext <<_ACEOF 2071 2592 /* confdefs.h. */ 2072 2593 _ACEOF … … 2084 2605 _ACEOF 2085 2606 rm -f conftest.$ac_objext 2086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2087 (eval $ac_compile) 2>conftest.er1 2607 if { (ac_try="$ac_compile" 2608 case "(($ac_try" in 2609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2610 *) ac_try_echo=$ac_try;; 2611 esac 2612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2613 (eval "$ac_compile") 2>conftest.er1 2088 2614 ac_status=$? 2089 2615 grep -v '^ *+' conftest.er1 >conftest.err … … 2091 2617 cat conftest.err >&5 2092 2618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2093 (exit $ac_status); } && 2094 { ac_try='test -z "$ac_c_werror_flag" 2095 || test ! -s conftest.err' 2096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2097 (eval $ac_try) 2>&5 2098 ac_status=$? 2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2100 (exit $ac_status); }; } && 2101 { ac_try='test -s conftest.$ac_objext' 2102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2103 (eval $ac_try) 2>&5 2104 ac_status=$? 2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2106 (exit $ac_status); }; }; then 2619 (exit $ac_status); } && { 2620 test -z "$ac_c_werror_flag" || 2621 test ! -s conftest.err 2622 } && test -s conftest.$ac_objext; then 2107 2623 ac_cv_prog_cc_g=yes 2108 2624 else … … 2110 2626 sed 's/^/| /' conftest.$ac_ext >&5 2111 2627 2112 ac_cv_prog_cc_g=no 2113 fi 2114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2115 fi 2116 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2117 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2628 CFLAGS="" 2629 cat >conftest.$ac_ext <<_ACEOF 2630 /* confdefs.h. */ 2631 _ACEOF 2632 cat confdefs.h >>conftest.$ac_ext 2633 cat >>conftest.$ac_ext <<_ACEOF 2634 /* end confdefs.h. */ 2635 2636 int 2637 main () 2638 { 2639 2640 ; 2641 return 0; 2642 } 2643 _ACEOF 2644 rm -f conftest.$ac_objext 2645 if { (ac_try="$ac_compile" 2646 case "(($ac_try" in 2647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2648 *) ac_try_echo=$ac_try;; 2649 esac 2650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2651 (eval "$ac_compile") 2>conftest.er1 2652 ac_status=$? 2653 grep -v '^ *+' conftest.er1 >conftest.err 2654 rm -f conftest.er1 2655 cat conftest.err >&5 2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2657 (exit $ac_status); } && { 2658 test -z "$ac_c_werror_flag" || 2659 test ! -s conftest.err 2660 } && test -s conftest.$ac_objext; then 2661 : 2662 else 2663 echo "$as_me: failed program was:" >&5 2664 sed 's/^/| /' conftest.$ac_ext >&5 2665 2666 ac_c_werror_flag=$ac_save_c_werror_flag 2667 CFLAGS="-g" 2668 cat >conftest.$ac_ext <<_ACEOF 2669 /* confdefs.h. */ 2670 _ACEOF 2671 cat confdefs.h >>conftest.$ac_ext 2672 cat >>conftest.$ac_ext <<_ACEOF 2673 /* end confdefs.h. */ 2674 2675 int 2676 main () 2677 { 2678 2679 ; 2680 return 0; 2681 } 2682 _ACEOF 2683 rm -f conftest.$ac_objext 2684 if { (ac_try="$ac_compile" 2685 case "(($ac_try" in 2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2687 *) ac_try_echo=$ac_try;; 2688 esac 2689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2690 (eval "$ac_compile") 2>conftest.er1 2691 ac_status=$? 2692 grep -v '^ *+' conftest.er1 >conftest.err 2693 rm -f conftest.er1 2694 cat conftest.err >&5 2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2696 (exit $ac_status); } && { 2697 test -z "$ac_c_werror_flag" || 2698 test ! -s conftest.err 2699 } && test -s conftest.$ac_objext; then 2700 ac_cv_prog_cc_g=yes 2701 else 2702 echo "$as_me: failed program was:" >&5 2703 sed 's/^/| /' conftest.$ac_ext >&5 2704 2705 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 fi 2713 2714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2715 ac_c_werror_flag=$ac_save_c_werror_flag 2716 fi 2717 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2718 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2118 2719 if test "$ac_test_CFLAGS" = set; then 2119 2720 CFLAGS=$ac_save_CFLAGS … … 2131 2732 fi 2132 2733 fi 2133 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52134 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&62135 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2734 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2735 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2736 if test "${ac_cv_prog_cc_c89+set}" = set; then 2136 2737 echo $ECHO_N "(cached) $ECHO_C" >&6 2137 2738 else 2138 ac_cv_prog_cc_ stdc=no2739 ac_cv_prog_cc_c89=no 2139 2740 ac_save_CC=$CC 2140 2741 cat >conftest.$ac_ext <<_ACEOF … … 2170 2771 function prototypes and stuff, but not '\xHH' hex character constants. 2171 2772 These don't provoke an error unfortunately, instead are silently treated 2172 as 'x'. The following induces an error, until -std 1is added to get2773 as 'x'. The following induces an error, until -std is added to get 2173 2774 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2174 2775 array size at least. It's necessary to write '\x00'==0 to get something 2175 that's true only with -std 1. */2776 that's true only with -std. */ 2176 2777 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2778 2779 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2780 inside strings and character constants. */ 2781 #define FOO(x) 'x' 2782 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2177 2783 2178 2784 int test (int i, double x); … … 2190 2796 } 2191 2797 _ACEOF 2192 # Don't try gcc -ansi; that turns off useful extensions and 2193 # breaks some systems' header files. 2194 # AIX -qlanglvl=ansi 2195 # Ultrix and OSF/1 -std1 2196 # HP-UX 10.20 and later -Ae 2197 # HP-UX older versions -Aa -D_HPUX_SOURCE 2198 # SVR4 -Xc -D__EXTENSIONS__ 2199 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2798 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2799 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2200 2800 do 2201 2801 CC="$ac_save_CC $ac_arg" 2202 2802 rm -f conftest.$ac_objext 2203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2204 (eval $ac_compile) 2>conftest.er1 2803 if { (ac_try="$ac_compile" 2804 case "(($ac_try" in 2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2806 *) ac_try_echo=$ac_try;; 2807 esac 2808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2809 (eval "$ac_compile") 2>conftest.er1 2205 2810 ac_status=$? 2206 2811 grep -v '^ *+' conftest.er1 >conftest.err … … 2208 2813 cat conftest.err >&5 2209 2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2210 (exit $ac_status); } && 2211 { ac_try='test -z "$ac_c_werror_flag" 2212 || test ! -s conftest.err' 2213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2214 (eval $ac_try) 2>&5 2215 ac_status=$? 2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2217 (exit $ac_status); }; } && 2218 { ac_try='test -s conftest.$ac_objext' 2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2220 (eval $ac_try) 2>&5 2221 ac_status=$? 2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2223 (exit $ac_status); }; }; then 2224 ac_cv_prog_cc_stdc=$ac_arg 2225 break 2815 (exit $ac_status); } && { 2816 test -z "$ac_c_werror_flag" || 2817 test ! -s conftest.err 2818 } && test -s conftest.$ac_objext; then 2819 ac_cv_prog_cc_c89=$ac_arg 2226 2820 else 2227 2821 echo "$as_me: failed program was:" >&5 2228 2822 sed 's/^/| /' conftest.$ac_ext >&5 2229 2823 2230 fi 2231 rm -f conftest.err conftest.$ac_objext 2824 2825 fi 2826 2827 rm -f core conftest.err conftest.$ac_objext 2828 test "x$ac_cv_prog_cc_c89" != "xno" && break 2232 2829 done 2233 rm -f conftest.$ac_ext conftest.$ac_objext2830 rm -f conftest.$ac_ext 2234 2831 CC=$ac_save_CC 2235 2832 2236 2833 fi 2237 2238 case "x$ac_cv_prog_cc_stdc" in 2239 x|xno) 2240 echo "$as_me:$LINENO: result: none needed" >&5 2241 echo "${ECHO_T}none needed" >&6 ;; 2834 # AC_CACHE_VAL 2835 case "x$ac_cv_prog_cc_c89" in 2836 x) 2837 { echo "$as_me:$LINENO: result: none needed" >&5 2838 echo "${ECHO_T}none needed" >&6; } ;; 2839 xno) 2840 { echo "$as_me:$LINENO: result: unsupported" >&5 2841 echo "${ECHO_T}unsupported" >&6; } ;; 2242 2842 *) 2243 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2244 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2245 CC="$CC $ac_cv_prog_cc_stdc" ;; 2246 esac 2247 2248 # Some people use a C++ compiler to compile C. Since we use `exit', 2249 # in C++ we need to declare it. In case someone uses the same compiler 2250 # for both compiling C and C++ we need to have the C++ compiler decide 2251 # the declaration of exit, since it's the most demanding environment. 2252 cat >conftest.$ac_ext <<_ACEOF 2253 #ifndef __cplusplus 2254 choke me 2255 #endif 2256 _ACEOF 2257 rm -f conftest.$ac_objext 2258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2259 (eval $ac_compile) 2>conftest.er1 2260 ac_status=$? 2261 grep -v '^ *+' conftest.er1 >conftest.err 2262 rm -f conftest.er1 2263 cat conftest.err >&5 2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2265 (exit $ac_status); } && 2266 { ac_try='test -z "$ac_c_werror_flag" 2267 || test ! -s conftest.err' 2268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2269 (eval $ac_try) 2>&5 2270 ac_status=$? 2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2272 (exit $ac_status); }; } && 2273 { ac_try='test -s conftest.$ac_objext' 2274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2275 (eval $ac_try) 2>&5 2276 ac_status=$? 2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2278 (exit $ac_status); }; }; then 2279 for ac_declaration in \ 2280 '' \ 2281 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2282 'extern "C" void std::exit (int); using std::exit;' \ 2283 'extern "C" void exit (int) throw ();' \ 2284 'extern "C" void exit (int);' \ 2285 'void exit (int);' 2286 do 2287 cat >conftest.$ac_ext <<_ACEOF 2288 /* confdefs.h. */ 2289 _ACEOF 2290 cat confdefs.h >>conftest.$ac_ext 2291 cat >>conftest.$ac_ext <<_ACEOF 2292 /* end confdefs.h. */ 2293 $ac_declaration 2294 #include <stdlib.h> 2295 int 2296 main () 2297 { 2298 exit (42); 2299 ; 2300 return 0; 2301 } 2302 _ACEOF 2303 rm -f conftest.$ac_objext 2304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2305 (eval $ac_compile) 2>conftest.er1 2306 ac_status=$? 2307 grep -v '^ *+' conftest.er1 >conftest.err 2308 rm -f conftest.er1 2309 cat conftest.err >&5 2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2311 (exit $ac_status); } && 2312 { ac_try='test -z "$ac_c_werror_flag" 2313 || test ! -s conftest.err' 2314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2315 (eval $ac_try) 2>&5 2316 ac_status=$? 2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2318 (exit $ac_status); }; } && 2319 { ac_try='test -s conftest.$ac_objext' 2320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2321 (eval $ac_try) 2>&5 2322 ac_status=$? 2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2324 (exit $ac_status); }; }; then 2325 : 2326 else 2327 echo "$as_me: failed program was:" >&5 2328 sed 's/^/| /' conftest.$ac_ext >&5 2329 2330 continue 2331 fi 2332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2333 cat >conftest.$ac_ext <<_ACEOF 2334 /* confdefs.h. */ 2335 _ACEOF 2336 cat confdefs.h >>conftest.$ac_ext 2337 cat >>conftest.$ac_ext <<_ACEOF 2338 /* end confdefs.h. */ 2339 $ac_declaration 2340 int 2341 main () 2342 { 2343 exit (42); 2344 ; 2345 return 0; 2346 } 2347 _ACEOF 2348 rm -f conftest.$ac_objext 2349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2350 (eval $ac_compile) 2>conftest.er1 2351 ac_status=$? 2352 grep -v '^ *+' conftest.er1 >conftest.err 2353 rm -f conftest.er1 2354 cat conftest.err >&5 2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2356 (exit $ac_status); } && 2357 { ac_try='test -z "$ac_c_werror_flag" 2358 || test ! -s conftest.err' 2359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2360 (eval $ac_try) 2>&5 2361 ac_status=$? 2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2363 (exit $ac_status); }; } && 2364 { ac_try='test -s conftest.$ac_objext' 2365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2366 (eval $ac_try) 2>&5 2367 ac_status=$? 2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2369 (exit $ac_status); }; }; then 2370 break 2371 else 2372 echo "$as_me: failed program was:" >&5 2373 sed 's/^/| /' conftest.$ac_ext >&5 2374 2375 fi 2376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2377 done 2378 rm -f conftest* 2379 if test -n "$ac_declaration"; then 2380 echo '#ifdef __cplusplus' >>confdefs.h 2381 echo $ac_declaration >>confdefs.h 2382 echo '#endif' >>confdefs.h 2383 fi 2384 2385 else 2386 echo "$as_me: failed program was:" >&5 2387 sed 's/^/| /' conftest.$ac_ext >&5 2388 2389 fi 2390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2843 CC="$CC $ac_cv_prog_cc_c89" 2844 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2845 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2846 esac 2847 2848 2391 2849 ac_ext=c 2392 2850 ac_cpp='$CPP $CPPFLAGS' … … 2395 2853 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2396 2854 2397 ac_ext=c c2855 ac_ext=cpp 2398 2856 ac_cpp='$CXXCPP $CPPFLAGS' 2399 2857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2400 2858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2401 2859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2402 if test -n "$ac_tool_prefix"; then 2403 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2860 if test -z "$CXX"; then 2861 if test -n "$CCC"; then 2862 CXX=$CCC 2863 else 2864 if test -n "$ac_tool_prefix"; then 2865 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2404 2866 do 2405 2867 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2406 2868 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2407 echo "$as_me:$LINENO: checking for $ac_word" >&52408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2869 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2409 2871 if test "${ac_cv_prog_CXX+set}" = set; then 2410 2872 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2419 2881 test -z "$as_dir" && as_dir=. 2420 2882 for ac_exec_ext in '' $ac_executable_extensions; do 2421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2422 2884 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2423 2885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2426 2888 done 2427 2889 done 2890 IFS=$as_save_IFS 2428 2891 2429 2892 fi … … 2431 2894 CXX=$ac_cv_prog_CXX 2432 2895 if test -n "$CXX"; then 2433 echo "$as_me:$LINENO: result: $CXX" >&5 2434 echo "${ECHO_T}$CXX" >&6 2435 else 2436 echo "$as_me:$LINENO: result: no" >&5 2437 echo "${ECHO_T}no" >&6 2438 fi 2896 { echo "$as_me:$LINENO: result: $CXX" >&5 2897 echo "${ECHO_T}$CXX" >&6; } 2898 else 2899 { echo "$as_me:$LINENO: result: no" >&5 2900 echo "${ECHO_T}no" >&6; } 2901 fi 2902 2439 2903 2440 2904 test -n "$CXX" && break … … 2443 2907 if test -z "$CXX"; then 2444 2908 ac_ct_CXX=$CXX 2445 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC2909 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2446 2910 do 2447 2911 # Extract the first word of "$ac_prog", so it can be a program name with args. 2448 2912 set dummy $ac_prog; ac_word=$2 2449 echo "$as_me:$LINENO: checking for $ac_word" >&52450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2913 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2451 2915 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2452 2916 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2461 2925 test -z "$as_dir" && as_dir=. 2462 2926 for ac_exec_ext in '' $ac_executable_extensions; do 2463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2464 2928 ac_cv_prog_ac_ct_CXX="$ac_prog" 2465 2929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2468 2932 done 2469 2933 done 2934 IFS=$as_save_IFS 2470 2935 2471 2936 fi … … 2473 2938 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2474 2939 if test -n "$ac_ct_CXX"; then 2475 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2476 echo "${ECHO_T}$ac_ct_CXX" >&6 2477 else 2478 echo "$as_me:$LINENO: result: no" >&5 2479 echo "${ECHO_T}no" >&6 2480 fi 2940 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2941 echo "${ECHO_T}$ac_ct_CXX" >&6; } 2942 else 2943 { echo "$as_me:$LINENO: result: no" >&5 2944 echo "${ECHO_T}no" >&6; } 2945 fi 2946 2481 2947 2482 2948 test -n "$ac_ct_CXX" && break 2483 2949 done 2484 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2485 2486 CXX=$ac_ct_CXX 2487 fi 2488 2489 2950 2951 if test "x$ac_ct_CXX" = x; then 2952 CXX="g++" 2953 else 2954 case $cross_compiling:$ac_tool_warned in 2955 yes:) 2956 { echo "$as_me:$LINENO: 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." >&5 2959 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2960 whose name does not start with the host triplet. If you think this 2961 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2962 ac_tool_warned=yes ;; 2963 esac 2964 CXX=$ac_ct_CXX 2965 fi 2966 fi 2967 2968 fi 2969 fi 2490 2970 # Provide some information about the compiler. 2491 echo "$as_me:$LINENO:" \ 2492 "checking for C++ compiler version" >&5 2971 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 2493 2972 ac_compiler=`set X $ac_compile; echo $2` 2494 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2495 (eval $ac_compiler --version </dev/null >&5) 2>&5 2973 { (ac_try="$ac_compiler --version >&5" 2974 case "(($ac_try" in 2975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2976 *) ac_try_echo=$ac_try;; 2977 esac 2978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2979 (eval "$ac_compiler --version >&5") 2>&5 2496 2980 ac_status=$? 2497 2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2498 2982 (exit $ac_status); } 2499 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2500 (eval $ac_compiler -v </dev/null >&5) 2>&5 2983 { (ac_try="$ac_compiler -v >&5" 2984 case "(($ac_try" in 2985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2986 *) ac_try_echo=$ac_try;; 2987 esac 2988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2989 (eval "$ac_compiler -v >&5") 2>&5 2501 2990 ac_status=$? 2502 2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2503 2992 (exit $ac_status); } 2504 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2505 (eval $ac_compiler -V </dev/null >&5) 2>&5 2993 { (ac_try="$ac_compiler -V >&5" 2994 case "(($ac_try" in 2995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2996 *) ac_try_echo=$ac_try;; 2997 esac 2998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2999 (eval "$ac_compiler -V >&5") 2>&5 2506 3000 ac_status=$? 2507 3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2508 3002 (exit $ac_status); } 2509 3003 2510 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52511 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 3004 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3005 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 2512 3006 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2513 3007 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2532 3026 _ACEOF 2533 3027 rm -f conftest.$ac_objext 2534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2535 (eval $ac_compile) 2>conftest.er1 3028 if { (ac_try="$ac_compile" 3029 case "(($ac_try" in 3030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3031 *) ac_try_echo=$ac_try;; 3032 esac 3033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3034 (eval "$ac_compile") 2>conftest.er1 2536 3035 ac_status=$? 2537 3036 grep -v '^ *+' conftest.er1 >conftest.err … … 2539 3038 cat conftest.err >&5 2540 3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2541 (exit $ac_status); } && 2542 { ac_try='test -z "$ac_cxx_werror_flag" 2543 || test ! -s conftest.err' 2544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2545 (eval $ac_try) 2>&5 2546 ac_status=$? 2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2548 (exit $ac_status); }; } && 2549 { ac_try='test -s conftest.$ac_objext' 2550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2551 (eval $ac_try) 2>&5 2552 ac_status=$? 2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2554 (exit $ac_status); }; }; then 3040 (exit $ac_status); } && { 3041 test -z "$ac_cxx_werror_flag" || 3042 test ! -s conftest.err 3043 } && test -s conftest.$ac_objext; then 2555 3044 ac_compiler_gnu=yes 2556 3045 else … … 2558 3047 sed 's/^/| /' conftest.$ac_ext >&5 2559 3048 2560 ac_compiler_gnu=no 2561 fi 2562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3049 ac_compiler_gnu=no 3050 fi 3051 3052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2563 3053 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2564 3054 2565 3055 fi 2566 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&52567 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 3056 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3057 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 2568 3058 GXX=`test $ac_compiler_gnu = yes && echo yes` 2569 3059 ac_test_CXXFLAGS=${CXXFLAGS+set} 2570 3060 ac_save_CXXFLAGS=$CXXFLAGS 2571 CXXFLAGS="-g" 2572 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2573 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3061 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3062 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 2574 3063 if test "${ac_cv_prog_cxx_g+set}" = set; then 2575 3064 echo $ECHO_N "(cached) $ECHO_C" >&6 2576 3065 else 2577 cat >conftest.$ac_ext <<_ACEOF 3066 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3067 ac_cxx_werror_flag=yes 3068 ac_cv_prog_cxx_g=no 3069 CXXFLAGS="-g" 3070 cat >conftest.$ac_ext <<_ACEOF 2578 3071 /* confdefs.h. */ 2579 3072 _ACEOF … … 2591 3084 _ACEOF 2592 3085 rm -f conftest.$ac_objext 2593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2594 (eval $ac_compile) 2>conftest.er1 3086 if { (ac_try="$ac_compile" 3087 case "(($ac_try" in 3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3089 *) ac_try_echo=$ac_try;; 3090 esac 3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3092 (eval "$ac_compile") 2>conftest.er1 2595 3093 ac_status=$? 2596 3094 grep -v '^ *+' conftest.er1 >conftest.err … … 2598 3096 cat conftest.err >&5 2599 3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2600 (exit $ac_status); } && 2601 { ac_try='test -z "$ac_cxx_werror_flag" 2602 || test ! -s conftest.err' 2603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2604 (eval $ac_try) 2>&5 2605 ac_status=$? 2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2607 (exit $ac_status); }; } && 2608 { ac_try='test -s conftest.$ac_objext' 2609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2610 (eval $ac_try) 2>&5 2611 ac_status=$? 2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2613 (exit $ac_status); }; }; then 3098 (exit $ac_status); } && { 3099 test -z "$ac_cxx_werror_flag" || 3100 test ! -s conftest.err 3101 } && test -s conftest.$ac_objext; then 2614 3102 ac_cv_prog_cxx_g=yes 2615 3103 else … … 2617 3105 sed 's/^/| /' conftest.$ac_ext >&5 2618 3106 2619 ac_cv_prog_cxx_g=no 2620 fi 2621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2622 fi 2623 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2624 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3107 CXXFLAGS="" 3108 cat >conftest.$ac_ext <<_ACEOF 3109 /* confdefs.h. */ 3110 _ACEOF 3111 cat confdefs.h >>conftest.$ac_ext 3112 cat >>conftest.$ac_ext <<_ACEOF 3113 /* end confdefs.h. */ 3114 3115 int 3116 main () 3117 { 3118 3119 ; 3120 return 0; 3121 } 3122 _ACEOF 3123 rm -f conftest.$ac_objext 3124 if { (ac_try="$ac_compile" 3125 case "(($ac_try" in 3126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3127 *) ac_try_echo=$ac_try;; 3128 esac 3129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3130 (eval "$ac_compile") 2>conftest.er1 3131 ac_status=$? 3132 grep -v '^ *+' conftest.er1 >conftest.err 3133 rm -f conftest.er1 3134 cat conftest.err >&5 3135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3136 (exit $ac_status); } && { 3137 test -z "$ac_cxx_werror_flag" || 3138 test ! -s conftest.err 3139 } && test -s conftest.$ac_objext; then 3140 : 3141 else 3142 echo "$as_me: failed program was:" >&5 3143 sed 's/^/| /' conftest.$ac_ext >&5 3144 3145 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3146 CXXFLAGS="-g" 3147 cat >conftest.$ac_ext <<_ACEOF 3148 /* confdefs.h. */ 3149 _ACEOF 3150 cat confdefs.h >>conftest.$ac_ext 3151 cat >>conftest.$ac_ext <<_ACEOF 3152 /* end confdefs.h. */ 3153 3154 int 3155 main () 3156 { 3157 3158 ; 3159 return 0; 3160 } 3161 _ACEOF 3162 rm -f conftest.$ac_objext 3163 if { (ac_try="$ac_compile" 3164 case "(($ac_try" in 3165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3166 *) ac_try_echo=$ac_try;; 3167 esac 3168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3169 (eval "$ac_compile") 2>conftest.er1 3170 ac_status=$? 3171 grep -v '^ *+' conftest.er1 >conftest.err 3172 rm -f conftest.er1 3173 cat conftest.err >&5 3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3175 (exit $ac_status); } && { 3176 test -z "$ac_cxx_werror_flag" || 3177 test ! -s conftest.err 3178 } && test -s conftest.$ac_objext; then 3179 ac_cv_prog_cxx_g=yes 3180 else 3181 echo "$as_me: failed program was:" >&5 3182 sed 's/^/| /' conftest.$ac_ext >&5 3183 3184 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 fi 3192 3193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3194 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3195 fi 3196 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3197 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 2625 3198 if test "$ac_test_CXXFLAGS" = set; then 2626 3199 CXXFLAGS=$ac_save_CXXFLAGS … … 2638 3211 fi 2639 3212 fi 2640 for ac_declaration in \2641 '' \2642 'extern "C" void std::exit (int) throw (); using std::exit;' \2643 'extern "C" void std::exit (int); using std::exit;' \2644 'extern "C" void exit (int) throw ();' \2645 'extern "C" void exit (int);' \2646 'void exit (int);'2647 do2648 cat >conftest.$ac_ext <<_ACEOF2649 /* confdefs.h. */2650 _ACEOF2651 cat confdefs.h >>conftest.$ac_ext2652 cat >>conftest.$ac_ext <<_ACEOF2653 /* end confdefs.h. */2654 $ac_declaration2655 #include <stdlib.h>2656 int2657 main ()2658 {2659 exit (42);2660 ;2661 return 0;2662 }2663 _ACEOF2664 rm -f conftest.$ac_objext2665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52666 (eval $ac_compile) 2>conftest.er12667 ac_status=$?2668 grep -v '^ *+' conftest.er1 >conftest.err2669 rm -f conftest.er12670 cat conftest.err >&52671 echo "$as_me:$LINENO: \$? = $ac_status" >&52672 (exit $ac_status); } &&2673 { ac_try='test -z "$ac_cxx_werror_flag"2674 || test ! -s conftest.err'2675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52676 (eval $ac_try) 2>&52677 ac_status=$?2678 echo "$as_me:$LINENO: \$? = $ac_status" >&52679 (exit $ac_status); }; } &&2680 { ac_try='test -s conftest.$ac_objext'2681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52682 (eval $ac_try) 2>&52683 ac_status=$?2684 echo "$as_me:$LINENO: \$? = $ac_status" >&52685 (exit $ac_status); }; }; then2686 :2687 else2688 echo "$as_me: failed program was:" >&52689 sed 's/^/| /' conftest.$ac_ext >&52690 2691 continue2692 fi2693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2694 cat >conftest.$ac_ext <<_ACEOF2695 /* confdefs.h. */2696 _ACEOF2697 cat confdefs.h >>conftest.$ac_ext2698 cat >>conftest.$ac_ext <<_ACEOF2699 /* end confdefs.h. */2700 $ac_declaration2701 int2702 main ()2703 {2704 exit (42);2705 ;2706 return 0;2707 }2708 _ACEOF2709 rm -f conftest.$ac_objext2710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52711 (eval $ac_compile) 2>conftest.er12712 ac_status=$?2713 grep -v '^ *+' conftest.er1 >conftest.err2714 rm -f conftest.er12715 cat conftest.err >&52716 echo "$as_me:$LINENO: \$? = $ac_status" >&52717 (exit $ac_status); } &&2718 { ac_try='test -z "$ac_cxx_werror_flag"2719 || test ! -s conftest.err'2720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52721 (eval $ac_try) 2>&52722 ac_status=$?2723 echo "$as_me:$LINENO: \$? = $ac_status" >&52724 (exit $ac_status); }; } &&2725 { ac_try='test -s conftest.$ac_objext'2726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52727 (eval $ac_try) 2>&52728 ac_status=$?2729 echo "$as_me:$LINENO: \$? = $ac_status" >&52730 (exit $ac_status); }; }; then2731 break2732 else2733 echo "$as_me: failed program was:" >&52734 sed 's/^/| /' conftest.$ac_ext >&52735 2736 fi2737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2738 done2739 rm -f conftest*2740 if test -n "$ac_declaration"; then2741 echo '#ifdef __cplusplus' >>confdefs.h2742 echo $ac_declaration >>confdefs.h2743 echo '#endif' >>confdefs.h2744 fi2745 2746 3213 ac_ext=c 2747 3214 ac_cpp='$CPP $CPPFLAGS' … … 2770 3237 2771 3238 2772 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&52773 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 3239 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 3240 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 2774 3241 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 2775 3242 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2784 3251 /* end confdefs.h. */ 2785 3252 2786 /* Override any gcc2 internal prototype to avoid an error. */ 3253 /* Override any GCC internal prototype to avoid an error. 3254 Use char because int might match the return type of a GCC 3255 builtin and then its argument prototype would still apply. */ 2787 3256 #ifdef __cplusplus 2788 3257 extern "C" 2789 3258 #endif 2790 /* We use char because int might match the return type of a gcc22791 builtin and then its argument prototype would still apply. */2792 3259 char pthread_create (); 2793 3260 int 2794 3261 main () 2795 3262 { 2796 pthread_create ();3263 return pthread_create (); 2797 3264 ; 2798 3265 return 0; … … 2800 3267 _ACEOF 2801 3268 rm -f conftest.$ac_objext conftest$ac_exeext 2802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2803 (eval $ac_link) 2>conftest.er1 3269 if { (ac_try="$ac_link" 3270 case "(($ac_try" in 3271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3272 *) ac_try_echo=$ac_try;; 3273 esac 3274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3275 (eval "$ac_link") 2>conftest.er1 2804 3276 ac_status=$? 2805 3277 grep -v '^ *+' conftest.er1 >conftest.err … … 2807 3279 cat conftest.err >&5 2808 3280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2809 (exit $ac_status); } && 2810 { ac_try='test -z "$ac_c_werror_flag" 2811 || test ! -s conftest.err' 2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2813 (eval $ac_try) 2>&5 2814 ac_status=$? 2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2816 (exit $ac_status); }; } && 2817 { ac_try='test -s conftest$ac_exeext' 2818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2819 (eval $ac_try) 2>&5 2820 ac_status=$? 2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2822 (exit $ac_status); }; }; then 3281 (exit $ac_status); } && { 3282 test -z "$ac_c_werror_flag" || 3283 test ! -s conftest.err 3284 } && test -s conftest$ac_exeext && 3285 $as_test_x conftest$ac_exeext; then 2823 3286 ac_cv_lib_pthread_pthread_create=yes 2824 3287 else … … 2826 3289 sed 's/^/| /' conftest.$ac_ext >&5 2827 3290 2828 ac_cv_lib_pthread_pthread_create=no 2829 fi 2830 rm -f conftest.err conftest.$ac_objext \ 3291 ac_cv_lib_pthread_pthread_create=no 3292 fi 3293 3294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2831 3295 conftest$ac_exeext conftest.$ac_ext 2832 3296 LIBS=$ac_check_lib_save_LIBS 2833 3297 fi 2834 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&52835 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 3298 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 3299 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 2836 3300 if test $ac_cv_lib_pthread_pthread_create = yes; then 2837 3301 cat >>confdefs.h <<_ACEOF … … 2844 3308 2845 3309 2846 echo "$as_me:$LINENO: checking for puts in -lwsock32" >&52847 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6 3310 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 3311 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 2848 3312 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 2849 3313 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2858 3322 /* end confdefs.h. */ 2859 3323 2860 /* Override any gcc2 internal prototype to avoid an error. */ 3324 /* Override any GCC internal prototype to avoid an error. 3325 Use char because int might match the return type of a GCC 3326 builtin and then its argument prototype would still apply. */ 2861 3327 #ifdef __cplusplus 2862 3328 extern "C" 2863 3329 #endif 2864 /* We use char because int might match the return type of a gcc22865 builtin and then its argument prototype would still apply. */2866 3330 char puts (); 2867 3331 int 2868 3332 main () 2869 3333 { 2870 puts ();3334 return puts (); 2871 3335 ; 2872 3336 return 0; … … 2874 3338 _ACEOF 2875 3339 rm -f conftest.$ac_objext conftest$ac_exeext 2876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2877 (eval $ac_link) 2>conftest.er1 3340 if { (ac_try="$ac_link" 3341 case "(($ac_try" in 3342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3343 *) ac_try_echo=$ac_try;; 3344 esac 3345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3346 (eval "$ac_link") 2>conftest.er1 2878 3347 ac_status=$? 2879 3348 grep -v '^ *+' conftest.er1 >conftest.err … … 2881 3350 cat conftest.err >&5 2882 3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2883 (exit $ac_status); } && 2884 { ac_try='test -z "$ac_c_werror_flag" 2885 || test ! -s conftest.err' 2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2887 (eval $ac_try) 2>&5 2888 ac_status=$? 2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2890 (exit $ac_status); }; } && 2891 { ac_try='test -s conftest$ac_exeext' 2892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2893 (eval $ac_try) 2>&5 2894 ac_status=$? 2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2896 (exit $ac_status); }; }; then 3352 (exit $ac_status); } && { 3353 test -z "$ac_c_werror_flag" || 3354 test ! -s conftest.err 3355 } && test -s conftest$ac_exeext && 3356 $as_test_x conftest$ac_exeext; then 2897 3357 ac_cv_lib_wsock32_puts=yes 2898 3358 else … … 2900 3360 sed 's/^/| /' conftest.$ac_ext >&5 2901 3361 2902 ac_cv_lib_wsock32_puts=no 2903 fi 2904 rm -f conftest.err conftest.$ac_objext \ 3362 ac_cv_lib_wsock32_puts=no 3363 fi 3364 3365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2905 3366 conftest$ac_exeext conftest.$ac_ext 2906 3367 LIBS=$ac_check_lib_save_LIBS 2907 3368 fi 2908 echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&52909 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6 3369 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 3370 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 2910 3371 if test $ac_cv_lib_wsock32_puts = yes; then 2911 3372 cat >>confdefs.h <<_ACEOF … … 2918 3379 2919 3380 2920 echo "$as_me:$LINENO: checking for puts in -lws2_32" >&52921 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6 3381 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 3382 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 2922 3383 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 2923 3384 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2932 3393 /* end confdefs.h. */ 2933 3394 2934 /* Override any gcc2 internal prototype to avoid an error. */ 3395 /* Override any GCC internal prototype to avoid an error. 3396 Use char because int might match the return type of a GCC 3397 builtin and then its argument prototype would still apply. */ 2935 3398 #ifdef __cplusplus 2936 3399 extern "C" 2937 3400 #endif 2938 /* We use char because int might match the return type of a gcc22939 builtin and then its argument prototype would still apply. */2940 3401 char puts (); 2941 3402 int 2942 3403 main () 2943 3404 { 2944 puts ();3405 return puts (); 2945 3406 ; 2946 3407 return 0; … … 2948 3409 _ACEOF 2949 3410 rm -f conftest.$ac_objext conftest$ac_exeext 2950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2951 (eval $ac_link) 2>conftest.er1 3411 if { (ac_try="$ac_link" 3412 case "(($ac_try" in 3413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3414 *) ac_try_echo=$ac_try;; 3415 esac 3416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3417 (eval "$ac_link") 2>conftest.er1 2952 3418 ac_status=$? 2953 3419 grep -v '^ *+' conftest.er1 >conftest.err … … 2955 3421 cat conftest.err >&5 2956 3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2957 (exit $ac_status); } && 2958 { ac_try='test -z "$ac_c_werror_flag" 2959 || test ! -s conftest.err' 2960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2961 (eval $ac_try) 2>&5 2962 ac_status=$? 2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2964 (exit $ac_status); }; } && 2965 { ac_try='test -s conftest$ac_exeext' 2966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2967 (eval $ac_try) 2>&5 2968 ac_status=$? 2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2970 (exit $ac_status); }; }; then 3423 (exit $ac_status); } && { 3424 test -z "$ac_c_werror_flag" || 3425 test ! -s conftest.err 3426 } && test -s conftest$ac_exeext && 3427 $as_test_x conftest$ac_exeext; then 2971 3428 ac_cv_lib_ws2_32_puts=yes 2972 3429 else … … 2974 3431 sed 's/^/| /' conftest.$ac_ext >&5 2975 3432 2976 ac_cv_lib_ws2_32_puts=no 2977 fi 2978 rm -f conftest.err conftest.$ac_objext \ 3433 ac_cv_lib_ws2_32_puts=no 3434 fi 3435 3436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2979 3437 conftest$ac_exeext conftest.$ac_ext 2980 3438 LIBS=$ac_check_lib_save_LIBS 2981 3439 fi 2982 echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&52983 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6 3440 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 3441 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 2984 3442 if test $ac_cv_lib_ws2_32_puts = yes; then 2985 3443 cat >>confdefs.h <<_ACEOF … … 2992 3450 2993 3451 2994 echo "$as_me:$LINENO: checking for puts in -lole32" >&52995 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6 3452 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 3453 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 2996 3454 if test "${ac_cv_lib_ole32_puts+set}" = set; then 2997 3455 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3006 3464 /* end confdefs.h. */ 3007 3465 3008 /* Override any gcc2 internal prototype to avoid an error. */ 3466 /* Override any GCC internal prototype to avoid an error. 3467 Use char because int might match the return type of a GCC 3468 builtin and then its argument prototype would still apply. */ 3009 3469 #ifdef __cplusplus 3010 3470 extern "C" 3011 3471 #endif 3012 /* We use char because int might match the return type of a gcc23013 builtin and then its argument prototype would still apply. */3014 3472 char puts (); 3015 3473 int 3016 3474 main () 3017 3475 { 3018 puts ();3476 return puts (); 3019 3477 ; 3020 3478 return 0; … … 3022 3480 _ACEOF 3023 3481 rm -f conftest.$ac_objext conftest$ac_exeext 3024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3025 (eval $ac_link) 2>conftest.er1 3482 if { (ac_try="$ac_link" 3483 case "(($ac_try" in 3484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3485 *) ac_try_echo=$ac_try;; 3486 esac 3487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3488 (eval "$ac_link") 2>conftest.er1 3026 3489 ac_status=$? 3027 3490 grep -v '^ *+' conftest.er1 >conftest.err … … 3029 3492 cat conftest.err >&5 3030 3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3031 (exit $ac_status); } && 3032 { ac_try='test -z "$ac_c_werror_flag" 3033 || test ! -s conftest.err' 3034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3035 (eval $ac_try) 2>&5 3036 ac_status=$? 3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3038 (exit $ac_status); }; } && 3039 { ac_try='test -s conftest$ac_exeext' 3040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3041 (eval $ac_try) 2>&5 3042 ac_status=$? 3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3044 (exit $ac_status); }; }; then 3494 (exit $ac_status); } && { 3495 test -z "$ac_c_werror_flag" || 3496 test ! -s conftest.err 3497 } && test -s conftest$ac_exeext && 3498 $as_test_x conftest$ac_exeext; then 3045 3499 ac_cv_lib_ole32_puts=yes 3046 3500 else … … 3048 3502 sed 's/^/| /' conftest.$ac_ext >&5 3049 3503 3050 ac_cv_lib_ole32_puts=no 3051 fi 3052 rm -f conftest.err conftest.$ac_objext \ 3504 ac_cv_lib_ole32_puts=no 3505 fi 3506 3507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3053 3508 conftest$ac_exeext conftest.$ac_ext 3054 3509 LIBS=$ac_check_lib_save_LIBS 3055 3510 fi 3056 echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&53057 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6 3511 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 3512 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 3058 3513 if test $ac_cv_lib_ole32_puts = yes; then 3059 3514 cat >>confdefs.h <<_ACEOF … … 3066 3521 3067 3522 3068 echo "$as_me:$LINENO: checking for puts in -lwinmm" >&53069 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6 3523 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3524 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 3070 3525 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3071 3526 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3080 3535 /* end confdefs.h. */ 3081 3536 3082 /* Override any gcc2 internal prototype to avoid an error. */ 3537 /* Override any GCC internal prototype to avoid an error. 3538 Use char because int might match the return type of a GCC 3539 builtin and then its argument prototype would still apply. */ 3083 3540 #ifdef __cplusplus 3084 3541 extern "C" 3085 3542 #endif 3086 /* We use char because int might match the return type of a gcc23087 builtin and then its argument prototype would still apply. */3088 3543 char puts (); 3089 3544 int 3090 3545 main () 3091 3546 { 3092 puts ();3547 return puts (); 3093 3548 ; 3094 3549 return 0; … … 3096 3551 _ACEOF 3097 3552 rm -f conftest.$ac_objext conftest$ac_exeext 3098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3099 (eval $ac_link) 2>conftest.er1 3553 if { (ac_try="$ac_link" 3554 case "(($ac_try" in 3555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3556 *) ac_try_echo=$ac_try;; 3557 esac 3558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3559 (eval "$ac_link") 2>conftest.er1 3100 3560 ac_status=$? 3101 3561 grep -v '^ *+' conftest.er1 >conftest.err … … 3103 3563 cat conftest.err >&5 3104 3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3105 (exit $ac_status); } && 3106 { ac_try='test -z "$ac_c_werror_flag" 3107 || test ! -s conftest.err' 3108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3109 (eval $ac_try) 2>&5 3110 ac_status=$? 3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3112 (exit $ac_status); }; } && 3113 { ac_try='test -s conftest$ac_exeext' 3114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3115 (eval $ac_try) 2>&5 3116 ac_status=$? 3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3118 (exit $ac_status); }; }; then 3565 (exit $ac_status); } && { 3566 test -z "$ac_c_werror_flag" || 3567 test ! -s conftest.err 3568 } && test -s conftest$ac_exeext && 3569 $as_test_x conftest$ac_exeext; then 3119 3570 ac_cv_lib_winmm_puts=yes 3120 3571 else … … 3122 3573 sed 's/^/| /' conftest.$ac_ext >&5 3123 3574 3124 ac_cv_lib_winmm_puts=no 3125 fi 3126 rm -f conftest.err conftest.$ac_objext \ 3575 ac_cv_lib_winmm_puts=no 3576 fi 3577 3578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3127 3579 conftest$ac_exeext conftest.$ac_ext 3128 3580 LIBS=$ac_check_lib_save_LIBS 3129 3581 fi 3130 echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&53131 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6 3582 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 3583 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 3132 3584 if test $ac_cv_lib_winmm_puts = yes; then 3133 3585 cat >>confdefs.h <<_ACEOF … … 3140 3592 3141 3593 3142 echo "$as_me:$LINENO: checking for puts in -lsocket" >&53143 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6 3594 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3595 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 3144 3596 if test "${ac_cv_lib_socket_puts+set}" = set; then 3145 3597 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3154 3606 /* end confdefs.h. */ 3155 3607 3156 /* Override any gcc2 internal prototype to avoid an error. */ 3608 /* Override any GCC internal prototype to avoid an error. 3609 Use char because int might match the return type of a GCC 3610 builtin and then its argument prototype would still apply. */ 3157 3611 #ifdef __cplusplus 3158 3612 extern "C" 3159 3613 #endif 3160 /* We use char because int might match the return type of a gcc23161 builtin and then its argument prototype would still apply. */3162 3614 char puts (); 3163 3615 int 3164 3616 main () 3165 3617 { 3166 puts ();3618 return puts (); 3167 3619 ; 3168 3620 return 0; … … 3170 3622 _ACEOF 3171 3623 rm -f conftest.$ac_objext conftest$ac_exeext 3172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3173 (eval $ac_link) 2>conftest.er1 3624 if { (ac_try="$ac_link" 3625 case "(($ac_try" in 3626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3627 *) ac_try_echo=$ac_try;; 3628 esac 3629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3630 (eval "$ac_link") 2>conftest.er1 3174 3631 ac_status=$? 3175 3632 grep -v '^ *+' conftest.er1 >conftest.err … … 3177 3634 cat conftest.err >&5 3178 3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3179 (exit $ac_status); } && 3180 { ac_try='test -z "$ac_c_werror_flag" 3181 || test ! -s conftest.err' 3182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3183 (eval $ac_try) 2>&5 3184 ac_status=$? 3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3186 (exit $ac_status); }; } && 3187 { ac_try='test -s conftest$ac_exeext' 3188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3189 (eval $ac_try) 2>&5 3190 ac_status=$? 3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3192 (exit $ac_status); }; }; then 3636 (exit $ac_status); } && { 3637 test -z "$ac_c_werror_flag" || 3638 test ! -s conftest.err 3639 } && test -s conftest$ac_exeext && 3640 $as_test_x conftest$ac_exeext; then 3193 3641 ac_cv_lib_socket_puts=yes 3194 3642 else … … 3196 3644 sed 's/^/| /' conftest.$ac_ext >&5 3197 3645 3198 ac_cv_lib_socket_puts=no 3199 fi 3200 rm -f conftest.err conftest.$ac_objext \ 3646 ac_cv_lib_socket_puts=no 3647 fi 3648 3649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3201 3650 conftest$ac_exeext conftest.$ac_ext 3202 3651 LIBS=$ac_check_lib_save_LIBS 3203 3652 fi 3204 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&53205 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6 3653 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 3654 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 3206 3655 if test $ac_cv_lib_socket_puts = yes; then 3207 3656 cat >>confdefs.h <<_ACEOF … … 3214 3663 3215 3664 3216 echo "$as_me:$LINENO: checking for puts in -lrt" >&53217 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6 3665 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3666 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 3218 3667 if test "${ac_cv_lib_rt_puts+set}" = set; then 3219 3668 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3228 3677 /* end confdefs.h. */ 3229 3678 3230 /* Override any gcc2 internal prototype to avoid an error. */ 3679 /* Override any GCC internal prototype to avoid an error. 3680 Use char because int might match the return type of a GCC 3681 builtin and then its argument prototype would still apply. */ 3231 3682 #ifdef __cplusplus 3232 3683 extern "C" 3233 3684 #endif 3234 /* We use char because int might match the return type of a gcc23235 builtin and then its argument prototype would still apply. */3236 3685 char puts (); 3237 3686 int 3238 3687 main () 3239 3688 { 3240 puts ();3689 return puts (); 3241 3690 ; 3242 3691 return 0; … … 3244 3693 _ACEOF 3245 3694 rm -f conftest.$ac_objext conftest$ac_exeext 3246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3247 (eval $ac_link) 2>conftest.er1 3695 if { (ac_try="$ac_link" 3696 case "(($ac_try" in 3697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3698 *) ac_try_echo=$ac_try;; 3699 esac 3700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3701 (eval "$ac_link") 2>conftest.er1 3248 3702 ac_status=$? 3249 3703 grep -v '^ *+' conftest.er1 >conftest.err … … 3251 3705 cat conftest.err >&5 3252 3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3253 (exit $ac_status); } && 3254 { ac_try='test -z "$ac_c_werror_flag" 3255 || test ! -s conftest.err' 3256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3257 (eval $ac_try) 2>&5 3258 ac_status=$? 3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3260 (exit $ac_status); }; } && 3261 { ac_try='test -s conftest$ac_exeext' 3262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3263 (eval $ac_try) 2>&5 3264 ac_status=$? 3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3266 (exit $ac_status); }; }; then 3707 (exit $ac_status); } && { 3708 test -z "$ac_c_werror_flag" || 3709 test ! -s conftest.err 3710 } && test -s conftest$ac_exeext && 3711 $as_test_x conftest$ac_exeext; then 3267 3712 ac_cv_lib_rt_puts=yes 3268 3713 else … … 3270 3715 sed 's/^/| /' conftest.$ac_ext >&5 3271 3716 3272 ac_cv_lib_rt_puts=no 3273 fi 3274 rm -f conftest.err conftest.$ac_objext \ 3717 ac_cv_lib_rt_puts=no 3718 fi 3719 3720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3275 3721 conftest$ac_exeext conftest.$ac_ext 3276 3722 LIBS=$ac_check_lib_save_LIBS 3277 3723 fi 3278 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&53279 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6 3724 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 3725 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 3280 3726 if test $ac_cv_lib_rt_puts = yes; then 3281 3727 cat >>confdefs.h <<_ACEOF … … 3288 3734 3289 3735 3290 echo "$as_me:$LINENO: checking for puts in -lnsl" >&53291 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6 3736 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3737 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 3292 3738 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3293 3739 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3302 3748 /* end confdefs.h. */ 3303 3749 3304 /* Override any gcc2 internal prototype to avoid an error. */ 3750 /* Override any GCC internal prototype to avoid an error. 3751 Use char because int might match the return type of a GCC 3752 builtin and then its argument prototype would still apply. */ 3305 3753 #ifdef __cplusplus 3306 3754 extern "C" 3307 3755 #endif 3308 /* We use char because int might match the return type of a gcc23309 builtin and then its argument prototype would still apply. */3310 3756 char puts (); 3311 3757 int 3312 3758 main () 3313 3759 { 3314 puts ();3760 return puts (); 3315 3761 ; 3316 3762 return 0; … … 3318 3764 _ACEOF 3319 3765 rm -f conftest.$ac_objext conftest$ac_exeext 3320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3321 (eval $ac_link) 2>conftest.er1 3766 if { (ac_try="$ac_link" 3767 case "(($ac_try" in 3768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3769 *) ac_try_echo=$ac_try;; 3770 esac 3771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3772 (eval "$ac_link") 2>conftest.er1 3322 3773 ac_status=$? 3323 3774 grep -v '^ *+' conftest.er1 >conftest.err … … 3325 3776 cat conftest.err >&5 3326 3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3327 (exit $ac_status); } && 3328 { ac_try='test -z "$ac_c_werror_flag" 3329 || test ! -s conftest.err' 3330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3331 (eval $ac_try) 2>&5 3332 ac_status=$? 3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3334 (exit $ac_status); }; } && 3335 { ac_try='test -s conftest$ac_exeext' 3336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3337 (eval $ac_try) 2>&5 3338 ac_status=$? 3339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3340 (exit $ac_status); }; }; then 3778 (exit $ac_status); } && { 3779 test -z "$ac_c_werror_flag" || 3780 test ! -s conftest.err 3781 } && test -s conftest$ac_exeext && 3782 $as_test_x conftest$ac_exeext; then 3341 3783 ac_cv_lib_nsl_puts=yes 3342 3784 else … … 3344 3786 sed 's/^/| /' conftest.$ac_ext >&5 3345 3787 3346 ac_cv_lib_nsl_puts=no 3347 fi 3348 rm -f conftest.err conftest.$ac_objext \ 3788 ac_cv_lib_nsl_puts=no 3789 fi 3790 3791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3349 3792 conftest$ac_exeext conftest.$ac_ext 3350 3793 LIBS=$ac_check_lib_save_LIBS 3351 3794 fi 3352 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&53353 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6 3795 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 3796 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 3354 3797 if test $ac_cv_lib_nsl_puts = yes; then 3355 3798 cat >>confdefs.h <<_ACEOF … … 3362 3805 3363 3806 3364 echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53365 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 3807 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3808 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3366 3809 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3367 3810 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3376 3819 /* end confdefs.h. */ 3377 3820 3378 /* Override any gcc2 internal prototype to avoid an error. */ 3821 /* Override any GCC internal prototype to avoid an error. 3822 Use char because int might match the return type of a GCC 3823 builtin and then its argument prototype would still apply. */ 3379 3824 #ifdef __cplusplus 3380 3825 extern "C" 3381 3826 #endif 3382 /* We use char because int might match the return type of a gcc23383 builtin and then its argument prototype would still apply. */3384 3827 char uuid_generate (); 3385 3828 int 3386 3829 main () 3387 3830 { 3388 uuid_generate ();3831 return uuid_generate (); 3389 3832 ; 3390 3833 return 0; … … 3392 3835 _ACEOF 3393 3836 rm -f conftest.$ac_objext conftest$ac_exeext 3394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3395 (eval $ac_link) 2>conftest.er1 3837 if { (ac_try="$ac_link" 3838 case "(($ac_try" in 3839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3840 *) ac_try_echo=$ac_try;; 3841 esac 3842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3843 (eval "$ac_link") 2>conftest.er1 3396 3844 ac_status=$? 3397 3845 grep -v '^ *+' conftest.er1 >conftest.err … … 3399 3847 cat conftest.err >&5 3400 3848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3401 (exit $ac_status); } && 3402 { ac_try='test -z "$ac_c_werror_flag" 3403 || test ! -s conftest.err' 3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3405 (eval $ac_try) 2>&5 3406 ac_status=$? 3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3408 (exit $ac_status); }; } && 3409 { ac_try='test -s conftest$ac_exeext' 3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3411 (eval $ac_try) 2>&5 3412 ac_status=$? 3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3414 (exit $ac_status); }; }; then 3849 (exit $ac_status); } && { 3850 test -z "$ac_c_werror_flag" || 3851 test ! -s conftest.err 3852 } && test -s conftest$ac_exeext && 3853 $as_test_x conftest$ac_exeext; then 3415 3854 ac_cv_lib_uuid_uuid_generate=yes 3416 3855 else … … 3418 3857 sed 's/^/| /' conftest.$ac_ext >&5 3419 3858 3420 ac_cv_lib_uuid_uuid_generate=no 3421 fi 3422 rm -f conftest.err conftest.$ac_objext \ 3859 ac_cv_lib_uuid_uuid_generate=no 3860 fi 3861 3862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3423 3863 conftest$ac_exeext conftest.$ac_ext 3424 3864 LIBS=$ac_check_lib_save_LIBS 3425 3865 fi 3426 echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53427 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 3866 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3867 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 3428 3868 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3429 3869 cat >>confdefs.h <<_ACEOF … … 3435 3875 fi 3436 3876 3437 echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53438 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 3877 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3878 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3439 3879 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3440 3880 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3449 3889 /* end confdefs.h. */ 3450 3890 3451 /* Override any gcc2 internal prototype to avoid an error. */ 3891 /* Override any GCC internal prototype to avoid an error. 3892 Use char because int might match the return type of a GCC 3893 builtin and then its argument prototype would still apply. */ 3452 3894 #ifdef __cplusplus 3453 3895 extern "C" 3454 3896 #endif 3455 /* We use char because int might match the return type of a gcc23456 builtin and then its argument prototype would still apply. */3457 3897 char uuid_generate (); 3458 3898 int 3459 3899 main () 3460 3900 { 3461 uuid_generate ();3901 return uuid_generate (); 3462 3902 ; 3463 3903 return 0; … … 3465 3905 _ACEOF 3466 3906 rm -f conftest.$ac_objext conftest$ac_exeext 3467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3468 (eval $ac_link) 2>conftest.er1 3907 if { (ac_try="$ac_link" 3908 case "(($ac_try" in 3909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3910 *) ac_try_echo=$ac_try;; 3911 esac 3912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3913 (eval "$ac_link") 2>conftest.er1 3469 3914 ac_status=$? 3470 3915 grep -v '^ *+' conftest.er1 >conftest.err … … 3472 3917 cat conftest.err >&5 3473 3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3474 (exit $ac_status); } && 3475 { ac_try='test -z "$ac_c_werror_flag" 3476 || test ! -s conftest.err' 3477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3478 (eval $ac_try) 2>&5 3479 ac_status=$? 3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3481 (exit $ac_status); }; } && 3482 { ac_try='test -s conftest$ac_exeext' 3483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3484 (eval $ac_try) 2>&5 3485 ac_status=$? 3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3487 (exit $ac_status); }; }; then 3919 (exit $ac_status); } && { 3920 test -z "$ac_c_werror_flag" || 3921 test ! -s conftest.err 3922 } && test -s conftest$ac_exeext && 3923 $as_test_x conftest$ac_exeext; then 3488 3924 ac_cv_lib_uuid_uuid_generate=yes 3489 3925 else … … 3491 3927 sed 's/^/| /' conftest.$ac_ext >&5 3492 3928 3493 ac_cv_lib_uuid_uuid_generate=no 3494 fi 3495 rm -f conftest.err conftest.$ac_objext \ 3929 ac_cv_lib_uuid_uuid_generate=no 3930 fi 3931 3932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3496 3933 conftest$ac_exeext conftest.$ac_ext 3497 3934 LIBS=$ac_check_lib_save_LIBS 3498 3935 fi 3499 echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53500 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 3936 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3937 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 3501 3938 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3502 3939 ac_has_uuid_lib=1 … … 3504 3941 3505 3942 3506 echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&53507 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6 3943 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 3944 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 3508 3945 cat >>confdefs.h <<_ACEOF 3509 3946 #define PJ_M_NAME "$target_cpu" … … 3511 3948 3512 3949 3513 echo "$as_me:$LINENO: checking memory alignment" >&53514 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6 3950 { echo "$as_me:$LINENO: checking memory alignment" >&5 3951 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 3515 3952 case $target in 3516 3953 ia64-* | x86_64-* ) … … 3519 3956 _ACEOF 3520 3957 3521 echo "$as_me:$LINENO: result: 8 bytes" >&53522 echo "${ECHO_T}8 bytes" >&6 3958 { echo "$as_me:$LINENO: result: 8 bytes" >&5 3959 echo "${ECHO_T}8 bytes" >&6; } 3523 3960 ;; 3524 3961 * ) … … 3527 3964 _ACEOF 3528 3965 3529 echo "$as_me:$LINENO: result: 4 bytes (default)" >&53530 echo "${ECHO_T}4 bytes (default)" >&6 3966 { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 3967 echo "${ECHO_T}4 bytes (default)" >&6; } 3531 3968 ;; 3532 3969 esac 3533 3534 3535 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&53536 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&63537 if test "${ac_cv_c_bigendian+set}" = set; then3538 echo $ECHO_N "(cached) $ECHO_C" >&63539 else3540 # See if sys/param.h defines the BYTE_ORDER macro.3541 cat >conftest.$ac_ext <<_ACEOF3542 /* confdefs.h. */3543 _ACEOF3544 cat confdefs.h >>conftest.$ac_ext3545 cat >>conftest.$ac_ext <<_ACEOF3546 /* end confdefs.h. */3547 #include <sys/types.h>3548 #include <sys/param.h>3549 3550 int3551 main ()3552 {3553 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN3554 bogus endian macros3555 #endif3556 3557 ;3558 return 0;3559 }3560 _ACEOF3561 rm -f conftest.$ac_objext3562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53563 (eval $ac_compile) 2>conftest.er13564 ac_status=$?3565 grep -v '^ *+' conftest.er1 >conftest.err3566 rm -f conftest.er13567 cat conftest.err >&53568 echo "$as_me:$LINENO: \$? = $ac_status" >&53569 (exit $ac_status); } &&3570 { ac_try='test -z "$ac_c_werror_flag"3571 || test ! -s conftest.err'3572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53573 (eval $ac_try) 2>&53574 ac_status=$?3575 echo "$as_me:$LINENO: \$? = $ac_status" >&53576 (exit $ac_status); }; } &&3577 { ac_try='test -s conftest.$ac_objext'3578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53579 (eval $ac_try) 2>&53580 ac_status=$?3581 echo "$as_me:$LINENO: \$? = $ac_status" >&53582 (exit $ac_status); }; }; then3583 # It does; now see whether it defined to BIG_ENDIAN or not.3584 cat >conftest.$ac_ext <<_ACEOF3585 /* confdefs.h. */3586 _ACEOF3587 cat confdefs.h >>conftest.$ac_ext3588 cat >>conftest.$ac_ext <<_ACEOF3589 /* end confdefs.h. */3590 #include <sys/types.h>3591 #include <sys/param.h>3592 3593 int3594 main ()3595 {3596 #if BYTE_ORDER != BIG_ENDIAN3597 not big endian3598 #endif3599 3600 ;3601 return 0;3602 }3603 _ACEOF3604 rm -f conftest.$ac_objext3605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53606 (eval $ac_compile) 2>conftest.er13607 ac_status=$?3608 grep -v '^ *+' conftest.er1 >conftest.err3609 rm -f conftest.er13610 cat conftest.err >&53611 echo "$as_me:$LINENO: \$? = $ac_status" >&53612 (exit $ac_status); } &&3613 { ac_try='test -z "$ac_c_werror_flag"3614 || test ! -s conftest.err'3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53616 (eval $ac_try) 2>&53617 ac_status=$?3618 echo "$as_me:$LINENO: \$? = $ac_status" >&53619 (exit $ac_status); }; } &&3620 { ac_try='test -s conftest.$ac_objext'3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53622 (eval $ac_try) 2>&53623 ac_status=$?3624 echo "$as_me:$LINENO: \$? = $ac_status" >&53625 (exit $ac_status); }; }; then3626 ac_cv_c_bigendian=yes3627 else3628 echo "$as_me: failed program was:" >&53629 sed 's/^/| /' conftest.$ac_ext >&53630 3631 ac_cv_c_bigendian=no3632 fi3633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext3634 else3635 echo "$as_me: failed program was:" >&53636 sed 's/^/| /' conftest.$ac_ext >&53637 3638 # It does not; compile a test program.3639 if test "$cross_compiling" = yes; then3640 # try to guess the endianness by grepping values into an object file3641 ac_cv_c_bigendian=unknown3642 cat >conftest.$ac_ext <<_ACEOF3643 /* confdefs.h. */3644 _ACEOF3645 cat confdefs.h >>conftest.$ac_ext3646 cat >>conftest.$ac_ext <<_ACEOF3647 /* end confdefs.h. */3648 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };3649 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };3650 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }3651 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };3652 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };3653 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }3654 int3655 main ()3656 {3657 _ascii (); _ebcdic ();3658 ;3659 return 0;3660 }3661 _ACEOF3662 rm -f conftest.$ac_objext3663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53664 (eval $ac_compile) 2>conftest.er13665 ac_status=$?3666 grep -v '^ *+' conftest.er1 >conftest.err3667 rm -f conftest.er13668 cat conftest.err >&53669 echo "$as_me:$LINENO: \$? = $ac_status" >&53670 (exit $ac_status); } &&3671 { ac_try='test -z "$ac_c_werror_flag"3672 || test ! -s conftest.err'3673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53674 (eval $ac_try) 2>&53675 ac_status=$?3676 echo "$as_me:$LINENO: \$? = $ac_status" >&53677 (exit $ac_status); }; } &&3678 { ac_try='test -s conftest.$ac_objext'3679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53680 (eval $ac_try) 2>&53681 ac_status=$?3682 echo "$as_me:$LINENO: \$? = $ac_status" >&53683 (exit $ac_status); }; }; then3684 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then3685 ac_cv_c_bigendian=yes3686 fi3687 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then3688 if test "$ac_cv_c_bigendian" = unknown; then3689 ac_cv_c_bigendian=no3690 else3691 # finding both strings is unlikely to happen, but who knows?3692 ac_cv_c_bigendian=unknown3693 fi3694 fi3695 else3696 echo "$as_me: failed program was:" >&53697 sed 's/^/| /' conftest.$ac_ext >&53698 3699 fi3700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext3701 else3702 cat >conftest.$ac_ext <<_ACEOF3703 /* confdefs.h. */3704 _ACEOF3705 cat confdefs.h >>conftest.$ac_ext3706 cat >>conftest.$ac_ext <<_ACEOF3707 /* end confdefs.h. */3708 int3709 main ()3710 {3711 /* Are we little or big endian? From Harbison&Steele. */3712 union3713 {3714 long l;3715 char c[sizeof (long)];3716 } u;3717 u.l = 1;3718 exit (u.c[sizeof (long) - 1] == 1);3719 }3720 _ACEOF3721 rm -f conftest$ac_exeext3722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&53723 (eval $ac_link) 2>&53724 ac_status=$?3725 echo "$as_me:$LINENO: \$? = $ac_status" >&53726 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'3727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53728 (eval $ac_try) 2>&53729 ac_status=$?3730 echo "$as_me:$LINENO: \$? = $ac_status" >&53731 (exit $ac_status); }; }; then3732 ac_cv_c_bigendian=no3733 else3734 echo "$as_me: program exited with status $ac_status" >&53735 echo "$as_me: failed program was:" >&53736 sed 's/^/| /' conftest.$ac_ext >&53737 3738 ( exit $ac_status )3739 ac_cv_c_bigendian=yes3740 fi3741 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext3742 fi3743 fi3744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext3745 fi3746 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&53747 echo "${ECHO_T}$ac_cv_c_bigendian" >&63748 case $ac_cv_c_bigendian in3749 yes)3750 3751 cat >>confdefs.h <<\_ACEOF3752 #define WORDS_BIGENDIAN 13753 _ACEOF3754 ;;3755 no)3756 ;;3757 *)3758 { { echo "$as_me:$LINENO: error: unknown endianness3759 presetting ac_cv_c_bigendian=no (or yes) will help" >&53760 echo "$as_me: error: unknown endianness3761 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}3762 { (exit 1); exit 1; }; } ;;3763 esac3764 3765 3766 case $target in3767 *mingw* | *cygw* | *win32* | *w32* )3768 cat >>confdefs.h <<\_ACEOF3769 #define PJ_WIN32 13770 _ACEOF3771 3772 cat >>confdefs.h <<\_ACEOF3773 #define PJ_WIN32_WINNT 0x04003774 _ACEOF3775 3776 cat >>confdefs.h <<\_ACEOF3777 #define WIN32_LEAN_AND_MEAN 13778 _ACEOF3779 3780 ;;3781 *darwin*)3782 cat >>confdefs.h <<\_ACEOF3783 #define PJ_DARWINOS 13784 _ACEOF3785 3786 ;;3787 *linux*)3788 cat >>confdefs.h <<\_ACEOF3789 #define PJ_LINUX 13790 _ACEOF3791 3792 ;;3793 *rtems*)3794 cat >>confdefs.h <<\_ACEOF3795 #define PJ_RTEMS 13796 _ACEOF3797 3798 ;;3799 *sunos* | *solaris* )3800 cat >>confdefs.h <<\_ACEOF3801 #define PJ_SUNOS 13802 _ACEOF3803 3804 ;;3805 *)3806 ;;3807 esac3808 3809 3810 3811 3812 # Check whether --enable-floating-point or --disable-floating-point was given.3813 if test "${enable_floating_point+set}" = set; then3814 enableval="$enable_floating_point"3815 if test "$enable_floating_point" = "no"; then3816 cat >>confdefs.h <<\_ACEOF3817 #define PJ_HAS_FLOATING_POINT 03818 _ACEOF3819 3820 echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&53821 echo "${ECHO_T}Checking if floating point is disabled... yes" >&63822 fi3823 else3824 3825 cat >>confdefs.h <<\_ACEOF3826 #define PJ_HAS_FLOATING_POINT 13827 _ACEOF3828 3829 echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&53830 echo "${ECHO_T}Checking if floating point is disabled... no" >&63831 3832 echo "$as_me:$LINENO: checking for fmod in -lm" >&53833 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&63834 if test "${ac_cv_lib_m_fmod+set}" = set; then3835 echo $ECHO_N "(cached) $ECHO_C" >&63836 else3837 ac_check_lib_save_LIBS=$LIBS3838 LIBS="-lm $LIBS"3839 cat >conftest.$ac_ext <<_ACEOF3840 /* confdefs.h. */3841 _ACEOF3842 cat confdefs.h >>conftest.$ac_ext3843 cat >>conftest.$ac_ext <<_ACEOF3844 /* end confdefs.h. */3845 3846 /* Override any gcc2 internal prototype to avoid an error. */3847 #ifdef __cplusplus3848 extern "C"3849 #endif3850 /* We use char because int might match the return type of a gcc23851 builtin and then its argument prototype would still apply. */3852 char fmod ();3853 int3854 main ()3855 {3856 fmod ();3857 ;3858 return 0;3859 }3860 _ACEOF3861 rm -f conftest.$ac_objext conftest$ac_exeext3862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&53863 (eval $ac_link) 2>conftest.er13864 ac_status=$?3865 grep -v '^ *+' conftest.er1 >conftest.err3866 rm -f conftest.er13867 cat conftest.err >&53868 echo "$as_me:$LINENO: \$? = $ac_status" >&53869 (exit $ac_status); } &&3870 { ac_try='test -z "$ac_c_werror_flag"3871 || test ! -s conftest.err'3872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53873 (eval $ac_try) 2>&53874 ac_status=$?3875 echo "$as_me:$LINENO: \$? = $ac_status" >&53876 (exit $ac_status); }; } &&3877 { ac_try='test -s conftest$ac_exeext'3878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53879 (eval $ac_try) 2>&53880 ac_status=$?3881 echo "$as_me:$LINENO: \$? = $ac_status" >&53882 (exit $ac_status); }; }; then3883 ac_cv_lib_m_fmod=yes3884 else3885 echo "$as_me: failed program was:" >&53886 sed 's/^/| /' conftest.$ac_ext >&53887 3888 ac_cv_lib_m_fmod=no3889 fi3890 rm -f conftest.err conftest.$ac_objext \3891 conftest$ac_exeext conftest.$ac_ext3892 LIBS=$ac_check_lib_save_LIBS3893 fi3894 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&53895 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&63896 if test $ac_cv_lib_m_fmod = yes; then3897 cat >>confdefs.h <<_ACEOF3898 #define HAVE_LIBM 13899 _ACEOF3900 3901 LIBS="-lm $LIBS"3902 3903 fi3904 3905 3906 fi;3907 3970 3908 3971 … … 3912 3975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3913 3976 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3914 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53915 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3977 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3978 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3916 3979 # On Suns, sometimes $CPP names a directory. 3917 3980 if test -n "$CPP" && test -d "$CPP"; then … … 3947 4010 Syntax error 3948 4011 _ACEOF 3949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3950 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4012 if { (ac_try="$ac_cpp conftest.$ac_ext" 4013 case "(($ac_try" in 4014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4015 *) ac_try_echo=$ac_try;; 4016 esac 4017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3951 4019 ac_status=$? 3952 4020 grep -v '^ *+' conftest.er1 >conftest.err … … 3954 4022 cat conftest.err >&5 3955 4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3956 (exit $ac_status); } >/dev/null; then 3957 if test -s conftest.err; then 3958 ac_cpp_err=$ac_c_preproc_warn_flag 3959 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3960 else 3961 ac_cpp_err= 3962 fi 3963 else 3964 ac_cpp_err=yes 3965 fi 3966 if test -z "$ac_cpp_err"; then 4024 (exit $ac_status); } >/dev/null && { 4025 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4026 test ! -s conftest.err 4027 }; then 3967 4028 : 3968 4029 else … … 3973 4034 continue 3974 4035 fi 4036 3975 4037 rm -f conftest.err conftest.$ac_ext 3976 4038 3977 # OK, works on sane cases. Now check whether non -existent headers4039 # OK, works on sane cases. Now check whether nonexistent headers 3978 4040 # can be detected and how. 3979 4041 cat >conftest.$ac_ext <<_ACEOF … … 3985 4047 #include <ac_nonexistent.h> 3986 4048 _ACEOF 3987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3988 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4049 if { (ac_try="$ac_cpp conftest.$ac_ext" 4050 case "(($ac_try" in 4051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4052 *) ac_try_echo=$ac_try;; 4053 esac 4054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4055 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3989 4056 ac_status=$? 3990 4057 grep -v '^ *+' conftest.er1 >conftest.err … … 3992 4059 cat conftest.err >&5 3993 4060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3994 (exit $ac_status); } >/dev/null; then 3995 if test -s conftest.err; then 3996 ac_cpp_err=$ac_c_preproc_warn_flag 3997 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3998 else 3999 ac_cpp_err= 4000 fi 4001 else 4002 ac_cpp_err=yes 4003 fi 4004 if test -z "$ac_cpp_err"; then 4061 (exit $ac_status); } >/dev/null && { 4062 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4063 test ! -s conftest.err 4064 }; then 4005 4065 # Broken: success on invalid input. 4006 4066 continue … … 4013 4073 break 4014 4074 fi 4075 4015 4076 rm -f conftest.err conftest.$ac_ext 4016 4077 … … 4030 4091 ac_cv_prog_CPP=$CPP 4031 4092 fi 4032 echo "$as_me:$LINENO: result: $CPP" >&54033 echo "${ECHO_T}$CPP" >&6 4093 { echo "$as_me:$LINENO: result: $CPP" >&5 4094 echo "${ECHO_T}$CPP" >&6; } 4034 4095 ac_preproc_ok=false 4035 4096 for ac_c_preproc_warn_flag in '' yes … … 4054 4115 Syntax error 4055 4116 _ACEOF 4056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4057 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4117 if { (ac_try="$ac_cpp conftest.$ac_ext" 4118 case "(($ac_try" in 4119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4120 *) ac_try_echo=$ac_try;; 4121 esac 4122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4058 4124 ac_status=$? 4059 4125 grep -v '^ *+' conftest.er1 >conftest.err … … 4061 4127 cat conftest.err >&5 4062 4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4063 (exit $ac_status); } >/dev/null; then 4064 if test -s conftest.err; then 4065 ac_cpp_err=$ac_c_preproc_warn_flag 4066 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4067 else 4068 ac_cpp_err= 4069 fi 4070 else 4071 ac_cpp_err=yes 4072 fi 4073 if test -z "$ac_cpp_err"; then 4129 (exit $ac_status); } >/dev/null && { 4130 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4131 test ! -s conftest.err 4132 }; then 4074 4133 : 4075 4134 else … … 4080 4139 continue 4081 4140 fi 4141 4082 4142 rm -f conftest.err conftest.$ac_ext 4083 4143 4084 # OK, works on sane cases. Now check whether non -existent headers4144 # OK, works on sane cases. Now check whether nonexistent headers 4085 4145 # can be detected and how. 4086 4146 cat >conftest.$ac_ext <<_ACEOF … … 4092 4152 #include <ac_nonexistent.h> 4093 4153 _ACEOF 4094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4154 if { (ac_try="$ac_cpp conftest.$ac_ext" 4155 case "(($ac_try" in 4156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4157 *) ac_try_echo=$ac_try;; 4158 esac 4159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4160 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4096 4161 ac_status=$? 4097 4162 grep -v '^ *+' conftest.er1 >conftest.err … … 4099 4164 cat conftest.err >&5 4100 4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4101 (exit $ac_status); } >/dev/null; then 4102 if test -s conftest.err; then 4103 ac_cpp_err=$ac_c_preproc_warn_flag 4104 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4105 else 4106 ac_cpp_err= 4107 fi 4108 else 4109 ac_cpp_err=yes 4110 fi 4111 if test -z "$ac_cpp_err"; then 4166 (exit $ac_status); } >/dev/null && { 4167 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4168 test ! -s conftest.err 4169 }; then 4112 4170 # Broken: success on invalid input. 4113 4171 continue … … 4120 4178 break 4121 4179 fi 4180 4122 4181 rm -f conftest.err conftest.$ac_ext 4123 4182 … … 4142 4201 4143 4202 4144 echo "$as_me:$LINENO: checking for egrep" >&54145 echo $ECHO_N "checking for egrep... $ECHO_C" >&64146 if test "${ac_cv_p rog_egrep+set}" = set; then4203 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4204 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4205 if test "${ac_cv_path_GREP+set}" = set; then 4147 4206 echo $ECHO_N "(cached) $ECHO_C" >&6 4148 4207 else 4149 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 4150 then ac_cv_prog_egrep='grep -E' 4151 else ac_cv_prog_egrep='egrep' 4208 # Extract the first word of "grep ggrep" to use in msg output 4209 if test -z "$GREP"; then 4210 set dummy grep ggrep; ac_prog_name=$2 4211 if test "${ac_cv_path_GREP+set}" = set; then 4212 echo $ECHO_N "(cached) $ECHO_C" >&6 4213 else 4214 ac_path_GREP_found=false 4215 # Loop through the user's path and test for each of PROGNAME-LIST 4216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4217 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4218 do 4219 IFS=$as_save_IFS 4220 test -z "$as_dir" && as_dir=. 4221 for ac_prog in grep ggrep; do 4222 for ac_exec_ext in '' $ac_executable_extensions; do 4223 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4224 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4225 # Check for GNU ac_path_GREP and select it if it is found. 4226 # Check for GNU $ac_path_GREP 4227 case `"$ac_path_GREP" --version 2>&1` in 4228 *GNU*) 4229 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4230 *) 4231 ac_count=0 4232 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4233 while : 4234 do 4235 cat "conftest.in" "conftest.in" >"conftest.tmp" 4236 mv "conftest.tmp" "conftest.in" 4237 cp "conftest.in" "conftest.nl" 4238 echo 'GREP' >> "conftest.nl" 4239 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4240 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4241 ac_count=`expr $ac_count + 1` 4242 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4243 # Best one so far, save it but keep looking for a better one 4244 ac_cv_path_GREP="$ac_path_GREP" 4245 ac_path_GREP_max=$ac_count 4152 4246 fi 4153 fi 4154 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 4155 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 4156 EGREP=$ac_cv_prog_egrep 4157 4158 4159 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4160 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4247 # 10*(2^10) chars as input seems more than enough 4248 test $ac_count -gt 10 && break 4249 done 4250 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4251 esac 4252 4253 4254 $ac_path_GREP_found && break 3 4255 done 4256 done 4257 4258 done 4259 IFS=$as_save_IFS 4260 4261 4262 fi 4263 4264 GREP="$ac_cv_path_GREP" 4265 if test -z "$GREP"; then 4266 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4267 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4268 { (exit 1); exit 1; }; } 4269 fi 4270 4271 else 4272 ac_cv_path_GREP=$GREP 4273 fi 4274 4275 4276 fi 4277 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4278 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4279 GREP="$ac_cv_path_GREP" 4280 4281 4282 { echo "$as_me:$LINENO: checking for egrep" >&5 4283 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4284 if test "${ac_cv_path_EGREP+set}" = set; then 4285 echo $ECHO_N "(cached) $ECHO_C" >&6 4286 else 4287 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4288 then ac_cv_path_EGREP="$GREP -E" 4289 else 4290 # Extract the first word of "egrep" to use in msg output 4291 if test -z "$EGREP"; then 4292 set dummy egrep; ac_prog_name=$2 4293 if test "${ac_cv_path_EGREP+set}" = set; then 4294 echo $ECHO_N "(cached) $ECHO_C" >&6 4295 else 4296 ac_path_EGREP_found=false 4297 # Loop through the user's path and test for each of PROGNAME-LIST 4298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4299 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4300 do 4301 IFS=$as_save_IFS 4302 test -z "$as_dir" && as_dir=. 4303 for ac_prog in egrep; do 4304 for ac_exec_ext in '' $ac_executable_extensions; do 4305 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4306 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4307 # Check for GNU ac_path_EGREP and select it if it is found. 4308 # Check for GNU $ac_path_EGREP 4309 case `"$ac_path_EGREP" --version 2>&1` in 4310 *GNU*) 4311 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4312 *) 4313 ac_count=0 4314 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4315 while : 4316 do 4317 cat "conftest.in" "conftest.in" >"conftest.tmp" 4318 mv "conftest.tmp" "conftest.in" 4319 cp "conftest.in" "conftest.nl" 4320 echo 'EGREP' >> "conftest.nl" 4321 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4322 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4323 ac_count=`expr $ac_count + 1` 4324 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4325 # Best one so far, save it but keep looking for a better one 4326 ac_cv_path_EGREP="$ac_path_EGREP" 4327 ac_path_EGREP_max=$ac_count 4328 fi 4329 # 10*(2^10) chars as input seems more than enough 4330 test $ac_count -gt 10 && break 4331 done 4332 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4333 esac 4334 4335 4336 $ac_path_EGREP_found && break 3 4337 done 4338 done 4339 4340 done 4341 IFS=$as_save_IFS 4342 4343 4344 fi 4345 4346 EGREP="$ac_cv_path_EGREP" 4347 if test -z "$EGREP"; then 4348 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4349 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4350 { (exit 1); exit 1; }; } 4351 fi 4352 4353 else 4354 ac_cv_path_EGREP=$EGREP 4355 fi 4356 4357 4358 fi 4359 fi 4360 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4361 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4362 EGREP="$ac_cv_path_EGREP" 4363 4364 4365 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4366 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4161 4367 if test "${ac_cv_header_stdc+set}" = set; then 4162 4368 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4182 4388 _ACEOF 4183 4389 rm -f conftest.$ac_objext 4184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4185 (eval $ac_compile) 2>conftest.er1 4390 if { (ac_try="$ac_compile" 4391 case "(($ac_try" in 4392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4393 *) ac_try_echo=$ac_try;; 4394 esac 4395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4396 (eval "$ac_compile") 2>conftest.er1 4186 4397 ac_status=$? 4187 4398 grep -v '^ *+' conftest.er1 >conftest.err … … 4189 4400 cat conftest.err >&5 4190 4401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4191 (exit $ac_status); } && 4192 { ac_try='test -z "$ac_c_werror_flag" 4193 || test ! -s conftest.err' 4194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4195 (eval $ac_try) 2>&5 4196 ac_status=$? 4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4198 (exit $ac_status); }; } && 4199 { ac_try='test -s conftest.$ac_objext' 4200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4201 (eval $ac_try) 2>&5 4202 ac_status=$? 4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4204 (exit $ac_status); }; }; then 4402 (exit $ac_status); } && { 4403 test -z "$ac_c_werror_flag" || 4404 test ! -s conftest.err 4405 } && test -s conftest.$ac_objext; then 4205 4406 ac_cv_header_stdc=yes 4206 4407 else … … 4208 4409 sed 's/^/| /' conftest.$ac_ext >&5 4209 4410 4210 ac_cv_header_stdc=no 4211 fi 4212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4411 ac_cv_header_stdc=no 4412 fi 4413 4414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4213 4415 4214 4416 if test $ac_cv_header_stdc = yes; then … … 4266 4468 /* end confdefs.h. */ 4267 4469 #include <ctype.h> 4470 #include <stdlib.h> 4268 4471 #if ((' ' & 0x0FF) == 0x020) 4269 4472 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4285 4488 if (XOR (islower (i), ISLOWER (i)) 4286 4489 || toupper (i) != TOUPPER (i)) 4287 exit(2);4288 exit (0);4490 return 2; 4491 return 0; 4289 4492 } 4290 4493 _ACEOF 4291 4494 rm -f conftest$ac_exeext 4292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4293 (eval $ac_link) 2>&5 4495 if { (ac_try="$ac_link" 4496 case "(($ac_try" in 4497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4498 *) ac_try_echo=$ac_try;; 4499 esac 4500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4501 (eval "$ac_link") 2>&5 4294 4502 ac_status=$? 4295 4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4296 4504 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4298 (eval $ac_try) 2>&5 4505 { (case "(($ac_try" in 4506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4507 *) ac_try_echo=$ac_try;; 4508 esac 4509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4510 (eval "$ac_try") 2>&5 4299 4511 ac_status=$? 4300 4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4309 4521 ac_cv_header_stdc=no 4310 4522 fi 4311 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4312 fi 4313 fi 4314 fi 4315 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4316 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4523 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4524 fi 4525 4526 4527 fi 4528 fi 4529 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4530 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4317 4531 if test $ac_cv_header_stdc = yes; then 4318 4532 … … 4337 4551 do 4338 4552 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4339 echo "$as_me:$LINENO: checking for $ac_header" >&54340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4341 if eval "test \"\${$as_ac_Header+set}\" = set"; then4553 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4555 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4342 4556 echo $ECHO_N "(cached) $ECHO_C" >&6 4343 4557 else … … 4353 4567 _ACEOF 4354 4568 rm -f conftest.$ac_objext 4355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4356 (eval $ac_compile) 2>conftest.er1 4569 if { (ac_try="$ac_compile" 4570 case "(($ac_try" in 4571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4572 *) ac_try_echo=$ac_try;; 4573 esac 4574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4575 (eval "$ac_compile") 2>conftest.er1 4357 4576 ac_status=$? 4358 4577 grep -v '^ *+' conftest.er1 >conftest.err … … 4360 4579 cat conftest.err >&5 4361 4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4362 (exit $ac_status); } && 4363 { ac_try='test -z "$ac_c_werror_flag" 4364 || test ! -s conftest.err' 4365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4366 (eval $ac_try) 2>&5 4367 ac_status=$? 4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4369 (exit $ac_status); }; } && 4370 { ac_try='test -s conftest.$ac_objext' 4371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4372 (eval $ac_try) 2>&5 4373 ac_status=$? 4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4375 (exit $ac_status); }; }; then 4581 (exit $ac_status); } && { 4582 test -z "$ac_c_werror_flag" || 4583 test ! -s conftest.err 4584 } && test -s conftest.$ac_objext; then 4376 4585 eval "$as_ac_Header=yes" 4377 4586 else … … 4379 4588 sed 's/^/| /' conftest.$ac_ext >&5 4380 4589 4381 eval "$as_ac_Header=no" 4382 fi 4383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4384 fi 4385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4590 eval "$as_ac_Header=no" 4591 fi 4592 4593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4594 fi 4595 ac_res=`eval echo '${'$as_ac_Header'}'` 4596 { echo "$as_me:$LINENO: result: $ac_res" >&5 4597 echo "${ECHO_T}$ac_res" >&6; } 4387 4598 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4388 4599 cat >>confdefs.h <<_ACEOF … … 4395 4606 4396 4607 4608 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4609 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 4610 if test "${ac_cv_c_bigendian+set}" = set; then 4611 echo $ECHO_N "(cached) $ECHO_C" >&6 4612 else 4613 # See if sys/param.h defines the BYTE_ORDER macro. 4614 cat >conftest.$ac_ext <<_ACEOF 4615 /* confdefs.h. */ 4616 _ACEOF 4617 cat confdefs.h >>conftest.$ac_ext 4618 cat >>conftest.$ac_ext <<_ACEOF 4619 /* end confdefs.h. */ 4620 #include <sys/types.h> 4621 #include <sys/param.h> 4622 4623 int 4624 main () 4625 { 4626 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4627 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4628 bogus endian macros 4629 #endif 4630 4631 ; 4632 return 0; 4633 } 4634 _ACEOF 4635 rm -f conftest.$ac_objext 4636 if { (ac_try="$ac_compile" 4637 case "(($ac_try" in 4638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4639 *) ac_try_echo=$ac_try;; 4640 esac 4641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4642 (eval "$ac_compile") 2>conftest.er1 4643 ac_status=$? 4644 grep -v '^ *+' conftest.er1 >conftest.err 4645 rm -f conftest.er1 4646 cat conftest.err >&5 4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4648 (exit $ac_status); } && { 4649 test -z "$ac_c_werror_flag" || 4650 test ! -s conftest.err 4651 } && test -s conftest.$ac_objext; then 4652 # It does; now see whether it defined to BIG_ENDIAN or not. 4653 cat >conftest.$ac_ext <<_ACEOF 4654 /* confdefs.h. */ 4655 _ACEOF 4656 cat confdefs.h >>conftest.$ac_ext 4657 cat >>conftest.$ac_ext <<_ACEOF 4658 /* end confdefs.h. */ 4659 #include <sys/types.h> 4660 #include <sys/param.h> 4661 4662 int 4663 main () 4664 { 4665 #if BYTE_ORDER != BIG_ENDIAN 4666 not big endian 4667 #endif 4668 4669 ; 4670 return 0; 4671 } 4672 _ACEOF 4673 rm -f conftest.$ac_objext 4674 if { (ac_try="$ac_compile" 4675 case "(($ac_try" in 4676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4677 *) ac_try_echo=$ac_try;; 4678 esac 4679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4680 (eval "$ac_compile") 2>conftest.er1 4681 ac_status=$? 4682 grep -v '^ *+' conftest.er1 >conftest.err 4683 rm -f conftest.er1 4684 cat conftest.err >&5 4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4686 (exit $ac_status); } && { 4687 test -z "$ac_c_werror_flag" || 4688 test ! -s conftest.err 4689 } && test -s conftest.$ac_objext; then 4690 ac_cv_c_bigendian=yes 4691 else 4692 echo "$as_me: failed program was:" >&5 4693 sed 's/^/| /' conftest.$ac_ext >&5 4694 4695 ac_cv_c_bigendian=no 4696 fi 4697 4698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4699 else 4700 echo "$as_me: failed program was:" >&5 4701 sed 's/^/| /' conftest.$ac_ext >&5 4702 4703 # It does not; compile a test program. 4704 if test "$cross_compiling" = yes; then 4705 # try to guess the endianness by grepping values into an object file 4706 ac_cv_c_bigendian=unknown 4707 cat >conftest.$ac_ext <<_ACEOF 4708 /* confdefs.h. */ 4709 _ACEOF 4710 cat confdefs.h >>conftest.$ac_ext 4711 cat >>conftest.$ac_ext <<_ACEOF 4712 /* end confdefs.h. */ 4713 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4714 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4715 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 4716 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4717 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4718 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 4719 int 4720 main () 4721 { 4722 _ascii (); _ebcdic (); 4723 ; 4724 return 0; 4725 } 4726 _ACEOF 4727 rm -f conftest.$ac_objext 4728 if { (ac_try="$ac_compile" 4729 case "(($ac_try" in 4730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4731 *) ac_try_echo=$ac_try;; 4732 esac 4733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4734 (eval "$ac_compile") 2>conftest.er1 4735 ac_status=$? 4736 grep -v '^ *+' conftest.er1 >conftest.err 4737 rm -f conftest.er1 4738 cat conftest.err >&5 4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4740 (exit $ac_status); } && { 4741 test -z "$ac_c_werror_flag" || 4742 test ! -s conftest.err 4743 } && test -s conftest.$ac_objext; then 4744 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 4745 ac_cv_c_bigendian=yes 4746 fi 4747 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4748 if test "$ac_cv_c_bigendian" = unknown; then 4749 ac_cv_c_bigendian=no 4750 else 4751 # finding both strings is unlikely to happen, but who knows? 4752 ac_cv_c_bigendian=unknown 4753 fi 4754 fi 4755 else 4756 echo "$as_me: failed program was:" >&5 4757 sed 's/^/| /' conftest.$ac_ext >&5 4758 4759 4760 fi 4761 4762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4763 else 4764 cat >conftest.$ac_ext <<_ACEOF 4765 /* confdefs.h. */ 4766 _ACEOF 4767 cat confdefs.h >>conftest.$ac_ext 4768 cat >>conftest.$ac_ext <<_ACEOF 4769 /* end confdefs.h. */ 4770 $ac_includes_default 4771 int 4772 main () 4773 { 4774 4775 /* Are we little or big endian? From Harbison&Steele. */ 4776 union 4777 { 4778 long int l; 4779 char c[sizeof (long int)]; 4780 } u; 4781 u.l = 1; 4782 return u.c[sizeof (long int) - 1] == 1; 4783 4784 ; 4785 return 0; 4786 } 4787 _ACEOF 4788 rm -f conftest$ac_exeext 4789 if { (ac_try="$ac_link" 4790 case "(($ac_try" in 4791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4792 *) ac_try_echo=$ac_try;; 4793 esac 4794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4795 (eval "$ac_link") 2>&5 4796 ac_status=$? 4797 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4798 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4799 { (case "(($ac_try" in 4800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4801 *) ac_try_echo=$ac_try;; 4802 esac 4803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4804 (eval "$ac_try") 2>&5 4805 ac_status=$? 4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4807 (exit $ac_status); }; }; then 4808 ac_cv_c_bigendian=no 4809 else 4810 echo "$as_me: program exited with status $ac_status" >&5 4811 echo "$as_me: failed program was:" >&5 4812 sed 's/^/| /' conftest.$ac_ext >&5 4813 4814 ( exit $ac_status ) 4815 ac_cv_c_bigendian=yes 4816 fi 4817 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4818 fi 4819 4820 4821 fi 4822 4823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4824 fi 4825 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4826 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4827 case $ac_cv_c_bigendian in 4828 yes) 4829 4830 cat >>confdefs.h <<\_ACEOF 4831 #define WORDS_BIGENDIAN 1 4832 _ACEOF 4833 ;; 4834 no) 4835 ;; 4836 *) 4837 { { echo "$as_me:$LINENO: error: unknown endianness 4838 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4839 echo "$as_me: error: unknown endianness 4840 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4841 { (exit 1); exit 1; }; } ;; 4842 esac 4843 4844 4845 case $target in 4846 *mingw* | *cygw* | *win32* | *w32* ) 4847 cat >>confdefs.h <<\_ACEOF 4848 #define PJ_WIN32 1 4849 _ACEOF 4850 4851 cat >>confdefs.h <<\_ACEOF 4852 #define PJ_WIN32_WINNT 0x0400 4853 _ACEOF 4854 4855 cat >>confdefs.h <<\_ACEOF 4856 #define WIN32_LEAN_AND_MEAN 1 4857 _ACEOF 4858 4859 ;; 4860 *darwin*) 4861 cat >>confdefs.h <<\_ACEOF 4862 #define PJ_DARWINOS 1 4863 _ACEOF 4864 4865 ;; 4866 *linux*) 4867 cat >>confdefs.h <<\_ACEOF 4868 #define PJ_LINUX 1 4869 _ACEOF 4870 4871 ;; 4872 *rtems*) 4873 cat >>confdefs.h <<\_ACEOF 4874 #define PJ_RTEMS 1 4875 _ACEOF 4876 4877 ;; 4878 *sunos* | *solaris* ) 4879 cat >>confdefs.h <<\_ACEOF 4880 #define PJ_SUNOS 1 4881 _ACEOF 4882 4883 ;; 4884 *) 4885 ;; 4886 esac 4887 4888 4889 4890 4891 # Check whether --enable-floating-point was given. 4892 if test "${enable_floating_point+set}" = set; then 4893 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 4894 cat >>confdefs.h <<\_ACEOF 4895 #define PJ_HAS_FLOATING_POINT 0 4896 _ACEOF 4897 4898 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 4899 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 4900 fi 4901 else 4902 4903 cat >>confdefs.h <<\_ACEOF 4904 #define PJ_HAS_FLOATING_POINT 1 4905 _ACEOF 4906 4907 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 4908 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 4909 4910 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 4911 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 4912 if test "${ac_cv_lib_m_fmod+set}" = set; then 4913 echo $ECHO_N "(cached) $ECHO_C" >&6 4914 else 4915 ac_check_lib_save_LIBS=$LIBS 4916 LIBS="-lm $LIBS" 4917 cat >conftest.$ac_ext <<_ACEOF 4918 /* confdefs.h. */ 4919 _ACEOF 4920 cat confdefs.h >>conftest.$ac_ext 4921 cat >>conftest.$ac_ext <<_ACEOF 4922 /* end confdefs.h. */ 4923 4924 /* Override any GCC internal prototype to avoid an error. 4925 Use char because int might match the return type of a GCC 4926 builtin and then its argument prototype would still apply. */ 4927 #ifdef __cplusplus 4928 extern "C" 4929 #endif 4930 char fmod (); 4931 int 4932 main () 4933 { 4934 return fmod (); 4935 ; 4936 return 0; 4937 } 4938 _ACEOF 4939 rm -f conftest.$ac_objext conftest$ac_exeext 4940 if { (ac_try="$ac_link" 4941 case "(($ac_try" in 4942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4943 *) ac_try_echo=$ac_try;; 4944 esac 4945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4946 (eval "$ac_link") 2>conftest.er1 4947 ac_status=$? 4948 grep -v '^ *+' conftest.er1 >conftest.err 4949 rm -f conftest.er1 4950 cat conftest.err >&5 4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4952 (exit $ac_status); } && { 4953 test -z "$ac_c_werror_flag" || 4954 test ! -s conftest.err 4955 } && test -s conftest$ac_exeext && 4956 $as_test_x conftest$ac_exeext; then 4957 ac_cv_lib_m_fmod=yes 4958 else 4959 echo "$as_me: failed program was:" >&5 4960 sed 's/^/| /' conftest.$ac_ext >&5 4961 4962 ac_cv_lib_m_fmod=no 4963 fi 4964 4965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4966 conftest$ac_exeext conftest.$ac_ext 4967 LIBS=$ac_check_lib_save_LIBS 4968 fi 4969 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 4970 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 4971 if test $ac_cv_lib_m_fmod = yes; then 4972 cat >>confdefs.h <<_ACEOF 4973 #define HAVE_LIBM 1 4974 _ACEOF 4975 4976 LIBS="-lm $LIBS" 4977 4978 fi 4979 4980 4981 fi 4982 4983 4984 4397 4985 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4398 echo "$as_me:$LINENO: checking for arpa/inet.h" >&54399 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 4986 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 4987 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 4400 4988 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4401 4989 echo $ECHO_N "(cached) $ECHO_C" >&6 4402 4990 fi 4403 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&54404 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 4991 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 4992 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 4405 4993 else 4406 4994 # Is the header compilable? 4407 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&54408 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 4995 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 4996 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 4409 4997 cat >conftest.$ac_ext <<_ACEOF 4410 4998 /* confdefs.h. */ … … 4417 5005 _ACEOF 4418 5006 rm -f conftest.$ac_objext 4419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4420 (eval $ac_compile) 2>conftest.er1 5007 if { (ac_try="$ac_compile" 5008 case "(($ac_try" in 5009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5010 *) ac_try_echo=$ac_try;; 5011 esac 5012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5013 (eval "$ac_compile") 2>conftest.er1 4421 5014 ac_status=$? 4422 5015 grep -v '^ *+' conftest.er1 >conftest.err … … 4424 5017 cat conftest.err >&5 4425 5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4426 (exit $ac_status); } && 4427 { ac_try='test -z "$ac_c_werror_flag" 4428 || test ! -s conftest.err' 4429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4430 (eval $ac_try) 2>&5 4431 ac_status=$? 4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4433 (exit $ac_status); }; } && 4434 { ac_try='test -s conftest.$ac_objext' 4435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4436 (eval $ac_try) 2>&5 4437 ac_status=$? 4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4439 (exit $ac_status); }; }; then 5019 (exit $ac_status); } && { 5020 test -z "$ac_c_werror_flag" || 5021 test ! -s conftest.err 5022 } && test -s conftest.$ac_objext; then 4440 5023 ac_header_compiler=yes 4441 5024 else … … 4443 5026 sed 's/^/| /' conftest.$ac_ext >&5 4444 5027 4445 ac_header_compiler=no 4446 fi 4447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4449 echo "${ECHO_T}$ac_header_compiler" >&6 5028 ac_header_compiler=no 5029 fi 5030 5031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5032 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5033 echo "${ECHO_T}$ac_header_compiler" >&6; } 4450 5034 4451 5035 # Is the header present? 4452 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&54453 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 5036 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 5037 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 4454 5038 cat >conftest.$ac_ext <<_ACEOF 4455 5039 /* confdefs.h. */ … … 4460 5044 #include <arpa/inet.h> 4461 5045 _ACEOF 4462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5046 if { (ac_try="$ac_cpp conftest.$ac_ext" 5047 case "(($ac_try" in 5048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5049 *) ac_try_echo=$ac_try;; 5050 esac 5051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5052 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4464 5053 ac_status=$? 4465 5054 grep -v '^ *+' conftest.er1 >conftest.err … … 4467 5056 cat conftest.err >&5 4468 5057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4469 (exit $ac_status); } >/dev/null; then 4470 if test -s conftest.err; then 4471 ac_cpp_err=$ac_c_preproc_warn_flag 4472 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4473 else 4474 ac_cpp_err= 4475 fi 4476 else 4477 ac_cpp_err=yes 4478 fi 4479 if test -z "$ac_cpp_err"; then 5058 (exit $ac_status); } >/dev/null && { 5059 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5060 test ! -s conftest.err 5061 }; then 4480 5062 ac_header_preproc=yes 4481 5063 else … … 4485 5067 ac_header_preproc=no 4486 5068 fi 5069 4487 5070 rm -f conftest.err conftest.$ac_ext 4488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54489 echo "${ECHO_T}$ac_header_preproc" >&6 5071 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5072 echo "${ECHO_T}$ac_header_preproc" >&6; } 4490 5073 4491 5074 # So? What about this header? … … 4511 5094 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 4512 5095 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 4513 ( 4514 cat <<\_ASBOX 4515 ## ------------------------------------ ## 4516 ## Report this to the pjproject lists. ## 4517 ## ------------------------------------ ## 4518 _ASBOX 4519 ) | 4520 sed "s/^/$as_me: WARNING: /" >&2 5096 4521 5097 ;; 4522 5098 esac 4523 echo "$as_me:$LINENO: checking for arpa/inet.h" >&54524 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 5099 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5100 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 4525 5101 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4526 5102 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4528 5104 ac_cv_header_arpa_inet_h=$ac_header_preproc 4529 5105 fi 4530 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&54531 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 5106 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5107 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 4532 5108 4533 5109 fi … … 4541 5117 4542 5118 if test "${ac_cv_header_assert_h+set}" = set; then 4543 echo "$as_me:$LINENO: checking for assert.h" >&54544 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 5119 { echo "$as_me:$LINENO: checking for assert.h" >&5 5120 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 4545 5121 if test "${ac_cv_header_assert_h+set}" = set; then 4546 5122 echo $ECHO_N "(cached) $ECHO_C" >&6 4547 5123 fi 4548 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&54549 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 5124 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5125 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 4550 5126 else 4551 5127 # Is the header compilable? 4552 echo "$as_me:$LINENO: checking assert.h usability" >&54553 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6 5128 { echo "$as_me:$LINENO: checking assert.h usability" >&5 5129 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 4554 5130 cat >conftest.$ac_ext <<_ACEOF 4555 5131 /* confdefs.h. */ … … 4562 5138 _ACEOF 4563 5139 rm -f conftest.$ac_objext 4564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4565 (eval $ac_compile) 2>conftest.er1 5140 if { (ac_try="$ac_compile" 5141 case "(($ac_try" in 5142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5143 *) ac_try_echo=$ac_try;; 5144 esac 5145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5146 (eval "$ac_compile") 2>conftest.er1 4566 5147 ac_status=$? 4567 5148 grep -v '^ *+' conftest.er1 >conftest.err … … 4569 5150 cat conftest.err >&5 4570 5151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4571 (exit $ac_status); } && 4572 { ac_try='test -z "$ac_c_werror_flag" 4573 || test ! -s conftest.err' 4574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4575 (eval $ac_try) 2>&5 4576 ac_status=$? 4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4578 (exit $ac_status); }; } && 4579 { ac_try='test -s conftest.$ac_objext' 4580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4581 (eval $ac_try) 2>&5 4582 ac_status=$? 4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4584 (exit $ac_status); }; }; then 5152 (exit $ac_status); } && { 5153 test -z "$ac_c_werror_flag" || 5154 test ! -s conftest.err 5155 } && test -s conftest.$ac_objext; then 4585 5156 ac_header_compiler=yes 4586 5157 else … … 4588 5159 sed 's/^/| /' conftest.$ac_ext >&5 4589 5160 4590 ac_header_compiler=no 4591 fi 4592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4594 echo "${ECHO_T}$ac_header_compiler" >&6 5161 ac_header_compiler=no 5162 fi 5163 5164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5165 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5166 echo "${ECHO_T}$ac_header_compiler" >&6; } 4595 5167 4596 5168 # Is the header present? 4597 echo "$as_me:$LINENO: checking assert.h presence" >&54598 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6 5169 { echo "$as_me:$LINENO: checking assert.h presence" >&5 5170 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 4599 5171 cat >conftest.$ac_ext <<_ACEOF 4600 5172 /* confdefs.h. */ … … 4605 5177 #include <assert.h> 4606 5178 _ACEOF 4607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5179 if { (ac_try="$ac_cpp conftest.$ac_ext" 5180 case "(($ac_try" in 5181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5182 *) ac_try_echo=$ac_try;; 5183 esac 5184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5185 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4609 5186 ac_status=$? 4610 5187 grep -v '^ *+' conftest.er1 >conftest.err … … 4612 5189 cat conftest.err >&5 4613 5190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4614 (exit $ac_status); } >/dev/null; then 4615 if test -s conftest.err; then 4616 ac_cpp_err=$ac_c_preproc_warn_flag 4617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4618 else 4619 ac_cpp_err= 4620 fi 4621 else 4622 ac_cpp_err=yes 4623 fi 4624 if test -z "$ac_cpp_err"; then 5191 (exit $ac_status); } >/dev/null && { 5192 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5193 test ! -s conftest.err 5194 }; then 4625 5195 ac_header_preproc=yes 4626 5196 else … … 4630 5200 ac_header_preproc=no 4631 5201 fi 5202 4632 5203 rm -f conftest.err conftest.$ac_ext 4633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54634 echo "${ECHO_T}$ac_header_preproc" >&6 5204 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5205 echo "${ECHO_T}$ac_header_preproc" >&6; } 4635 5206 4636 5207 # So? What about this header? … … 4656 5227 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 4657 5228 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 4658 ( 4659 cat <<\_ASBOX 4660 ## ------------------------------------ ## 4661 ## Report this to the pjproject lists. ## 4662 ## ------------------------------------ ## 4663 _ASBOX 4664 ) | 4665 sed "s/^/$as_me: WARNING: /" >&2 5229 4666 5230 ;; 4667 5231 esac 4668 echo "$as_me:$LINENO: checking for assert.h" >&54669 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 5232 { echo "$as_me:$LINENO: checking for assert.h" >&5 5233 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 4670 5234 if test "${ac_cv_header_assert_h+set}" = set; then 4671 5235 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4673 5237 ac_cv_header_assert_h=$ac_header_preproc 4674 5238 fi 4675 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&54676 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 5239 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5240 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 4677 5241 4678 5242 fi … … 4686 5250 4687 5251 if test "${ac_cv_header_ctype_h+set}" = set; then 4688 echo "$as_me:$LINENO: checking for ctype.h" >&54689 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 5252 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5253 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 4690 5254 if test "${ac_cv_header_ctype_h+set}" = set; then 4691 5255 echo $ECHO_N "(cached) $ECHO_C" >&6 4692 5256 fi 4693 echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&54694 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 5257 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5258 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 4695 5259 else 4696 5260 # Is the header compilable? 4697 echo "$as_me:$LINENO: checking ctype.h usability" >&54698 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6 5261 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 5262 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 4699 5263 cat >conftest.$ac_ext <<_ACEOF 4700 5264 /* confdefs.h. */ … … 4707 5271 _ACEOF 4708 5272 rm -f conftest.$ac_objext 4709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4710 (eval $ac_compile) 2>conftest.er1 5273 if { (ac_try="$ac_compile" 5274 case "(($ac_try" in 5275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5276 *) ac_try_echo=$ac_try;; 5277 esac 5278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5279 (eval "$ac_compile") 2>conftest.er1 4711 5280 ac_status=$? 4712 5281 grep -v '^ *+' conftest.er1 >conftest.err … … 4714 5283 cat conftest.err >&5 4715 5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4716 (exit $ac_status); } && 4717 { ac_try='test -z "$ac_c_werror_flag" 4718 || test ! -s conftest.err' 4719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4720 (eval $ac_try) 2>&5