Changeset 1863
- Timestamp:
- Mar 12, 2008 10:44:24 PM (14 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r1783 r1863 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 61for pjproject 0.8.3 # Generated by GNU Autoconf 2.59 for pjproject 0.8. 4 4 # 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 5 # Copyright (C) 2003 Free Software Foundation, Inc. 7 6 # This configure script is free software; the Free Software Foundation 8 7 # gives unlimited permission to copy, distribute and modify it. … … 11 10 ## --------------------- ## 12 11 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 12 # Be Bourne compatible 15 13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 14 emulate sh … … 19 17 # is contrary to our usage. Disable this feature. 20 18 alias -g '${1+"$@"}'='"$@"' 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 33 79 # Avoid depending upon Character Ranges. 34 80 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 51 97 fi 52 98 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 58 fi 59 60 61 # IFS 62 # We need space, tab and new line, in precisely that order. Quoting is 63 # there to prevent editors from complaining about space-tab. 64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 # splitting by setting IFS to empty value.) 66 as_nl=' 67 ' 68 IFS=" "" $as_nl" 69 70 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 72 *[\\/]* ) as_myself=$0 ;; 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 74 110 for as_dir in $PATH 75 111 do … … 78 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 79 115 done 80 IFS=$as_save_IFS 81 82 ;; 83 esac 84 # We did not find ourselves, most probably we were run as `sh COMMAND' 85 # in which case we are not to be found in the path. 86 if test "x$as_myself" = x; then 87 as_myself=$0 88 fi 89 if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 97 done 98 PS1='$ ' 99 PS2='> ' 100 PS4='+ ' 101 102 # NLS nuisances. 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 107 do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 110 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 112 123 fi 113 done 114 115 # Required to use basename. 116 if expr a : '\(a\)' >/dev/null 2>&1 && 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 118 as_expr=expr 119 else 120 as_expr=false 121 fi 122 123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 124 as_basename=basename 125 else 126 as_basename=false 127 fi 128 129 130 # Name of the executable. 131 as_me=`$as_basename -- "$0" || 132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 X"$0" : 'X\(//\)$' \| \ 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" | 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\/\)$/{ 141 s//\1/ 142 q 143 } 144 /^X\/\(\/\).*/{ 145 s//\1/ 146 q 147 } 148 s/.*/./; q'` 149 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 221 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 224 133 IFS=$as_save_IFS 225 134 test -z "$as_dir" && as_dir=. 226 case $as_dir in 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 227 137 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 138 if ("$as_dir/$as_base" -c ' 328 139 as_lineno_1=$LINENO 329 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 330 142 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 427 155 428 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 157 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 435 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 438 sed -n ' 439 p 440 /[$]LINENO/= 441 ' <$as_myself | 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 442 165 sed ' 443 s/[$]LINENO.*/&-/444 t lineno445 b446 :lineno447 166 N 448 :loop 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 450 170 t loop 451 s/-\n.*// 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 452 173 ' >$as_me.lineno && 453 chmod +x "$as_me.lineno"||174 chmod +x $as_me.lineno || 454 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 176 { (exit 1); exit 1; }; } … … 457 178 # Don't try to exec as it changes $[0], causing all sort of problems 458 179 # (the dirname of $[0] is not the place where we might find the 459 # original and so on. Autoconf is especially sensi tive to this).460 . "./$as_me.lineno"180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 461 182 # Exit status is that of the last command. 462 183 exit … … 464 185 465 186 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468 else 469 as_dirname=false 470 fi 471 472 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 474 -n*) 475 case `echo 'x\c'` in 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 478 esac;; 479 *) 480 ECHO_N='-n';; 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 481 192 esac 482 193 483 if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 194 if expr a : '\(a\)' >/dev/null 2>&1; then 485 195 as_expr=expr 486 196 else … … 489 199 490 200 rm -f conf$$ conf$$.exe conf$$.file 491 if test -d conf$$.dir; then492 rm -f conf$$.dir/conf$$.file493 else494 rm -f conf$$.dir495 mkdir conf$$.dir496 fi497 201 echo >conf$$.file 498 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 505 207 as_ln_s='cp -p' 208 else 209 as_ln_s='ln -s' 210 fi 506 211 elif ln conf$$.file conf$$ 2>/dev/null; then 507 212 as_ln_s=ln … … 509 214 as_ln_s='cp -p' 510 215 fi 511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512 rmdir conf$$.dir 2>/dev/null 216 rm -f conf$$ conf$$.exe conf$$.file 513 217 514 218 if mkdir -p . 2>/dev/null; then … … 519 223 fi 520 224 521 if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523 else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 -*)set "./$1";; 536 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538 ???[sx]*):;;*)false;;esac;fi 539 '\'' sh 540 ' 541 fi 542 as_executable_p=$as_test_x 225 as_executable_p="test -f" 543 226 544 227 # Sed expression to map a string onto a valid CPP name. … … 549 232 550 233 551 552 exec 7<&0 </dev/null 6>&1 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 553 243 554 244 # Name of the host. … … 557 247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 558 248 249 exec 6>&1 250 559 251 # 560 252 # Initializations. 561 253 # 562 254 ac_default_prefix=/usr/local 563 ac_clean_files=564 255 ac_config_libobj_dir=. 565 LIBOBJS=566 256 cross_compiling=no 567 257 subdirs= … … 569 259 MAKEFLAGS= 570 260 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document. 263 # This variable seems obsolete. It should probably be removed, and 264 # only ac_max_sed_lines should be used. 265 : ${ac_max_here_lines=38} 571 266 572 267 # Identity of this package. … … 580 275 ac_includes_default="\ 581 276 #include <stdio.h> 582 #if defHAVE_SYS_TYPES_H277 #if HAVE_SYS_TYPES_H 583 278 # include <sys/types.h> 584 279 #endif 585 #if defHAVE_SYS_STAT_H280 #if HAVE_SYS_STAT_H 586 281 # include <sys/stat.h> 587 282 #endif 588 #if defSTDC_HEADERS283 #if STDC_HEADERS 589 284 # include <stdlib.h> 590 285 # include <stddef.h> 591 286 #else 592 # if defHAVE_STDLIB_H287 # if HAVE_STDLIB_H 593 288 # include <stdlib.h> 594 289 # endif 595 290 #endif 596 #if defHAVE_STRING_H597 # if ! defined STDC_HEADERS && definedHAVE_MEMORY_H291 #if HAVE_STRING_H 292 # if !STDC_HEADERS && HAVE_MEMORY_H 598 293 # include <memory.h> 599 294 # endif 600 295 # include <string.h> 601 296 #endif 602 #if defHAVE_STRINGS_H297 #if HAVE_STRINGS_H 603 298 # include <strings.h> 604 299 #endif 605 #if defHAVE_INTTYPES_H300 #if HAVE_INTTYPES_H 606 301 # include <inttypes.h> 302 #else 303 # if HAVE_STDINT_H 304 # include <stdint.h> 305 # endif 607 306 #endif 608 #ifdef HAVE_STDINT_H 609 # include <stdint.h> 610 #endif 611 #ifdef HAVE_UNISTD_H 307 #if HAVE_UNISTD_H 612 308 # include <unistd.h> 613 309 #endif" 614 310 615 ac_subst_vars='SHELL 616 PATH_SEPARATOR 617 PACKAGE_NAME 618 PACKAGE_TARNAME 619 PACKAGE_VERSION 620 PACKAGE_STRING 621 PACKAGE_BUGREPORT 622 exec_prefix 623 prefix 624 program_transform_name 625 bindir 626 sbindir 627 libexecdir 628 datarootdir 629 datadir 630 sysconfdir 631 sharedstatedir 632 localstatedir 633 includedir 634 oldincludedir 635 docdir 636 infodir 637 htmldir 638 dvidir 639 pdfdir 640 psdir 641 libdir 642 localedir 643 mandir 644 DEFS 645 ECHO_C 646 ECHO_N 647 ECHO_T 648 LIBS 649 build_alias 650 host_alias 651 target_alias 652 build 653 build_cpu 654 build_vendor 655 build_os 656 host 657 host_cpu 658 host_vendor 659 host_os 660 target 661 target_cpu 662 target_vendor 663 target_os 664 CC 665 CFLAGS 666 LDFLAGS 667 CPPFLAGS 668 ac_ct_CC 669 EXEEXT 670 OBJEXT 671 CXX 672 CXXFLAGS 673 ac_ct_CXX 674 ac_pjdir 675 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' 311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX ac_pjdir CPP EGREP ac_os_objs ac_pjmedia_snd ac_pa_cflags ac_pa_use_alsa ac_pa_use_oss ac_no_small_filter ac_no_large_filter ac_no_speex_aec ac_no_g711_codec ac_no_l16_codec ac_no_gsm_codec ac_no_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' 700 312 ac_subst_files='' 701 ac_precious_vars='build_alias702 host_alias703 target_alias704 CC705 CFLAGS706 LDFLAGS707 LIBS708 CPPFLAGS709 CXX710 CXXFLAGS711 CCC712 CPP'713 714 313 715 314 # Initialize some variables set by options. … … 738 337 # by default will actually change. 739 338 # Use braces instead of parens because sh, perl, etc. also accept them. 740 # (The list follows the same order as the GNU Coding Standards.)741 339 bindir='${exec_prefix}/bin' 742 340 sbindir='${exec_prefix}/sbin' 743 341 libexecdir='${exec_prefix}/libexec' 744 datarootdir='${prefix}/share' 745 datadir='${datarootdir}' 342 datadir='${prefix}/share' 746 343 sysconfdir='${prefix}/etc' 747 344 sharedstatedir='${prefix}/com' 748 345 localstatedir='${prefix}/var' 346 libdir='${exec_prefix}/lib' 749 347 includedir='${prefix}/include' 750 348 oldincludedir='/usr/include' 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' 349 infodir='${prefix}/info' 350 mandir='${prefix}/man' 760 351 761 352 ac_prev= 762 ac_dashdash=763 353 for ac_option 764 354 do 765 355 # If the previous option needs an argument, assign it. 766 356 if test -n "$ac_prev"; then 767 eval $ac_prev=\$ac_option357 eval "$ac_prev=\$ac_option" 768 358 ac_prev= 769 359 continue 770 360 fi 771 361 362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 363 364 # Accept the important Cygnus configure options, so we can diagnose typos. 365 772 366 case $ac_option in 773 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;774 *) ac_optarg=yes ;;775 esac776 777 # Accept the important Cygnus configure options, so we can diagnose typos.778 779 case $ac_dashdash$ac_option in780 --)781 ac_dashdash=yes ;;782 367 783 368 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 801 386 cache_file=config.cache ;; 802 387 803 -datadir | --datadir | --datadi | --datad )388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 804 389 ac_prev=datadir ;; 805 -datadir=* | --datadir=* | --datadi=* | --datad=*) 390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 391 | --da=*) 806 392 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 ;;814 393 815 394 -disable-* | --disable-*) 816 395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 817 396 # Reject names that are not valid shell variable names. 818 expr "x$ac_feature" : ".*[^- ._$as_cr_alnum]" >/dev/null &&397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 819 398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 820 399 { (exit 1); exit 1; }; } 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 ;; 400 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 401 eval "enable_$ac_feature=no" ;; 833 402 834 403 -enable-* | --enable-*) 835 404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 836 405 # Reject names that are not valid shell variable names. 837 expr "x$ac_feature" : ".*[^- ._$as_cr_alnum]" >/dev/null &&406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 838 407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 839 408 { (exit 1); exit 1; }; } 840 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 841 eval enable_$ac_feature=\$ac_optarg ;; 409 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 410 case $ac_option in 411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 412 *) ac_optarg=yes ;; 413 esac 414 eval "enable_$ac_feature='$ac_optarg'" ;; 842 415 843 416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 866 439 host_alias=$ac_optarg ;; 867 440 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 874 441 -includedir | --includedir | --includedi | --included | --include \ 875 442 | --includ | --inclu | --incl | --inc) … … 896 463 libexecdir=$ac_optarg ;; 897 464 898 -localedir | --localedir | --localedi | --localed | --locale)899 ac_prev=localedir ;;900 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)901 localedir=$ac_optarg ;;902 903 465 -localstatedir | --localstatedir | --localstatedi | --localstated \ 904 | --localstate | --localstat | --localsta | --localst | --locals) 466 | --localstate | --localstat | --localsta | --localst \ 467 | --locals | --local | --loca | --loc | --lo) 905 468 ac_prev=localstatedir ;; 906 469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 907 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 908 472 localstatedir=$ac_optarg ;; 909 473 … … 970 534 program_transform_name=$ac_optarg ;; 971 535 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 982 536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 983 537 | -silent | --silent | --silen | --sile | --sil) … … 1032 586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1033 587 # Reject names that are not valid shell variable names. 1034 expr "x$ac_package" : ".*[^- ._$as_cr_alnum]" >/dev/null &&588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1035 589 { echo "$as_me: error: invalid package name: $ac_package" >&2 1036 590 { (exit 1); exit 1; }; } 1037 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1038 eval with_$ac_package=\$ac_optarg ;; 591 ac_package=`echo $ac_package| sed 's/-/_/g'` 592 case $ac_option in 593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 594 *) ac_optarg=yes ;; 595 esac 596 eval "with_$ac_package='$ac_optarg'" ;; 1039 597 1040 598 -without-* | --without-*) 1041 599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1042 600 # Reject names that are not valid shell variable names. 1043 expr "x$ac_package" : ".*[^- ._$as_cr_alnum]" >/dev/null &&601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1044 602 { echo "$as_me: error: invalid package name: $ac_package" >&2 1045 603 { (exit 1); exit 1; }; } 1046 ac_package=`echo $ac_package | sed 's/ [-.]/_/g'`1047 eval with_$ac_package=no;;604 ac_package=`echo $ac_package | sed 's/-/_/g'` 605 eval "with_$ac_package=no" ;; 1048 606 1049 607 --x) … … 1076 634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1077 635 { (exit 1); exit 1; }; } 1078 eval $ac_envvar=\$ac_optarg 636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 637 eval "$ac_envvar='$ac_optarg'" 1079 638 export $ac_envvar ;; 1080 639 … … 1096 655 fi 1097 656 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 657 # Be sure to have absolute paths. 658 for ac_var in exec_prefix prefix 1103 659 do 1104 eval ac_val= \$$ac_var660 eval ac_val=$`echo $ac_var` 1105 661 case $ac_val in 1106 [\\/$]* | ?:[\\/]* ) continue;; 1107 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 664 { (exit 1); exit 1; }; };; 1108 665 esac 1109 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1110 { (exit 1); exit 1; }; } 666 done 667 668 # Be sure to have absolute paths. 669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 670 localstatedir libdir includedir oldincludedir infodir mandir 671 do 672 eval ac_val=$`echo $ac_var` 673 case $ac_val in 674 [\\/$]* | ?:[\\/]* ) ;; 675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 676 { (exit 1); exit 1; }; };; 677 esac 1111 678 done 1112 679 … … 1135 702 1136 703 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" >&21141 { (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" >&21144 { (exit 1); exit 1; }; }1145 1146 1147 704 # Find the source files, if location was not specified. 1148 705 if test -z "$srcdir"; then 1149 706 ac_srcdir_defaulted=yes 1150 # Try the directory containing this script, then the parent directory.1151 ac_confdir=` $as_dirname -- "$0"||707 # Try the directory containing this script, then its parent. 708 ac_confdir=`(dirname "$0") 2>/dev/null || 1152 709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1153 710 X"$0" : 'X\(//\)[^/]' \| \ 1154 711 X"$0" : 'X\(//\)$' \| \ 1155 X"$0" : 'X\(/\)' \| . 2>/dev/null || 712 X"$0" : 'X\(/\)' \| \ 713 . : '\(.\)' 2>/dev/null || 1156 714 echo X"$0" | 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'` 715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 716 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 717 /^X\(\/\/\)$/{ s//\1/; q; } 718 /^X\(\/\).*/{ s//\1/; q; } 719 s/.*/./; q'` 1174 720 srcdir=$ac_confdir 1175 if test ! -r "$srcdir/$ac_unique_file"; then721 if test ! -r $srcdir/$ac_unique_file; then 1176 722 srcdir=.. 1177 723 fi … … 1179 725 ac_srcdir_defaulted=no 1180 726 fi 1181 if test ! -r "$srcdir/$ac_unique_file"; then1182 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."1183 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2727 if test ! -r $srcdir/$ac_unique_file; then 728 if test "$ac_srcdir_defaulted" = yes; then 729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 1184 730 { (exit 1); exit 1; }; } 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 731 else 732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1189 733 { (exit 1); exit 1; }; } 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 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 1207 780 1208 781 # … … 1233 806 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1234 807 808 _ACEOF 809 810 cat <<_ACEOF 1235 811 Installation directories: 1236 812 --prefix=PREFIX install architecture-independent files in PREFIX … … 1250 826 --sbindir=DIR system admin executables [EPREFIX/sbin] 1251 827 --libexecdir=DIR program executables [EPREFIX/libexec] 828 --datadir=DIR read-only architecture-independent data [PREFIX/share] 1252 829 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1253 830 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 1256 833 --includedir=DIR C header files [PREFIX/include] 1257 834 --oldincludedir=DIR C header files for non-gcc [/usr/include] 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] 835 --infodir=DIR info documentation [PREFIX/info] 836 --mandir=DIR man documentation [PREFIX/man] 1268 837 _ACEOF 1269 838 … … 1289 858 Disable floating point where possible 1290 859 --disable-sound Exclude sound (i.e. use null sound) 860 --disable-oss Disable OSS audio (default: not disabled) 861 1291 862 --disable-small-filter Exclude small filter in resampling 1292 863 --disable-large-filter Exclude large filter in resampling … … 1307 878 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1308 879 nonstandard directory <lib 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 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 881 headers in a nonstandard directory <include dir> 1312 882 CXX C++ compiler command 1313 883 CXXFLAGS C++ compiler flags … … 1318 888 1319 889 _ACEOF 1320 ac_status=$?1321 890 fi 1322 891 1323 892 if test "$ac_init_help" = "recursive"; then 1324 893 # If there are subdirs, report their specific --help. 894 ac_popdir=`pwd` 1325 895 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1326 test -d "$ac_dir"|| continue896 test -d $ac_dir || continue 1327 897 ac_builddir=. 1328 898 1329 case "$ac_dir" in 1330 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 899 if test "$ac_dir" != .; then 900 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 901 # A "../" for each directory in $ac_dir_suffix. 902 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 903 else 904 ac_dir_suffix= ac_top_builddir= 905 fi 906 907 case $srcdir in 908 .) # No --srcdir option. We are building in place. 909 ac_srcdir=. 910 if test -z "$ac_top_builddir"; then 911 ac_top_srcdir=. 912 else 913 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 914 fi ;; 915 [\\/]* | ?:[\\/]* ) # Absolute path. 916 ac_srcdir=$srcdir$ac_dir_suffix; 917 ac_top_srcdir=$srcdir ;; 918 *) # Relative path. 919 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 920 ac_top_srcdir=$ac_top_builddir$srcdir ;; 921 esac 922 923 # Do not use `cd foo && pwd` to compute absolute paths, because 924 # the directories may not exist. 925 case `pwd` in 926 .) ac_abs_builddir="$ac_dir";; 1331 927 *) 1332 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 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 ;; 928 case "$ac_dir" in 929 .) ac_abs_builddir=`pwd`;; 930 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 931 *) ac_abs_builddir=`pwd`/"$ac_dir";; 932 esac;; 1339 933 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 1344 1345 case $srcdir in 1346 .) # We are building in place. 1347 ac_srcdir=. 1348 ac_top_srcdir=$ac_top_builddir_sub 1349 ac_abs_top_srcdir=$ac_pwd ;; 1350 [\\/]* | ?:[\\/]* ) # Absolute name. 1351 ac_srcdir=$srcdir$ac_dir_suffix; 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 ;; 934 case $ac_abs_builddir in 935 .) ac_abs_top_builddir=${ac_top_builddir}.;; 936 *) 937 case ${ac_top_builddir}. in 938 .) ac_abs_top_builddir=$ac_abs_builddir;; 939 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 940 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 941 esac;; 1358 942 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 943 case $ac_abs_builddir in 944 .) ac_abs_srcdir=$ac_srcdir;; 945 *) 946 case $ac_srcdir in 947 .) ac_abs_srcdir=$ac_abs_builddir;; 948 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 949 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 950 esac;; 951 esac 952 case $ac_abs_builddir in 953 .) ac_abs_top_srcdir=$ac_top_srcdir;; 954 *) 955 case $ac_top_srcdir in 956 .) ac_abs_top_srcdir=$ac_abs_builddir;; 957 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 958 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 959 esac;; 960 esac 961 962 cd $ac_dir 963 # Check for guested configure; otherwise get Cygnus style configure. 964 if test -f $ac_srcdir/configure.gnu; then 965 echo 966 $SHELL $ac_srcdir/configure.gnu --help=recursive 967 elif test -f $ac_srcdir/configure; then 968 echo 969 $SHELL $ac_srcdir/configure --help=recursive 970 elif test -f $ac_srcdir/configure.ac || 971 test -f $ac_srcdir/configure.in; then 972 echo 973 $ac_configure --help 1369 974 else 1370 975 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1371 fi || ac_status=$?1372 cd "$ac_pwd" || { ac_status=$?; break; }976 fi 977 cd $ac_popdir 1373 978 done 1374 979 fi 1375 980 1376 test -n "$ac_init_help" && exit $ac_status981 test -n "$ac_init_help" && exit 0 1377 982 if $ac_init_version; then 1378 983 cat <<\_ACEOF 1379 984 pjproject configure 0.8 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. 985 generated by GNU Autoconf 2.59 986 987 Copyright (C) 2003 Free Software Foundation, Inc. 1384 988 This configure script is free software; the Free Software Foundation 1385 989 gives unlimited permission to copy, distribute and modify it. 1386 990 _ACEOF 1387 exit 1388 fi 1389 cat >config.log <<_ACEOF 991 exit 0 992 fi 993 exec 5>config.log 994 cat >&5 <<_ACEOF 1390 995 This file contains any messages produced by compilers while 1391 996 running configure, to aid debugging if configure makes a mistake. 1392 997 1393 998 It was created by pjproject $as_me 0.8, which was 1394 generated by GNU Autoconf 2. 61. Invocation command line was999 generated by GNU Autoconf 2.59. Invocation command line was 1395 1000 1396 1001 $ $0 $@ 1397 1002 1398 1003 _ACEOF 1399 exec 5>>config.log1400 1004 { 1401 1005 cat <<_ASUNAME … … 1416 1020 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1417 1021 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1418 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null|| echo unknown`1022 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1419 1023 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1420 1024 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1430 1034 echo "PATH: $as_dir" 1431 1035 done 1432 IFS=$as_save_IFS1433 1036 1434 1037 } >&5 … … 1452 1055 ac_configure_args0= 1453 1056 ac_configure_args1= 1057 ac_sep= 1454 1058 ac_must_keep_next=false 1455 1059 for ac_pass in 1 2 … … 1462 1066 | -silent | --silent | --silen | --sile | --sil) 1463 1067 continue ;; 1464 * \'*)1068 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1465 1069 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1466 1070 esac … … 1484 1088 esac 1485 1089 fi 1486 ac_configure_args="$ac_configure_args '$ac_arg'" 1090 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1091 # Get rid of the leading space. 1092 ac_sep=" " 1487 1093 ;; 1488 1094 esac … … 1495 1101 # config.log. We remove comments because anyway the quotes in there 1496 1102 # would cause problems or look ugly. 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 # WARNING: Be sure not to use single quotes in there, as some shells, 1104 # such as our DU 5.0 friend, will then `close' the trap. 1499 1105 trap 'exit_status=$? 1500 1106 # Save into config.log some information that might help in debugging. … … 1509 1115 echo 1510 1116 # The following way of writing the cache mishandles newlines in values, 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 1117 { 1526 1118 (set) 2>&1 | 1527 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(1528 * ${as_nl}ac_space=\ *)1119 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1120 *ac_space=\ *) 1529 1121 sed -n \ 1530 "s/' \''/'\''\\\\'\'''\''/g;1531 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=' \''\\2'\''/p"1532 ;; #(1122 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1123 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1124 ;; 1533 1125 *) 1534 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1126 sed -n \ 1127 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1535 1128 ;; 1536 esac | 1537 sort 1538 ) 1129 esac; 1130 } 1539 1131 echo 1540 1132 … … 1547 1139 for ac_var in $ac_subst_vars 1548 1140 do 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 eval ac_val=$`echo $ac_var` 1142 echo "$ac_var='"'"'$ac_val'"'"'" 1554 1143 done | sort 1555 1144 echo … … 1557 1146 if test -n "$ac_subst_files"; then 1558 1147 cat <<\_ASBOX 1559 ## ------------- ------##1560 ## File substitutions. ##1561 ## ------------- ------##1148 ## ------------- ## 1149 ## Output files. ## 1150 ## ------------- ## 1562 1151 _ASBOX 1563 1152 echo 1564 1153 for ac_var in $ac_subst_files 1565 1154 do 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 eval ac_val=$`echo $ac_var` 1156 echo "$ac_var='"'"'$ac_val'"'"'" 1571 1157 done | sort 1572 1158 echo … … 1580 1166 _ASBOX 1581 1167 echo 1582 cat confdefs.h1168 sed "/^$/d" confdefs.h | sort 1583 1169 echo 1584 1170 fi … … 1587 1173 echo "$as_me: exit $exit_status" 1588 1174 } >&5 1589 rm -f core *.core core.conftest.*&&1590 rm -f -rconftest* confdefs* conf$$* $ac_clean_files &&1175 rm -f core *.core && 1176 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1591 1177 exit $exit_status 1592 ' 01178 ' 0 1593 1179 for ac_signal in 1 2 13 15; do 1594 1180 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1597 1183 1598 1184 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1599 rm -f -r conftest* confdefs.h 1185 rm -rf conftest* confdefs.h 1186 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1187 echo >confdefs.h 1600 1188 1601 1189 # Predefined preprocessor variables. … … 1628 1216 # Let the site file select an alternate cache file if it wants to. 1629 1217 # Prefer explicitly selected file to automatically selected ones. 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 1218 if test -z "$CONFIG_SITE"; then 1219 if test "x$prefix" != xNONE; then 1220 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1221 else 1222 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1223 fi 1224 fi 1225 for ac_site_file in $CONFIG_SITE; do 1641 1226 if test -r "$ac_site_file"; then 1642 1227 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1654 1239 echo "$as_me: loading cache $cache_file" >&6;} 1655 1240 case $cache_file in 1656 [\\/]* | ?:[\\/]* ) . "$cache_file";;1657 *) . "./$cache_file";;1241 [\\/]* | ?:[\\/]* ) . $cache_file;; 1242 *) . ./$cache_file;; 1658 1243 esac 1659 1244 fi … … 1667 1252 # value. 1668 1253 ac_cache_corrupted=false 1669 for ac_var in $ac_precious_vars; do 1254 for ac_var in `(set) 2>&1 | 1255 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1670 1256 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1671 1257 eval ac_new_set=\$ac_env_${ac_var}_set 1672 eval ac_old_val= \$ac_cv_env_${ac_var}_value1673 eval ac_new_val= \$ac_env_${ac_var}_value1258 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1259 eval ac_new_val="\$ac_env_${ac_var}_value" 1674 1260 case $ac_old_set,$ac_new_set in 1675 1261 set,) … … 1696 1282 if test "$ac_new_set" = set; then 1697 1283 case $ac_new_val in 1698 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1284 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1285 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1699 1286 *) ac_arg=$ac_var=$ac_new_val ;; 1700 1287 esac … … 1713 1300 fi 1714 1301 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1302 ac_ext=c 1740 1303 ac_cpp='$CPP $CPPFLAGS' … … 1745 1308 1746 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 1334 1747 1335 host_orig="$host" 1748 1336 1749 1337 ac_aux_dir= 1750 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do1751 if test -f "$ac_dir/install-sh"; then1338 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1339 if test -f $ac_dir/install-sh; then 1752 1340 ac_aux_dir=$ac_dir 1753 1341 ac_install_sh="$ac_aux_dir/install-sh -c" 1754 1342 break 1755 elif test -f "$ac_dir/install.sh"; then1343 elif test -f $ac_dir/install.sh; then 1756 1344 ac_aux_dir=$ac_dir 1757 1345 ac_install_sh="$ac_aux_dir/install.sh -c" 1758 1346 break 1759 elif test -f "$ac_dir/shtool"; then1347 elif test -f $ac_dir/shtool; then 1760 1348 ac_aux_dir=$ac_dir 1761 1349 ac_install_sh="$ac_aux_dir/shtool install -c" … … 1764 1352 done 1765 1353 if test -z "$ac_aux_dir"; then 1766 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&51767 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}1354 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1355 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1768 1356 { (exit 1); exit 1; }; } 1769 1357 fi 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 1358 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1359 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1360 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1779 1361 1780 1362 # Make sure we can run config.sub. 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" >&51783 echo "$as_me: error: cannot run $ SHELL $ac_aux_dir/config.sub" >&2;}1363 $ac_config_sub sun4 >/dev/null 2>&1 || 1364 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1365 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1784 1366 { (exit 1); exit 1; }; } 1785 1367 1786 {echo "$as_me:$LINENO: checking build system type" >&51787 echo $ECHO_N "checking build system type... $ECHO_C" >&6 ; }1368 echo "$as_me:$LINENO: checking build system type" >&5 1369 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1788 1370 if test "${ac_cv_build+set}" = set; then 1789 1371 echo $ECHO_N "(cached) $ECHO_C" >&6 1790 1372 else 1791 ac_ build_alias=$build_alias1792 test "x$ac_build_alias" = x&&1793 ac_ build_alias=`$SHELL "$ac_aux_dir/config.guess"`1794 test "x$ac_build_alias" = x&&1373 ac_cv_build_alias=$build_alias 1374 test -z "$ac_cv_build_alias" && 1375 ac_cv_build_alias=`$ac_config_guess` 1376 test -z "$ac_cv_build_alias" && 1795 1377 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1796 1378 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1797 1379 { (exit 1); exit 1; }; } 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" >&51800 echo "$as_me: error: $ SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}1380 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1381 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1382 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1801 1383 { (exit 1); exit 1; }; } 1802 1384 1803 1385 fi 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 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1387 echo "${ECHO_T}$ac_cv_build" >&6 1812 1388 build=$ac_cv_build 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; } 1389 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1390 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1391 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1392 1393 1394 echo "$as_me:$LINENO: checking host system type" >&5 1395 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1828 1396 if test "${ac_cv_host+set}" = set; then 1829 1397 echo $ECHO_N "(cached) $ECHO_C" >&6 1830 1398 else 1831 if test "x$host_alias" = x; then1832 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" >&51836 echo "$as_me: error: $ SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}1399 ac_cv_host_alias=$host_alias 1400 test -z "$ac_cv_host_alias" && 1401 ac_cv_host_alias=$ac_cv_build_alias 1402 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1403 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1404 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1837 1405 { (exit 1); exit 1; }; } 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 1406 1407 fi 1408 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1409 echo "${ECHO_T}$ac_cv_host" >&6 1849 1410 host=$ac_cv_host 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; } 1411 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1412 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1413 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1414 1415 1416 echo "$as_me:$LINENO: checking target system type" >&5 1417 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1865 1418 if test "${ac_cv_target+set}" = set; then 1866 1419 echo $ECHO_N "(cached) $ECHO_C" >&6 1867 1420 else 1868 if test "x$target_alias" = x; then1869 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" >&51873 echo "$as_me: error: $ SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}1421 ac_cv_target_alias=$target_alias 1422 test "x$ac_cv_target_alias" = "x" && 1423 ac_cv_target_alias=$ac_cv_host_alias 1424 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1425 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1426 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1874 1427 { (exit 1); exit 1; }; } 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 1428 1429 fi 1430 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1431 echo "${ECHO_T}$ac_cv_target" >&6 1886 1432 target=$ac_cv_target 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 1433 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1434 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1435 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1898 1436 1899 1437 … … 1904 1442 NONENONEs,x,x, && 1905 1443 program_prefix=${target_alias}- 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"1444 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" 1445 1446 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" 1909 1447 1910 1448 … … 1926 1464 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1927 1465 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1928 {echo "$as_me:$LINENO: checking for $ac_word" >&51929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1466 echo "$as_me:$LINENO: checking for $ac_word" >&5 1467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1930 1468 if test "${ac_cv_prog_CC+set}" = set; then 1931 1469 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1940 1478 test -z "$as_dir" && as_dir=. 1941 1479 for ac_exec_ext in '' $ac_executable_extensions; do 1942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1943 1481 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1944 1482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1947 1485 done 1948 1486 done 1949 IFS=$as_save_IFS1950 1487 1951 1488 fi … … 1953 1490 CC=$ac_cv_prog_CC 1954 1491 if test -n "$CC"; then 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 1492 echo "$as_me:$LINENO: result: $CC" >&5 1493 echo "${ECHO_T}$CC" >&6 1494 else 1495 echo "$as_me:$LINENO: result: no" >&5 1496 echo "${ECHO_T}no" >&6 1497 fi 1962 1498 1963 1499 fi … … 1966 1502 # Extract the first word of "gcc", so it can be a program name with args. 1967 1503 set dummy gcc; ac_word=$2 1968 {echo "$as_me:$LINENO: checking for $ac_word" >&51969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1504 echo "$as_me:$LINENO: checking for $ac_word" >&5 1505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1970 1506 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1971 1507 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1980 1516 test -z "$as_dir" && as_dir=. 1981 1517 for ac_exec_ext in '' $ac_executable_extensions; do 1982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1983 1519 ac_cv_prog_ac_ct_CC="gcc" 1984 1520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1987 1523 done 1988 1524 done 1989 IFS=$as_save_IFS1990 1525 1991 1526 fi … … 1993 1528 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1994 1529 if test -n "$ac_ct_CC"; then 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 1530 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1531 echo "${ECHO_T}$ac_ct_CC" >&6 1532 else 1533 echo "$as_me:$LINENO: result: no" >&5 1534 echo "${ECHO_T}no" >&6 1535 fi 1536 1537 CC=$ac_ct_CC 2017 1538 else 2018 1539 CC="$ac_cv_prog_CC" … … 2020 1541 2021 1542 if test -z "$CC"; then 2022 2023 1543 if test -n "$ac_tool_prefix"; then 1544 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2024 1545 set dummy ${ac_tool_prefix}cc; ac_word=$2 2025 {echo "$as_me:$LINENO: checking for $ac_word" >&52026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1546 echo "$as_me:$LINENO: checking for $ac_word" >&5 1547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2027 1548 if test "${ac_cv_prog_CC+set}" = set; then 2028 1549 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2037 1558 test -z "$as_dir" && as_dir=. 2038 1559 for ac_exec_ext in '' $ac_executable_extensions; do 2039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2040 1561 ac_cv_prog_CC="${ac_tool_prefix}cc" 2041 1562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2044 1565 done 2045 1566 done 2046 IFS=$as_save_IFS2047 1567 2048 1568 fi … … 2050 1570 CC=$ac_cv_prog_CC 2051 1571 if test -n "$CC"; then 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 1572 echo "$as_me:$LINENO: result: $CC" >&5 1573 echo "${ECHO_T}$CC" >&6 1574 else 1575 echo "$as_me:$LINENO: result: no" >&5 1576 echo "${ECHO_T}no" >&6 1577 fi 1578 1579 fi 1580 if test -z "$ac_cv_prog_CC"; then 1581 ac_ct_CC=$CC 1582 # Extract the first word of "cc", so it can be a program name with args. 1583 set dummy cc; ac_word=$2 1584 echo "$as_me:$LINENO: checking for $ac_word" >&5 1585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1586 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1587 echo $ECHO_N "(cached) $ECHO_C" >&6 1588 else 1589 if test -n "$ac_ct_CC"; then 1590 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1591 else 1592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1593 for as_dir in $PATH 1594 do 1595 IFS=$as_save_IFS 1596 test -z "$as_dir" && as_dir=. 1597 for ac_exec_ext in '' $ac_executable_extensions; do 1598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1599 ac_cv_prog_ac_ct_CC="cc" 1600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1601 break 2 2060 1602 fi 1603 done 1604 done 1605 1606 fi 1607 fi 1608 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1609 if test -n "$ac_ct_CC"; then 1610 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1611 echo "${ECHO_T}$ac_ct_CC" >&6 1612 else 1613 echo "$as_me:$LINENO: result: no" >&5 1614 echo "${ECHO_T}no" >&6 1615 fi 1616 1617 CC=$ac_ct_CC 1618 else 1619 CC="$ac_cv_prog_CC" 1620 fi 1621 2061 1622 fi 2062 1623 if test -z "$CC"; then 2063 1624 # Extract the first word of "cc", so it can be a program name with args. 2064 1625 set dummy cc; ac_word=$2 2065 {echo "$as_me:$LINENO: checking for $ac_word" >&52066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1626 echo "$as_me:$LINENO: checking for $ac_word" >&5 1627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2067 1628 if test "${ac_cv_prog_CC+set}" = set; then 2068 1629 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2078 1639 test -z "$as_dir" && as_dir=. 2079 1640 for ac_exec_ext in '' $ac_executable_extensions; do 2080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2081 1642 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2082 1643 ac_prog_rejected=yes … … 2089 1650 done 2090 1651 done 2091 IFS=$as_save_IFS2092 1652 2093 1653 if test $ac_prog_rejected = yes; then … … 2107 1667 CC=$ac_cv_prog_CC 2108 1668 if test -n "$CC"; then 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 1669 echo "$as_me:$LINENO: result: $CC" >&5 1670 echo "${ECHO_T}$CC" >&6 1671 else 1672 echo "$as_me:$LINENO: result: no" >&5 1673 echo "${ECHO_T}no" >&6 1674 fi 2116 1675 2117 1676 fi 2118 1677 if test -z "$CC"; then 2119 1678 if test -n "$ac_tool_prefix"; then 2120 for ac_prog in cl .exe1679 for ac_prog in cl 2121 1680 do 2122 1681 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2123 1682 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2124 {echo "$as_me:$LINENO: checking for $ac_word" >&52125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1683 echo "$as_me:$LINENO: checking for $ac_word" >&5 1684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2126 1685 if test "${ac_cv_prog_CC+set}" = set; then 2127 1686 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2136 1695 test -z "$as_dir" && as_dir=. 2137 1696 for ac_exec_ext in '' $ac_executable_extensions; do 2138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2139 1698 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2140 1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2143 1702 done 2144 1703 done 2145 IFS=$as_save_IFS2146 1704 2147 1705 fi … … 2149 1707 CC=$ac_cv_prog_CC 2150 1708 if test -n "$CC"; then 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 1709 echo "$as_me:$LINENO: result: $CC" >&5 1710 echo "${ECHO_T}$CC" >&6 1711 else 1712 echo "$as_me:$LINENO: result: no" >&5 1713 echo "${ECHO_T}no" >&6 1714 fi 2158 1715 2159 1716 test -n "$CC" && break … … 2162 1719 if test -z "$CC"; then 2163 1720 ac_ct_CC=$CC 2164 for ac_prog in cl .exe1721 for ac_prog in cl 2165 1722 do 2166 1723 # Extract the first word of "$ac_prog", so it can be a program name with args. 2167 1724 set dummy $ac_prog; ac_word=$2 2168 {echo "$as_me:$LINENO: checking for $ac_word" >&52169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1725 echo "$as_me:$LINENO: checking for $ac_word" >&5 1726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2170 1727 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2171 1728 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2180 1737 test -z "$as_dir" && as_dir=. 2181 1738 for ac_exec_ext in '' $ac_executable_extensions; do 2182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2183 1740 ac_cv_prog_ac_ct_CC="$ac_prog" 2184 1741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2187 1744 done 2188 1745 done 2189 IFS=$as_save_IFS2190 1746 2191 1747 fi … … 2193 1749 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2194 1750 if test -n "$ac_ct_CC"; then 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 1751 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1752 echo "${ECHO_T}$ac_ct_CC" >&6 1753 else 1754 echo "$as_me:$LINENO: result: no" >&5 1755 echo "${ECHO_T}no" >&6 1756 fi 2202 1757 2203 1758 test -n "$ac_ct_CC" && break 2204 1759 done 2205 1760 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 1761 CC=$ac_ct_CC 2221 1762 fi 2222 1763 … … 2231 1772 2232 1773 # Provide some information about the compiler. 2233 echo "$as_me:$LINENO: checking for C compiler version" >&5 1774 echo "$as_me:$LINENO:" \ 1775 "checking for C compiler version" >&5 2234 1776 ac_compiler=`set X $ac_compile; echo $2` 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 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1778 (eval $ac_compiler --version </dev/null >&5) 2>&5 2242 1779 ac_status=$? 2243 1780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2244 1781 (exit $ac_status); } 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 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1783 (eval $ac_compiler -v </dev/null >&5) 2>&5 2252 1784 ac_status=$? 2253 1785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2254 1786 (exit $ac_status); } 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 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1788 (eval $ac_compiler -V </dev/null >&5) 2>&5 2262 1789 ac_status=$? 2263 1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2284 1811 # It will help us diagnose broken compilers, and finding out an intuition 2285 1812 # of exeext. 2286 {echo "$as_me:$LINENO: checking for C compiler default output file name" >&52287 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 ; }1813 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1814 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2288 1815 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 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 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1817 (eval $ac_link_default) 2>&5 2315 1818 ac_status=$? 2316 1819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2317 1820 (exit $ac_status); }; then 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 '' 1821 # Find the output, starting from the most likely. This scheme is 1822 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1823 # resort. 1824 1825 # Be careful to initialize this variable, since it used to be cached. 1826 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1827 ac_cv_exeext= 1828 # b.out is created by i960 compilers. 1829 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2324 1830 do 2325 1831 test -f "$ac_file" || continue 2326 1832 case $ac_file in 2327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 1833 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1834 ;; 1835 conftest.$ac_ext ) 1836 # This is the source file. 2328 1837 ;; 2329 1838 [ab].out ) … … 2332 1841 break;; 2333 1842 *.* ) 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. 1843 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1844 # FIXME: I believe we export ac_cv_exeext for Libtool, 1845 # but it would be cool to find out if it's true. Does anybody 1846 # maintain Libtool? --akim. 1847 export ac_cv_exeext 2343 1848 break;; 2344 1849 * ) … … 2346 1851 esac 2347 1852 done 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 1853 else 2357 1854 echo "$as_me: failed program was:" >&5 2358 1855 sed 's/^/| /' conftest.$ac_ext >&5 … … 2366 1863 2367 1864 ac_exeext=$ac_cv_exeext 2368 2369 # Check that the compiler produces executables we can run. If not, either 1865 echo "$as_me:$LINENO: result: $ac_file" >&5 1866 echo "${ECHO_T}$ac_file" >&6 1867 1868 # Check the compiler produces executables we can run. If not, either 2370 1869 # the compiler is broken, or we cross compile. 2371 {echo "$as_me:$LINENO: checking whether the C compiler works" >&52372 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 ; }1870 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1871 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2373 1872 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2374 1873 # If not cross compiling, check that we can run a simple program. 2375 1874 if test "$cross_compiling" != yes; then 2376 1875 if { ac_try='./$ac_file' 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 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1877 (eval $ac_try) 2>&5 2383 1878 ac_status=$? 2384 1879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2399 1894 fi 2400 1895 fi 2401 {echo "$as_me:$LINENO: result: yes" >&52402 echo "${ECHO_T}yes" >&6 ; }1896 echo "$as_me:$LINENO: result: yes" >&5 1897 echo "${ECHO_T}yes" >&6 2403 1898 2404 1899 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2405 1900 ac_clean_files=$ac_clean_files_save 2406 # Check th at the compiler produces executables we can run. If not, either1901 # Check the compiler produces executables we can run. If not, either 2407 1902 # the compiler is broken, or we cross compile. 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 1903 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1904 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1905 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1906 echo "${ECHO_T}$cross_compiling" >&6 1907 1908 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1909 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1911 (eval $ac_link) 2>&5 2422 1912 ac_status=$? 2423 1913 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2430 1920 test -f "$ac_file" || continue 2431 1921 case $ac_file in 2432 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. map | *.inf | *.o | *.obj ) ;;1922 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2433 1923 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1924 export ac_cv_exeext 2434 1925 break;; 2435 1926 * ) break;; … … 2445 1936 2446 1937 rm -f conftest$ac_cv_exeext 2447 {echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52448 echo "${ECHO_T}$ac_cv_exeext" >&6 ; }1938 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1939 echo "${ECHO_T}$ac_cv_exeext" >&6 2449 1940 2450 1941 rm -f conftest.$ac_ext 2451 1942 EXEEXT=$ac_cv_exeext 2452 1943 ac_exeext=$EXEEXT 2453 {echo "$as_me:$LINENO: checking for suffix of object files" >&52454 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 ; }1944 echo "$as_me:$LINENO: checking for suffix of object files" >&5 1945 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2455 1946 if test "${ac_cv_objext+set}" = set; then 2456 1947 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2472 1963 _ACEOF 2473 1964 rm -f conftest.o conftest.obj 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 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1966 (eval $ac_compile) 2>&5 2481 1967 ac_status=$? 2482 1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2483 1969 (exit $ac_status); }; then 2484 for ac_file in conftest.o conftest.obj conftest.*; do 2485 test -f "$ac_file" || continue; 1970 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2486 1971 case $ac_file in 2487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf) ;;1972 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2488 1973 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2489 1974 break;; … … 2503 1988 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2504 1989 fi 2505 {echo "$as_me:$LINENO: result: $ac_cv_objext" >&52506 echo "${ECHO_T}$ac_cv_objext" >&6 ; }1990 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 1991 echo "${ECHO_T}$ac_cv_objext" >&6 2507 1992 OBJEXT=$ac_cv_objext 2508 1993 ac_objext=$OBJEXT 2509 {echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52510 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 ; }1994 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 1995 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2511 1996 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2512 1997 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2531 2016 _ACEOF 2532 2017 rm -f conftest.$ac_objext 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 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2019 (eval $ac_compile) 2>conftest.er1 2540 2020 ac_status=$? 2541 2021 grep -v '^ *+' conftest.er1 >conftest.err … … 2543 2023 cat conftest.err >&5 2544 2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2545 (exit $ac_status); } && { 2546 test -z "$ac_c_werror_flag" || 2547 test ! -s conftest.err 2548 } && test -s conftest.$ac_objext; then 2025 (exit $ac_status); } && 2026 { ac_try='test -z "$ac_c_werror_flag" 2027 || test ! -s conftest.err' 2028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2029 (eval $ac_try) 2>&5 2030 ac_status=$? 2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2032 (exit $ac_status); }; } && 2033 { ac_try='test -s conftest.$ac_objext' 2034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2035 (eval $ac_try) 2>&5 2036 ac_status=$? 2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2038 (exit $ac_status); }; }; then 2549 2039 ac_compiler_gnu=yes 2550 2040 else … … 2552 2042 sed 's/^/| /' conftest.$ac_ext >&5 2553 2043 2554 ac_compiler_gnu=no 2555 fi 2556 2557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2044 ac_compiler_gnu=no 2045 fi 2046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2558 2047 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2559 2048 2560 2049 fi 2561 {echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52562 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 ; }2050 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2051 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2563 2052 GCC=`test $ac_compiler_gnu = yes && echo yes` 2564 2053 ac_test_CFLAGS=${CFLAGS+set} 2565 2054 ac_save_CFLAGS=$CFLAGS 2566 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2567 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2055 CFLAGS="-g" 2056 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2057 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2568 2058 if test "${ac_cv_prog_cc_g+set}" = set; then 2569 2059 echo $ECHO_N "(cached) $ECHO_C" >&6 2570 2060 else 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 2061 cat >conftest.$ac_ext <<_ACEOF 2576 2062 /* confdefs.h. */ 2577 2063 _ACEOF … … 2589 2075 _ACEOF 2590 2076 rm -f conftest.$ac_objext 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 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2078 (eval $ac_compile) 2>conftest.er1 2598 2079 ac_status=$? 2599 2080 grep -v '^ *+' conftest.er1 >conftest.err … … 2601 2082 cat conftest.err >&5 2602 2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2603 (exit $ac_status); } && { 2604 test -z "$ac_c_werror_flag" || 2605 test ! -s conftest.err 2606 } && test -s conftest.$ac_objext; then 2084 (exit $ac_status); } && 2085 { ac_try='test -z "$ac_c_werror_flag" 2086 || test ! -s conftest.err' 2087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2088 (eval $ac_try) 2>&5 2089 ac_status=$? 2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2091 (exit $ac_status); }; } && 2092 { ac_try='test -s conftest.$ac_objext' 2093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2094 (eval $ac_try) 2>&5 2095 ac_status=$? 2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2097 (exit $ac_status); }; }; then 2607 2098 ac_cv_prog_cc_g=yes 2608 2099 else … … 2610 2101 sed 's/^/| /' conftest.$ac_ext >&5 2611 2102 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; } 2103 ac_cv_prog_cc_g=no 2104 fi 2105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2106 fi 2107 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2108 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2703 2109 if test "$ac_test_CFLAGS" = set; then 2704 2110 CFLAGS=$ac_save_CFLAGS … … 2716 2122 fi 2717 2123 fi 2718 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52719 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2720 if test "${ac_cv_prog_cc_ c89+set}" = set; then2124 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2125 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2126 if test "${ac_cv_prog_cc_stdc+set}" = set; then 2721 2127 echo $ECHO_N "(cached) $ECHO_C" >&6 2722 2128 else 2723 ac_cv_prog_cc_ c89=no2129 ac_cv_prog_cc_stdc=no 2724 2130 ac_save_CC=$CC 2725 2131 cat >conftest.$ac_ext <<_ACEOF … … 2755 2161 function prototypes and stuff, but not '\xHH' hex character constants. 2756 2162 These don't provoke an error unfortunately, instead are silently treated 2757 as 'x'. The following induces an error, until -std is added to get2163 as 'x'. The following induces an error, until -std1 is added to get 2758 2164 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2759 2165 array size at least. It's necessary to write '\x00'==0 to get something 2760 that's true only with -std . */2166 that's true only with -std1. */ 2761 2167 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2762 2763 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters2764 inside strings and character constants. */2765 #define FOO(x) 'x'2766 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];2767 2168 2768 2169 int test (int i, double x); … … 2780 2181 } 2781 2182 _ACEOF 2782 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2783 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2183 # Don't try gcc -ansi; that turns off useful extensions and 2184 # breaks some systems' header files. 2185 # AIX -qlanglvl=ansi 2186 # Ultrix and OSF/1 -std1 2187 # HP-UX 10.20 and later -Ae 2188 # HP-UX older versions -Aa -D_HPUX_SOURCE 2189 # SVR4 -Xc -D__EXTENSIONS__ 2190 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2784 2191 do 2785 2192 CC="$ac_save_CC $ac_arg" 2786 2193 rm -f conftest.$ac_objext 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 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2195 (eval $ac_compile) 2>conftest.er1 2794 2196 ac_status=$? 2795 2197 grep -v '^ *+' conftest.er1 >conftest.err … … 2797 2199 cat conftest.err >&5 2798 2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 2201 (exit $ac_status); } && 2202 { ac_try='test -z "$ac_c_werror_flag" 2203 || test ! -s conftest.err' 2204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2205 (eval $ac_try) 2>&5 2206 ac_status=$? 2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2208 (exit $ac_status); }; } && 2209 { ac_try='test -s conftest.$ac_objext' 2210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2211 (eval $ac_try) 2>&5 2212 ac_status=$? 2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2214 (exit $ac_status); }; }; then 2215 ac_cv_prog_cc_stdc=$ac_arg 2216 break 2804 2217 else 2805 2218 echo "$as_me: failed program was:" >&5 2806 2219 sed 's/^/| /' conftest.$ac_ext >&5 2807 2220 2808 2809 fi 2810 2811 rm -f core conftest.err conftest.$ac_objext 2812 test "x$ac_cv_prog_cc_c89" != "xno" && break 2221 fi 2222 rm -f conftest.err conftest.$ac_objext 2813 2223 done 2814 rm -f conftest.$ac_ext 2224 rm -f conftest.$ac_ext conftest.$ac_objext 2815 2225 CC=$ac_save_CC 2816 2226 2817 2227 fi 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; } ;; 2228 2229 case "x$ac_cv_prog_cc_stdc" in 2230 x|xno) 2231 echo "$as_me:$LINENO: result: none needed" >&5 2232 echo "${ECHO_T}none needed" >&6 ;; 2826 2233 *) 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; };;2234 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2235 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2236 CC="$CC $ac_cv_prog_cc_stdc" ;; 2830 2237 esac 2831 2238 2832 2239 # Some people use a C++ compiler to compile C. Since we use `exit', 2240 # in C++ we need to declare it. In case someone uses the same compiler 2241 # for both compiling C and C++ we need to have the C++ compiler decide 2242 # the declaration of exit, since it's the most demanding environment. 2243 cat >conftest.$ac_ext <<_ACEOF 2244 #ifndef __cplusplus 2245 choke me 2246 #endif 2247 _ACEOF 2248 rm -f conftest.$ac_objext 2249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2250 (eval $ac_compile) 2>conftest.er1 2251 ac_status=$? 2252 grep -v '^ *+' conftest.er1 >conftest.err 2253 rm -f conftest.er1 2254 cat conftest.err >&5 2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2256 (exit $ac_status); } && 2257 { ac_try='test -z "$ac_c_werror_flag" 2258 || test ! -s conftest.err' 2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2260 (eval $ac_try) 2>&5 2261 ac_status=$? 2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2263 (exit $ac_status); }; } && 2264 { ac_try='test -s conftest.$ac_objext' 2265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2266 (eval $ac_try) 2>&5 2267 ac_status=$? 2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2269 (exit $ac_status); }; }; then 2270 for ac_declaration in \ 2271 '' \ 2272 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2273 'extern "C" void std::exit (int); using std::exit;' \ 2274 'extern "C" void exit (int) throw ();' \ 2275 'extern "C" void exit (int);' \ 2276 'void exit (int);' 2277 do 2278 cat >conftest.$ac_ext <<_ACEOF 2279 /* confdefs.h. */ 2280 _ACEOF 2281 cat confdefs.h >>conftest.$ac_ext 2282 cat >>conftest.$ac_ext <<_ACEOF 2283 /* end confdefs.h. */ 2284 $ac_declaration 2285 #include <stdlib.h> 2286 int 2287 main () 2288 { 2289 exit (42); 2290 ; 2291 return 0; 2292 } 2293 _ACEOF 2294 rm -f conftest.$ac_objext 2295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2296 (eval $ac_compile) 2>conftest.er1 2297 ac_status=$? 2298 grep -v '^ *+' conftest.er1 >conftest.err 2299 rm -f conftest.er1 2300 cat conftest.err >&5 2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2302 (exit $ac_status); } && 2303 { ac_try='test -z "$ac_c_werror_flag" 2304 || test ! -s conftest.err' 2305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2306 (eval $ac_try) 2>&5 2307 ac_status=$? 2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2309 (exit $ac_status); }; } && 2310 { ac_try='test -s conftest.$ac_objext' 2311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2312 (eval $ac_try) 2>&5 2313 ac_status=$? 2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2315 (exit $ac_status); }; }; then 2316 : 2317 else 2318 echo "$as_me: failed program was:" >&5 2319 sed 's/^/| /' conftest.$ac_ext >&5 2320 2321 continue 2322 fi 2323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2324 cat >conftest.$ac_ext <<_ACEOF 2325 /* confdefs.h. */ 2326 _ACEOF 2327 cat confdefs.h >>conftest.$ac_ext 2328 cat >>conftest.$ac_ext <<_ACEOF 2329 /* end confdefs.h. */ 2330 $ac_declaration 2331 int 2332 main () 2333 { 2334 exit (42); 2335 ; 2336 return 0; 2337 } 2338 _ACEOF 2339 rm -f conftest.$ac_objext 2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2341 (eval $ac_compile) 2>conftest.er1 2342 ac_status=$? 2343 grep -v '^ *+' conftest.er1 >conftest.err 2344 rm -f conftest.er1 2345 cat conftest.err >&5 2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2347 (exit $ac_status); } && 2348 { ac_try='test -z "$ac_c_werror_flag" 2349 || test ! -s conftest.err' 2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2351 (eval $ac_try) 2>&5 2352 ac_status=$? 2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2354 (exit $ac_status); }; } && 2355 { ac_try='test -s conftest.$ac_objext' 2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2357 (eval $ac_try) 2>&5 2358 ac_status=$? 2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2360 (exit $ac_status); }; }; then 2361 break 2362 else 2363 echo "$as_me: failed program was:" >&5 2364 sed 's/^/| /' conftest.$ac_ext >&5 2365 2366 fi 2367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2368 done 2369 rm -f conftest* 2370 if test -n "$ac_declaration"; then 2371 echo '#ifdef __cplusplus' >>confdefs.h 2372 echo $ac_declaration >>confdefs.h 2373 echo '#endif' >>confdefs.h 2374 fi 2375 2376 else 2377 echo "$as_me: failed program was:" >&5 2378 sed 's/^/| /' conftest.$ac_ext >&5 2379 2380 fi 2381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2833 2382 ac_ext=c 2834 2383 ac_cpp='$CPP $CPPFLAGS' … … 2837 2386 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2838 2387 2839 ac_ext=c pp2388 ac_ext=cc 2840 2389 ac_cpp='$CXXCPP $CPPFLAGS' 2841 2390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2842 2391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2843 2392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 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 if test -n "$ac_tool_prefix"; then 2394 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2850 2395 do 2851 2396 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2852 2397 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2853 {echo "$as_me:$LINENO: checking for $ac_word" >&52854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2398 echo "$as_me:$LINENO: checking for $ac_word" >&5 2399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2855 2400 if test "${ac_cv_prog_CXX+set}" = set; then 2856 2401 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2865 2410 test -z "$as_dir" && as_dir=. 2866 2411 for ac_exec_ext in '' $ac_executable_extensions; do 2867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2868 2413 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2869 2414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2872 2417 done 2873 2418 done 2874 IFS=$as_save_IFS2875 2419 2876 2420 fi … … 2878 2422 CXX=$ac_cv_prog_CXX 2879 2423 if test -n "$CXX"; then 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 2424 echo "$as_me:$LINENO: result: $CXX" >&5 2425 echo "${ECHO_T}$CXX" >&6 2426 else 2427 echo "$as_me:$LINENO: result: no" >&5 2428 echo "${ECHO_T}no" >&6 2429 fi 2887 2430 2888 2431 test -n "$CXX" && break … … 2891 2434 if test -z "$CXX"; then 2892 2435 ac_ct_CXX=$CXX 2893 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exeFCC KCC RCC xlC_r xlC2436 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2894 2437 do 2895 2438 # Extract the first word of "$ac_prog", so it can be a program name with args. 2896 2439 set dummy $ac_prog; ac_word=$2 2897 {echo "$as_me:$LINENO: checking for $ac_word" >&52898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2440 echo "$as_me:$LINENO: checking for $ac_word" >&5 2441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2899 2442 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2900 2443 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2909 2452 test -z "$as_dir" && as_dir=. 2910 2453 for ac_exec_ext in '' $ac_executable_extensions; do 2911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2912 2455 ac_cv_prog_ac_ct_CXX="$ac_prog" 2913 2456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2916 2459 done 2917 2460 done 2918 IFS=$as_save_IFS2919 2461 2920 2462 fi … … 2922 2464 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2923 2465 if test -n "$ac_ct_CXX"; then 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 2466 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2467 echo "${ECHO_T}$ac_ct_CXX" >&6 2468 else 2469 echo "$as_me:$LINENO: result: no" >&5 2470 echo "${ECHO_T}no" >&6 2471 fi 2931 2472 2932 2473 test -n "$ac_ct_CXX" && break 2933 2474 done 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 2475 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2476 2477 CXX=$ac_ct_CXX 2478 fi 2479 2480 2954 2481 # Provide some information about the compiler. 2955 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 2482 echo "$as_me:$LINENO:" \ 2483 "checking for C++ compiler version" >&5 2956 2484 ac_compiler=`set X $ac_compile; echo $2` 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 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2486 (eval $ac_compiler --version </dev/null >&5) 2>&5 2964 2487 ac_status=$? 2965 2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2966 2489 (exit $ac_status); } 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 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2491 (eval $ac_compiler -v </dev/null >&5) 2>&5 2974 2492 ac_status=$? 2975 2493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2976 2494 (exit $ac_status); } 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 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2496 (eval $ac_compiler -V </dev/null >&5) 2>&5 2984 2497 ac_status=$? 2985 2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2986 2499 (exit $ac_status); } 2987 2500 2988 {echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52989 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 ; }2501 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2502 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2990 2503 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2991 2504 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3010 2523 _ACEOF 3011 2524 rm -f conftest.$ac_objext 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 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2526 (eval $ac_compile) 2>conftest.er1 3019 2527 ac_status=$? 3020 2528 grep -v '^ *+' conftest.er1 >conftest.err … … 3022 2530 cat conftest.err >&5 3023 2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3024 (exit $ac_status); } && { 3025 test -z "$ac_cxx_werror_flag" || 3026 test ! -s conftest.err 3027 } && test -s conftest.$ac_objext; then 2532 (exit $ac_status); } && 2533 { ac_try='test -z "$ac_cxx_werror_flag" 2534 || test ! -s conftest.err' 2535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2536 (eval $ac_try) 2>&5 2537 ac_status=$? 2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2539 (exit $ac_status); }; } && 2540 { ac_try='test -s conftest.$ac_objext' 2541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2542 (eval $ac_try) 2>&5 2543 ac_status=$? 2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2545 (exit $ac_status); }; }; then 3028 2546 ac_compiler_gnu=yes 3029 2547 else … … 3031 2549 sed 's/^/| /' conftest.$ac_ext >&5 3032 2550 3033 ac_compiler_gnu=no 3034 fi 3035 3036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2551 ac_compiler_gnu=no 2552 fi 2553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3037 2554 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3038 2555 3039 2556 fi 3040 {echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&53041 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 ; }2557 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2558 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 3042 2559 GXX=`test $ac_compiler_gnu = yes && echo yes` 3043 2560 ac_test_CXXFLAGS=${CXXFLAGS+set} 3044 2561 ac_save_CXXFLAGS=$CXXFLAGS 3045 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3046 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 2562 CXXFLAGS="-g" 2563 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2564 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3047 2565 if test "${ac_cv_prog_cxx_g+set}" = set; then 3048 2566 echo $ECHO_N "(cached) $ECHO_C" >&6 3049 2567 else 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 2568 cat >conftest.$ac_ext <<_ACEOF 3055 2569 /* confdefs.h. */ 3056 2570 _ACEOF … … 3068 2582 _ACEOF 3069 2583 rm -f conftest.$ac_objext 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 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2585 (eval $ac_compile) 2>conftest.er1 3077 2586 ac_status=$? 3078 2587 grep -v '^ *+' conftest.er1 >conftest.err … … 3080 2589 cat conftest.err >&5 3081 2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3082 (exit $ac_status); } && { 3083 test -z "$ac_cxx_werror_flag" || 3084 test ! -s conftest.err 3085 } && test -s conftest.$ac_objext; then 2591 (exit $ac_status); } && 2592 { ac_try='test -z "$ac_cxx_werror_flag" 2593 || test ! -s conftest.err' 2594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2595 (eval $ac_try) 2>&5 2596 ac_status=$? 2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2598 (exit $ac_status); }; } && 2599 { ac_try='test -s conftest.$ac_objext' 2600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2601 (eval $ac_try) 2>&5 2602 ac_status=$? 2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2604 (exit $ac_status); }; }; then 3086 2605 ac_cv_prog_cxx_g=yes 3087 2606 else … … 3089 2608 sed 's/^/| /' conftest.$ac_ext >&5 3090 2609 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; } 2610 ac_cv_prog_cxx_g=no 2611 fi 2612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2613 fi 2614 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2615 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3182 2616 if test "$ac_test_CXXFLAGS" = set; then 3183 2617 CXXFLAGS=$ac_save_CXXFLAGS … … 3195 2629 fi 3196 2630 fi 2631 for ac_declaration in \ 2632 '' \ 2633 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2634 'extern "C" void std::exit (int); using std::exit;' \ 2635 'extern "C" void exit (int) throw ();' \ 2636 'extern "C" void exit (int);' \ 2637 'void exit (int);' 2638 do 2639 cat >conftest.$ac_ext <<_ACEOF 2640 /* confdefs.h. */ 2641 _ACEOF 2642 cat confdefs.h >>conftest.$ac_ext 2643 cat >>conftest.$ac_ext <<_ACEOF 2644 /* end confdefs.h. */ 2645 $ac_declaration 2646 #include <stdlib.h> 2647 int 2648 main () 2649 { 2650 exit (42); 2651 ; 2652 return 0; 2653 } 2654 _ACEOF 2655 rm -f conftest.$ac_objext 2656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2657 (eval $ac_compile) 2>conftest.er1 2658 ac_status=$? 2659 grep -v '^ *+' conftest.er1 >conftest.err 2660 rm -f conftest.er1 2661 cat conftest.err >&5 2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2663 (exit $ac_status); } && 2664 { ac_try='test -z "$ac_cxx_werror_flag" 2665 || test ! -s conftest.err' 2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2667 (eval $ac_try) 2>&5 2668 ac_status=$? 2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2670 (exit $ac_status); }; } && 2671 { ac_try='test -s conftest.$ac_objext' 2672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2673 (eval $ac_try) 2>&5 2674 ac_status=$? 2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2676 (exit $ac_status); }; }; then 2677 : 2678 else 2679 echo "$as_me: failed program was:" >&5 2680 sed 's/^/| /' conftest.$ac_ext >&5 2681 2682 continue 2683 fi 2684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2685 cat >conftest.$ac_ext <<_ACEOF 2686 /* confdefs.h. */ 2687 _ACEOF 2688 cat confdefs.h >>conftest.$ac_ext 2689 cat >>conftest.$ac_ext <<_ACEOF 2690 /* end confdefs.h. */ 2691 $ac_declaration 2692 int 2693 main () 2694 { 2695 exit (42); 2696 ; 2697 return 0; 2698 } 2699 _ACEOF 2700 rm -f conftest.$ac_objext 2701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2702 (eval $ac_compile) 2>conftest.er1 2703 ac_status=$? 2704 grep -v '^ *+' conftest.er1 >conftest.err 2705 rm -f conftest.er1 2706 cat conftest.err >&5 2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2708 (exit $ac_status); } && 2709 { ac_try='test -z "$ac_cxx_werror_flag" 2710 || test ! -s conftest.err' 2711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2712 (eval $ac_try) 2>&5 2713 ac_status=$? 2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2715 (exit $ac_status); }; } && 2716 { ac_try='test -s conftest.$ac_objext' 2717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2718 (eval $ac_try) 2>&5 2719 ac_status=$? 2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2721 (exit $ac_status); }; }; then 2722 break 2723 else 2724 echo "$as_me: failed program was:" >&5 2725 sed 's/^/| /' conftest.$ac_ext >&5 2726 2727 fi 2728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2729 done 2730 rm -f conftest* 2731 if test -n "$ac_declaration"; then 2732 echo '#ifdef __cplusplus' >>confdefs.h 2733 echo $ac_declaration >>confdefs.h 2734 echo '#endif' >>confdefs.h 2735 fi 2736 3197 2737 ac_ext=c 3198 2738 ac_cpp='$CPP $CPPFLAGS' … … 3220 2760 3221 2761 3222 {echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&53223 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 ; }2762 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 2763 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 3224 2764 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 3225 2765 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3234 2774 /* end confdefs.h. */ 3235 2775 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. */ 2776 /* Override any gcc2 internal prototype to avoid an error. */ 3239 2777 #ifdef __cplusplus 3240 2778 extern "C" 3241 2779 #endif 2780 /* We use char because int might match the return type of a gcc2 2781 builtin and then its argument prototype would still apply. */ 3242 2782 char pthread_create (); 3243 2783 int 3244 2784 main () 3245 2785 { 3246 returnpthread_create ();2786 pthread_create (); 3247 2787 ; 3248 2788 return 0; … … 3250 2790 _ACEOF 3251 2791 rm -f conftest.$ac_objext conftest$ac_exeext 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 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2793 (eval $ac_link) 2>conftest.er1 3259 2794 ac_status=$? 3260 2795 grep -v '^ *+' conftest.er1 >conftest.err … … 3262 2797 cat conftest.err >&5 3263 2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 2799 (exit $ac_status); } && 2800 { ac_try='test -z "$ac_c_werror_flag" 2801 || test ! -s conftest.err' 2802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2803 (eval $ac_try) 2>&5 2804 ac_status=$? 2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2806 (exit $ac_status); }; } && 2807 { ac_try='test -s conftest$ac_exeext' 2808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2809 (eval $ac_try) 2>&5 2810 ac_status=$? 2811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2812 (exit $ac_status); }; }; then 3269 2813 ac_cv_lib_pthread_pthread_create=yes 3270 2814 else … … 3272 2816 sed 's/^/| /' conftest.$ac_ext >&5 3273 2817 3274 ac_cv_lib_pthread_pthread_create=no 3275 fi 3276 3277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2818 ac_cv_lib_pthread_pthread_create=no 2819 fi 2820 rm -f conftest.err conftest.$ac_objext \ 3278 2821 conftest$ac_exeext conftest.$ac_ext 3279 2822 LIBS=$ac_check_lib_save_LIBS 3280 2823 fi 3281 {echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&53282 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 ; }2824 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 2825 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 3283 2826 if test $ac_cv_lib_pthread_pthread_create = yes; then 3284 2827 cat >>confdefs.h <<_ACEOF … … 3291 2834 3292 2835 3293 {echo "$as_me:$LINENO: checking for puts in -lwsock32" >&53294 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6 ; }2836 echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 2837 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6 3295 2838 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 3296 2839 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3305 2848 /* end confdefs.h. */ 3306 2849 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. */ 2850 /* Override any gcc2 internal prototype to avoid an error. */ 3310 2851 #ifdef __cplusplus 3311 2852 extern "C" 3312 2853 #endif 2854 /* We use char because int might match the return type of a gcc2 2855 builtin and then its argument prototype would still apply. */ 3313 2856 char puts (); 3314 2857 int 3315 2858 main () 3316 2859 { 3317 returnputs ();2860 puts (); 3318 2861 ; 3319 2862 return 0; … … 3321 2864 _ACEOF 3322 2865 rm -f conftest.$ac_objext conftest$ac_exeext 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 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2867 (eval $ac_link) 2>conftest.er1 3330 2868 ac_status=$? 3331 2869 grep -v '^ *+' conftest.er1 >conftest.err … … 3333 2871 cat conftest.err >&5 3334 2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 2873 (exit $ac_status); } && 2874 { ac_try='test -z "$ac_c_werror_flag" 2875 || test ! -s conftest.err' 2876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2877 (eval $ac_try) 2>&5 2878 ac_status=$? 2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2880 (exit $ac_status); }; } && 2881 { ac_try='test -s conftest$ac_exeext' 2882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2883 (eval $ac_try) 2>&5 2884 ac_status=$? 2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2886 (exit $ac_status); }; }; then 3340 2887 ac_cv_lib_wsock32_puts=yes 3341 2888 else … … 3343 2890 sed 's/^/| /' conftest.$ac_ext >&5 3344 2891 3345 ac_cv_lib_wsock32_puts=no 3346 fi 3347 3348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2892 ac_cv_lib_wsock32_puts=no 2893 fi 2894 rm -f conftest.err conftest.$ac_objext \ 3349 2895 conftest$ac_exeext conftest.$ac_ext 3350 2896 LIBS=$ac_check_lib_save_LIBS 3351 2897 fi 3352 {echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&53353 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6 ; }2898 echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 2899 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6 3354 2900 if test $ac_cv_lib_wsock32_puts = yes; then 3355 2901 cat >>confdefs.h <<_ACEOF … … 3362 2908 3363 2909 3364 {echo "$as_me:$LINENO: checking for puts in -lws2_32" >&53365 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6 ; }2910 echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 2911 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6 3366 2912 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 3367 2913 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3376 2922 /* end confdefs.h. */ 3377 2923 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. */ 2924 /* Override any gcc2 internal prototype to avoid an error. */ 3381 2925 #ifdef __cplusplus 3382 2926 extern "C" 3383 2927 #endif 2928 /* We use char because int might match the return type of a gcc2 2929 builtin and then its argument prototype would still apply. */ 3384 2930 char puts (); 3385 2931 int 3386 2932 main () 3387 2933 { 3388 returnputs ();2934 puts (); 3389 2935 ; 3390 2936 return 0; … … 3392 2938 _ACEOF 3393 2939 rm -f conftest.$ac_objext conftest$ac_exeext 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 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2941 (eval $ac_link) 2>conftest.er1 3401 2942 ac_status=$? 3402 2943 grep -v '^ *+' conftest.er1 >conftest.err … … 3404 2945 cat conftest.err >&5 3405 2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 2947 (exit $ac_status); } && 2948 { ac_try='test -z "$ac_c_werror_flag" 2949 || test ! -s conftest.err' 2950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2951 (eval $ac_try) 2>&5 2952 ac_status=$? 2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2954 (exit $ac_status); }; } && 2955 { ac_try='test -s conftest$ac_exeext' 2956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2957 (eval $ac_try) 2>&5 2958 ac_status=$? 2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2960 (exit $ac_status); }; }; then 3411 2961 ac_cv_lib_ws2_32_puts=yes 3412 2962 else … … 3414 2964 sed 's/^/| /' conftest.$ac_ext >&5 3415 2965 3416 ac_cv_lib_ws2_32_puts=no 3417 fi 3418 3419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2966 ac_cv_lib_ws2_32_puts=no 2967 fi 2968 rm -f conftest.err conftest.$ac_objext \ 3420 2969 conftest$ac_exeext conftest.$ac_ext 3421 2970 LIBS=$ac_check_lib_save_LIBS 3422 2971 fi 3423 {echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&53424 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6 ; }2972 echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 2973 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6 3425 2974 if test $ac_cv_lib_ws2_32_puts = yes; then 3426 2975 cat >>confdefs.h <<_ACEOF … … 3433 2982 3434 2983 3435 {echo "$as_me:$LINENO: checking for puts in -lole32" >&53436 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6 ; }2984 echo "$as_me:$LINENO: checking for puts in -lole32" >&5 2985 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6 3437 2986 if test "${ac_cv_lib_ole32_puts+set}" = set; then 3438 2987 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3447 2996 /* end confdefs.h. */ 3448 2997 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. */ 2998 /* Override any gcc2 internal prototype to avoid an error. */ 3452 2999 #ifdef __cplusplus 3453 3000 extern "C" 3454 3001 #endif 3002 /* We use char because int might match the return type of a gcc2 3003 builtin and then its argument prototype would still apply. */ 3455 3004 char puts (); 3456 3005 int 3457 3006 main () 3458 3007 { 3459 returnputs ();3008 puts (); 3460 3009 ; 3461 3010 return 0; … … 3463 3012 _ACEOF 3464 3013 rm -f conftest.$ac_objext conftest$ac_exeext 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 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3015 (eval $ac_link) 2>conftest.er1 3472 3016 ac_status=$? 3473 3017 grep -v '^ *+' conftest.er1 >conftest.err … … 3475 3019 cat conftest.err >&5 3476 3020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 3021 (exit $ac_status); } && 3022 { ac_try='test -z "$ac_c_werror_flag" 3023 || test ! -s conftest.err' 3024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3025 (eval $ac_try) 2>&5 3026 ac_status=$? 3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3028 (exit $ac_status); }; } && 3029 { ac_try='test -s conftest$ac_exeext' 3030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3031 (eval $ac_try) 2>&5 3032 ac_status=$? 3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3034 (exit $ac_status); }; }; then 3482 3035 ac_cv_lib_ole32_puts=yes 3483 3036 else … … 3485 3038 sed 's/^/| /' conftest.$ac_ext >&5 3486 3039 3487 ac_cv_lib_ole32_puts=no 3488 fi 3489 3490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3040 ac_cv_lib_ole32_puts=no 3041 fi 3042 rm -f conftest.err conftest.$ac_objext \ 3491 3043 conftest$ac_exeext conftest.$ac_ext 3492 3044 LIBS=$ac_check_lib_save_LIBS 3493 3045 fi 3494 {echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&53495 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6 ; }3046 echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 3047 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6 3496 3048 if test $ac_cv_lib_ole32_puts = yes; then 3497 3049 cat >>confdefs.h <<_ACEOF … … 3504 3056 3505 3057 3506 {echo "$as_me:$LINENO: checking for puts in -lwinmm" >&53507 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6 ; }3058 echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3059 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6 3508 3060 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3509 3061 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3518 3070 /* end confdefs.h. */ 3519 3071 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. */ 3072 /* Override any gcc2 internal prototype to avoid an error. */ 3523 3073 #ifdef __cplusplus 3524 3074 extern "C" 3525 3075 #endif 3076 /* We use char because int might match the return type of a gcc2 3077 builtin and then its argument prototype would still apply. */ 3526 3078 char puts (); 3527 3079 int 3528 3080 main () 3529 3081 { 3530 returnputs ();3082 puts (); 3531 3083 ; 3532 3084 return 0; … … 3534 3086 _ACEOF 3535 3087 rm -f conftest.$ac_objext conftest$ac_exeext 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 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3089 (eval $ac_link) 2>conftest.er1 3543 3090 ac_status=$? 3544 3091 grep -v '^ *+' conftest.er1 >conftest.err … … 3546 3093 cat conftest.err >&5 3547 3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 3095 (exit $ac_status); } && 3096 { ac_try='test -z "$ac_c_werror_flag" 3097 || test ! -s conftest.err' 3098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3099 (eval $ac_try) 2>&5 3100 ac_status=$? 3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3102 (exit $ac_status); }; } && 3103 { ac_try='test -s conftest$ac_exeext' 3104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3105 (eval $ac_try) 2>&5 3106 ac_status=$? 3107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3108 (exit $ac_status); }; }; then 3553 3109 ac_cv_lib_winmm_puts=yes 3554 3110 else … … 3556 3112 sed 's/^/| /' conftest.$ac_ext >&5 3557 3113 3558 ac_cv_lib_winmm_puts=no 3559 fi 3560 3561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3114 ac_cv_lib_winmm_puts=no 3115 fi 3116 rm -f conftest.err conftest.$ac_objext \ 3562 3117 conftest$ac_exeext conftest.$ac_ext 3563 3118 LIBS=$ac_check_lib_save_LIBS 3564 3119 fi 3565 {echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&53566 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6 ; }3120 echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 3121 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6 3567 3122 if test $ac_cv_lib_winmm_puts = yes; then 3568 3123 cat >>confdefs.h <<_ACEOF … … 3575 3130 3576 3131 3577 {echo "$as_me:$LINENO: checking for puts in -lsocket" >&53578 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6 ; }3132 echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3133 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6 3579 3134 if test "${ac_cv_lib_socket_puts+set}" = set; then 3580 3135 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3589 3144 /* end confdefs.h. */ 3590 3145 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. */ 3146 /* Override any gcc2 internal prototype to avoid an error. */ 3594 3147 #ifdef __cplusplus 3595 3148 extern "C" 3596 3149 #endif 3150 /* We use char because int might match the return type of a gcc2 3151 builtin and then its argument prototype would still apply. */ 3597 3152 char puts (); 3598 3153 int 3599 3154 main () 3600 3155 { 3601 returnputs ();3156 puts (); 3602 3157 ; 3603 3158 return 0; … … 3605 3160 _ACEOF 3606 3161 rm -f conftest.$ac_objext conftest$ac_exeext 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 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3163 (eval $ac_link) 2>conftest.er1 3614 3164 ac_status=$? 3615 3165 grep -v '^ *+' conftest.er1 >conftest.err … … 3617 3167 cat conftest.err >&5 3618 3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 3169 (exit $ac_status); } && 3170 { ac_try='test -z "$ac_c_werror_flag" 3171 || test ! -s conftest.err' 3172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3173 (eval $ac_try) 2>&5 3174 ac_status=$? 3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3176 (exit $ac_status); }; } && 3177 { ac_try='test -s conftest$ac_exeext' 3178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3179 (eval $ac_try) 2>&5 3180 ac_status=$? 3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3182 (exit $ac_status); }; }; then 3624 3183 ac_cv_lib_socket_puts=yes 3625 3184 else … … 3627 3186 sed 's/^/| /' conftest.$ac_ext >&5 3628 3187 3629 ac_cv_lib_socket_puts=no 3630 fi 3631 3632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3188 ac_cv_lib_socket_puts=no 3189 fi 3190 rm -f conftest.err conftest.$ac_objext \ 3633 3191 conftest$ac_exeext conftest.$ac_ext 3634 3192 LIBS=$ac_check_lib_save_LIBS 3635 3193 fi 3636 {echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&53637 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6 ; }3194 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 3195 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6 3638 3196 if test $ac_cv_lib_socket_puts = yes; then 3639 3197 cat >>confdefs.h <<_ACEOF … … 3646 3204 3647 3205 3648 {echo "$as_me:$LINENO: checking for puts in -lrt" >&53649 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6 ; }3206 echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3207 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6 3650 3208 if test "${ac_cv_lib_rt_puts+set}" = set; then 3651 3209 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3660 3218 /* end confdefs.h. */ 3661 3219 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. */ 3220 /* Override any gcc2 internal prototype to avoid an error. */ 3665 3221 #ifdef __cplusplus 3666 3222 extern "C" 3667 3223 #endif 3224 /* We use char because int might match the return type of a gcc2 3225 builtin and then its argument prototype would still apply. */ 3668 3226 char puts (); 3669 3227 int 3670 3228 main () 3671 3229 { 3672 returnputs ();3230 puts (); 3673 3231 ; 3674 3232 return 0; … … 3676 3234 _ACEOF 3677 3235 rm -f conftest.$ac_objext conftest$ac_exeext 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 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3237 (eval $ac_link) 2>conftest.er1 3685 3238 ac_status=$? 3686 3239 grep -v '^ *+' conftest.er1 >conftest.err … … 3688 3241 cat conftest.err >&5 3689 3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 3243 (exit $ac_status); } && 3244 { ac_try='test -z "$ac_c_werror_flag" 3245 || test ! -s conftest.err' 3246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3247 (eval $ac_try) 2>&5 3248 ac_status=$? 3249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3250 (exit $ac_status); }; } && 3251 { ac_try='test -s conftest$ac_exeext' 3252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3253 (eval $ac_try) 2>&5 3254 ac_status=$? 3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3256 (exit $ac_status); }; }; then 3695 3257 ac_cv_lib_rt_puts=yes 3696 3258 else … … 3698 3260 sed 's/^/| /' conftest.$ac_ext >&5 3699 3261 3700 ac_cv_lib_rt_puts=no 3701 fi 3702 3703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3262 ac_cv_lib_rt_puts=no 3263 fi 3264 rm -f conftest.err conftest.$ac_objext \ 3704 3265 conftest$ac_exeext conftest.$ac_ext 3705 3266 LIBS=$ac_check_lib_save_LIBS 3706 3267 fi 3707 {echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&53708 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6 ; }3268 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 3269 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6 3709 3270 if test $ac_cv_lib_rt_puts = yes; then 3710 3271 cat >>confdefs.h <<_ACEOF … … 3717 3278 3718 3279 3719 {echo "$as_me:$LINENO: checking for puts in -lnsl" >&53720 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6 ; }3280 echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3281 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6 3721 3282 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3722 3283 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3731 3292 /* end confdefs.h. */ 3732 3293 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. */ 3294 /* Override any gcc2 internal prototype to avoid an error. */ 3736 3295 #ifdef __cplusplus 3737 3296 extern "C" 3738 3297 #endif 3298 /* We use char because int might match the return type of a gcc2 3299 builtin and then its argument prototype would still apply. */ 3739 3300 char puts (); 3740 3301 int 3741 3302 main () 3742 3303 { 3743 returnputs ();3304 puts (); 3744 3305 ; 3745 3306 return 0; … … 3747 3308 _ACEOF 3748 3309 rm -f conftest.$ac_objext conftest$ac_exeext 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 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3311 (eval $ac_link) 2>conftest.er1 3756 3312 ac_status=$? 3757 3313 grep -v '^ *+' conftest.er1 >conftest.err … … 3759 3315 cat conftest.err >&5 3760 3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 3317 (exit $ac_status); } && 3318 { ac_try='test -z "$ac_c_werror_flag" 3319 || test ! -s conftest.err' 3320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3321 (eval $ac_try) 2>&5 3322 ac_status=$? 3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3324 (exit $ac_status); }; } && 3325 { ac_try='test -s conftest$ac_exeext' 3326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3327 (eval $ac_try) 2>&5 3328 ac_status=$? 3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3330 (exit $ac_status); }; }; then 3766 3331 ac_cv_lib_nsl_puts=yes 3767 3332 else … … 3769 3334 sed 's/^/| /' conftest.$ac_ext >&5 3770 3335 3771 ac_cv_lib_nsl_puts=no 3772 fi 3773 3774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3336 ac_cv_lib_nsl_puts=no 3337 fi 3338 rm -f conftest.err conftest.$ac_objext \ 3775 3339 conftest$ac_exeext conftest.$ac_ext 3776 3340 LIBS=$ac_check_lib_save_LIBS 3777 3341 fi 3778 {echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&53779 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6 ; }3342 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 3343 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6 3780 3344 if test $ac_cv_lib_nsl_puts = yes; then 3781 3345 cat >>confdefs.h <<_ACEOF … … 3788 3352 3789 3353 3790 {echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53791 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 ; }3354 echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3355 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 3792 3356 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3793 3357 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3802 3366 /* end confdefs.h. */ 3803 3367 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. */ 3368 /* Override any gcc2 internal prototype to avoid an error. */ 3807 3369 #ifdef __cplusplus 3808 3370 extern "C" 3809 3371 #endif 3372 /* We use char because int might match the return type of a gcc2 3373 builtin and then its argument prototype would still apply. */ 3810 3374 char uuid_generate (); 3811 3375 int 3812 3376 main () 3813 3377 { 3814 returnuuid_generate ();3378 uuid_generate (); 3815 3379 ; 3816 3380 return 0; … … 3818 3382 _ACEOF 3819 3383 rm -f conftest.$ac_objext conftest$ac_exeext 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 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3385 (eval $ac_link) 2>conftest.er1 3827 3386 ac_status=$? 3828 3387 grep -v '^ *+' conftest.er1 >conftest.err … … 3830 3389 cat conftest.err >&5 3831 3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 3391 (exit $ac_status); } && 3392 { ac_try='test -z "$ac_c_werror_flag" 3393 || test ! -s conftest.err' 3394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3395 (eval $ac_try) 2>&5 3396 ac_status=$? 3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3398 (exit $ac_status); }; } && 3399 { ac_try='test -s conftest$ac_exeext' 3400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3401 (eval $ac_try) 2>&5 3402 ac_status=$? 3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3404 (exit $ac_status); }; }; then 3837 3405 ac_cv_lib_uuid_uuid_generate=yes 3838 3406 else … … 3840 3408 sed 's/^/| /' conftest.$ac_ext >&5 3841 3409 3842 ac_cv_lib_uuid_uuid_generate=no 3843 fi 3844 3845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3410 ac_cv_lib_uuid_uuid_generate=no 3411 fi 3412 rm -f conftest.err conftest.$ac_objext \ 3846 3413 conftest$ac_exeext conftest.$ac_ext 3847 3414 LIBS=$ac_check_lib_save_LIBS 3848 3415 fi 3849 {echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53850 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 ; }3416 echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3417 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 3851 3418 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3852 3419 cat >>confdefs.h <<_ACEOF … … 3858 3425 fi 3859 3426 3860 {echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53861 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 ; }3427 echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3428 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 3862 3429 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3863 3430 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3872 3439 /* end confdefs.h. */ 3873 3440 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. */ 3441 /* Override any gcc2 internal prototype to avoid an error. */ 3877 3442 #ifdef __cplusplus 3878 3443 extern "C" 3879 3444 #endif 3445 /* We use char because int might match the return type of a gcc2 3446 builtin and then its argument prototype would still apply. */ 3880 3447 char uuid_generate (); 3881 3448 int 3882 3449 main () 3883 3450 { 3884 returnuuid_generate ();3451 uuid_generate (); 3885 3452 ; 3886 3453 return 0; … … 3888 3455 _ACEOF 3889 3456 rm -f conftest.$ac_objext conftest$ac_exeext 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 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3458 (eval $ac_link) 2>conftest.er1 3897 3459 ac_status=$? 3898 3460 grep -v '^ *+' conftest.er1 >conftest.err … … 3900 3462 cat conftest.err >&5 3901 3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 3464 (exit $ac_status); } && 3465 { ac_try='test -z "$ac_c_werror_flag" 3466 || test ! -s conftest.err' 3467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3468 (eval $ac_try) 2>&5 3469 ac_status=$? 3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3471 (exit $ac_status); }; } && 3472 { ac_try='test -s conftest$ac_exeext' 3473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3474 (eval $ac_try) 2>&5 3475 ac_status=$? 3476 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3477 (exit $ac_status); }; }; then 3907 3478 ac_cv_lib_uuid_uuid_generate=yes 3908 3479 else … … 3910 3481 sed 's/^/| /' conftest.$ac_ext >&5 3911 3482 3912 ac_cv_lib_uuid_uuid_generate=no 3913 fi 3914 3915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3483 ac_cv_lib_uuid_uuid_generate=no 3484 fi 3485 rm -f conftest.err conftest.$ac_objext \ 3916 3486 conftest$ac_exeext conftest.$ac_ext 3917 3487 LIBS=$ac_check_lib_save_LIBS 3918 3488 fi 3919 {echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53920 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 ; }3489 echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3490 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 3921 3491 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3922 3492 ac_has_uuid_lib=1 … … 3924 3494 3925 3495 3926 {echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&53927 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6 ; }3496 echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 3497 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6 3928 3498 cat >>confdefs.h <<_ACEOF 3929 3499 #define PJ_M_NAME "$target_cpu" … … 3931 3501 3932 3502 3933 {echo "$as_me:$LINENO: checking memory alignment" >&53934 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6 ; }3503 echo "$as_me:$LINENO: checking memory alignment" >&5 3504 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6 3935 3505 case $target in 3936 3506 ia64-* | x86_64-* ) … … 3939 3509 _ACEOF 3940 3510 3941 {echo "$as_me:$LINENO: result: 8 bytes" >&53942 echo "${ECHO_T}8 bytes" >&6 ; }3511 echo "$as_me:$LINENO: result: 8 bytes" >&5 3512 echo "${ECHO_T}8 bytes" >&6 3943 3513 ;; 3944 3514 * ) … … 3947 3517 _ACEOF 3948 3518 3949 {echo "$as_me:$LINENO: result: 4 bytes (default)" >&53950 echo "${ECHO_T}4 bytes (default)" >&6 ; }3519 echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 3520 echo "${ECHO_T}4 bytes (default)" >&6 3951 3521 ;; 3952 3522 esac 3523 3524 3525 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 3526 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 3527 if test "${ac_cv_c_bigendian+set}" = set; then 3528 echo $ECHO_N "(cached) $ECHO_C" >&6 3529 else 3530 # See if sys/param.h defines the BYTE_ORDER macro. 3531 cat >conftest.$ac_ext <<_ACEOF 3532 /* confdefs.h. */ 3533 _ACEOF 3534 cat confdefs.h >>conftest.$ac_ext 3535 cat >>conftest.$ac_ext <<_ACEOF 3536 /* end confdefs.h. */ 3537 #include <sys/types.h> 3538 #include <sys/param.h> 3539 3540 int 3541 main () 3542 { 3543 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 3544 bogus endian macros 3545 #endif 3546 3547 ; 3548 return 0; 3549 } 3550 _ACEOF 3551 rm -f conftest.$ac_objext 3552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3553 (eval $ac_compile) 2>conftest.er1 3554 ac_status=$? 3555 grep -v '^ *+' conftest.er1 >conftest.err 3556 rm -f conftest.er1 3557 cat conftest.err >&5 3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3559 (exit $ac_status); } && 3560 { ac_try='test -z "$ac_c_werror_flag" 3561 || test ! -s conftest.err' 3562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3563 (eval $ac_try) 2>&5 3564 ac_status=$? 3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3566 (exit $ac_status); }; } && 3567 { ac_try='test -s conftest.$ac_objext' 3568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3569 (eval $ac_try) 2>&5 3570 ac_status=$? 3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3572 (exit $ac_status); }; }; then 3573 # It does; now see whether it defined to BIG_ENDIAN or not. 3574 cat >conftest.$ac_ext <<_ACEOF 3575 /* confdefs.h. */ 3576 _ACEOF 3577 cat confdefs.h >>conftest.$ac_ext 3578 cat >>conftest.$ac_ext <<_ACEOF 3579 /* end confdefs.h. */ 3580 #include <sys/types.h> 3581 #include <sys/param.h> 3582 3583 int 3584 main () 3585 { 3586 #if BYTE_ORDER != BIG_ENDIAN 3587 not big endian 3588 #endif 3589 3590 ; 3591 return 0; 3592 } 3593 _ACEOF 3594 rm -f conftest.$ac_objext 3595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3596 (eval $ac_compile) 2>conftest.er1 3597 ac_status=$? 3598 grep -v '^ *+' conftest.er1 >conftest.err 3599 rm -f conftest.er1 3600 cat conftest.err >&5 3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3602 (exit $ac_status); } && 3603 { ac_try='test -z "$ac_c_werror_flag" 3604 || test ! -s conftest.err' 3605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3606 (eval $ac_try) 2>&5 3607 ac_status=$? 3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3609 (exit $ac_status); }; } && 3610 { ac_try='test -s conftest.$ac_objext' 3611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3612 (eval $ac_try) 2>&5 3613 ac_status=$? 3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3615 (exit $ac_status); }; }; then 3616 ac_cv_c_bigendian=yes 3617 else 3618 echo "$as_me: failed program was:" >&5 3619 sed 's/^/| /' conftest.$ac_ext >&5 3620 3621 ac_cv_c_bigendian=no 3622 fi 3623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3624 else 3625 echo "$as_me: failed program was:" >&5 3626 sed 's/^/| /' conftest.$ac_ext >&5 3627 3628 # It does not; compile a test program. 3629 if test "$cross_compiling" = yes; then 3630 # try to guess the endianness by grepping values into an object file 3631 ac_cv_c_bigendian=unknown 3632 cat >conftest.$ac_ext <<_ACEOF 3633 /* confdefs.h. */ 3634 _ACEOF 3635 cat confdefs.h >>conftest.$ac_ext 3636 cat >>conftest.$ac_ext <<_ACEOF 3637 /* end confdefs.h. */ 3638 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 3639 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 3640 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 3641 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 3642 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 3643 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 3644 int 3645 main () 3646 { 3647 _ascii (); _ebcdic (); 3648 ; 3649 return 0; 3650 } 3651 _ACEOF 3652 rm -f conftest.$ac_objext 3653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3654 (eval $ac_compile) 2>conftest.er1 3655 ac_status=$? 3656 grep -v '^ *+' conftest.er1 >conftest.err 3657 rm -f conftest.er1 3658 cat conftest.err >&5 3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3660 (exit $ac_status); } && 3661 { ac_try='test -z "$ac_c_werror_flag" 3662 || test ! -s conftest.err' 3663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3664 (eval $ac_try) 2>&5 3665 ac_status=$? 3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3667 (exit $ac_status); }; } && 3668 { ac_try='test -s conftest.$ac_objext' 3669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3670 (eval $ac_try) 2>&5 3671 ac_status=$? 3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3673 (exit $ac_status); }; }; then 3674 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 3675 ac_cv_c_bigendian=yes 3676 fi 3677 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 3678 if test "$ac_cv_c_bigendian" = unknown; then 3679 ac_cv_c_bigendian=no 3680 else 3681 # finding both strings is unlikely to happen, but who knows? 3682 ac_cv_c_bigendian=unknown 3683 fi 3684 fi 3685 else 3686 echo "$as_me: failed program was:" >&5 3687 sed 's/^/| /' conftest.$ac_ext >&5 3688 3689 fi 3690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3691 else 3692 cat >conftest.$ac_ext <<_ACEOF 3693 /* confdefs.h. */ 3694 _ACEOF 3695 cat confdefs.h >>conftest.$ac_ext 3696 cat >>conftest.$ac_ext <<_ACEOF 3697 /* end confdefs.h. */ 3698 int 3699 main () 3700 { 3701 /* Are we little or big endian? From Harbison&Steele. */ 3702 union 3703 { 3704 long l; 3705 char c[sizeof (long)]; 3706 } u; 3707 u.l = 1; 3708 exit (u.c[sizeof (long) - 1] == 1); 3709 } 3710 _ACEOF 3711 rm -f conftest$ac_exeext 3712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3713 (eval $ac_link) 2>&5 3714 ac_status=$? 3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3716 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3718 (eval $ac_try) 2>&5 3719 ac_status=$? 3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3721 (exit $ac_status); }; }; then 3722 ac_cv_c_bigendian=no 3723 else 3724 echo "$as_me: program exited with status $ac_status" >&5 3725 echo "$as_me: failed program was:" >&5 3726 sed 's/^/| /' conftest.$ac_ext >&5 3727 3728 ( exit $ac_status ) 3729 ac_cv_c_bigendian=yes 3730 fi 3731 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3732 fi 3733 fi 3734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3735 fi 3736 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 3737 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 3738 case $ac_cv_c_bigendian in 3739 yes) 3740 3741 cat >>confdefs.h <<\_ACEOF 3742 #define WORDS_BIGENDIAN 1 3743 _ACEOF 3744 ;; 3745 no) 3746 ;; 3747 *) 3748 { { echo "$as_me:$LINENO: error: unknown endianness 3749 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 3750 echo "$as_me: error: unknown endianness 3751 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 3752 { (exit 1); exit 1; }; } ;; 3753 esac 3754 3755 3756 case $target in 3757 *mingw* | *cygw* | *win32* | *w32* ) 3758 cat >>confdefs.h <<\_ACEOF 3759 #define PJ_WIN32 1 3760 _ACEOF 3761 3762 cat >>confdefs.h <<\_ACEOF 3763 #define PJ_WIN32_WINNT 0x0400 3764 _ACEOF 3765 3766 cat >>confdefs.h <<\_ACEOF 3767 #define WIN32_LEAN_AND_MEAN 1 3768 _ACEOF 3769 3770 ;; 3771 *darwin*) 3772 cat >>confdefs.h <<\_ACEOF 3773 #define PJ_DARWINOS 1 3774 _ACEOF 3775 3776 ;; 3777 *linux*) 3778 cat >>confdefs.h <<\_ACEOF 3779 #define PJ_LINUX 1 3780 _ACEOF 3781 3782 ;; 3783 *rtems*) 3784 cat >>confdefs.h <<\_ACEOF 3785 #define PJ_RTEMS 1 3786 _ACEOF 3787 3788 ;; 3789 *sunos* | *solaris* ) 3790 cat >>confdefs.h <<\_ACEOF 3791 #define PJ_SUNOS 1 3792 _ACEOF 3793 3794 ;; 3795 *) 3796 ;; 3797 esac 3798 3799 3800 3801 3802 # Check whether --enable-floating-point or --disable-floating-point was given. 3803 if test "${enable_floating_point+set}" = set; then 3804 enableval="$enable_floating_point" 3805 if test "$enable_floating_point" = "no"; then 3806 cat >>confdefs.h <<\_ACEOF 3807 #define PJ_HAS_FLOATING_POINT 0 3808 _ACEOF 3809 3810 echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 3811 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6 3812 fi 3813 else 3814 3815 cat >>confdefs.h <<\_ACEOF 3816 #define PJ_HAS_FLOATING_POINT 1 3817 _ACEOF 3818 3819 echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 3820 echo "${ECHO_T}Checking if floating point is disabled... no" >&6 3821 3822 echo "$as_me:$LINENO: checking for fmod in -lm" >&5 3823 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6 3824 if test "${ac_cv_lib_m_fmod+set}" = set; then 3825 echo $ECHO_N "(cached) $ECHO_C" >&6 3826 else 3827 ac_check_lib_save_LIBS=$LIBS 3828 LIBS="-lm $LIBS" 3829 cat >conftest.$ac_ext <<_ACEOF 3830 /* confdefs.h. */ 3831 _ACEOF 3832 cat confdefs.h >>conftest.$ac_ext 3833 cat >>conftest.$ac_ext <<_ACEOF 3834 /* end confdefs.h. */ 3835 3836 /* Override any gcc2 internal prototype to avoid an error. */ 3837 #ifdef __cplusplus 3838 extern "C" 3839 #endif 3840 /* We use char because int might match the return type of a gcc2 3841 builtin and then its argument prototype would still apply. */ 3842 char fmod (); 3843 int 3844 main () 3845 { 3846 fmod (); 3847 ; 3848 return 0; 3849 } 3850 _ACEOF 3851 rm -f conftest.$ac_objext conftest$ac_exeext 3852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3853 (eval $ac_link) 2>conftest.er1 3854 ac_status=$? 3855 grep -v '^ *+' conftest.er1 >conftest.err 3856 rm -f conftest.er1 3857 cat conftest.err >&5 3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3859 (exit $ac_status); } && 3860 { ac_try='test -z "$ac_c_werror_flag" 3861 || test ! -s conftest.err' 3862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3863 (eval $ac_try) 2>&5 3864 ac_status=$? 3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3866 (exit $ac_status); }; } && 3867 { ac_try='test -s conftest$ac_exeext' 3868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3869 (eval $ac_try) 2>&5 3870 ac_status=$? 3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3872 (exit $ac_status); }; }; then 3873 ac_cv_lib_m_fmod=yes 3874 else 3875 echo "$as_me: failed program was:" >&5 3876 sed 's/^/| /' conftest.$ac_ext >&5 3877 3878 ac_cv_lib_m_fmod=no 3879 fi 3880 rm -f conftest.err conftest.$ac_objext \ 3881 conftest$ac_exeext conftest.$ac_ext 3882 LIBS=$ac_check_lib_save_LIBS 3883 fi 3884 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 3885 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6 3886 if test $ac_cv_lib_m_fmod = yes; then 3887 cat >>confdefs.h <<_ACEOF 3888 #define HAVE_LIBM 1 3889 _ACEOF 3890 3891 LIBS="-lm $LIBS" 3892 3893 fi 3894 3895 3896 fi; 3953 3897 3954 3898 … … 3958 3902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3959 3903 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3960 {echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53961 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 ; }3904 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3905 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3962 3906 # On Suns, sometimes $CPP names a directory. 3963 3907 if test -n "$CPP" && test -d "$CPP"; then … … 3993 3937 Syntax error 3994 3938 _ACEOF 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 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3940 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4002 3941 ac_status=$? 4003 3942 grep -v '^ *+' conftest.er1 >conftest.err … … 4005 3944 cat conftest.err >&5 4006 3945 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 3946 (exit $ac_status); } >/dev/null; then 3947 if test -s conftest.err; then 3948 ac_cpp_err=$ac_c_preproc_warn_flag 3949 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3950 else 3951 ac_cpp_err= 3952 fi 3953 else 3954 ac_cpp_err=yes 3955 fi 3956 if test -z "$ac_cpp_err"; then 4011 3957 : 4012 3958 else … … 4017 3963 continue 4018 3964 fi 4019 4020 3965 rm -f conftest.err conftest.$ac_ext 4021 3966 4022 # OK, works on sane cases. Now check whether non existent headers3967 # OK, works on sane cases. Now check whether non-existent headers 4023 3968 # can be detected and how. 4024 3969 cat >conftest.$ac_ext <<_ACEOF … … 4030 3975 #include <ac_nonexistent.h> 4031 3976 _ACEOF 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 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3978 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4039 3979 ac_status=$? 4040 3980 grep -v '^ *+' conftest.er1 >conftest.err … … 4042 3982 cat conftest.err >&5 4043 3983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 3984 (exit $ac_status); } >/dev/null; then 3985 if test -s conftest.err; then 3986 ac_cpp_err=$ac_c_preproc_warn_flag 3987 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3988 else 3989 ac_cpp_err= 3990 fi 3991 else 3992 ac_cpp_err=yes 3993 fi 3994 if test -z "$ac_cpp_err"; then 4048 3995 # Broken: success on invalid input. 4049 3996 continue … … 4056 4003 break 4057 4004 fi 4058 4059 4005 rm -f conftest.err conftest.$ac_ext 4060 4006 … … 4074 4020 ac_cv_prog_CPP=$CPP 4075 4021 fi 4076 {echo "$as_me:$LINENO: result: $CPP" >&54077 echo "${ECHO_T}$CPP" >&6 ; }4022 echo "$as_me:$LINENO: result: $CPP" >&5 4023 echo "${ECHO_T}$CPP" >&6 4078 4024 ac_preproc_ok=false 4079 4025 for ac_c_preproc_warn_flag in '' yes … … 4098 4044 Syntax error 4099 4045 _ACEOF 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 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4107 4048 ac_status=$? 4108 4049 grep -v '^ *+' conftest.er1 >conftest.err … … 4110 4051 cat conftest.err >&5 4111 4052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 4053 (exit $ac_status); } >/dev/null; then 4054 if test -s conftest.err; then 4055 ac_cpp_err=$ac_c_preproc_warn_flag 4056 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4057 else 4058 ac_cpp_err= 4059 fi 4060 else 4061 ac_cpp_err=yes 4062 fi 4063 if test -z "$ac_cpp_err"; then 4116 4064 : 4117 4065 else … … 4122 4070 continue 4123 4071 fi 4124 4125 4072 rm -f conftest.err conftest.$ac_ext 4126 4073 4127 # OK, works on sane cases. Now check whether non existent headers4074 # OK, works on sane cases. Now check whether non-existent headers 4128 4075 # can be detected and how. 4129 4076 cat >conftest.$ac_ext <<_ACEOF … … 4135 4082 #include <ac_nonexistent.h> 4136 4083 _ACEOF 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 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4085 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4144 4086 ac_status=$? 4145 4087 grep -v '^ *+' conftest.er1 >conftest.err … … 4147 4089 cat conftest.err >&5 4148 4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 4091 (exit $ac_status); } >/dev/null; then 4092 if test -s conftest.err; then 4093 ac_cpp_err=$ac_c_preproc_warn_flag 4094 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4095 else 4096 ac_cpp_err= 4097 fi 4098 else 4099 ac_cpp_err=yes 4100 fi 4101 if test -z "$ac_cpp_err"; then 4153 4102 # Broken: success on invalid input. 4154 4103 continue … … 4161 4110 break 4162 4111 fi 4163 4164 4112 rm -f conftest.err conftest.$ac_ext 4165 4113 … … 4184 4132 4185 4133 4186 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&54187 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }4188 if test "${ac_cv_p ath_GREP+set}" = set; then4134 echo "$as_me:$LINENO: checking for egrep" >&5 4135 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 4136 if test "${ac_cv_prog_egrep+set}" = set; then 4189 4137 echo $ECHO_N "(cached) $ECHO_C" >&6 4190 4138 else 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 4139 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 4140 then ac_cv_prog_egrep='grep -E' 4141 else ac_cv_prog_egrep='egrep' 4229 4142 fi 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; } 4143 fi 4144 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 4145 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 4146 EGREP=$ac_cv_prog_egrep 4147 4148 4149 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4150 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4350 4151 if test "${ac_cv_header_stdc+set}" = set; then 4351 4152 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4371 4172 _ACEOF 4372 4173 rm -f conftest.$ac_objext 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 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4175 (eval $ac_compile) 2>conftest.er1 4380 4176 ac_status=$? 4381 4177 grep -v '^ *+' conftest.er1 >conftest.err … … 4383 4179 cat conftest.err >&5 4384 4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4385 (exit $ac_status); } && { 4386 test -z "$ac_c_werror_flag" || 4387 test ! -s conftest.err 4388 } && test -s conftest.$ac_objext; then 4181 (exit $ac_status); } && 4182 { ac_try='test -z "$ac_c_werror_flag" 4183 || test ! -s conftest.err' 4184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4185 (eval $ac_try) 2>&5 4186 ac_status=$? 4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4188 (exit $ac_status); }; } && 4189 { ac_try='test -s conftest.$ac_objext' 4190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4191 (eval $ac_try) 2>&5 4192 ac_status=$? 4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4194 (exit $ac_status); }; }; then 4389 4195 ac_cv_header_stdc=yes 4390 4196 else … … 4392 4198 sed 's/^/| /' conftest.$ac_ext >&5 4393 4199 4394 ac_cv_header_stdc=no 4395 fi 4396 4397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4200 ac_cv_header_stdc=no 4201 fi 4202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4398 4203 4399 4204 if test $ac_cv_header_stdc = yes; then … … 4451 4256 /* end confdefs.h. */ 4452 4257 #include <ctype.h> 4453 #include <stdlib.h>4454 4258 #if ((' ' & 0x0FF) == 0x020) 4455 4259 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4471 4275 if (XOR (islower (i), ISLOWER (i)) 4472 4276 || toupper (i) != TOUPPER (i)) 4473 return 2;4474 return 0;4277 exit(2); 4278 exit (0); 4475 4279 } 4476 4280 _ACEOF 4477 4281 rm -f conftest$ac_exeext 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 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4283 (eval $ac_link) 2>&5 4485 4284 ac_status=$? 4486 4285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4487 4286 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 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 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4288 (eval $ac_try) 2>&5 4494 4289 ac_status=$? 4495 4290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4504 4299 ac_cv_header_stdc=no 4505 4300 fi 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; } 4301 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4302 fi 4303 fi 4304 fi 4305 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4306 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4514 4307 if test $ac_cv_header_stdc = yes; then 4515 4308 … … 4534 4327 do 4535 4328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4536 {echo "$as_me:$LINENO: checking for $ac_header" >&54537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ; }4538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then4329 echo "$as_me:$LINENO: checking for $ac_header" >&5 4330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4331 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4539 4332 echo $ECHO_N "(cached) $ECHO_C" >&6 4540 4333 else … … 4550 4343 _ACEOF 4551 4344 rm -f conftest.$ac_objext 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 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4346 (eval $ac_compile) 2>conftest.er1 4559 4347 ac_status=$? 4560 4348 grep -v '^ *+' conftest.er1 >conftest.err … … 4562 4350 cat conftest.err >&5 4563 4351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4564 (exit $ac_status); } && { 4565 test -z "$ac_c_werror_flag" || 4566 test ! -s conftest.err 4567 } && test -s conftest.$ac_objext; then 4352 (exit $ac_status); } && 4353 { ac_try='test -z "$ac_c_werror_flag" 4354 || test ! -s conftest.err' 4355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4356 (eval $ac_try) 2>&5 4357 ac_status=$? 4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4359 (exit $ac_status); }; } && 4360 { ac_try='test -s conftest.$ac_objext' 4361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4362 (eval $ac_try) 2>&5 4363 ac_status=$? 4364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4365 (exit $ac_status); }; }; then 4568 4366 eval "$as_ac_Header=yes" 4569 4367 else … … 4571 4369 sed 's/^/| /' conftest.$ac_ext >&5 4572 4370 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; } 4371 eval "$as_ac_Header=no" 4372 fi 4373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4374 fi 4375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4581 4377 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4582 4378 cat >>confdefs.h <<_ACEOF … … 4589 4385 4590 4386 4591 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&54592 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }4593 if test "${ac_cv_c_bigendian+set}" = set; then4594 echo $ECHO_N "(cached) $ECHO_C" >&64595 else4596 # See if sys/param.h defines the BYTE_ORDER macro.4597 cat >conftest.$ac_ext <<_ACEOF4598 /* confdefs.h. */4599 _ACEOF4600 cat confdefs.h >>conftest.$ac_ext4601 cat >>conftest.$ac_ext <<_ACEOF4602 /* end confdefs.h. */4603 #include <sys/types.h>4604 #include <sys/param.h>4605 4606 int4607 main ()4608 {4609 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \4610 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)4611 bogus endian macros4612 #endif4613 4614 ;4615 return 0;4616 }4617 _ACEOF4618 rm -f conftest.$ac_objext4619 if { (ac_try="$ac_compile"4620 case "(($ac_try" in4621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4622 *) ac_try_echo=$ac_try;;4623 esac4624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54625 (eval "$ac_compile") 2>conftest.er14626 ac_status=$?4627 grep -v '^ *+' conftest.er1 >conftest.err4628 rm -f conftest.er14629 cat conftest.err >&54630 echo "$as_me:$LINENO: \$? = $ac_status" >&54631 (exit $ac_status); } && {4632 test -z "$ac_c_werror_flag" ||4633 test ! -s conftest.err4634 } && test -s conftest.$ac_objext; then4635 # It does; now see whether it defined to BIG_ENDIAN or not.4636 cat >conftest.$ac_ext <<_ACEOF4637 /* confdefs.h. */4638 _ACEOF4639 cat confdefs.h >>conftest.$ac_ext4640 cat >>conftest.$ac_ext <<_ACEOF4641 /* end confdefs.h. */4642 #include <sys/types.h>4643 #include <sys/param.h>4644 4645 int4646 main ()4647 {4648 #if BYTE_ORDER != BIG_ENDIAN4649 not big endian4650 #endif4651 4652 ;4653 return 0;4654 }4655 _ACEOF4656 rm -f conftest.$ac_objext4657 if { (ac_try="$ac_compile"4658 case "(($ac_try" in4659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4660 *) ac_try_echo=$ac_try;;4661 esac4662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54663 (eval "$ac_compile") 2>conftest.er14664 ac_status=$?4665 grep -v '^ *+' conftest.er1 >conftest.err4666 rm -f conftest.er14667 cat conftest.err >&54668 echo "$as_me:$LINENO: \$? = $ac_status" >&54669 (exit $ac_status); } && {4670 test -z "$ac_c_werror_flag" ||4671 test ! -s conftest.err4672 } && test -s conftest.$ac_objext; then4673 ac_cv_c_bigendian=yes4674 else4675 echo "$as_me: failed program was:" >&54676 sed 's/^/| /' conftest.$ac_ext >&54677 4678 ac_cv_c_bigendian=no4679 fi4680 4681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4682 else4683 echo "$as_me: failed program was:" >&54684 sed 's/^/| /' conftest.$ac_ext >&54685 4686 # It does not; compile a test program.4687 if test "$cross_compiling" = yes; then4688 # try to guess the endianness by grepping values into an object file4689 ac_cv_c_bigendian=unknown4690 cat >conftest.$ac_ext <<_ACEOF4691 /* confdefs.h. */4692 _ACEOF4693 cat confdefs.h >>conftest.$ac_ext4694 cat >>conftest.$ac_ext <<_ACEOF4695 /* 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 int4703 main ()4704 {4705 _ascii (); _ebcdic ();4706 ;4707 return 0;4708 }4709 _ACEOF4710 rm -f conftest.$ac_objext4711 if { (ac_try="$ac_compile"4712 case "(($ac_try" in4713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4714 *) ac_try_echo=$ac_try;;4715 esac4716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54717 (eval "$ac_compile") 2>conftest.er14718 ac_status=$?4719 grep -v '^ *+' conftest.er1 >conftest.err4720 rm -f conftest.er14721 cat conftest.err >&54722 echo "$as_me:$LINENO: \$? = $ac_status" >&54723 (exit $ac_status); } && {4724 test -z "$ac_c_werror_flag" ||4725 test ! -s conftest.err4726 } && test -s conftest.$ac_objext; then4727 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then4728 ac_cv_c_bigendian=yes4729 fi4730 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then4731 if test "$ac_cv_c_bigendian" = unknown; then4732 ac_cv_c_bigendian=no4733 else4734 # finding both strings is unlikely to happen, but who knows?4735 ac_cv_c_bigendian=unknown4736 fi4737 fi4738 else4739 echo "$as_me: failed program was:" >&54740 sed 's/^/| /' conftest.$ac_ext >&54741 4742 4743 fi4744 4745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4746 else4747 cat >conftest.$ac_ext <<_ACEOF4748 /* confdefs.h. */4749 _ACEOF4750 cat confdefs.h >>conftest.$ac_ext4751 cat >>conftest.$ac_ext <<_ACEOF4752 /* end confdefs.h. */4753 $ac_includes_default4754 int4755 main ()4756 {4757 4758 /* Are we little or big endian? From Harbison&Steele. */4759 union4760 {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 _ACEOF4771 rm -f conftest$ac_exeext4772 if { (ac_try="$ac_link"4773 case "(($ac_try" in4774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4775 *) ac_try_echo=$ac_try;;4776 esac4777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54778 (eval "$ac_link") 2>&54779 ac_status=$?4780 echo "$as_me:$LINENO: \$? = $ac_status" >&54781 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'4782 { (case "(($ac_try" in4783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4784 *) ac_try_echo=$ac_try;;4785 esac4786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54787 (eval "$ac_try") 2>&54788 ac_status=$?4789 echo "$as_me:$LINENO: \$? = $ac_status" >&54790 (exit $ac_status); }; }; then4791 ac_cv_c_bigendian=no4792 else4793 echo "$as_me: program exited with status $ac_status" >&54794 echo "$as_me: failed program was:" >&54795 sed 's/^/| /' conftest.$ac_ext >&54796 4797 ( exit $ac_status )4798 ac_cv_c_bigendian=yes4799 fi4800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext4801 fi4802 4803 4804 fi4805 4806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4807 fi4808 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&54809 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }4810 case $ac_cv_c_bigendian in4811 yes)4812 4813 cat >>confdefs.h <<\_ACEOF4814 #define WORDS_BIGENDIAN 14815 _ACEOF4816 ;;4817 no)4818 ;;4819 *)4820 { { echo "$as_me:$LINENO: error: unknown endianness4821 presetting ac_cv_c_bigendian=no (or yes) will help" >&54822 echo "$as_me: error: unknown endianness4823 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}4824 { (exit 1); exit 1; }; } ;;4825 esac4826 4827 4828 case $target in4829 *mingw* | *cygw* | *win32* | *w32* )4830 cat >>confdefs.h <<\_ACEOF4831 #define PJ_WIN32 14832 _ACEOF4833 4834 cat >>confdefs.h <<\_ACEOF4835 #define PJ_WIN32_WINNT 0x04004836 _ACEOF4837 4838 cat >>confdefs.h <<\_ACEOF4839 #define WIN32_LEAN_AND_MEAN 14840 _ACEOF4841 4842 ;;4843 *darwin*)4844 cat >>confdefs.h <<\_ACEOF4845 #define PJ_DARWINOS 14846 _ACEOF4847 4848 ;;4849 *linux*)4850 cat >>confdefs.h <<\_ACEOF4851 #define PJ_LINUX 14852 _ACEOF4853 4854 ;;4855 *rtems*)4856 cat >>confdefs.h <<\_ACEOF4857 #define PJ_RTEMS 14858 _ACEOF4859 4860 ;;4861 *sunos* | *solaris* )4862 cat >>confdefs.h <<\_ACEOF4863 #define PJ_SUNOS 14864 _ACEOF4865 4866 ;;4867 *)4868 ;;4869 esac4870 4871 4872 4873 4874 # Check whether --enable-floating-point was given.4875 if test "${enable_floating_point+set}" = set; then4876 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then4877 cat >>confdefs.h <<\_ACEOF4878 #define PJ_HAS_FLOATING_POINT 04879 _ACEOF4880 4881 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&54882 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; }4883 fi4884 else4885 4886 cat >>confdefs.h <<\_ACEOF4887 #define PJ_HAS_FLOATING_POINT 14888 _ACEOF4889 4890 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&54891 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; }4892 4893 { echo "$as_me:$LINENO: checking for fmod in -lm" >&54894 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; }4895 if test "${ac_cv_lib_m_fmod+set}" = set; then4896 echo $ECHO_N "(cached) $ECHO_C" >&64897 else4898 ac_check_lib_save_LIBS=$LIBS4899 LIBS="-lm $LIBS"4900 cat >conftest.$ac_ext <<_ACEOF4901 /* confdefs.h. */4902 _ACEOF4903 cat confdefs.h >>conftest.$ac_ext4904 cat >>conftest.$ac_ext <<_ACEOF4905 /* 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 GCC4909 builtin and then its argument prototype would still apply. */4910 #ifdef __cplusplus4911 extern "C"4912 #endif4913 char fmod ();4914 int4915 main ()4916 {4917 return fmod ();4918 ;4919 return 0;4920 }4921 _ACEOF4922 rm -f conftest.$ac_objext conftest$ac_exeext4923 if { (ac_try="$ac_link"4924 case "(($ac_try" in4925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4926 *) ac_try_echo=$ac_try;;4927 esac4928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54929 (eval "$ac_link") 2>conftest.er14930 ac_status=$?4931 grep -v '^ *+' conftest.er1 >conftest.err4932 rm -f conftest.er14933 cat conftest.err >&54934 echo "$as_me:$LINENO: \$? = $ac_status" >&54935 (exit $ac_status); } && {4936 test -z "$ac_c_werror_flag" ||4937 test ! -s conftest.err4938 } && test -s conftest$ac_exeext &&4939 $as_test_x conftest$ac_exeext; then4940 ac_cv_lib_m_fmod=yes4941 else4942 echo "$as_me: failed program was:" >&54943 sed 's/^/| /' conftest.$ac_ext >&54944 4945 ac_cv_lib_m_fmod=no4946 fi4947 4948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \4949 conftest$ac_exeext conftest.$ac_ext4950 LIBS=$ac_check_lib_save_LIBS4951 fi4952 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&54953 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; }4954 if test $ac_cv_lib_m_fmod = yes; then4955 cat >>confdefs.h <<_ACEOF4956 #define HAVE_LIBM 14957 _ACEOF4958 4959 LIBS="-lm $LIBS"4960 4961 fi4962 4963 4964 fi4965 4966 4967 4968 4387 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4969 {echo "$as_me:$LINENO: checking for arpa/inet.h" >&54970 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 ; }4388 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 4389 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 4971 4390 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4972 4391 echo $ECHO_N "(cached) $ECHO_C" >&6 4973 4392 fi 4974 {echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&54975 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 ; }4393 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 4394 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 4976 4395 else 4977 4396 # Is the header compilable? 4978 {echo "$as_me:$LINENO: checking arpa/inet.h usability" >&54979 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 ; }4397 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 4398 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 4980 4399 cat >conftest.$ac_ext <<_ACEOF 4981 4400 /* confdefs.h. */ … … 4988 4407 _ACEOF 4989 4408 rm -f conftest.$ac_objext 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 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4410 (eval $ac_compile) 2>conftest.er1 4997 4411 ac_status=$? 4998 4412 grep -v '^ *+' conftest.er1 >conftest.err … … 5000 4414 cat conftest.err >&5 5001 4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5002 (exit $ac_status); } && { 5003 test -z "$ac_c_werror_flag" || 5004 test ! -s conftest.err 5005 } && test -s conftest.$ac_objext; then 4416 (exit $ac_status); } && 4417 { ac_try='test -z "$ac_c_werror_flag" 4418 || test ! -s conftest.err' 4419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4420 (eval $ac_try) 2>&5 4421 ac_status=$? 4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4423 (exit $ac_status); }; } && 4424 { ac_try='test -s conftest.$ac_objext' 4425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4426 (eval $ac_try) 2>&5 4427 ac_status=$? 4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4429 (exit $ac_status); }; }; then 5006 4430 ac_header_compiler=yes 5007 4431 else … … 5009 4433 sed 's/^/| /' conftest.$ac_ext >&5 5010 4434 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; } 4435 ac_header_compiler=no 4436 fi 4437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4438 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4439 echo "${ECHO_T}$ac_header_compiler" >&6 5017 4440 5018 4441 # Is the header present? 5019 {echo "$as_me:$LINENO: checking arpa/inet.h presence" >&55020 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 ; }4442 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 4443 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 5021 4444 cat >conftest.$ac_ext <<_ACEOF 5022 4445 /* confdefs.h. */ … … 5027 4450 #include <arpa/inet.h> 5028 4451 _ACEOF 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 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4453 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5036 4454 ac_status=$? 5037 4455 grep -v '^ *+' conftest.er1 >conftest.err … … 5039 4457 cat conftest.err >&5 5040 4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 4459 (exit $ac_status); } >/dev/null; then 4460 if test -s conftest.err; then 4461 ac_cpp_err=$ac_c_preproc_warn_flag 4462 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4463 else 4464 ac_cpp_err= 4465 fi 4466 else 4467 ac_cpp_err=yes 4468 fi 4469 if test -z "$ac_cpp_err"; then 5045 4470 ac_header_preproc=yes 5046 4471 else … … 5050 4475 ac_header_preproc=no 5051 4476 fi 5052 5053 4477 rm -f conftest.err conftest.$ac_ext 5054 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&55055 echo "${ECHO_T}$ac_header_preproc" >&6 ; }4478 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4479 echo "${ECHO_T}$ac_header_preproc" >&6 5056 4480 5057 4481 # So? What about this header? … … 5077 4501 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 5078 4502 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 5079 4503 ( 4504 cat <<\_ASBOX 4505 ## ------------------------------------ ## 4506 ## Report this to the pjproject lists. ## 4507 ## ------------------------------------ ## 4508 _ASBOX 4509 ) | 4510 sed "s/^/$as_me: WARNING: /" >&2 5080 4511 ;; 5081 4512 esac 5082 {echo "$as_me:$LINENO: checking for arpa/inet.h" >&55083 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 ; }4513 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 4514 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 5084 4515 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5085 4516 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5087 4518 ac_cv_header_arpa_inet_h=$ac_header_preproc 5088 4519 fi 5089 {echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&55090 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 ; }4520 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 4521 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 5091 4522 5092 4523 fi … … 5100 4531 5101 4532 if test "${ac_cv_header_assert_h+set}" = set; then 5102 {echo "$as_me:$LINENO: checking for assert.h" >&55103 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 ; }4533 echo "$as_me:$LINENO: checking for assert.h" >&5 4534 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 5104 4535 if test "${ac_cv_header_assert_h+set}" = set; then 5105 4536 echo $ECHO_N "(cached) $ECHO_C" >&6 5106 4537 fi 5107 {echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&55108 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 ; }4538 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 4539 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 5109 4540 else 5110 4541 # Is the header compilable? 5111 {echo "$as_me:$LINENO: checking assert.h usability" >&55112 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6 ; }4542 echo "$as_me:$LINENO: checking assert.h usability" >&5 4543 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6 5113 4544 cat >conftest.$ac_ext <<_ACEOF 5114 4545 /* confdefs.h. */ … … 5121 4552 _ACEOF 5122 4553 rm -f conftest.$ac_objext 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 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4555 (eval $ac_compile) 2>conftest.er1 5130 4556 ac_status=$? 5131 4557 grep -v '^ *+' conftest.er1 >conftest.err … … 5133 4559 cat conftest.err >&5 5134 4560 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5135 (exit $ac_status); } && { 5136 test -z "$ac_c_werror_flag" || 5137 test ! -s conftest.err 5138 } && test -s conftest.$ac_objext; then 4561 (exit $ac_status); } && 4562 { ac_try='test -z "$ac_c_werror_flag" 4563 || test ! -s conftest.err' 4564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4565 (eval $ac_try) 2>&5 4566 ac_status=$? 4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4568 (exit $ac_status); }; } && 4569 { ac_try='test -s conftest.$ac_objext' 4570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4571 (eval $ac_try) 2>&5 4572 ac_status=$? 4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4574 (exit $ac_status); }; }; then 5139 4575 ac_header_compiler=yes 5140 4576 else … … 5142 4578 sed 's/^/| /' conftest.$ac_ext >&5 5143 4579 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; } 4580 ac_header_compiler=no 4581 fi 4582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4583 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4584 echo "${ECHO_T}$ac_header_compiler" >&6 5150 4585 5151 4586 # Is the header present? 5152 {echo "$as_me:$LINENO: checking assert.h presence" >&55153 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6 ; }4587 echo "$as_me:$LINENO: checking assert.h presence" >&5 4588 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6 5154 4589 cat >conftest.$ac_ext <<_ACEOF 5155 4590 /* confdefs.h. */ … … 5160 4595 #include <assert.h> 5161 4596 _ACEOF 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 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4598 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5169 4599 ac_status=$? 5170 4600 grep -v '^ *+' conftest.er1 >conftest.err … … 5172 4602 cat conftest.err >&5 5173 4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5 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 4604 (exit $ac_status); } >/dev/null; then 4605 if test -s conftest.err; then 4606 ac_cpp_err=$ac_c_preproc_warn_flag 4607 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4608 else 4609 ac_cpp_err= 4610 fi 4611 else 4612 ac_cpp_err=yes 4613 fi 4614 if test -z "$ac_cpp_err"; then 5178 4615 ac_header_preproc=yes 5179 4616 else … … 5183 4620 ac_header_preproc=no 5184 4621 fi 5185 5186 4622 rm -f conftest.err conftest.$ac_ext 5187 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&55188 echo "${ECHO_T}$ac_header_preproc" >&6 ; }4623 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4624 echo "${ECHO_T}$ac_header_preproc" >&6 5189 4625 5190 4626 # So? What about this header? … … 5210 4646 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 5211 4647 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 5212 4648 ( 4649 cat <<\_ASBOX 4650 ## ------------------------------------ ## 4651 ## Report this to the pjproject lists. ## 4652 ## ------------------------------------ ## 4653 _ASBOX 4654 ) | 4655 sed "s/^/$as_me: WARNING: /" >&2 5213 4656 ;; 5214 4657 esac 5215 {echo "$as_me:$LINENO: checking for assert.h" >&55216 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 ; }4658 echo "$as_me:$LINENO: checking for assert.h" >&5 4659 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 5217 4660 if test "${ac_cv_header_assert_h+set}" = set; then 5218 4661 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5220 4663 ac_cv_header_assert_h=$ac_header_preproc 5221 4664 fi 5222 {echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&55223 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 ; }4665 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 4666 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 5224 4667 5225 4668 fi … … 5233 4676 5234 4677 if test "${ac_cv_header_ctype_h+set}" = set; then 5235 {echo "$as_me:$LINENO: checking for ctype.h" >&55236 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 ; }4678 echo "$as_me:$LINENO: checking for ctype.h" >&5 4679 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 5237 4680 if test "${ac_cv_header_ctype_h+set}" = set; then 5238 4681 echo $ECHO_N "(cached) $ECHO_C" >&6 5239 4682 fi 5240 {echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&55241 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 ; }4683 echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 4684 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 5242 4685 else 5243 4686 # Is the header compilable? 5244 {echo "$as_me:$LINENO: checking ctype.h usability" >&55245 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6 ; }4687 echo "$as_me:$LINENO: checking ctype.h usability" >&5 4688 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6 5246 4689 cat >conftest.$ac_ext <<_ACEOF 5247 4690 /* confdefs.h. */ … … 5254 4697 _ACEOF 5255 4698 rm -f conftest.$ac_objext 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 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4700 (eval $ac_compile) 2>conftest.er1 5263 4701 ac_status=$? 5264 4702 grep -v '^ *+' conftest.er1 >conftest.err … … 5266 4704 cat conftest.err >&5 5267 4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5268 (exit $ac_status); } && { 5269 test -z "$ac_c_werror_flag" || 5270 test ! -s conftest.err 5271 } && test -s conftest.$ac_objext; then 4706 (exit $ac_status); } && 4707 { ac_try='test -z "$ac_c_werror_flag" 4708 || test ! -s conftest.err' 4709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4710 (eval $ac_try) 2>&5 4711 ac_status=$? 4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4713 (exit $ac_status); }; } && 4714 { ac_try='test -s conftest.$ac_objext' 4715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4716 (eval $ac_try) 2>&5 4717 ac_status=$? 4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4719 (exit $ac_status); }; }; then 5272 4720 ac_header_compiler=yes 5273 4721 else … … 5275 4723 sed 's/^/| /' conftest.$ac_ext >&5 5276 4724 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; } 4725 ac_header_compiler=no 4726 fi 4727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4729 echo "${ECHO_T}$ac_header_compiler" >&6 5283 4730 5284 4731 # Is the header present? 5285 {echo "$as_me:$LINENO: checking ctype.h presence" >&55286 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6 ; }4732 echo "$as_me:$LINENO: checking ctype.h presence" >&5 4733 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6 5287 4734 cat >conftest.$ac_ext <<_ACEOF 5288 4735 /* confdefs.h. */ … … 5293 4740 #include <ctype.h> 5294 4741 _ACEOF 5295 if { (ac_try="$ac_cpp conftest.$ac_ext"