Changeset 1728
- Timestamp:
- Jan 23, 2008 1:42:01 PM (17 years ago)
- Location:
- pjproject/branches/users/nanang
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/users/nanang/aconfigure
r1673 r1728 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59for pjproject 0.7.3 # Generated by GNU Autoconf 2.61 for pjproject 0.7. 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 CPP EGREP ac_os_objs ac_pjmedia_snd ac_pa_cflags ac_pa_use_alsa 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_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 CPP 676 GREP 677 EGREP 678 ac_os_objs 679 ac_pjmedia_snd 680 ac_pa_cflags 681 ac_pa_use_alsa 682 ac_no_small_filter 683 ac_no_large_filter 684 ac_no_speex_aec 685 ac_no_g711_codec 686 ac_no_l16_codec 687 ac_no_gsm_codec 688 ac_no_speex_codec 689 ac_no_ilbc_codec 690 ac_no_ssl 691 openssl_h_present 692 libssl_present 693 libcrypto_present 694 ac_cross_compile 695 ac_linux_poll 696 ac_host 697 ac_main_obj 698 LIBOBJS 699 LTLIBOBJS' 312 700 ac_subst_files='' 701 ac_precious_vars='build_alias 702 host_alias 703 target_alias 704 CC 705 CFLAGS 706 LDFLAGS 707 LIBS 708 CPPFLAGS 709 CXX 710 CXXFLAGS 711 CCC 712 CPP' 713 313 714 314 715 # Initialize some variables set by options. … … 337 738 # by default will actually change. 338 739 # Use braces instead of parens because sh, perl, etc. also accept them. 740 # (The list follows the same order as the GNU Coding Standards.) 339 741 bindir='${exec_prefix}/bin' 340 742 sbindir='${exec_prefix}/sbin' 341 743 libexecdir='${exec_prefix}/libexec' 342 datadir='${prefix}/share' 744 datarootdir='${prefix}/share' 745 datadir='${datarootdir}' 343 746 sysconfdir='${prefix}/etc' 344 747 sharedstatedir='${prefix}/com' 345 748 localstatedir='${prefix}/var' 346 libdir='${exec_prefix}/lib'347 749 includedir='${prefix}/include' 348 750 oldincludedir='/usr/include' 349 infodir='${prefix}/info' 350 mandir='${prefix}/man' 751 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 752 infodir='${datarootdir}/info' 753 htmldir='${docdir}' 754 dvidir='${docdir}' 755 pdfdir='${docdir}' 756 psdir='${docdir}' 757 libdir='${exec_prefix}/lib' 758 localedir='${datarootdir}/locale' 759 mandir='${datarootdir}/man' 351 760 352 761 ac_prev= 762 ac_dashdash= 353 763 for ac_option 354 764 do 355 765 # If the previous option needs an argument, assign it. 356 766 if test -n "$ac_prev"; then 357 eval "$ac_prev=\$ac_option"767 eval $ac_prev=\$ac_option 358 768 ac_prev= 359 769 continue 360 770 fi 361 771 362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 772 case $ac_option in 773 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 774 *) ac_optarg=yes ;; 775 esac 363 776 364 777 # Accept the important Cygnus configure options, so we can diagnose typos. 365 778 366 case $ac_option in 779 case $ac_dashdash$ac_option in 780 --) 781 ac_dashdash=yes ;; 367 782 368 783 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 386 801 cache_file=config.cache ;; 387 802 388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)803 -datadir | --datadir | --datadi | --datad) 389 804 ac_prev=datadir ;; 390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 391 | --da=*) 805 -datadir=* | --datadir=* | --datadi=* | --datad=*) 392 806 datadir=$ac_optarg ;; 807 808 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 809 | --dataroo | --dataro | --datar) 810 ac_prev=datarootdir ;; 811 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 812 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 813 datarootdir=$ac_optarg ;; 393 814 394 815 -disable-* | --disable-*) 395 816 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 396 817 # Reject names that are not valid shell variable names. 397 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&818 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 398 819 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 399 820 { (exit 1); exit 1; }; } 400 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 401 eval "enable_$ac_feature=no" ;; 821 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 822 eval enable_$ac_feature=no ;; 823 824 -docdir | --docdir | --docdi | --doc | --do) 825 ac_prev=docdir ;; 826 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 827 docdir=$ac_optarg ;; 828 829 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 830 ac_prev=dvidir ;; 831 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 832 dvidir=$ac_optarg ;; 402 833 403 834 -enable-* | --enable-*) 404 835 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 405 836 # Reject names that are not valid shell variable names. 406 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&837 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 407 838 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 408 839 { (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'" ;; 840 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 841 eval enable_$ac_feature=\$ac_optarg ;; 415 842 416 843 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 439 866 host_alias=$ac_optarg ;; 440 867 868 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 869 ac_prev=htmldir ;; 870 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 871 | --ht=*) 872 htmldir=$ac_optarg ;; 873 441 874 -includedir | --includedir | --includedi | --included | --include \ 442 875 | --includ | --inclu | --incl | --inc) … … 463 896 libexecdir=$ac_optarg ;; 464 897 898 -localedir | --localedir | --localedi | --localed | --locale) 899 ac_prev=localedir ;; 900 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 901 localedir=$ac_optarg ;; 902 465 903 -localstatedir | --localstatedir | --localstatedi | --localstated \ 466 | --localstate | --localstat | --localsta | --localst \ 467 | --locals | --local | --loca | --loc | --lo) 904 | --localstate | --localstat | --localsta | --localst | --locals) 468 905 ac_prev=localstatedir ;; 469 906 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 907 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 472 908 localstatedir=$ac_optarg ;; 473 909 … … 534 970 program_transform_name=$ac_optarg ;; 535 971 972 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 973 ac_prev=pdfdir ;; 974 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 975 pdfdir=$ac_optarg ;; 976 977 -psdir | --psdir | --psdi | --psd | --ps) 978 ac_prev=psdir ;; 979 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 980 psdir=$ac_optarg ;; 981 536 982 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 537 983 | -silent | --silent | --silen | --sile | --sil) … … 586 1032 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 587 1033 # Reject names that are not valid shell variable names. 588 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1034 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 589 1035 { echo "$as_me: error: invalid package name: $ac_package" >&2 590 1036 { (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'" ;; 1037 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1038 eval with_$ac_package=\$ac_optarg ;; 597 1039 598 1040 -without-* | --without-*) 599 1041 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 600 1042 # Reject names that are not valid shell variable names. 601 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1043 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 602 1044 { echo "$as_me: error: invalid package name: $ac_package" >&2 603 1045 { (exit 1); exit 1; }; } 604 ac_package=`echo $ac_package | sed 's/ -/_/g'`605 eval "with_$ac_package=no";;1046 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1047 eval with_$ac_package=no ;; 606 1048 607 1049 --x) … … 634 1076 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 635 1077 { (exit 1); exit 1; }; } 636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 637 eval "$ac_envvar='$ac_optarg'" 1078 eval $ac_envvar=\$ac_optarg 638 1079 export $ac_envvar ;; 639 1080 … … 655 1096 fi 656 1097 657 # Be sure to have absolute paths. 658 for ac_var in exec_prefix prefix 1098 # Be sure to have absolute directory names. 1099 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1100 datadir sysconfdir sharedstatedir localstatedir includedir \ 1101 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1102 libdir localedir mandir 659 1103 do 660 eval ac_val= $`echo $ac_var`1104 eval ac_val=\$$ac_var 661 1105 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; }; };; 1106 [\\/$]* | ?:[\\/]* ) continue;; 1107 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 665 1108 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 1109 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1110 { (exit 1); exit 1; }; } 678 1111 done 679 1112 … … 702 1135 703 1136 1137 ac_pwd=`pwd` && test -n "$ac_pwd" && 1138 ac_ls_di=`ls -di .` && 1139 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1140 { echo "$as_me: error: Working directory cannot be determined" >&2 1141 { (exit 1); exit 1; }; } 1142 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1143 { echo "$as_me: error: pwd does not report name of working directory" >&2 1144 { (exit 1); exit 1; }; } 1145 1146 704 1147 # Find the source files, if location was not specified. 705 1148 if test -z "$srcdir"; then 706 1149 ac_srcdir_defaulted=yes 707 # Try the directory containing this script, then its parent.708 ac_confdir=` (dirname "$0") 2>/dev/null||1150 # Try the directory containing this script, then the parent directory. 1151 ac_confdir=`$as_dirname -- "$0" || 709 1152 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 710 1153 X"$0" : 'X\(//\)[^/]' \| \ 711 1154 X"$0" : 'X\(//\)$' \| \ 712 X"$0" : 'X\(/\)' \| \ 713 . : '\(.\)' 2>/dev/null || 1155 X"$0" : 'X\(/\)' \| . 2>/dev/null || 714 1156 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'` 1157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1158 s//\1/ 1159 q 1160 } 1161 /^X\(\/\/\)[^/].*/{ 1162 s//\1/ 1163 q 1164 } 1165 /^X\(\/\/\)$/{ 1166 s//\1/ 1167 q 1168 } 1169 /^X\(\/\).*/{ 1170 s//\1/ 1171 q 1172 } 1173 s/.*/./; q'` 720 1174 srcdir=$ac_confdir 721 if test ! -r $srcdir/$ac_unique_file; then1175 if test ! -r "$srcdir/$ac_unique_file"; then 722 1176 srcdir=.. 723 1177 fi … … 725 1179 ac_srcdir_defaulted=no 726 1180 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 .." >&21181 if test ! -r "$srcdir/$ac_unique_file"; then 1182 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1183 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 730 1184 { (exit 1); exit 1; }; } 731 else 732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1185 fi 1186 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1187 ac_abs_confdir=`( 1188 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 733 1189 { (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 1190 pwd)` 1191 # When building in place, set srcdir=. 1192 if test "$ac_abs_confdir" = "$ac_pwd"; then 1193 srcdir=. 1194 fi 1195 # Remove unnecessary trailing slashes from srcdir. 1196 # Double slashes in file names in object file debugging info 1197 # mess up M-x gdb in Emacs. 1198 case $srcdir in 1199 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1200 esac 1201 for ac_var in $ac_precious_vars; do 1202 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1203 eval ac_env_${ac_var}_value=\$${ac_var} 1204 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1205 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1206 done 780 1207 781 1208 # … … 806 1233 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 807 1234 808 _ACEOF809 810 cat <<_ACEOF811 1235 Installation directories: 812 1236 --prefix=PREFIX install architecture-independent files in PREFIX … … 826 1250 --sbindir=DIR system admin executables [EPREFIX/sbin] 827 1251 --libexecdir=DIR program executables [EPREFIX/libexec] 828 --datadir=DIR read-only architecture-independent data [PREFIX/share]829 1252 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 830 1253 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 833 1256 --includedir=DIR C header files [PREFIX/include] 834 1257 --oldincludedir=DIR C header files for non-gcc [/usr/include] 835 --infodir=DIR info documentation [PREFIX/info] 836 --mandir=DIR man documentation [PREFIX/man] 1258 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1259 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1260 --infodir=DIR info documentation [DATAROOTDIR/info] 1261 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1262 --mandir=DIR man documentation [DATAROOTDIR/man] 1263 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] 1264 --htmldir=DIR html documentation [DOCDIR] 1265 --dvidir=DIR dvi documentation [DOCDIR] 1266 --pdfdir=DIR pdf documentation [DOCDIR] 1267 --psdir=DIR ps documentation [DOCDIR] 837 1268 _ACEOF 838 1269 … … 876 1307 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 877 1308 nonstandard directory <lib dir> 878 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 879 headers in a nonstandard directory <include dir> 1309 LIBS libraries to pass to the linker, e.g. -l<library> 1310 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1311 you have headers in a nonstandard directory <include dir> 880 1312 CXX C++ compiler command 881 1313 CXXFLAGS C++ compiler flags … … 886 1318 887 1319 _ACEOF 1320 ac_status=$? 888 1321 fi 889 1322 890 1323 if test "$ac_init_help" = "recursive"; then 891 1324 # If there are subdirs, report their specific --help. 892 ac_popdir=`pwd`893 1325 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 894 test -d $ac_dir|| continue1326 test -d "$ac_dir" || continue 895 1327 ac_builddir=. 896 1328 897 if test "$ac_dir" != .; then 1329 case "$ac_dir" in 1330 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1331 *) 898 1332 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 899 # A "../" for each directory in $ac_dir_suffix. 900 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 901 else 902 ac_dir_suffix= ac_top_builddir= 903 fi 1333 # A ".." for each directory in $ac_dir_suffix. 1334 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1335 case $ac_top_builddir_sub in 1336 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1337 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1338 esac ;; 1339 esac 1340 ac_abs_top_builddir=$ac_pwd 1341 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1342 # for backward compatibility: 1343 ac_top_builddir=$ac_top_build_prefix 904 1344 905 1345 case $srcdir in 906 .) # No --srcdir option.We are building in place.1346 .) # We are building in place. 907 1347 ac_srcdir=. 908 if test -z "$ac_top_builddir"; then 909 ac_top_srcdir=. 910 else 911 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 912 fi ;; 913 [\\/]* | ?:[\\/]* ) # Absolute path. 1348 ac_top_srcdir=$ac_top_builddir_sub 1349 ac_abs_top_srcdir=$ac_pwd ;; 1350 [\\/]* | ?:[\\/]* ) # Absolute name. 914 1351 ac_srcdir=$srcdir$ac_dir_suffix; 915 ac_top_srcdir=$srcdir ;; 916 *) # Relative path. 917 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 918 ac_top_srcdir=$ac_top_builddir$srcdir ;; 919 esac 920 921 # Do not use `cd foo && pwd` to compute absolute paths, because 922 # the directories may not exist. 923 case `pwd` in 924 .) ac_abs_builddir="$ac_dir";; 925 *) 926 case "$ac_dir" in 927 .) ac_abs_builddir=`pwd`;; 928 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 929 *) ac_abs_builddir=`pwd`/"$ac_dir";; 930 esac;; 931 esac 932 case $ac_abs_builddir in 933 .) ac_abs_top_builddir=${ac_top_builddir}.;; 934 *) 935 case ${ac_top_builddir}. in 936 .) ac_abs_top_builddir=$ac_abs_builddir;; 937 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 938 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 939 esac;; 940 esac 941 case $ac_abs_builddir in 942 .) ac_abs_srcdir=$ac_srcdir;; 943 *) 944 case $ac_srcdir in 945 .) ac_abs_srcdir=$ac_abs_builddir;; 946 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 947 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 948 esac;; 949 esac 950 case $ac_abs_builddir in 951 .) ac_abs_top_srcdir=$ac_top_srcdir;; 952 *) 953 case $ac_top_srcdir in 954 .) ac_abs_top_srcdir=$ac_abs_builddir;; 955 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 956 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 957 esac;; 958 esac 959 960 cd $ac_dir 961 # Check for guested configure; otherwise get Cygnus style configure. 962 if test -f $ac_srcdir/configure.gnu; then 963 echo 964 $SHELL $ac_srcdir/configure.gnu --help=recursive 965 elif test -f $ac_srcdir/configure; then 966 echo 967 $SHELL $ac_srcdir/configure --help=recursive 968 elif test -f $ac_srcdir/configure.ac || 969 test -f $ac_srcdir/configure.in; then 970 echo 971 $ac_configure --help 1352 ac_top_srcdir=$srcdir 1353 ac_abs_top_srcdir=$srcdir ;; 1354 *) # Relative name. 1355 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1356 ac_top_srcdir=$ac_top_build_prefix$srcdir 1357 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1358 esac 1359 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1360 1361 cd "$ac_dir" || { ac_status=$?; continue; } 1362 # Check for guested configure. 1363 if test -f "$ac_srcdir/configure.gnu"; then 1364 echo && 1365 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1366 elif test -f "$ac_srcdir/configure"; then 1367 echo && 1368 $SHELL "$ac_srcdir/configure" --help=recursive 972 1369 else 973 1370 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 974 fi 975 cd $ac_popdir1371 fi || ac_status=$? 1372 cd "$ac_pwd" || { ac_status=$?; break; } 976 1373 done 977 1374 fi 978 1375 979 test -n "$ac_init_help" && exit 01376 test -n "$ac_init_help" && exit $ac_status 980 1377 if $ac_init_version; then 981 1378 cat <<\_ACEOF 982 1379 pjproject configure 0.7 983 generated by GNU Autoconf 2.59 984 985 Copyright (C) 2003 Free Software Foundation, Inc. 1380 generated by GNU Autoconf 2.61 1381 1382 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1383 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 986 1384 This configure script is free software; the Free Software Foundation 987 1385 gives unlimited permission to copy, distribute and modify it. 988 1386 _ACEOF 989 exit 0 990 fi 991 exec 5>config.log 992 cat >&5 <<_ACEOF 1387 exit 1388 fi 1389 cat >config.log <<_ACEOF 993 1390 This file contains any messages produced by compilers while 994 1391 running configure, to aid debugging if configure makes a mistake. 995 1392 996 1393 It was created by pjproject $as_me 0.7, which was 997 generated by GNU Autoconf 2. 59. Invocation command line was1394 generated by GNU Autoconf 2.61. Invocation command line was 998 1395 999 1396 $ $0 $@ 1000 1397 1001 1398 _ACEOF 1399 exec 5>>config.log 1002 1400 { 1003 1401 cat <<_ASUNAME … … 1018 1416 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1019 1417 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1020 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1418 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1021 1419 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1022 1420 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1032 1430 echo "PATH: $as_dir" 1033 1431 done 1432 IFS=$as_save_IFS 1034 1433 1035 1434 } >&5 … … 1053 1452 ac_configure_args0= 1054 1453 ac_configure_args1= 1055 ac_sep=1056 1454 ac_must_keep_next=false 1057 1455 for ac_pass in 1 2 … … 1064 1462 | -silent | --silent | --silen | --sile | --sil) 1065 1463 continue ;; 1066 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1464 *\'*) 1067 1465 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1068 1466 esac … … 1086 1484 esac 1087 1485 fi 1088 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1089 # Get rid of the leading space. 1090 ac_sep=" " 1486 ac_configure_args="$ac_configure_args '$ac_arg'" 1091 1487 ;; 1092 1488 esac … … 1099 1495 # config.log. We remove comments because anyway the quotes in there 1100 1496 # would cause problems or look ugly. 1101 # WARNING: Be sure not to use single quotes in there, as some shells,1102 # such as our DU 5.0 friend, will then `close' the trap.1497 # WARNING: Use '\'' to represent an apostrophe within the trap. 1498 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1103 1499 trap 'exit_status=$? 1104 1500 # Save into config.log some information that might help in debugging. … … 1113 1509 echo 1114 1510 # The following way of writing the cache mishandles newlines in values, 1115 { 1511 ( 1512 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1513 eval ac_val=\$$ac_var 1514 case $ac_val in #( 1515 *${as_nl}*) 1516 case $ac_var in #( 1517 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1518 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1519 esac 1520 case $ac_var in #( 1521 _ | IFS | as_nl) ;; #( 1522 *) $as_unset $ac_var ;; 1523 esac ;; 1524 esac 1525 done 1116 1526 (set) 2>&1 | 1117 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1118 * ac_space=\ *)1527 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1528 *${as_nl}ac_space=\ *) 1119 1529 sed -n \ 1120 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1530 "s/'\''/'\''\\\\'\'''\''/g; 1531 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1532 ;; #( 1533 *) 1534 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1122 1535 ;; 1123 *) 1124 sed -n \ 1125 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1126 ;; 1127 esac; 1128 } 1536 esac | 1537 sort 1538 ) 1129 1539 echo 1130 1540 … … 1137 1547 for ac_var in $ac_subst_vars 1138 1548 do 1139 eval ac_val=$`echo $ac_var` 1140 echo "$ac_var='"'"'$ac_val'"'"'" 1549 eval ac_val=\$$ac_var 1550 case $ac_val in 1551 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1552 esac 1553 echo "$ac_var='\''$ac_val'\''" 1141 1554 done | sort 1142 1555 echo … … 1144 1557 if test -n "$ac_subst_files"; then 1145 1558 cat <<\_ASBOX 1146 ## ------------- ##1147 ## Output files. ##1148 ## ------------- ##1559 ## ------------------- ## 1560 ## File substitutions. ## 1561 ## ------------------- ## 1149 1562 _ASBOX 1150 1563 echo 1151 1564 for ac_var in $ac_subst_files 1152 1565 do 1153 eval ac_val=$`echo $ac_var` 1154 echo "$ac_var='"'"'$ac_val'"'"'" 1566 eval ac_val=\$$ac_var 1567 case $ac_val in 1568 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1569 esac 1570 echo "$ac_var='\''$ac_val'\''" 1155 1571 done | sort 1156 1572 echo … … 1164 1580 _ASBOX 1165 1581 echo 1166 sed "/^$/d" confdefs.h | sort1582 cat confdefs.h 1167 1583 echo 1168 1584 fi … … 1171 1587 echo "$as_me: exit $exit_status" 1172 1588 } >&5 1173 rm -f core *.core &&1174 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1589 rm -f core *.core core.conftest.* && 1590 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1175 1591 exit $exit_status 1176 1592 ' 0 1177 1593 for ac_signal in 1 2 13 15; do 1178 1594 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1181 1597 1182 1598 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1183 rm -rf conftest* confdefs.h 1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1185 echo >confdefs.h 1599 rm -f -r conftest* confdefs.h 1186 1600 1187 1601 # Predefined preprocessor variables. … … 1214 1628 # Let the site file select an alternate cache file if it wants to. 1215 1629 # Prefer explicitly selected file to automatically selected ones. 1216 if test -z "$CONFIG_SITE"; then 1217 if test "x$prefix" != xNONE; then 1218 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1219 else 1220 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1221 fi 1222 fi 1223 for ac_site_file in $CONFIG_SITE; do 1630 if test -n "$CONFIG_SITE"; then 1631 set x "$CONFIG_SITE" 1632 elif test "x$prefix" != xNONE; then 1633 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1634 else 1635 set x "$ac_default_prefix/share/config.site" \ 1636 "$ac_default_prefix/etc/config.site" 1637 fi 1638 shift 1639 for ac_site_file 1640 do 1224 1641 if test -r "$ac_site_file"; then 1225 1642 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1237 1654 echo "$as_me: loading cache $cache_file" >&6;} 1238 1655 case $cache_file in 1239 [\\/]* | ?:[\\/]* ) . $cache_file;;1240 *) . ./$cache_file;;1656 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1657 *) . "./$cache_file";; 1241 1658 esac 1242 1659 fi … … 1250 1667 # value. 1251 1668 ac_cache_corrupted=false 1252 for ac_var in `(set) 2>&1 | 1253 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1669 for ac_var in $ac_precious_vars; do 1254 1670 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1255 1671 eval ac_new_set=\$ac_env_${ac_var}_set 1256 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1257 eval ac_new_val= "\$ac_env_${ac_var}_value"1672 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1673 eval ac_new_val=\$ac_env_${ac_var}_value 1258 1674 case $ac_old_set,$ac_new_set in 1259 1675 set,) … … 1280 1696 if test "$ac_new_set" = set; then 1281 1697 case $ac_new_val in 1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1283 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1698 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1284 1699 *) ac_arg=$ac_var=$ac_new_val ;; 1285 1700 esac … … 1298 1713 fi 1299 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1300 1739 ac_ext=c 1301 1740 ac_cpp='$CPP $CPPFLAGS' … … 1306 1745 1307 1746 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1747 host_orig="$host" 1334 1748 1335 1749 ac_aux_dir= 1336 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do1337 if test -f $ac_dir/install-sh; then1750 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1751 if test -f "$ac_dir/install-sh"; then 1338 1752 ac_aux_dir=$ac_dir 1339 1753 ac_install_sh="$ac_aux_dir/install-sh -c" 1340 1754 break 1341 elif test -f $ac_dir/install.sh; then1755 elif test -f "$ac_dir/install.sh"; then 1342 1756 ac_aux_dir=$ac_dir 1343 1757 ac_install_sh="$ac_aux_dir/install.sh -c" 1344 1758 break 1345 elif test -f $ac_dir/shtool; then1759 elif test -f "$ac_dir/shtool"; then 1346 1760 ac_aux_dir=$ac_dir 1347 1761 ac_install_sh="$ac_aux_dir/shtool install -c" … … 1350 1764 done 1351 1765 if test -z "$ac_aux_dir"; then 1352 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&51353 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}1766 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 1767 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 1354 1768 { (exit 1); exit 1; }; } 1355 1769 fi 1356 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1357 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1358 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1770 1771 # These three variables are undocumented and unsupported, 1772 # and are intended to be withdrawn in a future Autoconf release. 1773 # They can cause serious problems if a builder's source tree is in a directory 1774 # whose full name contains unusual characters. 1775 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1776 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1777 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1778 1359 1779 1360 1780 # Make sure we can run config.sub. 1361 $ ac_config_subsun4 >/dev/null 2>&1 ||1362 { { echo "$as_me:$LINENO: error: cannot run $ ac_config_sub" >&51363 echo "$as_me: error: cannot run $ ac_config_sub" >&2;}1781 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1782 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 1783 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 1364 1784 { (exit 1); exit 1; }; } 1365 1785 1366 echo "$as_me:$LINENO: checking build system type" >&51367 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1786 { echo "$as_me:$LINENO: checking build system type" >&5 1787 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 1368 1788 if test "${ac_cv_build+set}" = set; then 1369 1789 echo $ECHO_N "(cached) $ECHO_C" >&6 1370 1790 else 1371 ac_ cv_build_alias=$build_alias1372 test -z "$ac_cv_build_alias"&&1373 ac_ cv_build_alias=`$ac_config_guess`1374 test -z "$ac_cv_build_alias"&&1791 ac_build_alias=$build_alias 1792 test "x$ac_build_alias" = x && 1793 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1794 test "x$ac_build_alias" = x && 1375 1795 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1376 1796 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1377 1797 { (exit 1); exit 1; }; } 1378 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||1379 { { echo "$as_me:$LINENO: error: $ ac_config_sub $ac_cv_build_alias failed" >&51380 echo "$as_me: error: $ ac_config_sub $ac_cv_build_alias failed" >&2;}1798 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1799 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 1800 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 1381 1801 { (exit 1); exit 1; }; } 1382 1802 1383 1803 fi 1384 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1385 echo "${ECHO_T}$ac_cv_build" >&6 1804 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1805 echo "${ECHO_T}$ac_cv_build" >&6; } 1806 case $ac_cv_build in 1807 *-*-*) ;; 1808 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1809 echo "$as_me: error: invalid value of canonical build" >&2;} 1810 { (exit 1); exit 1; }; };; 1811 esac 1386 1812 build=$ac_cv_build 1387 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1388 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1389 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1390 1391 1392 echo "$as_me:$LINENO: checking host system type" >&5 1393 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1813 ac_save_IFS=$IFS; IFS='-' 1814 set x $ac_cv_build 1815 shift 1816 build_cpu=$1 1817 build_vendor=$2 1818 shift; shift 1819 # Remember, the first character of IFS is used to create $*, 1820 # except with old shells: 1821 build_os=$* 1822 IFS=$ac_save_IFS 1823 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1824 1825 1826 { echo "$as_me:$LINENO: checking host system type" >&5 1827 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 1394 1828 if test "${ac_cv_host+set}" = set; then 1395 1829 echo $ECHO_N "(cached) $ECHO_C" >&6 1396 1830 else 1397 ac_cv_host_alias=$host_alias1398 test -z "$ac_cv_host_alias" && 1399 ac_cv_host_alias=$ac_cv_build_alias 1400 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||1401 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&51402 echo "$as_me: error: $ ac_config_sub $ac_cv_host_alias failed" >&2;}1831 if test "x$host_alias" = x; then 1832 ac_cv_host=$ac_cv_build 1833 else 1834 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1835 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 1836 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 1403 1837 { (exit 1); exit 1; }; } 1404 1405 fi 1406 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1407 echo "${ECHO_T}$ac_cv_host" >&6 1838 fi 1839 1840 fi 1841 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1842 echo "${ECHO_T}$ac_cv_host" >&6; } 1843 case $ac_cv_host in 1844 *-*-*) ;; 1845 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1846 echo "$as_me: error: invalid value of canonical host" >&2;} 1847 { (exit 1); exit 1; }; };; 1848 esac 1408 1849 host=$ac_cv_host 1409 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1410 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1411 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1412 1413 1414 echo "$as_me:$LINENO: checking target system type" >&5 1415 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1850 ac_save_IFS=$IFS; IFS='-' 1851 set x $ac_cv_host 1852 shift 1853 host_cpu=$1 1854 host_vendor=$2 1855 shift; shift 1856 # Remember, the first character of IFS is used to create $*, 1857 # except with old shells: 1858 host_os=$* 1859 IFS=$ac_save_IFS 1860 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1861 1862 1863 { echo "$as_me:$LINENO: checking target system type" >&5 1864 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 1416 1865 if test "${ac_cv_target+set}" = set; then 1417 1866 echo $ECHO_N "(cached) $ECHO_C" >&6 1418 1867 else 1419 ac_cv_target_alias=$target_alias1420 test "x$ac_cv_target_alias" = "x" && 1421 ac_cv_target_alias=$ac_cv_host_alias 1422 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||1423 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&51424 echo "$as_me: error: $ ac_config_sub $ac_cv_target_alias failed" >&2;}1868 if test "x$target_alias" = x; then 1869 ac_cv_target=$ac_cv_host 1870 else 1871 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1872 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 1873 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 1425 1874 { (exit 1); exit 1; }; } 1426 1427 fi 1428 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1429 echo "${ECHO_T}$ac_cv_target" >&6 1875 fi 1876 1877 fi 1878 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1879 echo "${ECHO_T}$ac_cv_target" >&6; } 1880 case $ac_cv_target in 1881 *-*-*) ;; 1882 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1883 echo "$as_me: error: invalid value of canonical target" >&2;} 1884 { (exit 1); exit 1; }; };; 1885 esac 1430 1886 target=$ac_cv_target 1431 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1432 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1433 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1887 ac_save_IFS=$IFS; IFS='-' 1888 set x $ac_cv_target 1889 shift 1890 target_cpu=$1 1891 target_vendor=$2 1892 shift; shift 1893 # Remember, the first character of IFS is used to create $*, 1894 # except with old shells: 1895 target_os=$* 1896 IFS=$ac_save_IFS 1897 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1434 1898 1435 1899 … … 1440 1904 NONENONEs,x,x, && 1441 1905 program_prefix=${target_alias}- 1442 1443 1444 1906 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" 1907 1908 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" 1445 1909 1446 1910 … … 1462 1926 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1463 1927 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1464 echo "$as_me:$LINENO: checking for $ac_word" >&51465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1928 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1466 1930 if test "${ac_cv_prog_CC+set}" = set; then 1467 1931 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1476 1940 test -z "$as_dir" && as_dir=. 1477 1941 for ac_exec_ext in '' $ac_executable_extensions; do 1478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1479 1943 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1480 1944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1483 1947 done 1484 1948 done 1949 IFS=$as_save_IFS 1485 1950 1486 1951 fi … … 1488 1953 CC=$ac_cv_prog_CC 1489 1954 if test -n "$CC"; then 1490 echo "$as_me:$LINENO: result: $CC" >&5 1491 echo "${ECHO_T}$CC" >&6 1492 else 1493 echo "$as_me:$LINENO: result: no" >&5 1494 echo "${ECHO_T}no" >&6 1495 fi 1955 { echo "$as_me:$LINENO: result: $CC" >&5 1956 echo "${ECHO_T}$CC" >&6; } 1957 else 1958 { echo "$as_me:$LINENO: result: no" >&5 1959 echo "${ECHO_T}no" >&6; } 1960 fi 1961 1496 1962 1497 1963 fi … … 1500 1966 # Extract the first word of "gcc", so it can be a program name with args. 1501 1967 set dummy gcc; ac_word=$2 1502 echo "$as_me:$LINENO: checking for $ac_word" >&51503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1968 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1504 1970 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1505 1971 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1514 1980 test -z "$as_dir" && as_dir=. 1515 1981 for ac_exec_ext in '' $ac_executable_extensions; do 1516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1517 1983 ac_cv_prog_ac_ct_CC="gcc" 1518 1984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1521 1987 done 1522 1988 done 1989 IFS=$as_save_IFS 1523 1990 1524 1991 fi … … 1526 1993 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1527 1994 if test -n "$ac_ct_CC"; then 1528 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1529 echo "${ECHO_T}$ac_ct_CC" >&6 1530 else 1531 echo "$as_me:$LINENO: result: no" >&5 1532 echo "${ECHO_T}no" >&6 1533 fi 1534 1535 CC=$ac_ct_CC 1995 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1996 echo "${ECHO_T}$ac_ct_CC" >&6; } 1997 else 1998 { echo "$as_me:$LINENO: result: no" >&5 1999 echo "${ECHO_T}no" >&6; } 2000 fi 2001 2002 if test "x$ac_ct_CC" = x; then 2003 CC="" 2004 else 2005 case $cross_compiling:$ac_tool_warned in 2006 yes:) 2007 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2008 whose name does not start with the host triplet. If you think this 2009 configuration is useful to you, please write to autoconf@gnu.org." >&5 2010 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2011 whose name does not start with the host triplet. If you think this 2012 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2013 ac_tool_warned=yes ;; 2014 esac 2015 CC=$ac_ct_CC 2016 fi 1536 2017 else 1537 2018 CC="$ac_cv_prog_CC" … … 1539 2020 1540 2021 if test -z "$CC"; then 1541 if test -n "$ac_tool_prefix"; then1542 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2022 if test -n "$ac_tool_prefix"; then 2023 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1543 2024 set dummy ${ac_tool_prefix}cc; ac_word=$2 1544 echo "$as_me:$LINENO: checking for $ac_word" >&51545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2025 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1546 2027 if test "${ac_cv_prog_CC+set}" = set; then 1547 2028 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1556 2037 test -z "$as_dir" && as_dir=. 1557 2038 for ac_exec_ext in '' $ac_executable_extensions; do 1558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1559 2040 ac_cv_prog_CC="${ac_tool_prefix}cc" 1560 2041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1563 2044 done 1564 2045 done 2046 IFS=$as_save_IFS 1565 2047 1566 2048 fi … … 1568 2050 CC=$ac_cv_prog_CC 1569 2051 if test -n "$CC"; then 1570 echo "$as_me:$LINENO: result: $CC" >&5 1571 echo "${ECHO_T}$CC" >&6 1572 else 1573 echo "$as_me:$LINENO: result: no" >&5 1574 echo "${ECHO_T}no" >&6 1575 fi 1576 1577 fi 1578 if test -z "$ac_cv_prog_CC"; then 1579 ac_ct_CC=$CC 1580 # Extract the first word of "cc", so it can be a program name with args. 1581 set dummy cc; ac_word=$2 1582 echo "$as_me:$LINENO: checking for $ac_word" >&5 1583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1584 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1585 echo $ECHO_N "(cached) $ECHO_C" >&6 1586 else 1587 if test -n "$ac_ct_CC"; then 1588 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1589 else 1590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1591 for as_dir in $PATH 1592 do 1593 IFS=$as_save_IFS 1594 test -z "$as_dir" && as_dir=. 1595 for ac_exec_ext in '' $ac_executable_extensions; do 1596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1597 ac_cv_prog_ac_ct_CC="cc" 1598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1599 break 2 2052 { echo "$as_me:$LINENO: result: $CC" >&5 2053 echo "${ECHO_T}$CC" >&6; } 2054 else 2055 { echo "$as_me:$LINENO: result: no" >&5 2056 echo "${ECHO_T}no" >&6; } 2057 fi 2058 2059 1600 2060 fi 1601 done1602 done1603 1604 fi1605 fi1606 ac_ct_CC=$ac_cv_prog_ac_ct_CC1607 if test -n "$ac_ct_CC"; then1608 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51609 echo "${ECHO_T}$ac_ct_CC" >&61610 else1611 echo "$as_me:$LINENO: result: no" >&51612 echo "${ECHO_T}no" >&61613 fi1614 1615 CC=$ac_ct_CC1616 else1617 CC="$ac_cv_prog_CC"1618 fi1619 1620 2061 fi 1621 2062 if test -z "$CC"; then 1622 2063 # Extract the first word of "cc", so it can be a program name with args. 1623 2064 set dummy cc; ac_word=$2 1624 echo "$as_me:$LINENO: checking for $ac_word" >&51625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2065 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1626 2067 if test "${ac_cv_prog_CC+set}" = set; then 1627 2068 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1637 2078 test -z "$as_dir" && as_dir=. 1638 2079 for ac_exec_ext in '' $ac_executable_extensions; do 1639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1640 2081 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1641 2082 ac_prog_rejected=yes … … 1648 2089 done 1649 2090 done 2091 IFS=$as_save_IFS 1650 2092 1651 2093 if test $ac_prog_rejected = yes; then … … 1665 2107 CC=$ac_cv_prog_CC 1666 2108 if test -n "$CC"; then 1667 echo "$as_me:$LINENO: result: $CC" >&5 1668 echo "${ECHO_T}$CC" >&6 1669 else 1670 echo "$as_me:$LINENO: result: no" >&5 1671 echo "${ECHO_T}no" >&6 1672 fi 2109 { echo "$as_me:$LINENO: result: $CC" >&5 2110 echo "${ECHO_T}$CC" >&6; } 2111 else 2112 { echo "$as_me:$LINENO: result: no" >&5 2113 echo "${ECHO_T}no" >&6; } 2114 fi 2115 1673 2116 1674 2117 fi 1675 2118 if test -z "$CC"; then 1676 2119 if test -n "$ac_tool_prefix"; then 1677 for ac_prog in cl 2120 for ac_prog in cl.exe 1678 2121 do 1679 2122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1680 2123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1681 echo "$as_me:$LINENO: checking for $ac_word" >&51682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2124 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1683 2126 if test "${ac_cv_prog_CC+set}" = set; then 1684 2127 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1693 2136 test -z "$as_dir" && as_dir=. 1694 2137 for ac_exec_ext in '' $ac_executable_extensions; do 1695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1696 2139 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1697 2140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1700 2143 done 1701 2144 done 2145 IFS=$as_save_IFS 1702 2146 1703 2147 fi … … 1705 2149 CC=$ac_cv_prog_CC 1706 2150 if test -n "$CC"; then 1707 echo "$as_me:$LINENO: result: $CC" >&5 1708 echo "${ECHO_T}$CC" >&6 1709 else 1710 echo "$as_me:$LINENO: result: no" >&5 1711 echo "${ECHO_T}no" >&6 1712 fi 2151 { echo "$as_me:$LINENO: result: $CC" >&5 2152 echo "${ECHO_T}$CC" >&6; } 2153 else 2154 { echo "$as_me:$LINENO: result: no" >&5 2155 echo "${ECHO_T}no" >&6; } 2156 fi 2157 1713 2158 1714 2159 test -n "$CC" && break … … 1717 2162 if test -z "$CC"; then 1718 2163 ac_ct_CC=$CC 1719 for ac_prog in cl 2164 for ac_prog in cl.exe 1720 2165 do 1721 2166 # Extract the first word of "$ac_prog", so it can be a program name with args. 1722 2167 set dummy $ac_prog; ac_word=$2 1723 echo "$as_me:$LINENO: checking for $ac_word" >&51724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2168 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1725 2170 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1726 2171 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1735 2180 test -z "$as_dir" && as_dir=. 1736 2181 for ac_exec_ext in '' $ac_executable_extensions; do 1737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1738 2183 ac_cv_prog_ac_ct_CC="$ac_prog" 1739 2184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1742 2187 done 1743 2188 done 2189 IFS=$as_save_IFS 1744 2190 1745 2191 fi … … 1747 2193 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1748 2194 if test -n "$ac_ct_CC"; then 1749 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1750 echo "${ECHO_T}$ac_ct_CC" >&6 1751 else 1752 echo "$as_me:$LINENO: result: no" >&5 1753 echo "${ECHO_T}no" >&6 1754 fi 2195 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2196 echo "${ECHO_T}$ac_ct_CC" >&6; } 2197 else 2198 { echo "$as_me:$LINENO: result: no" >&5 2199 echo "${ECHO_T}no" >&6; } 2200 fi 2201 1755 2202 1756 2203 test -n "$ac_ct_CC" && break 1757 2204 done 1758 2205 1759 CC=$ac_ct_CC 2206 if test "x$ac_ct_CC" = x; then 2207 CC="" 2208 else 2209 case $cross_compiling:$ac_tool_warned in 2210 yes:) 2211 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2212 whose name does not start with the host triplet. If you think this 2213 configuration is useful to you, please write to autoconf@gnu.org." >&5 2214 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2215 whose name does not start with the host triplet. If you think this 2216 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2217 ac_tool_warned=yes ;; 2218 esac 2219 CC=$ac_ct_CC 2220 fi 1760 2221 fi 1761 2222 … … 1770 2231 1771 2232 # Provide some information about the compiler. 1772 echo "$as_me:$LINENO:" \ 1773 "checking for C compiler version" >&5 2233 echo "$as_me:$LINENO: checking for C compiler version" >&5 1774 2234 ac_compiler=`set X $ac_compile; echo $2` 1775 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1776 (eval $ac_compiler --version </dev/null >&5) 2>&5 2235 { (ac_try="$ac_compiler --version >&5" 2236 case "(($ac_try" in 2237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2238 *) ac_try_echo=$ac_try;; 2239 esac 2240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2241 (eval "$ac_compiler --version >&5") 2>&5 1777 2242 ac_status=$? 1778 2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1779 2244 (exit $ac_status); } 1780 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1781 (eval $ac_compiler -v </dev/null >&5) 2>&5 2245 { (ac_try="$ac_compiler -v >&5" 2246 case "(($ac_try" in 2247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2248 *) ac_try_echo=$ac_try;; 2249 esac 2250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2251 (eval "$ac_compiler -v >&5") 2>&5 1782 2252 ac_status=$? 1783 2253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1784 2254 (exit $ac_status); } 1785 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1786 (eval $ac_compiler -V </dev/null >&5) 2>&5 2255 { (ac_try="$ac_compiler -V >&5" 2256 case "(($ac_try" in 2257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2258 *) ac_try_echo=$ac_try;; 2259 esac 2260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2261 (eval "$ac_compiler -V >&5") 2>&5 1787 2262 ac_status=$? 1788 2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1809 2284 # It will help us diagnose broken compilers, and finding out an intuition 1810 2285 # of exeext. 1811 echo "$as_me:$LINENO: checking for C compiler default output file name" >&51812 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2286 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2287 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 1813 2288 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1814 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1815 (eval $ac_link_default) 2>&5 2289 # 2290 # List of possible output files, starting from the most likely. 2291 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2292 # only as a last resort. b.out is created by i960 compilers. 2293 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2294 # 2295 # The IRIX 6 linker writes into existing files which may not be 2296 # executable, retaining their permissions. Remove them first so a 2297 # subsequent execution test works. 2298 ac_rmfiles= 2299 for ac_file in $ac_files 2300 do 2301 case $ac_file in 2302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2303 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2304 esac 2305 done 2306 rm -f $ac_rmfiles 2307 2308 if { (ac_try="$ac_link_default" 2309 case "(($ac_try" in 2310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2311 *) ac_try_echo=$ac_try;; 2312 esac 2313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2314 (eval "$ac_link_default") 2>&5 1816 2315 ac_status=$? 1817 2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1818 2317 (exit $ac_status); }; then 1819 # Find the output, starting from the most likely. This scheme is 1820 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1821 # resort. 1822 1823 # Be careful to initialize this variable, since it used to be cached. 1824 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1825 ac_cv_exeext= 1826 # b.out is created by i960 compilers. 1827 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2318 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2319 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2320 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2321 # so that the user can short-circuit this test for compilers unknown to 2322 # Autoconf. 2323 for ac_file in $ac_files '' 1828 2324 do 1829 2325 test -f "$ac_file" || continue 1830 2326 case $ac_file in 1831 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1832 ;; 1833 conftest.$ac_ext ) 1834 # This is the source file. 2327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 1835 2328 ;; 1836 2329 [ab].out ) … … 1839 2332 break;; 1840 2333 *.* ) 1841 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1842 # FIXME: I believe we export ac_cv_exeext for Libtool, 1843 # but it would be cool to find out if it's true. Does anybody 1844 # maintain Libtool? --akim. 1845 export ac_cv_exeext 2334 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2335 then :; else 2336 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2337 fi 2338 # We set ac_cv_exeext here because the later test for it is not 2339 # safe: cross compilers may not add the suffix if given an `-o' 2340 # argument, so we may need to know it at that point already. 2341 # Even if this section looks crufty: it has the advantage of 2342 # actually working. 1846 2343 break;; 1847 2344 * ) … … 1849 2346 esac 1850 2347 done 1851 else 2348 test "$ac_cv_exeext" = no && ac_cv_exeext= 2349 2350 else 2351 ac_file='' 2352 fi 2353 2354 { echo "$as_me:$LINENO: result: $ac_file" >&5 2355 echo "${ECHO_T}$ac_file" >&6; } 2356 if test -z "$ac_file"; then 1852 2357 echo "$as_me: failed program was:" >&5 1853 2358 sed 's/^/| /' conftest.$ac_ext >&5 … … 1861 2366 1862 2367 ac_exeext=$ac_cv_exeext 1863 echo "$as_me:$LINENO: result: $ac_file" >&5 1864 echo "${ECHO_T}$ac_file" >&6 1865 1866 # Check the compiler produces executables we can run. If not, either 2368 2369 # Check that the compiler produces executables we can run. If not, either 1867 2370 # the compiler is broken, or we cross compile. 1868 echo "$as_me:$LINENO: checking whether the C compiler works" >&51869 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2371 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2372 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 1870 2373 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1871 2374 # If not cross compiling, check that we can run a simple program. 1872 2375 if test "$cross_compiling" != yes; then 1873 2376 if { ac_try='./$ac_file' 1874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1875 (eval $ac_try) 2>&5 2377 { (case "(($ac_try" in 2378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2379 *) ac_try_echo=$ac_try;; 2380 esac 2381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2382 (eval "$ac_try") 2>&5 1876 2383 ac_status=$? 1877 2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1892 2399 fi 1893 2400 fi 1894 echo "$as_me:$LINENO: result: yes" >&51895 echo "${ECHO_T}yes" >&6 2401 { echo "$as_me:$LINENO: result: yes" >&5 2402 echo "${ECHO_T}yes" >&6; } 1896 2403 1897 2404 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1898 2405 ac_clean_files=$ac_clean_files_save 1899 # Check th e compiler produces executables we can run. If not, either2406 # Check that the compiler produces executables we can run. If not, either 1900 2407 # the compiler is broken, or we cross compile. 1901 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1902 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1903 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1904 echo "${ECHO_T}$cross_compiling" >&6 1905 1906 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1907 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1909 (eval $ac_link) 2>&5 2408 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2409 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2410 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2411 echo "${ECHO_T}$cross_compiling" >&6; } 2412 2413 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2414 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2415 if { (ac_try="$ac_link" 2416 case "(($ac_try" in 2417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2418 *) ac_try_echo=$ac_try;; 2419 esac 2420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2421 (eval "$ac_link") 2>&5 1910 2422 ac_status=$? 1911 2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1918 2430 test -f "$ac_file" || continue 1919 2431 case $ac_file in 1920 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2432 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 1921 2433 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1922 export ac_cv_exeext1923 2434 break;; 1924 2435 * ) break;; … … 1934 2445 1935 2446 rm -f conftest$ac_cv_exeext 1936 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&51937 echo "${ECHO_T}$ac_cv_exeext" >&6 2447 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2448 echo "${ECHO_T}$ac_cv_exeext" >&6; } 1938 2449 1939 2450 rm -f conftest.$ac_ext 1940 2451 EXEEXT=$ac_cv_exeext 1941 2452 ac_exeext=$EXEEXT 1942 echo "$as_me:$LINENO: checking for suffix of object files" >&51943 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2453 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2454 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 1944 2455 if test "${ac_cv_objext+set}" = set; then 1945 2456 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1961 2472 _ACEOF 1962 2473 rm -f conftest.o conftest.obj 1963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1964 (eval $ac_compile) 2>&5 2474 if { (ac_try="$ac_compile" 2475 case "(($ac_try" in 2476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2477 *) ac_try_echo=$ac_try;; 2478 esac 2479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2480 (eval "$ac_compile") 2>&5 1965 2481 ac_status=$? 1966 2482 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1967 2483 (exit $ac_status); }; then 1968 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2484 for ac_file in conftest.o conftest.obj conftest.*; do 2485 test -f "$ac_file" || continue; 1969 2486 case $ac_file in 1970 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 1971 2488 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1972 2489 break;; … … 1986 2503 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1987 2504 fi 1988 echo "$as_me:$LINENO: result: $ac_cv_objext" >&51989 echo "${ECHO_T}$ac_cv_objext" >&6 2505 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2506 echo "${ECHO_T}$ac_cv_objext" >&6; } 1990 2507 OBJEXT=$ac_cv_objext 1991 2508 ac_objext=$OBJEXT 1992 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&51993 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2509 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2510 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 1994 2511 if test "${ac_cv_c_compiler_gnu+set}" = set; then 1995 2512 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2014 2531 _ACEOF 2015 2532 rm -f conftest.$ac_objext 2016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2017 (eval $ac_compile) 2>conftest.er1 2533 if { (ac_try="$ac_compile" 2534 case "(($ac_try" in 2535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2536 *) ac_try_echo=$ac_try;; 2537 esac 2538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2539 (eval "$ac_compile") 2>conftest.er1 2018 2540 ac_status=$? 2019 2541 grep -v '^ *+' conftest.er1 >conftest.err … … 2021 2543 cat conftest.err >&5 2022 2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2023 (exit $ac_status); } && 2024 { ac_try='test -z "$ac_c_werror_flag" 2025 || test ! -s conftest.err' 2026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2027 (eval $ac_try) 2>&5 2028 ac_status=$? 2029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2030 (exit $ac_status); }; } && 2031 { ac_try='test -s conftest.$ac_objext' 2032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2033 (eval $ac_try) 2>&5 2034 ac_status=$? 2035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2036 (exit $ac_status); }; }; then 2545 (exit $ac_status); } && { 2546 test -z "$ac_c_werror_flag" || 2547 test ! -s conftest.err 2548 } && test -s conftest.$ac_objext; then 2037 2549 ac_compiler_gnu=yes 2038 2550 else … … 2040 2552 sed 's/^/| /' conftest.$ac_ext >&5 2041 2553 2042 ac_compiler_gnu=no 2043 fi 2044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2554 ac_compiler_gnu=no 2555 fi 2556 2557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2045 2558 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2046 2559 2047 2560 fi 2048 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52049 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2561 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2562 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2050 2563 GCC=`test $ac_compiler_gnu = yes && echo yes` 2051 2564 ac_test_CFLAGS=${CFLAGS+set} 2052 2565 ac_save_CFLAGS=$CFLAGS 2053 CFLAGS="-g" 2054 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2055 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2566 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2567 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2056 2568 if test "${ac_cv_prog_cc_g+set}" = set; then 2057 2569 echo $ECHO_N "(cached) $ECHO_C" >&6 2058 2570 else 2059 cat >conftest.$ac_ext <<_ACEOF 2571 ac_save_c_werror_flag=$ac_c_werror_flag 2572 ac_c_werror_flag=yes 2573 ac_cv_prog_cc_g=no 2574 CFLAGS="-g" 2575 cat >conftest.$ac_ext <<_ACEOF 2060 2576 /* confdefs.h. */ 2061 2577 _ACEOF … … 2073 2589 _ACEOF 2074 2590 rm -f conftest.$ac_objext 2075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2076 (eval $ac_compile) 2>conftest.er1 2591 if { (ac_try="$ac_compile" 2592 case "(($ac_try" in 2593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2594 *) ac_try_echo=$ac_try;; 2595 esac 2596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2597 (eval "$ac_compile") 2>conftest.er1 2077 2598 ac_status=$? 2078 2599 grep -v '^ *+' conftest.er1 >conftest.err … … 2080 2601 cat conftest.err >&5 2081 2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2082 (exit $ac_status); } && 2083 { ac_try='test -z "$ac_c_werror_flag" 2084 || test ! -s conftest.err' 2085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2086 (eval $ac_try) 2>&5 2087 ac_status=$? 2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2089 (exit $ac_status); }; } && 2090 { ac_try='test -s conftest.$ac_objext' 2091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2092 (eval $ac_try) 2>&5 2093 ac_status=$? 2094 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2095 (exit $ac_status); }; }; then 2603 (exit $ac_status); } && { 2604 test -z "$ac_c_werror_flag" || 2605 test ! -s conftest.err 2606 } && test -s conftest.$ac_objext; then 2096 2607 ac_cv_prog_cc_g=yes 2097 2608 else … … 2099 2610 sed 's/^/| /' conftest.$ac_ext >&5 2100 2611 2101 ac_cv_prog_cc_g=no 2102 fi 2103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2104 fi 2105 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2106 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2612 CFLAGS="" 2613 cat >conftest.$ac_ext <<_ACEOF 2614 /* confdefs.h. */ 2615 _ACEOF 2616 cat confdefs.h >>conftest.$ac_ext 2617 cat >>conftest.$ac_ext <<_ACEOF 2618 /* end confdefs.h. */ 2619 2620 int 2621 main () 2622 { 2623 2624 ; 2625 return 0; 2626 } 2627 _ACEOF 2628 rm -f conftest.$ac_objext 2629 if { (ac_try="$ac_compile" 2630 case "(($ac_try" in 2631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2632 *) ac_try_echo=$ac_try;; 2633 esac 2634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2635 (eval "$ac_compile") 2>conftest.er1 2636 ac_status=$? 2637 grep -v '^ *+' conftest.er1 >conftest.err 2638 rm -f conftest.er1 2639 cat conftest.err >&5 2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2641 (exit $ac_status); } && { 2642 test -z "$ac_c_werror_flag" || 2643 test ! -s conftest.err 2644 } && test -s conftest.$ac_objext; then 2645 : 2646 else 2647 echo "$as_me: failed program was:" >&5 2648 sed 's/^/| /' conftest.$ac_ext >&5 2649 2650 ac_c_werror_flag=$ac_save_c_werror_flag 2651 CFLAGS="-g" 2652 cat >conftest.$ac_ext <<_ACEOF 2653 /* confdefs.h. */ 2654 _ACEOF 2655 cat confdefs.h >>conftest.$ac_ext 2656 cat >>conftest.$ac_ext <<_ACEOF 2657 /* end confdefs.h. */ 2658 2659 int 2660 main () 2661 { 2662 2663 ; 2664 return 0; 2665 } 2666 _ACEOF 2667 rm -f conftest.$ac_objext 2668 if { (ac_try="$ac_compile" 2669 case "(($ac_try" in 2670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2671 *) ac_try_echo=$ac_try;; 2672 esac 2673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2674 (eval "$ac_compile") 2>conftest.er1 2675 ac_status=$? 2676 grep -v '^ *+' conftest.er1 >conftest.err 2677 rm -f conftest.er1 2678 cat conftest.err >&5 2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2680 (exit $ac_status); } && { 2681 test -z "$ac_c_werror_flag" || 2682 test ! -s conftest.err 2683 } && test -s conftest.$ac_objext; then 2684 ac_cv_prog_cc_g=yes 2685 else 2686 echo "$as_me: failed program was:" >&5 2687 sed 's/^/| /' conftest.$ac_ext >&5 2688 2689 2690 fi 2691 2692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2693 fi 2694 2695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2696 fi 2697 2698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2699 ac_c_werror_flag=$ac_save_c_werror_flag 2700 fi 2701 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2702 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2107 2703 if test "$ac_test_CFLAGS" = set; then 2108 2704 CFLAGS=$ac_save_CFLAGS … … 2120 2716 fi 2121 2717 fi 2122 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52123 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&62124 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2718 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2719 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2720 if test "${ac_cv_prog_cc_c89+set}" = set; then 2125 2721 echo $ECHO_N "(cached) $ECHO_C" >&6 2126 2722 else 2127 ac_cv_prog_cc_ stdc=no2723 ac_cv_prog_cc_c89=no 2128 2724 ac_save_CC=$CC 2129 2725 cat >conftest.$ac_ext <<_ACEOF … … 2159 2755 function prototypes and stuff, but not '\xHH' hex character constants. 2160 2756 These don't provoke an error unfortunately, instead are silently treated 2161 as 'x'. The following induces an error, until -std 1is added to get2757 as 'x'. The following induces an error, until -std is added to get 2162 2758 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2163 2759 array size at least. It's necessary to write '\x00'==0 to get something 2164 that's true only with -std 1. */2760 that's true only with -std. */ 2165 2761 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2762 2763 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2764 inside strings and character constants. */ 2765 #define FOO(x) 'x' 2766 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2166 2767 2167 2768 int test (int i, double x); … … 2179 2780 } 2180 2781 _ACEOF 2181 # Don't try gcc -ansi; that turns off useful extensions and 2182 # breaks some systems' header files. 2183 # AIX -qlanglvl=ansi 2184 # Ultrix and OSF/1 -std1 2185 # HP-UX 10.20 and later -Ae 2186 # HP-UX older versions -Aa -D_HPUX_SOURCE 2187 # SVR4 -Xc -D__EXTENSIONS__ 2188 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2782 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2783 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2189 2784 do 2190 2785 CC="$ac_save_CC $ac_arg" 2191 2786 rm -f conftest.$ac_objext 2192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2193 (eval $ac_compile) 2>conftest.er1 2787 if { (ac_try="$ac_compile" 2788 case "(($ac_try" in 2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2790 *) ac_try_echo=$ac_try;; 2791 esac 2792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2793 (eval "$ac_compile") 2>conftest.er1 2194 2794 ac_status=$? 2195 2795 grep -v '^ *+' conftest.er1 >conftest.err … … 2197 2797 cat conftest.err >&5 2198 2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2199 (exit $ac_status); } && 2200 { ac_try='test -z "$ac_c_werror_flag" 2201 || test ! -s conftest.err' 2202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2203 (eval $ac_try) 2>&5 2204 ac_status=$? 2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2206 (exit $ac_status); }; } && 2207 { ac_try='test -s conftest.$ac_objext' 2208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2209 (eval $ac_try) 2>&5 2210 ac_status=$? 2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2212 (exit $ac_status); }; }; then 2213 ac_cv_prog_cc_stdc=$ac_arg 2214 break 2799 (exit $ac_status); } && { 2800 test -z "$ac_c_werror_flag" || 2801 test ! -s conftest.err 2802 } && test -s conftest.$ac_objext; then 2803 ac_cv_prog_cc_c89=$ac_arg 2215 2804 else 2216 2805 echo "$as_me: failed program was:" >&5 2217 2806 sed 's/^/| /' conftest.$ac_ext >&5 2218 2807 2219 fi 2220 rm -f conftest.err conftest.$ac_objext 2808 2809 fi 2810 2811 rm -f core conftest.err conftest.$ac_objext 2812 test "x$ac_cv_prog_cc_c89" != "xno" && break 2221 2813 done 2222 rm -f conftest.$ac_ext conftest.$ac_objext2814 rm -f conftest.$ac_ext 2223 2815 CC=$ac_save_CC 2224 2816 2225 2817 fi 2226 2227 case "x$ac_cv_prog_cc_stdc" in 2228 x|xno) 2229 echo "$as_me:$LINENO: result: none needed" >&5 2230 echo "${ECHO_T}none needed" >&6 ;; 2818 # AC_CACHE_VAL 2819 case "x$ac_cv_prog_cc_c89" in 2820 x) 2821 { echo "$as_me:$LINENO: result: none needed" >&5 2822 echo "${ECHO_T}none needed" >&6; } ;; 2823 xno) 2824 { echo "$as_me:$LINENO: result: unsupported" >&5 2825 echo "${ECHO_T}unsupported" >&6; } ;; 2231 2826 *) 2232 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2233 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2234 CC="$CC $ac_cv_prog_cc_stdc" ;; 2235 esac 2236 2237 # Some people use a C++ compiler to compile C. Since we use `exit', 2238 # in C++ we need to declare it. In case someone uses the same compiler 2239 # for both compiling C and C++ we need to have the C++ compiler decide 2240 # the declaration of exit, since it's the most demanding environment. 2241 cat >conftest.$ac_ext <<_ACEOF 2242 #ifndef __cplusplus 2243 choke me 2244 #endif 2245 _ACEOF 2246 rm -f conftest.$ac_objext 2247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2248 (eval $ac_compile) 2>conftest.er1 2249 ac_status=$? 2250 grep -v '^ *+' conftest.er1 >conftest.err 2251 rm -f conftest.er1 2252 cat conftest.err >&5 2253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2254 (exit $ac_status); } && 2255 { ac_try='test -z "$ac_c_werror_flag" 2256 || test ! -s conftest.err' 2257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2258 (eval $ac_try) 2>&5 2259 ac_status=$? 2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2261 (exit $ac_status); }; } && 2262 { ac_try='test -s conftest.$ac_objext' 2263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2264 (eval $ac_try) 2>&5 2265 ac_status=$? 2266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2267 (exit $ac_status); }; }; then 2268 for ac_declaration in \ 2269 '' \ 2270 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2271 'extern "C" void std::exit (int); using std::exit;' \ 2272 'extern "C" void exit (int) throw ();' \ 2273 'extern "C" void exit (int);' \ 2274 'void exit (int);' 2275 do 2276 cat >conftest.$ac_ext <<_ACEOF 2277 /* confdefs.h. */ 2278 _ACEOF 2279 cat confdefs.h >>conftest.$ac_ext 2280 cat >>conftest.$ac_ext <<_ACEOF 2281 /* end confdefs.h. */ 2282 $ac_declaration 2283 #include <stdlib.h> 2284 int 2285 main () 2286 { 2287 exit (42); 2288 ; 2289 return 0; 2290 } 2291 _ACEOF 2292 rm -f conftest.$ac_objext 2293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2294 (eval $ac_compile) 2>conftest.er1 2295 ac_status=$? 2296 grep -v '^ *+' conftest.er1 >conftest.err 2297 rm -f conftest.er1 2298 cat conftest.err >&5 2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2300 (exit $ac_status); } && 2301 { ac_try='test -z "$ac_c_werror_flag" 2302 || test ! -s conftest.err' 2303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2304 (eval $ac_try) 2>&5 2305 ac_status=$? 2306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2307 (exit $ac_status); }; } && 2308 { ac_try='test -s conftest.$ac_objext' 2309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2310 (eval $ac_try) 2>&5 2311 ac_status=$? 2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2313 (exit $ac_status); }; }; then 2314 : 2315 else 2316 echo "$as_me: failed program was:" >&5 2317 sed 's/^/| /' conftest.$ac_ext >&5 2318 2319 continue 2320 fi 2321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2322 cat >conftest.$ac_ext <<_ACEOF 2323 /* confdefs.h. */ 2324 _ACEOF 2325 cat confdefs.h >>conftest.$ac_ext 2326 cat >>conftest.$ac_ext <<_ACEOF 2327 /* end confdefs.h. */ 2328 $ac_declaration 2329 int 2330 main () 2331 { 2332 exit (42); 2333 ; 2334 return 0; 2335 } 2336 _ACEOF 2337 rm -f conftest.$ac_objext 2338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2339 (eval $ac_compile) 2>conftest.er1 2340 ac_status=$? 2341 grep -v '^ *+' conftest.er1 >conftest.err 2342 rm -f conftest.er1 2343 cat conftest.err >&5 2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2345 (exit $ac_status); } && 2346 { ac_try='test -z "$ac_c_werror_flag" 2347 || test ! -s conftest.err' 2348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2349 (eval $ac_try) 2>&5 2350 ac_status=$? 2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2352 (exit $ac_status); }; } && 2353 { ac_try='test -s conftest.$ac_objext' 2354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2355 (eval $ac_try) 2>&5 2356 ac_status=$? 2357 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2358 (exit $ac_status); }; }; then 2359 break 2360 else 2361 echo "$as_me: failed program was:" >&5 2362 sed 's/^/| /' conftest.$ac_ext >&5 2363 2364 fi 2365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2366 done 2367 rm -f conftest* 2368 if test -n "$ac_declaration"; then 2369 echo '#ifdef __cplusplus' >>confdefs.h 2370 echo $ac_declaration >>confdefs.h 2371 echo '#endif' >>confdefs.h 2372 fi 2373 2374 else 2375 echo "$as_me: failed program was:" >&5 2376 sed 's/^/| /' conftest.$ac_ext >&5 2377 2378 fi 2379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2827 CC="$CC $ac_cv_prog_cc_c89" 2828 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2829 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2830 esac 2831 2832 2380 2833 ac_ext=c 2381 2834 ac_cpp='$CPP $CPPFLAGS' … … 2384 2837 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2385 2838 2386 ac_ext=c c2839 ac_ext=cpp 2387 2840 ac_cpp='$CXXCPP $CPPFLAGS' 2388 2841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2389 2842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2390 2843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2391 if test -n "$ac_tool_prefix"; then 2392 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2844 if test -z "$CXX"; then 2845 if test -n "$CCC"; then 2846 CXX=$CCC 2847 else 2848 if test -n "$ac_tool_prefix"; then 2849 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2393 2850 do 2394 2851 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2395 2852 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2396 echo "$as_me:$LINENO: checking for $ac_word" >&52397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2853 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2398 2855 if test "${ac_cv_prog_CXX+set}" = set; then 2399 2856 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2408 2865 test -z "$as_dir" && as_dir=. 2409 2866 for ac_exec_ext in '' $ac_executable_extensions; do 2410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2411 2868 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2412 2869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2415 2872 done 2416 2873 done 2874 IFS=$as_save_IFS 2417 2875 2418 2876 fi … … 2420 2878 CXX=$ac_cv_prog_CXX 2421 2879 if test -n "$CXX"; then 2422 echo "$as_me:$LINENO: result: $CXX" >&5 2423 echo "${ECHO_T}$CXX" >&6 2424 else 2425 echo "$as_me:$LINENO: result: no" >&5 2426 echo "${ECHO_T}no" >&6 2427 fi 2880 { echo "$as_me:$LINENO: result: $CXX" >&5 2881 echo "${ECHO_T}$CXX" >&6; } 2882 else 2883 { echo "$as_me:$LINENO: result: no" >&5 2884 echo "${ECHO_T}no" >&6; } 2885 fi 2886 2428 2887 2429 2888 test -n "$CXX" && break … … 2432 2891 if test -z "$CXX"; then 2433 2892 ac_ct_CXX=$CXX 2434 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC2893 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2435 2894 do 2436 2895 # Extract the first word of "$ac_prog", so it can be a program name with args. 2437 2896 set dummy $ac_prog; ac_word=$2 2438 echo "$as_me:$LINENO: checking for $ac_word" >&52439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2897 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2440 2899 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2441 2900 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2450 2909 test -z "$as_dir" && as_dir=. 2451 2910 for ac_exec_ext in '' $ac_executable_extensions; do 2452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2453 2912 ac_cv_prog_ac_ct_CXX="$ac_prog" 2454 2913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2457 2916 done 2458 2917 done 2918 IFS=$as_save_IFS 2459 2919 2460 2920 fi … … 2462 2922 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2463 2923 if test -n "$ac_ct_CXX"; then 2464 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2465 echo "${ECHO_T}$ac_ct_CXX" >&6 2466 else 2467 echo "$as_me:$LINENO: result: no" >&5 2468 echo "${ECHO_T}no" >&6 2469 fi 2924 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2925 echo "${ECHO_T}$ac_ct_CXX" >&6; } 2926 else 2927 { echo "$as_me:$LINENO: result: no" >&5 2928 echo "${ECHO_T}no" >&6; } 2929 fi 2930 2470 2931 2471 2932 test -n "$ac_ct_CXX" && break 2472 2933 done 2473 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2474 2475 CXX=$ac_ct_CXX 2476 fi 2477 2478 2934 2935 if test "x$ac_ct_CXX" = x; then 2936 CXX="g++" 2937 else 2938 case $cross_compiling:$ac_tool_warned in 2939 yes:) 2940 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2941 whose name does not start with the host triplet. If you think this 2942 configuration is useful to you, please write to autoconf@gnu.org." >&5 2943 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2944 whose name does not start with the host triplet. If you think this 2945 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2946 ac_tool_warned=yes ;; 2947 esac 2948 CXX=$ac_ct_CXX 2949 fi 2950 fi 2951 2952 fi 2953 fi 2479 2954 # Provide some information about the compiler. 2480 echo "$as_me:$LINENO:" \ 2481 "checking for C++ compiler version" >&5 2955 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 2482 2956 ac_compiler=`set X $ac_compile; echo $2` 2483 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2484 (eval $ac_compiler --version </dev/null >&5) 2>&5 2957 { (ac_try="$ac_compiler --version >&5" 2958 case "(($ac_try" in 2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2960 *) ac_try_echo=$ac_try;; 2961 esac 2962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2963 (eval "$ac_compiler --version >&5") 2>&5 2485 2964 ac_status=$? 2486 2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2487 2966 (exit $ac_status); } 2488 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2489 (eval $ac_compiler -v </dev/null >&5) 2>&5 2967 { (ac_try="$ac_compiler -v >&5" 2968 case "(($ac_try" in 2969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2970 *) ac_try_echo=$ac_try;; 2971 esac 2972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2973 (eval "$ac_compiler -v >&5") 2>&5 2490 2974 ac_status=$? 2491 2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2492 2976 (exit $ac_status); } 2493 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2494 (eval $ac_compiler -V </dev/null >&5) 2>&5 2977 { (ac_try="$ac_compiler -V >&5" 2978 case "(($ac_try" in 2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2980 *) ac_try_echo=$ac_try;; 2981 esac 2982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2983 (eval "$ac_compiler -V >&5") 2>&5 2495 2984 ac_status=$? 2496 2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2497 2986 (exit $ac_status); } 2498 2987 2499 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52500 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2988 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2989 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 2501 2990 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2502 2991 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2521 3010 _ACEOF 2522 3011 rm -f conftest.$ac_objext 2523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2524 (eval $ac_compile) 2>conftest.er1 3012 if { (ac_try="$ac_compile" 3013 case "(($ac_try" in 3014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3015 *) ac_try_echo=$ac_try;; 3016 esac 3017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3018 (eval "$ac_compile") 2>conftest.er1 2525 3019 ac_status=$? 2526 3020 grep -v '^ *+' conftest.er1 >conftest.err … … 2528 3022 cat conftest.err >&5 2529 3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2530 (exit $ac_status); } && 2531 { ac_try='test -z "$ac_cxx_werror_flag" 2532 || test ! -s conftest.err' 2533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2534 (eval $ac_try) 2>&5 2535 ac_status=$? 2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2537 (exit $ac_status); }; } && 2538 { ac_try='test -s conftest.$ac_objext' 2539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2540 (eval $ac_try) 2>&5 2541 ac_status=$? 2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2543 (exit $ac_status); }; }; then 3024 (exit $ac_status); } && { 3025 test -z "$ac_cxx_werror_flag" || 3026 test ! -s conftest.err 3027 } && test -s conftest.$ac_objext; then 2544 3028 ac_compiler_gnu=yes 2545 3029 else … … 2547 3031 sed 's/^/| /' conftest.$ac_ext >&5 2548 3032 2549 ac_compiler_gnu=no 2550 fi 2551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3033 ac_compiler_gnu=no 3034 fi 3035 3036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2552 3037 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2553 3038 2554 3039 fi 2555 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&52556 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 3040 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3041 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 2557 3042 GXX=`test $ac_compiler_gnu = yes && echo yes` 2558 3043 ac_test_CXXFLAGS=${CXXFLAGS+set} 2559 3044 ac_save_CXXFLAGS=$CXXFLAGS 2560 CXXFLAGS="-g" 2561 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2562 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3045 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3046 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 2563 3047 if test "${ac_cv_prog_cxx_g+set}" = set; then 2564 3048 echo $ECHO_N "(cached) $ECHO_C" >&6 2565 3049 else 2566 cat >conftest.$ac_ext <<_ACEOF 3050 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3051 ac_cxx_werror_flag=yes 3052 ac_cv_prog_cxx_g=no 3053 CXXFLAGS="-g" 3054 cat >conftest.$ac_ext <<_ACEOF 2567 3055 /* confdefs.h. */ 2568 3056 _ACEOF … … 2580 3068 _ACEOF 2581 3069 rm -f conftest.$ac_objext 2582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2583 (eval $ac_compile) 2>conftest.er1 3070 if { (ac_try="$ac_compile" 3071 case "(($ac_try" in 3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3073 *) ac_try_echo=$ac_try;; 3074 esac 3075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3076 (eval "$ac_compile") 2>conftest.er1 2584 3077 ac_status=$? 2585 3078 grep -v '^ *+' conftest.er1 >conftest.err … … 2587 3080 cat conftest.err >&5 2588 3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2589 (exit $ac_status); } && 2590 { ac_try='test -z "$ac_cxx_werror_flag" 2591 || test ! -s conftest.err' 2592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2593 (eval $ac_try) 2>&5 2594 ac_status=$? 2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2596 (exit $ac_status); }; } && 2597 { ac_try='test -s conftest.$ac_objext' 2598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2599 (eval $ac_try) 2>&5 2600 ac_status=$? 2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2602 (exit $ac_status); }; }; then 3082 (exit $ac_status); } && { 3083 test -z "$ac_cxx_werror_flag" || 3084 test ! -s conftest.err 3085 } && test -s conftest.$ac_objext; then 2603 3086 ac_cv_prog_cxx_g=yes 2604 3087 else … … 2606 3089 sed 's/^/| /' conftest.$ac_ext >&5 2607 3090 2608 ac_cv_prog_cxx_g=no 2609 fi 2610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2611 fi 2612 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2613 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3091 CXXFLAGS="" 3092 cat >conftest.$ac_ext <<_ACEOF 3093 /* confdefs.h. */ 3094 _ACEOF 3095 cat confdefs.h >>conftest.$ac_ext 3096 cat >>conftest.$ac_ext <<_ACEOF 3097 /* end confdefs.h. */ 3098 3099 int 3100 main () 3101 { 3102 3103 ; 3104 return 0; 3105 } 3106 _ACEOF 3107 rm -f conftest.$ac_objext 3108 if { (ac_try="$ac_compile" 3109 case "(($ac_try" in 3110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3111 *) ac_try_echo=$ac_try;; 3112 esac 3113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3114 (eval "$ac_compile") 2>conftest.er1 3115 ac_status=$? 3116 grep -v '^ *+' conftest.er1 >conftest.err 3117 rm -f conftest.er1 3118 cat conftest.err >&5 3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3120 (exit $ac_status); } && { 3121 test -z "$ac_cxx_werror_flag" || 3122 test ! -s conftest.err 3123 } && test -s conftest.$ac_objext; then 3124 : 3125 else 3126 echo "$as_me: failed program was:" >&5 3127 sed 's/^/| /' conftest.$ac_ext >&5 3128 3129 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3130 CXXFLAGS="-g" 3131 cat >conftest.$ac_ext <<_ACEOF 3132 /* confdefs.h. */ 3133 _ACEOF 3134 cat confdefs.h >>conftest.$ac_ext 3135 cat >>conftest.$ac_ext <<_ACEOF 3136 /* end confdefs.h. */ 3137 3138 int 3139 main () 3140 { 3141 3142 ; 3143 return 0; 3144 } 3145 _ACEOF 3146 rm -f conftest.$ac_objext 3147 if { (ac_try="$ac_compile" 3148 case "(($ac_try" in 3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3150 *) ac_try_echo=$ac_try;; 3151 esac 3152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3153 (eval "$ac_compile") 2>conftest.er1 3154 ac_status=$? 3155 grep -v '^ *+' conftest.er1 >conftest.err 3156 rm -f conftest.er1 3157 cat conftest.err >&5 3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3159 (exit $ac_status); } && { 3160 test -z "$ac_cxx_werror_flag" || 3161 test ! -s conftest.err 3162 } && test -s conftest.$ac_objext; then 3163 ac_cv_prog_cxx_g=yes 3164 else 3165 echo "$as_me: failed program was:" >&5 3166 sed 's/^/| /' conftest.$ac_ext >&5 3167 3168 3169 fi 3170 3171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3172 fi 3173 3174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3175 fi 3176 3177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3178 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3179 fi 3180 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3181 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 2614 3182 if test "$ac_test_CXXFLAGS" = set; then 2615 3183 CXXFLAGS=$ac_save_CXXFLAGS … … 2627 3195 fi 2628 3196 fi 2629 for ac_declaration in \2630 '' \2631 'extern "C" void std::exit (int) throw (); using std::exit;' \2632 'extern "C" void std::exit (int); using std::exit;' \2633 'extern "C" void exit (int) throw ();' \2634 'extern "C" void exit (int);' \2635 'void exit (int);'2636 do2637 cat >conftest.$ac_ext <<_ACEOF2638 /* confdefs.h. */2639 _ACEOF2640 cat confdefs.h >>conftest.$ac_ext2641 cat >>conftest.$ac_ext <<_ACEOF2642 /* end confdefs.h. */2643 $ac_declaration2644 #include <stdlib.h>2645 int2646 main ()2647 {2648 exit (42);2649 ;2650 return 0;2651 }2652 _ACEOF2653 rm -f conftest.$ac_objext2654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52655 (eval $ac_compile) 2>conftest.er12656 ac_status=$?2657 grep -v '^ *+' conftest.er1 >conftest.err2658 rm -f conftest.er12659 cat conftest.err >&52660 echo "$as_me:$LINENO: \$? = $ac_status" >&52661 (exit $ac_status); } &&2662 { ac_try='test -z "$ac_cxx_werror_flag"2663 || test ! -s conftest.err'2664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52665 (eval $ac_try) 2>&52666 ac_status=$?2667 echo "$as_me:$LINENO: \$? = $ac_status" >&52668 (exit $ac_status); }; } &&2669 { ac_try='test -s conftest.$ac_objext'2670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52671 (eval $ac_try) 2>&52672 ac_status=$?2673 echo "$as_me:$LINENO: \$? = $ac_status" >&52674 (exit $ac_status); }; }; then2675 :2676 else2677 echo "$as_me: failed program was:" >&52678 sed 's/^/| /' conftest.$ac_ext >&52679 2680 continue2681 fi2682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2683 cat >conftest.$ac_ext <<_ACEOF2684 /* confdefs.h. */2685 _ACEOF2686 cat confdefs.h >>conftest.$ac_ext2687 cat >>conftest.$ac_ext <<_ACEOF2688 /* end confdefs.h. */2689 $ac_declaration2690 int2691 main ()2692 {2693 exit (42);2694 ;2695 return 0;2696 }2697 _ACEOF2698 rm -f conftest.$ac_objext2699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52700 (eval $ac_compile) 2>conftest.er12701 ac_status=$?2702 grep -v '^ *+' conftest.er1 >conftest.err2703 rm -f conftest.er12704 cat conftest.err >&52705 echo "$as_me:$LINENO: \$? = $ac_status" >&52706 (exit $ac_status); } &&2707 { ac_try='test -z "$ac_cxx_werror_flag"2708 || test ! -s conftest.err'2709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52710 (eval $ac_try) 2>&52711 ac_status=$?2712 echo "$as_me:$LINENO: \$? = $ac_status" >&52713 (exit $ac_status); }; } &&2714 { ac_try='test -s conftest.$ac_objext'2715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52716 (eval $ac_try) 2>&52717 ac_status=$?2718 echo "$as_me:$LINENO: \$? = $ac_status" >&52719 (exit $ac_status); }; }; then2720 break2721 else2722 echo "$as_me: failed program was:" >&52723 sed 's/^/| /' conftest.$ac_ext >&52724 2725 fi2726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2727 done2728 rm -f conftest*2729 if test -n "$ac_declaration"; then2730 echo '#ifdef __cplusplus' >>confdefs.h2731 echo $ac_declaration >>confdefs.h2732 echo '#endif' >>confdefs.h2733 fi2734 2735 3197 ac_ext=c 2736 3198 ac_cpp='$CPP $CPPFLAGS' … … 2758 3220 2759 3221 2760 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&52761 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 3222 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 3223 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; } 2762 3224 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 2763 3225 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2772 3234 /* end confdefs.h. */ 2773 3235 2774 /* Override any gcc2 internal prototype to avoid an error. */ 3236 /* Override any GCC internal prototype to avoid an error. 3237 Use char because int might match the return type of a GCC 3238 builtin and then its argument prototype would still apply. */ 2775 3239 #ifdef __cplusplus 2776 3240 extern "C" 2777 3241 #endif 2778 /* We use char because int might match the return type of a gcc22779 builtin and then its argument prototype would still apply. */2780 3242 char pthread_create (); 2781 3243 int 2782 3244 main () 2783 3245 { 2784 pthread_create ();3246 return pthread_create (); 2785 3247 ; 2786 3248 return 0; … … 2788 3250 _ACEOF 2789 3251 rm -f conftest.$ac_objext conftest$ac_exeext 2790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2791 (eval $ac_link) 2>conftest.er1 3252 if { (ac_try="$ac_link" 3253 case "(($ac_try" in 3254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3255 *) ac_try_echo=$ac_try;; 3256 esac 3257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3258 (eval "$ac_link") 2>conftest.er1 2792 3259 ac_status=$? 2793 3260 grep -v '^ *+' conftest.er1 >conftest.err … … 2795 3262 cat conftest.err >&5 2796 3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2797 (exit $ac_status); } && 2798 { ac_try='test -z "$ac_c_werror_flag" 2799 || test ! -s conftest.err' 2800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2801 (eval $ac_try) 2>&5 2802 ac_status=$? 2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2804 (exit $ac_status); }; } && 2805 { ac_try='test -s conftest$ac_exeext' 2806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2807 (eval $ac_try) 2>&5 2808 ac_status=$? 2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2810 (exit $ac_status); }; }; then 3264 (exit $ac_status); } && { 3265 test -z "$ac_c_werror_flag" || 3266 test ! -s conftest.err 3267 } && test -s conftest$ac_exeext && 3268 $as_test_x conftest$ac_exeext; then 2811 3269 ac_cv_lib_pthread_pthread_create=yes 2812 3270 else … … 2814 3272 sed 's/^/| /' conftest.$ac_ext >&5 2815 3273 2816 ac_cv_lib_pthread_pthread_create=no 2817 fi 2818 rm -f conftest.err conftest.$ac_objext \ 3274 ac_cv_lib_pthread_pthread_create=no 3275 fi 3276 3277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2819 3278 conftest$ac_exeext conftest.$ac_ext 2820 3279 LIBS=$ac_check_lib_save_LIBS 2821 3280 fi 2822 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&52823 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 3281 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 3282 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; } 2824 3283 if test $ac_cv_lib_pthread_pthread_create = yes; then 2825 3284 cat >>confdefs.h <<_ACEOF … … 2832 3291 2833 3292 2834 echo "$as_me:$LINENO: checking for puts in -lwsock32" >&52835 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6 3293 { echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 3294 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6; } 2836 3295 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 2837 3296 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2846 3305 /* end confdefs.h. */ 2847 3306 2848 /* Override any gcc2 internal prototype to avoid an error. */ 3307 /* Override any GCC internal prototype to avoid an error. 3308 Use char because int might match the return type of a GCC 3309 builtin and then its argument prototype would still apply. */ 2849 3310 #ifdef __cplusplus 2850 3311 extern "C" 2851 3312 #endif 2852 /* We use char because int might match the return type of a gcc22853 builtin and then its argument prototype would still apply. */2854 3313 char puts (); 2855 3314 int 2856 3315 main () 2857 3316 { 2858 puts ();3317 return puts (); 2859 3318 ; 2860 3319 return 0; … … 2862 3321 _ACEOF 2863 3322 rm -f conftest.$ac_objext conftest$ac_exeext 2864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2865 (eval $ac_link) 2>conftest.er1 3323 if { (ac_try="$ac_link" 3324 case "(($ac_try" in 3325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3326 *) ac_try_echo=$ac_try;; 3327 esac 3328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3329 (eval "$ac_link") 2>conftest.er1 2866 3330 ac_status=$? 2867 3331 grep -v '^ *+' conftest.er1 >conftest.err … … 2869 3333 cat conftest.err >&5 2870 3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2871 (exit $ac_status); } && 2872 { ac_try='test -z "$ac_c_werror_flag" 2873 || test ! -s conftest.err' 2874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2875 (eval $ac_try) 2>&5 2876 ac_status=$? 2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2878 (exit $ac_status); }; } && 2879 { ac_try='test -s conftest$ac_exeext' 2880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2881 (eval $ac_try) 2>&5 2882 ac_status=$? 2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2884 (exit $ac_status); }; }; then 3335 (exit $ac_status); } && { 3336 test -z "$ac_c_werror_flag" || 3337 test ! -s conftest.err 3338 } && test -s conftest$ac_exeext && 3339 $as_test_x conftest$ac_exeext; then 2885 3340 ac_cv_lib_wsock32_puts=yes 2886 3341 else … … 2888 3343 sed 's/^/| /' conftest.$ac_ext >&5 2889 3344 2890 ac_cv_lib_wsock32_puts=no 2891 fi 2892 rm -f conftest.err conftest.$ac_objext \ 3345 ac_cv_lib_wsock32_puts=no 3346 fi 3347 3348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2893 3349 conftest$ac_exeext conftest.$ac_ext 2894 3350 LIBS=$ac_check_lib_save_LIBS 2895 3351 fi 2896 echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&52897 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6 3352 { echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 3353 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6; } 2898 3354 if test $ac_cv_lib_wsock32_puts = yes; then 2899 3355 cat >>confdefs.h <<_ACEOF … … 2906 3362 2907 3363 2908 echo "$as_me:$LINENO: checking for puts in -lws2_32" >&52909 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6 3364 { echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 3365 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6; } 2910 3366 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 2911 3367 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2920 3376 /* end confdefs.h. */ 2921 3377 2922 /* Override any gcc2 internal prototype to avoid an error. */ 3378 /* Override any GCC internal prototype to avoid an error. 3379 Use char because int might match the return type of a GCC 3380 builtin and then its argument prototype would still apply. */ 2923 3381 #ifdef __cplusplus 2924 3382 extern "C" 2925 3383 #endif 2926 /* We use char because int might match the return type of a gcc22927 builtin and then its argument prototype would still apply. */2928 3384 char puts (); 2929 3385 int 2930 3386 main () 2931 3387 { 2932 puts ();3388 return puts (); 2933 3389 ; 2934 3390 return 0; … … 2936 3392 _ACEOF 2937 3393 rm -f conftest.$ac_objext conftest$ac_exeext 2938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2939 (eval $ac_link) 2>conftest.er1 3394 if { (ac_try="$ac_link" 3395 case "(($ac_try" in 3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3397 *) ac_try_echo=$ac_try;; 3398 esac 3399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3400 (eval "$ac_link") 2>conftest.er1 2940 3401 ac_status=$? 2941 3402 grep -v '^ *+' conftest.er1 >conftest.err … … 2943 3404 cat conftest.err >&5 2944 3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2945 (exit $ac_status); } && 2946 { ac_try='test -z "$ac_c_werror_flag" 2947 || test ! -s conftest.err' 2948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2949 (eval $ac_try) 2>&5 2950 ac_status=$? 2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2952 (exit $ac_status); }; } && 2953 { ac_try='test -s conftest$ac_exeext' 2954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2955 (eval $ac_try) 2>&5 2956 ac_status=$? 2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2958 (exit $ac_status); }; }; then 3406 (exit $ac_status); } && { 3407 test -z "$ac_c_werror_flag" || 3408 test ! -s conftest.err 3409 } && test -s conftest$ac_exeext && 3410 $as_test_x conftest$ac_exeext; then 2959 3411 ac_cv_lib_ws2_32_puts=yes 2960 3412 else … … 2962 3414 sed 's/^/| /' conftest.$ac_ext >&5 2963 3415 2964 ac_cv_lib_ws2_32_puts=no 2965 fi 2966 rm -f conftest.err conftest.$ac_objext \ 3416 ac_cv_lib_ws2_32_puts=no 3417 fi 3418 3419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2967 3420 conftest$ac_exeext conftest.$ac_ext 2968 3421 LIBS=$ac_check_lib_save_LIBS 2969 3422 fi 2970 echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&52971 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6 3423 { echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 3424 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6; } 2972 3425 if test $ac_cv_lib_ws2_32_puts = yes; then 2973 3426 cat >>confdefs.h <<_ACEOF … … 2980 3433 2981 3434 2982 echo "$as_me:$LINENO: checking for puts in -lole32" >&52983 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6 3435 { echo "$as_me:$LINENO: checking for puts in -lole32" >&5 3436 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6; } 2984 3437 if test "${ac_cv_lib_ole32_puts+set}" = set; then 2985 3438 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2994 3447 /* end confdefs.h. */ 2995 3448 2996 /* Override any gcc2 internal prototype to avoid an error. */ 3449 /* Override any GCC internal prototype to avoid an error. 3450 Use char because int might match the return type of a GCC 3451 builtin and then its argument prototype would still apply. */ 2997 3452 #ifdef __cplusplus 2998 3453 extern "C" 2999 3454 #endif 3000 /* We use char because int might match the return type of a gcc23001 builtin and then its argument prototype would still apply. */3002 3455 char puts (); 3003 3456 int 3004 3457 main () 3005 3458 { 3006 puts ();3459 return puts (); 3007 3460 ; 3008 3461 return 0; … … 3010 3463 _ACEOF 3011 3464 rm -f conftest.$ac_objext conftest$ac_exeext 3012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3013 (eval $ac_link) 2>conftest.er1 3465 if { (ac_try="$ac_link" 3466 case "(($ac_try" in 3467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3468 *) ac_try_echo=$ac_try;; 3469 esac 3470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3471 (eval "$ac_link") 2>conftest.er1 3014 3472 ac_status=$? 3015 3473 grep -v '^ *+' conftest.er1 >conftest.err … … 3017 3475 cat conftest.err >&5 3018 3476 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3019 (exit $ac_status); } && 3020 { ac_try='test -z "$ac_c_werror_flag" 3021 || test ! -s conftest.err' 3022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3023 (eval $ac_try) 2>&5 3024 ac_status=$? 3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3026 (exit $ac_status); }; } && 3027 { ac_try='test -s conftest$ac_exeext' 3028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3029 (eval $ac_try) 2>&5 3030 ac_status=$? 3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3032 (exit $ac_status); }; }; then 3477 (exit $ac_status); } && { 3478 test -z "$ac_c_werror_flag" || 3479 test ! -s conftest.err 3480 } && test -s conftest$ac_exeext && 3481 $as_test_x conftest$ac_exeext; then 3033 3482 ac_cv_lib_ole32_puts=yes 3034 3483 else … … 3036 3485 sed 's/^/| /' conftest.$ac_ext >&5 3037 3486 3038 ac_cv_lib_ole32_puts=no 3039 fi 3040 rm -f conftest.err conftest.$ac_objext \ 3487 ac_cv_lib_ole32_puts=no 3488 fi 3489 3490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3041 3491 conftest$ac_exeext conftest.$ac_ext 3042 3492 LIBS=$ac_check_lib_save_LIBS 3043 3493 fi 3044 echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&53045 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6 3494 { echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 3495 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6; } 3046 3496 if test $ac_cv_lib_ole32_puts = yes; then 3047 3497 cat >>confdefs.h <<_ACEOF … … 3054 3504 3055 3505 3056 echo "$as_me:$LINENO: checking for puts in -lwinmm" >&53057 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6 3506 { echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3507 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6; } 3058 3508 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3059 3509 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3068 3518 /* end confdefs.h. */ 3069 3519 3070 /* Override any gcc2 internal prototype to avoid an error. */ 3520 /* Override any GCC internal prototype to avoid an error. 3521 Use char because int might match the return type of a GCC 3522 builtin and then its argument prototype would still apply. */ 3071 3523 #ifdef __cplusplus 3072 3524 extern "C" 3073 3525 #endif 3074 /* We use char because int might match the return type of a gcc23075 builtin and then its argument prototype would still apply. */3076 3526 char puts (); 3077 3527 int 3078 3528 main () 3079 3529 { 3080 puts ();3530 return puts (); 3081 3531 ; 3082 3532 return 0; … … 3084 3534 _ACEOF 3085 3535 rm -f conftest.$ac_objext conftest$ac_exeext 3086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3087 (eval $ac_link) 2>conftest.er1 3536 if { (ac_try="$ac_link" 3537 case "(($ac_try" in 3538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3539 *) ac_try_echo=$ac_try;; 3540 esac 3541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3542 (eval "$ac_link") 2>conftest.er1 3088 3543 ac_status=$? 3089 3544 grep -v '^ *+' conftest.er1 >conftest.err … … 3091 3546 cat conftest.err >&5 3092 3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3093 (exit $ac_status); } && 3094 { ac_try='test -z "$ac_c_werror_flag" 3095 || test ! -s conftest.err' 3096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3097 (eval $ac_try) 2>&5 3098 ac_status=$? 3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3100 (exit $ac_status); }; } && 3101 { ac_try='test -s conftest$ac_exeext' 3102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3103 (eval $ac_try) 2>&5 3104 ac_status=$? 3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3106 (exit $ac_status); }; }; then 3548 (exit $ac_status); } && { 3549 test -z "$ac_c_werror_flag" || 3550 test ! -s conftest.err 3551 } && test -s conftest$ac_exeext && 3552 $as_test_x conftest$ac_exeext; then 3107 3553 ac_cv_lib_winmm_puts=yes 3108 3554 else … … 3110 3556 sed 's/^/| /' conftest.$ac_ext >&5 3111 3557 3112 ac_cv_lib_winmm_puts=no 3113 fi 3114 rm -f conftest.err conftest.$ac_objext \ 3558 ac_cv_lib_winmm_puts=no 3559 fi 3560 3561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3115 3562 conftest$ac_exeext conftest.$ac_ext 3116 3563 LIBS=$ac_check_lib_save_LIBS 3117 3564 fi 3118 echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&53119 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6 3565 { echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 3566 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6; } 3120 3567 if test $ac_cv_lib_winmm_puts = yes; then 3121 3568 cat >>confdefs.h <<_ACEOF … … 3128 3575 3129 3576 3130 echo "$as_me:$LINENO: checking for puts in -lsocket" >&53131 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6 3577 { echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3578 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6; } 3132 3579 if test "${ac_cv_lib_socket_puts+set}" = set; then 3133 3580 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3142 3589 /* end confdefs.h. */ 3143 3590 3144 /* Override any gcc2 internal prototype to avoid an error. */ 3591 /* Override any GCC internal prototype to avoid an error. 3592 Use char because int might match the return type of a GCC 3593 builtin and then its argument prototype would still apply. */ 3145 3594 #ifdef __cplusplus 3146 3595 extern "C" 3147 3596 #endif 3148 /* We use char because int might match the return type of a gcc23149 builtin and then its argument prototype would still apply. */3150 3597 char puts (); 3151 3598 int 3152 3599 main () 3153 3600 { 3154 puts ();3601 return puts (); 3155 3602 ; 3156 3603 return 0; … … 3158 3605 _ACEOF 3159 3606 rm -f conftest.$ac_objext conftest$ac_exeext 3160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3161 (eval $ac_link) 2>conftest.er1 3607 if { (ac_try="$ac_link" 3608 case "(($ac_try" in 3609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3610 *) ac_try_echo=$ac_try;; 3611 esac 3612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3613 (eval "$ac_link") 2>conftest.er1 3162 3614 ac_status=$? 3163 3615 grep -v '^ *+' conftest.er1 >conftest.err … … 3165 3617 cat conftest.err >&5 3166 3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3167 (exit $ac_status); } && 3168 { ac_try='test -z "$ac_c_werror_flag" 3169 || test ! -s conftest.err' 3170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3171 (eval $ac_try) 2>&5 3172 ac_status=$? 3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3174 (exit $ac_status); }; } && 3175 { ac_try='test -s conftest$ac_exeext' 3176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3177 (eval $ac_try) 2>&5 3178 ac_status=$? 3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3180 (exit $ac_status); }; }; then 3619 (exit $ac_status); } && { 3620 test -z "$ac_c_werror_flag" || 3621 test ! -s conftest.err 3622 } && test -s conftest$ac_exeext && 3623 $as_test_x conftest$ac_exeext; then 3181 3624 ac_cv_lib_socket_puts=yes 3182 3625 else … … 3184 3627 sed 's/^/| /' conftest.$ac_ext >&5 3185 3628 3186 ac_cv_lib_socket_puts=no 3187 fi 3188 rm -f conftest.err conftest.$ac_objext \ 3629 ac_cv_lib_socket_puts=no 3630 fi 3631 3632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3189 3633 conftest$ac_exeext conftest.$ac_ext 3190 3634 LIBS=$ac_check_lib_save_LIBS 3191 3635 fi 3192 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&53193 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6 3636 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 3637 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6; } 3194 3638 if test $ac_cv_lib_socket_puts = yes; then 3195 3639 cat >>confdefs.h <<_ACEOF … … 3202 3646 3203 3647 3204 echo "$as_me:$LINENO: checking for puts in -lrt" >&53205 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6 3648 { echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3649 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6; } 3206 3650 if test "${ac_cv_lib_rt_puts+set}" = set; then 3207 3651 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3216 3660 /* end confdefs.h. */ 3217 3661 3218 /* Override any gcc2 internal prototype to avoid an error. */ 3662 /* Override any GCC internal prototype to avoid an error. 3663 Use char because int might match the return type of a GCC 3664 builtin and then its argument prototype would still apply. */ 3219 3665 #ifdef __cplusplus 3220 3666 extern "C" 3221 3667 #endif 3222 /* We use char because int might match the return type of a gcc23223 builtin and then its argument prototype would still apply. */3224 3668 char puts (); 3225 3669 int 3226 3670 main () 3227 3671 { 3228 puts ();3672 return puts (); 3229 3673 ; 3230 3674 return 0; … … 3232 3676 _ACEOF 3233 3677 rm -f conftest.$ac_objext conftest$ac_exeext 3234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3235 (eval $ac_link) 2>conftest.er1 3678 if { (ac_try="$ac_link" 3679 case "(($ac_try" in 3680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3681 *) ac_try_echo=$ac_try;; 3682 esac 3683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3684 (eval "$ac_link") 2>conftest.er1 3236 3685 ac_status=$? 3237 3686 grep -v '^ *+' conftest.er1 >conftest.err … … 3239 3688 cat conftest.err >&5 3240 3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3241 (exit $ac_status); } && 3242 { ac_try='test -z "$ac_c_werror_flag" 3243 || test ! -s conftest.err' 3244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3245 (eval $ac_try) 2>&5 3246 ac_status=$? 3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3248 (exit $ac_status); }; } && 3249 { ac_try='test -s conftest$ac_exeext' 3250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3251 (eval $ac_try) 2>&5 3252 ac_status=$? 3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3254 (exit $ac_status); }; }; then 3690 (exit $ac_status); } && { 3691 test -z "$ac_c_werror_flag" || 3692 test ! -s conftest.err 3693 } && test -s conftest$ac_exeext && 3694 $as_test_x conftest$ac_exeext; then 3255 3695 ac_cv_lib_rt_puts=yes 3256 3696 else … … 3258 3698 sed 's/^/| /' conftest.$ac_ext >&5 3259 3699 3260 ac_cv_lib_rt_puts=no 3261 fi 3262 rm -f conftest.err conftest.$ac_objext \ 3700 ac_cv_lib_rt_puts=no 3701 fi 3702 3703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3263 3704 conftest$ac_exeext conftest.$ac_ext 3264 3705 LIBS=$ac_check_lib_save_LIBS 3265 3706 fi 3266 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&53267 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6 3707 { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 3708 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6; } 3268 3709 if test $ac_cv_lib_rt_puts = yes; then 3269 3710 cat >>confdefs.h <<_ACEOF … … 3276 3717 3277 3718 3278 echo "$as_me:$LINENO: checking for puts in -lnsl" >&53279 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6 3719 { echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3720 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6; } 3280 3721 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3281 3722 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3290 3731 /* end confdefs.h. */ 3291 3732 3292 /* Override any gcc2 internal prototype to avoid an error. */ 3733 /* Override any GCC internal prototype to avoid an error. 3734 Use char because int might match the return type of a GCC 3735 builtin and then its argument prototype would still apply. */ 3293 3736 #ifdef __cplusplus 3294 3737 extern "C" 3295 3738 #endif 3296 /* We use char because int might match the return type of a gcc23297 builtin and then its argument prototype would still apply. */3298 3739 char puts (); 3299 3740 int 3300 3741 main () 3301 3742 { 3302 puts ();3743 return puts (); 3303 3744 ; 3304 3745 return 0; … … 3306 3747 _ACEOF 3307 3748 rm -f conftest.$ac_objext conftest$ac_exeext 3308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3309 (eval $ac_link) 2>conftest.er1 3749 if { (ac_try="$ac_link" 3750 case "(($ac_try" in 3751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3752 *) ac_try_echo=$ac_try;; 3753 esac 3754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3755 (eval "$ac_link") 2>conftest.er1 3310 3756 ac_status=$? 3311 3757 grep -v '^ *+' conftest.er1 >conftest.err … … 3313 3759 cat conftest.err >&5 3314 3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3315 (exit $ac_status); } && 3316 { ac_try='test -z "$ac_c_werror_flag" 3317 || test ! -s conftest.err' 3318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3319 (eval $ac_try) 2>&5 3320 ac_status=$? 3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3322 (exit $ac_status); }; } && 3323 { ac_try='test -s conftest$ac_exeext' 3324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3325 (eval $ac_try) 2>&5 3326 ac_status=$? 3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3328 (exit $ac_status); }; }; then 3761 (exit $ac_status); } && { 3762 test -z "$ac_c_werror_flag" || 3763 test ! -s conftest.err 3764 } && test -s conftest$ac_exeext && 3765 $as_test_x conftest$ac_exeext; then 3329 3766 ac_cv_lib_nsl_puts=yes 3330 3767 else … … 3332 3769 sed 's/^/| /' conftest.$ac_ext >&5 3333 3770 3334 ac_cv_lib_nsl_puts=no 3335 fi 3336 rm -f conftest.err conftest.$ac_objext \ 3771 ac_cv_lib_nsl_puts=no 3772 fi 3773 3774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3337 3775 conftest$ac_exeext conftest.$ac_ext 3338 3776 LIBS=$ac_check_lib_save_LIBS 3339 3777 fi 3340 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&53341 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6 3778 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 3779 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6; } 3342 3780 if test $ac_cv_lib_nsl_puts = yes; then 3343 3781 cat >>confdefs.h <<_ACEOF … … 3350 3788 3351 3789 3352 echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53353 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 3790 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3791 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3354 3792 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3355 3793 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3364 3802 /* end confdefs.h. */ 3365 3803 3366 /* Override any gcc2 internal prototype to avoid an error. */ 3804 /* Override any GCC internal prototype to avoid an error. 3805 Use char because int might match the return type of a GCC 3806 builtin and then its argument prototype would still apply. */ 3367 3807 #ifdef __cplusplus 3368 3808 extern "C" 3369 3809 #endif 3370 /* We use char because int might match the return type of a gcc23371 builtin and then its argument prototype would still apply. */3372 3810 char uuid_generate (); 3373 3811 int 3374 3812 main () 3375 3813 { 3376 uuid_generate ();3814 return uuid_generate (); 3377 3815 ; 3378 3816 return 0; … … 3380 3818 _ACEOF 3381 3819 rm -f conftest.$ac_objext conftest$ac_exeext 3382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3383 (eval $ac_link) 2>conftest.er1 3820 if { (ac_try="$ac_link" 3821 case "(($ac_try" in 3822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3823 *) ac_try_echo=$ac_try;; 3824 esac 3825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3826 (eval "$ac_link") 2>conftest.er1 3384 3827 ac_status=$? 3385 3828 grep -v '^ *+' conftest.er1 >conftest.err … … 3387 3830 cat conftest.err >&5 3388 3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3389 (exit $ac_status); } && 3390 { ac_try='test -z "$ac_c_werror_flag" 3391 || test ! -s conftest.err' 3392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3393 (eval $ac_try) 2>&5 3394 ac_status=$? 3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3396 (exit $ac_status); }; } && 3397 { ac_try='test -s conftest$ac_exeext' 3398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3399 (eval $ac_try) 2>&5 3400 ac_status=$? 3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3402 (exit $ac_status); }; }; then 3832 (exit $ac_status); } && { 3833 test -z "$ac_c_werror_flag" || 3834 test ! -s conftest.err 3835 } && test -s conftest$ac_exeext && 3836 $as_test_x conftest$ac_exeext; then 3403 3837 ac_cv_lib_uuid_uuid_generate=yes 3404 3838 else … … 3406 3840 sed 's/^/| /' conftest.$ac_ext >&5 3407 3841 3408 ac_cv_lib_uuid_uuid_generate=no 3409 fi 3410 rm -f conftest.err conftest.$ac_objext \ 3842 ac_cv_lib_uuid_uuid_generate=no 3843 fi 3844 3845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3411 3846 conftest$ac_exeext conftest.$ac_ext 3412 3847 LIBS=$ac_check_lib_save_LIBS 3413 3848 fi 3414 echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53415 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 3849 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3850 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 3416 3851 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3417 3852 cat >>confdefs.h <<_ACEOF … … 3423 3858 fi 3424 3859 3425 echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53426 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 3860 { echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3861 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6; } 3427 3862 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3428 3863 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3437 3872 /* end confdefs.h. */ 3438 3873 3439 /* Override any gcc2 internal prototype to avoid an error. */ 3874 /* Override any GCC internal prototype to avoid an error. 3875 Use char because int might match the return type of a GCC 3876 builtin and then its argument prototype would still apply. */ 3440 3877 #ifdef __cplusplus 3441 3878 extern "C" 3442 3879 #endif 3443 /* We use char because int might match the return type of a gcc23444 builtin and then its argument prototype would still apply. */3445 3880 char uuid_generate (); 3446 3881 int 3447 3882 main () 3448 3883 { 3449 uuid_generate ();3884 return uuid_generate (); 3450 3885 ; 3451 3886 return 0; … … 3453 3888 _ACEOF 3454 3889 rm -f conftest.$ac_objext conftest$ac_exeext 3455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3456 (eval $ac_link) 2>conftest.er1 3890 if { (ac_try="$ac_link" 3891 case "(($ac_try" in 3892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3893 *) ac_try_echo=$ac_try;; 3894 esac 3895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3896 (eval "$ac_link") 2>conftest.er1 3457 3897 ac_status=$? 3458 3898 grep -v '^ *+' conftest.er1 >conftest.err … … 3460 3900 cat conftest.err >&5 3461 3901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3462 (exit $ac_status); } && 3463 { ac_try='test -z "$ac_c_werror_flag" 3464 || test ! -s conftest.err' 3465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3466 (eval $ac_try) 2>&5 3467 ac_status=$? 3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3469 (exit $ac_status); }; } && 3470 { ac_try='test -s conftest$ac_exeext' 3471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3472 (eval $ac_try) 2>&5 3473 ac_status=$? 3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3475 (exit $ac_status); }; }; then 3902 (exit $ac_status); } && { 3903 test -z "$ac_c_werror_flag" || 3904 test ! -s conftest.err 3905 } && test -s conftest$ac_exeext && 3906 $as_test_x conftest$ac_exeext; then 3476 3907 ac_cv_lib_uuid_uuid_generate=yes 3477 3908 else … … 3479 3910 sed 's/^/| /' conftest.$ac_ext >&5 3480 3911 3481 ac_cv_lib_uuid_uuid_generate=no 3482 fi 3483 rm -f conftest.err conftest.$ac_objext \ 3912 ac_cv_lib_uuid_uuid_generate=no 3913 fi 3914 3915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3484 3916 conftest$ac_exeext conftest.$ac_ext 3485 3917 LIBS=$ac_check_lib_save_LIBS 3486 3918 fi 3487 echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53488 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 3919 { echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3920 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6; } 3489 3921 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3490 3922 ac_has_uuid_lib=1 … … 3492 3924 3493 3925 3494 echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&53495 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6 3926 { echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 3927 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6; } 3496 3928 cat >>confdefs.h <<_ACEOF 3497 3929 #define PJ_M_NAME "$target_cpu" … … 3499 3931 3500 3932 3501 echo "$as_me:$LINENO: checking memory alignment" >&53502 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6 3933 { echo "$as_me:$LINENO: checking memory alignment" >&5 3934 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6; } 3503 3935 case $target in 3504 3936 ia64-* | x86_64-* ) … … 3507 3939 _ACEOF 3508 3940 3509 echo "$as_me:$LINENO: result: 8 bytes" >&53510 echo "${ECHO_T}8 bytes" >&6 3941 { echo "$as_me:$LINENO: result: 8 bytes" >&5 3942 echo "${ECHO_T}8 bytes" >&6; } 3511 3943 ;; 3512 3944 * ) … … 3515 3947 _ACEOF 3516 3948 3517 echo "$as_me:$LINENO: result: 4 bytes (default)" >&53518 echo "${ECHO_T}4 bytes (default)" >&6 3949 { echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 3950 echo "${ECHO_T}4 bytes (default)" >&6; } 3519 3951 ;; 3520 3952 esac 3521 3522 3523 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&53524 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&63525 if test "${ac_cv_c_bigendian+set}" = set; then3526 echo $ECHO_N "(cached) $ECHO_C" >&63527 else3528 # See if sys/param.h defines the BYTE_ORDER macro.3529 cat >conftest.$ac_ext <<_ACEOF3530 /* confdefs.h. */3531 _ACEOF3532 cat confdefs.h >>conftest.$ac_ext3533 cat >>conftest.$ac_ext <<_ACEOF3534 /* end confdefs.h. */3535 #include <sys/types.h>3536 #include <sys/param.h>3537 3538 int3539 main ()3540 {3541 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN3542 bogus endian macros3543 #endif3544 3545 ;3546 return 0;3547 }3548 _ACEOF3549 rm -f conftest.$ac_objext3550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53551 (eval $ac_compile) 2>conftest.er13552 ac_status=$?3553 grep -v '^ *+' conftest.er1 >conftest.err3554 rm -f conftest.er13555 cat conftest.err >&53556 echo "$as_me:$LINENO: \$? = $ac_status" >&53557 (exit $ac_status); } &&3558 { ac_try='test -z "$ac_c_werror_flag"3559 || test ! -s conftest.err'3560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53561 (eval $ac_try) 2>&53562 ac_status=$?3563 echo "$as_me:$LINENO: \$? = $ac_status" >&53564 (exit $ac_status); }; } &&3565 { ac_try='test -s conftest.$ac_objext'3566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53567 (eval $ac_try) 2>&53568 ac_status=$?3569 echo "$as_me:$LINENO: \$? = $ac_status" >&53570 (exit $ac_status); }; }; then3571 # It does; now see whether it defined to BIG_ENDIAN or not.3572 cat >conftest.$ac_ext <<_ACEOF3573 /* confdefs.h. */3574 _ACEOF3575 cat confdefs.h >>conftest.$ac_ext3576 cat >>conftest.$ac_ext <<_ACEOF3577 /* end confdefs.h. */3578 #include <sys/types.h>3579 #include <sys/param.h>3580 3581 int3582 main ()3583 {3584 #if BYTE_ORDER != BIG_ENDIAN3585 not big endian3586 #endif3587 3588 ;3589 return 0;3590 }3591 _ACEOF3592 rm -f conftest.$ac_objext3593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53594 (eval $ac_compile) 2>conftest.er13595 ac_status=$?3596 grep -v '^ *+' conftest.er1 >conftest.err3597 rm -f conftest.er13598 cat conftest.err >&53599 echo "$as_me:$LINENO: \$? = $ac_status" >&53600 (exit $ac_status); } &&3601 { ac_try='test -z "$ac_c_werror_flag"3602 || test ! -s conftest.err'3603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53604 (eval $ac_try) 2>&53605 ac_status=$?3606 echo "$as_me:$LINENO: \$? = $ac_status" >&53607 (exit $ac_status); }; } &&3608 { ac_try='test -s conftest.$ac_objext'3609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53610 (eval $ac_try) 2>&53611 ac_status=$?3612 echo "$as_me:$LINENO: \$? = $ac_status" >&53613 (exit $ac_status); }; }; then3614 ac_cv_c_bigendian=yes3615 else3616 echo "$as_me: failed program was:" >&53617 sed 's/^/| /' conftest.$ac_ext >&53618 3619 ac_cv_c_bigendian=no3620 fi3621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext3622 else3623 echo "$as_me: failed program was:" >&53624 sed 's/^/| /' conftest.$ac_ext >&53625 3626 # It does not; compile a test program.3627 if test "$cross_compiling" = yes; then3628 # try to guess the endianness by grepping values into an object file3629 ac_cv_c_bigendian=unknown3630 cat >conftest.$ac_ext <<_ACEOF3631 /* confdefs.h. */3632 _ACEOF3633 cat confdefs.h >>conftest.$ac_ext3634 cat >>conftest.$ac_ext <<_ACEOF3635 /* end confdefs.h. */3636 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };3637 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };3638 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }3639 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };3640 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };3641 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }3642 int3643 main ()3644 {3645 _ascii (); _ebcdic ();3646 ;3647 return 0;3648 }3649 _ACEOF3650 rm -f conftest.$ac_objext3651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53652 (eval $ac_compile) 2>conftest.er13653 ac_status=$?3654 grep -v '^ *+' conftest.er1 >conftest.err3655 rm -f conftest.er13656 cat conftest.err >&53657 echo "$as_me:$LINENO: \$? = $ac_status" >&53658 (exit $ac_status); } &&3659 { ac_try='test -z "$ac_c_werror_flag"3660 || test ! -s conftest.err'3661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53662 (eval $ac_try) 2>&53663 ac_status=$?3664 echo "$as_me:$LINENO: \$? = $ac_status" >&53665 (exit $ac_status); }; } &&3666 { ac_try='test -s conftest.$ac_objext'3667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53668 (eval $ac_try) 2>&53669 ac_status=$?3670 echo "$as_me:$LINENO: \$? = $ac_status" >&53671 (exit $ac_status); }; }; then3672 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then3673 ac_cv_c_bigendian=yes3674 fi3675 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then3676 if test "$ac_cv_c_bigendian" = unknown; then3677 ac_cv_c_bigendian=no3678 else3679 # finding both strings is unlikely to happen, but who knows?3680 ac_cv_c_bigendian=unknown3681 fi3682 fi3683 else3684 echo "$as_me: failed program was:" >&53685 sed 's/^/| /' conftest.$ac_ext >&53686 3687 fi3688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext3689 else3690 cat >conftest.$ac_ext <<_ACEOF3691 /* confdefs.h. */3692 _ACEOF3693 cat confdefs.h >>conftest.$ac_ext3694 cat >>conftest.$ac_ext <<_ACEOF3695 /* end confdefs.h. */3696 int3697 main ()3698 {3699 /* Are we little or big endian? From Harbison&Steele. */3700 union3701 {3702 long l;3703 char c[sizeof (long)];3704 } u;3705 u.l = 1;3706 exit (u.c[sizeof (long) - 1] == 1);3707 }3708 _ACEOF3709 rm -f conftest$ac_exeext3710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&53711 (eval $ac_link) 2>&53712 ac_status=$?3713 echo "$as_me:$LINENO: \$? = $ac_status" >&53714 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'3715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53716 (eval $ac_try) 2>&53717 ac_status=$?3718 echo "$as_me:$LINENO: \$? = $ac_status" >&53719 (exit $ac_status); }; }; then3720 ac_cv_c_bigendian=no3721 else3722 echo "$as_me: program exited with status $ac_status" >&53723 echo "$as_me: failed program was:" >&53724 sed 's/^/| /' conftest.$ac_ext >&53725 3726 ( exit $ac_status )3727 ac_cv_c_bigendian=yes3728 fi3729 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext3730 fi3731 fi3732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext3733 fi3734 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&53735 echo "${ECHO_T}$ac_cv_c_bigendian" >&63736 case $ac_cv_c_bigendian in3737 yes)3738 3739 cat >>confdefs.h <<\_ACEOF3740 #define WORDS_BIGENDIAN 13741 _ACEOF3742 ;;3743 no)3744 ;;3745 *)3746 { { echo "$as_me:$LINENO: error: unknown endianness3747 presetting ac_cv_c_bigendian=no (or yes) will help" >&53748 echo "$as_me: error: unknown endianness3749 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}3750 { (exit 1); exit 1; }; } ;;3751 esac3752 3753 3754 case $target in3755 *mingw* | *cygw* | *win32* | *w32* )3756 cat >>confdefs.h <<\_ACEOF3757 #define PJ_WIN32 13758 _ACEOF3759 3760 cat >>confdefs.h <<\_ACEOF3761 #define PJ_WIN32_WINNT 0x04003762 _ACEOF3763 3764 cat >>confdefs.h <<\_ACEOF3765 #define WIN32_LEAN_AND_MEAN 13766 _ACEOF3767 3768 ;;3769 *darwin*)3770 cat >>confdefs.h <<\_ACEOF3771 #define PJ_DARWINOS 13772 _ACEOF3773 3774 ;;3775 *linux*)3776 cat >>confdefs.h <<\_ACEOF3777 #define PJ_LINUX 13778 _ACEOF3779 3780 ;;3781 *rtems*)3782 cat >>confdefs.h <<\_ACEOF3783 #define PJ_RTEMS 13784 _ACEOF3785 3786 ;;3787 *sunos* | *solaris* )3788 cat >>confdefs.h <<\_ACEOF3789 #define PJ_SUNOS 13790 _ACEOF3791 3792 ;;3793 *)3794 ;;3795 esac3796 3797 3798 3799 3800 # Check whether --enable-floating-point or --disable-floating-point was given.3801 if test "${enable_floating_point+set}" = set; then3802 enableval="$enable_floating_point"3803 if test "$enable_floating_point" = "no"; then3804 cat >>confdefs.h <<\_ACEOF3805 #define PJ_HAS_FLOATING_POINT 03806 _ACEOF3807 3808 echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&53809 echo "${ECHO_T}Checking if floating point is disabled... yes" >&63810 fi3811 else3812 3813 cat >>confdefs.h <<\_ACEOF3814 #define PJ_HAS_FLOATING_POINT 13815 _ACEOF3816 3817 echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&53818 echo "${ECHO_T}Checking if floating point is disabled... no" >&63819 3820 echo "$as_me:$LINENO: checking for fmod in -lm" >&53821 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&63822 if test "${ac_cv_lib_m_fmod+set}" = set; then3823 echo $ECHO_N "(cached) $ECHO_C" >&63824 else3825 ac_check_lib_save_LIBS=$LIBS3826 LIBS="-lm $LIBS"3827 cat >conftest.$ac_ext <<_ACEOF3828 /* confdefs.h. */3829 _ACEOF3830 cat confdefs.h >>conftest.$ac_ext3831 cat >>conftest.$ac_ext <<_ACEOF3832 /* end confdefs.h. */3833 3834 /* Override any gcc2 internal prototype to avoid an error. */3835 #ifdef __cplusplus3836 extern "C"3837 #endif3838 /* We use char because int might match the return type of a gcc23839 builtin and then its argument prototype would still apply. */3840 char fmod ();3841 int3842 main ()3843 {3844 fmod ();3845 ;3846 return 0;3847 }3848 _ACEOF3849 rm -f conftest.$ac_objext conftest$ac_exeext3850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&53851 (eval $ac_link) 2>conftest.er13852 ac_status=$?3853 grep -v '^ *+' conftest.er1 >conftest.err3854 rm -f conftest.er13855 cat conftest.err >&53856 echo "$as_me:$LINENO: \$? = $ac_status" >&53857 (exit $ac_status); } &&3858 { ac_try='test -z "$ac_c_werror_flag"3859 || test ! -s conftest.err'3860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53861 (eval $ac_try) 2>&53862 ac_status=$?3863 echo "$as_me:$LINENO: \$? = $ac_status" >&53864 (exit $ac_status); }; } &&3865 { ac_try='test -s conftest$ac_exeext'3866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53867 (eval $ac_try) 2>&53868 ac_status=$?3869 echo "$as_me:$LINENO: \$? = $ac_status" >&53870 (exit $ac_status); }; }; then3871 ac_cv_lib_m_fmod=yes3872 else3873 echo "$as_me: failed program was:" >&53874 sed 's/^/| /' conftest.$ac_ext >&53875 3876 ac_cv_lib_m_fmod=no3877 fi3878 rm -f conftest.err conftest.$ac_objext \3879 conftest$ac_exeext conftest.$ac_ext3880 LIBS=$ac_check_lib_save_LIBS3881 fi3882 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&53883 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&63884 if test $ac_cv_lib_m_fmod = yes; then3885 cat >>confdefs.h <<_ACEOF3886 #define HAVE_LIBM 13887 _ACEOF3888 3889 LIBS="-lm $LIBS"3890 3891 fi3892 3893 3894 fi;3895 3953 3896 3954 … … 3900 3958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3901 3959 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3902 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53903 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3960 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3961 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3904 3962 # On Suns, sometimes $CPP names a directory. 3905 3963 if test -n "$CPP" && test -d "$CPP"; then … … 3935 3993 Syntax error 3936 3994 _ACEOF 3937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3938 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3995 if { (ac_try="$ac_cpp conftest.$ac_ext" 3996 case "(($ac_try" in 3997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3998 *) ac_try_echo=$ac_try;; 3999 esac 4000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4001 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3939 4002 ac_status=$? 3940 4003 grep -v '^ *+' conftest.er1 >conftest.err … … 3942 4005 cat conftest.err >&5 3943 4006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3944 (exit $ac_status); } >/dev/null; then 3945 if test -s conftest.err; then 3946 ac_cpp_err=$ac_c_preproc_warn_flag 3947 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3948 else 3949 ac_cpp_err= 3950 fi 3951 else 3952 ac_cpp_err=yes 3953 fi 3954 if test -z "$ac_cpp_err"; then 4007 (exit $ac_status); } >/dev/null && { 4008 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4009 test ! -s conftest.err 4010 }; then 3955 4011 : 3956 4012 else … … 3961 4017 continue 3962 4018 fi 4019 3963 4020 rm -f conftest.err conftest.$ac_ext 3964 4021 3965 # OK, works on sane cases. Now check whether non -existent headers4022 # OK, works on sane cases. Now check whether nonexistent headers 3966 4023 # can be detected and how. 3967 4024 cat >conftest.$ac_ext <<_ACEOF … … 3973 4030 #include <ac_nonexistent.h> 3974 4031 _ACEOF 3975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3976 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4032 if { (ac_try="$ac_cpp conftest.$ac_ext" 4033 case "(($ac_try" in 4034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4035 *) ac_try_echo=$ac_try;; 4036 esac 4037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4038 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3977 4039 ac_status=$? 3978 4040 grep -v '^ *+' conftest.er1 >conftest.err … … 3980 4042 cat conftest.err >&5 3981 4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3982 (exit $ac_status); } >/dev/null; then 3983 if test -s conftest.err; then 3984 ac_cpp_err=$ac_c_preproc_warn_flag 3985 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3986 else 3987 ac_cpp_err= 3988 fi 3989 else 3990 ac_cpp_err=yes 3991 fi 3992 if test -z "$ac_cpp_err"; then 4044 (exit $ac_status); } >/dev/null && { 4045 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4046 test ! -s conftest.err 4047 }; then 3993 4048 # Broken: success on invalid input. 3994 4049 continue … … 4001 4056 break 4002 4057 fi 4058 4003 4059 rm -f conftest.err conftest.$ac_ext 4004 4060 … … 4018 4074 ac_cv_prog_CPP=$CPP 4019 4075 fi 4020 echo "$as_me:$LINENO: result: $CPP" >&54021 echo "${ECHO_T}$CPP" >&6 4076 { echo "$as_me:$LINENO: result: $CPP" >&5 4077 echo "${ECHO_T}$CPP" >&6; } 4022 4078 ac_preproc_ok=false 4023 4079 for ac_c_preproc_warn_flag in '' yes … … 4042 4098 Syntax error 4043 4099 _ACEOF 4044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4045 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4100 if { (ac_try="$ac_cpp conftest.$ac_ext" 4101 case "(($ac_try" in 4102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4103 *) ac_try_echo=$ac_try;; 4104 esac 4105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4106 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4046 4107 ac_status=$? 4047 4108 grep -v '^ *+' conftest.er1 >conftest.err … … 4049 4110 cat conftest.err >&5 4050 4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4051 (exit $ac_status); } >/dev/null; then 4052 if test -s conftest.err; then 4053 ac_cpp_err=$ac_c_preproc_warn_flag 4054 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4055 else 4056 ac_cpp_err= 4057 fi 4058 else 4059 ac_cpp_err=yes 4060 fi 4061 if test -z "$ac_cpp_err"; then 4112 (exit $ac_status); } >/dev/null && { 4113 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4114 test ! -s conftest.err 4115 }; then 4062 4116 : 4063 4117 else … … 4068 4122 continue 4069 4123 fi 4124 4070 4125 rm -f conftest.err conftest.$ac_ext 4071 4126 4072 # OK, works on sane cases. Now check whether non -existent headers4127 # OK, works on sane cases. Now check whether nonexistent headers 4073 4128 # can be detected and how. 4074 4129 cat >conftest.$ac_ext <<_ACEOF … … 4080 4135 #include <ac_nonexistent.h> 4081 4136 _ACEOF 4082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4083 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4137 if { (ac_try="$ac_cpp conftest.$ac_ext" 4138 case "(($ac_try" in 4139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4140 *) ac_try_echo=$ac_try;; 4141 esac 4142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4143 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4084 4144 ac_status=$? 4085 4145 grep -v '^ *+' conftest.er1 >conftest.err … … 4087 4147 cat conftest.err >&5 4088 4148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4089 (exit $ac_status); } >/dev/null; then 4090 if test -s conftest.err; then 4091 ac_cpp_err=$ac_c_preproc_warn_flag 4092 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4093 else 4094 ac_cpp_err= 4095 fi 4096 else 4097 ac_cpp_err=yes 4098 fi 4099 if test -z "$ac_cpp_err"; then 4149 (exit $ac_status); } >/dev/null && { 4150 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4151 test ! -s conftest.err 4152 }; then 4100 4153 # Broken: success on invalid input. 4101 4154 continue … … 4108 4161 break 4109 4162 fi 4163 4110 4164 rm -f conftest.err conftest.$ac_ext 4111 4165 … … 4130 4184 4131 4185 4132 echo "$as_me:$LINENO: checking for egrep" >&54133 echo $ECHO_N "checking for egrep... $ECHO_C" >&64134 if test "${ac_cv_p rog_egrep+set}" = set; then4186 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4187 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4188 if test "${ac_cv_path_GREP+set}" = set; then 4135 4189 echo $ECHO_N "(cached) $ECHO_C" >&6 4136 4190 else 4137 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 4138 then ac_cv_prog_egrep='grep -E' 4139 else ac_cv_prog_egrep='egrep' 4191 # Extract the first word of "grep ggrep" to use in msg output 4192 if test -z "$GREP"; then 4193 set dummy grep ggrep; ac_prog_name=$2 4194 if test "${ac_cv_path_GREP+set}" = set; then 4195 echo $ECHO_N "(cached) $ECHO_C" >&6 4196 else 4197 ac_path_GREP_found=false 4198 # Loop through the user's path and test for each of PROGNAME-LIST 4199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4200 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4201 do 4202 IFS=$as_save_IFS 4203 test -z "$as_dir" && as_dir=. 4204 for ac_prog in grep ggrep; do 4205 for ac_exec_ext in '' $ac_executable_extensions; do 4206 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4207 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4208 # Check for GNU ac_path_GREP and select it if it is found. 4209 # Check for GNU $ac_path_GREP 4210 case `"$ac_path_GREP" --version 2>&1` in 4211 *GNU*) 4212 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4213 *) 4214 ac_count=0 4215 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4216 while : 4217 do 4218 cat "conftest.in" "conftest.in" >"conftest.tmp" 4219 mv "conftest.tmp" "conftest.in" 4220 cp "conftest.in" "conftest.nl" 4221 echo 'GREP' >> "conftest.nl" 4222 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4223 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4224 ac_count=`expr $ac_count + 1` 4225 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4226 # Best one so far, save it but keep looking for a better one 4227 ac_cv_path_GREP="$ac_path_GREP" 4228 ac_path_GREP_max=$ac_count 4140 4229 fi 4141 fi 4142 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 4143 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 4144 EGREP=$ac_cv_prog_egrep 4145 4146 4147 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4148 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4230 # 10*(2^10) chars as input seems more than enough 4231 test $ac_count -gt 10 && break 4232 done 4233 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4234 esac 4235 4236 4237 $ac_path_GREP_found && break 3 4238 done 4239 done 4240 4241 done 4242 IFS=$as_save_IFS 4243 4244 4245 fi 4246 4247 GREP="$ac_cv_path_GREP" 4248 if test -z "$GREP"; then 4249 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4250 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4251 { (exit 1); exit 1; }; } 4252 fi 4253 4254 else 4255 ac_cv_path_GREP=$GREP 4256 fi 4257 4258 4259 fi 4260 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4261 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4262 GREP="$ac_cv_path_GREP" 4263 4264 4265 { echo "$as_me:$LINENO: checking for egrep" >&5 4266 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4267 if test "${ac_cv_path_EGREP+set}" = set; then 4268 echo $ECHO_N "(cached) $ECHO_C" >&6 4269 else 4270 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4271 then ac_cv_path_EGREP="$GREP -E" 4272 else 4273 # Extract the first word of "egrep" to use in msg output 4274 if test -z "$EGREP"; then 4275 set dummy egrep; ac_prog_name=$2 4276 if test "${ac_cv_path_EGREP+set}" = set; then 4277 echo $ECHO_N "(cached) $ECHO_C" >&6 4278 else 4279 ac_path_EGREP_found=false 4280 # Loop through the user's path and test for each of PROGNAME-LIST 4281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4282 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4283 do 4284 IFS=$as_save_IFS 4285 test -z "$as_dir" && as_dir=. 4286 for ac_prog in egrep; do 4287 for ac_exec_ext in '' $ac_executable_extensions; do 4288 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4289 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4290 # Check for GNU ac_path_EGREP and select it if it is found. 4291 # Check for GNU $ac_path_EGREP 4292 case `"$ac_path_EGREP" --version 2>&1` in 4293 *GNU*) 4294 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4295 *) 4296 ac_count=0 4297 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4298 while : 4299 do 4300 cat "conftest.in" "conftest.in" >"conftest.tmp" 4301 mv "conftest.tmp" "conftest.in" 4302 cp "conftest.in" "conftest.nl" 4303 echo 'EGREP' >> "conftest.nl" 4304 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4305 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4306 ac_count=`expr $ac_count + 1` 4307 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4308 # Best one so far, save it but keep looking for a better one 4309 ac_cv_path_EGREP="$ac_path_EGREP" 4310 ac_path_EGREP_max=$ac_count 4311 fi 4312 # 10*(2^10) chars as input seems more than enough 4313 test $ac_count -gt 10 && break 4314 done 4315 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4316 esac 4317 4318 4319 $ac_path_EGREP_found && break 3 4320 done 4321 done 4322 4323 done 4324 IFS=$as_save_IFS 4325 4326 4327 fi 4328 4329 EGREP="$ac_cv_path_EGREP" 4330 if test -z "$EGREP"; then 4331 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4332 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4333 { (exit 1); exit 1; }; } 4334 fi 4335 4336 else 4337 ac_cv_path_EGREP=$EGREP 4338 fi 4339 4340 4341 fi 4342 fi 4343 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4344 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4345 EGREP="$ac_cv_path_EGREP" 4346 4347 4348 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4349 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4149 4350 if test "${ac_cv_header_stdc+set}" = set; then 4150 4351 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4170 4371 _ACEOF 4171 4372 rm -f conftest.$ac_objext 4172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4173 (eval $ac_compile) 2>conftest.er1 4373 if { (ac_try="$ac_compile" 4374 case "(($ac_try" in 4375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4376 *) ac_try_echo=$ac_try;; 4377 esac 4378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4379 (eval "$ac_compile") 2>conftest.er1 4174 4380 ac_status=$? 4175 4381 grep -v '^ *+' conftest.er1 >conftest.err … … 4177 4383 cat conftest.err >&5 4178 4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4179 (exit $ac_status); } && 4180 { ac_try='test -z "$ac_c_werror_flag" 4181 || test ! -s conftest.err' 4182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4183 (eval $ac_try) 2>&5 4184 ac_status=$? 4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4186 (exit $ac_status); }; } && 4187 { ac_try='test -s conftest.$ac_objext' 4188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4189 (eval $ac_try) 2>&5 4190 ac_status=$? 4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4192 (exit $ac_status); }; }; then 4385 (exit $ac_status); } && { 4386 test -z "$ac_c_werror_flag" || 4387 test ! -s conftest.err 4388 } && test -s conftest.$ac_objext; then 4193 4389 ac_cv_header_stdc=yes 4194 4390 else … … 4196 4392 sed 's/^/| /' conftest.$ac_ext >&5 4197 4393 4198 ac_cv_header_stdc=no 4199 fi 4200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4394 ac_cv_header_stdc=no 4395 fi 4396 4397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4201 4398 4202 4399 if test $ac_cv_header_stdc = yes; then … … 4254 4451 /* end confdefs.h. */ 4255 4452 #include <ctype.h> 4453 #include <stdlib.h> 4256 4454 #if ((' ' & 0x0FF) == 0x020) 4257 4455 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4273 4471 if (XOR (islower (i), ISLOWER (i)) 4274 4472 || toupper (i) != TOUPPER (i)) 4275 exit(2);4276 exit (0);4473 return 2; 4474 return 0; 4277 4475 } 4278 4476 _ACEOF 4279 4477 rm -f conftest$ac_exeext 4280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4281 (eval $ac_link) 2>&5 4478 if { (ac_try="$ac_link" 4479 case "(($ac_try" in 4480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4481 *) ac_try_echo=$ac_try;; 4482 esac 4483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4484 (eval "$ac_link") 2>&5 4282 4485 ac_status=$? 4283 4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4284 4487 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4286 (eval $ac_try) 2>&5 4488 { (case "(($ac_try" in 4489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4490 *) ac_try_echo=$ac_try;; 4491 esac 4492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4493 (eval "$ac_try") 2>&5 4287 4494 ac_status=$? 4288 4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4297 4504 ac_cv_header_stdc=no 4298 4505 fi 4299 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4300 fi 4301 fi 4302 fi 4303 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4304 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4507 fi 4508 4509 4510 fi 4511 fi 4512 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4513 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4305 4514 if test $ac_cv_header_stdc = yes; then 4306 4515 … … 4325 4534 do 4326 4535 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4327 echo "$as_me:$LINENO: checking for $ac_header" >&54328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4329 if eval "test \"\${$as_ac_Header+set}\" = set"; then4536 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4330 4539 echo $ECHO_N "(cached) $ECHO_C" >&6 4331 4540 else … … 4341 4550 _ACEOF 4342 4551 rm -f conftest.$ac_objext 4343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4344 (eval $ac_compile) 2>conftest.er1 4552 if { (ac_try="$ac_compile" 4553 case "(($ac_try" in 4554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4555 *) ac_try_echo=$ac_try;; 4556 esac 4557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4558 (eval "$ac_compile") 2>conftest.er1 4345 4559 ac_status=$? 4346 4560 grep -v '^ *+' conftest.er1 >conftest.err … … 4348 4562 cat conftest.err >&5 4349 4563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4350 (exit $ac_status); } && 4351 { ac_try='test -z "$ac_c_werror_flag" 4352 || test ! -s conftest.err' 4353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4354 (eval $ac_try) 2>&5 4355 ac_status=$? 4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4357 (exit $ac_status); }; } && 4358 { ac_try='test -s conftest.$ac_objext' 4359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4360 (eval $ac_try) 2>&5 4361 ac_status=$? 4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4363 (exit $ac_status); }; }; then 4564 (exit $ac_status); } && { 4565 test -z "$ac_c_werror_flag" || 4566 test ! -s conftest.err 4567 } && test -s conftest.$ac_objext; then 4364 4568 eval "$as_ac_Header=yes" 4365 4569 else … … 4367 4571 sed 's/^/| /' conftest.$ac_ext >&5 4368 4572 4369 eval "$as_ac_Header=no" 4370 fi 4371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4372 fi 4373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4573 eval "$as_ac_Header=no" 4574 fi 4575 4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4577 fi 4578 ac_res=`eval echo '${'$as_ac_Header'}'` 4579 { echo "$as_me:$LINENO: result: $ac_res" >&5 4580 echo "${ECHO_T}$ac_res" >&6; } 4375 4581 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4376 4582 cat >>confdefs.h <<_ACEOF … … 4383 4589 4384 4590 4591 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 4592 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 4593 if test "${ac_cv_c_bigendian+set}" = set; then 4594 echo $ECHO_N "(cached) $ECHO_C" >&6 4595 else 4596 # See if sys/param.h defines the BYTE_ORDER macro. 4597 cat >conftest.$ac_ext <<_ACEOF 4598 /* confdefs.h. */ 4599 _ACEOF 4600 cat confdefs.h >>conftest.$ac_ext 4601 cat >>conftest.$ac_ext <<_ACEOF 4602 /* end confdefs.h. */ 4603 #include <sys/types.h> 4604 #include <sys/param.h> 4605 4606 int 4607 main () 4608 { 4609 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 4610 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 4611 bogus endian macros 4612 #endif 4613 4614 ; 4615 return 0; 4616 } 4617 _ACEOF 4618 rm -f conftest.$ac_objext 4619 if { (ac_try="$ac_compile" 4620 case "(($ac_try" in 4621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4622 *) ac_try_echo=$ac_try;; 4623 esac 4624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4625 (eval "$ac_compile") 2>conftest.er1 4626 ac_status=$? 4627 grep -v '^ *+' conftest.er1 >conftest.err 4628 rm -f conftest.er1 4629 cat conftest.err >&5 4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4631 (exit $ac_status); } && { 4632 test -z "$ac_c_werror_flag" || 4633 test ! -s conftest.err 4634 } && test -s conftest.$ac_objext; then 4635 # It does; now see whether it defined to BIG_ENDIAN or not. 4636 cat >conftest.$ac_ext <<_ACEOF 4637 /* confdefs.h. */ 4638 _ACEOF 4639 cat confdefs.h >>conftest.$ac_ext 4640 cat >>conftest.$ac_ext <<_ACEOF 4641 /* end confdefs.h. */ 4642 #include <sys/types.h> 4643 #include <sys/param.h> 4644 4645 int 4646 main () 4647 { 4648 #if BYTE_ORDER != BIG_ENDIAN 4649 not big endian 4650 #endif 4651 4652 ; 4653 return 0; 4654 } 4655 _ACEOF 4656 rm -f conftest.$ac_objext 4657 if { (ac_try="$ac_compile" 4658 case "(($ac_try" in 4659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4660 *) ac_try_echo=$ac_try;; 4661 esac 4662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4663 (eval "$ac_compile") 2>conftest.er1 4664 ac_status=$? 4665 grep -v '^ *+' conftest.er1 >conftest.err 4666 rm -f conftest.er1 4667 cat conftest.err >&5 4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4669 (exit $ac_status); } && { 4670 test -z "$ac_c_werror_flag" || 4671 test ! -s conftest.err 4672 } && test -s conftest.$ac_objext; then 4673 ac_cv_c_bigendian=yes 4674 else 4675 echo "$as_me: failed program was:" >&5 4676 sed 's/^/| /' conftest.$ac_ext >&5 4677 4678 ac_cv_c_bigendian=no 4679 fi 4680 4681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4682 else 4683 echo "$as_me: failed program was:" >&5 4684 sed 's/^/| /' conftest.$ac_ext >&5 4685 4686 # It does not; compile a test program. 4687 if test "$cross_compiling" = yes; then 4688 # try to guess the endianness by grepping values into an object file 4689 ac_cv_c_bigendian=unknown 4690 cat >conftest.$ac_ext <<_ACEOF 4691 /* confdefs.h. */ 4692 _ACEOF 4693 cat confdefs.h >>conftest.$ac_ext 4694 cat >>conftest.$ac_ext <<_ACEOF 4695 /* end confdefs.h. */ 4696 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4697 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4698 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 4699 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4700 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4701 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 4702 int 4703 main () 4704 { 4705 _ascii (); _ebcdic (); 4706 ; 4707 return 0; 4708 } 4709 _ACEOF 4710 rm -f conftest.$ac_objext 4711 if { (ac_try="$ac_compile" 4712 case "(($ac_try" in 4713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4714 *) ac_try_echo=$ac_try;; 4715 esac 4716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4717 (eval "$ac_compile") 2>conftest.er1 4718 ac_status=$? 4719 grep -v '^ *+' conftest.er1 >conftest.err 4720 rm -f conftest.er1 4721 cat conftest.err >&5 4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4723 (exit $ac_status); } && { 4724 test -z "$ac_c_werror_flag" || 4725 test ! -s conftest.err 4726 } && test -s conftest.$ac_objext; then 4727 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 4728 ac_cv_c_bigendian=yes 4729 fi 4730 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4731 if test "$ac_cv_c_bigendian" = unknown; then 4732 ac_cv_c_bigendian=no 4733 else 4734 # finding both strings is unlikely to happen, but who knows? 4735 ac_cv_c_bigendian=unknown 4736 fi 4737 fi 4738 else 4739 echo "$as_me: failed program was:" >&5 4740 sed 's/^/| /' conftest.$ac_ext >&5 4741 4742 4743 fi 4744 4745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4746 else 4747 cat >conftest.$ac_ext <<_ACEOF 4748 /* confdefs.h. */ 4749 _ACEOF 4750 cat confdefs.h >>conftest.$ac_ext 4751 cat >>conftest.$ac_ext <<_ACEOF 4752 /* end confdefs.h. */ 4753 $ac_includes_default 4754 int 4755 main () 4756 { 4757 4758 /* Are we little or big endian? From Harbison&Steele. */ 4759 union 4760 { 4761 long int l; 4762 char c[sizeof (long int)]; 4763 } u; 4764 u.l = 1; 4765 return u.c[sizeof (long int) - 1] == 1; 4766 4767 ; 4768 return 0; 4769 } 4770 _ACEOF 4771 rm -f conftest$ac_exeext 4772 if { (ac_try="$ac_link" 4773 case "(($ac_try" in 4774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4775 *) ac_try_echo=$ac_try;; 4776 esac 4777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4778 (eval "$ac_link") 2>&5 4779 ac_status=$? 4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4781 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4782 { (case "(($ac_try" in 4783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4784 *) ac_try_echo=$ac_try;; 4785 esac 4786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4787 (eval "$ac_try") 2>&5 4788 ac_status=$? 4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4790 (exit $ac_status); }; }; then 4791 ac_cv_c_bigendian=no 4792 else 4793 echo "$as_me: program exited with status $ac_status" >&5 4794 echo "$as_me: failed program was:" >&5 4795 sed 's/^/| /' conftest.$ac_ext >&5 4796 4797 ( exit $ac_status ) 4798 ac_cv_c_bigendian=yes 4799 fi 4800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4801 fi 4802 4803 4804 fi 4805 4806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4807 fi 4808 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4809 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4810 case $ac_cv_c_bigendian in 4811 yes) 4812 4813 cat >>confdefs.h <<\_ACEOF 4814 #define WORDS_BIGENDIAN 1 4815 _ACEOF 4816 ;; 4817 no) 4818 ;; 4819 *) 4820 { { echo "$as_me:$LINENO: error: unknown endianness 4821 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4822 echo "$as_me: error: unknown endianness 4823 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 4824 { (exit 1); exit 1; }; } ;; 4825 esac 4826 4827 4828 case $target in 4829 *mingw* | *cygw* | *win32* | *w32* ) 4830 cat >>confdefs.h <<\_ACEOF 4831 #define PJ_WIN32 1 4832 _ACEOF 4833 4834 cat >>confdefs.h <<\_ACEOF 4835 #define PJ_WIN32_WINNT 0x0400 4836 _ACEOF 4837 4838 cat >>confdefs.h <<\_ACEOF 4839 #define WIN32_LEAN_AND_MEAN 1 4840 _ACEOF 4841 4842 ;; 4843 *darwin*) 4844 cat >>confdefs.h <<\_ACEOF 4845 #define PJ_DARWINOS 1 4846 _ACEOF 4847 4848 ;; 4849 *linux*) 4850 cat >>confdefs.h <<\_ACEOF 4851 #define PJ_LINUX 1 4852 _ACEOF 4853 4854 ;; 4855 *rtems*) 4856 cat >>confdefs.h <<\_ACEOF 4857 #define PJ_RTEMS 1 4858 _ACEOF 4859 4860 ;; 4861 *sunos* | *solaris* ) 4862 cat >>confdefs.h <<\_ACEOF 4863 #define PJ_SUNOS 1 4864 _ACEOF 4865 4866 ;; 4867 *) 4868 ;; 4869 esac 4870 4871 4872 4873 4874 # Check whether --enable-floating-point was given. 4875 if test "${enable_floating_point+set}" = set; then 4876 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then 4877 cat >>confdefs.h <<\_ACEOF 4878 #define PJ_HAS_FLOATING_POINT 0 4879 _ACEOF 4880 4881 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 4882 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; } 4883 fi 4884 else 4885 4886 cat >>confdefs.h <<\_ACEOF 4887 #define PJ_HAS_FLOATING_POINT 1 4888 _ACEOF 4889 4890 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 4891 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; } 4892 4893 { echo "$as_me:$LINENO: checking for fmod in -lm" >&5 4894 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; } 4895 if test "${ac_cv_lib_m_fmod+set}" = set; then 4896 echo $ECHO_N "(cached) $ECHO_C" >&6 4897 else 4898 ac_check_lib_save_LIBS=$LIBS 4899 LIBS="-lm $LIBS" 4900 cat >conftest.$ac_ext <<_ACEOF 4901 /* confdefs.h. */ 4902 _ACEOF 4903 cat confdefs.h >>conftest.$ac_ext 4904 cat >>conftest.$ac_ext <<_ACEOF 4905 /* end confdefs.h. */ 4906 4907 /* Override any GCC internal prototype to avoid an error. 4908 Use char because int might match the return type of a GCC 4909 builtin and then its argument prototype would still apply. */ 4910 #ifdef __cplusplus 4911 extern "C" 4912 #endif 4913 char fmod (); 4914 int 4915 main () 4916 { 4917 return fmod (); 4918 ; 4919 return 0; 4920 } 4921 _ACEOF 4922 rm -f conftest.$ac_objext conftest$ac_exeext 4923 if { (ac_try="$ac_link" 4924 case "(($ac_try" in 4925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4926 *) ac_try_echo=$ac_try;; 4927 esac 4928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4929 (eval "$ac_link") 2>conftest.er1 4930 ac_status=$? 4931 grep -v '^ *+' conftest.er1 >conftest.err 4932 rm -f conftest.er1 4933 cat conftest.err >&5 4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4935 (exit $ac_status); } && { 4936 test -z "$ac_c_werror_flag" || 4937 test ! -s conftest.err 4938 } && test -s conftest$ac_exeext && 4939 $as_test_x conftest$ac_exeext; then 4940 ac_cv_lib_m_fmod=yes 4941 else 4942 echo "$as_me: failed program was:" >&5 4943 sed 's/^/| /' conftest.$ac_ext >&5 4944 4945 ac_cv_lib_m_fmod=no 4946 fi 4947 4948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4949 conftest$ac_exeext conftest.$ac_ext 4950 LIBS=$ac_check_lib_save_LIBS 4951 fi 4952 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 4953 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; } 4954 if test $ac_cv_lib_m_fmod = yes; then 4955 cat >>confdefs.h <<_ACEOF 4956 #define HAVE_LIBM 1 4957 _ACEOF 4958 4959 LIBS="-lm $LIBS" 4960 4961 fi 4962 4963 4964 fi 4965 4966 4967 4385 4968 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4386 echo "$as_me:$LINENO: checking for arpa/inet.h" >&54387 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 4969 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 4970 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 4388 4971 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4389 4972 echo $ECHO_N "(cached) $ECHO_C" >&6 4390 4973 fi 4391 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&54392 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 4974 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 4975 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 4393 4976 else 4394 4977 # Is the header compilable? 4395 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&54396 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 4978 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 4979 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; } 4397 4980 cat >conftest.$ac_ext <<_ACEOF 4398 4981 /* confdefs.h. */ … … 4405 4988 _ACEOF 4406 4989 rm -f conftest.$ac_objext 4407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4408 (eval $ac_compile) 2>conftest.er1 4990 if { (ac_try="$ac_compile" 4991 case "(($ac_try" in 4992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4993 *) ac_try_echo=$ac_try;; 4994 esac 4995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4996 (eval "$ac_compile") 2>conftest.er1 4409 4997 ac_status=$? 4410 4998 grep -v '^ *+' conftest.er1 >conftest.err … … 4412 5000 cat conftest.err >&5 4413 5001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4414 (exit $ac_status); } && 4415 { ac_try='test -z "$ac_c_werror_flag" 4416 || test ! -s conftest.err' 4417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4418 (eval $ac_try) 2>&5 4419 ac_status=$? 4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4421 (exit $ac_status); }; } && 4422 { ac_try='test -s conftest.$ac_objext' 4423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4424 (eval $ac_try) 2>&5 4425 ac_status=$? 4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4427 (exit $ac_status); }; }; then 5002 (exit $ac_status); } && { 5003 test -z "$ac_c_werror_flag" || 5004 test ! -s conftest.err 5005 } && test -s conftest.$ac_objext; then 4428 5006 ac_header_compiler=yes 4429 5007 else … … 4431 5009 sed 's/^/| /' conftest.$ac_ext >&5 4432 5010 4433 ac_header_compiler=no 4434 fi 4435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4437 echo "${ECHO_T}$ac_header_compiler" >&6 5011 ac_header_compiler=no 5012 fi 5013 5014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5015 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5016 echo "${ECHO_T}$ac_header_compiler" >&6; } 4438 5017 4439 5018 # Is the header present? 4440 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&54441 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 5019 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 5020 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; } 4442 5021 cat >conftest.$ac_ext <<_ACEOF 4443 5022 /* confdefs.h. */ … … 4448 5027 #include <arpa/inet.h> 4449 5028 _ACEOF 4450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5029 if { (ac_try="$ac_cpp conftest.$ac_ext" 5030 case "(($ac_try" in 5031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5032 *) ac_try_echo=$ac_try;; 5033 esac 5034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5035 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4452 5036 ac_status=$? 4453 5037 grep -v '^ *+' conftest.er1 >conftest.err … … 4455 5039 cat conftest.err >&5 4456 5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4457 (exit $ac_status); } >/dev/null; then 4458 if test -s conftest.err; then 4459 ac_cpp_err=$ac_c_preproc_warn_flag 4460 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4461 else 4462 ac_cpp_err= 4463 fi 4464 else 4465 ac_cpp_err=yes 4466 fi 4467 if test -z "$ac_cpp_err"; then 5041 (exit $ac_status); } >/dev/null && { 5042 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5043 test ! -s conftest.err 5044 }; then 4468 5045 ac_header_preproc=yes 4469 5046 else … … 4473 5050 ac_header_preproc=no 4474 5051 fi 5052 4475 5053 rm -f conftest.err conftest.$ac_ext 4476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54477 echo "${ECHO_T}$ac_header_preproc" >&6 5054 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5055 echo "${ECHO_T}$ac_header_preproc" >&6; } 4478 5056 4479 5057 # So? What about this header? … … 4499 5077 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 4500 5078 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 4501 ( 4502 cat <<\_ASBOX 4503 ## ------------------------------------ ## 4504 ## Report this to the pjproject lists. ## 4505 ## ------------------------------------ ## 4506 _ASBOX 4507 ) | 4508 sed "s/^/$as_me: WARNING: /" >&2 5079 4509 5080 ;; 4510 5081 esac 4511 echo "$as_me:$LINENO: checking for arpa/inet.h" >&54512 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 5082 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 5083 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; } 4513 5084 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4514 5085 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4516 5087 ac_cv_header_arpa_inet_h=$ac_header_preproc 4517 5088 fi 4518 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&54519 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 5089 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 5090 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; } 4520 5091 4521 5092 fi … … 4529 5100 4530 5101 if test "${ac_cv_header_assert_h+set}" = set; then 4531 echo "$as_me:$LINENO: checking for assert.h" >&54532 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 5102 { echo "$as_me:$LINENO: checking for assert.h" >&5 5103 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 4533 5104 if test "${ac_cv_header_assert_h+set}" = set; then 4534 5105 echo $ECHO_N "(cached) $ECHO_C" >&6 4535 5106 fi 4536 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&54537 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 5107 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5108 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 4538 5109 else 4539 5110 # Is the header compilable? 4540 echo "$as_me:$LINENO: checking assert.h usability" >&54541 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6 5111 { echo "$as_me:$LINENO: checking assert.h usability" >&5 5112 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6; } 4542 5113 cat >conftest.$ac_ext <<_ACEOF 4543 5114 /* confdefs.h. */ … … 4550 5121 _ACEOF 4551 5122 rm -f conftest.$ac_objext 4552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4553 (eval $ac_compile) 2>conftest.er1 5123 if { (ac_try="$ac_compile" 5124 case "(($ac_try" in 5125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5126 *) ac_try_echo=$ac_try;; 5127 esac 5128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5129 (eval "$ac_compile") 2>conftest.er1 4554 5130 ac_status=$? 4555 5131 grep -v '^ *+' conftest.er1 >conftest.err … … 4557 5133 cat conftest.err >&5 4558 5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4559 (exit $ac_status); } && 4560 { ac_try='test -z "$ac_c_werror_flag" 4561 || test ! -s conftest.err' 4562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4563 (eval $ac_try) 2>&5 4564 ac_status=$? 4565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4566 (exit $ac_status); }; } && 4567 { ac_try='test -s conftest.$ac_objext' 4568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4569 (eval $ac_try) 2>&5 4570 ac_status=$? 4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4572 (exit $ac_status); }; }; then 5135 (exit $ac_status); } && { 5136 test -z "$ac_c_werror_flag" || 5137 test ! -s conftest.err 5138 } && test -s conftest.$ac_objext; then 4573 5139 ac_header_compiler=yes 4574 5140 else … … 4576 5142 sed 's/^/| /' conftest.$ac_ext >&5 4577 5143 4578 ac_header_compiler=no 4579 fi 4580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4581 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4582 echo "${ECHO_T}$ac_header_compiler" >&6 5144 ac_header_compiler=no 5145 fi 5146 5147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5148 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5149 echo "${ECHO_T}$ac_header_compiler" >&6; } 4583 5150 4584 5151 # Is the header present? 4585 echo "$as_me:$LINENO: checking assert.h presence" >&54586 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6 5152 { echo "$as_me:$LINENO: checking assert.h presence" >&5 5153 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6; } 4587 5154 cat >conftest.$ac_ext <<_ACEOF 4588 5155 /* confdefs.h. */ … … 4593 5160 #include <assert.h> 4594 5161 _ACEOF 4595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4596 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5162 if { (ac_try="$ac_cpp conftest.$ac_ext" 5163 case "(($ac_try" in 5164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5165 *) ac_try_echo=$ac_try;; 5166 esac 5167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5168 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4597 5169 ac_status=$? 4598 5170 grep -v '^ *+' conftest.er1 >conftest.err … … 4600 5172 cat conftest.err >&5 4601 5173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4602 (exit $ac_status); } >/dev/null; then 4603 if test -s conftest.err; then 4604 ac_cpp_err=$ac_c_preproc_warn_flag 4605 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4606 else 4607 ac_cpp_err= 4608 fi 4609 else 4610 ac_cpp_err=yes 4611 fi 4612 if test -z "$ac_cpp_err"; then 5174 (exit $ac_status); } >/dev/null && { 5175 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5176 test ! -s conftest.err 5177 }; then 4613 5178 ac_header_preproc=yes 4614 5179 else … … 4618 5183 ac_header_preproc=no 4619 5184 fi 5185 4620 5186 rm -f conftest.err conftest.$ac_ext 4621 echo "$as_me:$LINENO: result: $ac_header_preproc" >&54622 echo "${ECHO_T}$ac_header_preproc" >&6 5187 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5188 echo "${ECHO_T}$ac_header_preproc" >&6; } 4623 5189 4624 5190 # So? What about this header? … … 4644 5210 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 4645 5211 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 4646 ( 4647 cat <<\_ASBOX 4648 ## ------------------------------------ ## 4649 ## Report this to the pjproject lists. ## 4650 ## ------------------------------------ ## 4651 _ASBOX 4652 ) | 4653 sed "s/^/$as_me: WARNING: /" >&2 5212 4654 5213 ;; 4655 5214 esac 4656 echo "$as_me:$LINENO: checking for assert.h" >&54657 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 5215 { echo "$as_me:$LINENO: checking for assert.h" >&5 5216 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6; } 4658 5217 if test "${ac_cv_header_assert_h+set}" = set; then 4659 5218 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4661 5220 ac_cv_header_assert_h=$ac_header_preproc 4662 5221 fi 4663 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&54664 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 5222 { echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 5223 echo "${ECHO_T}$ac_cv_header_assert_h" >&6; } 4665 5224 4666 5225 fi … … 4674 5233 4675 5234 if test "${ac_cv_header_ctype_h+set}" = set; then 4676 echo "$as_me:$LINENO: checking for ctype.h" >&54677 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 5235 { echo "$as_me:$LINENO: checking for ctype.h" >&5 5236 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6; } 4678 5237 if test "${ac_cv_header_ctype_h+set}" = set; then 4679 5238 echo $ECHO_N "(cached) $ECHO_C" >&6 4680 5239 fi 4681 echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&54682 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 5240 { echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 5241 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6; } 4683 5242 else 4684 5243 # Is the header compilable? 4685 echo "$as_me:$LINENO: checking ctype.h usability" >&54686 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6 5244 { echo "$as_me:$LINENO: checking ctype.h usability" >&5 5245 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6; } 4687 5246 cat >conftest.$ac_ext <<_ACEOF 4688 5247 /* confdefs.h. */ … … 4695 5254 _ACEOF 4696 5255 rm -f conftest.$ac_objext 4697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4698 (eval $ac_compile) 2>conftest.er1 5256 if { (ac_try="$ac_compile" 5257 case "(($ac_try" in 5258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5259 *) ac_try_echo=$ac_try;; 5260 esac 5261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5262 (eval "$ac_compile") 2>conftest.er1 4699 5263 ac_status=$? 4700 5264 grep -v '^ *+' conftest.er1 >conftest.err … … 4702 5266 cat conftest.err >&5 4703 5267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4704 (exit $ac_status); } && 4705 { ac_try='test -z "$ac_c_werror_flag" 4706 || test ! -s conftest.err' 4707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4708 (eval $ac_try) 2>&5 4709 ac_status=$? 4710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4711 (exit $ac_status); }; } && 4712 { ac_try='test -s conftest.$ac_objext' 4713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4714 (eval $ac_try) 2>&5 4715 ac_status=$? 4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4717 (exit $ac_status); }; }; then 5268 (exit $ac_status); } && { 5269 test -z "$ac_c_werror_flag" || 5270 test ! -s conftest.err 5271 } && test -s conftest.$ac_objext; then 4718 5272 ac_header_compiler=yes 4719 5273 else … … 4721 5275 sed 's/^/| /' conftest.$ac_ext >&5 4722 5276 4723 ac_header_compiler=no 4724 fi 4725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4726 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4727 echo "${ECHO_T}$ac_header_compiler" >&6 5277 ac_header_compiler=no 5278 fi 5279 5280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5281 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5282 echo "${ECHO_T}$ac_header_compiler" >&6; } 47