Changeset 2300
- Timestamp:
- Sep 19, 2008 10:18:50 PM (16 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r2295 r2300 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_speex_codec 692 ac_no_ilbc_codec 693 ac_no_ssl 694 openssl_h_present 695 libssl_present 696 libcrypto_present 697 ac_cross_compile 698 ac_linux_poll 699 ac_host 700 ac_main_obj 701 LIBOBJS 702 LTLIBOBJS' 312 703 ac_subst_files='' 704 ac_precious_vars='build_alias 705 host_alias 706 target_alias 707 CC 708 CFLAGS 709 LDFLAGS 710 LIBS 711 CPPFLAGS 712 CXX 713 CXXFLAGS 714 CCC 715 CPP' 716 313 717 314 718 # Initialize some variables set by options. … … 337 741 # by default will actually change. 338 742 # Use braces instead of parens because sh, perl, etc. also accept them. 743 # (The list follows the same order as the GNU Coding Standards.) 339 744 bindir='${exec_prefix}/bin' 340 745 sbindir='${exec_prefix}/sbin' 341 746 libexecdir='${exec_prefix}/libexec' 342 datadir='${prefix}/share' 747 datarootdir='${prefix}/share' 748 datadir='${datarootdir}' 343 749 sysconfdir='${prefix}/etc' 344 750 sharedstatedir='${prefix}/com' 345 751 localstatedir='${prefix}/var' 346 libdir='${exec_prefix}/lib'347 752 includedir='${prefix}/include' 348 753 oldincludedir='/usr/include' 349 infodir='${prefix}/info' 350 mandir='${prefix}/man' 754 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 755 infodir='${datarootdir}/info' 756 htmldir='${docdir}' 757 dvidir='${docdir}' 758 pdfdir='${docdir}' 759 psdir='${docdir}' 760 libdir='${exec_prefix}/lib' 761 localedir='${datarootdir}/locale' 762 mandir='${datarootdir}/man' 351 763 352 764 ac_prev= 765 ac_dashdash= 353 766 for ac_option 354 767 do 355 768 # If the previous option needs an argument, assign it. 356 769 if test -n "$ac_prev"; then 357 eval "$ac_prev=\$ac_option"770 eval $ac_prev=\$ac_option 358 771 ac_prev= 359 772 continue 360 773 fi 361 774 362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 775 case $ac_option in 776 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 777 *) ac_optarg=yes ;; 778 esac 363 779 364 780 # Accept the important Cygnus configure options, so we can diagnose typos. 365 781 366 case $ac_option in 782 case $ac_dashdash$ac_option in 783 --) 784 ac_dashdash=yes ;; 367 785 368 786 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 386 804 cache_file=config.cache ;; 387 805 388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)806 -datadir | --datadir | --datadi | --datad) 389 807 ac_prev=datadir ;; 390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 391 | --da=*) 808 -datadir=* | --datadir=* | --datadi=* | --datad=*) 392 809 datadir=$ac_optarg ;; 810 811 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 812 | --dataroo | --dataro | --datar) 813 ac_prev=datarootdir ;; 814 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 815 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 816 datarootdir=$ac_optarg ;; 393 817 394 818 -disable-* | --disable-*) 395 819 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 396 820 # Reject names that are not valid shell variable names. 397 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&821 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 398 822 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 399 823 { (exit 1); exit 1; }; } 400 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 401 eval "enable_$ac_feature=no" ;; 824 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 825 eval enable_$ac_feature=no ;; 826 827 -docdir | --docdir | --docdi | --doc | --do) 828 ac_prev=docdir ;; 829 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 830 docdir=$ac_optarg ;; 831 832 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 833 ac_prev=dvidir ;; 834 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 835 dvidir=$ac_optarg ;; 402 836 403 837 -enable-* | --enable-*) 404 838 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 405 839 # Reject names that are not valid shell variable names. 406 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&840 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 407 841 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 408 842 { (exit 1); exit 1; }; } 409 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 410 case $ac_option in 411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 412 *) ac_optarg=yes ;; 413 esac 414 eval "enable_$ac_feature='$ac_optarg'" ;; 843 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 844 eval enable_$ac_feature=\$ac_optarg ;; 415 845 416 846 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 439 869 host_alias=$ac_optarg ;; 440 870 871 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 872 ac_prev=htmldir ;; 873 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 874 | --ht=*) 875 htmldir=$ac_optarg ;; 876 441 877 -includedir | --includedir | --includedi | --included | --include \ 442 878 | --includ | --inclu | --incl | --inc) … … 463 899 libexecdir=$ac_optarg ;; 464 900 901 -localedir | --localedir | --localedi | --localed | --locale) 902 ac_prev=localedir ;; 903 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 904 localedir=$ac_optarg ;; 905 465 906 -localstatedir | --localstatedir | --localstatedi | --localstated \ 466 | --localstate | --localstat | --localsta | --localst \ 467 | --locals | --local | --loca | --loc | --lo) 907 | --localstate | --localstat | --localsta | --localst | --locals) 468 908 ac_prev=localstatedir ;; 469 909 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 910 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 472 911 localstatedir=$ac_optarg ;; 473 912 … … 534 973 program_transform_name=$ac_optarg ;; 535 974 975 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 976 ac_prev=pdfdir ;; 977 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 978 pdfdir=$ac_optarg ;; 979 980 -psdir | --psdir | --psdi | --psd | --ps) 981 ac_prev=psdir ;; 982 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 983 psdir=$ac_optarg ;; 984 536 985 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 537 986 | -silent | --silent | --silen | --sile | --sil) … … 586 1035 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 587 1036 # Reject names that are not valid shell variable names. 588 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1037 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 589 1038 { echo "$as_me: error: invalid package name: $ac_package" >&2 590 1039 { (exit 1); exit 1; }; } 591 ac_package=`echo $ac_package| sed 's/-/_/g'` 592 case $ac_option in 593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 594 *) ac_optarg=yes ;; 595 esac 596 eval "with_$ac_package='$ac_optarg'" ;; 1040 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1041 eval with_$ac_package=\$ac_optarg ;; 597 1042 598 1043 -without-* | --without-*) 599 1044 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 600 1045 # Reject names that are not valid shell variable names. 601 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1046 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 602 1047 { echo "$as_me: error: invalid package name: $ac_package" >&2 603 1048 { (exit 1); exit 1; }; } 604 ac_package=`echo $ac_package | sed 's/ -/_/g'`605 eval "with_$ac_package=no";;1049 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1050 eval with_$ac_package=no ;; 606 1051 607 1052 --x) … … 634 1079 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 635 1080 { (exit 1); exit 1; }; } 636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 637 eval "$ac_envvar='$ac_optarg'" 1081 eval $ac_envvar=\$ac_optarg 638 1082 export $ac_envvar ;; 639 1083 … … 655 1099 fi 656 1100 657 # Be sure to have absolute paths. 658 for ac_var in exec_prefix prefix 1101 # Be sure to have absolute directory names. 1102 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1103 datadir sysconfdir sharedstatedir localstatedir includedir \ 1104 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1105 libdir localedir mandir 659 1106 do 660 eval ac_val= $`echo $ac_var`1107 eval ac_val=\$$ac_var 661 1108 case $ac_val in 662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 664 { (exit 1); exit 1; }; };; 1109 [\\/$]* | ?:[\\/]* ) continue;; 1110 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 665 1111 esac 666 done 667 668 # Be sure to have absolute paths. 669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 670 localstatedir libdir includedir oldincludedir infodir mandir 671 do 672 eval ac_val=$`echo $ac_var` 673 case $ac_val in 674 [\\/$]* | ?:[\\/]* ) ;; 675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 676 { (exit 1); exit 1; }; };; 677 esac 1112 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1113 { (exit 1); exit 1; }; } 678 1114 done 679 1115 … … 702 1138 703 1139 1140 ac_pwd=`pwd` && test -n "$ac_pwd" && 1141 ac_ls_di=`ls -di .` && 1142 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1143 { echo "$as_me: error: Working directory cannot be determined" >&2 1144 { (exit 1); exit 1; }; } 1145 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1146 { echo "$as_me: error: pwd does not report name of working directory" >&2 1147 { (exit 1); exit 1; }; } 1148 1149 704 1150 # Find the source files, if location was not specified. 705 1151 if test -z "$srcdir"; then 706 1152 ac_srcdir_defaulted=yes 707 # Try the directory containing this script, then its parent.708 ac_confdir=` (dirname "$0") 2>/dev/null||1153 # Try the directory containing this script, then the parent directory. 1154 ac_confdir=`$as_dirname -- "$0" || 709 1155 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 710 1156 X"$0" : 'X\(//\)[^/]' \| \ 711 1157 X"$0" : 'X\(//\)$' \| \ 712 X"$0" : 'X\(/\)' \| \ 713 . : '\(.\)' 2>/dev/null || 1158 X"$0" : 'X\(/\)' \| . 2>/dev/null || 714 1159 echo X"$0" | 715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 716 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 717 /^X\(\/\/\)$/{ s//\1/; q; } 718 /^X\(\/\).*/{ s//\1/; q; } 719 s/.*/./; q'` 1160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1161 s//\1/ 1162 q 1163 } 1164 /^X\(\/\/\)[^/].*/{ 1165 s//\1/ 1166 q 1167 } 1168 /^X\(\/\/\)$/{ 1169 s//\1/ 1170 q 1171 } 1172 /^X\(\/\).*/{ 1173 s//\1/ 1174 q 1175 } 1176 s/.*/./; q'` 720 1177 srcdir=$ac_confdir 721 if test ! -r $srcdir/$ac_unique_file; then1178 if test ! -r "$srcdir/$ac_unique_file"; then 722 1179 srcdir=.. 723 1180 fi … … 725 1182 ac_srcdir_defaulted=no 726 1183 fi 727 if test ! -r $srcdir/$ac_unique_file; then728 if test "$ac_srcdir_defaulted" = yes; then729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21184 if test ! -r "$srcdir/$ac_unique_file"; then 1185 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1186 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 730 1187 { (exit 1); exit 1; }; } 731 else 732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1188 fi 1189 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1190 ac_abs_confdir=`( 1191 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 733 1192 { (exit 1); exit 1; }; } 734 fi 735 fi 736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 738 { (exit 1); exit 1; }; } 739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 740 ac_env_build_alias_set=${build_alias+set} 741 ac_env_build_alias_value=$build_alias 742 ac_cv_env_build_alias_set=${build_alias+set} 743 ac_cv_env_build_alias_value=$build_alias 744 ac_env_host_alias_set=${host_alias+set} 745 ac_env_host_alias_value=$host_alias 746 ac_cv_env_host_alias_set=${host_alias+set} 747 ac_cv_env_host_alias_value=$host_alias 748 ac_env_target_alias_set=${target_alias+set} 749 ac_env_target_alias_value=$target_alias 750 ac_cv_env_target_alias_set=${target_alias+set} 751 ac_cv_env_target_alias_value=$target_alias 752 ac_env_CC_set=${CC+set} 753 ac_env_CC_value=$CC 754 ac_cv_env_CC_set=${CC+set} 755 ac_cv_env_CC_value=$CC 756 ac_env_CFLAGS_set=${CFLAGS+set} 757 ac_env_CFLAGS_value=$CFLAGS 758 ac_cv_env_CFLAGS_set=${CFLAGS+set} 759 ac_cv_env_CFLAGS_value=$CFLAGS 760 ac_env_LDFLAGS_set=${LDFLAGS+set} 761 ac_env_LDFLAGS_value=$LDFLAGS 762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 763 ac_cv_env_LDFLAGS_value=$LDFLAGS 764 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 765 ac_env_CPPFLAGS_value=$CPPFLAGS 766 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 767 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 768 ac_env_CXX_set=${CXX+set} 769 ac_env_CXX_value=$CXX 770 ac_cv_env_CXX_set=${CXX+set} 771 ac_cv_env_CXX_value=$CXX 772 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 773 ac_env_CXXFLAGS_value=$CXXFLAGS 774 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 775 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 776 ac_env_CPP_set=${CPP+set} 777 ac_env_CPP_value=$CPP 778 ac_cv_env_CPP_set=${CPP+set} 779 ac_cv_env_CPP_value=$CPP 1193 pwd)` 1194 # When building in place, set srcdir=. 1195 if test "$ac_abs_confdir" = "$ac_pwd"; then 1196 srcdir=. 1197 fi 1198 # Remove unnecessary trailing slashes from srcdir. 1199 # Double slashes in file names in object file debugging info 1200 # mess up M-x gdb in Emacs. 1201 case $srcdir in 1202 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1203 esac 1204 for ac_var in $ac_precious_vars; do 1205 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1206 eval ac_env_${ac_var}_value=\$${ac_var} 1207 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1208 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1209 done 780 1210 781 1211 # … … 806 1236 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 807 1237 808 _ACEOF809 810 cat <<_ACEOF811 1238 Installation directories: 812 1239 --prefix=PREFIX install architecture-independent files in PREFIX … … 826 1253 --sbindir=DIR system admin executables [EPREFIX/sbin] 827 1254 --libexecdir=DIR program executables [EPREFIX/libexec] 828 --datadir=DIR read-only architecture-independent data [PREFIX/share]829 1255 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 830 1256 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 833 1259 --includedir=DIR C header files [PREFIX/include] 834 1260 --oldincludedir=DIR C header files for non-gcc [/usr/include] 835 --infodir=DIR info documentation [PREFIX/info] 836 --mandir=DIR man documentation [PREFIX/man] 1261 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1262 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1263 --infodir=DIR info documentation [DATAROOTDIR/info] 1264 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1265 --mandir=DIR man documentation [DATAROOTDIR/man] 1266 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] 1267 --htmldir=DIR html documentation [DOCDIR] 1268 --dvidir=DIR dvi documentation [DOCDIR] 1269 --pdfdir=DIR pdf documentation [DOCDIR] 1270 --psdir=DIR ps documentation [DOCDIR] 837 1271 _ACEOF 838 1272 … … 857 1291 --disable-floating-point 858 1292 Disable floating point where possible 859 --enable-epoll Use /dev/epoll ioqueue on Linux ( beta)1293 --enable-epoll Use /dev/epoll ioqueue on Linux (experimental) 860 1294 --disable-sound Exclude sound (i.e. use null sound) 861 1295 --disable-oss Disable OSS audio (default: not disabled) … … 887 1321 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 888 1322 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> 1323 LIBS libraries to pass to the linker, e.g. -l<library> 1324 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1325 you have headers in a nonstandard directory <include dir> 891 1326 CXX C++ compiler command 892 1327 CXXFLAGS C++ compiler flags … … 897 1332 898 1333 _ACEOF 1334 ac_status=$? 899 1335 fi 900 1336 901 1337 if test "$ac_init_help" = "recursive"; then 902 1338 # If there are subdirs, report their specific --help. 903 ac_popdir=`pwd`904 1339 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 905 test -d $ac_dir|| continue1340 test -d "$ac_dir" || continue 906 1341 ac_builddir=. 907 1342 908 if test "$ac_dir" != .; then 1343 case "$ac_dir" in 1344 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1345 *) 909 1346 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 1347 # A ".." for each directory in $ac_dir_suffix. 1348 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1349 case $ac_top_builddir_sub in 1350 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1351 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1352 esac ;; 1353 esac 1354 ac_abs_top_builddir=$ac_pwd 1355 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1356 # for backward compatibility: 1357 ac_top_builddir=$ac_top_build_prefix 915 1358 916 1359 case $srcdir in 917 .) # No --srcdir option.We are building in place.1360 .) # We are building in place. 918 1361 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. 1362 ac_top_srcdir=$ac_top_builddir_sub 1363 ac_abs_top_srcdir=$ac_pwd ;; 1364 [\\/]* | ?:[\\/]* ) # Absolute name. 925 1365 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 1366 ac_top_srcdir=$srcdir 1367 ac_abs_top_srcdir=$srcdir ;; 1368 *) # Relative name. 1369 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1370 ac_top_srcdir=$ac_top_build_prefix$srcdir 1371 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1372 esac 1373 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1374 1375 cd "$ac_dir" || { ac_status=$?; continue; } 1376 # Check for guested configure. 1377 if test -f "$ac_srcdir/configure.gnu"; then 1378 echo && 1379 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1380 elif test -f "$ac_srcdir/configure"; then 1381 echo && 1382 $SHELL "$ac_srcdir/configure" --help=recursive 983 1383 else 984 1384 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 985 fi 986 cd $ac_popdir1385 fi || ac_status=$? 1386 cd "$ac_pwd" || { ac_status=$?; break; } 987 1387 done 988 1388 fi 989 1389 990 test -n "$ac_init_help" && exit 01390 test -n "$ac_init_help" && exit $ac_status 991 1391 if $ac_init_version; then 992 1392 cat <<\_ACEOF 993 1393 pjproject configure 1.0 994 generated by GNU Autoconf 2.59 995 996 Copyright (C) 2003 Free Software Foundation, Inc. 1394 generated by GNU Autoconf 2.61 1395 1396 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1397 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 997 1398 This configure script is free software; the Free Software Foundation 998 1399 gives unlimited permission to copy, distribute and modify it. 999 1400 _ACEOF 1000 exit 0 1001 fi 1002 exec 5>config.log 1003 cat >&5 <<_ACEOF 1401 exit 1402 fi 1403 cat >config.log <<_ACEOF 1004 1404 This file contains any messages produced by compilers while 1005 1405 running configure, to aid debugging if configure makes a mistake. 1006 1406 1007 1407 It was created by pjproject $as_me 1.0, which was 1008 generated by GNU Autoconf 2. 59. Invocation command line was1408 generated by GNU Autoconf 2.61. Invocation command line was 1009 1409 1010 1410 $ $0 $@ 1011 1411 1012 1412 _ACEOF 1413 exec 5>>config.log 1013 1414 { 1014 1415 cat <<_ASUNAME … … 1029 1430 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1030 1431 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1031 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1432 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1032 1433 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1033 1434 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1043 1444 echo "PATH: $as_dir" 1044 1445 done 1446 IFS=$as_save_IFS 1045 1447 1046 1448 } >&5 … … 1064 1466 ac_configure_args0= 1065 1467 ac_configure_args1= 1066 ac_sep=1067 1468 ac_must_keep_next=false 1068 1469 for ac_pass in 1 2 … … 1075 1476 | -silent | --silent | --silen | --sile | --sil) 1076 1477 continue ;; 1077 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1478 *\'*) 1078 1479 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1079 1480 esac … … 1097 1498 esac 1098 1499 fi 1099 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1100 # Get rid of the leading space. 1101 ac_sep=" " 1500 ac_configure_args="$ac_configure_args '$ac_arg'" 1102 1501 ;; 1103 1502 esac … … 1110 1509 # config.log. We remove comments because anyway the quotes in there 1111 1510 # 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.1511 # WARNING: Use '\'' to represent an apostrophe within the trap. 1512 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1114 1513 trap 'exit_status=$? 1115 1514 # Save into config.log some information that might help in debugging. … … 1124 1523 echo 1125 1524 # The following way of writing the cache mishandles newlines in values, 1126 { 1525 ( 1526 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1527 eval ac_val=\$$ac_var 1528 case $ac_val in #( 1529 *${as_nl}*) 1530 case $ac_var in #( 1531 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1532 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1533 esac 1534 case $ac_var in #( 1535 _ | IFS | as_nl) ;; #( 1536 *) $as_unset $ac_var ;; 1537 esac ;; 1538 esac 1539 done 1127 1540 (set) 2>&1 | 1128 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1129 * ac_space=\ *)1541 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1542 *${as_nl}ac_space=\ *) 1130 1543 sed -n \ 1131 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1544 "s/'\''/'\''\\\\'\'''\''/g; 1545 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1546 ;; #( 1547 *) 1548 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1133 1549 ;; 1134 *) 1135 sed -n \ 1136 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1137 ;; 1138 esac; 1139 } 1550 esac | 1551 sort 1552 ) 1140 1553 echo 1141 1554 … … 1148 1561 for ac_var in $ac_subst_vars 1149 1562 do 1150 eval ac_val=$`echo $ac_var` 1151 echo "$ac_var='"'"'$ac_val'"'"'" 1563 eval ac_val=\$$ac_var 1564 case $ac_val in 1565 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1566 esac 1567 echo "$ac_var='\''$ac_val'\''" 1152 1568 done | sort 1153 1569 echo … … 1155 1571 if test -n "$ac_subst_files"; then 1156 1572 cat <<\_ASBOX 1157 ## ------------- ##1158 ## Output files. ##1159 ## ------------- ##1573 ## ------------------- ## 1574 ## File substitutions. ## 1575 ## ------------------- ## 1160 1576 _ASBOX 1161 1577 echo 1162 1578 for ac_var in $ac_subst_files 1163 1579 do 1164 eval ac_val=$`echo $ac_var` 1165 echo "$ac_var='"'"'$ac_val'"'"'" 1580 eval ac_val=\$$ac_var 1581 case $ac_val in 1582 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1583 esac 1584 echo "$ac_var='\''$ac_val'\''" 1166 1585 done | sort 1167 1586 echo … … 1175 1594 _ASBOX 1176 1595 echo 1177 sed "/^$/d" confdefs.h | sort1596 cat confdefs.h 1178 1597 echo 1179 1598 fi … … 1182 1601 echo "$as_me: exit $exit_status" 1183 1602 } >&5 1184 rm -f core *.core &&1185 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1603 rm -f core *.core core.conftest.* && 1604 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1186 1605 exit $exit_status 1187 1606 ' 0 1188 1607 for ac_signal in 1 2 13 15; do 1189 1608 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1192 1611 1193 1612 # 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 1613 rm -f -r conftest* confdefs.h 1197 1614 1198 1615 # Predefined preprocessor variables. … … 1225 1642 # Let the site file select an alternate cache file if it wants to. 1226 1643 # 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 1644 if test -n "$CONFIG_SITE"; then 1645 set x "$CONFIG_SITE" 1646 elif test "x$prefix" != xNONE; then 1647 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1648 else 1649 set x "$ac_default_prefix/share/config.site" \ 1650 "$ac_default_prefix/etc/config.site" 1651 fi 1652 shift 1653 for ac_site_file 1654 do 1235 1655 if test -r "$ac_site_file"; then 1236 1656 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1248 1668 echo "$as_me: loading cache $cache_file" >&6;} 1249 1669 case $cache_file in 1250 [\\/]* | ?:[\\/]* ) . $cache_file;;1251 *) . ./$cache_file;;1670 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1671 *) . "./$cache_file";; 1252 1672 esac 1253 1673 fi … … 1261 1681 # value. 1262 1682 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 1683 for ac_var in $ac_precious_vars; do 1265 1684 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1266 1685 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"1686 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1687 eval ac_new_val=\$ac_env_${ac_var}_value 1269 1688 case $ac_old_set,$ac_new_set in 1270 1689 set,) … … 1291 1710 if test "$ac_new_set" = set; then 1292 1711 case $ac_new_val in 1293 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1294 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1712 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1295 1713 *) ac_arg=$ac_var=$ac_new_val ;; 1296 1714 esac … … 1309 1727 fi 1310 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1311 1753 ac_ext=c 1312 1754 ac_cpp='$CPP $CPPFLAGS' … … 1317 1759 1318 1760 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 1761 host_orig="$host" 1345 1762 1346 1763 ac_aux_dir= 1347 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do1348 if test -f $ac_dir/install-sh; then1764 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1765 if test -f "$ac_dir/install-sh"; then 1349 1766 ac_aux_dir=$ac_dir 1350 1767 ac_install_sh="$ac_aux_dir/install-sh -c" 1351 1768 break 1352 elif test -f $ac_dir/install.sh; then1769 elif test -f "$ac_dir/install.sh"; then 1353 1770 ac_aux_dir=$ac_dir 1354 1771 ac_install_sh="$ac_aux_dir/install.sh -c" 1355 1772 break 1356 elif test -f $ac_dir/shtool; then1773 elif test -f "$ac_dir/shtool"; then 1357 1774 ac_aux_dir=$ac_dir 1358 1775 ac_install_sh="$ac_aux_dir/shtool install -c" … … 1361 1778 done 1362 1779 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;}1780 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1781 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1365 1782 { (exit 1); exit 1; }; } 1366 1783 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. 1784 1785 # These three variables are undocumented and unsupported, 1786 # and are intended to be withdrawn in a future Autoconf release. 1787 # They can cause serious problems if a builder's source tree is in a directory 1788 # whose full name contains unusual characters. 1789 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1790 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1791 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1792 1370 1793 1371 1794 # 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;}1795 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1796 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1797 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1375 1798 { (exit 1); exit 1; }; } 1376 1799 1377 echo "$as_me:$LINENO: checking build system type" >&51378 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1800 { echo "$as_me:$LINENO: checking build system type" >&5 1801 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1379 1802 if test "${ac_cv_build+set}" = set; then 1380 1803 echo $ECHO_N "(cached) $ECHO_C" >&6 1381 1804 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"&&1805 ac_build_alias=$build_alias 1806 test "x$ac_build_alias" = x && 1807 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1808 test "x$ac_build_alias" = x && 1386 1809 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1387 1810 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1388 1811 { (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;}1812 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1813 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1814 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1392 1815 { (exit 1); exit 1; }; } 1393 1816 1394 1817 fi 1395 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1396 echo "${ECHO_T}$ac_cv_build" >&6 1818 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1819 echo "${ECHO_T}$ac_cv_build" >&6; } 1820 case $ac_cv_build in 1821 *-*-*) ;; 1822 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1823 echo "$as_me: error: invalid value of canonical build" >&2;} 1824 { (exit 1); exit 1; }; };; 1825 esac 1397 1826 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 1827 ac_save_IFS=$IFS; IFS='-' 1828 set x $ac_cv_build 1829 shift 1830 build_cpu=$1 1831 build_vendor=$2 1832 shift; shift 1833 # Remember, the first character of IFS is used to create $*, 1834 # except with old shells: 1835 build_os=$* 1836 IFS=$ac_save_IFS 1837 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1838 1839 1840 { echo "$as_me:$LINENO: checking host system type" >&5 1841 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 1405 1842 if test "${ac_cv_host+set}" = set; then 1406 1843 echo $ECHO_N "(cached) $ECHO_C" >&6 1407 1844 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;}1845 if test "x$host_alias" = x; then 1846 ac_cv_host=$ac_cv_build 1847 else 1848 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1849 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1850 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1414 1851 { (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 1852 fi 1853 1854 fi 1855 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1856 echo "${ECHO_T}$ac_cv_host" >&6; } 1857 case $ac_cv_host in 1858 *-*-*) ;; 1859 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1860 echo "$as_me: error: invalid value of canonical host" >&2;} 1861 { (exit 1); exit 1; }; };; 1862 esac 1419 1863 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 1864 ac_save_IFS=$IFS; IFS='-' 1865 set x $ac_cv_host 1866 shift 1867 host_cpu=$1 1868 host_vendor=$2 1869 shift; shift 1870 # Remember, the first character of IFS is used to create $*, 1871 # except with old shells: 1872 host_os=$* 1873 IFS=$ac_save_IFS 1874 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1875 1876 1877 { echo "$as_me:$LINENO: checking target system type" >&5 1878 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 1427 1879 if test "${ac_cv_target+set}" = set; then 1428 1880 echo $ECHO_N "(cached) $ECHO_C" >&6 1429 1881 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;}1882 if test "x$target_alias" = x; then 1883 ac_cv_target=$ac_cv_host 1884 else 1885 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1886 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1887 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1436 1888 { (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 1889 fi 1890 1891 fi 1892 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1893 echo "${ECHO_T}$ac_cv_target" >&6; } 1894 case $ac_cv_target in 1895 *-*-*) ;; 1896 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1897 echo "$as_me: error: invalid value of canonical target" >&2;} 1898 { (exit 1); exit 1; }; };; 1899 esac 1441 1900 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/'` 1901 ac_save_IFS=$IFS; IFS='-' 1902 set x $ac_cv_target 1903 shift 1904 target_cpu=$1 1905 target_vendor=$2 1906 shift; shift 1907 # Remember, the first character of IFS is used to create $*, 1908 # except with old shells: 1909 target_os=$* 1910 IFS=$ac_save_IFS 1911 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1445 1912 1446 1913 … … 1451 1918 NONENONEs,x,x, && 1452 1919 program_prefix=${target_alias}- 1453 1454 1455 1920 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" 1921 1922 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 1923 1457 1924 … … 1473 1940 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1474 1941 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 1942 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1477 1944 if test "${ac_cv_prog_CC+set}" = set; then 1478 1945 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1487 1954 test -z "$as_dir" && as_dir=. 1488 1955 for ac_exec_ext in '' $ac_executable_extensions; do 1489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1490 1957 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1491 1958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1494 1961 done 1495 1962 done 1963 IFS=$as_save_IFS 1496 1964 1497 1965 fi … … 1499 1967 CC=$ac_cv_prog_CC 1500 1968 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 1969 { echo "$as_me:$LINENO: result: $CC" >&5 1970 echo "${ECHO_T}$CC" >&6; } 1971 else 1972 { echo "$as_me:$LINENO: result: no" >&5 1973 echo "${ECHO_T}no" >&6; } 1974 fi 1975 1507 1976 1508 1977 fi … … 1511 1980 # Extract the first word of "gcc", so it can be a program name with args. 1512 1981 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 1982 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1515 1984 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1516 1985 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1525 1994 test -z "$as_dir" && as_dir=. 1526 1995 for ac_exec_ext in '' $ac_executable_extensions; do 1527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1528 1997 ac_cv_prog_ac_ct_CC="gcc" 1529 1998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1532 2001 done 1533 2002 done 2003 IFS=$as_save_IFS 1534 2004 1535 2005 fi … … 1537 2007 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1538 2008 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 2009 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2010 echo "${ECHO_T}$ac_ct_CC" >&6; } 2011 else 2012 { echo "$as_me:$LINENO: result: no" >&5 2013 echo "${ECHO_T}no" >&6; } 2014 fi 2015 2016 if test "x$ac_ct_CC" = x; then 2017 CC="" 2018 else 2019 case $cross_compiling:$ac_tool_warned in 2020 yes:) 2021 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2022 whose name does not start with the host triplet. If you think this 2023 configuration is useful to you, please write to autoconf@gnu.org." >&5 2024 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2025 whose name does not start with the host triplet. If you think this 2026 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2027 ac_tool_warned=yes ;; 2028 esac 2029 CC=$ac_ct_CC 2030 fi 1547 2031 else 1548 2032 CC="$ac_cv_prog_CC" … … 1550 2034 1551 2035 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.2036 if test -n "$ac_tool_prefix"; then 2037 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1554 2038 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 2039 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1557 2041 if test "${ac_cv_prog_CC+set}" = set; then 1558 2042 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1567 2051 test -z "$as_dir" && as_dir=. 1568 2052 for ac_exec_ext in '' $ac_executable_extensions; do 1569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1570 2054 ac_cv_prog_CC="${ac_tool_prefix}cc" 1571 2055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1574 2058 done 1575 2059 done 2060 IFS=$as_save_IFS 1576 2061 1577 2062 fi … … 1579 2064 CC=$ac_cv_prog_CC 1580 2065 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 2066 { echo "$as_me:$LINENO: result: $CC" >&5 2067 echo "${ECHO_T}$CC" >&6; } 2068 else 2069 { echo "$as_me:$LINENO: result: no" >&5 2070 echo "${ECHO_T}no" >&6; } 2071 fi 2072 2073 1611 2074 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 2075 fi 1632 2076 if test -z "$CC"; then 1633 2077 # Extract the first word of "cc", so it can be a program name with args. 1634 2078 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 2079 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1637 2081 if test "${ac_cv_prog_CC+set}" = set; then 1638 2082 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1648 2092 test -z "$as_dir" && as_dir=. 1649 2093 for ac_exec_ext in '' $ac_executable_extensions; do 1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1651 2095 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1652 2096 ac_prog_rejected=yes … … 1659 2103 done 1660 2104 done 2105 IFS=$as_save_IFS 1661 2106 1662 2107 if test $ac_prog_rejected = yes; then … … 1676 2121 CC=$ac_cv_prog_CC 1677 2122 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 2123 { echo "$as_me:$LINENO: result: $CC" >&5 2124 echo "${ECHO_T}$CC" >&6; } 2125 else 2126 { echo "$as_me:$LINENO: result: no" >&5 2127 echo "${ECHO_T}no" >&6; } 2128 fi 2129 1684 2130 1685 2131 fi 1686 2132 if test -z "$CC"; then 1687 2133 if test -n "$ac_tool_prefix"; then 1688 for ac_prog in cl 2134 for ac_prog in cl.exe 1689 2135 do 1690 2136 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1691 2137 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 2138 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1694 2140 if test "${ac_cv_prog_CC+set}" = set; then 1695 2141 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1704 2150 test -z "$as_dir" && as_dir=. 1705 2151 for ac_exec_ext in '' $ac_executable_extensions; do 1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1707 2153 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1708 2154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1711 2157 done 1712 2158 done 2159 IFS=$as_save_IFS 1713 2160 1714 2161 fi … … 1716 2163 CC=$ac_cv_prog_CC 1717 2164 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 2165 { echo "$as_me:$LINENO: result: $CC" >&5 2166 echo "${ECHO_T}$CC" >&6; } 2167 else 2168 { echo "$as_me:$LINENO: result: no" >&5 2169 echo "${ECHO_T}no" >&6; } 2170 fi 2171 1724 2172 1725 2173 test -n "$CC" && break … … 1728 2176 if test -z "$CC"; then 1729 2177 ac_ct_CC=$CC 1730 for ac_prog in cl 2178 for ac_prog in cl.exe 1731 2179 do 1732 2180 # Extract the first word of "$ac_prog", so it can be a program name with args. 1733 2181 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 2182 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1736 2184 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1737 2185 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1746 2194 test -z "$as_dir" && as_dir=. 1747 2195 for ac_exec_ext in '' $ac_executable_extensions; do 1748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1749 2197 ac_cv_prog_ac_ct_CC="$ac_prog" 1750 2198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1753 2201 done 1754 2202 done 2203 IFS=$as_save_IFS 1755 2204 1756 2205 fi … … 1758 2207 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1759 2208 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 2209 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2210 echo "${ECHO_T}$ac_ct_CC" >&6; } 2211 else 2212 { echo "$as_me:$LINENO: result: no" >&5 2213 echo "${ECHO_T}no" >&6; } 2214 fi 2215 1766 2216 1767 2217 test -n "$ac_ct_CC" && break 1768 2218 done 1769 2219 1770 CC=$ac_ct_CC 2220 if test "x$ac_ct_CC" = x; then 2221 CC="" 2222 else 2223 case $cross_compiling:$ac_tool_warned in 2224 yes:) 2225 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2226 whose name does not start with the host triplet. If you think this 2227 configuration is useful to you, please write to autoconf@gnu.org." >&5 2228 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2229 whose name does not start with the host triplet. If you think this 2230 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2231 ac_tool_warned=yes ;; 2232 esac 2233 CC=$ac_ct_CC 2234 fi 1771 2235 fi 1772 2236 … … 1781 2245 1782 2246 # Provide some information about the compiler. 1783 echo "$as_me:$LINENO:" \ 1784 "checking for C compiler version" >&5 2247 echo "$as_me:$LINENO: checking for C compiler version" >&5 1785 2248 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 2249 { (ac_try="$ac_compiler --version >&5" 2250 case "(($ac_try" in 2251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2252 *) ac_try_echo=$ac_try;; 2253 esac 2254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2255 (eval "$ac_compiler --version >&5") 2>&5 1788 2256 ac_status=$? 1789 2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1790 2258 (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 2259 { (ac_try="$ac_compiler -v >&5" 2260 case "(($ac_try" in 2261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2262 *) ac_try_echo=$ac_try;; 2263 esac 2264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2265 (eval "$ac_compiler -v >&5") 2>&5 1793 2266 ac_status=$? 1794 2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1795 2268 (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 2269 { (ac_try="$ac_compiler -V >&5" 2270 case "(($ac_try" in 2271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2272 *) ac_try_echo=$ac_try;; 2273 esac 2274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2275 (eval "$ac_compiler -V >&5") 2>&5 1798 2276 ac_status=$? 1799 2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1820 2298 # It will help us diagnose broken compilers, and finding out an intuition 1821 2299 # 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 2300 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2301 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 1824 2302 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 2303 # 2304 # List of possible output files, starting from the most likely. 2305 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2306 # only as a last resort. b.out is created by i960 compilers. 2307 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2308 # 2309 # The IRIX 6 linker writes into existing files which may not be 2310 # executable, retaining their permissions. Remove them first so a 2311 # subsequent execution test works. 2312 ac_rmfiles= 2313 for ac_file in $ac_files 2314 do 2315 case $ac_file in 2316 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2317 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2318 esac 2319 done 2320 rm -f $ac_rmfiles 2321 2322 if { (ac_try="$ac_link_default" 2323 case "(($ac_try" in 2324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2325 *) ac_try_echo=$ac_try;; 2326 esac 2327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2328 (eval "$ac_link_default") 2>&5 1827 2329 ac_status=$? 1828 2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1829 2331 (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 2332 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2333 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2334 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2335 # so that the user can short-circuit this test for compilers unknown to 2336 # Autoconf. 2337 for ac_file in $ac_files '' 1839 2338 do 1840 2339 test -f "$ac_file" || continue 1841 2340 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. 2341 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 1846 2342 ;; 1847 2343 [ab].out ) … … 1850 2346 break;; 1851 2347 *.* ) 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 2348 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2349 then :; else 2350 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2351 fi 2352 # We set ac_cv_exeext here because the later test for it is not 2353 # safe: cross compilers may not add the suffix if given an `-o' 2354 # argument, so we may need to know it at that point already. 2355 # Even if this section looks crufty: it has the advantage of 2356 # actually working. 1857 2357 break;; 1858 2358 * ) … … 1860 2360 esac 1861 2361 done 1862 else 2362 test "$ac_cv_exeext" = no && ac_cv_exeext= 2363 2364 else 2365 ac_file='' 2366 fi 2367 2368 { echo "$as_me:$LINENO: result: $ac_file" >&5 2369 echo "${ECHO_T}$ac_file" >&6; } 2370 if test -z "$ac_file"; then 1863 2371 echo "$as_me: failed program was:" >&5 1864 2372 sed 's/^/| /' conftest.$ac_ext >&5 … … 1872 2380 1873 2381 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 2382 2383 # Check that the compiler produces executables we can run. If not, either 1878 2384 # 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 2385 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2386 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 1881 2387 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1882 2388 # If not cross compiling, check that we can run a simple program. 1883 2389 if test "$cross_compiling" != yes; then 1884 2390 if { ac_try='./$ac_file' 1885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1886 (eval $ac_try) 2>&5 2391 { (case "(($ac_try" in 2392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2393 *) ac_try_echo=$ac_try;; 2394 esac 2395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2396 (eval "$ac_try") 2>&5 1887 2397 ac_status=$? 1888 2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1903 2413 fi 1904 2414 fi 1905 echo "$as_me:$LINENO: result: yes" >&51906 echo "${ECHO_T}yes" >&6 2415 { echo "$as_me:$LINENO: result: yes" >&5 2416 echo "${ECHO_T}yes" >&6; } 1907 2417 1908 2418 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1909 2419 ac_clean_files=$ac_clean_files_save 1910 # Check th e compiler produces executables we can run. If not, either2420 # Check that the compiler produces executables we can run. If not, either 1911 2421 # 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 2422 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2423 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2424 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2425 echo "${ECHO_T}$cross_compiling" >&6; } 2426 2427 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2428 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2429 if { (ac_try="$ac_link" 2430 case "(($ac_try" in 2431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2432 *) ac_try_echo=$ac_try;; 2433 esac 2434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2435 (eval "$ac_link") 2>&5 1921 2436 ac_status=$? 1922 2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1929 2444 test -f "$ac_file" || continue 1930 2445 case $ac_file in 1931 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2446 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 1932 2447 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1933 export ac_cv_exeext1934 2448 break;; 1935 2449 * ) break;; … … 1945 2459 1946 2460 rm -f conftest$ac_cv_exeext 1947 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&51948 echo "${ECHO_T}$ac_cv_exeext" >&6 2461 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2462 echo "${ECHO_T}$ac_cv_exeext" >&6; } 1949 2463 1950 2464 rm -f conftest.$ac_ext 1951 2465 EXEEXT=$ac_cv_exeext 1952 2466 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 2467 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2468 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 1955 2469 if test "${ac_cv_objext+set}" = set; then 1956 2470 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1972 2486 _ACEOF 1973 2487 rm -f conftest.o conftest.obj 1974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1975 (eval $ac_compile) 2>&5 2488 if { (ac_try="$ac_compile" 2489 case "(($ac_try" in 2490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2491 *) ac_try_echo=$ac_try;; 2492 esac 2493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2494 (eval "$ac_compile") 2>&5 1976 2495 ac_status=$? 1977 2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1978 2497 (exit $ac_status); }; then 1979 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2498 for ac_file in conftest.o conftest.obj conftest.*; do 2499 test -f "$ac_file" || continue; 1980 2500 case $ac_file in 1981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2501 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 1982 2502 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1983 2503 break;; … … 1997 2517 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1998 2518 fi 1999 echo "$as_me:$LINENO: result: $ac_cv_objext" >&52000 echo "${ECHO_T}$ac_cv_objext" >&6 2519 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2520 echo "${ECHO_T}$ac_cv_objext" >&6; } 2001 2521 OBJEXT=$ac_cv_objext 2002 2522 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 2523 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2524 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2005 2525 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2006 2526 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2025 2545 _ACEOF 2026 2546 rm -f conftest.$ac_objext 2027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2028 (eval $ac_compile) 2>conftest.er1 2547 if { (ac_try="$ac_compile" 2548 case "(($ac_try" in 2549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2550 *) ac_try_echo=$ac_try;; 2551 esac 2552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2553 (eval "$ac_compile") 2>conftest.er1 2029 2554 ac_status=$? 2030 2555 grep -v '^ *+' conftest.er1 >conftest.err … … 2032 2557 cat conftest.err >&5 2033 2558 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 2559 (exit $ac_status); } && { 2560 test -z "$ac_c_werror_flag" || 2561 test ! -s conftest.err 2562 } && test -s conftest.$ac_objext; then 2048 2563 ac_compiler_gnu=yes 2049 2564 else … … 2051 2566 sed 's/^/| /' conftest.$ac_ext >&5 2052 2567 2053 ac_compiler_gnu=no 2054 fi 2055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2568 ac_compiler_gnu=no 2569 fi 2570 2571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2056 2572 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2057 2573 2058 2574 fi 2059 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52060 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2575 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2576 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2061 2577 GCC=`test $ac_compiler_gnu = yes && echo yes` 2062 2578 ac_test_CFLAGS=${CFLAGS+set} 2063 2579 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 2580 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2581 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2067 2582 if test "${ac_cv_prog_cc_g+set}" = set; then 2068 2583 echo $ECHO_N "(cached) $ECHO_C" >&6 2069 2584 else 2070 cat >conftest.$ac_ext <<_ACEOF 2585 ac_save_c_werror_flag=$ac_c_werror_flag 2586 ac_c_werror_flag=yes 2587 ac_cv_prog_cc_g=no 2588 CFLAGS="-g" 2589 cat >conftest.$ac_ext <<_ACEOF 2071 2590 /* confdefs.h. */ 2072 2591 _ACEOF … … 2084 2603 _ACEOF 2085 2604 rm -f conftest.$ac_objext 2086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2087 (eval $ac_compile) 2>conftest.er1 2605 if { (ac_try="$ac_compile" 2606 case "(($ac_try" in 2607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2608 *) ac_try_echo=$ac_try;; 2609 esac 2610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2611 (eval "$ac_compile") 2>conftest.er1 2088 2612 ac_status=$? 2089 2613 grep -v '^ *+' conftest.er1 >conftest.err … … 2091 2615 cat conftest.err >&5 2092 2616 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 2617 (exit $ac_status); } && { 2618 test -z "$ac_c_werror_flag" || 2619 test ! -s conftest.err 2620 } && test -s conftest.$ac_objext; then 2107 2621 ac_cv_prog_cc_g=yes 2108 2622 else … … 2110 2624 sed 's/^/| /' conftest.$ac_ext >&5 2111 2625 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 2626 CFLAGS="" 2627 cat >conftest.$ac_ext <<_ACEOF 2628 /* confdefs.h. */ 2629 _ACEOF 2630 cat confdefs.h >>conftest.$ac_ext 2631 cat >>conftest.$ac_ext <<_ACEOF 2632 /* end confdefs.h. */ 2633 2634 int 2635 main () 2636 { 2637 2638 ; 2639 return 0; 2640 } 2641 _ACEOF 2642 rm -f conftest.$ac_objext 2643 if { (ac_try="$ac_compile" 2644 case "(($ac_try" in 2645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2646 *) ac_try_echo=$ac_try;; 2647 esac 2648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2649 (eval "$ac_compile") 2>conftest.er1 2650 ac_status=$? 2651 grep -v '^ *+' conftest.er1 >conftest.err 2652 rm -f conftest.er1 2653 cat conftest.err >&5 2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2655 (exit $ac_status); } && { 2656 test -z "$ac_c_werror_flag" || 2657 test ! -s conftest.err 2658 } && test -s conftest.$ac_objext; then 2659 : 2660 else 2661 echo "$as_me: failed program was:" >&5 2662 sed 's/^/| /' conftest.$ac_ext >&5 2663 2664 ac_c_werror_flag=$ac_save_c_werror_flag 2665 CFLAGS="-g" 2666 cat >conftest.$ac_ext <<_ACEOF 2667 /* confdefs.h. */ 2668 _ACEOF 2669 cat confdefs.h >>conftest.$ac_ext 2670 cat >>conftest.$ac_ext <<_ACEOF 2671 /* end confdefs.h. */ 2672 2673 int 2674 main () 2675 { 2676 2677 ; 2678 return 0; 2679 } 2680 _ACEOF 2681 rm -f conftest.$ac_objext 2682 if { (ac_try="$ac_compile" 2683 case "(($ac_try" in 2684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2685 *) ac_try_echo=$ac_try;; 2686 esac 2687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2688 (eval "$ac_compile") 2>conftest.er1 2689 ac_status=$? 2690 grep -v '^ *+' conftest.er1 >conftest.err 2691 rm -f conftest.er1 2692 cat conftest.err >&5 2693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2694 (exit $ac_status); } && { 2695 test -z "$ac_c_werror_flag" || 2696 test ! -s conftest.err 2697 } && test -s conftest.$ac_objext; then 2698 ac_cv_prog_cc_g=yes 2699 else 2700 echo "$as_me: failed program was:" >&5 2701 sed 's/^/| /' conftest.$ac_ext >&5 2702 2703 2704 fi 2705 2706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2707 fi 2708 2709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2710 fi 2711 2712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2713 ac_c_werror_flag=$ac_save_c_werror_flag 2714 fi 2715 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2716 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2118 2717 if test "$ac_test_CFLAGS" = set; then 2119 2718 CFLAGS=$ac_save_CFLAGS … … 2131 2730 fi 2132 2731 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; then2732 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2733 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2734 if test "${ac_cv_prog_cc_c89+set}" = set; then 2136 2735 echo $ECHO_N "(cached) $ECHO_C" >&6 2137 2736 else 2138 ac_cv_prog_cc_ stdc=no2737 ac_cv_prog_cc_c89=no 2139 2738 ac_save_CC=$CC 2140 2739 cat >conftest.$ac_ext <<_ACEOF … … 2170 2769 function prototypes and stuff, but not '\xHH' hex character constants. 2171 2770 These don't provoke an error unfortunately, instead are silently treated 2172 as 'x'. The following induces an error, until -std 1is added to get2771 as 'x'. The following induces an error, until -std is added to get 2173 2772 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2174 2773 array size at least. It's necessary to write '\x00'==0 to get something 2175 that's true only with -std 1. */2774 that's true only with -std. */ 2176 2775 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2776 2777 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2778 inside strings and character constants. */ 2779 #define FOO(x) 'x' 2780 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2177 2781 2178 2782 int test (int i, double x); … … 2190 2794 } 2191 2795 _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__" 2796 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2797 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2200 2798 do 2201 2799 CC="$ac_save_CC $ac_arg" 2202 2800 rm -f conftest.$ac_objext 2203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2204 (eval $ac_compile) 2>conftest.er1 2801 if { (ac_try="$ac_compile" 2802 case "(($ac_try" in 2803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2804 *) ac_try_echo=$ac_try;; 2805 esac 2806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2807 (eval "$ac_compile") 2>conftest.er1 2205 2808 ac_status=$? 2206 2809 grep -v '^ *+' conftest.er1 >conftest.err … … 2208 2811 cat conftest.err >&5 2209 2812 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 2813 (exit $ac_status); } && { 2814 test -z "$ac_c_werror_flag" || 2815 test ! -s conftest.err 2816 } && test -s conftest.$ac_objext; then 2817 ac_cv_prog_cc_c89=$ac_arg 2226 2818 else 2227 2819 echo "$as_me: failed program was:" >&5 2228 2820 sed 's/^/| /' conftest.$ac_ext >&5 2229 2821 2230 fi 2231 rm -f conftest.err conftest.$ac_objext 2822 2823 fi 2824 2825 rm -f core conftest.err conftest.$ac_objext 2826 test "x$ac_cv_prog_cc_c89" != "xno" && break 2232 2827 done 2233 rm -f conftest.$ac_ext conftest.$ac_objext2828 rm -f conftest.$ac_ext 2234 2829 CC=$ac_save_CC 2235 2830 2236 2831 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 ;; 2832 # AC_CACHE_VAL 2833 case "x$ac_cv_prog_cc_c89" in 2834 x) 2835 { echo "$as_me:$LINENO: result: none needed" >&5 2836 echo "${ECHO_T}none needed" >&6; } ;; 2837 xno) 2838 { echo "$as_me:$LINENO: result: unsupported" >&5 2839 echo "${ECHO_T}unsupported" >&6; } ;; 2242 2840 *) 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 2841 CC="$CC $ac_cv_prog_cc_c89" 2842 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2843 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2844 esac 2845 2846 2391 2847 ac_ext=c 2392 2848 ac_cpp='$CPP $CPPFLAGS' … … 2395 2851 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2396 2852 2397 ac_ext=c c2853 ac_ext=cpp 2398 2854 ac_cpp='$CXXCPP $CPPFLAGS' 2399 2855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2400 2856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2401 2857 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 2858 if test -z "$CXX"; then 2859 if test -n "$CCC"; then 2860 CXX=$CCC 2861 else 2862 if test -n "$ac_tool_prefix"; then 2863 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2404 2864 do 2405 2865 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2406 2866 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 2867 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2409 2869 if test "${ac_cv_prog_CXX+set}" = set; then 2410 2870 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2419 2879 test -z "$as_dir" && as_dir=. 2420 2880 for ac_exec_ext in '' $ac_executable_extensions; do 2421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2422 2882 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2423 2883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2426 2886 done 2427 2887 done 2888 IFS=$as_save_IFS 2428 2889 2429 2890 fi … … 2431 2892 CXX=$ac_cv_prog_CXX 2432 2893 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 2894 { echo "$as_me:$LINENO: result: $CXX" >&5 2895 echo "${ECHO_T}$CXX" >&6; } 2896 else 2897 { echo "$as_me:$LINENO: result: no" >&5 2898 echo "${ECHO_T}no" >&6; } 2899 fi 2900 2439 2901 2440 2902 test -n "$CXX" && break … … 2443 2905 if test -z "$CXX"; then 2444 2906 ac_ct_CXX=$CXX 2445 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC2907 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2446 2908 do 2447 2909 # Extract the first word of "$ac_prog", so it can be a program name with args. 2448 2910 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 2911 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2451 2913 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2452 2914 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2461 2923 test -z "$as_dir" && as_dir=. 2462 2924 for ac_exec_ext in '' $ac_executable_extensions; do 2463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2464 2926 ac_cv_prog_ac_ct_CXX="$ac_prog" 2465 2927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2468 2930 done 2469 2931 done 2932 IFS=$as_save_IFS 2470 2933 2471 2934 fi … … 2473 2936 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2474 2937 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 2938 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2939 echo "${ECHO_T}$ac_ct_CXX" >&6; } 2940 else 2941 { echo "$as_me:$LINENO: result: no" >&5 2942 echo "${ECHO_T}no" >&6; } 2943 fi 2944 2481 2945 2482 2946 test -n "$ac_ct_CXX" && break 2483 2947 done 2484 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2485 2486 CXX=$ac_ct_CXX 2487 fi 2488 2489 2948 2949 if test "x$ac_ct_CXX" = x; then 2950 CXX="g++" 2951 else 2952 case $cross_compiling:$ac_tool_warned in 2953 yes:) 2954 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2955 whose name does not start with the host triplet. If you think this 2956 configuration is useful to you, please write to autoconf@gnu.org." >&5 2957 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2958 whose name does not start with the host triplet. If you think this 2959 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2960 ac_tool_warned=yes ;; 2961 esac 2962 CXX=$ac_ct_CXX 2963 fi 2964 fi 2965 2966 fi 2967 fi 2490 2968 # Provide some information about the compiler. 2491 echo "$as_me:$LINENO:" \ 2492 "checking for C++ compiler version" >&5 2969 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 2493 2970 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 2971 { (ac_try="$ac_compiler --version >&5" 2972 case "(($ac_try" in 2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2974 *) ac_try_echo=$ac_try;; 2975 esac 2976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2977 (eval "$ac_compiler --version >&5") 2>&5 2496 2978 ac_status=$? 2497 2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2498 2980 (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 2981 { (ac_try="$ac_compiler -v >&5" 2982 case "(($ac_try" in 2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2984 *) ac_try_echo=$ac_try;; 2985 esac 2986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2987 (eval "$ac_compiler -v >&5") 2>&5 2501 2988 ac_status=$? 2502 2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2503 2990 (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 2991 { (ac_try="$ac_compiler -V >&5" 2992 case "(($ac_try" in 2993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2994 *) ac_try_echo=$ac_try;; 2995 esac 2996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2997 (eval "$ac_compiler -V >&5") 2>&5 2506 2998 ac_status=$? 2507 2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2508 3000 (exit $ac_status); } 2509 3001 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 3002 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3003 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 2512 3004 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2513 3005 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2532 3024 _ACEOF 2533 3025 rm -f conftest.$ac_objext 2534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2535 (eval $ac_compile) 2>conftest.er1 3026 if { (ac_try="$ac_compile" 3027 case "(($ac_try" in 3028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3029 *) ac_try_echo=$ac_try;; 3030 esac 3031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3032 (eval "$ac_compile") 2>conftest.er1 2536 3033 ac_status=$? 2537 3034 grep -v '^ *+' conftest.er1 >conftest.err … … 2539 3036 cat conftest.err >&5 2540 3037 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 3038 (exit $ac_status); } && { 3039 test -z "$ac_cxx_werror_flag" || 3040 test ! -s conftest.err 3041 } && test -s conftest.$ac_objext; then 2555 3042 ac_compiler_gnu=yes 2556 3043 else … … 2558 3045 sed 's/^/| /' conftest.$ac_ext >&5 2559 3046 2560 ac_compiler_gnu=no 2561 fi 2562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3047 ac_compiler_gnu=no 3048 fi 3049 3050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2563 3051 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2564 3052 2565 3053 fi 2566 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&52567 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 3054 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3055 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 2568 3056 GXX=`test $ac_compiler_gnu = yes && echo yes` 2569 3057 ac_test_CXXFLAGS=${CXXFLAGS+set} 2570 3058 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 3059 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3060 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 2574 3061 if test "${ac_cv_prog_cxx_g+set}" = set; then 2575 3062 echo $ECHO_N "(cached) $ECHO_C" >&6 2576 3063 else 2577 cat >conftest.$ac_ext <<_ACEOF 3064 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3065 ac_cxx_werror_flag=yes 3066 ac_cv_prog_cxx_g=no 3067 CXXFLAGS="-g" 3068 cat >conftest.$ac_ext <<_ACEOF 2578 3069 /* confdefs.h. */ 2579 3070 _ACEOF … … 2591 3082 _ACEOF 2592 3083 rm -f conftest.$ac_objext 2593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2594 (eval $ac_compile) 2>conftest.er1 3084 if { (ac_try="$ac_compile" 3085 case "(($ac_try" in 3086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3087 *) ac_try_echo=$ac_try;; 3088 esac 3089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3090 (eval "$ac_compile") 2>conftest.er1 2595 3091 ac_status=$? 2596 3092 grep -v '^ *+' conftest.er1 >conftest.err … … 2598 3094 cat conftest.err >&5 2599 3095 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 3096 (exit $ac_status); } && { 3097 test -z "$ac_cxx_werror_flag" || 3098 test ! -s conftest.err 3099 } && test -s conftest.$ac_objext; then 2614 3100 ac_cv_prog_cxx_g=yes 2615 3101 else … … 2617 3103 sed 's/^/| /' conftest.$ac_ext >&5 2618 3104 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 3105 CXXFLAGS="" 3106 cat >conftest.$ac_ext <<_ACEOF 3107 /* confdefs.h. */ 3108 _ACEOF 3109 cat confdefs.h >>conftest.$ac_ext 3110 cat >>conftest.$ac_ext <<_ACEOF 3111 /* end confdefs.h. */ 3112 3113 int 3114 main () 3115 { 3116 3117 ; 3118 return 0; 3119 } 3120 _ACEOF 3121 rm -f conftest.$ac_objext 3122 if { (ac_try="$ac_compile" 3123 case "(($ac_try" in 3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3125 *) ac_try_echo=$ac_try;; 3126 esac 3127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3128 (eval "$ac_compile") 2>conftest.er1 3129 ac_status=$? 3130 grep -v '^ *+' conftest.er1 >conftest.err 3131 rm -f conftest.er1 3132 cat conftest.err >&5 3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3134 (exit $ac_status); } && { 3135 test -z "$ac_cxx_werror_flag" || 3136 test ! -s conftest.err 3137 } && test -s conftest.$ac_objext; then 3138 : 3139 else 3140 echo "$as_me: failed program was:" >&5 3141 sed 's/^/| /' conftest.$ac_ext >&5 3142 3143 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3144 CXXFLAGS="-g" 3145 cat >conftest.$ac_ext <<_ACEOF 3146 /* confdefs.h. */ 3147 _ACEOF 3148 cat confdefs.h >>conftest.$ac_ext 3149 cat >>conftest.$ac_ext <<_ACEOF 3150 /* end confdefs.h. */ 3151 3152 int 3153 main () 3154 { 3155 3156 ; 3157 return 0; 3158 } 3159 _ACEOF 3160 rm -f conftest.$ac_objext 3161 if { (ac_try="$ac_compile" 3162 case "(($ac_try" in 3163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3164 *) ac_try_echo=$ac_try;; 3165 esac 3166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3167 (eval "$ac_compile") 2>conftest.er1 3168 ac_status=$? 3169 grep -v '^ *+' conftest.er1 >conftest.err 3170 rm -f conftest.er1 3171 cat conftest.err >&5 3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3173 (exit $ac_status); } && { 3174 test -z "$ac_cxx_werror_flag" || 3175 test ! -s conftest.err 3176 } && test -s conftest.$ac_objext; then 3177 ac_cv_prog_cxx_g=yes 3178 else 3179 echo "$as_me: failed program was:" >&5 3180 sed 's/^/| /' conftest.$ac_ext >&5 3181 3182 3183 fi 3184 3185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3186 fi 3187 3188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3189 fi 3190 3191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3192 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3193 fi 3194 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3195 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 2625 3196 if test "$ac_test_CXXFLAGS" = set; then 2626 3197 CXXFLAGS=$ac_save_CXXFLAGS … … 2638 3209 fi 2639 3210 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 3211 ac_ext=c 2747 3212 ac_cpp='$CPP $CPPFLAGS' … … 2770 3235 2771 3236 2772 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&52773 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 3237 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 3238 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 2774 3239 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 2775 3240 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2784 3249 /* end confdefs.h. */ 2785 3250 2786 /* Override any gcc2 internal prototype to avoid an error. */ 3251 /* Override any GCC internal prototype to avoid an error. 3252 Use char because int might match the return type of a GCC 3253 builtin and then its argument prototype would still apply. */ 2787 3254 #ifdef __cplusplus 2788 3255 extern "C" 2789 3256 #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 3257 char pthread_create (); 2793 3258 int 2794 3259 main () 2795 3260 { 2796 pthread_create ();3261 return pthread_create (); 2797 3262 ; 2798 3263 return 0; … … 2800 3265 _ACEOF 2801 3266 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 3267 if { (ac_try="$ac_link" 3268 case "(($ac_try" in 3269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3270 *) ac_try_echo=$ac_try;; 3271 esac 3272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3273 (eval "$ac_link") 2>conftest.er1 2804 3274 ac_status=$? 2805 3275 grep -v '^ *+' conftest.er1 >conftest.err … … 2807 3277 cat conftest.err >&5 2808 3278 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 3279 (exit $ac_status); } && { 3280 test -z "$ac_c_werror_flag" || 3281 test ! -s conftest.err 3282 } && test -s conftest$ac_exeext && 3283 $as_test_x conftest$ac_exeext; then 2823 3284 ac_cv_lib_pthread_pthread_create=yes 2824 3285 else … … 2826 3287 sed 's/^/| /' conftest.$ac_ext >&5 2827 3288 2828 ac_cv_lib_pthread_pthread_create=no 2829 fi 2830 rm -f conftest.err conftest.$ac_objext \ 3289 ac_cv_lib_pthread_pthread_create=no 3290 fi 3291 3292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2831 3293 conftest$ac_exeext conftest.$ac_ext 2832 3294 LIBS=$ac_check_lib_save_LIBS 2833 3295 fi 2834 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&52835 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 3296 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 3297 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 2836 3298 if test $ac_cv_lib_pthread_pthread_create = yes; then 2837 3299 cat >>confdefs.h <<_ACEOF … … 2844 3306 2845 3307 2846 echo "$as_me:$LINENO: checking for puts in -lwsock32" >&52847 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6 3308 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 3309 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 2848 3310 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 2849 3311 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2858 3320 /* end confdefs.h. */ 2859 3321 2860 /* Override any gcc2 internal prototype to avoid an error. */ 3322 /* Override any GCC internal prototype to avoid an error. 3323 Use char because int might match the return type of a GCC 3324 builtin and then its argument prototype would still apply. */ 2861 3325 #ifdef __cplusplus 2862 3326 extern "C" 2863 3327 #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 3328 char puts (); 2867 3329 int 2868 3330 main () 2869 3331 { 2870 puts ();3332 return puts (); 2871 3333 ; 2872 3334 return 0; … … 2874 3336 _ACEOF 2875 3337 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 3338 if { (ac_try="$ac_link" 3339 case "(($ac_try" in 3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3341 *) ac_try_echo=$ac_try;; 3342 esac 3343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3344 (eval "$ac_link") 2>conftest.er1 2878 3345 ac_status=$? 2879 3346 grep -v '^ *+' conftest.er1 >conftest.err … … 2881 3348 cat conftest.err >&5 2882 3349 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 3350 (exit $ac_status); } && { 3351 test -z "$ac_c_werror_flag" || 3352 test ! -s conftest.err 3353 } && test -s conftest$ac_exeext && 3354 $as_test_x conftest$ac_exeext; then 2897 3355 ac_cv_lib_wsock32_puts=yes 2898 3356 else … … 2900 3358 sed 's/^/| /' conftest.$ac_ext >&5 2901 3359 2902 ac_cv_lib_wsock32_puts=no 2903 fi 2904 rm -f conftest.err conftest.$ac_objext \ 3360 ac_cv_lib_wsock32_puts=no 3361 fi 3362 3363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2905 3364 conftest$ac_exeext conftest.$ac_ext 2906 3365 LIBS=$ac_check_lib_save_LIBS 2907 3366 fi 2908 echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&52909 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6 3367 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 3368 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 2910 3369 if test $ac_cv_lib_wsock32_puts = yes; then 2911 3370 cat >>confdefs.h <<_ACEOF … … 2918 3377 2919 3378 2920 echo "$as_me:$LINENO: checking for puts in -lws2_32" >&52921 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6 3379 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 3380 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 2922 3381 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 2923 3382 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2932 3391 /* end confdefs.h. */ 2933 3392 2934 /* Override any gcc2 internal prototype to avoid an error. */ 3393 /* Override any GCC internal prototype to avoid an error. 3394 Use char because int might match the return type of a GCC 3395 builtin and then its argument prototype would still apply. */ 2935 3396 #ifdef __cplusplus 2936 3397 extern "C" 2937 3398 #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 3399 char puts (); 2941 3400 int 2942 3401 main () 2943 3402 { 2944 puts ();3403 return puts (); 2945 3404 ; 2946 3405 return 0; … … 2948 3407 _ACEOF 2949 3408 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 3409 if { (ac_try="$ac_link" 3410 case "(($ac_try" in 3411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3412 *) ac_try_echo=$ac_try;; 3413 esac 3414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3415 (eval "$ac_link") 2>conftest.er1 2952 3416 ac_status=$? 2953 3417 grep -v '^ *+' conftest.er1 >conftest.err … … 2955 3419 cat conftest.err >&5 2956 3420 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 3421 (exit $ac_status); } && { 3422 test -z "$ac_c_werror_flag" || 3423 test ! -s conftest.err 3424 } && test -s conftest$ac_exeext && 3425 $as_test_x conftest$ac_exeext; then 2971 3426 ac_cv_lib_ws2_32_puts=yes 2972 3427 else … … 2974 3429 sed 's/^/| /' conftest.$ac_ext >&5 2975 3430 2976 ac_cv_lib_ws2_32_puts=no 2977 fi 2978 rm -f conftest.err conftest.$ac_objext \ 3431 ac_cv_lib_ws2_32_puts=no 3432 fi 3433 3434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2979 3435 conftest$ac_exeext conftest.$ac_ext 2980 3436 LIBS=$ac_check_lib_save_LIBS 2981 3437 fi 2982 echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&52983 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6 3438 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 3439 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 2984 3440 if test $ac_cv_lib_ws2_32_puts = yes; then 2985 3441 cat >>confdefs.h <<_ACEOF … … 2992 3448 2993 3449 2994 echo "$as_me:$LINENO: checking for puts in -lole32" >&52995 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6 3450 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 3451 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 2996 3452 if test "${ac_cv_lib_ole32_puts+set}" = set; then 2997 3453 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3006 3462 /* end confdefs.h. */ 3007 3463 3008 /* Override any gcc2 internal prototype to avoid an error. */ 3464 /* Override any GCC internal prototype to avoid an error. 3465 Use char because int might match the return type of a GCC 3466 builtin and then its argument prototype would still apply. */ 3009 3467 #ifdef __cplusplus 3010 3468 extern "C" 3011 3469 #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 3470 char puts (); 3015 3471 int 3016 3472 main () 3017 3473 { 3018 puts ();3474 return puts (); 3019 3475 ; 3020 3476 return 0; … … 3022 3478 _ACEOF 3023 3479 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 3480 if { (ac_try="$ac_link" 3481 case "(($ac_try" in 3482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3483 *) ac_try_echo=$ac_try;; 3484 esac 3485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3486 (eval "$ac_link") 2>conftest.er1 3026 3487 ac_status=$? 3027 3488 grep -v '^ *+' conftest.er1 >conftest.err … … 3029 3490 cat conftest.err >&5 3030 3491 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 3492 (exit $ac_status); } && { 3493 test -z "$ac_c_werror_flag" || 3494 test ! -s conftest.err 3495 } && test -s conftest$ac_exeext && 3496 $as_test_x conftest$ac_exeext; then 3045 3497 ac_cv_lib_ole32_puts=yes 3046 3498 else … … 3048 3500 sed 's/^/| /' conftest.$ac_ext >&5 3049 3501 3050 ac_cv_lib_ole32_puts=no 3051 fi 3052 rm -f conftest.err conftest.$ac_objext \ 3502 ac_cv_lib_ole32_puts=no 3503 fi 3504 3505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3053 3506 conftest$ac_exeext conftest.$ac_ext 3054 3507 LIBS=$ac_check_lib_save_LIBS 3055 3508 fi 3056 echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&53057 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6 3509 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 3510 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 3058 3511 if test $ac_cv_lib_ole32_puts = yes; then 3059 3512 cat >>confdefs.h <<_ACEOF … … 3066 3519 3067 3520 3068 echo "$as_me:$LINENO: checking for puts in -lwinmm" >&53069 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6 3521 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3522 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 3070 3523 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3071 3524 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3080 3533 /* end confdefs.h. */ 3081 3534 3082 /* Override any gcc2 internal prototype to avoid an error. */ 3535 /* Override any GCC internal prototype to avoid an error. 3536 Use char because int might match the return type of a GCC 3537 builtin and then its argument prototype would still apply. */ 3083 3538 #ifdef __cplusplus 3084 3539 extern "C" 3085 3540 #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 3541 char puts (); 3089 3542 int 3090 3543 main () 3091 3544 { 3092 puts ();3545 return puts (); 3093 3546 ; 3094 3547 return 0; … … 3096 3549 _ACEOF 3097 3550 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 3551 if { (ac_try="$ac_link" 3552 case "(($ac_try" in 3553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3554 *) ac_try_echo=$ac_try;; 3555 esac 3556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3557 (eval "$ac_link") 2>conftest.er1 3100 3558 ac_status=$? 3101 3559 grep -v '^ *+' conftest.er1 >conftest.err … … 3103 3561 cat conftest.err >&5 3104 3562 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 3563 (exit $ac_status); } && { 3564 test -z "$ac_c_werror_flag" || 3565 test ! -s conftest.err 3566 } && test -s conftest$ac_exeext && 3567 $as_test_x conftest$ac_exeext; then 3119 3568 ac_cv_lib_winmm_puts=yes 3120 3569 else … … 3122 3571 sed 's/^/| /' conftest.$ac_ext >&5 3123 3572 3124 ac_cv_lib_winmm_puts=no 3125 fi 3126 rm -f conftest.err conftest.$ac_objext \ 3573 ac_cv_lib_winmm_puts=no 3574 fi 3575 3576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3127 3577 conftest$ac_exeext conftest.$ac_ext 3128 3578 LIBS=$ac_check_lib_save_LIBS 3129 3579 fi 3130 echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&53131 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6 3580 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 3581 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 3132 3582 if test $ac_cv_lib_winmm_puts = yes; then 3133 3583 cat >>confdefs.h <<_ACEOF … … 3140 3590 3141 3591 3142 echo "$as_me:$LINENO: checking for puts in -lsocket" >&53143 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6 3592 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3593 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 3144 3594 if test "${ac_cv_lib_socket_puts+set}" = set; then 3145 3595 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3154 3604 /* end confdefs.h. */ 3155 3605 3156 /* Override any gcc2 internal prototype to avoid an error. */ 3606 /* Override any GCC internal prototype to avoid an error. 3607 Use char because int might match the return type of a GCC 3608 builtin and then its argument prototype would still apply. */ 3157 3609 #ifdef __cplusplus 3158 3610 extern "C" 3159 3611 #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 3612 char puts (); 3163 3613 int 3164 3614 main () 3165 3615 { 3166 puts ();3616 return puts (); 3167 3617 ; 3168 3618 return 0; … … 3170 3620 _ACEOF 3171 3621 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 3622 if { (ac_try="$ac_link" 3623 case "(($ac_try" in 3624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3625 *) ac_try_echo=$ac_try;; 3626 esac 3627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3628 (eval "$ac_link") 2>conftest.er1 3174 3629 ac_status=$? 3175 3630 grep -v '^ *+' conftest.er1 >conftest.err … … 3177 3632 cat conftest.err >&5 3178 3633 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 3634 (exit $ac_status); } && { 3635 test -z "$ac_c_werror_flag" || 3636 test ! -s conftest.err 3637 } && test -s conftest$ac_exeext && 3638 $as_test_x conftest$ac_exeext; then 3193 3639 ac_cv_lib_socket_puts=yes 3194 3640 else … … 3196 3642 sed 's/^/| /' conftest.$ac_ext >&5 3197 3643 3198 ac_cv_lib_socket_puts=no 3199 fi 3200 rm -f conftest.err conftest.$ac_objext \ 3644 ac_cv_lib_socket_puts=no 3645 fi 3646 3647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3201 3648 conftest$ac_exeext conftest.$ac_ext 3202 3649 LIBS=$ac_check_lib_save_LIBS 3203 3650 fi 3204 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&53205 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6 3651 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 3652 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 3206 3653 if test $ac_cv_lib_socket_puts = yes; then 3207 3654 cat >>confdefs.h <<_ACEOF … … 3214 3661 3215 3662 3216 echo "$as_me:$LINENO: checking for puts in -lrt" >&53217 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6 3663 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3664 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 3218 3665 if test "${ac_cv_lib_rt_puts+set}" = set; then 3219 3666 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3228 3675 /* end confdefs.h. */ 3229 3676 3230 /* Override any gcc2 internal prototype to avoid an error. */ 3677 /* Override any GCC internal prototype to avoid an error. 3678 Use char because int might match the return type of a GCC 3679 builtin and then its argument prototype would still apply. */ 3231 3680 #ifdef __cplusplus 3232 3681 extern "C" 3233 3682 #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 3683 char puts (); 3237 3684 int 3238 3685 main () 3239 3686 { 3240 puts ();3687 return puts (); 3241 3688 ; 3242 3689 return 0; … … 3244 3691 _ACEOF 3245 3692 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 3693 if { (ac_try="$ac_link" 3694 case "(($ac_try" in 3695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3696 *) ac_try_echo=$ac_try;; 3697 esac 3698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3699 (eval "$ac_link") 2>conftest.er1 3248 3700 ac_status=$? 3249 3701 grep -v '^ *+' conftest.er1 >conftest.err … … 3251 3703 cat conftest.err >&5 3252 3704 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 3705 (exit $ac_status); } && { 3706 test -z "$ac_c_werror_flag" || 3707 test ! -s conftest.err 3708 } && test -s conftest$ac_exeext && 3709 $as_test_x conftest$ac_exeext; then 3267 3710 ac_cv_lib_rt_puts=yes 3268 3711 else … … 3270 3713 sed 's/^/| /' conftest.$ac_ext >&5 3271 3714 3272 ac_cv_lib_rt_puts=no 3273 fi 3274 rm -f conftest.err conftest.$ac_objext \ 3715 ac_cv_lib_rt_puts=no 3716 fi 3717 3718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3275 3719 conftest$ac_exeext conftest.$ac_ext 3276 3720 LIBS=$ac_check_lib_save_LIBS 3277 3721 fi 3278 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&53279 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6 3722 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 3723 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 3280 3724 if test $ac_cv_lib_rt_puts = yes; then 3281 3725 cat >>confdefs.h <<_ACEOF … … 3288 3732 3289 3733 3290 echo "$as_me:$LINENO: checking for puts in -lnsl" >&53291 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6 3734 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3735 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 3292 3736 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3293 3737 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3302 3746 /* end confdefs.h. */ 3303 3747 3304 /* Override any gcc2 internal prototype to avoid an error. */ 3748 /* Override any GCC internal prototype to avoid an error. 3749 Use char because int might match the return type of a GCC 3750 builtin and then its argument prototype would still apply. */ 3305 3751 #ifdef __cplusplus 3306 3752 extern "C" 3307 3753 #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 3754 char puts (); 3311 3755 int 3312 3756 main () 3313 3757 { 3314 puts ();3758 return puts (); 3315 3759 ; 3316 3760 return 0; … … 3318 3762 _ACEOF 3319 3763 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 3764 if { (ac_try="$ac_link" 3765 case "(($ac_try" in 3766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3767 *) ac_try_echo=$ac_try;; 3768 esac 3769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3770 (eval "$ac_link") 2>conftest.er1 3322 3771 ac_status=$? 3323 3772 grep -v '^ *+' conftest.er1 >conftest.err … … 3325 3774 cat conftest.err >&5 3326 3775 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 3776 (exit $ac_status); } && { 3777 test -z "$ac_c_werror_flag" || 3778 test ! -s conftest.err 3779 } && test -s conftest$ac_exeext && 3780 $as_test_x conftest$ac_exeext; then 3341 3781 ac_cv_lib_nsl_puts=yes 3342 3782 else … … 3344 3784 sed 's/^/| /' conftest.$ac_ext >&5 3345 3785 3346 ac_cv_lib_nsl_puts=no 3347 fi 3348 rm -f conftest.err conftest.$ac_objext \ 3786 ac_cv_lib_nsl_puts=no 3787 fi 3788 3789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3349 3790 conftest$ac_exeext conftest.$ac_ext 3350 3791 LIBS=$ac_check_lib_save_LIBS 3351 3792 fi 3352 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&53353 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6 3793 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 3794 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 3354 3795 if test $ac_cv_lib_nsl_puts = yes; then 3355 3796 cat >>confdefs.h <<_ACEOF … … 3362 3803 3363 3804 3364 echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53365 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 3805 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3806 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3366 3807 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3367 3808 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3376 3817 /* end confdefs.h. */ 3377 3818 3378 /* Override any gcc2 internal prototype to avoid an error. */ 3819 /* Override any GCC internal prototype to avoid an error. 3820 Use char because int might match the return type of a GCC 3821 builtin and then its argument prototype would still apply. */ 3379 3822 #ifdef __cplusplus 3380 3823 extern "C" 3381 3824 #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 3825 char uuid_generate (); 3385 3826 int 3386 3827 main () 3387 3828 { 3388 uuid_generate ();3829 return uuid_generate (); 3389 3830 ; 3390 3831 return 0; … … 3392 3833 _ACEOF 3393 3834 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 3835 if { (ac_try="$ac_link" 3836 case "(($ac_try" in 3837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3838 *) ac_try_echo=$ac_try;; 3839 esac 3840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3841 (eval "$ac_link") 2>conftest.er1 3396 3842 ac_status=$? 3397 3843 grep -v '^ *+' conftest.er1 >conftest.err … … 3399 3845 cat conftest.err >&5 3400 3846 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 3847 (exit $ac_status); } && { 3848 test -z "$ac_c_werror_flag" || 3849 test ! -s conftest.err 3850 } && test -s conftest$ac_exeext && 3851 $as_test_x conftest$ac_exeext; then 3415 3852 ac_cv_lib_uuid_uuid_generate=yes 3416 3853 else … … 3418 3855 sed 's/^/| /' conftest.$ac_ext >&5 3419 3856 3420 ac_cv_lib_uuid_uuid_generate=no 3421 fi 3422 rm -f conftest.err conftest.$ac_objext \ 3857 ac_cv_lib_uuid_uuid_generate=no 3858 fi 3859 3860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3423 3861 conftest$ac_exeext conftest.$ac_ext 3424 3862 LIBS=$ac_check_lib_save_LIBS 3425 3863 fi 3426 echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53427 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 3864 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3865 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 3428 3866 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3429 3867 cat >>confdefs.h <<_ACEOF … … 3435 3873 fi 3436 3874 3437 echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53438 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 3875 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3876 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3439 3877 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3440 3878 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3449 3887 /* end confdefs.h. */ 3450 3888 3451 /* Override any gcc2 internal prototype to avoid an error. */ 3889 /* Override any GCC internal prototype to avoid an error. 3890 Use char because int might match the return type of a GCC 3891 builtin and then its argument prototype would still apply. */ 3452 3892 #ifdef __cplusplus 3453 3893 extern "C" 3454 3894 #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 3895 char uuid_generate (); 3458 3896 int 3459 3897 main () 3460 3898 { 3461 uuid_generate ();3899 return uuid_generate (); 3462 3900 ; 3463 3901 return 0; … … 3465 3903 _ACEOF 3466 3904 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 3905 if { (ac_try="$ac_link" 3906 case "(($ac_try" in 3907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3908 *) ac_try_echo=$ac_try;; 3909 esac 3910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3911 (eval "$ac_link") 2>conftest.er1 3469 3912 ac_status=$? 3470 3913 grep -v '^ *+' conftest.er1 >conftest.err … … 3472 3915 cat conftest.err >&5 3473 3916 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 3917 (exit $ac_status); } && { 3918 test -z "$ac_c_werror_flag" || 3919 test ! -s conftest.err 3920 } && test -s conftest$ac_exeext && 3921 $as_test_x conftest$ac_exeext; then 3488 3922 ac_cv_lib_uuid_uuid_generate=yes 3489 3923 else … … 3491 3925 sed 's/^/| /' conftest.$ac_ext >&5 3492 3926 3493 ac_cv_lib_uuid_uuid_generate=no 3494 fi 3495 rm -f conftest.err conftest.$ac_objext \ 3927 ac_cv_lib_uuid_uuid_generate=no 3928 fi 3929 3930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3496 3931 conftest$ac_exeext conftest.$ac_ext 3497 3932 LIBS=$ac_check_lib_save_LIBS 3498 3933 fi 3499 echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53500 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 3934 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3935 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 3501 3936 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3502 3937 ac_has_uuid_lib=1 … … 3504 3939 3505 3940 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 3941 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 3942 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 3508 3943 cat >>confdefs.h <<_ACEOF 3509 3944 #define PJ_M_NAME "$target_cpu" … … 3511 3946 3512 3947 3513 echo "$as_me:$LINENO: checking memory alignment" >&53514 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6 3948 { echo "$as_me:$LINENO: checking memory alignment" >&5 3949 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 3515 3950 case $target in 3516 3951 ia64-* | x86_64-* ) … … 3519 3954 _ACEOF 3520 3955 3521 echo "$as_me:$LINENO: result: 8 bytes" >&53522 echo "${ECHO_T}8 bytes" >&6 3956 { echo "$as_me:$LINENO: result: 8 bytes" >&5 3957 echo "${ECHO_T}8 bytes" >&6; } 3523 3958 ;; 3524 3959 * ) … … 3527 3962 _ACEOF 3528 3963 3529 echo "$as_me:$LINENO: result: 4 bytes (default)" >&53530 echo "${ECHO_T}4 bytes (default)" >&6 3964 { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 3965 echo "${ECHO_T}4 bytes (default)" >&6; } 3531 3966 ;; 3532 3967 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 3968 3908 3969 … … 3912 3973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3913 3974 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 3975 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3976 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3916 3977 # On Suns, sometimes $CPP names a directory. 3917 3978 if test -n "$CPP" && test -d "$CPP"; then … … 3947 4008 Syntax error 3948 4009 _ACEOF 3949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3950 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4010 if { (ac_try="$ac_cpp conftest.$ac_ext" 4011 case "(($ac_try" in 4012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4013 *) ac_try_echo=$ac_try;; 4014 esac 4015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4016 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3951 4017 ac_status=$? 3952 4018 grep -v '^ *+' conftest.er1 >conftest.err … … 3954 4020 cat conftest.err >&5 3955 4021 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 4022 (exit $ac_status); } >/dev/null && { 4023 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4024 test ! -s conftest.err 4025 }; then 3967 4026 : 3968 4027 else … … 3973 4032 continue 3974 4033 fi 4034 3975 4035 rm -f conftest.err conftest.$ac_ext 3976 4036 3977 # OK, works on sane cases. Now check whether non -existent headers4037 # OK, works on sane cases. Now check whether nonexistent headers 3978 4038 # can be detected and how. 3979 4039 cat >conftest.$ac_ext <<_ACEOF … … 3985 4045 #include <ac_nonexistent.h> 3986 4046 _ACEOF 3987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3988 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4047 if { (ac_try="$ac_cpp conftest.$ac_ext" 4048 case "(($ac_try" in 4049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4050 *) ac_try_echo=$ac_try;; 4051 esac 4052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4053 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3989 4054 ac_status=$? 3990 4055 grep -v '^ *+' conftest.er1 >conftest.err … … 3992 4057 cat conftest.err >&5 3993 4058 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 4059 (exit $ac_status); } >/dev/null && { 4060 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4061 test ! -s conftest.err 4062 }; then 4005 4063 # Broken: success on invalid input. 4006 4064 continue … … 4013 4071 break 4014 4072 fi 4073 4015 4074 rm -f conftest.err conftest.$ac_ext 4016 4075 … … 4030 4089 ac_cv_prog_CPP=$CPP 4031 4090 fi 4032 echo "$as_me:$LINENO: result: $CPP" >&54033 echo "${ECHO_T}$CPP" >&6 4091 { echo "$as_me:$LINENO: result: $CPP" >&5 4092 echo "${ECHO_T}$CPP" >&6; } 4034 4093 ac_preproc_ok=false 4035 4094 for ac_c_preproc_warn_flag in '' yes … … 4054 4113 Syntax error 4055 4114 _ACEOF 4056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4057 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4115 if { (ac_try="$ac_cpp conftest.$ac_ext" 4116 case "(($ac_try" in 4117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4118 *) ac_try_echo=$ac_try;; 4119 esac 4120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4121 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4058 4122 ac_status=$? 4059 4123 grep -v '^ *+' conftest.er1 >conftest.err … … 4061 4125 cat conftest.err >&5 4062 4126 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 4127 (exit $ac_status); } >/dev/null && { 4128 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4129 test ! -s conftest.err 4130 }; then 4074 4131 : 4075 4132 else … … 4080 4137 continue 4081 4138 fi 4139 4082 4140 rm -f conftest.err conftest.$ac_ext 4083 4141 4084 # OK, works on sane cases. Now check whether non -existent headers4142 # OK, works on sane cases. Now check whether nonexistent headers 4085 4143 # can be detected and how. 4086 4144 cat >conftest.$ac_ext <<_ACEOF … … 4092 4150 #include <ac_nonexistent.h> 4093 4151 _ACEOF 4094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4152 if { (ac_try="$ac_cpp conftest.$ac_ext" 4153 case "(($ac_try" in 4154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4155 *) ac_try_echo=$ac_try;; 4156 esac 4157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4158 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4096 4159 ac_status=$? 4097 4160 grep -v '^ *+' conftest.er1 >conftest.err … … 4099 4162 cat conftest.err >&5 4100 4163 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 4164 (exit $ac_status); } >/dev/null && { 4165 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4166 test ! -s conftest.err 4167 }; then 4112 4168 # Broken: success on invalid input. 4113 4169 continue … … 4120 4176 break 4121 4177 fi 4178 4122 4179 rm -f conftest.err conftest.$ac_ext 4123 4180 … … 4142 4199 4143 4200 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; then4201 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4202 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4203 if test "${ac_cv_path_GREP+set}" = set; then 4147 4204 echo $ECHO_N "(cached) $ECHO_C" >&6 4148 4205 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' 4206 # Extract the first word of "grep ggrep" to use in msg output 4207 if test -z "$GREP"; then 4208 set dummy grep ggrep; ac_prog_name=$2 4209 if test "${ac_cv_path_GREP+set}" = set; then 4210 echo $ECHO_N "(cached) $ECHO_C" >&6 4211 else 4212 ac_path_GREP_found=false 4213 # Loop through the user's path and test for each of PROGNAME-LIST 4214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4215 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4216 do 4217 IFS=$as_save_IFS 4218 test -z "$as_dir" && as_dir=. 4219 for ac_prog in grep ggrep; do 4220 for ac_exec_ext in '' $ac_executable_extensions; do 4221 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4222 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4223 # Check for GNU ac_path_GREP and select it if it is found. 4224 # Check for GNU $ac_path_GREP 4225 case `"$ac_path_GREP" --version 2>&1` in 4226 *GNU*) 4227 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4228 *) 4229 ac_count=0 4230 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4231 while : 4232 do 4233 cat "conftest.in" "conftest.in" >"conftest.tmp" 4234 mv "conftest.tmp" "conftest.in" 4235 cp "conftest.in" "conftest.nl" 4236 echo 'GREP' >> "conftest.nl" 4237 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4238 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4239 ac_count=`expr $ac_count + 1` 4240 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4241 # Best one so far, save it but keep looking for a better one 4242 ac_cv_path_GREP="$ac_path_GREP" 4243 ac_path_GREP_max=$ac_count 4152 4244 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 4245 # 10*(2^10) chars as input seems more than enough 4246 test $ac_count -gt 10 && break 4247 done 4248 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4249 esac 4250 4251 4252 $ac_path_GREP_found && break 3 4253 done 4254 done 4255 4256 done 4257 IFS=$as_save_IFS 4258 4259 4260 fi 4261 4262 GREP="$ac_cv_path_GREP" 4263 if test -z "$GREP"; then 4264 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4265 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4266 { (exit 1); exit 1; }; } 4267 fi 4268 4269 else 4270 ac_cv_path_GREP=$GREP 4271 fi 4272 4273 4274 fi 4275 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4276 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4277 GREP="$ac_cv_path_GREP" 4278 4279 4280 { echo "$as_me:$LINENO: checking for egrep" >&5 4281 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4282 if test "${ac_cv_path_EGREP+set}" = set; then 4283 echo $ECHO_N "(cached) $ECHO_C" >&6 4284 else 4285 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4286 then ac_cv_path_EGREP="$GREP -E" 4287 else 4288 # Extract the first word of "egrep" to use in msg output 4289 if test -z "$EGREP"; then 4290 set dummy egrep; ac_prog_name=$2 4291 if test "${ac_cv_path_EGREP+set}" = set; then 4292 echo $ECHO_N "(cached) $ECHO_C" >&6 4293 else 4294 ac_path_EGREP_found=false 4295 # Loop through the user's path and test for each of PROGNAME-LIST 4296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4297 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4298 do 4299 IFS=$as_save_IFS 4300 test -z "$as_dir" && as_dir=. 4301 for ac_prog in egrep; do 4302 for ac_exec_ext in '' $ac_executable_extensions; do 4303 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4304 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4305 # Check for GNU ac_path_EGREP and select it if it is found. 4306 # Check for GNU $ac_path_EGREP 4307 case `"$ac_path_EGREP" --version 2>&1` in 4308 *GNU*) 4309 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4310 *) 4311 ac_count=0 4312 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4313 while : 4314 do 4315 cat "conftest.in" "conftest.in" >"conftest.tmp" 4316 mv "conftest.tmp" "conftest.in" 4317 cp "conftest.in" "conftest.nl" 4318 echo 'EGREP' >> "conftest.nl" 4319 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4320 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4321 ac_count=`expr $ac_count + 1` 4322 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4323 # Best one so far, save it but keep looking for a better one 4324 ac_cv_path_EGREP="$ac_path_EGREP" 4325 ac_path_EGREP_max=$ac_count 4326 fi 4327 # 10*(2^10) chars as input seems more than enough 4328 test $ac_count -gt 10 && break 4329 done 4330 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4331 esac 4332 4333 4334 $ac_path_EGREP_found && break 3 4335 done 4336 done 4337 4338 done 4339 IFS=$as_save_IFS 4340 4341 4342 fi 4343 4344 EGREP="$ac_cv_path_EGREP" 4345 if test -z "$EGREP"; then 4346 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4347 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4348 { (exit 1); exit 1; }; } 4349 fi 4350 4351 else 4352 ac_cv_path_EGREP=$EGREP 4353 fi 4354 4355 4356 fi 4357 fi 4358 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4359 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4360 EGREP="$ac_cv_path_EGREP" 4361 4362 4363 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4364 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4161 4365 if test "${ac_cv_header_stdc+set}" = set; then 4162 4366 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4182 4386 _ACEOF 4183 4387 rm -f conftest.$ac_objext 4184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4185 (eval $ac_compile) 2>conftest.er1 4388 if { (ac_try="$ac_compile" 4389 case "(($ac_try" in 4390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4391 *) ac_try_echo=$ac_try;; 4392 esac 4393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4394 (eval "$ac_compile") 2>conftest.er1 4186 4395 ac_status=$? 4187 4396 grep -v '^ *+' conftest.er1 >conftest.err … … 4189 4398 cat conftest.err >&5 4190 4399 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 4400 (exit $ac_status); } && { 4401 test -z "$ac_c_werror_flag" || 4402 test ! -s conftest.err 4403 } && test -s conftest.$ac_objext; then 4205 4404 ac_cv_header_stdc=yes 4206 4405 else … … 4208 4407 sed 's/^/| /' conftest.$ac_ext >&5 4209 4408 4210 ac_cv_header_stdc=no 4211 fi 4212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4409 ac_cv_header_stdc=no 4410 fi 4411 4412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4213 4413 4214 4414 if test $ac_cv_header_stdc = yes; then … … 4266 4466 /* end confdefs.h. */ 4267 4467 #include <ctype.h> 4468 #include <stdlib.h> 4268 4469 #if ((' ' & 0x0FF) == 0x020) 4269 4470 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4285 4486 if (XOR (islower (i), ISLOWER (i)) 4286 4487 || toupper (i) != TOUPPER (i)) 4287 exit(2);4288 exit (0);4488 return 2; 4489 return 0; 4289 4490 } 4290 4491 _ACEOF 4291 4492 rm -f conftest$ac_exeext 4292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4293 (eval $ac_link) 2>&5 4493 if { (ac_try="$ac_link" 4494 case "(($ac_try" in 4495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4496 *) ac_try_echo=$ac_try;; 4497 esac 4498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4499 (eval "$ac_link") 2>&5 4294 4500 ac_status=$? 4295 4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4296 4502 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4298 (eval $ac_try) 2>&5 4503 { (case "(($ac_try" in 4504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4505 *) ac_try_echo=$ac_try;; 4506 esac 4507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4508 (eval "$ac_try") 2>&5 4299 4509 ac_status=$? 4300 4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4309 4519 ac_cv_header_stdc=no 4310 4520 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 4521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4522 fi 4523 4524 4525 fi 4526 fi 4527 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4528 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4317 4529 if test $ac_cv_header_stdc = yes; then 4318 4530 … … 4337 4549 do 4338 4550 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"; then4551 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4553 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4342 4554 echo $ECHO_N "(cached) $ECHO_C" >&6 4343 4555 else … … 4353 4565 _ACEOF 4354 4566 rm -f conftest.$ac_objext 4355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4356 (eval $ac_compile) 2>conftest.er1 4567 if { (ac_try="$ac_compile" 4568 case "(($ac_try" in 4569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4570 *) ac_try_echo=$ac_try;; 4571 esac 4572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4573 (eval "$ac_compile") 2>conftest.er1 4357 4574 ac_status=$? 4358 4575 grep -v '^ *+' conftest.er1 >conftest.err … … 4360 4577 cat conftest.err >&5 4361 4578 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 4579 (exit $ac_status); } && { 4580 test -z "$ac_c_werror_flag" || 4581 test ! -s conftest.err 4582 } && test -s conftest.$ac_objext; then 4376 4583 eval "$as_ac_Header=yes" 4377 4584 else … … 4379 4586 sed 's/^/| /' conftest.$ac_ext >&5 4380 4587 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 4588 eval "$as_ac_Header=no" 4589 fi 4590 4591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4592 fi 4593 ac_res=`eval echo '${'$as_ac_Header'}'` 4594 { echo "$as_me:$LINENO: result: $ac_res" >&5 4595 echo "${ECHO_T}$ac_res" >&6; } 4387 4596 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4388 4597 cat >>confdefs.h <<_ACEOF … … 4395 4604 4396 4605 4606 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4607 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 4608 if test "${ac_cv_c_bigendian+set}" = set; then 4609 echo $ECHO_N "(cached) $ECHO_C" >&6 4610 else 4611 # See if sys/param.h defines the BYTE_ORDER macro. 4612 cat >conftest.$ac_ext <<_ACEOF 4613 /* confdefs.h. */ 4614 _ACEOF 4615 cat confdefs.h >>conftest.$ac_ext 4616 cat >>conftest.$ac_ext <<_ACEOF 4617 /* end confdefs.h. */ 4618 #include <sys/types.h> 4619 #include <sys/param.h> 4620 4621 int 4622 main () 4623 { 4624 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4625 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4626 bogus endian macros 4627 #endif 4628 4629 ; 4630 return 0; 4631 } 4632 _ACEOF 4633 rm -f conftest.$ac_objext 4634 if { (ac_try="$ac_compile" 4635 case "(($ac_try" in 4636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4637 *) ac_try_echo=$ac_try;; 4638 esac 4639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4640 (eval "$ac_compile") 2>conftest.er1 4641 ac_status=$? 4642 grep -v '^ *+' conftest.er1 >conftest.err 4643 rm -f conftest.er1 4644 cat conftest.err >&5 4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4646 (exit $ac_status); } && { 4647 test -z "$ac_c_werror_flag" || 4648 test ! -s conftest.err 4649 } && test -s conftest.$ac_objext; then 4650 # It does; now see whether it defined to BIG_ENDIAN or not. 4651 cat >conftest.$ac_ext <<_ACEOF 4652 /* confdefs.h. */ 4653 _ACEOF 4654 cat confdefs.h >>conftest.$ac_ext 4655 cat >>conftest.$ac_ext <<_ACEOF 4656 /* end confdefs.h. */ 4657 #include <sys/types.h> 4658 #include <sys/param.h> 4659 4660 int 4661 main () 4662 { 4663 #if BYTE_ORDER != BIG_ENDIAN 4664 not big endian 4665 #endif 4666 4667 ; 4668 return 0; 4669 } 4670 _ACEOF 4671 rm -f conftest.$ac_objext 4672 if { (ac_try="$ac_compile" 4673 case "(($ac_try" in 4674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4675 *) ac_try_echo=$ac_try;; 4676 esac 4677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4678 (eval "$ac_compile") 2>conftest.er1 4679 ac_status=$? 4680 grep -v '^ *+' conftest.er1 >conftest.err 4681 rm -f conftest.er1 4682 cat conftest.err >&5 4683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4684 (exit $ac_status); } && { 4685 test -z "$ac_c_werror_flag" || 4686 test ! -s conftest.err 4687 } && test -s conftest.$ac_objext; then 4688 ac_cv_c_bigendian=yes 4689 else 4690 echo "$as_me: failed program was:" >&5 4691 sed 's/^/| /' conftest.$ac_ext >&5 4692 4693 ac_cv_c_bigendian=no 4694 fi 4695 4696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4697 else 4698 echo "$as_me: failed program was:" >&5 4699 sed 's/^/| /' conftest.$ac_ext >&5 4700 4701 # It does not; compile a test program. 4702 if test "$cross_compiling" = yes; then 4703 # try to guess the endianness by grepping values into an object file 4704 ac_cv_c_bigendian=unknown 4705 cat >conftest.$ac_ext <<_ACEOF 4706 /* confdefs.h. */ 4707 _ACEOF 4708 cat confdefs.h >>conftest.$ac_ext 4709 cat >>conftest.$ac_ext <<_ACEOF 4710 /* end confdefs.h. */ 4711 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4712 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4713 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 4714 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4715 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4716 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 4717 int 4718 main () 4719 { 4720 _ascii (); _ebcdic (); 4721 ; 4722 return 0; 4723 } 4724 _ACEOF 4725 rm -f conftest.$ac_objext 4726 if { (ac_try="$ac_compile" 4727 case "(($ac_try" in 4728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4729 *) ac_try_echo=$ac_try;; 4730 esac 4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4732 (eval "$ac_compile") 2>conftest.er1 4733 ac_status=$? 4734 grep -v '^ *+' conftest.er1 >conftest.err 4735 rm -f conftest.er1 4736 cat conftest.err >&5 4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4738 (exit $ac_status); } && { 4739 test -z "$ac_c_werror_flag" || 4740 test ! -s conftest.err 4741 } && test -s conftest.$ac_objext; then 4742 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 4743 ac_cv_c_bigendian=yes 4744 fi 4745 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4746 if test "$ac_cv_c_bigendian" = unknown; then 4747 ac_cv_c_bigendian=no 4748 else 4749 # finding both strings is unlikely to happen, but who knows? 4750 ac_cv_c_bigendian=unknown 4751 fi 4752 fi 4753 else 4754 echo "$as_me: failed program was:" >&5 4755 sed 's/^/| /' conftest.$ac_ext >&5 4756 4757 4758 fi 4759 4760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4761 else 4762 cat >conftest.$ac_ext <<_ACEOF 4763 /* confdefs.h. */ 4764 _ACEOF 4765 cat confdefs.h >>conftest.$ac_ext 4766 cat >>conftest.$ac_ext <<_ACEOF 4767 /* end confdefs.h. */ 4768 $ac_includes_default 4769 int 4770 main () 4771 { 4772 4773 /* Are we little or big endian? From Harbison&Steele. */ 4774 union 4775 { 4776 long int l; 4777 char c[sizeof (long int)]; 4778 } u; 4779 u.l = 1; 4780 return u.c[sizeof (long int) - 1] == 1; 4781 4782 ; 4783 return 0; 4784 } 4785 _ACEOF 4786 rm -f conftest$ac_exeext 4787 if { (ac_try="$ac_link" 4788 case "(($ac_try" in 4789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4790 *) ac_try_echo=$ac_try;; 4791 esac 4792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4793 (eval "$ac_link") 2>&5 4794 ac_status=$? 4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4796 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4797 { (case "(($ac_try" in 4798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4799 *) ac_try_echo=$ac_try;; 4800 esac 4801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4802 (eval "$ac_try") 2>&5 4803 ac_status=$? 4804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4805 (exit $ac_status); }; }; then 4806 ac_cv_c_bigendian=no 4807 else 4808 echo "$as_me: program exited with status $ac_status" >&5 4809 echo "$as_me: failed program was:" >&5 4810 sed 's/^/| /' conftest.$ac_ext >&5 4811 4812 ( exit $ac_status ) 4813 ac_cv_c_bigendian=yes 4814 fi 4815 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4816 fi 4817 4818 4819 fi 4820 4821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4822 fi 4823 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4824 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4825 case $ac_cv_c_bigendian in 4826 yes) 4827 4828 cat >>confdefs.h <<\_ACEOF 4829 #define WORDS_BIGENDIAN 1 4830 _ACEOF 4831 ;; 4832 no) 4833 ;; 4834 *) 4835 { { echo "$as_me:$LINENO: error: unknown endianness 4836 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4837 echo "$as_me: error: unknown endianness 4838 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4839 { (exit 1); exit 1; }; } ;; 4840 esac 4841 4842 4843 case $target in 4844 *mingw* | *cygw* | *win32* | *w32* ) 4845 cat >>confdefs.h <<\_ACEOF 4846 #define PJ_WIN32 1 4847 _ACEOF 4848 4849 cat >>confdefs.h <<\_ACEOF 4850 #define PJ_WIN32_WINNT 0x0400 4851 _ACEOF 4852 4853 cat >>confdefs.h <<\_ACEOF 4854 #define WIN32_LEAN_AND_MEAN 1 4855 _ACEOF 4856 4857 ;; 4858 *darwin*) 4859 cat >>confdefs.h <<\_ACEOF 4860 #define PJ_DARWINOS 1 4861 _ACEOF 4862 4863 ;; 4864 *linux*) 4865 cat >>confdefs.h <<\_ACEOF 4866 #define PJ_LINUX 1 4867 _ACEOF 4868 4869 ;; 4870 *rtems*) 4871 cat >>confdefs.h <<\_ACEOF 4872 #define PJ_RTEMS 1 4873 _ACEOF 4874 4875 ;; 4876 *sunos* | *solaris* ) 4877 cat >>confdefs.h <<\_ACEOF 4878 #define PJ_SUNOS 1 4879 _ACEOF 4880 4881 ;; 4882 *) 4883 ;; 4884 esac 4885 4886 4887 4888 4889 # Check whether --enable-floating-point was given. 4890 if test "${enable_floating_point+set}" = set; then 4891 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 4892 cat >>confdefs.h <<\_ACEOF 4893 #define PJ_HAS_FLOATING_POINT 0 4894 _ACEOF 4895 4896 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 4897 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 4898 fi 4899 else 4900 4901 cat >>confdefs.h <<\_ACEOF 4902 #define PJ_HAS_FLOATING_POINT 1 4903 _ACEOF 4904 4905 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 4906 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 4907 4908 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 4909 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 4910 if test "${ac_cv_lib_m_fmod+set}" = set; then 4911 echo $ECHO_N "(cached) $ECHO_C" >&6 4912 else 4913 ac_check_lib_save_LIBS=$LIBS 4914 LIBS="-lm $LIBS" 4915 cat >conftest.$ac_ext <<_ACEOF 4916 /* confdefs.h. */ 4917 _ACEOF 4918 cat confdefs.h >>conftest.$ac_ext 4919 cat >>conftest.$ac_ext <<_ACEOF 4920 /* end confdefs.h. */ 4921 4922 /* Override any GCC internal prototype to avoid an error. 4923 Use char because int might match the return type of a GCC 4924 builtin and then its argument prototype would still apply. */ 4925 #ifdef __cplusplus 4926 extern "C" 4927 #endif 4928 char fmod (); 4929 int 4930 main () 4931 { 4932 return fmod (); 4933 ; 4934 return 0; 4935 } 4936 _ACEOF 4937 rm -f conftest.$ac_objext conftest$ac_exeext 4938 if { (ac_try="$ac_link" 4939 case "(($ac_try" in 4940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4941 *) ac_try_echo=$ac_try;; 4942 esac 4943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4944 (eval "$ac_link") 2>conftest.er1 4945 ac_status=$? 4946 grep -v '^ *+' conftest.er1 >conftest.err 4947 rm -f conftest.er1 4948 cat conftest.err >&5 4949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4950 (exit $ac_status); } && { 4951 test -z "$ac_c_werror_flag" || 4952 test ! -s conftest.err 4953 } && test -s conftest$ac_exeext && 4954 $as_test_x conftest$ac_exeext; then 4955 ac_cv_lib_m_fmod=yes 4956 else 4957 echo "$as_me: failed program was:" >&5 4958 sed 's/^/| /' conftest.$ac_ext >&5 4959 4960 ac_cv_lib_m_fmod=no 4961 fi 4962 4963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4964 conftest$ac_exeext conftest.$ac_ext 4965 LIBS=$ac_check_lib_save_LIBS 4966 fi 4967 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 4968 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 4969 if test $ac_cv_lib_m_fmod = yes; then 4970 cat >>confdefs.h <<_ACEOF 4971 #define HAVE_LIBM 1 4972 _ACEOF 4973 4974 LIBS="-lm $LIBS" 4975 4976 fi 4977 4978 4979 fi 4980 4981 4982 4397 4983 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 4984 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 4985 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 4400 4986 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4401 4987 echo $ECHO_N "(cached) $ECHO_C" >&6 4402 4988 fi 4403 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&54404 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 4989 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 4990 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 4405 4991 else 4406 4992 # 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 4993 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 4994 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 4409 4995 cat >conftest.$ac_ext <<_ACEOF 4410 4996 /* confdefs.h. */ … … 4417 5003 _ACEOF 4418 5004 rm -f conftest.$ac_objext 4419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4420 (eval $ac_compile) 2>conftest.er1 5005 if { (ac_try="$ac_compile" 5006 case "(($ac_try" in 5007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5008 *) ac_try_echo=$ac_try;; 5009 esac 5010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5011 (eval "$ac_compile") 2>conftest.er1 4421 5012 ac_status=$? 4422 5013 grep -v '^ *+' conftest.er1 >conftest.err … … 4424 5015 cat conftest.err >&5 4425 5016 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 5017 (exit $ac_status); } && { 5018 test -z "$ac_c_werror_flag" || 5019 test ! -s conftest.err 5020 } && test -s conftest.$ac_objext; then 4440 5021 ac_header_compiler=yes 4441 5022 else … … 4443 5024 sed 's/^/| /' conftest.$ac_ext >&5 4444 5025 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 5026 ac_header_compiler=no 5027 fi 5028 5029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5030 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5031 echo "${ECHO_T}$ac_header_compiler" >&6; } 4450 5032 4451 5033 # 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 5034 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 5035 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 4454 5036 cat >conftest.$ac_ext <<_ACEOF 4455 5037 /* confdefs.h. */ … … 4460 5042 #include <arpa/inet.h> 4461 5043 _ACEOF 4462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5044 if { (ac_try="$ac_cpp conftest.$ac_ext" 5045 case "(($ac_try" in 5046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5047 *) ac_try_echo=$ac_try;; 5048 esac 5049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5050 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4464 5051 ac_status=$? 4465 5052 grep -v '^ *+' conftest.er1 >conftest.err … … 4467 5054 cat conftest.err >&5 4468 5055 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 5056 (exit $ac_status); } >/dev/null && { 5057 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5058 test ! -s conftest.err 5059 }; then 4480 5060 ac_header_preproc=yes 4481 5061 else … … 4485 5065 ac_header_preproc=no 4486 5066 fi 5067 4487 5068 rm -f conftest.err conftest.$ac_ext 4488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54489 echo "${ECHO_T}$ac_header_preproc" >&6 5069 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5070 echo "${ECHO_T}$ac_header_preproc" >&6; } 4490 5071 4491 5072 # So? What about this header? … … 4511 5092 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 4512 5093 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 5094 4521 5095 ;; 4522 5096 esac 4523 echo "$as_me:$LINENO: checking for arpa/inet.h" >&54524 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 5097 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5098 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 4525 5099 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4526 5100 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4528 5102 ac_cv_header_arpa_inet_h=$ac_header_preproc 4529 5103 fi 4530 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&54531 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 5104 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5105 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 4532 5106 4533 5107 fi … … 4541 5115 4542 5116 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 5117 { echo "$as_me:$LINENO: checking for assert.h" >&5 5118 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 4545 5119 if test "${ac_cv_header_assert_h+set}" = set; then 4546 5120 echo $ECHO_N "(cached) $ECHO_C" >&6 4547 5121 fi 4548 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&54549 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 5122 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5123 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 4550 5124 else 4551 5125 # Is the header compilable? 4552 echo "$as_me:$LINENO: checking assert.h usability" >&54553 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6 5126 { echo "$as_me:$LINENO: checking assert.h usability" >&5 5127 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 4554 5128 cat >conftest.$ac_ext <<_ACEOF 4555 5129 /* confdefs.h. */ … … 4562 5136 _ACEOF 4563 5137 rm -f conftest.$ac_objext 4564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4565 (eval $ac_compile) 2>conftest.er1 5138 if { (ac_try="$ac_compile" 5139 case "(($ac_try" in 5140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5141 *) ac_try_echo=$ac_try;; 5142 esac 5143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5144 (eval "$ac_compile") 2>conftest.er1 4566 5145 ac_status=$? 4567 5146 grep -v '^ *+' conftest.er1 >conftest.err … … 4569 5148 cat conftest.err >&5 4570 5149 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 5150 (exit $ac_status); } && { 5151 test -z "$ac_c_werror_flag" || 5152 test ! -s conftest.err 5153 } && test -s conftest.$ac_objext; then 4585 5154 ac_header_compiler=yes 4586 5155 else … … 4588 5157 sed 's/^/| /' conftest.$ac_ext >&5 4589 5158 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 5159 ac_header_compiler=no 5160 fi 5161 5162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5163 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5164 echo "${ECHO_T}$ac_header_compiler" >&6; } 4595 5165 4596 5166 # Is the header present? 4597 echo "$as_me:$LINENO: checking assert.h presence" >&54598 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6 5167 { echo "$as_me:$LINENO: checking assert.h presence" >&5 5168 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 4599 5169 cat >conftest.$ac_ext <<_ACEOF 4600 5170 /* confdefs.h. */ … … 4605 5175 #include <assert.h> 4606 5176 _ACEOF 4607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5177 if { (ac_try="$ac_cpp conftest.$ac_ext" 5178 case "(($ac_try" in 5179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5180 *) ac_try_echo=$ac_try;; 5181 esac 5182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5183 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4609 5184 ac_status=$? 4610 5185 grep -v '^ *+' conftest.er1 >conftest.err … … 4612 5187 cat conftest.err >&5 4613 5188 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 5189 (exit $ac_status); } >/dev/null && { 5190 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5191 test ! -s conftest.err 5192 }; then 4625 5193 ac_header_preproc=yes 4626 5194 else … … 4630 5198 ac_header_preproc=no 4631 5199 fi 5200 4632 5201 rm -f conftest.err conftest.$ac_ext 4633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54634 echo "${ECHO_T}$ac_header_preproc" >&6 5202 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5203 echo "${ECHO_T}$ac_header_preproc" >&6; } 4635 5204 4636 5205 # So? What about this header? … … 4656 5225 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 4657 5226 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 5227 4666 5228 ;; 4667 5229 esac 4668 echo "$as_me:$LINENO: checking for assert.h" >&54669 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 5230 { echo "$as_me:$LINENO: checking for assert.h" >&5 5231 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 4670 5232 if test "${ac_cv_header_assert_h+set}" = set; then 4671 5233 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4673 5235 ac_cv_header_assert_h=$ac_header_preproc 4674 5236 fi 4675 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&54676 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 5237 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5238 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 4677 5239 4678 5240 fi … … 4686 5248 4687 5249 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 5250 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5251 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 4690 5252 if test "${ac_cv_header_ctype_h+set}" = set; then 4691 5253 echo $ECHO_N "(cached) $ECHO_C" >&6 4692 5254 fi 4693 echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&54694 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 5255 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5256 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 4695 5257 else 4696 5258 # Is the header compilable? 4697 echo "$as_me:$LINENO: checking ctype.h usability" >&54698 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6 5259 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 5260 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 4699 5261 cat >conftest.$ac_ext <<_ACEOF 4700 5262 /* confdefs.h. */ … … 4707 5269 _ACEOF 4708 5270 rm -f conftest.$ac_objext 4709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4710 (eval $ac_compile) 2>conftest.er1 5271 if { (ac_try="$ac_compile" 5272 case "(($ac_try" in 5273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5274 *) ac_try_echo=$ac_try;; 5275 esac 5276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5277 (eval "$ac_compile") 2>conftest.er1 4711 5278 ac_status=$? 4712 5279 grep -v '^ *+' conftest.er1 >conftest.err … … 4714 5281 cat conftest.err >&5 4715 5282 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 4721 ac_status=$? 4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4723 (exit $ac_status); }; } && 4724 { ac_try='test -s conftest.$ac_objext' 4725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4726 (eval $ac_try) 2>&5 4727 ac_status=$? 4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4729 (exit $ac_status); }; }; then 5283 (exit $ac_status); } && { 5284 test -z "$ac_c_werror_flag" || 5285 test ! -s conftest.err 5286 } && test -s conftest.$ac_objext; then 4730 5287 ac_header_compiler=yes 4731 5288 else … … 4733 5290 sed 's/^/| /' conftest.$ac_ext >&5 4734 5291 4735 ac_header_compiler=no 4736 fi 4737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4739 echo "${ECHO_T}$ac_header_compiler" >&6 5292 ac_header_compiler=no 5293 fi 5294 5295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5296 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5297 echo "${ECHO_T}$ac_header_compiler" >&6; } 4740 5298 4741 5299 # Is the header present? 4742 echo "$as_me:$LINENO: checking ctype.h presence" >&54743 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6 5300 { echo "$as_me:$LINENO: checking ctype.h presence" >&5 5301 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6; } 4744 5302 cat >conftest.$ac_ext <<_ACEOF 4745 5303 /* confdefs.h. */ … … 4750 5308 #include <ctype.h> 4751 5309 _ACEOF