Changeset 2295
- Timestamp:
- Sep 18, 2008 9:22:16 PM (16 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/aconfigure
r2232 r2295 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 61for pjproject 1.0.3 # Generated by GNU Autoconf 2.59 for pjproject 1.0. 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 ac_build_mak_vars 676 CPP 677 GREP 678 EGREP 679 ac_os_objs 680 ac_pjmedia_snd 681 ac_pa_cflags 682 ac_pa_use_alsa 683 ac_pa_use_oss 684 ac_no_small_filter 685 ac_no_large_filter 686 ac_no_speex_aec 687 ac_no_g711_codec 688 ac_no_l16_codec 689 ac_no_gsm_codec 690 ac_no_g722_codec 691 ac_no_speex_codec 692 ac_no_ilbc_codec 693 ac_no_ssl 694 openssl_h_present 695 libssl_present 696 libcrypto_present 697 ac_cross_compile 698 ac_linux_poll 699 ac_host 700 ac_main_obj 701 LIBOBJS 702 LTLIBOBJS' 311 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX ac_pjdir ac_build_mak_vars CPP EGREP ac_os_objs ac_pjmedia_snd ac_pa_cflags ac_pa_use_alsa ac_pa_use_oss ac_no_small_filter ac_no_large_filter ac_no_speex_aec ac_no_g711_codec ac_no_l16_codec ac_no_gsm_codec ac_no_g722_codec ac_no_speex_codec ac_no_ilbc_codec ac_no_ssl openssl_h_present libssl_present libcrypto_present ac_cross_compile ac_linux_poll ac_host ac_main_obj LIBOBJS LTLIBOBJS' 703 312 ac_subst_files='' 704 ac_precious_vars='build_alias705 host_alias706 target_alias707 CC708 CFLAGS709 LDFLAGS710 LIBS711 CPPFLAGS712 CXX713 CXXFLAGS714 CCC715 CPP'716 717 313 718 314 # Initialize some variables set by options. … … 741 337 # by default will actually change. 742 338 # Use braces instead of parens because sh, perl, etc. also accept them. 743 # (The list follows the same order as the GNU Coding Standards.)744 339 bindir='${exec_prefix}/bin' 745 340 sbindir='${exec_prefix}/sbin' 746 341 libexecdir='${exec_prefix}/libexec' 747 datarootdir='${prefix}/share' 748 datadir='${datarootdir}' 342 datadir='${prefix}/share' 749 343 sysconfdir='${prefix}/etc' 750 344 sharedstatedir='${prefix}/com' 751 345 localstatedir='${prefix}/var' 346 libdir='${exec_prefix}/lib' 752 347 includedir='${prefix}/include' 753 348 oldincludedir='/usr/include' 754 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 755 infodir='${datarootdir}/info' 756 htmldir='${docdir}' 757 dvidir='${docdir}' 758 pdfdir='${docdir}' 759 psdir='${docdir}' 760 libdir='${exec_prefix}/lib' 761 localedir='${datarootdir}/locale' 762 mandir='${datarootdir}/man' 349 infodir='${prefix}/info' 350 mandir='${prefix}/man' 763 351 764 352 ac_prev= 765 ac_dashdash=766 353 for ac_option 767 354 do 768 355 # If the previous option needs an argument, assign it. 769 356 if test -n "$ac_prev"; then 770 eval $ac_prev=\$ac_option357 eval "$ac_prev=\$ac_option" 771 358 ac_prev= 772 359 continue 773 360 fi 774 361 362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 363 364 # Accept the important Cygnus configure options, so we can diagnose typos. 365 775 366 case $ac_option in 776 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;777 *) ac_optarg=yes ;;778 esac779 780 # Accept the important Cygnus configure options, so we can diagnose typos.781 782 case $ac_dashdash$ac_option in783 --)784 ac_dashdash=yes ;;785 367 786 368 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 804 386 cache_file=config.cache ;; 805 387 806 -datadir | --datadir | --datadi | --datad )388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 807 389 ac_prev=datadir ;; 808 -datadir=* | --datadir=* | --datadi=* | --datad=*) 390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 391 | --da=*) 809 392 datadir=$ac_optarg ;; 810 811 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \812 | --dataroo | --dataro | --datar)813 ac_prev=datarootdir ;;814 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \815 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)816 datarootdir=$ac_optarg ;;817 393 818 394 -disable-* | --disable-*) 819 395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 820 396 # Reject names that are not valid shell variable names. 821 expr "x$ac_feature" : ".*[^- ._$as_cr_alnum]" >/dev/null &&397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 822 398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 823 399 { (exit 1); exit 1; }; } 824 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 825 eval enable_$ac_feature=no ;; 826 827 -docdir | --docdir | --docdi | --doc | --do) 828 ac_prev=docdir ;; 829 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 830 docdir=$ac_optarg ;; 831 832 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 833 ac_prev=dvidir ;; 834 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 835 dvidir=$ac_optarg ;; 400 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 401 eval "enable_$ac_feature=no" ;; 836 402 837 403 -enable-* | --enable-*) 838 404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 839 405 # Reject names that are not valid shell variable names. 840 expr "x$ac_feature" : ".*[^- ._$as_cr_alnum]" >/dev/null &&406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 841 407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 842 408 { (exit 1); exit 1; }; } 843 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 844 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'" ;; 845 415 846 416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 869 439 host_alias=$ac_optarg ;; 870 440 871 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)872 ac_prev=htmldir ;;873 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \874 | --ht=*)875 htmldir=$ac_optarg ;;876 877 441 -includedir | --includedir | --includedi | --included | --include \ 878 442 | --includ | --inclu | --incl | --inc) … … 899 463 libexecdir=$ac_optarg ;; 900 464 901 -localedir | --localedir | --localedi | --localed | --locale)902 ac_prev=localedir ;;903 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)904 localedir=$ac_optarg ;;905 906 465 -localstatedir | --localstatedir | --localstatedi | --localstated \ 907 | --localstate | --localstat | --localsta | --localst | --locals) 466 | --localstate | --localstat | --localsta | --localst \ 467 | --locals | --local | --loca | --loc | --lo) 908 468 ac_prev=localstatedir ;; 909 469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 910 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 911 472 localstatedir=$ac_optarg ;; 912 473 … … 973 534 program_transform_name=$ac_optarg ;; 974 535 975 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)976 ac_prev=pdfdir ;;977 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)978 pdfdir=$ac_optarg ;;979 980 -psdir | --psdir | --psdi | --psd | --ps)981 ac_prev=psdir ;;982 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)983 psdir=$ac_optarg ;;984 985 536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 986 537 | -silent | --silent | --silen | --sile | --sil) … … 1035 586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1036 587 # Reject names that are not valid shell variable names. 1037 expr "x$ac_package" : ".*[^- ._$as_cr_alnum]" >/dev/null &&588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1038 589 { echo "$as_me: error: invalid package name: $ac_package" >&2 1039 590 { (exit 1); exit 1; }; } 1040 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1041 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'" ;; 1042 597 1043 598 -without-* | --without-*) 1044 599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1045 600 # Reject names that are not valid shell variable names. 1046 expr "x$ac_package" : ".*[^- ._$as_cr_alnum]" >/dev/null &&601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1047 602 { echo "$as_me: error: invalid package name: $ac_package" >&2 1048 603 { (exit 1); exit 1; }; } 1049 ac_package=`echo $ac_package | sed 's/ [-.]/_/g'`1050 eval with_$ac_package=no;;604 ac_package=`echo $ac_package | sed 's/-/_/g'` 605 eval "with_$ac_package=no" ;; 1051 606 1052 607 --x) … … 1079 634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1080 635 { (exit 1); exit 1; }; } 1081 eval $ac_envvar=\$ac_optarg 636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 637 eval "$ac_envvar='$ac_optarg'" 1082 638 export $ac_envvar ;; 1083 639 … … 1099 655 fi 1100 656 1101 # Be sure to have absolute directory names. 1102 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1103 datadir sysconfdir sharedstatedir localstatedir includedir \ 1104 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1105 libdir localedir mandir 657 # Be sure to have absolute paths. 658 for ac_var in exec_prefix prefix 1106 659 do 1107 eval ac_val= \$$ac_var660 eval ac_val=$`echo $ac_var` 1108 661 case $ac_val in 1109 [\\/$]* | ?:[\\/]* ) continue;; 1110 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; }; };; 1111 665 esac 1112 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1113 { (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 1114 678 done 1115 679 … … 1138 702 1139 703 1140 ac_pwd=`pwd` && test -n "$ac_pwd" &&1141 ac_ls_di=`ls -di .` &&1142 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||1143 { echo "$as_me: error: Working directory cannot be determined" >&21144 { (exit 1); exit 1; }; }1145 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||1146 { echo "$as_me: error: pwd does not report name of working directory" >&21147 { (exit 1); exit 1; }; }1148 1149 1150 704 # Find the source files, if location was not specified. 1151 705 if test -z "$srcdir"; then 1152 706 ac_srcdir_defaulted=yes 1153 # Try the directory containing this script, then the parent directory.1154 ac_confdir=` $as_dirname -- "$0"||707 # Try the directory containing this script, then its parent. 708 ac_confdir=`(dirname "$0") 2>/dev/null || 1155 709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1156 710 X"$0" : 'X\(//\)[^/]' \| \ 1157 711 X"$0" : 'X\(//\)$' \| \ 1158 X"$0" : 'X\(/\)' \| . 2>/dev/null || 712 X"$0" : 'X\(/\)' \| \ 713 . : '\(.\)' 2>/dev/null || 1159 714 echo X"$0" | 1160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1161 s//\1/ 1162 q 1163 } 1164 /^X\(\/\/\)[^/].*/{ 1165 s//\1/ 1166 q 1167 } 1168 /^X\(\/\/\)$/{ 1169 s//\1/ 1170 q 1171 } 1172 /^X\(\/\).*/{ 1173 s//\1/ 1174 q 1175 } 1176 s/.*/./; q'` 715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 716 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 717 /^X\(\/\/\)$/{ s//\1/; q; } 718 /^X\(\/\).*/{ s//\1/; q; } 719 s/.*/./; q'` 1177 720 srcdir=$ac_confdir 1178 if test ! -r "$srcdir/$ac_unique_file"; then721 if test ! -r $srcdir/$ac_unique_file; then 1179 722 srcdir=.. 1180 723 fi … … 1182 725 ac_srcdir_defaulted=no 1183 726 fi 1184 if test ! -r "$srcdir/$ac_unique_file"; then1185 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."1186 { 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 1187 730 { (exit 1); exit 1; }; } 1188 fi 1189 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1190 ac_abs_confdir=`( 1191 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 731 else 732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1192 733 { (exit 1); exit 1; }; } 1193 pwd)` 1194 # When building in place, set srcdir=. 1195 if test "$ac_abs_confdir" = "$ac_pwd"; then 1196 srcdir=. 1197 fi 1198 # Remove unnecessary trailing slashes from srcdir. 1199 # Double slashes in file names in object file debugging info 1200 # mess up M-x gdb in Emacs. 1201 case $srcdir in 1202 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1203 esac 1204 for ac_var in $ac_precious_vars; do 1205 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1206 eval ac_env_${ac_var}_value=\$${ac_var} 1207 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1208 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1209 done 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 1210 780 1211 781 # … … 1236 806 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1237 807 808 _ACEOF 809 810 cat <<_ACEOF 1238 811 Installation directories: 1239 812 --prefix=PREFIX install architecture-independent files in PREFIX … … 1253 826 --sbindir=DIR system admin executables [EPREFIX/sbin] 1254 827 --libexecdir=DIR program executables [EPREFIX/libexec] 828 --datadir=DIR read-only architecture-independent data [PREFIX/share] 1255 829 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1256 830 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 1259 833 --includedir=DIR C header files [PREFIX/include] 1260 834 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1261 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1262 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1263 --infodir=DIR info documentation [DATAROOTDIR/info] 1264 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1265 --mandir=DIR man documentation [DATAROOTDIR/man] 1266 --docdir=DIR documentation root [DATAROOTDIR/doc/pjproject] 1267 --htmldir=DIR html documentation [DOCDIR] 1268 --dvidir=DIR dvi documentation [DOCDIR] 1269 --pdfdir=DIR pdf documentation [DOCDIR] 1270 --psdir=DIR ps documentation [DOCDIR] 835 --infodir=DIR info documentation [PREFIX/info] 836 --mandir=DIR man documentation [PREFIX/man] 1271 837 _ACEOF 1272 838 … … 1291 857 --disable-floating-point 1292 858 Disable floating point where possible 859 --enable-epoll Use /dev/epoll ioqueue on Linux (beta) 1293 860 --disable-sound Exclude sound (i.e. use null sound) 1294 861 --disable-oss Disable OSS audio (default: not disabled) … … 1320 887 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1321 888 nonstandard directory <lib dir> 1322 LIBS libraries to pass to the linker, e.g. -l<library> 1323 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1324 you have headers in a nonstandard directory <include dir> 889 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 890 headers in a nonstandard directory <include dir> 1325 891 CXX C++ compiler command 1326 892 CXXFLAGS C++ compiler flags … … 1331 897 1332 898 _ACEOF 1333 ac_status=$?1334 899 fi 1335 900 1336 901 if test "$ac_init_help" = "recursive"; then 1337 902 # If there are subdirs, report their specific --help. 903 ac_popdir=`pwd` 1338 904 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1339 test -d "$ac_dir"|| continue905 test -d $ac_dir || continue 1340 906 ac_builddir=. 1341 907 1342 case "$ac_dir" in 1343 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 908 if test "$ac_dir" != .; then 909 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 910 # A "../" for each directory in $ac_dir_suffix. 911 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 912 else 913 ac_dir_suffix= ac_top_builddir= 914 fi 915 916 case $srcdir in 917 .) # No --srcdir option. We are building in place. 918 ac_srcdir=. 919 if test -z "$ac_top_builddir"; then 920 ac_top_srcdir=. 921 else 922 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 923 fi ;; 924 [\\/]* | ?:[\\/]* ) # Absolute path. 925 ac_srcdir=$srcdir$ac_dir_suffix; 926 ac_top_srcdir=$srcdir ;; 927 *) # Relative path. 928 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 929 ac_top_srcdir=$ac_top_builddir$srcdir ;; 930 esac 931 932 # Do not use `cd foo && pwd` to compute absolute paths, because 933 # the directories may not exist. 934 case `pwd` in 935 .) ac_abs_builddir="$ac_dir";; 1344 936 *) 1345 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1346 # A ".." for each directory in $ac_dir_suffix. 1347 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1348 case $ac_top_builddir_sub in 1349 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1350 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1351 esac ;; 937 case "$ac_dir" in 938 .) ac_abs_builddir=`pwd`;; 939 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 940 *) ac_abs_builddir=`pwd`/"$ac_dir";; 941 esac;; 1352 942 esac 1353 ac_abs_top_builddir=$ac_pwd 1354 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1355 # for backward compatibility: 1356 ac_top_builddir=$ac_top_build_prefix 1357 1358 case $srcdir in 1359 .) # We are building in place. 1360 ac_srcdir=. 1361 ac_top_srcdir=$ac_top_builddir_sub 1362 ac_abs_top_srcdir=$ac_pwd ;; 1363 [\\/]* | ?:[\\/]* ) # Absolute name. 1364 ac_srcdir=$srcdir$ac_dir_suffix; 1365 ac_top_srcdir=$srcdir 1366 ac_abs_top_srcdir=$srcdir ;; 1367 *) # Relative name. 1368 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1369 ac_top_srcdir=$ac_top_build_prefix$srcdir 1370 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 943 case $ac_abs_builddir in 944 .) ac_abs_top_builddir=${ac_top_builddir}.;; 945 *) 946 case ${ac_top_builddir}. in 947 .) ac_abs_top_builddir=$ac_abs_builddir;; 948 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 949 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 950 esac;; 1371 951 esac 1372 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1373 1374 cd "$ac_dir" || { ac_status=$?; continue; } 1375 # Check for guested configure. 1376 if test -f "$ac_srcdir/configure.gnu"; then 1377 echo && 1378 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1379 elif test -f "$ac_srcdir/configure"; then 1380 echo && 1381 $SHELL "$ac_srcdir/configure" --help=recursive 952 case $ac_abs_builddir in 953 .) ac_abs_srcdir=$ac_srcdir;; 954 *) 955 case $ac_srcdir in 956 .) ac_abs_srcdir=$ac_abs_builddir;; 957 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 958 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 959 esac;; 960 esac 961 case $ac_abs_builddir in 962 .) ac_abs_top_srcdir=$ac_top_srcdir;; 963 *) 964 case $ac_top_srcdir in 965 .) ac_abs_top_srcdir=$ac_abs_builddir;; 966 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 967 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 968 esac;; 969 esac 970 971 cd $ac_dir 972 # Check for guested configure; otherwise get Cygnus style configure. 973 if test -f $ac_srcdir/configure.gnu; then 974 echo 975 $SHELL $ac_srcdir/configure.gnu --help=recursive 976 elif test -f $ac_srcdir/configure; then 977 echo 978 $SHELL $ac_srcdir/configure --help=recursive 979 elif test -f $ac_srcdir/configure.ac || 980 test -f $ac_srcdir/configure.in; then 981 echo 982 $ac_configure --help 1382 983 else 1383 984 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1384 fi || ac_status=$?1385 cd "$ac_pwd" || { ac_status=$?; break; }985 fi 986 cd $ac_popdir 1386 987 done 1387 988 fi 1388 989 1389 test -n "$ac_init_help" && exit $ac_status990 test -n "$ac_init_help" && exit 0 1390 991 if $ac_init_version; then 1391 992 cat <<\_ACEOF 1392 993 pjproject configure 1.0 1393 generated by GNU Autoconf 2.61 1394 1395 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1396 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 994 generated by GNU Autoconf 2.59 995 996 Copyright (C) 2003 Free Software Foundation, Inc. 1397 997 This configure script is free software; the Free Software Foundation 1398 998 gives unlimited permission to copy, distribute and modify it. 1399 999 _ACEOF 1400 exit 1401 fi 1402 cat >config.log <<_ACEOF 1000 exit 0 1001 fi 1002 exec 5>config.log 1003 cat >&5 <<_ACEOF 1403 1004 This file contains any messages produced by compilers while 1404 1005 running configure, to aid debugging if configure makes a mistake. 1405 1006 1406 1007 It was created by pjproject $as_me 1.0, which was 1407 generated by GNU Autoconf 2. 61. Invocation command line was1008 generated by GNU Autoconf 2.59. Invocation command line was 1408 1009 1409 1010 $ $0 $@ 1410 1011 1411 1012 _ACEOF 1412 exec 5>>config.log1413 1013 { 1414 1014 cat <<_ASUNAME … … 1429 1029 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1430 1030 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1431 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null|| echo unknown`1031 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1432 1032 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1433 1033 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1443 1043 echo "PATH: $as_dir" 1444 1044 done 1445 IFS=$as_save_IFS1446 1045 1447 1046 } >&5 … … 1465 1064 ac_configure_args0= 1466 1065 ac_configure_args1= 1066 ac_sep= 1467 1067 ac_must_keep_next=false 1468 1068 for ac_pass in 1 2 … … 1475 1075 | -silent | --silent | --silen | --sile | --sil) 1476 1076 continue ;; 1477 * \'*)1077 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1478 1078 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1479 1079 esac … … 1497 1097 esac 1498 1098 fi 1499 ac_configure_args="$ac_configure_args '$ac_arg'" 1099 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1100 # Get rid of the leading space. 1101 ac_sep=" " 1500 1102 ;; 1501 1103 esac … … 1508 1110 # config.log. We remove comments because anyway the quotes in there 1509 1111 # would cause problems or look ugly. 1510 # WARNING: Use '\'' to represent an apostrophe within the trap.1511 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.1112 # WARNING: Be sure not to use single quotes in there, as some shells, 1113 # such as our DU 5.0 friend, will then `close' the trap. 1512 1114 trap 'exit_status=$? 1513 1115 # Save into config.log some information that might help in debugging. … … 1522 1124 echo 1523 1125 # The following way of writing the cache mishandles newlines in values, 1524 ( 1525 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1526 eval ac_val=\$$ac_var 1527 case $ac_val in #( 1528 *${as_nl}*) 1529 case $ac_var in #( 1530 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1531 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1532 esac 1533 case $ac_var in #( 1534 _ | IFS | as_nl) ;; #( 1535 *) $as_unset $ac_var ;; 1536 esac ;; 1537 esac 1538 done 1126 { 1539 1127 (set) 2>&1 | 1540 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(1541 * ${as_nl}ac_space=\ *)1128 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1129 *ac_space=\ *) 1542 1130 sed -n \ 1543 "s/' \''/'\''\\\\'\'''\''/g;1544 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=' \''\\2'\''/p"1545 ;; #(1131 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1133 ;; 1546 1134 *) 1547 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1135 sed -n \ 1136 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1548 1137 ;; 1549 esac | 1550 sort 1551 ) 1138 esac; 1139 } 1552 1140 echo 1553 1141 … … 1560 1148 for ac_var in $ac_subst_vars 1561 1149 do 1562 eval ac_val=\$$ac_var 1563 case $ac_val in 1564 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1565 esac 1566 echo "$ac_var='\''$ac_val'\''" 1150 eval ac_val=$`echo $ac_var` 1151 echo "$ac_var='"'"'$ac_val'"'"'" 1567 1152 done | sort 1568 1153 echo … … 1570 1155 if test -n "$ac_subst_files"; then 1571 1156 cat <<\_ASBOX 1572 ## ------------- ------##1573 ## File substitutions. ##1574 ## ------------- ------##1157 ## ------------- ## 1158 ## Output files. ## 1159 ## ------------- ## 1575 1160 _ASBOX 1576 1161 echo 1577 1162 for ac_var in $ac_subst_files 1578 1163 do 1579 eval ac_val=\$$ac_var 1580 case $ac_val in 1581 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1582 esac 1583 echo "$ac_var='\''$ac_val'\''" 1164 eval ac_val=$`echo $ac_var` 1165 echo "$ac_var='"'"'$ac_val'"'"'" 1584 1166 done | sort 1585 1167 echo … … 1593 1175 _ASBOX 1594 1176 echo 1595 cat confdefs.h1177 sed "/^$/d" confdefs.h | sort 1596 1178 echo 1597 1179 fi … … 1600 1182 echo "$as_me: exit $exit_status" 1601 1183 } >&5 1602 rm -f core *.core core.conftest.*&&1603 rm -f -rconftest* confdefs* conf$$* $ac_clean_files &&1184 rm -f core *.core && 1185 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1604 1186 exit $exit_status 1605 ' 01187 ' 0 1606 1188 for ac_signal in 1 2 13 15; do 1607 1189 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1610 1192 1611 1193 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1612 rm -f -r conftest* confdefs.h 1194 rm -rf conftest* confdefs.h 1195 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1196 echo >confdefs.h 1613 1197 1614 1198 # Predefined preprocessor variables. … … 1641 1225 # Let the site file select an alternate cache file if it wants to. 1642 1226 # Prefer explicitly selected file to automatically selected ones. 1643 if test -n "$CONFIG_SITE"; then 1644 set x "$CONFIG_SITE" 1645 elif test "x$prefix" != xNONE; then 1646 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1647 else 1648 set x "$ac_default_prefix/share/config.site" \ 1649 "$ac_default_prefix/etc/config.site" 1650 fi 1651 shift 1652 for ac_site_file 1653 do 1227 if test -z "$CONFIG_SITE"; then 1228 if test "x$prefix" != xNONE; then 1229 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1230 else 1231 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1232 fi 1233 fi 1234 for ac_site_file in $CONFIG_SITE; do 1654 1235 if test -r "$ac_site_file"; then 1655 1236 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1667 1248 echo "$as_me: loading cache $cache_file" >&6;} 1668 1249 case $cache_file in 1669 [\\/]* | ?:[\\/]* ) . "$cache_file";;1670 *) . "./$cache_file";;1250 [\\/]* | ?:[\\/]* ) . $cache_file;; 1251 *) . ./$cache_file;; 1671 1252 esac 1672 1253 fi … … 1680 1261 # value. 1681 1262 ac_cache_corrupted=false 1682 for ac_var in $ac_precious_vars; do 1263 for ac_var in `(set) 2>&1 | 1264 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1683 1265 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1684 1266 eval ac_new_set=\$ac_env_${ac_var}_set 1685 eval ac_old_val= \$ac_cv_env_${ac_var}_value1686 eval ac_new_val= \$ac_env_${ac_var}_value1267 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1268 eval ac_new_val="\$ac_env_${ac_var}_value" 1687 1269 case $ac_old_set,$ac_new_set in 1688 1270 set,) … … 1709 1291 if test "$ac_new_set" = set; then 1710 1292 case $ac_new_val in 1711 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1293 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1294 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1712 1295 *) ac_arg=$ac_var=$ac_new_val ;; 1713 1296 esac … … 1726 1309 fi 1727 1310 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1311 ac_ext=c 1753 1312 ac_cpp='$CPP $CPPFLAGS' … … 1758 1317 1759 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1760 1344 host_orig="$host" 1761 1345 1762 1346 ac_aux_dir= 1763 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do1764 if test -f "$ac_dir/install-sh"; then1347 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1348 if test -f $ac_dir/install-sh; then 1765 1349 ac_aux_dir=$ac_dir 1766 1350 ac_install_sh="$ac_aux_dir/install-sh -c" 1767 1351 break 1768 elif test -f "$ac_dir/install.sh"; then1352 elif test -f $ac_dir/install.sh; then 1769 1353 ac_aux_dir=$ac_dir 1770 1354 ac_install_sh="$ac_aux_dir/install.sh -c" 1771 1355 break 1772 elif test -f "$ac_dir/shtool"; then1356 elif test -f $ac_dir/shtool; then 1773 1357 ac_aux_dir=$ac_dir 1774 1358 ac_install_sh="$ac_aux_dir/shtool install -c" … … 1777 1361 done 1778 1362 if test -z "$ac_aux_dir"; then 1779 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&51780 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}1363 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1364 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1781 1365 { (exit 1); exit 1; }; } 1782 1366 fi 1783 1784 # These three variables are undocumented and unsupported, 1785 # and are intended to be withdrawn in a future Autoconf release. 1786 # They can cause serious problems if a builder's source tree is in a directory 1787 # whose full name contains unusual characters. 1788 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1789 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1790 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1791 1367 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1368 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1369 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1792 1370 1793 1371 # Make sure we can run config.sub. 1794 $ SHELL "$ac_aux_dir/config.sub"sun4 >/dev/null 2>&1 ||1795 { { echo "$as_me:$LINENO: error: cannot run $ SHELL $ac_aux_dir/config.sub" >&51796 echo "$as_me: error: cannot run $ SHELL $ac_aux_dir/config.sub" >&2;}1372 $ac_config_sub sun4 >/dev/null 2>&1 || 1373 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1374 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1797 1375 { (exit 1); exit 1; }; } 1798 1376 1799 {echo "$as_me:$LINENO: checking build system type" >&51800 echo $ECHO_N "checking build system type... $ECHO_C" >&6 ; }1377 echo "$as_me:$LINENO: checking build system type" >&5 1378 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1801 1379 if test "${ac_cv_build+set}" = set; then 1802 1380 echo $ECHO_N "(cached) $ECHO_C" >&6 1803 1381 else 1804 ac_ build_alias=$build_alias1805 test "x$ac_build_alias" = x&&1806 ac_ build_alias=`$SHELL "$ac_aux_dir/config.guess"`1807 test "x$ac_build_alias" = x&&1382 ac_cv_build_alias=$build_alias 1383 test -z "$ac_cv_build_alias" && 1384 ac_cv_build_alias=`$ac_config_guess` 1385 test -z "$ac_cv_build_alias" && 1808 1386 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1809 1387 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1810 1388 { (exit 1); exit 1; }; } 1811 ac_cv_build=`$ SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||1812 { { echo "$as_me:$LINENO: error: $ SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&51813 echo "$as_me: error: $ SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}1389 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1390 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 1391 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1814 1392 { (exit 1); exit 1; }; } 1815 1393 1816 1394 fi 1817 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1818 echo "${ECHO_T}$ac_cv_build" >&6; } 1819 case $ac_cv_build in 1820 *-*-*) ;; 1821 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 1822 echo "$as_me: error: invalid value of canonical build" >&2;} 1823 { (exit 1); exit 1; }; };; 1824 esac 1395 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1396 echo "${ECHO_T}$ac_cv_build" >&6 1825 1397 build=$ac_cv_build 1826 ac_save_IFS=$IFS; IFS='-' 1827 set x $ac_cv_build 1828 shift 1829 build_cpu=$1 1830 build_vendor=$2 1831 shift; shift 1832 # Remember, the first character of IFS is used to create $*, 1833 # except with old shells: 1834 build_os=$* 1835 IFS=$ac_save_IFS 1836 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1837 1838 1839 { echo "$as_me:$LINENO: checking host system type" >&5 1840 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 1398 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1399 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1400 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1401 1402 1403 echo "$as_me:$LINENO: checking host system type" >&5 1404 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1841 1405 if test "${ac_cv_host+set}" = set; then 1842 1406 echo $ECHO_N "(cached) $ECHO_C" >&6 1843 1407 else 1844 if test "x$host_alias" = x; then1845 ac_cv_host=$ac_cv_build 1846 else 1847 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||1848 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&51849 echo "$as_me: error: $ SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}1408 ac_cv_host_alias=$host_alias 1409 test -z "$ac_cv_host_alias" && 1410 ac_cv_host_alias=$ac_cv_build_alias 1411 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1412 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1413 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1850 1414 { (exit 1); exit 1; }; } 1851 fi 1852 1853 fi 1854 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1855 echo "${ECHO_T}$ac_cv_host" >&6; } 1856 case $ac_cv_host in 1857 *-*-*) ;; 1858 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 1859 echo "$as_me: error: invalid value of canonical host" >&2;} 1860 { (exit 1); exit 1; }; };; 1861 esac 1415 1416 fi 1417 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1418 echo "${ECHO_T}$ac_cv_host" >&6 1862 1419 host=$ac_cv_host 1863 ac_save_IFS=$IFS; IFS='-' 1864 set x $ac_cv_host 1865 shift 1866 host_cpu=$1 1867 host_vendor=$2 1868 shift; shift 1869 # Remember, the first character of IFS is used to create $*, 1870 # except with old shells: 1871 host_os=$* 1872 IFS=$ac_save_IFS 1873 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1874 1875 1876 { echo "$as_me:$LINENO: checking target system type" >&5 1877 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 1420 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1421 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1422 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1423 1424 1425 echo "$as_me:$LINENO: checking target system type" >&5 1426 echo $ECHO_N "checking target system type... $ECHO_C" >&6 1878 1427 if test "${ac_cv_target+set}" = set; then 1879 1428 echo $ECHO_N "(cached) $ECHO_C" >&6 1880 1429 else 1881 if test "x$target_alias" = x; then1882 ac_cv_target=$ac_cv_host 1883 else 1884 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||1885 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&51886 echo "$as_me: error: $ SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}1430 ac_cv_target_alias=$target_alias 1431 test "x$ac_cv_target_alias" = "x" && 1432 ac_cv_target_alias=$ac_cv_host_alias 1433 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 1434 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 1435 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 1887 1436 { (exit 1); exit 1; }; } 1888 fi 1889 1890 fi 1891 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1892 echo "${ECHO_T}$ac_cv_target" >&6; } 1893 case $ac_cv_target in 1894 *-*-*) ;; 1895 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 1896 echo "$as_me: error: invalid value of canonical target" >&2;} 1897 { (exit 1); exit 1; }; };; 1898 esac 1437 1438 fi 1439 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 1440 echo "${ECHO_T}$ac_cv_target" >&6 1899 1441 target=$ac_cv_target 1900 ac_save_IFS=$IFS; IFS='-' 1901 set x $ac_cv_target 1902 shift 1903 target_cpu=$1 1904 target_vendor=$2 1905 shift; shift 1906 # Remember, the first character of IFS is used to create $*, 1907 # except with old shells: 1908 target_os=$* 1909 IFS=$ac_save_IFS 1910 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 1442 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1443 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1444 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1911 1445 1912 1446 … … 1917 1451 NONENONEs,x,x, && 1918 1452 program_prefix=${target_alias}- 1919 ac_config_headers="$ac_config_headers pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h pjmedia/include/pjmedia/config_auto.h pjmedia/include/pjmedia-codec/config_auto.h pjsip/include/pjsip/sip_autoconf.h"1920 1921 ac_config_files="$ac_config_files build.mak build/os-auto.mak pjlib/build/os-auto.mak pjlib-util/build/os-auto.mak pjmedia/build/os-auto.mak pjsip/build/os-auto.mak third_party/build/portaudio/os-auto.mak third_party/build/os-auto.mak"1453 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" 1454 1455 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" 1922 1456 1923 1457 … … 1939 1473 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1940 1474 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1941 {echo "$as_me:$LINENO: checking for $ac_word" >&51942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1475 echo "$as_me:$LINENO: checking for $ac_word" >&5 1476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1943 1477 if test "${ac_cv_prog_CC+set}" = set; then 1944 1478 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1953 1487 test -z "$as_dir" && as_dir=. 1954 1488 for ac_exec_ext in '' $ac_executable_extensions; do 1955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1956 1490 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1957 1491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1960 1494 done 1961 1495 done 1962 IFS=$as_save_IFS1963 1496 1964 1497 fi … … 1966 1499 CC=$ac_cv_prog_CC 1967 1500 if test -n "$CC"; then 1968 { echo "$as_me:$LINENO: result: $CC" >&5 1969 echo "${ECHO_T}$CC" >&6; } 1970 else 1971 { echo "$as_me:$LINENO: result: no" >&5 1972 echo "${ECHO_T}no" >&6; } 1973 fi 1974 1501 echo "$as_me:$LINENO: result: $CC" >&5 1502 echo "${ECHO_T}$CC" >&6 1503 else 1504 echo "$as_me:$LINENO: result: no" >&5 1505 echo "${ECHO_T}no" >&6 1506 fi 1975 1507 1976 1508 fi … … 1979 1511 # Extract the first word of "gcc", so it can be a program name with args. 1980 1512 set dummy gcc; ac_word=$2 1981 {echo "$as_me:$LINENO: checking for $ac_word" >&51982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1513 echo "$as_me:$LINENO: checking for $ac_word" >&5 1514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1983 1515 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1984 1516 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1993 1525 test -z "$as_dir" && as_dir=. 1994 1526 for ac_exec_ext in '' $ac_executable_extensions; do 1995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1996 1528 ac_cv_prog_ac_ct_CC="gcc" 1997 1529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2000 1532 done 2001 1533 done 2002 IFS=$as_save_IFS2003 1534 2004 1535 fi … … 2006 1537 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2007 1538 if test -n "$ac_ct_CC"; then 2008 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2009 echo "${ECHO_T}$ac_ct_CC" >&6; } 2010 else 2011 { echo "$as_me:$LINENO: result: no" >&5 2012 echo "${ECHO_T}no" >&6; } 2013 fi 2014 2015 if test "x$ac_ct_CC" = x; then 2016 CC="" 2017 else 2018 case $cross_compiling:$ac_tool_warned in 2019 yes:) 2020 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2021 whose name does not start with the host triplet. If you think this 2022 configuration is useful to you, please write to autoconf@gnu.org." >&5 2023 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2024 whose name does not start with the host triplet. If you think this 2025 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2026 ac_tool_warned=yes ;; 2027 esac 2028 CC=$ac_ct_CC 2029 fi 1539 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1540 echo "${ECHO_T}$ac_ct_CC" >&6 1541 else 1542 echo "$as_me:$LINENO: result: no" >&5 1543 echo "${ECHO_T}no" >&6 1544 fi 1545 1546 CC=$ac_ct_CC 2030 1547 else 2031 1548 CC="$ac_cv_prog_CC" … … 2033 1550 2034 1551 if test -z "$CC"; then 2035 2036 1552 if test -n "$ac_tool_prefix"; then 1553 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2037 1554 set dummy ${ac_tool_prefix}cc; ac_word=$2 2038 {echo "$as_me:$LINENO: checking for $ac_word" >&52039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1555 echo "$as_me:$LINENO: checking for $ac_word" >&5 1556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2040 1557 if test "${ac_cv_prog_CC+set}" = set; then 2041 1558 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2050 1567 test -z "$as_dir" && as_dir=. 2051 1568 for ac_exec_ext in '' $ac_executable_extensions; do 2052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2053 1570 ac_cv_prog_CC="${ac_tool_prefix}cc" 2054 1571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2057 1574 done 2058 1575 done 2059 IFS=$as_save_IFS2060 1576 2061 1577 fi … … 2063 1579 CC=$ac_cv_prog_CC 2064 1580 if test -n "$CC"; then 2065 { echo "$as_me:$LINENO: result: $CC" >&5 2066 echo "${ECHO_T}$CC" >&6; } 2067 else 2068 { echo "$as_me:$LINENO: result: no" >&5 2069 echo "${ECHO_T}no" >&6; } 2070 fi 2071 2072 1581 echo "$as_me:$LINENO: result: $CC" >&5 1582 echo "${ECHO_T}$CC" >&6 1583 else 1584 echo "$as_me:$LINENO: result: no" >&5 1585 echo "${ECHO_T}no" >&6 1586 fi 1587 1588 fi 1589 if test -z "$ac_cv_prog_CC"; then 1590 ac_ct_CC=$CC 1591 # Extract the first word of "cc", so it can be a program name with args. 1592 set dummy cc; ac_word=$2 1593 echo "$as_me:$LINENO: checking for $ac_word" >&5 1594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1595 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1596 echo $ECHO_N "(cached) $ECHO_C" >&6 1597 else 1598 if test -n "$ac_ct_CC"; then 1599 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1600 else 1601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1602 for as_dir in $PATH 1603 do 1604 IFS=$as_save_IFS 1605 test -z "$as_dir" && as_dir=. 1606 for ac_exec_ext in '' $ac_executable_extensions; do 1607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1608 ac_cv_prog_ac_ct_CC="cc" 1609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1610 break 2 2073 1611 fi 1612 done 1613 done 1614 1615 fi 1616 fi 1617 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1618 if test -n "$ac_ct_CC"; then 1619 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1620 echo "${ECHO_T}$ac_ct_CC" >&6 1621 else 1622 echo "$as_me:$LINENO: result: no" >&5 1623 echo "${ECHO_T}no" >&6 1624 fi 1625 1626 CC=$ac_ct_CC 1627 else 1628 CC="$ac_cv_prog_CC" 1629 fi 1630 2074 1631 fi 2075 1632 if test -z "$CC"; then 2076 1633 # Extract the first word of "cc", so it can be a program name with args. 2077 1634 set dummy cc; ac_word=$2 2078 {echo "$as_me:$LINENO: checking for $ac_word" >&52079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1635 echo "$as_me:$LINENO: checking for $ac_word" >&5 1636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2080 1637 if test "${ac_cv_prog_CC+set}" = set; then 2081 1638 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2091 1648 test -z "$as_dir" && as_dir=. 2092 1649 for ac_exec_ext in '' $ac_executable_extensions; do 2093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2094 1651 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2095 1652 ac_prog_rejected=yes … … 2102 1659 done 2103 1660 done 2104 IFS=$as_save_IFS2105 1661 2106 1662 if test $ac_prog_rejected = yes; then … … 2120 1676 CC=$ac_cv_prog_CC 2121 1677 if test -n "$CC"; then 2122 { echo "$as_me:$LINENO: result: $CC" >&5 2123 echo "${ECHO_T}$CC" >&6; } 2124 else 2125 { echo "$as_me:$LINENO: result: no" >&5 2126 echo "${ECHO_T}no" >&6; } 2127 fi 2128 1678 echo "$as_me:$LINENO: result: $CC" >&5 1679 echo "${ECHO_T}$CC" >&6 1680 else 1681 echo "$as_me:$LINENO: result: no" >&5 1682 echo "${ECHO_T}no" >&6 1683 fi 2129 1684 2130 1685 fi 2131 1686 if test -z "$CC"; then 2132 1687 if test -n "$ac_tool_prefix"; then 2133 for ac_prog in cl .exe1688 for ac_prog in cl 2134 1689 do 2135 1690 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2136 1691 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2137 {echo "$as_me:$LINENO: checking for $ac_word" >&52138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1692 echo "$as_me:$LINENO: checking for $ac_word" >&5 1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2139 1694 if test "${ac_cv_prog_CC+set}" = set; then 2140 1695 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2149 1704 test -z "$as_dir" && as_dir=. 2150 1705 for ac_exec_ext in '' $ac_executable_extensions; do 2151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2152 1707 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2153 1708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2156 1711 done 2157 1712 done 2158 IFS=$as_save_IFS2159 1713 2160 1714 fi … … 2162 1716 CC=$ac_cv_prog_CC 2163 1717 if test -n "$CC"; then 2164 { echo "$as_me:$LINENO: result: $CC" >&5 2165 echo "${ECHO_T}$CC" >&6; } 2166 else 2167 { echo "$as_me:$LINENO: result: no" >&5 2168 echo "${ECHO_T}no" >&6; } 2169 fi 2170 1718 echo "$as_me:$LINENO: result: $CC" >&5 1719 echo "${ECHO_T}$CC" >&6 1720 else 1721 echo "$as_me:$LINENO: result: no" >&5 1722 echo "${ECHO_T}no" >&6 1723 fi 2171 1724 2172 1725 test -n "$CC" && break … … 2175 1728 if test -z "$CC"; then 2176 1729 ac_ct_CC=$CC 2177 for ac_prog in cl .exe1730 for ac_prog in cl 2178 1731 do 2179 1732 # Extract the first word of "$ac_prog", so it can be a program name with args. 2180 1733 set dummy $ac_prog; ac_word=$2 2181 {echo "$as_me:$LINENO: checking for $ac_word" >&52182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1734 echo "$as_me:$LINENO: checking for $ac_word" >&5 1735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2183 1736 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2184 1737 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2193 1746 test -z "$as_dir" && as_dir=. 2194 1747 for ac_exec_ext in '' $ac_executable_extensions; do 2195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2196 1749 ac_cv_prog_ac_ct_CC="$ac_prog" 2197 1750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2200 1753 done 2201 1754 done 2202 IFS=$as_save_IFS2203 1755 2204 1756 fi … … 2206 1758 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2207 1759 if test -n "$ac_ct_CC"; then 2208 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2209 echo "${ECHO_T}$ac_ct_CC" >&6; } 2210 else 2211 { echo "$as_me:$LINENO: result: no" >&5 2212 echo "${ECHO_T}no" >&6; } 2213 fi 2214 1760 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1761 echo "${ECHO_T}$ac_ct_CC" >&6 1762 else 1763 echo "$as_me:$LINENO: result: no" >&5 1764 echo "${ECHO_T}no" >&6 1765 fi 2215 1766 2216 1767 test -n "$ac_ct_CC" && break 2217 1768 done 2218 1769 2219 if test "x$ac_ct_CC" = x; then 2220 CC="" 2221 else 2222 case $cross_compiling:$ac_tool_warned in 2223 yes:) 2224 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2225 whose name does not start with the host triplet. If you think this 2226 configuration is useful to you, please write to autoconf@gnu.org." >&5 2227 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2228 whose name does not start with the host triplet. If you think this 2229 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2230 ac_tool_warned=yes ;; 2231 esac 2232 CC=$ac_ct_CC 2233 fi 1770 CC=$ac_ct_CC 2234 1771 fi 2235 1772 … … 2244 1781 2245 1782 # Provide some information about the compiler. 2246 echo "$as_me:$LINENO: checking for C compiler version" >&5 1783 echo "$as_me:$LINENO:" \ 1784 "checking for C compiler version" >&5 2247 1785 ac_compiler=`set X $ac_compile; echo $2` 2248 { (ac_try="$ac_compiler --version >&5" 2249 case "(($ac_try" in 2250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2251 *) ac_try_echo=$ac_try;; 2252 esac 2253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2254 (eval "$ac_compiler --version >&5") 2>&5 1786 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1787 (eval $ac_compiler --version </dev/null >&5) 2>&5 2255 1788 ac_status=$? 2256 1789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2257 1790 (exit $ac_status); } 2258 { (ac_try="$ac_compiler -v >&5" 2259 case "(($ac_try" in 2260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2261 *) ac_try_echo=$ac_try;; 2262 esac 2263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2264 (eval "$ac_compiler -v >&5") 2>&5 1791 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1792 (eval $ac_compiler -v </dev/null >&5) 2>&5 2265 1793 ac_status=$? 2266 1794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2267 1795 (exit $ac_status); } 2268 { (ac_try="$ac_compiler -V >&5" 2269 case "(($ac_try" in 2270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2271 *) ac_try_echo=$ac_try;; 2272 esac 2273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2274 (eval "$ac_compiler -V >&5") 2>&5 1796 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1797 (eval $ac_compiler -V </dev/null >&5) 2>&5 2275 1798 ac_status=$? 2276 1799 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2297 1820 # It will help us diagnose broken compilers, and finding out an intuition 2298 1821 # of exeext. 2299 {echo "$as_me:$LINENO: checking for C compiler default output file name" >&52300 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 ; }1822 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1823 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2301 1824 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2302 # 2303 # List of possible output files, starting from the most likely. 2304 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2305 # only as a last resort. b.out is created by i960 compilers. 2306 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2307 # 2308 # The IRIX 6 linker writes into existing files which may not be 2309 # executable, retaining their permissions. Remove them first so a 2310 # subsequent execution test works. 2311 ac_rmfiles= 2312 for ac_file in $ac_files 2313 do 2314 case $ac_file in 2315 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2316 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2317 esac 2318 done 2319 rm -f $ac_rmfiles 2320 2321 if { (ac_try="$ac_link_default" 2322 case "(($ac_try" in 2323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2324 *) ac_try_echo=$ac_try;; 2325 esac 2326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2327 (eval "$ac_link_default") 2>&5 1825 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1826 (eval $ac_link_default) 2>&5 2328 1827 ac_status=$? 2329 1828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2330 1829 (exit $ac_status); }; then 2331 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2332 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2333 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2334 # so that the user can short-circuit this test for compilers unknown to 2335 # Autoconf. 2336 for ac_file in $ac_files '' 1830 # Find the output, starting from the most likely. This scheme is 1831 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1832 # resort. 1833 1834 # Be careful to initialize this variable, since it used to be cached. 1835 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1836 ac_cv_exeext= 1837 # b.out is created by i960 compilers. 1838 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2337 1839 do 2338 1840 test -f "$ac_file" || continue 2339 1841 case $ac_file in 2340 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 1842 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1843 ;; 1844 conftest.$ac_ext ) 1845 # This is the source file. 2341 1846 ;; 2342 1847 [ab].out ) … … 2345 1850 break;; 2346 1851 *.* ) 2347 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2348 then :; else 2349 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2350 fi 2351 # We set ac_cv_exeext here because the later test for it is not 2352 # safe: cross compilers may not add the suffix if given an `-o' 2353 # argument, so we may need to know it at that point already. 2354 # Even if this section looks crufty: it has the advantage of 2355 # actually working. 1852 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1853 # FIXME: I believe we export ac_cv_exeext for Libtool, 1854 # but it would be cool to find out if it's true. Does anybody 1855 # maintain Libtool? --akim. 1856 export ac_cv_exeext 2356 1857 break;; 2357 1858 * ) … … 2359 1860 esac 2360 1861 done 2361 test "$ac_cv_exeext" = no && ac_cv_exeext= 2362 2363 else 2364 ac_file='' 2365 fi 2366 2367 { echo "$as_me:$LINENO: result: $ac_file" >&5 2368 echo "${ECHO_T}$ac_file" >&6; } 2369 if test -z "$ac_file"; then 1862 else 2370 1863 echo "$as_me: failed program was:" >&5 2371 1864 sed 's/^/| /' conftest.$ac_ext >&5 … … 2379 1872 2380 1873 ac_exeext=$ac_cv_exeext 2381 2382 # Check that the compiler produces executables we can run. If not, either 1874 echo "$as_me:$LINENO: result: $ac_file" >&5 1875 echo "${ECHO_T}$ac_file" >&6 1876 1877 # Check the compiler produces executables we can run. If not, either 2383 1878 # the compiler is broken, or we cross compile. 2384 {echo "$as_me:$LINENO: checking whether the C compiler works" >&52385 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 ; }1879 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1880 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2386 1881 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2387 1882 # If not cross compiling, check that we can run a simple program. 2388 1883 if test "$cross_compiling" != yes; then 2389 1884 if { ac_try='./$ac_file' 2390 { (case "(($ac_try" in 2391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2392 *) ac_try_echo=$ac_try;; 2393 esac 2394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2395 (eval "$ac_try") 2>&5 1885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1886 (eval $ac_try) 2>&5 2396 1887 ac_status=$? 2397 1888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2412 1903 fi 2413 1904 fi 2414 {echo "$as_me:$LINENO: result: yes" >&52415 echo "${ECHO_T}yes" >&6 ; }1905 echo "$as_me:$LINENO: result: yes" >&5 1906 echo "${ECHO_T}yes" >&6 2416 1907 2417 1908 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2418 1909 ac_clean_files=$ac_clean_files_save 2419 # Check th at the compiler produces executables we can run. If not, either1910 # Check the compiler produces executables we can run. If not, either 2420 1911 # the compiler is broken, or we cross compile. 2421 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2422 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2423 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2424 echo "${ECHO_T}$cross_compiling" >&6; } 2425 2426 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2427 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2428 if { (ac_try="$ac_link" 2429 case "(($ac_try" in 2430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2431 *) ac_try_echo=$ac_try;; 2432 esac 2433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2434 (eval "$ac_link") 2>&5 1912 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1913 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1914 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1915 echo "${ECHO_T}$cross_compiling" >&6 1916 1917 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1918 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1920 (eval $ac_link) 2>&5 2435 1921 ac_status=$? 2436 1922 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2443 1929 test -f "$ac_file" || continue 2444 1930 case $ac_file in 2445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. map | *.inf | *.o | *.obj ) ;;1931 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2446 1932 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1933 export ac_cv_exeext 2447 1934 break;; 2448 1935 * ) break;; … … 2458 1945 2459 1946 rm -f conftest$ac_cv_exeext 2460 {echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52461 echo "${ECHO_T}$ac_cv_exeext" >&6 ; }1947 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1948 echo "${ECHO_T}$ac_cv_exeext" >&6 2462 1949 2463 1950 rm -f conftest.$ac_ext 2464 1951 EXEEXT=$ac_cv_exeext 2465 1952 ac_exeext=$EXEEXT 2466 {echo "$as_me:$LINENO: checking for suffix of object files" >&52467 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 ; }1953 echo "$as_me:$LINENO: checking for suffix of object files" >&5 1954 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2468 1955 if test "${ac_cv_objext+set}" = set; then 2469 1956 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2485 1972 _ACEOF 2486 1973 rm -f conftest.o conftest.obj 2487 if { (ac_try="$ac_compile" 2488 case "(($ac_try" in 2489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2490 *) ac_try_echo=$ac_try;; 2491 esac 2492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2493 (eval "$ac_compile") 2>&5 1974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1975 (eval $ac_compile) 2>&5 2494 1976 ac_status=$? 2495 1977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2496 1978 (exit $ac_status); }; then 2497 for ac_file in conftest.o conftest.obj conftest.*; do 2498 test -f "$ac_file" || continue; 1979 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2499 1980 case $ac_file in 2500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf) ;;1981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2501 1982 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2502 1983 break;; … … 2516 1997 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2517 1998 fi 2518 {echo "$as_me:$LINENO: result: $ac_cv_objext" >&52519 echo "${ECHO_T}$ac_cv_objext" >&6 ; }1999 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2000 echo "${ECHO_T}$ac_cv_objext" >&6 2520 2001 OBJEXT=$ac_cv_objext 2521 2002 ac_objext=$OBJEXT 2522 {echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52523 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 ; }2003 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2004 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2524 2005 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2525 2006 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2544 2025 _ACEOF 2545 2026 rm -f conftest.$ac_objext 2546 if { (ac_try="$ac_compile" 2547 case "(($ac_try" in 2548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2549 *) ac_try_echo=$ac_try;; 2550 esac 2551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2552 (eval "$ac_compile") 2>conftest.er1 2027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2028 (eval $ac_compile) 2>conftest.er1 2553 2029 ac_status=$? 2554 2030 grep -v '^ *+' conftest.er1 >conftest.err … … 2556 2032 cat conftest.err >&5 2557 2033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2558 (exit $ac_status); } && { 2559 test -z "$ac_c_werror_flag" || 2560 test ! -s conftest.err 2561 } && test -s conftest.$ac_objext; then 2034 (exit $ac_status); } && 2035 { ac_try='test -z "$ac_c_werror_flag" 2036 || test ! -s conftest.err' 2037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2038 (eval $ac_try) 2>&5 2039 ac_status=$? 2040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2041 (exit $ac_status); }; } && 2042 { ac_try='test -s conftest.$ac_objext' 2043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2044 (eval $ac_try) 2>&5 2045 ac_status=$? 2046 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2047 (exit $ac_status); }; }; then 2562 2048 ac_compiler_gnu=yes 2563 2049 else … … 2565 2051 sed 's/^/| /' conftest.$ac_ext >&5 2566 2052 2567 ac_compiler_gnu=no 2568 fi 2569 2570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2053 ac_compiler_gnu=no 2054 fi 2055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2571 2056 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2572 2057 2573 2058 fi 2574 {echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52575 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 ; }2059 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2060 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2576 2061 GCC=`test $ac_compiler_gnu = yes && echo yes` 2577 2062 ac_test_CFLAGS=${CFLAGS+set} 2578 2063 ac_save_CFLAGS=$CFLAGS 2579 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2580 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2064 CFLAGS="-g" 2065 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2066 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2581 2067 if test "${ac_cv_prog_cc_g+set}" = set; then 2582 2068 echo $ECHO_N "(cached) $ECHO_C" >&6 2583 2069 else 2584 ac_save_c_werror_flag=$ac_c_werror_flag 2585 ac_c_werror_flag=yes 2586 ac_cv_prog_cc_g=no 2587 CFLAGS="-g" 2588 cat >conftest.$ac_ext <<_ACEOF 2070 cat >conftest.$ac_ext <<_ACEOF 2589 2071 /* confdefs.h. */ 2590 2072 _ACEOF … … 2602 2084 _ACEOF 2603 2085 rm -f conftest.$ac_objext 2604 if { (ac_try="$ac_compile" 2605 case "(($ac_try" in 2606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2607 *) ac_try_echo=$ac_try;; 2608 esac 2609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2610 (eval "$ac_compile") 2>conftest.er1 2086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2087 (eval $ac_compile) 2>conftest.er1 2611 2088 ac_status=$? 2612 2089 grep -v '^ *+' conftest.er1 >conftest.err … … 2614 2091 cat conftest.err >&5 2615 2092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2616 (exit $ac_status); } && { 2617 test -z "$ac_c_werror_flag" || 2618 test ! -s conftest.err 2619 } && test -s conftest.$ac_objext; then 2093 (exit $ac_status); } && 2094 { ac_try='test -z "$ac_c_werror_flag" 2095 || test ! -s conftest.err' 2096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2097 (eval $ac_try) 2>&5 2098 ac_status=$? 2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2100 (exit $ac_status); }; } && 2101 { ac_try='test -s conftest.$ac_objext' 2102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2103 (eval $ac_try) 2>&5 2104 ac_status=$? 2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2106 (exit $ac_status); }; }; then 2620 2107 ac_cv_prog_cc_g=yes 2621 2108 else … … 2623 2110 sed 's/^/| /' conftest.$ac_ext >&5 2624 2111 2625 CFLAGS="" 2626 cat >conftest.$ac_ext <<_ACEOF 2627 /* confdefs.h. */ 2628 _ACEOF 2629 cat confdefs.h >>conftest.$ac_ext 2630 cat >>conftest.$ac_ext <<_ACEOF 2631 /* end confdefs.h. */ 2632 2633 int 2634 main () 2635 { 2636 2637 ; 2638 return 0; 2639 } 2640 _ACEOF 2641 rm -f conftest.$ac_objext 2642 if { (ac_try="$ac_compile" 2643 case "(($ac_try" in 2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2645 *) ac_try_echo=$ac_try;; 2646 esac 2647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2648 (eval "$ac_compile") 2>conftest.er1 2649 ac_status=$? 2650 grep -v '^ *+' conftest.er1 >conftest.err 2651 rm -f conftest.er1 2652 cat conftest.err >&5 2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2654 (exit $ac_status); } && { 2655 test -z "$ac_c_werror_flag" || 2656 test ! -s conftest.err 2657 } && test -s conftest.$ac_objext; then 2658 : 2659 else 2660 echo "$as_me: failed program was:" >&5 2661 sed 's/^/| /' conftest.$ac_ext >&5 2662 2663 ac_c_werror_flag=$ac_save_c_werror_flag 2664 CFLAGS="-g" 2665 cat >conftest.$ac_ext <<_ACEOF 2666 /* confdefs.h. */ 2667 _ACEOF 2668 cat confdefs.h >>conftest.$ac_ext 2669 cat >>conftest.$ac_ext <<_ACEOF 2670 /* end confdefs.h. */ 2671 2672 int 2673 main () 2674 { 2675 2676 ; 2677 return 0; 2678 } 2679 _ACEOF 2680 rm -f conftest.$ac_objext 2681 if { (ac_try="$ac_compile" 2682 case "(($ac_try" in 2683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2684 *) ac_try_echo=$ac_try;; 2685 esac 2686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2687 (eval "$ac_compile") 2>conftest.er1 2688 ac_status=$? 2689 grep -v '^ *+' conftest.er1 >conftest.err 2690 rm -f conftest.er1 2691 cat conftest.err >&5 2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2693 (exit $ac_status); } && { 2694 test -z "$ac_c_werror_flag" || 2695 test ! -s conftest.err 2696 } && test -s conftest.$ac_objext; then 2697 ac_cv_prog_cc_g=yes 2698 else 2699 echo "$as_me: failed program was:" >&5 2700 sed 's/^/| /' conftest.$ac_ext >&5 2701 2702 2703 fi 2704 2705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2706 fi 2707 2708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2709 fi 2710 2711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2712 ac_c_werror_flag=$ac_save_c_werror_flag 2713 fi 2714 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2715 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2112 ac_cv_prog_cc_g=no 2113 fi 2114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2115 fi 2116 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2117 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2716 2118 if test "$ac_test_CFLAGS" = set; then 2717 2119 CFLAGS=$ac_save_CFLAGS … … 2729 2131 fi 2730 2132 fi 2731 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52732 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2733 if test "${ac_cv_prog_cc_ c89+set}" = set; then2133 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2134 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2135 if test "${ac_cv_prog_cc_stdc+set}" = set; then 2734 2136 echo $ECHO_N "(cached) $ECHO_C" >&6 2735 2137 else 2736 ac_cv_prog_cc_ c89=no2138 ac_cv_prog_cc_stdc=no 2737 2139 ac_save_CC=$CC 2738 2140 cat >conftest.$ac_ext <<_ACEOF … … 2768 2170 function prototypes and stuff, but not '\xHH' hex character constants. 2769 2171 These don't provoke an error unfortunately, instead are silently treated 2770 as 'x'. The following induces an error, until -std is added to get2172 as 'x'. The following induces an error, until -std1 is added to get 2771 2173 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2772 2174 array size at least. It's necessary to write '\x00'==0 to get something 2773 that's true only with -std . */2175 that's true only with -std1. */ 2774 2176 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2775 2776 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters2777 inside strings and character constants. */2778 #define FOO(x) 'x'2779 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];2780 2177 2781 2178 int test (int i, double x); … … 2793 2190 } 2794 2191 _ACEOF 2795 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2796 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2192 # Don't try gcc -ansi; that turns off useful extensions and 2193 # breaks some systems' header files. 2194 # AIX -qlanglvl=ansi 2195 # Ultrix and OSF/1 -std1 2196 # HP-UX 10.20 and later -Ae 2197 # HP-UX older versions -Aa -D_HPUX_SOURCE 2198 # SVR4 -Xc -D__EXTENSIONS__ 2199 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2797 2200 do 2798 2201 CC="$ac_save_CC $ac_arg" 2799 2202 rm -f conftest.$ac_objext 2800 if { (ac_try="$ac_compile" 2801 case "(($ac_try" in 2802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2803 *) ac_try_echo=$ac_try;; 2804 esac 2805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2806 (eval "$ac_compile") 2>conftest.er1 2203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2204 (eval $ac_compile) 2>conftest.er1 2807 2205 ac_status=$? 2808 2206 grep -v '^ *+' conftest.er1 >conftest.err … … 2810 2208 cat conftest.err >&5 2811 2209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2812 (exit $ac_status); } && { 2813 test -z "$ac_c_werror_flag" || 2814 test ! -s conftest.err 2815 } && test -s conftest.$ac_objext; then 2816 ac_cv_prog_cc_c89=$ac_arg 2210 (exit $ac_status); } && 2211 { ac_try='test -z "$ac_c_werror_flag" 2212 || test ! -s conftest.err' 2213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2214 (eval $ac_try) 2>&5 2215 ac_status=$? 2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2217 (exit $ac_status); }; } && 2218 { ac_try='test -s conftest.$ac_objext' 2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2220 (eval $ac_try) 2>&5 2221 ac_status=$? 2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2223 (exit $ac_status); }; }; then 2224 ac_cv_prog_cc_stdc=$ac_arg 2225 break 2817 2226 else 2818 2227 echo "$as_me: failed program was:" >&5 2819 2228 sed 's/^/| /' conftest.$ac_ext >&5 2820 2229 2821 2822 fi 2823 2824 rm -f core conftest.err conftest.$ac_objext 2825 test "x$ac_cv_prog_cc_c89" != "xno" && break 2230 fi 2231 rm -f conftest.err conftest.$ac_objext 2826 2232 done 2827 rm -f conftest.$ac_ext 2233 rm -f conftest.$ac_ext conftest.$ac_objext 2828 2234 CC=$ac_save_CC 2829 2235 2830 2236 fi 2831 # AC_CACHE_VAL 2832 case "x$ac_cv_prog_cc_c89" in 2833 x) 2834 { echo "$as_me:$LINENO: result: none needed" >&5 2835 echo "${ECHO_T}none needed" >&6; } ;; 2836 xno) 2837 { echo "$as_me:$LINENO: result: unsupported" >&5 2838 echo "${ECHO_T}unsupported" >&6; } ;; 2237 2238 case "x$ac_cv_prog_cc_stdc" in 2239 x|xno) 2240 echo "$as_me:$LINENO: result: none needed" >&5 2241 echo "${ECHO_T}none needed" >&6 ;; 2839 2242 *) 2840 CC="$CC $ac_cv_prog_cc_c89"2841 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2842 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; };;2243 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2244 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2245 CC="$CC $ac_cv_prog_cc_stdc" ;; 2843 2246 esac 2844 2247 2845 2248 # Some people use a C++ compiler to compile C. Since we use `exit', 2249 # in C++ we need to declare it. In case someone uses the same compiler 2250 # for both compiling C and C++ we need to have the C++ compiler decide 2251 # the declaration of exit, since it's the most demanding environment. 2252 cat >conftest.$ac_ext <<_ACEOF 2253 #ifndef __cplusplus 2254 choke me 2255 #endif 2256 _ACEOF 2257 rm -f conftest.$ac_objext 2258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2259 (eval $ac_compile) 2>conftest.er1 2260 ac_status=$? 2261 grep -v '^ *+' conftest.er1 >conftest.err 2262 rm -f conftest.er1 2263 cat conftest.err >&5 2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2265 (exit $ac_status); } && 2266 { ac_try='test -z "$ac_c_werror_flag" 2267 || test ! -s conftest.err' 2268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2269 (eval $ac_try) 2>&5 2270 ac_status=$? 2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2272 (exit $ac_status); }; } && 2273 { ac_try='test -s conftest.$ac_objext' 2274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2275 (eval $ac_try) 2>&5 2276 ac_status=$? 2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2278 (exit $ac_status); }; }; then 2279 for ac_declaration in \ 2280 '' \ 2281 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2282 'extern "C" void std::exit (int); using std::exit;' \ 2283 'extern "C" void exit (int) throw ();' \ 2284 'extern "C" void exit (int);' \ 2285 'void exit (int);' 2286 do 2287 cat >conftest.$ac_ext <<_ACEOF 2288 /* confdefs.h. */ 2289 _ACEOF 2290 cat confdefs.h >>conftest.$ac_ext 2291 cat >>conftest.$ac_ext <<_ACEOF 2292 /* end confdefs.h. */ 2293 $ac_declaration 2294 #include <stdlib.h> 2295 int 2296 main () 2297 { 2298 exit (42); 2299 ; 2300 return 0; 2301 } 2302 _ACEOF 2303 rm -f conftest.$ac_objext 2304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2305 (eval $ac_compile) 2>conftest.er1 2306 ac_status=$? 2307 grep -v '^ *+' conftest.er1 >conftest.err 2308 rm -f conftest.er1 2309 cat conftest.err >&5 2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2311 (exit $ac_status); } && 2312 { ac_try='test -z "$ac_c_werror_flag" 2313 || test ! -s conftest.err' 2314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2315 (eval $ac_try) 2>&5 2316 ac_status=$? 2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2318 (exit $ac_status); }; } && 2319 { ac_try='test -s conftest.$ac_objext' 2320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2321 (eval $ac_try) 2>&5 2322 ac_status=$? 2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2324 (exit $ac_status); }; }; then 2325 : 2326 else 2327 echo "$as_me: failed program was:" >&5 2328 sed 's/^/| /' conftest.$ac_ext >&5 2329 2330 continue 2331 fi 2332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2333 cat >conftest.$ac_ext <<_ACEOF 2334 /* confdefs.h. */ 2335 _ACEOF 2336 cat confdefs.h >>conftest.$ac_ext 2337 cat >>conftest.$ac_ext <<_ACEOF 2338 /* end confdefs.h. */ 2339 $ac_declaration 2340 int 2341 main () 2342 { 2343 exit (42); 2344 ; 2345 return 0; 2346 } 2347 _ACEOF 2348 rm -f conftest.$ac_objext 2349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2350 (eval $ac_compile) 2>conftest.er1 2351 ac_status=$? 2352 grep -v '^ *+' conftest.er1 >conftest.err 2353 rm -f conftest.er1 2354 cat conftest.err >&5 2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2356 (exit $ac_status); } && 2357 { ac_try='test -z "$ac_c_werror_flag" 2358 || test ! -s conftest.err' 2359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2360 (eval $ac_try) 2>&5 2361 ac_status=$? 2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2363 (exit $ac_status); }; } && 2364 { ac_try='test -s conftest.$ac_objext' 2365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2366 (eval $ac_try) 2>&5 2367 ac_status=$? 2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2369 (exit $ac_status); }; }; then 2370 break 2371 else 2372 echo "$as_me: failed program was:" >&5 2373 sed 's/^/| /' conftest.$ac_ext >&5 2374 2375 fi 2376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2377 done 2378 rm -f conftest* 2379 if test -n "$ac_declaration"; then 2380 echo '#ifdef __cplusplus' >>confdefs.h 2381 echo $ac_declaration >>confdefs.h 2382 echo '#endif' >>confdefs.h 2383 fi 2384 2385 else 2386 echo "$as_me: failed program was:" >&5 2387 sed 's/^/| /' conftest.$ac_ext >&5 2388 2389 fi 2390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2846 2391 ac_ext=c 2847 2392 ac_cpp='$CPP $CPPFLAGS' … … 2850 2395 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2851 2396 2852 ac_ext=c pp2397 ac_ext=cc 2853 2398 ac_cpp='$CXXCPP $CPPFLAGS' 2854 2399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2855 2400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2856 2401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2857 if test -z "$CXX"; then 2858 if test -n "$CCC"; then 2859 CXX=$CCC 2860 else 2861 if test -n "$ac_tool_prefix"; then 2862 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2402 if test -n "$ac_tool_prefix"; then 2403 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2863 2404 do 2864 2405 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2865 2406 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2866 {echo "$as_me:$LINENO: checking for $ac_word" >&52867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2407 echo "$as_me:$LINENO: checking for $ac_word" >&5 2408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2868 2409 if test "${ac_cv_prog_CXX+set}" = set; then 2869 2410 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2878 2419 test -z "$as_dir" && as_dir=. 2879 2420 for ac_exec_ext in '' $ac_executable_extensions; do 2880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2881 2422 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2882 2423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2885 2426 done 2886 2427 done 2887 IFS=$as_save_IFS2888 2428 2889 2429 fi … … 2891 2431 CXX=$ac_cv_prog_CXX 2892 2432 if test -n "$CXX"; then 2893 { echo "$as_me:$LINENO: result: $CXX" >&5 2894 echo "${ECHO_T}$CXX" >&6; } 2895 else 2896 { echo "$as_me:$LINENO: result: no" >&5 2897 echo "${ECHO_T}no" >&6; } 2898 fi 2899 2433 echo "$as_me:$LINENO: result: $CXX" >&5 2434 echo "${ECHO_T}$CXX" >&6 2435 else 2436 echo "$as_me:$LINENO: result: no" >&5 2437 echo "${ECHO_T}no" >&6 2438 fi 2900 2439 2901 2440 test -n "$CXX" && break … … 2904 2443 if test -z "$CXX"; then 2905 2444 ac_ct_CXX=$CXX 2906 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exeFCC KCC RCC xlC_r xlC2445 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2907 2446 do 2908 2447 # Extract the first word of "$ac_prog", so it can be a program name with args. 2909 2448 set dummy $ac_prog; ac_word=$2 2910 {echo "$as_me:$LINENO: checking for $ac_word" >&52911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2449 echo "$as_me:$LINENO: checking for $ac_word" >&5 2450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2912 2451 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2913 2452 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2922 2461 test -z "$as_dir" && as_dir=. 2923 2462 for ac_exec_ext in '' $ac_executable_extensions; do 2924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2925 2464 ac_cv_prog_ac_ct_CXX="$ac_prog" 2926 2465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2929 2468 done 2930 2469 done 2931 IFS=$as_save_IFS2932 2470 2933 2471 fi … … 2935 2473 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2936 2474 if test -n "$ac_ct_CXX"; then 2937 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2938 echo "${ECHO_T}$ac_ct_CXX" >&6; } 2939 else 2940 { echo "$as_me:$LINENO: result: no" >&5 2941 echo "${ECHO_T}no" >&6; } 2942 fi 2943 2475 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2476 echo "${ECHO_T}$ac_ct_CXX" >&6 2477 else 2478 echo "$as_me:$LINENO: result: no" >&5 2479 echo "${ECHO_T}no" >&6 2480 fi 2944 2481 2945 2482 test -n "$ac_ct_CXX" && break 2946 2483 done 2947 2948 if test "x$ac_ct_CXX" = x; then 2949 CXX="g++" 2950 else 2951 case $cross_compiling:$ac_tool_warned in 2952 yes:) 2953 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2954 whose name does not start with the host triplet. If you think this 2955 configuration is useful to you, please write to autoconf@gnu.org." >&5 2956 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2957 whose name does not start with the host triplet. If you think this 2958 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2959 ac_tool_warned=yes ;; 2960 esac 2961 CXX=$ac_ct_CXX 2962 fi 2963 fi 2964 2965 fi 2966 fi 2484 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2485 2486 CXX=$ac_ct_CXX 2487 fi 2488 2489 2967 2490 # Provide some information about the compiler. 2968 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 2491 echo "$as_me:$LINENO:" \ 2492 "checking for C++ compiler version" >&5 2969 2493 ac_compiler=`set X $ac_compile; echo $2` 2970 { (ac_try="$ac_compiler --version >&5" 2971 case "(($ac_try" in 2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2973 *) ac_try_echo=$ac_try;; 2974 esac 2975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2976 (eval "$ac_compiler --version >&5") 2>&5 2494 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2495 (eval $ac_compiler --version </dev/null >&5) 2>&5 2977 2496 ac_status=$? 2978 2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2979 2498 (exit $ac_status); } 2980 { (ac_try="$ac_compiler -v >&5" 2981 case "(($ac_try" in 2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2983 *) ac_try_echo=$ac_try;; 2984 esac 2985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2986 (eval "$ac_compiler -v >&5") 2>&5 2499 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2500 (eval $ac_compiler -v </dev/null >&5) 2>&5 2987 2501 ac_status=$? 2988 2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2989 2503 (exit $ac_status); } 2990 { (ac_try="$ac_compiler -V >&5" 2991 case "(($ac_try" in 2992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2993 *) ac_try_echo=$ac_try;; 2994 esac 2995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2996 (eval "$ac_compiler -V >&5") 2>&5 2504 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2505 (eval $ac_compiler -V </dev/null >&5) 2>&5 2997 2506 ac_status=$? 2998 2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2999 2508 (exit $ac_status); } 3000 2509 3001 {echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&53002 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 ; }2510 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2511 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 3003 2512 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 3004 2513 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3023 2532 _ACEOF 3024 2533 rm -f conftest.$ac_objext 3025 if { (ac_try="$ac_compile" 3026 case "(($ac_try" in 3027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3028 *) ac_try_echo=$ac_try;; 3029 esac 3030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3031 (eval "$ac_compile") 2>conftest.er1 2534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2535 (eval $ac_compile) 2>conftest.er1 3032 2536 ac_status=$? 3033 2537 grep -v '^ *+' conftest.er1 >conftest.err … … 3035 2539 cat conftest.err >&5 3036 2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3037 (exit $ac_status); } && { 3038 test -z "$ac_cxx_werror_flag" || 3039 test ! -s conftest.err 3040 } && test -s conftest.$ac_objext; then 2541 (exit $ac_status); } && 2542 { ac_try='test -z "$ac_cxx_werror_flag" 2543 || test ! -s conftest.err' 2544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2545 (eval $ac_try) 2>&5 2546 ac_status=$? 2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2548 (exit $ac_status); }; } && 2549 { ac_try='test -s conftest.$ac_objext' 2550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2551 (eval $ac_try) 2>&5 2552 ac_status=$? 2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2554 (exit $ac_status); }; }; then 3041 2555 ac_compiler_gnu=yes 3042 2556 else … … 3044 2558 sed 's/^/| /' conftest.$ac_ext >&5 3045 2559 3046 ac_compiler_gnu=no 3047 fi 3048 3049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2560 ac_compiler_gnu=no 2561 fi 2562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3050 2563 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3051 2564 3052 2565 fi 3053 {echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&53054 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 ; }2566 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2567 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 3055 2568 GXX=`test $ac_compiler_gnu = yes && echo yes` 3056 2569 ac_test_CXXFLAGS=${CXXFLAGS+set} 3057 2570 ac_save_CXXFLAGS=$CXXFLAGS 3058 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3059 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 2571 CXXFLAGS="-g" 2572 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2573 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3060 2574 if test "${ac_cv_prog_cxx_g+set}" = set; then 3061 2575 echo $ECHO_N "(cached) $ECHO_C" >&6 3062 2576 else 3063 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3064 ac_cxx_werror_flag=yes 3065 ac_cv_prog_cxx_g=no 3066 CXXFLAGS="-g" 3067 cat >conftest.$ac_ext <<_ACEOF 2577 cat >conftest.$ac_ext <<_ACEOF 3068 2578 /* confdefs.h. */ 3069 2579 _ACEOF … … 3081 2591 _ACEOF 3082 2592 rm -f conftest.$ac_objext 3083 if { (ac_try="$ac_compile" 3084 case "(($ac_try" in 3085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3086 *) ac_try_echo=$ac_try;; 3087 esac 3088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3089 (eval "$ac_compile") 2>conftest.er1 2593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2594 (eval $ac_compile) 2>conftest.er1 3090 2595 ac_status=$? 3091 2596 grep -v '^ *+' conftest.er1 >conftest.err … … 3093 2598 cat conftest.err >&5 3094 2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3095 (exit $ac_status); } && { 3096 test -z "$ac_cxx_werror_flag" || 3097 test ! -s conftest.err 3098 } && test -s conftest.$ac_objext; then 2600 (exit $ac_status); } && 2601 { ac_try='test -z "$ac_cxx_werror_flag" 2602 || test ! -s conftest.err' 2603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2604 (eval $ac_try) 2>&5 2605 ac_status=$? 2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2607 (exit $ac_status); }; } && 2608 { ac_try='test -s conftest.$ac_objext' 2609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2610 (eval $ac_try) 2>&5 2611 ac_status=$? 2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2613 (exit $ac_status); }; }; then 3099 2614 ac_cv_prog_cxx_g=yes 3100 2615 else … … 3102 2617 sed 's/^/| /' conftest.$ac_ext >&5 3103 2618 3104 CXXFLAGS="" 3105 cat >conftest.$ac_ext <<_ACEOF 3106 /* confdefs.h. */ 3107 _ACEOF 3108 cat confdefs.h >>conftest.$ac_ext 3109 cat >>conftest.$ac_ext <<_ACEOF 3110 /* end confdefs.h. */ 3111 3112 int 3113 main () 3114 { 3115 3116 ; 3117 return 0; 3118 } 3119 _ACEOF 3120 rm -f conftest.$ac_objext 3121 if { (ac_try="$ac_compile" 3122 case "(($ac_try" in 3123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3124 *) ac_try_echo=$ac_try;; 3125 esac 3126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3127 (eval "$ac_compile") 2>conftest.er1 3128 ac_status=$? 3129 grep -v '^ *+' conftest.er1 >conftest.err 3130 rm -f conftest.er1 3131 cat conftest.err >&5 3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3133 (exit $ac_status); } && { 3134 test -z "$ac_cxx_werror_flag" || 3135 test ! -s conftest.err 3136 } && test -s conftest.$ac_objext; then 3137 : 3138 else 3139 echo "$as_me: failed program was:" >&5 3140 sed 's/^/| /' conftest.$ac_ext >&5 3141 3142 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3143 CXXFLAGS="-g" 3144 cat >conftest.$ac_ext <<_ACEOF 3145 /* confdefs.h. */ 3146 _ACEOF 3147 cat confdefs.h >>conftest.$ac_ext 3148 cat >>conftest.$ac_ext <<_ACEOF 3149 /* end confdefs.h. */ 3150 3151 int 3152 main () 3153 { 3154 3155 ; 3156 return 0; 3157 } 3158 _ACEOF 3159 rm -f conftest.$ac_objext 3160 if { (ac_try="$ac_compile" 3161 case "(($ac_try" in 3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3163 *) ac_try_echo=$ac_try;; 3164 esac 3165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3166 (eval "$ac_compile") 2>conftest.er1 3167 ac_status=$? 3168 grep -v '^ *+' conftest.er1 >conftest.err 3169 rm -f conftest.er1 3170 cat conftest.err >&5 3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3172 (exit $ac_status); } && { 3173 test -z "$ac_cxx_werror_flag" || 3174 test ! -s conftest.err 3175 } && test -s conftest.$ac_objext; then 3176 ac_cv_prog_cxx_g=yes 3177 else 3178 echo "$as_me: failed program was:" >&5 3179 sed 's/^/| /' conftest.$ac_ext >&5 3180 3181 3182 fi 3183 3184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3185 fi 3186 3187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3188 fi 3189 3190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3191 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3192 fi 3193 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3194 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 2619 ac_cv_prog_cxx_g=no 2620 fi 2621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2622 fi 2623 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2624 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3195 2625 if test "$ac_test_CXXFLAGS" = set; then 3196 2626 CXXFLAGS=$ac_save_CXXFLAGS … … 3208 2638 fi 3209 2639 fi 2640 for ac_declaration in \ 2641 '' \ 2642 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2643 'extern "C" void std::exit (int); using std::exit;' \ 2644 'extern "C" void exit (int) throw ();' \ 2645 'extern "C" void exit (int);' \ 2646 'void exit (int);' 2647 do 2648 cat >conftest.$ac_ext <<_ACEOF 2649 /* confdefs.h. */ 2650 _ACEOF 2651 cat confdefs.h >>conftest.$ac_ext 2652 cat >>conftest.$ac_ext <<_ACEOF 2653 /* end confdefs.h. */ 2654 $ac_declaration 2655 #include <stdlib.h> 2656 int 2657 main () 2658 { 2659 exit (42); 2660 ; 2661 return 0; 2662 } 2663 _ACEOF 2664 rm -f conftest.$ac_objext 2665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2666 (eval $ac_compile) 2>conftest.er1 2667 ac_status=$? 2668 grep -v '^ *+' conftest.er1 >conftest.err 2669 rm -f conftest.er1 2670 cat conftest.err >&5 2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2672 (exit $ac_status); } && 2673 { ac_try='test -z "$ac_cxx_werror_flag" 2674 || test ! -s conftest.err' 2675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2676 (eval $ac_try) 2>&5 2677 ac_status=$? 2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2679 (exit $ac_status); }; } && 2680 { ac_try='test -s conftest.$ac_objext' 2681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2682 (eval $ac_try) 2>&5 2683 ac_status=$? 2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2685 (exit $ac_status); }; }; then 2686 : 2687 else 2688 echo "$as_me: failed program was:" >&5 2689 sed 's/^/| /' conftest.$ac_ext >&5 2690 2691 continue 2692 fi 2693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2694 cat >conftest.$ac_ext <<_ACEOF 2695 /* confdefs.h. */ 2696 _ACEOF 2697 cat confdefs.h >>conftest.$ac_ext 2698 cat >>conftest.$ac_ext <<_ACEOF 2699 /* end confdefs.h. */ 2700 $ac_declaration 2701 int 2702 main () 2703 { 2704 exit (42); 2705 ; 2706 return 0; 2707 } 2708 _ACEOF 2709 rm -f conftest.$ac_objext 2710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2711 (eval $ac_compile) 2>conftest.er1 2712 ac_status=$? 2713 grep -v '^ *+' conftest.er1 >conftest.err 2714 rm -f conftest.er1 2715 cat conftest.err >&5 2716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2717 (exit $ac_status); } && 2718 { ac_try='test -z "$ac_cxx_werror_flag" 2719 || test ! -s conftest.err' 2720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2721 (eval $ac_try) 2>&5 2722 ac_status=$? 2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2724 (exit $ac_status); }; } && 2725 { ac_try='test -s conftest.$ac_objext' 2726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2727 (eval $ac_try) 2>&5 2728 ac_status=$? 2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2730 (exit $ac_status); }; }; then 2731 break 2732 else 2733 echo "$as_me: failed program was:" >&5 2734 sed 's/^/| /' conftest.$ac_ext >&5 2735 2736 fi 2737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2738 done 2739 rm -f conftest* 2740 if test -n "$ac_declaration"; then 2741 echo '#ifdef __cplusplus' >>confdefs.h 2742 echo $ac_declaration >>confdefs.h 2743 echo '#endif' >>confdefs.h 2744 fi 2745 3210 2746 ac_ext=c 3211 2747 ac_cpp='$CPP $CPPFLAGS' … … 3234 2770 3235 2771 3236 {echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&53237 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 ; }2772 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 2773 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 3238 2774 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 3239 2775 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3248 2784 /* end confdefs.h. */ 3249 2785 3250 /* Override any GCC internal prototype to avoid an error. 3251 Use char because int might match the return type of a GCC 3252 builtin and then its argument prototype would still apply. */ 2786 /* Override any gcc2 internal prototype to avoid an error. */ 3253 2787 #ifdef __cplusplus 3254 2788 extern "C" 3255 2789 #endif 2790 /* We use char because int might match the return type of a gcc2 2791 builtin and then its argument prototype would still apply. */ 3256 2792 char pthread_create (); 3257 2793 int 3258 2794 main () 3259 2795 { 3260 returnpthread_create ();2796 pthread_create (); 3261 2797 ; 3262 2798 return 0; … … 3264 2800 _ACEOF 3265 2801 rm -f conftest.$ac_objext conftest$ac_exeext 3266 if { (ac_try="$ac_link" 3267 case "(($ac_try" in 3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3269 *) ac_try_echo=$ac_try;; 3270 esac 3271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3272 (eval "$ac_link") 2>conftest.er1 2802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2803 (eval $ac_link) 2>conftest.er1 3273 2804 ac_status=$? 3274 2805 grep -v '^ *+' conftest.er1 >conftest.err … … 3276 2807 cat conftest.err >&5 3277 2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3278 (exit $ac_status); } && { 3279 test -z "$ac_c_werror_flag" || 3280 test ! -s conftest.err 3281 } && test -s conftest$ac_exeext && 3282 $as_test_x conftest$ac_exeext; then 2809 (exit $ac_status); } && 2810 { ac_try='test -z "$ac_c_werror_flag" 2811 || test ! -s conftest.err' 2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2813 (eval $ac_try) 2>&5 2814 ac_status=$? 2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2816 (exit $ac_status); }; } && 2817 { ac_try='test -s conftest$ac_exeext' 2818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2819 (eval $ac_try) 2>&5 2820 ac_status=$? 2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2822 (exit $ac_status); }; }; then 3283 2823 ac_cv_lib_pthread_pthread_create=yes 3284 2824 else … … 3286 2826 sed 's/^/| /' conftest.$ac_ext >&5 3287 2827 3288 ac_cv_lib_pthread_pthread_create=no 3289 fi 3290 3291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2828 ac_cv_lib_pthread_pthread_create=no 2829 fi 2830 rm -f conftest.err conftest.$ac_objext \ 3292 2831 conftest$ac_exeext conftest.$ac_ext 3293 2832 LIBS=$ac_check_lib_save_LIBS 3294 2833 fi 3295 {echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&53296 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 ; }2834 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5 2835 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 3297 2836 if test $ac_cv_lib_pthread_pthread_create = yes; then 3298 2837 cat >>confdefs.h <<_ACEOF … … 3305 2844 3306 2845 3307 {echo "$as_me:$LINENO: checking for puts in -lwsock32" >&53308 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6 ; }2846 echo "$as_me:$LINENO: checking for puts in -lwsock32" >&5 2847 echo $ECHO_N "checking for puts in -lwsock32... $ECHO_C" >&6 3309 2848 if test "${ac_cv_lib_wsock32_puts+set}" = set; then 3310 2849 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3319 2858 /* end confdefs.h. */ 3320 2859 3321 /* Override any GCC internal prototype to avoid an error. 3322 Use char because int might match the return type of a GCC 3323 builtin and then its argument prototype would still apply. */ 2860 /* Override any gcc2 internal prototype to avoid an error. */ 3324 2861 #ifdef __cplusplus 3325 2862 extern "C" 3326 2863 #endif 2864 /* We use char because int might match the return type of a gcc2 2865 builtin and then its argument prototype would still apply. */ 3327 2866 char puts (); 3328 2867 int 3329 2868 main () 3330 2869 { 3331 returnputs ();2870 puts (); 3332 2871 ; 3333 2872 return 0; … … 3335 2874 _ACEOF 3336 2875 rm -f conftest.$ac_objext conftest$ac_exeext 3337 if { (ac_try="$ac_link" 3338 case "(($ac_try" in 3339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3340 *) ac_try_echo=$ac_try;; 3341 esac 3342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3343 (eval "$ac_link") 2>conftest.er1 2876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2877 (eval $ac_link) 2>conftest.er1 3344 2878 ac_status=$? 3345 2879 grep -v '^ *+' conftest.er1 >conftest.err … … 3347 2881 cat conftest.err >&5 3348 2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3349 (exit $ac_status); } && { 3350 test -z "$ac_c_werror_flag" || 3351 test ! -s conftest.err 3352 } && test -s conftest$ac_exeext && 3353 $as_test_x conftest$ac_exeext; then 2883 (exit $ac_status); } && 2884 { ac_try='test -z "$ac_c_werror_flag" 2885 || test ! -s conftest.err' 2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2887 (eval $ac_try) 2>&5 2888 ac_status=$? 2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2890 (exit $ac_status); }; } && 2891 { ac_try='test -s conftest$ac_exeext' 2892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2893 (eval $ac_try) 2>&5 2894 ac_status=$? 2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2896 (exit $ac_status); }; }; then 3354 2897 ac_cv_lib_wsock32_puts=yes 3355 2898 else … … 3357 2900 sed 's/^/| /' conftest.$ac_ext >&5 3358 2901 3359 ac_cv_lib_wsock32_puts=no 3360 fi 3361 3362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2902 ac_cv_lib_wsock32_puts=no 2903 fi 2904 rm -f conftest.err conftest.$ac_objext \ 3363 2905 conftest$ac_exeext conftest.$ac_ext 3364 2906 LIBS=$ac_check_lib_save_LIBS 3365 2907 fi 3366 {echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&53367 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6 ; }2908 echo "$as_me:$LINENO: result: $ac_cv_lib_wsock32_puts" >&5 2909 echo "${ECHO_T}$ac_cv_lib_wsock32_puts" >&6 3368 2910 if test $ac_cv_lib_wsock32_puts = yes; then 3369 2911 cat >>confdefs.h <<_ACEOF … … 3376 2918 3377 2919 3378 {echo "$as_me:$LINENO: checking for puts in -lws2_32" >&53379 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6 ; }2920 echo "$as_me:$LINENO: checking for puts in -lws2_32" >&5 2921 echo $ECHO_N "checking for puts in -lws2_32... $ECHO_C" >&6 3380 2922 if test "${ac_cv_lib_ws2_32_puts+set}" = set; then 3381 2923 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3390 2932 /* end confdefs.h. */ 3391 2933 3392 /* Override any GCC internal prototype to avoid an error. 3393 Use char because int might match the return type of a GCC 3394 builtin and then its argument prototype would still apply. */ 2934 /* Override any gcc2 internal prototype to avoid an error. */ 3395 2935 #ifdef __cplusplus 3396 2936 extern "C" 3397 2937 #endif 2938 /* We use char because int might match the return type of a gcc2 2939 builtin and then its argument prototype would still apply. */ 3398 2940 char puts (); 3399 2941 int 3400 2942 main () 3401 2943 { 3402 returnputs ();2944 puts (); 3403 2945 ; 3404 2946 return 0; … … 3406 2948 _ACEOF 3407 2949 rm -f conftest.$ac_objext conftest$ac_exeext 3408 if { (ac_try="$ac_link" 3409 case "(($ac_try" in 3410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3411 *) ac_try_echo=$ac_try;; 3412 esac 3413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3414 (eval "$ac_link") 2>conftest.er1 2950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2951 (eval $ac_link) 2>conftest.er1 3415 2952 ac_status=$? 3416 2953 grep -v '^ *+' conftest.er1 >conftest.err … … 3418 2955 cat conftest.err >&5 3419 2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3420 (exit $ac_status); } && { 3421 test -z "$ac_c_werror_flag" || 3422 test ! -s conftest.err 3423 } && test -s conftest$ac_exeext && 3424 $as_test_x conftest$ac_exeext; then 2957 (exit $ac_status); } && 2958 { ac_try='test -z "$ac_c_werror_flag" 2959 || test ! -s conftest.err' 2960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2961 (eval $ac_try) 2>&5 2962 ac_status=$? 2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2964 (exit $ac_status); }; } && 2965 { ac_try='test -s conftest$ac_exeext' 2966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2967 (eval $ac_try) 2>&5 2968 ac_status=$? 2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2970 (exit $ac_status); }; }; then 3425 2971 ac_cv_lib_ws2_32_puts=yes 3426 2972 else … … 3428 2974 sed 's/^/| /' conftest.$ac_ext >&5 3429 2975 3430 ac_cv_lib_ws2_32_puts=no 3431 fi 3432 3433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2976 ac_cv_lib_ws2_32_puts=no 2977 fi 2978 rm -f conftest.err conftest.$ac_objext \ 3434 2979 conftest$ac_exeext conftest.$ac_ext 3435 2980 LIBS=$ac_check_lib_save_LIBS 3436 2981 fi 3437 {echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&53438 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6 ; }2982 echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_puts" >&5 2983 echo "${ECHO_T}$ac_cv_lib_ws2_32_puts" >&6 3439 2984 if test $ac_cv_lib_ws2_32_puts = yes; then 3440 2985 cat >>confdefs.h <<_ACEOF … … 3447 2992 3448 2993 3449 {echo "$as_me:$LINENO: checking for puts in -lole32" >&53450 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6 ; }2994 echo "$as_me:$LINENO: checking for puts in -lole32" >&5 2995 echo $ECHO_N "checking for puts in -lole32... $ECHO_C" >&6 3451 2996 if test "${ac_cv_lib_ole32_puts+set}" = set; then 3452 2997 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3461 3006 /* end confdefs.h. */ 3462 3007 3463 /* Override any GCC internal prototype to avoid an error. 3464 Use char because int might match the return type of a GCC 3465 builtin and then its argument prototype would still apply. */ 3008 /* Override any gcc2 internal prototype to avoid an error. */ 3466 3009 #ifdef __cplusplus 3467 3010 extern "C" 3468 3011 #endif 3012 /* We use char because int might match the return type of a gcc2 3013 builtin and then its argument prototype would still apply. */ 3469 3014 char puts (); 3470 3015 int 3471 3016 main () 3472 3017 { 3473 returnputs ();3018 puts (); 3474 3019 ; 3475 3020 return 0; … … 3477 3022 _ACEOF 3478 3023 rm -f conftest.$ac_objext conftest$ac_exeext 3479 if { (ac_try="$ac_link" 3480 case "(($ac_try" in 3481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3482 *) ac_try_echo=$ac_try;; 3483 esac 3484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3485 (eval "$ac_link") 2>conftest.er1 3024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3025 (eval $ac_link) 2>conftest.er1 3486 3026 ac_status=$? 3487 3027 grep -v '^ *+' conftest.er1 >conftest.err … … 3489 3029 cat conftest.err >&5 3490 3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3491 (exit $ac_status); } && { 3492 test -z "$ac_c_werror_flag" || 3493 test ! -s conftest.err 3494 } && test -s conftest$ac_exeext && 3495 $as_test_x conftest$ac_exeext; then 3031 (exit $ac_status); } && 3032 { ac_try='test -z "$ac_c_werror_flag" 3033 || test ! -s conftest.err' 3034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3035 (eval $ac_try) 2>&5 3036 ac_status=$? 3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3038 (exit $ac_status); }; } && 3039 { ac_try='test -s conftest$ac_exeext' 3040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3041 (eval $ac_try) 2>&5 3042 ac_status=$? 3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3044 (exit $ac_status); }; }; then 3496 3045 ac_cv_lib_ole32_puts=yes 3497 3046 else … … 3499 3048 sed 's/^/| /' conftest.$ac_ext >&5 3500 3049 3501 ac_cv_lib_ole32_puts=no 3502 fi 3503 3504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3050 ac_cv_lib_ole32_puts=no 3051 fi 3052 rm -f conftest.err conftest.$ac_objext \ 3505 3053 conftest$ac_exeext conftest.$ac_ext 3506 3054 LIBS=$ac_check_lib_save_LIBS 3507 3055 fi 3508 {echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&53509 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6 ; }3056 echo "$as_me:$LINENO: result: $ac_cv_lib_ole32_puts" >&5 3057 echo "${ECHO_T}$ac_cv_lib_ole32_puts" >&6 3510 3058 if test $ac_cv_lib_ole32_puts = yes; then 3511 3059 cat >>confdefs.h <<_ACEOF … … 3518 3066 3519 3067 3520 {echo "$as_me:$LINENO: checking for puts in -lwinmm" >&53521 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6 ; }3068 echo "$as_me:$LINENO: checking for puts in -lwinmm" >&5 3069 echo $ECHO_N "checking for puts in -lwinmm... $ECHO_C" >&6 3522 3070 if test "${ac_cv_lib_winmm_puts+set}" = set; then 3523 3071 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3532 3080 /* end confdefs.h. */ 3533 3081 3534 /* Override any GCC internal prototype to avoid an error. 3535 Use char because int might match the return type of a GCC 3536 builtin and then its argument prototype would still apply. */ 3082 /* Override any gcc2 internal prototype to avoid an error. */ 3537 3083 #ifdef __cplusplus 3538 3084 extern "C" 3539 3085 #endif 3086 /* We use char because int might match the return type of a gcc2 3087 builtin and then its argument prototype would still apply. */ 3540 3088 char puts (); 3541 3089 int 3542 3090 main () 3543 3091 { 3544 returnputs ();3092 puts (); 3545 3093 ; 3546 3094 return 0; … … 3548 3096 _ACEOF 3549 3097 rm -f conftest.$ac_objext conftest$ac_exeext 3550 if { (ac_try="$ac_link" 3551 case "(($ac_try" in 3552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3553 *) ac_try_echo=$ac_try;; 3554 esac 3555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3556 (eval "$ac_link") 2>conftest.er1 3098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3099 (eval $ac_link) 2>conftest.er1 3557 3100 ac_status=$? 3558 3101 grep -v '^ *+' conftest.er1 >conftest.err … … 3560 3103 cat conftest.err >&5 3561 3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3562 (exit $ac_status); } && { 3563 test -z "$ac_c_werror_flag" || 3564 test ! -s conftest.err 3565 } && test -s conftest$ac_exeext && 3566 $as_test_x conftest$ac_exeext; then 3105 (exit $ac_status); } && 3106 { ac_try='test -z "$ac_c_werror_flag" 3107 || test ! -s conftest.err' 3108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3109 (eval $ac_try) 2>&5 3110 ac_status=$? 3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3112 (exit $ac_status); }; } && 3113 { ac_try='test -s conftest$ac_exeext' 3114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3115 (eval $ac_try) 2>&5 3116 ac_status=$? 3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3118 (exit $ac_status); }; }; then 3567 3119 ac_cv_lib_winmm_puts=yes 3568 3120 else … … 3570 3122 sed 's/^/| /' conftest.$ac_ext >&5 3571 3123 3572 ac_cv_lib_winmm_puts=no 3573 fi 3574 3575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3124 ac_cv_lib_winmm_puts=no 3125 fi 3126 rm -f conftest.err conftest.$ac_objext \ 3576 3127 conftest$ac_exeext conftest.$ac_ext 3577 3128 LIBS=$ac_check_lib_save_LIBS 3578 3129 fi 3579 {echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&53580 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6 ; }3130 echo "$as_me:$LINENO: result: $ac_cv_lib_winmm_puts" >&5 3131 echo "${ECHO_T}$ac_cv_lib_winmm_puts" >&6 3581 3132 if test $ac_cv_lib_winmm_puts = yes; then 3582 3133 cat >>confdefs.h <<_ACEOF … … 3589 3140 3590 3141 3591 {echo "$as_me:$LINENO: checking for puts in -lsocket" >&53592 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6 ; }3142 echo "$as_me:$LINENO: checking for puts in -lsocket" >&5 3143 echo $ECHO_N "checking for puts in -lsocket... $ECHO_C" >&6 3593 3144 if test "${ac_cv_lib_socket_puts+set}" = set; then 3594 3145 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3603 3154 /* end confdefs.h. */ 3604 3155 3605 /* Override any GCC internal prototype to avoid an error. 3606 Use char because int might match the return type of a GCC 3607 builtin and then its argument prototype would still apply. */ 3156 /* Override any gcc2 internal prototype to avoid an error. */ 3608 3157 #ifdef __cplusplus 3609 3158 extern "C" 3610 3159 #endif 3160 /* We use char because int might match the return type of a gcc2 3161 builtin and then its argument prototype would still apply. */ 3611 3162 char puts (); 3612 3163 int 3613 3164 main () 3614 3165 { 3615 returnputs ();3166 puts (); 3616 3167 ; 3617 3168 return 0; … … 3619 3170 _ACEOF 3620 3171 rm -f conftest.$ac_objext conftest$ac_exeext 3621 if { (ac_try="$ac_link" 3622 case "(($ac_try" in 3623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3624 *) ac_try_echo=$ac_try;; 3625 esac 3626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3627 (eval "$ac_link") 2>conftest.er1 3172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3173 (eval $ac_link) 2>conftest.er1 3628 3174 ac_status=$? 3629 3175 grep -v '^ *+' conftest.er1 >conftest.err … … 3631 3177 cat conftest.err >&5 3632 3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3633 (exit $ac_status); } && { 3634 test -z "$ac_c_werror_flag" || 3635 test ! -s conftest.err 3636 } && test -s conftest$ac_exeext && 3637 $as_test_x conftest$ac_exeext; then 3179 (exit $ac_status); } && 3180 { ac_try='test -z "$ac_c_werror_flag" 3181 || test ! -s conftest.err' 3182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3183 (eval $ac_try) 2>&5 3184 ac_status=$? 3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3186 (exit $ac_status); }; } && 3187 { ac_try='test -s conftest$ac_exeext' 3188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3189 (eval $ac_try) 2>&5 3190 ac_status=$? 3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3192 (exit $ac_status); }; }; then 3638 3193 ac_cv_lib_socket_puts=yes 3639 3194 else … … 3641 3196 sed 's/^/| /' conftest.$ac_ext >&5 3642 3197 3643 ac_cv_lib_socket_puts=no 3644 fi 3645 3646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3198 ac_cv_lib_socket_puts=no 3199 fi 3200 rm -f conftest.err conftest.$ac_objext \ 3647 3201 conftest$ac_exeext conftest.$ac_ext 3648 3202 LIBS=$ac_check_lib_save_LIBS 3649 3203 fi 3650 {echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&53651 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6 ; }3204 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_puts" >&5 3205 echo "${ECHO_T}$ac_cv_lib_socket_puts" >&6 3652 3206 if test $ac_cv_lib_socket_puts = yes; then 3653 3207 cat >>confdefs.h <<_ACEOF … … 3660 3214 3661 3215 3662 {echo "$as_me:$LINENO: checking for puts in -lrt" >&53663 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6 ; }3216 echo "$as_me:$LINENO: checking for puts in -lrt" >&5 3217 echo $ECHO_N "checking for puts in -lrt... $ECHO_C" >&6 3664 3218 if test "${ac_cv_lib_rt_puts+set}" = set; then 3665 3219 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3674 3228 /* end confdefs.h. */ 3675 3229 3676 /* Override any GCC internal prototype to avoid an error. 3677 Use char because int might match the return type of a GCC 3678 builtin and then its argument prototype would still apply. */ 3230 /* Override any gcc2 internal prototype to avoid an error. */ 3679 3231 #ifdef __cplusplus 3680 3232 extern "C" 3681 3233 #endif 3234 /* We use char because int might match the return type of a gcc2 3235 builtin and then its argument prototype would still apply. */ 3682 3236 char puts (); 3683 3237 int 3684 3238 main () 3685 3239 { 3686 returnputs ();3240 puts (); 3687 3241 ; 3688 3242 return 0; … … 3690 3244 _ACEOF 3691 3245 rm -f conftest.$ac_objext conftest$ac_exeext 3692 if { (ac_try="$ac_link" 3693 case "(($ac_try" in 3694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3695 *) ac_try_echo=$ac_try;; 3696 esac 3697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3698 (eval "$ac_link") 2>conftest.er1 3246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3247 (eval $ac_link) 2>conftest.er1 3699 3248 ac_status=$? 3700 3249 grep -v '^ *+' conftest.er1 >conftest.err … … 3702 3251 cat conftest.err >&5 3703 3252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3704 (exit $ac_status); } && { 3705 test -z "$ac_c_werror_flag" || 3706 test ! -s conftest.err 3707 } && test -s conftest$ac_exeext && 3708 $as_test_x conftest$ac_exeext; then 3253 (exit $ac_status); } && 3254 { ac_try='test -z "$ac_c_werror_flag" 3255 || test ! -s conftest.err' 3256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3257 (eval $ac_try) 2>&5 3258 ac_status=$? 3259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3260 (exit $ac_status); }; } && 3261 { ac_try='test -s conftest$ac_exeext' 3262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3263 (eval $ac_try) 2>&5 3264 ac_status=$? 3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3266 (exit $ac_status); }; }; then 3709 3267 ac_cv_lib_rt_puts=yes 3710 3268 else … … 3712 3270 sed 's/^/| /' conftest.$ac_ext >&5 3713 3271 3714 ac_cv_lib_rt_puts=no 3715 fi 3716 3717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3272 ac_cv_lib_rt_puts=no 3273 fi 3274 rm -f conftest.err conftest.$ac_objext \ 3718 3275 conftest$ac_exeext conftest.$ac_ext 3719 3276 LIBS=$ac_check_lib_save_LIBS 3720 3277 fi 3721 {echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&53722 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6 ; }3278 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_puts" >&5 3279 echo "${ECHO_T}$ac_cv_lib_rt_puts" >&6 3723 3280 if test $ac_cv_lib_rt_puts = yes; then 3724 3281 cat >>confdefs.h <<_ACEOF … … 3731 3288 3732 3289 3733 {echo "$as_me:$LINENO: checking for puts in -lnsl" >&53734 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6 ; }3290 echo "$as_me:$LINENO: checking for puts in -lnsl" >&5 3291 echo $ECHO_N "checking for puts in -lnsl... $ECHO_C" >&6 3735 3292 if test "${ac_cv_lib_nsl_puts+set}" = set; then 3736 3293 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3745 3302 /* end confdefs.h. */ 3746 3303 3747 /* Override any GCC internal prototype to avoid an error. 3748 Use char because int might match the return type of a GCC 3749 builtin and then its argument prototype would still apply. */ 3304 /* Override any gcc2 internal prototype to avoid an error. */ 3750 3305 #ifdef __cplusplus 3751 3306 extern "C" 3752 3307 #endif 3308 /* We use char because int might match the return type of a gcc2 3309 builtin and then its argument prototype would still apply. */ 3753 3310 char puts (); 3754 3311 int 3755 3312 main () 3756 3313 { 3757 returnputs ();3314 puts (); 3758 3315 ; 3759 3316 return 0; … … 3761 3318 _ACEOF 3762 3319 rm -f conftest.$ac_objext conftest$ac_exeext 3763 if { (ac_try="$ac_link" 3764 case "(($ac_try" in 3765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3766 *) ac_try_echo=$ac_try;; 3767 esac 3768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3769 (eval "$ac_link") 2>conftest.er1 3320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3321 (eval $ac_link) 2>conftest.er1 3770 3322 ac_status=$? 3771 3323 grep -v '^ *+' conftest.er1 >conftest.err … … 3773 3325 cat conftest.err >&5 3774 3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3775 (exit $ac_status); } && { 3776 test -z "$ac_c_werror_flag" || 3777 test ! -s conftest.err 3778 } && test -s conftest$ac_exeext && 3779 $as_test_x conftest$ac_exeext; then 3327 (exit $ac_status); } && 3328 { ac_try='test -z "$ac_c_werror_flag" 3329 || test ! -s conftest.err' 3330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3331 (eval $ac_try) 2>&5 3332 ac_status=$? 3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3334 (exit $ac_status); }; } && 3335 { ac_try='test -s conftest$ac_exeext' 3336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3337 (eval $ac_try) 2>&5 3338 ac_status=$? 3339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3340 (exit $ac_status); }; }; then 3780 3341 ac_cv_lib_nsl_puts=yes 3781 3342 else … … 3783 3344 sed 's/^/| /' conftest.$ac_ext >&5 3784 3345 3785 ac_cv_lib_nsl_puts=no 3786 fi 3787 3788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3346 ac_cv_lib_nsl_puts=no 3347 fi 3348 rm -f conftest.err conftest.$ac_objext \ 3789 3349 conftest$ac_exeext conftest.$ac_ext 3790 3350 LIBS=$ac_check_lib_save_LIBS 3791 3351 fi 3792 {echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&53793 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6 ; }3352 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_puts" >&5 3353 echo "${ECHO_T}$ac_cv_lib_nsl_puts" >&6 3794 3354 if test $ac_cv_lib_nsl_puts = yes; then 3795 3355 cat >>confdefs.h <<_ACEOF … … 3802 3362 3803 3363 3804 {echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53805 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 ; }3364 echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3365 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 3806 3366 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3807 3367 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3816 3376 /* end confdefs.h. */ 3817 3377 3818 /* Override any GCC internal prototype to avoid an error. 3819 Use char because int might match the return type of a GCC 3820 builtin and then its argument prototype would still apply. */ 3378 /* Override any gcc2 internal prototype to avoid an error. */ 3821 3379 #ifdef __cplusplus 3822 3380 extern "C" 3823 3381 #endif 3382 /* We use char because int might match the return type of a gcc2 3383 builtin and then its argument prototype would still apply. */ 3824 3384 char uuid_generate (); 3825 3385 int 3826 3386 main () 3827 3387 { 3828 returnuuid_generate ();3388 uuid_generate (); 3829 3389 ; 3830 3390 return 0; … … 3832 3392 _ACEOF 3833 3393 rm -f conftest.$ac_objext conftest$ac_exeext 3834 if { (ac_try="$ac_link" 3835 case "(($ac_try" in 3836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3837 *) ac_try_echo=$ac_try;; 3838 esac 3839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3840 (eval "$ac_link") 2>conftest.er1 3394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3395 (eval $ac_link) 2>conftest.er1 3841 3396 ac_status=$? 3842 3397 grep -v '^ *+' conftest.er1 >conftest.err … … 3844 3399 cat conftest.err >&5 3845 3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3846 (exit $ac_status); } && { 3847 test -z "$ac_c_werror_flag" || 3848 test ! -s conftest.err 3849 } && test -s conftest$ac_exeext && 3850 $as_test_x conftest$ac_exeext; then 3401 (exit $ac_status); } && 3402 { ac_try='test -z "$ac_c_werror_flag" 3403 || test ! -s conftest.err' 3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3405 (eval $ac_try) 2>&5 3406 ac_status=$? 3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3408 (exit $ac_status); }; } && 3409 { ac_try='test -s conftest$ac_exeext' 3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3411 (eval $ac_try) 2>&5 3412 ac_status=$? 3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3414 (exit $ac_status); }; }; then 3851 3415 ac_cv_lib_uuid_uuid_generate=yes 3852 3416 else … … 3854 3418 sed 's/^/| /' conftest.$ac_ext >&5 3855 3419 3856 ac_cv_lib_uuid_uuid_generate=no 3857 fi 3858 3859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3420 ac_cv_lib_uuid_uuid_generate=no 3421 fi 3422 rm -f conftest.err conftest.$ac_objext \ 3860 3423 conftest$ac_exeext conftest.$ac_ext 3861 3424 LIBS=$ac_check_lib_save_LIBS 3862 3425 fi 3863 {echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53864 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 ; }3426 echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3427 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 3865 3428 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3866 3429 cat >>confdefs.h <<_ACEOF … … 3872 3435 fi 3873 3436 3874 {echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&53875 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 ; }3437 echo "$as_me:$LINENO: checking for uuid_generate in -luuid" >&5 3438 echo $ECHO_N "checking for uuid_generate in -luuid... $ECHO_C" >&6 3876 3439 if test "${ac_cv_lib_uuid_uuid_generate+set}" = set; then 3877 3440 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3886 3449 /* end confdefs.h. */ 3887 3450 3888 /* Override any GCC internal prototype to avoid an error. 3889 Use char because int might match the return type of a GCC 3890 builtin and then its argument prototype would still apply. */ 3451 /* Override any gcc2 internal prototype to avoid an error. */ 3891 3452 #ifdef __cplusplus 3892 3453 extern "C" 3893 3454 #endif 3455 /* We use char because int might match the return type of a gcc2 3456 builtin and then its argument prototype would still apply. */ 3894 3457 char uuid_generate (); 3895 3458 int 3896 3459 main () 3897 3460 { 3898 returnuuid_generate ();3461 uuid_generate (); 3899 3462 ; 3900 3463 return 0; … … 3902 3465 _ACEOF 3903 3466 rm -f conftest.$ac_objext conftest$ac_exeext 3904 if { (ac_try="$ac_link" 3905 case "(($ac_try" in 3906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3907 *) ac_try_echo=$ac_try;; 3908 esac 3909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3910 (eval "$ac_link") 2>conftest.er1 3467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3468 (eval $ac_link) 2>conftest.er1 3911 3469 ac_status=$? 3912 3470 grep -v '^ *+' conftest.er1 >conftest.err … … 3914 3472 cat conftest.err >&5 3915 3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3916 (exit $ac_status); } && { 3917 test -z "$ac_c_werror_flag" || 3918 test ! -s conftest.err 3919 } && test -s conftest$ac_exeext && 3920 $as_test_x conftest$ac_exeext; then 3474 (exit $ac_status); } && 3475 { ac_try='test -z "$ac_c_werror_flag" 3476 || test ! -s conftest.err' 3477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3478 (eval $ac_try) 2>&5 3479 ac_status=$? 3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3481 (exit $ac_status); }; } && 3482 { ac_try='test -s conftest$ac_exeext' 3483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3484 (eval $ac_try) 2>&5 3485 ac_status=$? 3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3487 (exit $ac_status); }; }; then 3921 3488 ac_cv_lib_uuid_uuid_generate=yes 3922 3489 else … … 3924 3491 sed 's/^/| /' conftest.$ac_ext >&5 3925 3492 3926 ac_cv_lib_uuid_uuid_generate=no 3927 fi 3928 3929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 3493 ac_cv_lib_uuid_uuid_generate=no 3494 fi 3495 rm -f conftest.err conftest.$ac_objext \ 3930 3496 conftest$ac_exeext conftest.$ac_ext 3931 3497 LIBS=$ac_check_lib_save_LIBS 3932 3498 fi 3933 {echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&53934 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 ; }3499 echo "$as_me:$LINENO: result: $ac_cv_lib_uuid_uuid_generate" >&5 3500 echo "${ECHO_T}$ac_cv_lib_uuid_uuid_generate" >&6 3935 3501 if test $ac_cv_lib_uuid_uuid_generate = yes; then 3936 3502 ac_has_uuid_lib=1 … … 3938 3504 3939 3505 3940 {echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&53941 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6 ; }3506 echo "$as_me:$LINENO: result: Setting PJ_M_NAME to $target_cpu" >&5 3507 echo "${ECHO_T}Setting PJ_M_NAME to $target_cpu" >&6 3942 3508 cat >>confdefs.h <<_ACEOF 3943 3509 #define PJ_M_NAME "$target_cpu" … … 3945 3511 3946 3512 3947 {echo "$as_me:$LINENO: checking memory alignment" >&53948 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6 ; }3513 echo "$as_me:$LINENO: checking memory alignment" >&5 3514 echo $ECHO_N "checking memory alignment... $ECHO_C" >&6 3949 3515 case $target in 3950 3516 ia64-* | x86_64-* ) … … 3953 3519 _ACEOF 3954 3520 3955 {echo "$as_me:$LINENO: result: 8 bytes" >&53956 echo "${ECHO_T}8 bytes" >&6 ; }3521 echo "$as_me:$LINENO: result: 8 bytes" >&5 3522 echo "${ECHO_T}8 bytes" >&6 3957 3523 ;; 3958 3524 * ) … … 3961 3527 _ACEOF 3962 3528 3963 {echo "$as_me:$LINENO: result: 4 bytes (default)" >&53964 echo "${ECHO_T}4 bytes (default)" >&6 ; }3529 echo "$as_me:$LINENO: result: 4 bytes (default)" >&5 3530 echo "${ECHO_T}4 bytes (default)" >&6 3965 3531 ;; 3966 3532 esac 3533 3534 3535 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 3536 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 3537 if test "${ac_cv_c_bigendian+set}" = set; then 3538 echo $ECHO_N "(cached) $ECHO_C" >&6 3539 else 3540 # See if sys/param.h defines the BYTE_ORDER macro. 3541 cat >conftest.$ac_ext <<_ACEOF 3542 /* confdefs.h. */ 3543 _ACEOF 3544 cat confdefs.h >>conftest.$ac_ext 3545 cat >>conftest.$ac_ext <<_ACEOF 3546 /* end confdefs.h. */ 3547 #include <sys/types.h> 3548 #include <sys/param.h> 3549 3550 int 3551 main () 3552 { 3553 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 3554 bogus endian macros 3555 #endif 3556 3557 ; 3558 return 0; 3559 } 3560 _ACEOF 3561 rm -f conftest.$ac_objext 3562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3563 (eval $ac_compile) 2>conftest.er1 3564 ac_status=$? 3565 grep -v '^ *+' conftest.er1 >conftest.err 3566 rm -f conftest.er1 3567 cat conftest.err >&5 3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3569 (exit $ac_status); } && 3570 { ac_try='test -z "$ac_c_werror_flag" 3571 || test ! -s conftest.err' 3572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3573 (eval $ac_try) 2>&5 3574 ac_status=$? 3575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3576 (exit $ac_status); }; } && 3577 { ac_try='test -s conftest.$ac_objext' 3578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3579 (eval $ac_try) 2>&5 3580 ac_status=$? 3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3582 (exit $ac_status); }; }; then 3583 # It does; now see whether it defined to BIG_ENDIAN or not. 3584 cat >conftest.$ac_ext <<_ACEOF 3585 /* confdefs.h. */ 3586 _ACEOF 3587 cat confdefs.h >>conftest.$ac_ext 3588 cat >>conftest.$ac_ext <<_ACEOF 3589 /* end confdefs.h. */ 3590 #include <sys/types.h> 3591 #include <sys/param.h> 3592 3593 int 3594 main () 3595 { 3596 #if BYTE_ORDER != BIG_ENDIAN 3597 not big endian 3598 #endif 3599 3600 ; 3601 return 0; 3602 } 3603 _ACEOF 3604 rm -f conftest.$ac_objext 3605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3606 (eval $ac_compile) 2>conftest.er1 3607 ac_status=$? 3608 grep -v '^ *+' conftest.er1 >conftest.err 3609 rm -f conftest.er1 3610 cat conftest.err >&5 3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3612 (exit $ac_status); } && 3613 { ac_try='test -z "$ac_c_werror_flag" 3614 || test ! -s conftest.err' 3615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3616 (eval $ac_try) 2>&5 3617 ac_status=$? 3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3619 (exit $ac_status); }; } && 3620 { ac_try='test -s conftest.$ac_objext' 3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3622 (eval $ac_try) 2>&5 3623 ac_status=$? 3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3625 (exit $ac_status); }; }; then 3626 ac_cv_c_bigendian=yes 3627 else 3628 echo "$as_me: failed program was:" >&5 3629 sed 's/^/| /' conftest.$ac_ext >&5 3630 3631 ac_cv_c_bigendian=no 3632 fi 3633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3634 else 3635 echo "$as_me: failed program was:" >&5 3636 sed 's/^/| /' conftest.$ac_ext >&5 3637 3638 # It does not; compile a test program. 3639 if test "$cross_compiling" = yes; then 3640 # try to guess the endianness by grepping values into an object file 3641 ac_cv_c_bigendian=unknown 3642 cat >conftest.$ac_ext <<_ACEOF 3643 /* confdefs.h. */ 3644 _ACEOF 3645 cat confdefs.h >>conftest.$ac_ext 3646 cat >>conftest.$ac_ext <<_ACEOF 3647 /* end confdefs.h. */ 3648 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 3649 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 3650 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 3651 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 3652 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 3653 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 3654 int 3655 main () 3656 { 3657 _ascii (); _ebcdic (); 3658 ; 3659 return 0; 3660 } 3661 _ACEOF 3662 rm -f conftest.$ac_objext 3663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3664 (eval $ac_compile) 2>conftest.er1 3665 ac_status=$? 3666 grep -v '^ *+' conftest.er1 >conftest.err 3667 rm -f conftest.er1 3668 cat conftest.err >&5 3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3670 (exit $ac_status); } && 3671 { ac_try='test -z "$ac_c_werror_flag" 3672 || test ! -s conftest.err' 3673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3674 (eval $ac_try) 2>&5 3675 ac_status=$? 3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3677 (exit $ac_status); }; } && 3678 { ac_try='test -s conftest.$ac_objext' 3679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3680 (eval $ac_try) 2>&5 3681 ac_status=$? 3682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3683 (exit $ac_status); }; }; then 3684 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 3685 ac_cv_c_bigendian=yes 3686 fi 3687 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 3688 if test "$ac_cv_c_bigendian" = unknown; then 3689 ac_cv_c_bigendian=no 3690 else 3691 # finding both strings is unlikely to happen, but who knows? 3692 ac_cv_c_bigendian=unknown 3693 fi 3694 fi 3695 else 3696 echo "$as_me: failed program was:" >&5 3697 sed 's/^/| /' conftest.$ac_ext >&5 3698 3699 fi 3700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3701 else 3702 cat >conftest.$ac_ext <<_ACEOF 3703 /* confdefs.h. */ 3704 _ACEOF 3705 cat confdefs.h >>conftest.$ac_ext 3706 cat >>conftest.$ac_ext <<_ACEOF 3707 /* end confdefs.h. */ 3708 int 3709 main () 3710 { 3711 /* Are we little or big endian? From Harbison&Steele. */ 3712 union 3713 { 3714 long l; 3715 char c[sizeof (long)]; 3716 } u; 3717 u.l = 1; 3718 exit (u.c[sizeof (long) - 1] == 1); 3719 } 3720 _ACEOF 3721 rm -f conftest$ac_exeext 3722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3723 (eval $ac_link) 2>&5 3724 ac_status=$? 3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3726 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3728 (eval $ac_try) 2>&5 3729 ac_status=$? 3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3731 (exit $ac_status); }; }; then 3732 ac_cv_c_bigendian=no 3733 else 3734 echo "$as_me: program exited with status $ac_status" >&5 3735 echo "$as_me: failed program was:" >&5 3736 sed 's/^/| /' conftest.$ac_ext >&5 3737 3738 ( exit $ac_status ) 3739 ac_cv_c_bigendian=yes 3740 fi 3741 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3742 fi 3743 fi 3744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3745 fi 3746 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 3747 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 3748 case $ac_cv_c_bigendian in 3749 yes) 3750 3751 cat >>confdefs.h <<\_ACEOF 3752 #define WORDS_BIGENDIAN 1 3753 _ACEOF 3754 ;; 3755 no) 3756 ;; 3757 *) 3758 { { echo "$as_me:$LINENO: error: unknown endianness 3759 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 3760 echo "$as_me: error: unknown endianness 3761 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 3762 { (exit 1); exit 1; }; } ;; 3763 esac 3764 3765 3766 case $target in 3767 *mingw* | *cygw* | *win32* | *w32* ) 3768 cat >>confdefs.h <<\_ACEOF 3769 #define PJ_WIN32 1 3770 _ACEOF 3771 3772 cat >>confdefs.h <<\_ACEOF 3773 #define PJ_WIN32_WINNT 0x0400 3774 _ACEOF 3775 3776 cat >>confdefs.h <<\_ACEOF 3777 #define WIN32_LEAN_AND_MEAN 1 3778 _ACEOF 3779 3780 ;; 3781 *darwin*) 3782 cat >>confdefs.h <<\_ACEOF 3783 #define PJ_DARWINOS 1 3784 _ACEOF 3785 3786 ;; 3787 *linux*) 3788 cat >>confdefs.h <<\_ACEOF 3789 #define PJ_LINUX 1 3790 _ACEOF 3791 3792 ;; 3793 *rtems*) 3794 cat >>confdefs.h <<\_ACEOF 3795 #define PJ_RTEMS 1 3796 _ACEOF 3797 3798 ;; 3799 *sunos* | *solaris* ) 3800 cat >>confdefs.h <<\_ACEOF 3801 #define PJ_SUNOS 1 3802 _ACEOF 3803 3804 ;; 3805 *) 3806 ;; 3807 esac 3808 3809 3810 3811 3812 # Check whether --enable-floating-point or --disable-floating-point was given. 3813 if test "${enable_floating_point+set}" = set; then 3814 enableval="$enable_floating_point" 3815 if test "$enable_floating_point" = "no"; then 3816 cat >>confdefs.h <<\_ACEOF 3817 #define PJ_HAS_FLOATING_POINT 0 3818 _ACEOF 3819 3820 echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&5 3821 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6 3822 fi 3823 else 3824 3825 cat >>confdefs.h <<\_ACEOF 3826 #define PJ_HAS_FLOATING_POINT 1 3827 _ACEOF 3828 3829 echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&5 3830 echo "${ECHO_T}Checking if floating point is disabled... no" >&6 3831 3832 echo "$as_me:$LINENO: checking for fmod in -lm" >&5 3833 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6 3834 if test "${ac_cv_lib_m_fmod+set}" = set; then 3835 echo $ECHO_N "(cached) $ECHO_C" >&6 3836 else 3837 ac_check_lib_save_LIBS=$LIBS 3838 LIBS="-lm $LIBS" 3839 cat >conftest.$ac_ext <<_ACEOF 3840 /* confdefs.h. */ 3841 _ACEOF 3842 cat confdefs.h >>conftest.$ac_ext 3843 cat >>conftest.$ac_ext <<_ACEOF 3844 /* end confdefs.h. */ 3845 3846 /* Override any gcc2 internal prototype to avoid an error. */ 3847 #ifdef __cplusplus 3848 extern "C" 3849 #endif 3850 /* We use char because int might match the return type of a gcc2 3851 builtin and then its argument prototype would still apply. */ 3852 char fmod (); 3853 int 3854 main () 3855 { 3856 fmod (); 3857 ; 3858 return 0; 3859 } 3860 _ACEOF 3861 rm -f conftest.$ac_objext conftest$ac_exeext 3862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3863 (eval $ac_link) 2>conftest.er1 3864 ac_status=$? 3865 grep -v '^ *+' conftest.er1 >conftest.err 3866 rm -f conftest.er1 3867 cat conftest.err >&5 3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3869 (exit $ac_status); } && 3870 { ac_try='test -z "$ac_c_werror_flag" 3871 || test ! -s conftest.err' 3872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3873 (eval $ac_try) 2>&5 3874 ac_status=$? 3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3876 (exit $ac_status); }; } && 3877 { ac_try='test -s conftest$ac_exeext' 3878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3879 (eval $ac_try) 2>&5 3880 ac_status=$? 3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3882 (exit $ac_status); }; }; then 3883 ac_cv_lib_m_fmod=yes 3884 else 3885 echo "$as_me: failed program was:" >&5 3886 sed 's/^/| /' conftest.$ac_ext >&5 3887 3888 ac_cv_lib_m_fmod=no 3889 fi 3890 rm -f conftest.err conftest.$ac_objext \ 3891 conftest$ac_exeext conftest.$ac_ext 3892 LIBS=$ac_check_lib_save_LIBS 3893 fi 3894 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5 3895 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6 3896 if test $ac_cv_lib_m_fmod = yes; then 3897 cat >>confdefs.h <<_ACEOF 3898 #define HAVE_LIBM 1 3899 _ACEOF 3900 3901 LIBS="-lm $LIBS" 3902 3903 fi 3904 3905 3906 fi; 3967 3907 3968 3908 … … 3972 3912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3973 3913 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3974 {echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53975 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 ; }3914 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3915 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3976 3916 # On Suns, sometimes $CPP names a directory. 3977 3917 if test -n "$CPP" && test -d "$CPP"; then … … 4007 3947 Syntax error 4008 3948 _ACEOF 4009 if { (ac_try="$ac_cpp conftest.$ac_ext" 4010 case "(($ac_try" in 4011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4012 *) ac_try_echo=$ac_try;; 4013 esac 4014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3950 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4016 3951 ac_status=$? 4017 3952 grep -v '^ *+' conftest.er1 >conftest.err … … 4019 3954 cat conftest.err >&5 4020 3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4021 (exit $ac_status); } >/dev/null && { 4022 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4023 test ! -s conftest.err 4024 }; then 3956 (exit $ac_status); } >/dev/null; then 3957 if test -s conftest.err; then 3958 ac_cpp_err=$ac_c_preproc_warn_flag 3959 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3960 else 3961 ac_cpp_err= 3962 fi 3963 else 3964 ac_cpp_err=yes 3965 fi 3966 if test -z "$ac_cpp_err"; then 4025 3967 : 4026 3968 else … … 4031 3973 continue 4032 3974 fi 4033 4034 3975 rm -f conftest.err conftest.$ac_ext 4035 3976 4036 # OK, works on sane cases. Now check whether non existent headers3977 # OK, works on sane cases. Now check whether non-existent headers 4037 3978 # can be detected and how. 4038 3979 cat >conftest.$ac_ext <<_ACEOF … … 4044 3985 #include <ac_nonexistent.h> 4045 3986 _ACEOF 4046 if { (ac_try="$ac_cpp conftest.$ac_ext" 4047 case "(($ac_try" in 4048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4049 *) ac_try_echo=$ac_try;; 4050 esac 4051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4052 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3988 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4053 3989 ac_status=$? 4054 3990 grep -v '^ *+' conftest.er1 >conftest.err … … 4056 3992 cat conftest.err >&5 4057 3993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4058 (exit $ac_status); } >/dev/null && { 4059 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4060 test ! -s conftest.err 4061 }; then 3994 (exit $ac_status); } >/dev/null; then 3995 if test -s conftest.err; then 3996 ac_cpp_err=$ac_c_preproc_warn_flag 3997 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3998 else 3999 ac_cpp_err= 4000 fi 4001 else 4002 ac_cpp_err=yes 4003 fi 4004 if test -z "$ac_cpp_err"; then 4062 4005 # Broken: success on invalid input. 4063 4006 continue … … 4070 4013 break 4071 4014 fi 4072 4073 4015 rm -f conftest.err conftest.$ac_ext 4074 4016 … … 4088 4030 ac_cv_prog_CPP=$CPP 4089 4031 fi 4090 {echo "$as_me:$LINENO: result: $CPP" >&54091 echo "${ECHO_T}$CPP" >&6 ; }4032 echo "$as_me:$LINENO: result: $CPP" >&5 4033 echo "${ECHO_T}$CPP" >&6 4092 4034 ac_preproc_ok=false 4093 4035 for ac_c_preproc_warn_flag in '' yes … … 4112 4054 Syntax error 4113 4055 _ACEOF 4114 if { (ac_try="$ac_cpp conftest.$ac_ext" 4115 case "(($ac_try" in 4116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4117 *) ac_try_echo=$ac_try;; 4118 esac 4119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4120 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4057 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4121 4058 ac_status=$? 4122 4059 grep -v '^ *+' conftest.er1 >conftest.err … … 4124 4061 cat conftest.err >&5 4125 4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4126 (exit $ac_status); } >/dev/null && { 4127 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4128 test ! -s conftest.err 4129 }; then 4063 (exit $ac_status); } >/dev/null; then 4064 if test -s conftest.err; then 4065 ac_cpp_err=$ac_c_preproc_warn_flag 4066 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4067 else 4068 ac_cpp_err= 4069 fi 4070 else 4071 ac_cpp_err=yes 4072 fi 4073 if test -z "$ac_cpp_err"; then 4130 4074 : 4131 4075 else … … 4136 4080 continue 4137 4081 fi 4138 4139 4082 rm -f conftest.err conftest.$ac_ext 4140 4083 4141 # OK, works on sane cases. Now check whether non existent headers4084 # OK, works on sane cases. Now check whether non-existent headers 4142 4085 # can be detected and how. 4143 4086 cat >conftest.$ac_ext <<_ACEOF … … 4149 4092 #include <ac_nonexistent.h> 4150 4093 _ACEOF 4151 if { (ac_try="$ac_cpp conftest.$ac_ext" 4152 case "(($ac_try" in 4153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4154 *) ac_try_echo=$ac_try;; 4155 esac 4156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4157 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4158 4096 ac_status=$? 4159 4097 grep -v '^ *+' conftest.er1 >conftest.err … … 4161 4099 cat conftest.err >&5 4162 4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4163 (exit $ac_status); } >/dev/null && { 4164 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4165 test ! -s conftest.err 4166 }; then 4101 (exit $ac_status); } >/dev/null; then 4102 if test -s conftest.err; then 4103 ac_cpp_err=$ac_c_preproc_warn_flag 4104 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4105 else 4106 ac_cpp_err= 4107 fi 4108 else 4109 ac_cpp_err=yes 4110 fi 4111 if test -z "$ac_cpp_err"; then 4167 4112 # Broken: success on invalid input. 4168 4113 continue … … 4175 4120 break 4176 4121 fi 4177 4178 4122 rm -f conftest.err conftest.$ac_ext 4179 4123 … … 4198 4142 4199 4143 4200 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&54201 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }4202 if test "${ac_cv_p ath_GREP+set}" = set; then4144 echo "$as_me:$LINENO: checking for egrep" >&5 4145 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 4146 if test "${ac_cv_prog_egrep+set}" = set; then 4203 4147 echo $ECHO_N "(cached) $ECHO_C" >&6 4204 4148 else 4205 # Extract the first word of "grep ggrep" to use in msg output 4206 if test -z "$GREP"; then 4207 set dummy grep ggrep; ac_prog_name=$2 4208 if test "${ac_cv_path_GREP+set}" = set; then 4209 echo $ECHO_N "(cached) $ECHO_C" >&6 4210 else 4211 ac_path_GREP_found=false 4212 # Loop through the user's path and test for each of PROGNAME-LIST 4213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4214 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4215 do 4216 IFS=$as_save_IFS 4217 test -z "$as_dir" && as_dir=. 4218 for ac_prog in grep ggrep; do 4219 for ac_exec_ext in '' $ac_executable_extensions; do 4220 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4221 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4222 # Check for GNU ac_path_GREP and select it if it is found. 4223 # Check for GNU $ac_path_GREP 4224 case `"$ac_path_GREP" --version 2>&1` in 4225 *GNU*) 4226 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4227 *) 4228 ac_count=0 4229 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4230 while : 4231 do 4232 cat "conftest.in" "conftest.in" >"conftest.tmp" 4233 mv "conftest.tmp" "conftest.in" 4234 cp "conftest.in" "conftest.nl" 4235 echo 'GREP' >> "conftest.nl" 4236 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4237 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4238 ac_count=`expr $ac_count + 1` 4239 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4240 # Best one so far, save it but keep looking for a better one 4241 ac_cv_path_GREP="$ac_path_GREP" 4242 ac_path_GREP_max=$ac_count 4149 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 4150 then ac_cv_prog_egrep='grep -E' 4151 else ac_cv_prog_egrep='egrep' 4243 4152 fi 4244 # 10*(2^10) chars as input seems more than enough 4245 test $ac_count -gt 10 && break 4246 done 4247 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4248 esac 4249 4250 4251 $ac_path_GREP_found && break 3 4252 done 4253 done 4254 4255 done 4256 IFS=$as_save_IFS 4257 4258 4259 fi 4260 4261 GREP="$ac_cv_path_GREP" 4262 if test -z "$GREP"; then 4263 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4264 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4265 { (exit 1); exit 1; }; } 4266 fi 4267 4268 else 4269 ac_cv_path_GREP=$GREP 4270 fi 4271 4272 4273 fi 4274 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4275 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4276 GREP="$ac_cv_path_GREP" 4277 4278 4279 { echo "$as_me:$LINENO: checking for egrep" >&5 4280 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4281 if test "${ac_cv_path_EGREP+set}" = set; then 4282 echo $ECHO_N "(cached) $ECHO_C" >&6 4283 else 4284 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4285 then ac_cv_path_EGREP="$GREP -E" 4286 else 4287 # Extract the first word of "egrep" to use in msg output 4288 if test -z "$EGREP"; then 4289 set dummy egrep; ac_prog_name=$2 4290 if test "${ac_cv_path_EGREP+set}" = set; then 4291 echo $ECHO_N "(cached) $ECHO_C" >&6 4292 else 4293 ac_path_EGREP_found=false 4294 # Loop through the user's path and test for each of PROGNAME-LIST 4295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4296 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4297 do 4298 IFS=$as_save_IFS 4299 test -z "$as_dir" && as_dir=. 4300 for ac_prog in egrep; do 4301 for ac_exec_ext in '' $ac_executable_extensions; do 4302 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4303 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4304 # Check for GNU ac_path_EGREP and select it if it is found. 4305 # Check for GNU $ac_path_EGREP 4306 case `"$ac_path_EGREP" --version 2>&1` in 4307 *GNU*) 4308 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4309 *) 4310 ac_count=0 4311 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4312 while : 4313 do 4314 cat "conftest.in" "conftest.in" >"conftest.tmp" 4315 mv "conftest.tmp" "conftest.in" 4316 cp "conftest.in" "conftest.nl" 4317 echo 'EGREP' >> "conftest.nl" 4318 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4319 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4320 ac_count=`expr $ac_count + 1` 4321 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4322 # Best one so far, save it but keep looking for a better one 4323 ac_cv_path_EGREP="$ac_path_EGREP" 4324 ac_path_EGREP_max=$ac_count 4325 fi 4326 # 10*(2^10) chars as input seems more than enough 4327 test $ac_count -gt 10 && break 4328 done 4329 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4330 esac 4331 4332 4333 $ac_path_EGREP_found && break 3 4334 done 4335 done 4336 4337 done 4338 IFS=$as_save_IFS 4339 4340 4341 fi 4342 4343 EGREP="$ac_cv_path_EGREP" 4344 if test -z "$EGREP"; then 4345 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4346 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4347 { (exit 1); exit 1; }; } 4348 fi 4349 4350 else 4351 ac_cv_path_EGREP=$EGREP 4352 fi 4353 4354 4355 fi 4356 fi 4357 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4358 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4359 EGREP="$ac_cv_path_EGREP" 4360 4361 4362 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4363 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 4153 fi 4154 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 4155 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 4156 EGREP=$ac_cv_prog_egrep 4157 4158 4159 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4160 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4364 4161 if test "${ac_cv_header_stdc+set}" = set; then 4365 4162 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4385 4182 _ACEOF 4386 4183 rm -f conftest.$ac_objext 4387 if { (ac_try="$ac_compile" 4388 case "(($ac_try" in 4389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4390 *) ac_try_echo=$ac_try;; 4391 esac 4392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4393 (eval "$ac_compile") 2>conftest.er1 4184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4185 (eval $ac_compile) 2>conftest.er1 4394 4186 ac_status=$? 4395 4187 grep -v '^ *+' conftest.er1 >conftest.err … … 4397 4189 cat conftest.err >&5 4398 4190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4399 (exit $ac_status); } && { 4400 test -z "$ac_c_werror_flag" || 4401 test ! -s conftest.err 4402 } && test -s conftest.$ac_objext; then 4191 (exit $ac_status); } && 4192 { ac_try='test -z "$ac_c_werror_flag" 4193 || test ! -s conftest.err' 4194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4195 (eval $ac_try) 2>&5 4196 ac_status=$? 4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4198 (exit $ac_status); }; } && 4199 { ac_try='test -s conftest.$ac_objext' 4200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4201 (eval $ac_try) 2>&5 4202 ac_status=$? 4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4204 (exit $ac_status); }; }; then 4403 4205 ac_cv_header_stdc=yes 4404 4206 else … … 4406 4208 sed 's/^/| /' conftest.$ac_ext >&5 4407 4209 4408 ac_cv_header_stdc=no 4409 fi 4410 4411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4210 ac_cv_header_stdc=no 4211 fi 4212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4412 4213 4413 4214 if test $ac_cv_header_stdc = yes; then … … 4465 4266 /* end confdefs.h. */ 4466 4267 #include <ctype.h> 4467 #include <stdlib.h>4468 4268 #if ((' ' & 0x0FF) == 0x020) 4469 4269 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4485 4285 if (XOR (islower (i), ISLOWER (i)) 4486 4286 || toupper (i) != TOUPPER (i)) 4487 return 2;4488 return 0;4287 exit(2); 4288 exit (0); 4489 4289 } 4490 4290 _ACEOF 4491 4291 rm -f conftest$ac_exeext 4492 if { (ac_try="$ac_link" 4493 case "(($ac_try" in 4494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4495 *) ac_try_echo=$ac_try;; 4496 esac 4497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4498 (eval "$ac_link") 2>&5 4292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4293 (eval $ac_link) 2>&5 4499 4294 ac_status=$? 4500 4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4501 4296 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4502 { (case "(($ac_try" in 4503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4504 *) ac_try_echo=$ac_try;; 4505 esac 4506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4507 (eval "$ac_try") 2>&5 4297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4298 (eval $ac_try) 2>&5 4508 4299 ac_status=$? 4509 4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4518 4309 ac_cv_header_stdc=no 4519 4310 fi 4520 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4521 fi 4522 4523 4524 fi 4525 fi 4526 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4527 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 4311 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4312 fi 4313 fi 4314 fi 4315 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4316 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4528 4317 if test $ac_cv_header_stdc = yes; then 4529 4318 … … 4548 4337 do 4549 4338 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4550 {echo "$as_me:$LINENO: checking for $ac_header" >&54551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ; }4552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then4339 echo "$as_me:$LINENO: checking for $ac_header" >&5 4340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4341 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4553 4342 echo $ECHO_N "(cached) $ECHO_C" >&6 4554 4343 else … … 4564 4353 _ACEOF 4565 4354 rm -f conftest.$ac_objext 4566 if { (ac_try="$ac_compile" 4567 case "(($ac_try" in 4568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4569 *) ac_try_echo=$ac_try;; 4570 esac 4571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4572 (eval "$ac_compile") 2>conftest.er1 4355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4356 (eval $ac_compile) 2>conftest.er1 4573 4357 ac_status=$? 4574 4358 grep -v '^ *+' conftest.er1 >conftest.err … … 4576 4360 cat conftest.err >&5 4577 4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4578 (exit $ac_status); } && { 4579 test -z "$ac_c_werror_flag" || 4580 test ! -s conftest.err 4581 } && test -s conftest.$ac_objext; then 4362 (exit $ac_status); } && 4363 { ac_try='test -z "$ac_c_werror_flag" 4364 || test ! -s conftest.err' 4365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4366 (eval $ac_try) 2>&5 4367 ac_status=$? 4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4369 (exit $ac_status); }; } && 4370 { ac_try='test -s conftest.$ac_objext' 4371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4372 (eval $ac_try) 2>&5 4373 ac_status=$? 4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4375 (exit $ac_status); }; }; then 4582 4376 eval "$as_ac_Header=yes" 4583 4377 else … … 4585 4379 sed 's/^/| /' conftest.$ac_ext >&5 4586 4380 4587 eval "$as_ac_Header=no" 4588 fi 4589 4590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4591 fi 4592 ac_res=`eval echo '${'$as_ac_Header'}'` 4593 { echo "$as_me:$LINENO: result: $ac_res" >&5 4594 echo "${ECHO_T}$ac_res" >&6; } 4381 eval "$as_ac_Header=no" 4382 fi 4383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4384 fi 4385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4595 4387 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4596 4388 cat >>confdefs.h <<_ACEOF … … 4603 4395 4604 4396 4605 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&54606 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }4607 if test "${ac_cv_c_bigendian+set}" = set; then4608 echo $ECHO_N "(cached) $ECHO_C" >&64609 else4610 # See if sys/param.h defines the BYTE_ORDER macro.4611 cat >conftest.$ac_ext <<_ACEOF4612 /* confdefs.h. */4613 _ACEOF4614 cat confdefs.h >>conftest.$ac_ext4615 cat >>conftest.$ac_ext <<_ACEOF4616 /* end confdefs.h. */4617 #include <sys/types.h>4618 #include <sys/param.h>4619 4620 int4621 main ()4622 {4623 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \4624 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)4625 bogus endian macros4626 #endif4627 4628 ;4629 return 0;4630 }4631 _ACEOF4632 rm -f conftest.$ac_objext4633 if { (ac_try="$ac_compile"4634 case "(($ac_try" in4635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4636 *) ac_try_echo=$ac_try;;4637 esac4638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54639 (eval "$ac_compile") 2>conftest.er14640 ac_status=$?4641 grep -v '^ *+' conftest.er1 >conftest.err4642 rm -f conftest.er14643 cat conftest.err >&54644 echo "$as_me:$LINENO: \$? = $ac_status" >&54645 (exit $ac_status); } && {4646 test -z "$ac_c_werror_flag" ||4647 test ! -s conftest.err4648 } && test -s conftest.$ac_objext; then4649 # It does; now see whether it defined to BIG_ENDIAN or not.4650 cat >conftest.$ac_ext <<_ACEOF4651 /* confdefs.h. */4652 _ACEOF4653 cat confdefs.h >>conftest.$ac_ext4654 cat >>conftest.$ac_ext <<_ACEOF4655 /* end confdefs.h. */4656 #include <sys/types.h>4657 #include <sys/param.h>4658 4659 int4660 main ()4661 {4662 #if BYTE_ORDER != BIG_ENDIAN4663 not big endian4664 #endif4665 4666 ;4667 return 0;4668 }4669 _ACEOF4670 rm -f conftest.$ac_objext4671 if { (ac_try="$ac_compile"4672 case "(($ac_try" in4673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4674 *) ac_try_echo=$ac_try;;4675 esac4676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54677 (eval "$ac_compile") 2>conftest.er14678 ac_status=$?4679 grep -v '^ *+' conftest.er1 >conftest.err4680 rm -f conftest.er14681 cat conftest.err >&54682 echo "$as_me:$LINENO: \$? = $ac_status" >&54683 (exit $ac_status); } && {4684 test -z "$ac_c_werror_flag" ||4685 test ! -s conftest.err4686 } && test -s conftest.$ac_objext; then4687 ac_cv_c_bigendian=yes4688 else4689 echo "$as_me: failed program was:" >&54690 sed 's/^/| /' conftest.$ac_ext >&54691 4692 ac_cv_c_bigendian=no4693 fi4694 4695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4696 else4697 echo "$as_me: failed program was:" >&54698 sed 's/^/| /' conftest.$ac_ext >&54699 4700 # It does not; compile a test program.4701 if test "$cross_compiling" = yes; then4702 # try to guess the endianness by grepping values into an object file4703 ac_cv_c_bigendian=unknown4704 cat >conftest.$ac_ext <<_ACEOF4705 /* confdefs.h. */4706 _ACEOF4707 cat confdefs.h >>conftest.$ac_ext4708 cat >>conftest.$ac_ext <<_ACEOF4709 /* end confdefs.h. */4710 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };4711 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };4712 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }4713 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };4714 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };4715 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }4716 int4717 main ()4718 {4719 _ascii (); _ebcdic ();4720 ;4721 return 0;4722 }4723 _ACEOF4724 rm -f conftest.$ac_objext4725 if { (ac_try="$ac_compile"4726 case "(($ac_try" in4727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4728 *) ac_try_echo=$ac_try;;4729 esac4730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54731 (eval "$ac_compile") 2>conftest.er14732 ac_status=$?4733 grep -v '^ *+' conftest.er1 >conftest.err4734 rm -f conftest.er14735 cat conftest.err >&54736 echo "$as_me:$LINENO: \$? = $ac_status" >&54737 (exit $ac_status); } && {4738 test -z "$ac_c_werror_flag" ||4739 test ! -s conftest.err4740 } && test -s conftest.$ac_objext; then4741 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then4742 ac_cv_c_bigendian=yes4743 fi4744 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then4745 if test "$ac_cv_c_bigendian" = unknown; then4746 ac_cv_c_bigendian=no4747 else4748 # finding both strings is unlikely to happen, but who knows?4749 ac_cv_c_bigendian=unknown4750 fi4751 fi4752 else4753 echo "$as_me: failed program was:" >&54754 sed 's/^/| /' conftest.$ac_ext >&54755 4756 4757 fi4758 4759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4760 else4761 cat >conftest.$ac_ext <<_ACEOF4762 /* confdefs.h. */4763 _ACEOF4764 cat confdefs.h >>conftest.$ac_ext4765 cat >>conftest.$ac_ext <<_ACEOF4766 /* end confdefs.h. */4767 $ac_includes_default4768 int4769 main ()4770 {4771 4772 /* Are we little or big endian? From Harbison&Steele. */4773 union4774 {4775 long int l;4776 char c[sizeof (long int)];4777 } u;4778 u.l = 1;4779 return u.c[sizeof (long int) - 1] == 1;4780 4781 ;4782 return 0;4783 }4784 _ACEOF4785 rm -f conftest$ac_exeext4786 if { (ac_try="$ac_link"4787 case "(($ac_try" in4788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4789 *) ac_try_echo=$ac_try;;4790 esac4791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54792 (eval "$ac_link") 2>&54793 ac_status=$?4794 echo "$as_me:$LINENO: \$? = $ac_status" >&54795 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'4796 { (case "(($ac_try" in4797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4798 *) ac_try_echo=$ac_try;;4799 esac4800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54801 (eval "$ac_try") 2>&54802 ac_status=$?4803 echo "$as_me:$LINENO: \$? = $ac_status" >&54804 (exit $ac_status); }; }; then4805 ac_cv_c_bigendian=no4806 else4807 echo "$as_me: program exited with status $ac_status" >&54808 echo "$as_me: failed program was:" >&54809 sed 's/^/| /' conftest.$ac_ext >&54810 4811 ( exit $ac_status )4812 ac_cv_c_bigendian=yes4813 fi4814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext4815 fi4816 4817 4818 fi4819 4820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4821 fi4822 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&54823 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }4824 case $ac_cv_c_bigendian in4825 yes)4826 4827 cat >>confdefs.h <<\_ACEOF4828 #define WORDS_BIGENDIAN 14829 _ACEOF4830 ;;4831 no)4832 ;;4833 *)4834 { { echo "$as_me:$LINENO: error: unknown endianness4835 presetting ac_cv_c_bigendian=no (or yes) will help" >&54836 echo "$as_me: error: unknown endianness4837 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}4838 { (exit 1); exit 1; }; } ;;4839 esac4840 4841 4842 case $target in4843 *mingw* | *cygw* | *win32* | *w32* )4844 cat >>confdefs.h <<\_ACEOF4845 #define PJ_WIN32 14846 _ACEOF4847 4848 cat >>confdefs.h <<\_ACEOF4849 #define PJ_WIN32_WINNT 0x04004850 _ACEOF4851 4852 cat >>confdefs.h <<\_ACEOF4853 #define WIN32_LEAN_AND_MEAN 14854 _ACEOF4855 4856 ;;4857 *darwin*)4858 cat >>confdefs.h <<\_ACEOF4859 #define PJ_DARWINOS 14860 _ACEOF4861 4862 ;;4863 *linux*)4864 cat >>confdefs.h <<\_ACEOF4865 #define PJ_LINUX 14866 _ACEOF4867 4868 ;;4869 *rtems*)4870 cat >>confdefs.h <<\_ACEOF4871 #define PJ_RTEMS 14872 _ACEOF4873 4874 ;;4875 *sunos* | *solaris* )4876 cat >>confdefs.h <<\_ACEOF4877 #define PJ_SUNOS 14878 _ACEOF4879 4880 ;;4881 *)4882 ;;4883 esac4884 4885 4886 4887 4888 # Check whether --enable-floating-point was given.4889 if test "${enable_floating_point+set}" = set; then4890 enableval=$enable_floating_point; if test "$enable_floating_point" = "no"; then4891 cat >>confdefs.h <<\_ACEOF4892 #define PJ_HAS_FLOATING_POINT 04893 _ACEOF4894 4895 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... yes" >&54896 echo "${ECHO_T}Checking if floating point is disabled... yes" >&6; }4897 fi4898 else4899 4900 cat >>confdefs.h <<\_ACEOF4901 #define PJ_HAS_FLOATING_POINT 14902 _ACEOF4903 4904 { echo "$as_me:$LINENO: result: Checking if floating point is disabled... no" >&54905 echo "${ECHO_T}Checking if floating point is disabled... no" >&6; }4906 4907 { echo "$as_me:$LINENO: checking for fmod in -lm" >&54908 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6; }4909 if test "${ac_cv_lib_m_fmod+set}" = set; then4910 echo $ECHO_N "(cached) $ECHO_C" >&64911 else4912 ac_check_lib_save_LIBS=$LIBS4913 LIBS="-lm $LIBS"4914 cat >conftest.$ac_ext <<_ACEOF4915 /* confdefs.h. */4916 _ACEOF4917 cat confdefs.h >>conftest.$ac_ext4918 cat >>conftest.$ac_ext <<_ACEOF4919 /* end confdefs.h. */4920 4921 /* Override any GCC internal prototype to avoid an error.4922 Use char because int might match the return type of a GCC4923 builtin and then its argument prototype would still apply. */4924 #ifdef __cplusplus4925 extern "C"4926 #endif4927 char fmod ();4928 int4929 main ()4930 {4931 return fmod ();4932 ;4933 return 0;4934 }4935 _ACEOF4936 rm -f conftest.$ac_objext conftest$ac_exeext4937 if { (ac_try="$ac_link"4938 case "(($ac_try" in4939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;4940 *) ac_try_echo=$ac_try;;4941 esac4942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&54943 (eval "$ac_link") 2>conftest.er14944 ac_status=$?4945 grep -v '^ *+' conftest.er1 >conftest.err4946 rm -f conftest.er14947 cat conftest.err >&54948 echo "$as_me:$LINENO: \$? = $ac_status" >&54949 (exit $ac_status); } && {4950 test -z "$ac_c_werror_flag" ||4951 test ! -s conftest.err4952 } && test -s conftest$ac_exeext &&4953 $as_test_x conftest$ac_exeext; then4954 ac_cv_lib_m_fmod=yes4955 else4956 echo "$as_me: failed program was:" >&54957 sed 's/^/| /' conftest.$ac_ext >&54958 4959 ac_cv_lib_m_fmod=no4960 fi4961 4962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \4963 conftest$ac_exeext conftest.$ac_ext4964 LIBS=$ac_check_lib_save_LIBS4965 fi4966 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&54967 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6; }4968 if test $ac_cv_lib_m_fmod = yes; then4969 cat >>confdefs.h <<_ACEOF4970 #define HAVE_LIBM 14971 _ACEOF4972 4973 LIBS="-lm $LIBS"4974 4975 fi4976 4977 4978 fi4979 4980 4981 4982 4397 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4983 {echo "$as_me:$LINENO: checking for arpa/inet.h" >&54984 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 ; }4398 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 4399 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 4985 4400 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 4986 4401 echo $ECHO_N "(cached) $ECHO_C" >&6 4987 4402 fi 4988 {echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&54989 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 ; }4403 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 4404 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 4990 4405 else 4991 4406 # Is the header compilable? 4992 {echo "$as_me:$LINENO: checking arpa/inet.h usability" >&54993 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 ; }4407 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5 4408 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6 4994 4409 cat >conftest.$ac_ext <<_ACEOF 4995 4410 /* confdefs.h. */ … … 5002 4417 _ACEOF 5003 4418 rm -f conftest.$ac_objext 5004 if { (ac_try="$ac_compile" 5005 case "(($ac_try" in 5006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5007 *) ac_try_echo=$ac_try;; 5008 esac 5009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5010 (eval "$ac_compile") 2>conftest.er1 4419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4420 (eval $ac_compile) 2>conftest.er1 5011 4421 ac_status=$? 5012 4422 grep -v '^ *+' conftest.er1 >conftest.err … … 5014 4424 cat conftest.err >&5 5015 4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5016 (exit $ac_status); } && { 5017 test -z "$ac_c_werror_flag" || 5018 test ! -s conftest.err 5019 } && test -s conftest.$ac_objext; then 4426 (exit $ac_status); } && 4427 { ac_try='test -z "$ac_c_werror_flag" 4428 || test ! -s conftest.err' 4429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4430 (eval $ac_try) 2>&5 4431 ac_status=$? 4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4433 (exit $ac_status); }; } && 4434 { ac_try='test -s conftest.$ac_objext' 4435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4436 (eval $ac_try) 2>&5 4437 ac_status=$? 4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4439 (exit $ac_status); }; }; then 5020 4440 ac_header_compiler=yes 5021 4441 else … … 5023 4443 sed 's/^/| /' conftest.$ac_ext >&5 5024 4444 5025 ac_header_compiler=no 5026 fi 5027 5028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5029 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5030 echo "${ECHO_T}$ac_header_compiler" >&6; } 4445 ac_header_compiler=no 4446 fi 4447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4449 echo "${ECHO_T}$ac_header_compiler" >&6 5031 4450 5032 4451 # Is the header present? 5033 {echo "$as_me:$LINENO: checking arpa/inet.h presence" >&55034 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 ; }4452 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5 4453 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6 5035 4454 cat >conftest.$ac_ext <<_ACEOF 5036 4455 /* confdefs.h. */ … … 5041 4460 #include <arpa/inet.h> 5042 4461 _ACEOF 5043 if { (ac_try="$ac_cpp conftest.$ac_ext" 5044 case "(($ac_try" in 5045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5046 *) ac_try_echo=$ac_try;; 5047 esac 5048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5049 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5050 4464 ac_status=$? 5051 4465 grep -v '^ *+' conftest.er1 >conftest.err … … 5053 4467 cat conftest.err >&5 5054 4468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5055 (exit $ac_status); } >/dev/null && { 5056 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5057 test ! -s conftest.err 5058 }; then 4469 (exit $ac_status); } >/dev/null; then 4470 if test -s conftest.err; then 4471 ac_cpp_err=$ac_c_preproc_warn_flag 4472 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4473 else 4474 ac_cpp_err= 4475 fi 4476 else 4477 ac_cpp_err=yes 4478 fi 4479 if test -z "$ac_cpp_err"; then 5059 4480 ac_header_preproc=yes 5060 4481 else … … 5064 4485 ac_header_preproc=no 5065 4486 fi 5066 5067 4487 rm -f conftest.err conftest.$ac_ext 5068 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&55069 echo "${ECHO_T}$ac_header_preproc" >&6 ; }4488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4489 echo "${ECHO_T}$ac_header_preproc" >&6 5070 4490 5071 4491 # So? What about this header? … … 5091 4511 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5 5092 4512 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;} 5093 4513 ( 4514 cat <<\_ASBOX 4515 ## ------------------------------------ ## 4516 ## Report this to the pjproject lists. ## 4517 ## ------------------------------------ ## 4518 _ASBOX 4519 ) | 4520 sed "s/^/$as_me: WARNING: /" >&2 5094 4521 ;; 5095 4522 esac 5096 {echo "$as_me:$LINENO: checking for arpa/inet.h" >&55097 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 ; }4523 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5 4524 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6 5098 4525 if test "${ac_cv_header_arpa_inet_h+set}" = set; then 5099 4526 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5101 4528 ac_cv_header_arpa_inet_h=$ac_header_preproc 5102 4529 fi 5103 {echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&55104 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 ; }4530 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5 4531 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6 5105 4532 5106 4533 fi … … 5114 4541 5115 4542 if test "${ac_cv_header_assert_h+set}" = set; then 5116 {echo "$as_me:$LINENO: checking for assert.h" >&55117 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 ; }4543 echo "$as_me:$LINENO: checking for assert.h" >&5 4544 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 5118 4545 if test "${ac_cv_header_assert_h+set}" = set; then 5119 4546 echo $ECHO_N "(cached) $ECHO_C" >&6 5120 4547 fi 5121 {echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&55122 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 ; }4548 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 4549 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 5123 4550 else 5124 4551 # Is the header compilable? 5125 {echo "$as_me:$LINENO: checking assert.h usability" >&55126 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6 ; }4552 echo "$as_me:$LINENO: checking assert.h usability" >&5 4553 echo $ECHO_N "checking assert.h usability... $ECHO_C" >&6 5127 4554 cat >conftest.$ac_ext <<_ACEOF 5128 4555 /* confdefs.h. */ … … 5135 4562 _ACEOF 5136 4563 rm -f conftest.$ac_objext 5137 if { (ac_try="$ac_compile" 5138 case "(($ac_try" in 5139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5140 *) ac_try_echo=$ac_try;; 5141 esac 5142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5143 (eval "$ac_compile") 2>conftest.er1 4564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4565 (eval $ac_compile) 2>conftest.er1 5144 4566 ac_status=$? 5145 4567 grep -v '^ *+' conftest.er1 >conftest.err … … 5147 4569 cat conftest.err >&5 5148 4570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5149 (exit $ac_status); } && { 5150 test -z "$ac_c_werror_flag" || 5151 test ! -s conftest.err 5152 } && test -s conftest.$ac_objext; then 4571 (exit $ac_status); } && 4572 { ac_try='test -z "$ac_c_werror_flag" 4573 || test ! -s conftest.err' 4574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4575 (eval $ac_try) 2>&5 4576 ac_status=$? 4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4578 (exit $ac_status); }; } && 4579 { ac_try='test -s conftest.$ac_objext' 4580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4581 (eval $ac_try) 2>&5 4582 ac_status=$? 4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4584 (exit $ac_status); }; }; then 5153 4585 ac_header_compiler=yes 5154 4586 else … … 5156 4588 sed 's/^/| /' conftest.$ac_ext >&5 5157 4589 5158 ac_header_compiler=no 5159 fi 5160 5161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5162 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5163 echo "${ECHO_T}$ac_header_compiler" >&6; } 4590 ac_header_compiler=no 4591 fi 4592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4594 echo "${ECHO_T}$ac_header_compiler" >&6 5164 4595 5165 4596 # Is the header present? 5166 {echo "$as_me:$LINENO: checking assert.h presence" >&55167 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6 ; }4597 echo "$as_me:$LINENO: checking assert.h presence" >&5 4598 echo $ECHO_N "checking assert.h presence... $ECHO_C" >&6 5168 4599 cat >conftest.$ac_ext <<_ACEOF 5169 4600 /* confdefs.h. */ … … 5174 4605 #include <assert.h> 5175 4606 _ACEOF 5176 if { (ac_try="$ac_cpp conftest.$ac_ext" 5177 case "(($ac_try" in 5178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5179 *) ac_try_echo=$ac_try;; 5180 esac 5181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5182 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5183 4609 ac_status=$? 5184 4610 grep -v '^ *+' conftest.er1 >conftest.err … … 5186 4612 cat conftest.err >&5 5187 4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5188 (exit $ac_status); } >/dev/null && { 5189 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5190 test ! -s conftest.err 5191 }; then 4614 (exit $ac_status); } >/dev/null; then 4615 if test -s conftest.err; then 4616 ac_cpp_err=$ac_c_preproc_warn_flag 4617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4618 else 4619 ac_cpp_err= 4620 fi 4621 else 4622 ac_cpp_err=yes 4623 fi 4624 if test -z "$ac_cpp_err"; then 5192 4625 ac_header_preproc=yes 5193 4626 else … … 5197 4630 ac_header_preproc=no 5198 4631 fi 5199 5200 4632 rm -f conftest.err conftest.$ac_ext 5201 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&55202 echo "${ECHO_T}$ac_header_preproc" >&6 ; }4633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4634 echo "${ECHO_T}$ac_header_preproc" >&6 5203 4635 5204 4636 # So? What about this header? … … 5224 4656 { echo "$as_me:$LINENO: WARNING: assert.h: in the future, the compiler will take precedence" >&5 5225 4657 echo "$as_me: WARNING: assert.h: in the future, the compiler will take precedence" >&2;} 5226 4658 ( 4659 cat <<\_ASBOX 4660 ## ------------------------------------ ## 4661 ## Report this to the pjproject lists. ## 4662 ## ------------------------------------ ## 4663 _ASBOX 4664 ) | 4665 sed "s/^/$as_me: WARNING: /" >&2 5227 4666 ;; 5228 4667 esac 5229 {echo "$as_me:$LINENO: checking for assert.h" >&55230 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 ; }4668 echo "$as_me:$LINENO: checking for assert.h" >&5 4669 echo $ECHO_N "checking for assert.h... $ECHO_C" >&6 5231 4670 if test "${ac_cv_header_assert_h+set}" = set; then 5232 4671 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5234 4673 ac_cv_header_assert_h=$ac_header_preproc 5235 4674 fi 5236 {echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&55237 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 ; }4675 echo "$as_me:$LINENO: result: $ac_cv_header_assert_h" >&5 4676 echo "${ECHO_T}$ac_cv_header_assert_h" >&6 5238 4677 5239 4678 fi … … 5247 4686 5248 4687 if test "${ac_cv_header_ctype_h+set}" = set; then 5249 {echo "$as_me:$LINENO: checking for ctype.h" >&55250 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 ; }4688 echo "$as_me:$LINENO: checking for ctype.h" >&5 4689 echo $ECHO_N "checking for ctype.h... $ECHO_C" >&6 5251 4690 if test "${ac_cv_header_ctype_h+set}" = set; then 5252 4691 echo $ECHO_N "(cached) $ECHO_C" >&6 5253 4692 fi 5254 {echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&55255 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 ; }4693 echo "$as_me:$LINENO: result: $ac_cv_header_ctype_h" >&5 4694 echo "${ECHO_T}$ac_cv_header_ctype_h" >&6 5256 4695 else 5257 4696 # Is the header compilable? 5258 {echo "$as_me:$LINENO: checking ctype.h usability" >&55259 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6 ; }4697 echo "$as_me:$LINENO: checking ctype.h usability" >&5 4698 echo $ECHO_N "checking ctype.h usability... $ECHO_C" >&6 5260 4699 cat >conftest.$ac_ext <<_ACEOF 5261 4700 /* confdefs.h. */ … … 5268 4707 _ACEOF 5269 4708 rm -f conftest.$ac_objext 5270 if { (ac_try="$ac_compile" 5271 case "(($ac_try" in 5272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5273 *) ac_try_echo=$ac_try;; 5274 esac 5275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5276 (eval "$ac_compile") 2>conftest.er1 4709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4710 (eval $ac_compile) 2>conftest.er1 5277 4711 ac_status=$? 5278 4712 grep -v '^ *+' conftest.er1 >conftest.err … … 5280 4714 cat conftest.err >&5 5281 4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5282 (exit $ac_status); } && { 5283 test -z "$ac_c_werror_flag" || 5284 test ! -s conftest.err 5285 } && test -s conftest.$ac_objext; then 4716 (exit $ac_status); } && 4717 { ac_try='test -z "$ac_c_werror_flag" 4718 || test ! -s conftest.err' 4719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4720 (eval $ac_try) 2>&5 4721 ac_status=$? 4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4723 (exit $ac_status); }; } && 4724 { ac_try='test -s conftest.$ac_objext' 4725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4726 (eval $ac_try) 2>&5 4727 ac_status=$? 4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4729 (exit $ac_status); }; }; then 5286 4730 ac_header_compiler=yes 5287 4731 else … … 5289 4733 sed 's/^/| /' conftest.$ac_ext >&5 5290 4734 5291 ac_header_compiler=no 5292 fi 5293 5294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5295 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5296 echo "${ECHO_T}$ac_header_compiler" >&6; } 4735 ac_header_compiler=no 4736 fi 4737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4739 echo "${ECHO_T}$ac_header_compiler" >&6 5297 4740 5298 4741 # Is the header present? 5299 {echo "$as_me:$LINENO: checking ctype.h presence" >&55300 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6 ; }4742 echo "$as_me:$LINENO: checking ctype.h presence" >&5 4743 echo $ECHO_N "checking ctype.h presence... $ECHO_C" >&6 5301 4744 cat >conftest.$ac_ext <<_ACEOF 5302 4745 /* confdefs.h. */ … … 5307 4750 #include <ctype.h> 5308 4751