Changeset 20854
- Timestamp:
- 2009-10-28T18:19:00+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/runtime-src/configure
r20848 r20854 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 61.3 # Generated by GNU Autoconf 2.59. 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 PACKAGE 653 VERSION 654 USE_FASTCGI 655 USE_LANGACTION 656 USE_CORBA 657 MICO_DIR 658 USE_Z3950 659 USE_YAZ 660 ENABLE_ACCENTFOLD 661 USE_SQLITE 662 USE_APACHE_HTTPD 663 LDFLAGS 664 CFLAGS 665 CC 666 CPPFLAGS 667 ac_ct_CC 668 EXEEXT 669 OBJEXT 670 CXX 671 CXXFLAGS 672 ac_ct_CXX 673 AWK 674 YACC 675 YFLAGS 676 build 677 build_cpu 678 build_vendor 679 build_os 680 host 681 host_cpu 682 host_vendor 683 host_os 684 target 685 target_cpu 686 target_vendor 687 target_os 688 INSTALL_PROGRAM 689 INSTALL_SCRIPT 690 INSTALL_DATA 691 LN_S 692 SET_MAKE 693 RANLIB 694 COMPAT32BITFLAGS 695 MICO_VER 696 CPP 697 GREP 698 EGREP 699 U 700 ANSI2KNR 701 ALLOCA 702 LIBOBJS 703 STATIC 704 gsdlos 705 MODULEDIRS 706 subdirs 707 LTLIBOBJS' 311 ac_subdirs_all="$ac_subdirs_all packages" 312 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 PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_SQLITE USE_APACHE_HTTPD LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS' 708 313 ac_subst_files='' 709 ac_precious_vars='build_alias710 host_alias711 target_alias712 CC713 CFLAGS714 LDFLAGS715 LIBS716 CPPFLAGS717 CXX718 CXXFLAGS719 CCC720 YACC721 YFLAGS722 CPP'723 ac_subdirs_all='packages'724 314 725 315 # Initialize some variables set by options. … … 748 338 # by default will actually change. 749 339 # Use braces instead of parens because sh, perl, etc. also accept them. 750 # (The list follows the same order as the GNU Coding Standards.)751 340 bindir='${exec_prefix}/bin' 752 341 sbindir='${exec_prefix}/sbin' 753 342 libexecdir='${exec_prefix}/libexec' 754 datarootdir='${prefix}/share' 755 datadir='${datarootdir}' 343 datadir='${prefix}/share' 756 344 sysconfdir='${prefix}/etc' 757 345 sharedstatedir='${prefix}/com' 758 346 localstatedir='${prefix}/var' 347 libdir='${exec_prefix}/lib' 759 348 includedir='${prefix}/include' 760 349 oldincludedir='/usr/include' 761 docdir='${datarootdir}/doc/${PACKAGE}' 762 infodir='${datarootdir}/info' 763 htmldir='${docdir}' 764 dvidir='${docdir}' 765 pdfdir='${docdir}' 766 psdir='${docdir}' 767 libdir='${exec_prefix}/lib' 768 localedir='${datarootdir}/locale' 769 mandir='${datarootdir}/man' 350 infodir='${prefix}/info' 351 mandir='${prefix}/man' 770 352 771 353 ac_prev= 772 ac_dashdash=773 354 for ac_option 774 355 do 775 356 # If the previous option needs an argument, assign it. 776 357 if test -n "$ac_prev"; then 777 eval $ac_prev=\$ac_option358 eval "$ac_prev=\$ac_option" 778 359 ac_prev= 779 360 continue 780 361 fi 781 362 363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 364 365 # Accept the important Cygnus configure options, so we can diagnose typos. 366 782 367 case $ac_option in 783 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;784 *) ac_optarg=yes ;;785 esac786 787 # Accept the important Cygnus configure options, so we can diagnose typos.788 789 case $ac_dashdash$ac_option in790 --)791 ac_dashdash=yes ;;792 368 793 369 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 811 387 cache_file=config.cache ;; 812 388 813 -datadir | --datadir | --datadi | --datad )389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 814 390 ac_prev=datadir ;; 815 -datadir=* | --datadir=* | --datadi=* | --datad=*) 391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392 | --da=*) 816 393 datadir=$ac_optarg ;; 817 818 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \819 | --dataroo | --dataro | --datar)820 ac_prev=datarootdir ;;821 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \822 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)823 datarootdir=$ac_optarg ;;824 394 825 395 -disable-* | --disable-*) 826 396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 827 397 # Reject names that are not valid shell variable names. 828 expr "x$ac_feature" : ".*[^- ._$as_cr_alnum]" >/dev/null &&398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 829 399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 830 400 { (exit 1); exit 1; }; } 831 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 832 eval enable_$ac_feature=no ;; 833 834 -docdir | --docdir | --docdi | --doc | --do) 835 ac_prev=docdir ;; 836 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 837 docdir=$ac_optarg ;; 838 839 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 840 ac_prev=dvidir ;; 841 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 842 dvidir=$ac_optarg ;; 401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402 eval "enable_$ac_feature=no" ;; 843 403 844 404 -enable-* | --enable-*) 845 405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 846 406 # Reject names that are not valid shell variable names. 847 expr "x$ac_feature" : ".*[^- ._$as_cr_alnum]" >/dev/null &&407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 848 408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 849 409 { (exit 1); exit 1; }; } 850 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 851 eval enable_$ac_feature=\$ac_optarg ;; 410 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 411 case $ac_option in 412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 413 *) ac_optarg=yes ;; 414 esac 415 eval "enable_$ac_feature='$ac_optarg'" ;; 852 416 853 417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 876 440 host_alias=$ac_optarg ;; 877 441 878 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)879 ac_prev=htmldir ;;880 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \881 | --ht=*)882 htmldir=$ac_optarg ;;883 884 442 -includedir | --includedir | --includedi | --included | --include \ 885 443 | --includ | --inclu | --incl | --inc) … … 906 464 libexecdir=$ac_optarg ;; 907 465 908 -localedir | --localedir | --localedi | --localed | --locale)909 ac_prev=localedir ;;910 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)911 localedir=$ac_optarg ;;912 913 466 -localstatedir | --localstatedir | --localstatedi | --localstated \ 914 | --localstate | --localstat | --localsta | --localst | --locals) 467 | --localstate | --localstat | --localsta | --localst \ 468 | --locals | --local | --loca | --loc | --lo) 915 469 ac_prev=localstatedir ;; 916 470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 917 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 918 473 localstatedir=$ac_optarg ;; 919 474 … … 980 535 program_transform_name=$ac_optarg ;; 981 536 982 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)983 ac_prev=pdfdir ;;984 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)985 pdfdir=$ac_optarg ;;986 987 -psdir | --psdir | --psdi | --psd | --ps)988 ac_prev=psdir ;;989 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)990 psdir=$ac_optarg ;;991 992 537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 993 538 | -silent | --silent | --silen | --sile | --sil) … … 1042 587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1043 588 # Reject names that are not valid shell variable names. 1044 expr "x$ac_package" : ".*[^- ._$as_cr_alnum]" >/dev/null &&589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1045 590 { echo "$as_me: error: invalid package name: $ac_package" >&2 1046 591 { (exit 1); exit 1; }; } 1047 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1048 eval with_$ac_package=\$ac_optarg ;; 592 ac_package=`echo $ac_package| sed 's/-/_/g'` 593 case $ac_option in 594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 595 *) ac_optarg=yes ;; 596 esac 597 eval "with_$ac_package='$ac_optarg'" ;; 1049 598 1050 599 -without-* | --without-*) 1051 600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1052 601 # Reject names that are not valid shell variable names. 1053 expr "x$ac_package" : ".*[^- ._$as_cr_alnum]" >/dev/null &&602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 1054 603 { echo "$as_me: error: invalid package name: $ac_package" >&2 1055 604 { (exit 1); exit 1; }; } 1056 ac_package=`echo $ac_package | sed 's/ [-.]/_/g'`1057 eval with_$ac_package=no;;605 ac_package=`echo $ac_package | sed 's/-/_/g'` 606 eval "with_$ac_package=no" ;; 1058 607 1059 608 --x) … … 1086 635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1087 636 { (exit 1); exit 1; }; } 1088 eval $ac_envvar=\$ac_optarg 637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 638 eval "$ac_envvar='$ac_optarg'" 1089 639 export $ac_envvar ;; 1090 640 … … 1106 656 fi 1107 657 1108 # Be sure to have absolute directory names. 1109 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1110 datadir sysconfdir sharedstatedir localstatedir includedir \ 1111 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1112 libdir localedir mandir 658 # Be sure to have absolute paths. 659 for ac_var in exec_prefix prefix 1113 660 do 1114 eval ac_val= \$$ac_var661 eval ac_val=$`echo $ac_var` 1115 662 case $ac_val in 1116 [\\/$]* | ?:[\\/]* ) continue;; 1117 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 665 { (exit 1); exit 1; }; };; 1118 666 esac 1119 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1120 { (exit 1); exit 1; }; } 667 done 668 669 # Be sure to have absolute paths. 670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 671 localstatedir libdir includedir oldincludedir infodir mandir 672 do 673 eval ac_val=$`echo $ac_var` 674 case $ac_val in 675 [\\/$]* | ?:[\\/]* ) ;; 676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 677 { (exit 1); exit 1; }; };; 678 esac 1121 679 done 1122 680 … … 1145 703 1146 704 1147 ac_pwd=`pwd` && test -n "$ac_pwd" &&1148 ac_ls_di=`ls -di .` &&1149 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||1150 { echo "$as_me: error: Working directory cannot be determined" >&21151 { (exit 1); exit 1; }; }1152 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||1153 { echo "$as_me: error: pwd does not report name of working directory" >&21154 { (exit 1); exit 1; }; }1155 1156 1157 705 # Find the source files, if location was not specified. 1158 706 if test -z "$srcdir"; then 1159 707 ac_srcdir_defaulted=yes 1160 # Try the directory containing this script, then the parent directory.1161 ac_confdir=` $as_dirname -- "$0"||708 # Try the directory containing this script, then its parent. 709 ac_confdir=`(dirname "$0") 2>/dev/null || 1162 710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1163 711 X"$0" : 'X\(//\)[^/]' \| \ 1164 712 X"$0" : 'X\(//\)$' \| \ 1165 X"$0" : 'X\(/\)' \| . 2>/dev/null || 713 X"$0" : 'X\(/\)' \| \ 714 . : '\(.\)' 2>/dev/null || 1166 715 echo X"$0" | 1167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1168 s//\1/ 1169 q 1170 } 1171 /^X\(\/\/\)[^/].*/{ 1172 s//\1/ 1173 q 1174 } 1175 /^X\(\/\/\)$/{ 1176 s//\1/ 1177 q 1178 } 1179 /^X\(\/\).*/{ 1180 s//\1/ 1181 q 1182 } 1183 s/.*/./; q'` 716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 717 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 718 /^X\(\/\/\)$/{ s//\1/; q; } 719 /^X\(\/\).*/{ s//\1/; q; } 720 s/.*/./; q'` 1184 721 srcdir=$ac_confdir 1185 if test ! -r "$srcdir/$ac_unique_file"; then722 if test ! -r $srcdir/$ac_unique_file; then 1186 723 srcdir=.. 1187 724 fi … … 1189 726 ac_srcdir_defaulted=no 1190 727 fi 1191 if test ! -r "$srcdir/$ac_unique_file"; then1192 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."1193 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2728 if test ! -r $srcdir/$ac_unique_file; then 729 if test "$ac_srcdir_defaulted" = yes; then 730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 1194 731 { (exit 1); exit 1; }; } 1195 fi 1196 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1197 ac_abs_confdir=`( 1198 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 732 else 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1199 734 { (exit 1); exit 1; }; } 1200 pwd)` 1201 # When building in place, set srcdir=. 1202 if test "$ac_abs_confdir" = "$ac_pwd"; then 1203 srcdir=. 1204 fi 1205 # Remove unnecessary trailing slashes from srcdir. 1206 # Double slashes in file names in object file debugging info 1207 # mess up M-x gdb in Emacs. 1208 case $srcdir in 1209 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1210 esac 1211 for ac_var in $ac_precious_vars; do 1212 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1213 eval ac_env_${ac_var}_value=\$${ac_var} 1214 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1215 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1216 done 735 fi 736 fi 737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 739 { (exit 1); exit 1; }; } 740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 741 ac_env_build_alias_set=${build_alias+set} 742 ac_env_build_alias_value=$build_alias 743 ac_cv_env_build_alias_set=${build_alias+set} 744 ac_cv_env_build_alias_value=$build_alias 745 ac_env_host_alias_set=${host_alias+set} 746 ac_env_host_alias_value=$host_alias 747 ac_cv_env_host_alias_set=${host_alias+set} 748 ac_cv_env_host_alias_value=$host_alias 749 ac_env_target_alias_set=${target_alias+set} 750 ac_env_target_alias_value=$target_alias 751 ac_cv_env_target_alias_set=${target_alias+set} 752 ac_cv_env_target_alias_value=$target_alias 753 ac_env_CC_set=${CC+set} 754 ac_env_CC_value=$CC 755 ac_cv_env_CC_set=${CC+set} 756 ac_cv_env_CC_value=$CC 757 ac_env_CFLAGS_set=${CFLAGS+set} 758 ac_env_CFLAGS_value=$CFLAGS 759 ac_cv_env_CFLAGS_set=${CFLAGS+set} 760 ac_cv_env_CFLAGS_value=$CFLAGS 761 ac_env_LDFLAGS_set=${LDFLAGS+set} 762 ac_env_LDFLAGS_value=$LDFLAGS 763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_cv_env_LDFLAGS_value=$LDFLAGS 765 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 766 ac_env_CPPFLAGS_value=$CPPFLAGS 767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 769 ac_env_CXX_set=${CXX+set} 770 ac_env_CXX_value=$CXX 771 ac_cv_env_CXX_set=${CXX+set} 772 ac_cv_env_CXX_value=$CXX 773 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 774 ac_env_CXXFLAGS_value=$CXXFLAGS 775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 777 ac_env_CPP_set=${CPP+set} 778 ac_env_CPP_value=$CPP 779 ac_cv_env_CPP_set=${CPP+set} 780 ac_cv_env_CPP_value=$CPP 1217 781 1218 782 # … … 1243 807 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1244 808 809 _ACEOF 810 811 cat <<_ACEOF 1245 812 Installation directories: 1246 813 --prefix=PREFIX install architecture-independent files in PREFIX … … 1260 827 --sbindir=DIR system admin executables [EPREFIX/sbin] 1261 828 --libexecdir=DIR program executables [EPREFIX/libexec] 829 --datadir=DIR read-only architecture-independent data [PREFIX/share] 1262 830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1263 831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 1266 834 --includedir=DIR C header files [PREFIX/include] 1267 835 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1268 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1269 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1270 --infodir=DIR info documentation [DATAROOTDIR/info] 1271 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1272 --mandir=DIR man documentation [DATAROOTDIR/man] 1273 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1274 --htmldir=DIR html documentation [DOCDIR] 1275 --dvidir=DIR dvi documentation [DOCDIR] 1276 --pdfdir=DIR pdf documentation [DOCDIR] 1277 --psdir=DIR ps documentation [DOCDIR] 836 --infodir=DIR info documentation [PREFIX/info] 837 --mandir=DIR man documentation [PREFIX/man] 1278 838 _ACEOF 1279 839 … … 1299 859 --disable-accentfold Disable Accent Folding for MGPP 1300 860 --disable-sqlite Disable SQLite support 1301 -- disable-apache-httpd Disable Apache httpd support861 --enable-apache-httpd Enable Apache httpd support 1302 862 1303 863 Optional Packages: … … 1314 874 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1315 875 nonstandard directory <lib dir> 1316 LIBS libraries to pass to the linker, e.g. -l<library> 1317 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1318 you have headers in a nonstandard directory <include dir> 876 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 877 headers in a nonstandard directory <include dir> 1319 878 CXX C++ compiler command 1320 879 CXXFLAGS C++ compiler flags 1321 YACC The `Yet Another C Compiler' implementation to use. Defaults to1322 the first program found out of: `bison -y', `byacc', `yacc'.1323 YFLAGS The list of arguments that will be passed by default to $YACC.1324 This script will default YFLAGS to the empty string to avoid a1325 default value of `-d' given by some make applications.1326 880 CPP C preprocessor 1327 881 … … 1330 884 1331 885 _ACEOF 1332 ac_status=$?1333 886 fi 1334 887 1335 888 if test "$ac_init_help" = "recursive"; then 1336 889 # If there are subdirs, report their specific --help. 890 ac_popdir=`pwd` 1337 891 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1338 test -d "$ac_dir"|| continue892 test -d $ac_dir || continue 1339 893 ac_builddir=. 1340 894 1341 case "$ac_dir" in 1342 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 895 if test "$ac_dir" != .; then 896 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 897 # A "../" for each directory in $ac_dir_suffix. 898 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 899 else 900 ac_dir_suffix= ac_top_builddir= 901 fi 902 903 case $srcdir in 904 .) # No --srcdir option. We are building in place. 905 ac_srcdir=. 906 if test -z "$ac_top_builddir"; then 907 ac_top_srcdir=. 908 else 909 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 910 fi ;; 911 [\\/]* | ?:[\\/]* ) # Absolute path. 912 ac_srcdir=$srcdir$ac_dir_suffix; 913 ac_top_srcdir=$srcdir ;; 914 *) # Relative path. 915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 916 ac_top_srcdir=$ac_top_builddir$srcdir ;; 917 esac 918 919 # Do not use `cd foo && pwd` to compute absolute paths, because 920 # the directories may not exist. 921 case `pwd` in 922 .) ac_abs_builddir="$ac_dir";; 1343 923 *) 1344 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1345 # A ".." for each directory in $ac_dir_suffix. 1346 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1347 case $ac_top_builddir_sub in 1348 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1349 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1350 esac ;; 924 case "$ac_dir" in 925 .) ac_abs_builddir=`pwd`;; 926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 927 *) ac_abs_builddir=`pwd`/"$ac_dir";; 928 esac;; 1351 929 esac 1352 ac_abs_top_builddir=$ac_pwd 1353 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1354 # for backward compatibility: 1355 ac_top_builddir=$ac_top_build_prefix 1356 1357 case $srcdir in 1358 .) # We are building in place. 1359 ac_srcdir=. 1360 ac_top_srcdir=$ac_top_builddir_sub 1361 ac_abs_top_srcdir=$ac_pwd ;; 1362 [\\/]* | ?:[\\/]* ) # Absolute name. 1363 ac_srcdir=$srcdir$ac_dir_suffix; 1364 ac_top_srcdir=$srcdir 1365 ac_abs_top_srcdir=$srcdir ;; 1366 *) # Relative name. 1367 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1368 ac_top_srcdir=$ac_top_build_prefix$srcdir 1369 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 930 case $ac_abs_builddir in 931 .) ac_abs_top_builddir=${ac_top_builddir}.;; 932 *) 933 case ${ac_top_builddir}. in 934 .) ac_abs_top_builddir=$ac_abs_builddir;; 935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 937 esac;; 1370 938 esac 1371 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1372 1373 cd "$ac_dir" || { ac_status=$?; continue; } 1374 # Check for guested configure. 1375 if test -f "$ac_srcdir/configure.gnu"; then 1376 echo && 1377 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1378 elif test -f "$ac_srcdir/configure"; then 1379 echo && 1380 $SHELL "$ac_srcdir/configure" --help=recursive 939 case $ac_abs_builddir in 940 .) ac_abs_srcdir=$ac_srcdir;; 941 *) 942 case $ac_srcdir in 943 .) ac_abs_srcdir=$ac_abs_builddir;; 944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 946 esac;; 947 esac 948 case $ac_abs_builddir in 949 .) ac_abs_top_srcdir=$ac_top_srcdir;; 950 *) 951 case $ac_top_srcdir in 952 .) ac_abs_top_srcdir=$ac_abs_builddir;; 953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 955 esac;; 956 esac 957 958 cd $ac_dir 959 # Check for guested configure; otherwise get Cygnus style configure. 960 if test -f $ac_srcdir/configure.gnu; then 961 echo 962 $SHELL $ac_srcdir/configure.gnu --help=recursive 963 elif test -f $ac_srcdir/configure; then 964 echo 965 $SHELL $ac_srcdir/configure --help=recursive 966 elif test -f $ac_srcdir/configure.ac || 967 test -f $ac_srcdir/configure.in; then 968 echo 969 $ac_configure --help 1381 970 else 1382 971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1383 fi || ac_status=$?1384 cd "$ac_pwd" || { ac_status=$?; break; }972 fi 973 cd $ac_popdir 1385 974 done 1386 975 fi 1387 976 1388 test -n "$ac_init_help" && exit $ac_status977 test -n "$ac_init_help" && exit 0 1389 978 if $ac_init_version; then 1390 979 cat <<\_ACEOF 1391 configure 1392 generated by GNU Autoconf 2.61 1393 1394 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1395 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 980 981 Copyright (C) 2003 Free Software Foundation, Inc. 1396 982 This configure script is free software; the Free Software Foundation 1397 983 gives unlimited permission to copy, distribute and modify it. 1398 984 _ACEOF 1399 exit 1400 fi 1401 cat >config.log <<_ACEOF 985 exit 0 986 fi 987 exec 5>config.log 988 cat >&5 <<_ACEOF 1402 989 This file contains any messages produced by compilers while 1403 990 running configure, to aid debugging if configure makes a mistake. 1404 991 1405 992 It was created by $as_me, which was 1406 generated by GNU Autoconf 2. 61. Invocation command line was993 generated by GNU Autoconf 2.59. Invocation command line was 1407 994 1408 995 $ $0 $@ 1409 996 1410 997 _ACEOF 1411 exec 5>>config.log1412 998 { 1413 999 cat <<_ASUNAME … … 1428 1014 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1429 1015 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1430 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null|| echo unknown`1016 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1431 1017 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1432 1018 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1442 1028 echo "PATH: $as_dir" 1443 1029 done 1444 IFS=$as_save_IFS1445 1030 1446 1031 } >&5 … … 1464 1049 ac_configure_args0= 1465 1050 ac_configure_args1= 1051 ac_sep= 1466 1052 ac_must_keep_next=false 1467 1053 for ac_pass in 1 2 … … 1474 1060 | -silent | --silent | --silen | --sile | --sil) 1475 1061 continue ;; 1476 * \'*)1062 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1477 1063 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1478 1064 esac … … 1496 1082 esac 1497 1083 fi 1498 ac_configure_args="$ac_configure_args '$ac_arg'" 1084 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1085 # Get rid of the leading space. 1086 ac_sep=" " 1499 1087 ;; 1500 1088 esac … … 1507 1095 # config.log. We remove comments because anyway the quotes in there 1508 1096 # would cause problems or look ugly. 1509 # WARNING: Use '\'' to represent an apostrophe within the trap.1510 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.1097 # WARNING: Be sure not to use single quotes in there, as some shells, 1098 # such as our DU 5.0 friend, will then `close' the trap. 1511 1099 trap 'exit_status=$? 1512 1100 # Save into config.log some information that might help in debugging. … … 1521 1109 echo 1522 1110 # The following way of writing the cache mishandles newlines in values, 1523 ( 1524 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1525 eval ac_val=\$$ac_var 1526 case $ac_val in #( 1527 *${as_nl}*) 1528 case $ac_var in #( 1529 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1530 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1531 esac 1532 case $ac_var in #( 1533 _ | IFS | as_nl) ;; #( 1534 *) $as_unset $ac_var ;; 1535 esac ;; 1536 esac 1537 done 1111 { 1538 1112 (set) 2>&1 | 1539 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(1540 * ${as_nl}ac_space=\ *)1113 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1114 *ac_space=\ *) 1541 1115 sed -n \ 1542 "s/' \''/'\''\\\\'\'''\''/g;1543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=' \''\\2'\''/p"1544 ;; #(1116 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1117 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1118 ;; 1545 1119 *) 1546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1120 sed -n \ 1121 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1547 1122 ;; 1548 esac | 1549 sort 1550 ) 1123 esac; 1124 } 1551 1125 echo 1552 1126 … … 1559 1133 for ac_var in $ac_subst_vars 1560 1134 do 1561 eval ac_val=\$$ac_var 1562 case $ac_val in 1563 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1564 esac 1565 echo "$ac_var='\''$ac_val'\''" 1135 eval ac_val=$`echo $ac_var` 1136 echo "$ac_var='"'"'$ac_val'"'"'" 1566 1137 done | sort 1567 1138 echo … … 1569 1140 if test -n "$ac_subst_files"; then 1570 1141 cat <<\_ASBOX 1571 ## ------------- ------##1572 ## File substitutions. ##1573 ## ------------- ------##1142 ## ------------- ## 1143 ## Output files. ## 1144 ## ------------- ## 1574 1145 _ASBOX 1575 1146 echo 1576 1147 for ac_var in $ac_subst_files 1577 1148 do 1578 eval ac_val=\$$ac_var 1579 case $ac_val in 1580 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1581 esac 1582 echo "$ac_var='\''$ac_val'\''" 1149 eval ac_val=$`echo $ac_var` 1150 echo "$ac_var='"'"'$ac_val'"'"'" 1583 1151 done | sort 1584 1152 echo … … 1592 1160 _ASBOX 1593 1161 echo 1594 cat confdefs.h1162 sed "/^$/d" confdefs.h | sort 1595 1163 echo 1596 1164 fi … … 1599 1167 echo "$as_me: exit $exit_status" 1600 1168 } >&5 1601 rm -f core *.core core.conftest.*&&1602 rm -f -rconftest* confdefs* conf$$* $ac_clean_files &&1169 rm -f core *.core && 1170 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1603 1171 exit $exit_status 1604 ' 01172 ' 0 1605 1173 for ac_signal in 1 2 13 15; do 1606 1174 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1609 1177 1610 1178 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1611 rm -f -r conftest* confdefs.h 1179 rm -rf conftest* confdefs.h 1180 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1181 echo >confdefs.h 1612 1182 1613 1183 # Predefined preprocessor variables. … … 1640 1210 # Let the site file select an alternate cache file if it wants to. 1641 1211 # Prefer explicitly selected file to automatically selected ones. 1642 if test -n "$CONFIG_SITE"; then 1643 set x "$CONFIG_SITE" 1644 elif test "x$prefix" != xNONE; then 1645 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1646 else 1647 set x "$ac_default_prefix/share/config.site" \ 1648 "$ac_default_prefix/etc/config.site" 1649 fi 1650 shift 1651 for ac_site_file 1652 do 1212 if test -z "$CONFIG_SITE"; then 1213 if test "x$prefix" != xNONE; then 1214 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1215 else 1216 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1217 fi 1218 fi 1219 for ac_site_file in $CONFIG_SITE; do 1653 1220 if test -r "$ac_site_file"; then 1654 1221 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1666 1233 echo "$as_me: loading cache $cache_file" >&6;} 1667 1234 case $cache_file in 1668 [\\/]* | ?:[\\/]* ) . "$cache_file";;1669 *) . "./$cache_file";;1235 [\\/]* | ?:[\\/]* ) . $cache_file;; 1236 *) . ./$cache_file;; 1670 1237 esac 1671 1238 fi … … 1679 1246 # value. 1680 1247 ac_cache_corrupted=false 1681 for ac_var in $ac_precious_vars; do 1248 for ac_var in `(set) 2>&1 | 1249 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1682 1250 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1683 1251 eval ac_new_set=\$ac_env_${ac_var}_set 1684 eval ac_old_val= \$ac_cv_env_${ac_var}_value1685 eval ac_new_val= \$ac_env_${ac_var}_value1252 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1253 eval ac_new_val="\$ac_env_${ac_var}_value" 1686 1254 case $ac_old_set,$ac_new_set in 1687 1255 set,) … … 1708 1276 if test "$ac_new_set" = set; then 1709 1277 case $ac_new_val in 1710 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1278 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1279 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1711 1280 *) ac_arg=$ac_var=$ac_new_val ;; 1712 1281 esac … … 1725 1294 fi 1726 1295 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1296 ac_ext=c 1744 1297 ac_cpp='$CPP $CPPFLAGS' … … 1748 1301 1749 1302 1750 ac_config_headers="$ac_config_headers config.h" 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 ac_config_headers="$ac_config_headers config.h" 1751 1321 1752 1322 … … 1783 1353 fi 1784 1354 1785 # Check whether --enable-corba was given.1355 # Check whether --enable-corba or --disable-corba was given. 1786 1356 if test "${enable_corba+set}" = set; then 1787 enableval=$enable_corba; USE_CORBA=1 1357 enableval="$enable_corba" 1358 USE_CORBA=1 1788 1359 else 1789 1360 USE_CORBA=0 1790 fi 1791 1361 fi; 1792 1362 cat >>confdefs.h <<_ACEOF 1793 1363 #define USE_CORBA $USE_CORBA … … 1797 1367 1798 1368 1799 # Check whether --with-micodir was given.1369 # Check whether --with-micodir or --without-micodir was given. 1800 1370 if test "${with_micodir+set}" = set; then 1801 withval=$with_micodir; MICO_DIR=$enableval 1371 withval="$with_micodir" 1372 MICO_DIR=$enableval 1802 1373 else 1803 1374 MICO_DIR="default" 1804 fi 1805 1375 fi; 1806 1376 cat >>confdefs.h <<_ACEOF 1807 1377 #define MICO_DIR "$MICO_DIR" … … 1810 1380 1811 1381 1812 # Check whether --enable-z3950 was given.1382 # Check whether --enable-z3950 or --disable-z3950 was given. 1813 1383 if test "${enable_z3950+set}" = set; then 1814 enableval=$enable_z3950; USE_Z3950=1 1384 enableval="$enable_z3950" 1385 USE_Z3950=1 1815 1386 else 1816 1387 USE_Z3950=0 1817 fi 1818 1388 fi; 1819 1389 if test USE_Z3950 = 1; then 1820 1390 cat >>confdefs.h <<\_ACEOF … … 1825 1395 fi 1826 1396 1827 # Check whether --enable-yaz was given.1397 # Check whether --enable-yaz or --disable-yaz was given. 1828 1398 if test "${enable_yaz+set}" = set; then 1829 enableval=$enable_yaz; USE_YAZ=0 1399 enableval="$enable_yaz" 1400 USE_YAZ=0 1830 1401 else 1831 1402 USE_YAZ=1 1832 fi 1833 1403 fi; 1834 1404 cat >>confdefs.h <<\_ACEOF 1835 1405 #define USE_YAZ $USE_YAZ … … 1838 1408 1839 1409 1840 # Check whether --enable-accentfold was given.1410 # Check whether --enable-accentfold or --disable-accentfold was given. 1841 1411 if test "${enable_accentfold+set}" = set; then 1842 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0 1412 enableval="$enable_accentfold" 1413 ENABLE_ACCENTFOLD=0 1843 1414 else 1844 1415 ENABLE_ACCENTFOLD=1 1845 fi 1846 1416 fi; 1847 1417 cat >>confdefs.h <<\_ACEOF 1848 1418 #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD … … 1851 1421 1852 1422 1853 # Check whether --enable-sqlite was given.1423 # Check whether --enable-sqlite or --disable-sqlite was given. 1854 1424 if test "${enable_sqlite+set}" = set; then 1855 enableval=$enable_sqlite; USE_SQLITE=0 1425 enableval="$enable_sqlite" 1426 USE_SQLITE=0 1856 1427 else 1857 1428 USE_SQLITE=1 1858 fi 1859 1429 fi; 1860 1430 cat >>confdefs.h <<\_ACEOF 1861 1431 #define USE_SQLITE $USE_SQLITE … … 1864 1434 1865 1435 1866 # Check whether --enable-apache-httpd was given.1436 # Check whether --enable-apache-httpd or --disable-apache-httpd was given. 1867 1437 if test "${enable_apache_httpd+set}" = set; then 1868 enableval=$enable_apache_httpd; USE_APACHE_HTTPD=0 1869 else 1438 enableval="$enable_apache_httpd" 1870 1439 USE_APACHE_HTTPD=1 1871 fi 1872 1440 else 1441 USE_APACHE_HTTPD=0 1442 fi; 1873 1443 cat >>confdefs.h <<\_ACEOF 1874 1444 #define USE_APACHE_HTTPD $USE_APACHE_HTTPD … … 1894 1464 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1895 1465 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1896 {echo "$as_me:$LINENO: checking for $ac_word" >&51897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1466 echo "$as_me:$LINENO: checking for $ac_word" >&5 1467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1898 1468 if test "${ac_cv_prog_CC+set}" = set; then 1899 1469 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1908 1478 test -z "$as_dir" && as_dir=. 1909 1479 for ac_exec_ext in '' $ac_executable_extensions; do 1910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1911 1481 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1912 1482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1915 1485 done 1916 1486 done 1917 IFS=$as_save_IFS1918 1487 1919 1488 fi … … 1921 1490 CC=$ac_cv_prog_CC 1922 1491 if test -n "$CC"; then 1923 { echo "$as_me:$LINENO: result: $CC" >&5 1924 echo "${ECHO_T}$CC" >&6; } 1925 else 1926 { echo "$as_me:$LINENO: result: no" >&5 1927 echo "${ECHO_T}no" >&6; } 1928 fi 1929 1492 echo "$as_me:$LINENO: result: $CC" >&5 1493 echo "${ECHO_T}$CC" >&6 1494 else 1495 echo "$as_me:$LINENO: result: no" >&5 1496 echo "${ECHO_T}no" >&6 1497 fi 1930 1498 1931 1499 fi … … 1934 1502 # Extract the first word of "gcc", so it can be a program name with args. 1935 1503 set dummy gcc; ac_word=$2 1936 {echo "$as_me:$LINENO: checking for $ac_word" >&51937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1504 echo "$as_me:$LINENO: checking for $ac_word" >&5 1505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1938 1506 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1939 1507 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1948 1516 test -z "$as_dir" && as_dir=. 1949 1517 for ac_exec_ext in '' $ac_executable_extensions; do 1950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1951 1519 ac_cv_prog_ac_ct_CC="gcc" 1952 1520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1955 1523 done 1956 1524 done 1957 IFS=$as_save_IFS1958 1525 1959 1526 fi … … 1961 1528 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1962 1529 if test -n "$ac_ct_CC"; then 1963 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1964 echo "${ECHO_T}$ac_ct_CC" >&6; } 1965 else 1966 { echo "$as_me:$LINENO: result: no" >&5 1967 echo "${ECHO_T}no" >&6; } 1968 fi 1969 1970 if test "x$ac_ct_CC" = x; then 1971 CC="" 1972 else 1973 case $cross_compiling:$ac_tool_warned in 1974 yes:) 1975 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1976 whose name does not start with the host triplet. If you think this 1977 configuration is useful to you, please write to autoconf@gnu.org." >&5 1978 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1979 whose name does not start with the host triplet. If you think this 1980 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 1981 ac_tool_warned=yes ;; 1982 esac 1983 CC=$ac_ct_CC 1984 fi 1530 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1531 echo "${ECHO_T}$ac_ct_CC" >&6 1532 else 1533 echo "$as_me:$LINENO: result: no" >&5 1534 echo "${ECHO_T}no" >&6 1535 fi 1536 1537 CC=$ac_ct_CC 1985 1538 else 1986 1539 CC="$ac_cv_prog_CC" … … 1988 1541 1989 1542 if test -z "$CC"; then 1990 1991 1543 if test -n "$ac_tool_prefix"; then 1544 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1992 1545 set dummy ${ac_tool_prefix}cc; ac_word=$2 1993 {echo "$as_me:$LINENO: checking for $ac_word" >&51994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1546 echo "$as_me:$LINENO: checking for $ac_word" >&5 1547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1995 1548 if test "${ac_cv_prog_CC+set}" = set; then 1996 1549 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2005 1558 test -z "$as_dir" && as_dir=. 2006 1559 for ac_exec_ext in '' $ac_executable_extensions; do 2007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2008 1561 ac_cv_prog_CC="${ac_tool_prefix}cc" 2009 1562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2012 1565 done 2013 1566 done 2014 IFS=$as_save_IFS2015 1567 2016 1568 fi … … 2018 1570 CC=$ac_cv_prog_CC 2019 1571 if test -n "$CC"; then 2020 { echo "$as_me:$LINENO: result: $CC" >&5 2021 echo "${ECHO_T}$CC" >&6; } 2022 else 2023 { echo "$as_me:$LINENO: result: no" >&5 2024 echo "${ECHO_T}no" >&6; } 2025 fi 2026 2027 1572 echo "$as_me:$LINENO: result: $CC" >&5 1573 echo "${ECHO_T}$CC" >&6 1574 else 1575 echo "$as_me:$LINENO: result: no" >&5 1576 echo "${ECHO_T}no" >&6 1577 fi 1578 1579 fi 1580 if test -z "$ac_cv_prog_CC"; then 1581 ac_ct_CC=$CC 1582 # Extract the first word of "cc", so it can be a program name with args. 1583 set dummy cc; ac_word=$2 1584 echo "$as_me:$LINENO: checking for $ac_word" >&5 1585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1586 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1587 echo $ECHO_N "(cached) $ECHO_C" >&6 1588 else 1589 if test -n "$ac_ct_CC"; then 1590 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1591 else 1592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1593 for as_dir in $PATH 1594 do 1595 IFS=$as_save_IFS 1596 test -z "$as_dir" && as_dir=. 1597 for ac_exec_ext in '' $ac_executable_extensions; do 1598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1599 ac_cv_prog_ac_ct_CC="cc" 1600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1601 break 2 2028 1602 fi 1603 done 1604 done 1605 1606 fi 1607 fi 1608 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1609 if test -n "$ac_ct_CC"; then 1610 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1611 echo "${ECHO_T}$ac_ct_CC" >&6 1612 else 1613 echo "$as_me:$LINENO: result: no" >&5 1614 echo "${ECHO_T}no" >&6 1615 fi 1616 1617 CC=$ac_ct_CC 1618 else 1619 CC="$ac_cv_prog_CC" 1620 fi 1621 2029 1622 fi 2030 1623 if test -z "$CC"; then 2031 1624 # Extract the first word of "cc", so it can be a program name with args. 2032 1625 set dummy cc; ac_word=$2 2033 {echo "$as_me:$LINENO: checking for $ac_word" >&52034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1626 echo "$as_me:$LINENO: checking for $ac_word" >&5 1627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2035 1628 if test "${ac_cv_prog_CC+set}" = set; then 2036 1629 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2046 1639 test -z "$as_dir" && as_dir=. 2047 1640 for ac_exec_ext in '' $ac_executable_extensions; do 2048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2049 1642 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2050 1643 ac_prog_rejected=yes … … 2057 1650 done 2058 1651 done 2059 IFS=$as_save_IFS2060 1652 2061 1653 if test $ac_prog_rejected = yes; then … … 2075 1667 CC=$ac_cv_prog_CC 2076 1668 if test -n "$CC"; then 2077 { echo "$as_me:$LINENO: result: $CC" >&5 2078 echo "${ECHO_T}$CC" >&6; } 2079 else 2080 { echo "$as_me:$LINENO: result: no" >&5 2081 echo "${ECHO_T}no" >&6; } 2082 fi 2083 1669 echo "$as_me:$LINENO: result: $CC" >&5 1670 echo "${ECHO_T}$CC" >&6 1671 else 1672 echo "$as_me:$LINENO: result: no" >&5 1673 echo "${ECHO_T}no" >&6 1674 fi 2084 1675 2085 1676 fi 2086 1677 if test -z "$CC"; then 2087 1678 if test -n "$ac_tool_prefix"; then 2088 for ac_prog in cl .exe1679 for ac_prog in cl 2089 1680 do 2090 1681 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2091 1682 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2092 {echo "$as_me:$LINENO: checking for $ac_word" >&52093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1683 echo "$as_me:$LINENO: checking for $ac_word" >&5 1684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2094 1685 if test "${ac_cv_prog_CC+set}" = set; then 2095 1686 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2104 1695 test -z "$as_dir" && as_dir=. 2105 1696 for ac_exec_ext in '' $ac_executable_extensions; do 2106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2107 1698 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2108 1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2111 1702 done 2112 1703 done 2113 IFS=$as_save_IFS2114 1704 2115 1705 fi … … 2117 1707 CC=$ac_cv_prog_CC 2118 1708 if test -n "$CC"; then 2119 { echo "$as_me:$LINENO: result: $CC" >&5 2120 echo "${ECHO_T}$CC" >&6; } 2121 else 2122 { echo "$as_me:$LINENO: result: no" >&5 2123 echo "${ECHO_T}no" >&6; } 2124 fi 2125 1709 echo "$as_me:$LINENO: result: $CC" >&5 1710 echo "${ECHO_T}$CC" >&6 1711 else 1712 echo "$as_me:$LINENO: result: no" >&5 1713 echo "${ECHO_T}no" >&6 1714 fi 2126 1715 2127 1716 test -n "$CC" && break … … 2130 1719 if test -z "$CC"; then 2131 1720 ac_ct_CC=$CC 2132 for ac_prog in cl .exe1721 for ac_prog in cl 2133 1722 do 2134 1723 # Extract the first word of "$ac_prog", so it can be a program name with args. 2135 1724 set dummy $ac_prog; ac_word=$2 2136 {echo "$as_me:$LINENO: checking for $ac_word" >&52137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }1725 echo "$as_me:$LINENO: checking for $ac_word" >&5 1726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2138 1727 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2139 1728 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2148 1737 test -z "$as_dir" && as_dir=. 2149 1738 for ac_exec_ext in '' $ac_executable_extensions; do 2150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2151 1740 ac_cv_prog_ac_ct_CC="$ac_prog" 2152 1741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2155 1744 done 2156 1745 done 2157 IFS=$as_save_IFS2158 1746 2159 1747 fi … … 2161 1749 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2162 1750 if test -n "$ac_ct_CC"; then 2163 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2164 echo "${ECHO_T}$ac_ct_CC" >&6; } 2165 else 2166 { echo "$as_me:$LINENO: result: no" >&5 2167 echo "${ECHO_T}no" >&6; } 2168 fi 2169 1751 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1752 echo "${ECHO_T}$ac_ct_CC" >&6 1753 else 1754 echo "$as_me:$LINENO: result: no" >&5 1755 echo "${ECHO_T}no" >&6 1756 fi 2170 1757 2171 1758 test -n "$ac_ct_CC" && break 2172 1759 done 2173 1760 2174 if test "x$ac_ct_CC" = x; then 2175 CC="" 2176 else 2177 case $cross_compiling:$ac_tool_warned in 2178 yes:) 2179 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2180 whose name does not start with the host triplet. If you think this 2181 configuration is useful to you, please write to autoconf@gnu.org." >&5 2182 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2183 whose name does not start with the host triplet. If you think this 2184 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2185 ac_tool_warned=yes ;; 2186 esac 2187 CC=$ac_ct_CC 2188 fi 1761 CC=$ac_ct_CC 2189 1762 fi 2190 1763 … … 2199 1772 2200 1773 # Provide some information about the compiler. 2201 echo "$as_me:$LINENO: checking for C compiler version" >&5 1774 echo "$as_me:$LINENO:" \ 1775 "checking for C compiler version" >&5 2202 1776 ac_compiler=`set X $ac_compile; echo $2` 2203 { (ac_try="$ac_compiler --version >&5" 2204 case "(($ac_try" in 2205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2206 *) ac_try_echo=$ac_try;; 2207 esac 2208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2209 (eval "$ac_compiler --version >&5") 2>&5 1777 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1778 (eval $ac_compiler --version </dev/null >&5) 2>&5 2210 1779 ac_status=$? 2211 1780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2212 1781 (exit $ac_status); } 2213 { (ac_try="$ac_compiler -v >&5" 2214 case "(($ac_try" in 2215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2216 *) ac_try_echo=$ac_try;; 2217 esac 2218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2219 (eval "$ac_compiler -v >&5") 2>&5 1782 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1783 (eval $ac_compiler -v </dev/null >&5) 2>&5 2220 1784 ac_status=$? 2221 1785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2222 1786 (exit $ac_status); } 2223 { (ac_try="$ac_compiler -V >&5" 2224 case "(($ac_try" in 2225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2226 *) ac_try_echo=$ac_try;; 2227 esac 2228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2229 (eval "$ac_compiler -V >&5") 2>&5 1787 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1788 (eval $ac_compiler -V </dev/null >&5) 2>&5 2230 1789 ac_status=$? 2231 1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2252 1811 # It will help us diagnose broken compilers, and finding out an intuition 2253 1812 # of exeext. 2254 {echo "$as_me:$LINENO: checking for C compiler default output file name" >&52255 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 ; }1813 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1814 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2256 1815 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2257 # 2258 # List of possible output files, starting from the most likely. 2259 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2260 # only as a last resort. b.out is created by i960 compilers. 2261 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2262 # 2263 # The IRIX 6 linker writes into existing files which may not be 2264 # executable, retaining their permissions. Remove them first so a 2265 # subsequent execution test works. 2266 ac_rmfiles= 2267 for ac_file in $ac_files 2268 do 2269 case $ac_file in 2270 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2271 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2272 esac 2273 done 2274 rm -f $ac_rmfiles 2275 2276 if { (ac_try="$ac_link_default" 2277 case "(($ac_try" in 2278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2279 *) ac_try_echo=$ac_try;; 2280 esac 2281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2282 (eval "$ac_link_default") 2>&5 1816 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1817 (eval $ac_link_default) 2>&5 2283 1818 ac_status=$? 2284 1819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2285 1820 (exit $ac_status); }; then 2286 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2287 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2288 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2289 # so that the user can short-circuit this test for compilers unknown to 2290 # Autoconf. 2291 for ac_file in $ac_files '' 1821 # Find the output, starting from the most likely. This scheme is 1822 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1823 # resort. 1824 1825 # Be careful to initialize this variable, since it used to be cached. 1826 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1827 ac_cv_exeext= 1828 # b.out is created by i960 compilers. 1829 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2292 1830 do 2293 1831 test -f "$ac_file" || continue 2294 1832 case $ac_file in 2295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 1833 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1834 ;; 1835 conftest.$ac_ext ) 1836 # This is the source file. 2296 1837 ;; 2297 1838 [ab].out ) … … 2300 1841 break;; 2301 1842 *.* ) 2302 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2303 then :; else 2304 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2305 fi 2306 # We set ac_cv_exeext here because the later test for it is not 2307 # safe: cross compilers may not add the suffix if given an `-o' 2308 # argument, so we may need to know it at that point already. 2309 # Even if this section looks crufty: it has the advantage of 2310 # actually working. 1843 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1844 # FIXME: I believe we export ac_cv_exeext for Libtool, 1845 # but it would be cool to find out if it's true. Does anybody 1846 # maintain Libtool? --akim. 1847 export ac_cv_exeext 2311 1848 break;; 2312 1849 * ) … … 2314 1851 esac 2315 1852 done 2316 test "$ac_cv_exeext" = no && ac_cv_exeext= 2317 2318 else 2319 ac_file='' 2320 fi 2321 2322 { echo "$as_me:$LINENO: result: $ac_file" >&5 2323 echo "${ECHO_T}$ac_file" >&6; } 2324 if test -z "$ac_file"; then 1853 else 2325 1854 echo "$as_me: failed program was:" >&5 2326 1855 sed 's/^/| /' conftest.$ac_ext >&5 … … 2334 1863 2335 1864 ac_exeext=$ac_cv_exeext 2336 2337 # Check that the compiler produces executables we can run. If not, either 1865 echo "$as_me:$LINENO: result: $ac_file" >&5 1866 echo "${ECHO_T}$ac_file" >&6 1867 1868 # Check the compiler produces executables we can run. If not, either 2338 1869 # the compiler is broken, or we cross compile. 2339 {echo "$as_me:$LINENO: checking whether the C compiler works" >&52340 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 ; }1870 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1871 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2341 1872 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2342 1873 # If not cross compiling, check that we can run a simple program. 2343 1874 if test "$cross_compiling" != yes; then 2344 1875 if { ac_try='./$ac_file' 2345 { (case "(($ac_try" in 2346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2347 *) ac_try_echo=$ac_try;; 2348 esac 2349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2350 (eval "$ac_try") 2>&5 1876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1877 (eval $ac_try) 2>&5 2351 1878 ac_status=$? 2352 1879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2367 1894 fi 2368 1895 fi 2369 {echo "$as_me:$LINENO: result: yes" >&52370 echo "${ECHO_T}yes" >&6 ; }1896 echo "$as_me:$LINENO: result: yes" >&5 1897 echo "${ECHO_T}yes" >&6 2371 1898 2372 1899 rm -f a.out a.exe conftest$ac_cv_exeext b.out 2373 1900 ac_clean_files=$ac_clean_files_save 2374 # Check th at the compiler produces executables we can run. If not, either1901 # Check the compiler produces executables we can run. If not, either 2375 1902 # the compiler is broken, or we cross compile. 2376 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2377 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2378 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2379 echo "${ECHO_T}$cross_compiling" >&6; } 2380 2381 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2382 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2383 if { (ac_try="$ac_link" 2384 case "(($ac_try" in 2385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2386 *) ac_try_echo=$ac_try;; 2387 esac 2388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2389 (eval "$ac_link") 2>&5 1903 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1904 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1905 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1906 echo "${ECHO_T}$cross_compiling" >&6 1907 1908 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1909 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1911 (eval $ac_link) 2>&5 2390 1912 ac_status=$? 2391 1913 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 2398 1920 test -f "$ac_file" || continue 2399 1921 case $ac_file in 2400 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. map | *.inf | *.o | *.obj ) ;;1922 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2401 1923 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1924 export ac_cv_exeext 2402 1925 break;; 2403 1926 * ) break;; … … 2413 1936 2414 1937 rm -f conftest$ac_cv_exeext 2415 {echo "$as_me:$LINENO: result: $ac_cv_exeext" >&52416 echo "${ECHO_T}$ac_cv_exeext" >&6 ; }1938 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1939 echo "${ECHO_T}$ac_cv_exeext" >&6 2417 1940 2418 1941 rm -f conftest.$ac_ext 2419 1942 EXEEXT=$ac_cv_exeext 2420 1943 ac_exeext=$EXEEXT 2421 {echo "$as_me:$LINENO: checking for suffix of object files" >&52422 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 ; }1944 echo "$as_me:$LINENO: checking for suffix of object files" >&5 1945 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2423 1946 if test "${ac_cv_objext+set}" = set; then 2424 1947 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2440 1963 _ACEOF 2441 1964 rm -f conftest.o conftest.obj 2442 if { (ac_try="$ac_compile" 2443 case "(($ac_try" in 2444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2445 *) ac_try_echo=$ac_try;; 2446 esac 2447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2448 (eval "$ac_compile") 2>&5 1965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1966 (eval $ac_compile) 2>&5 2449 1967 ac_status=$? 2450 1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2451 1969 (exit $ac_status); }; then 2452 for ac_file in conftest.o conftest.obj conftest.*; do 2453 test -f "$ac_file" || continue; 1970 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2454 1971 case $ac_file in 2455 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf) ;;1972 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2456 1973 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2457 1974 break;; … … 2471 1988 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2472 1989 fi 2473 {echo "$as_me:$LINENO: result: $ac_cv_objext" >&52474 echo "${ECHO_T}$ac_cv_objext" >&6 ; }1990 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 1991 echo "${ECHO_T}$ac_cv_objext" >&6 2475 1992 OBJEXT=$ac_cv_objext 2476 1993 ac_objext=$OBJEXT 2477 {echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&52478 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 ; }1994 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 1995 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2479 1996 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2480 1997 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2499 2016 _ACEOF 2500 2017 rm -f conftest.$ac_objext 2501 if { (ac_try="$ac_compile" 2502 case "(($ac_try" in 2503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2504 *) ac_try_echo=$ac_try;; 2505 esac 2506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2507 (eval "$ac_compile") 2>conftest.er1 2018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2019 (eval $ac_compile) 2>conftest.er1 2508 2020 ac_status=$? 2509 2021 grep -v '^ *+' conftest.er1 >conftest.err … … 2511 2023 cat conftest.err >&5 2512 2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2513 (exit $ac_status); } && { 2514 test -z "$ac_c_werror_flag" || 2515 test ! -s conftest.err 2516 } && test -s conftest.$ac_objext; then 2025 (exit $ac_status); } && 2026 { ac_try='test -z "$ac_c_werror_flag" 2027 || test ! -s conftest.err' 2028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2029 (eval $ac_try) 2>&5 2030 ac_status=$? 2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2032 (exit $ac_status); }; } && 2033 { ac_try='test -s conftest.$ac_objext' 2034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2035 (eval $ac_try) 2>&5 2036 ac_status=$? 2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2038 (exit $ac_status); }; }; then 2517 2039 ac_compiler_gnu=yes 2518 2040 else … … 2520 2042 sed 's/^/| /' conftest.$ac_ext >&5 2521 2043 2522 ac_compiler_gnu=no 2523 fi 2524 2525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2044 ac_compiler_gnu=no 2045 fi 2046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2526 2047 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2527 2048 2528 2049 fi 2529 {echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52530 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 ; }2050 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2051 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2531 2052 GCC=`test $ac_compiler_gnu = yes && echo yes` 2532 2053 ac_test_CFLAGS=${CFLAGS+set} 2533 2054 ac_save_CFLAGS=$CFLAGS 2534 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2535 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2055 CFLAGS="-g" 2056 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2057 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2536 2058 if test "${ac_cv_prog_cc_g+set}" = set; then 2537 2059 echo $ECHO_N "(cached) $ECHO_C" >&6 2538 2060 else 2539 ac_save_c_werror_flag=$ac_c_werror_flag 2540 ac_c_werror_flag=yes 2541 ac_cv_prog_cc_g=no 2542 CFLAGS="-g" 2543 cat >conftest.$ac_ext <<_ACEOF 2061 cat >conftest.$ac_ext <<_ACEOF 2544 2062 /* confdefs.h. */ 2545 2063 _ACEOF … … 2557 2075 _ACEOF 2558 2076 rm -f conftest.$ac_objext 2559 if { (ac_try="$ac_compile" 2560 case "(($ac_try" in 2561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2562 *) ac_try_echo=$ac_try;; 2563 esac 2564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2565 (eval "$ac_compile") 2>conftest.er1 2077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2078 (eval $ac_compile) 2>conftest.er1 2566 2079 ac_status=$? 2567 2080 grep -v '^ *+' conftest.er1 >conftest.err … … 2569 2082 cat conftest.err >&5 2570 2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2571 (exit $ac_status); } && { 2572 test -z "$ac_c_werror_flag" || 2573 test ! -s conftest.err 2574 } && test -s conftest.$ac_objext; then 2084 (exit $ac_status); } && 2085 { ac_try='test -z "$ac_c_werror_flag" 2086 || test ! -s conftest.err' 2087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2088 (eval $ac_try) 2>&5 2089 ac_status=$? 2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2091 (exit $ac_status); }; } && 2092 { ac_try='test -s conftest.$ac_objext' 2093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2094 (eval $ac_try) 2>&5 2095 ac_status=$? 2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2097 (exit $ac_status); }; }; then 2575 2098 ac_cv_prog_cc_g=yes 2576 2099 else … … 2578 2101 sed 's/^/| /' conftest.$ac_ext >&5 2579 2102 2580 CFLAGS="" 2581 cat >conftest.$ac_ext <<_ACEOF 2582 /* confdefs.h. */ 2583 _ACEOF 2584 cat confdefs.h >>conftest.$ac_ext 2585 cat >>conftest.$ac_ext <<_ACEOF 2586 /* end confdefs.h. */ 2587 2588 int 2589 main () 2590 { 2591 2592 ; 2593 return 0; 2594 } 2595 _ACEOF 2596 rm -f conftest.$ac_objext 2597 if { (ac_try="$ac_compile" 2598 case "(($ac_try" in 2599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2600 *) ac_try_echo=$ac_try;; 2601 esac 2602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2603 (eval "$ac_compile") 2>conftest.er1 2604 ac_status=$? 2605 grep -v '^ *+' conftest.er1 >conftest.err 2606 rm -f conftest.er1 2607 cat conftest.err >&5 2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2609 (exit $ac_status); } && { 2610 test -z "$ac_c_werror_flag" || 2611 test ! -s conftest.err 2612 } && test -s conftest.$ac_objext; then 2613 : 2614 else 2615 echo "$as_me: failed program was:" >&5 2616 sed 's/^/| /' conftest.$ac_ext >&5 2617 2618 ac_c_werror_flag=$ac_save_c_werror_flag 2619 CFLAGS="-g" 2620 cat >conftest.$ac_ext <<_ACEOF 2621 /* confdefs.h. */ 2622 _ACEOF 2623 cat confdefs.h >>conftest.$ac_ext 2624 cat >>conftest.$ac_ext <<_ACEOF 2625 /* end confdefs.h. */ 2626 2627 int 2628 main () 2629 { 2630 2631 ; 2632 return 0; 2633 } 2634 _ACEOF 2635 rm -f conftest.$ac_objext 2636 if { (ac_try="$ac_compile" 2637 case "(($ac_try" in 2638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2639 *) ac_try_echo=$ac_try;; 2640 esac 2641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2642 (eval "$ac_compile") 2>conftest.er1 2643 ac_status=$? 2644 grep -v '^ *+' conftest.er1 >conftest.err 2645 rm -f conftest.er1 2646 cat conftest.err >&5 2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2648 (exit $ac_status); } && { 2649 test -z "$ac_c_werror_flag" || 2650 test ! -s conftest.err 2651 } && test -s conftest.$ac_objext; then 2652 ac_cv_prog_cc_g=yes 2653 else 2654 echo "$as_me: failed program was:" >&5 2655 sed 's/^/| /' conftest.$ac_ext >&5 2656 2657 2658 fi 2659 2660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2661 fi 2662 2663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2664 fi 2665 2666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2667 ac_c_werror_flag=$ac_save_c_werror_flag 2668 fi 2669 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2670 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2103 ac_cv_prog_cc_g=no 2104 fi 2105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2106 fi 2107 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2108 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2671 2109 if test "$ac_test_CFLAGS" = set; then 2672 2110 CFLAGS=$ac_save_CFLAGS … … 2684 2122 fi 2685 2123 fi 2686 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&52687 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }2688 if test "${ac_cv_prog_cc_ c89+set}" = set; then2124 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2125 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2126 if test "${ac_cv_prog_cc_stdc+set}" = set; then 2689 2127 echo $ECHO_N "(cached) $ECHO_C" >&6 2690 2128 else 2691 ac_cv_prog_cc_ c89=no2129 ac_cv_prog_cc_stdc=no 2692 2130 ac_save_CC=$CC 2693 2131 cat >conftest.$ac_ext <<_ACEOF … … 2723 2161 function prototypes and stuff, but not '\xHH' hex character constants. 2724 2162 These don't provoke an error unfortunately, instead are silently treated 2725 as 'x'. The following induces an error, until -std is added to get2163 as 'x'. The following induces an error, until -std1 is added to get 2726 2164 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2727 2165 array size at least. It's necessary to write '\x00'==0 to get something 2728 that's true only with -std . */2166 that's true only with -std1. */ 2729 2167 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2730 2731 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters2732 inside strings and character constants. */2733 #define FOO(x) 'x'2734 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];2735 2168 2736 2169 int test (int i, double x); … … 2748 2181 } 2749 2182 _ACEOF 2750 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2751 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2183 # Don't try gcc -ansi; that turns off useful extensions and 2184 # breaks some systems' header files. 2185 # AIX -qlanglvl=ansi 2186 # Ultrix and OSF/1 -std1 2187 # HP-UX 10.20 and later -Ae 2188 # HP-UX older versions -Aa -D_HPUX_SOURCE 2189 # SVR4 -Xc -D__EXTENSIONS__ 2190 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2752 2191 do 2753 2192 CC="$ac_save_CC $ac_arg" 2754 2193 rm -f conftest.$ac_objext 2755 if { (ac_try="$ac_compile" 2756 case "(($ac_try" in 2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2758 *) ac_try_echo=$ac_try;; 2759 esac 2760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2761 (eval "$ac_compile") 2>conftest.er1 2194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2195 (eval $ac_compile) 2>conftest.er1 2762 2196 ac_status=$? 2763 2197 grep -v '^ *+' conftest.er1 >conftest.err … … 2765 2199 cat conftest.err >&5 2766 2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2767 (exit $ac_status); } && { 2768 test -z "$ac_c_werror_flag" || 2769 test ! -s conftest.err 2770 } && test -s conftest.$ac_objext; then 2771 ac_cv_prog_cc_c89=$ac_arg 2201 (exit $ac_status); } && 2202 { ac_try='test -z "$ac_c_werror_flag" 2203 || test ! -s conftest.err' 2204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2205 (eval $ac_try) 2>&5 2206 ac_status=$? 2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2208 (exit $ac_status); }; } && 2209 { ac_try='test -s conftest.$ac_objext' 2210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2211 (eval $ac_try) 2>&5 2212 ac_status=$? 2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2214 (exit $ac_status); }; }; then 2215 ac_cv_prog_cc_stdc=$ac_arg 2216 break 2772 2217 else 2773 2218 echo "$as_me: failed program was:" >&5 2774 2219 sed 's/^/| /' conftest.$ac_ext >&5 2775 2220 2776 2777 fi 2778 2779 rm -f core conftest.err conftest.$ac_objext 2780 test "x$ac_cv_prog_cc_c89" != "xno" && break 2221 fi 2222 rm -f conftest.err conftest.$ac_objext 2781 2223 done 2782 rm -f conftest.$ac_ext 2224 rm -f conftest.$ac_ext conftest.$ac_objext 2783 2225 CC=$ac_save_CC 2784 2226 2785 2227 fi 2786 # AC_CACHE_VAL 2787 case "x$ac_cv_prog_cc_c89" in 2788 x) 2789 { echo "$as_me:$LINENO: result: none needed" >&5 2790 echo "${ECHO_T}none needed" >&6; } ;; 2791 xno) 2792 { echo "$as_me:$LINENO: result: unsupported" >&5 2793 echo "${ECHO_T}unsupported" >&6; } ;; 2228 2229 case "x$ac_cv_prog_cc_stdc" in 2230 x|xno) 2231 echo "$as_me:$LINENO: result: none needed" >&5 2232 echo "${ECHO_T}none needed" >&6 ;; 2794 2233 *) 2795 CC="$CC $ac_cv_prog_cc_c89"2796 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2797 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; };;2234 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2235 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2236 CC="$CC $ac_cv_prog_cc_stdc" ;; 2798 2237 esac 2799 2238 2800 2239 # Some people use a C++ compiler to compile C. Since we use `exit', 2240 # in C++ we need to declare it. In case someone uses the same compiler 2241 # for both compiling C and C++ we need to have the C++ compiler decide 2242 # the declaration of exit, since it's the most demanding environment. 2243 cat >conftest.$ac_ext <<_ACEOF 2244 #ifndef __cplusplus 2245 choke me 2246 #endif 2247 _ACEOF 2248 rm -f conftest.$ac_objext 2249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2250 (eval $ac_compile) 2>conftest.er1 2251 ac_status=$? 2252 grep -v '^ *+' conftest.er1 >conftest.err 2253 rm -f conftest.er1 2254 cat conftest.err >&5 2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2256 (exit $ac_status); } && 2257 { ac_try='test -z "$ac_c_werror_flag" 2258 || test ! -s conftest.err' 2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2260 (eval $ac_try) 2>&5 2261 ac_status=$? 2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2263 (exit $ac_status); }; } && 2264 { ac_try='test -s conftest.$ac_objext' 2265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2266 (eval $ac_try) 2>&5 2267 ac_status=$? 2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2269 (exit $ac_status); }; }; then 2270 for ac_declaration in \ 2271 '' \ 2272 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2273 'extern "C" void std::exit (int); using std::exit;' \ 2274 'extern "C" void exit (int) throw ();' \ 2275 'extern "C" void exit (int);' \ 2276 'void exit (int);' 2277 do 2278 cat >conftest.$ac_ext <<_ACEOF 2279 /* confdefs.h. */ 2280 _ACEOF 2281 cat confdefs.h >>conftest.$ac_ext 2282 cat >>conftest.$ac_ext <<_ACEOF 2283 /* end confdefs.h. */ 2284 $ac_declaration 2285 #include <stdlib.h> 2286 int 2287 main () 2288 { 2289 exit (42); 2290 ; 2291 return 0; 2292 } 2293 _ACEOF 2294 rm -f conftest.$ac_objext 2295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2296 (eval $ac_compile) 2>conftest.er1 2297 ac_status=$? 2298 grep -v '^ *+' conftest.er1 >conftest.err 2299 rm -f conftest.er1 2300 cat conftest.err >&5 2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2302 (exit $ac_status); } && 2303 { ac_try='test -z "$ac_c_werror_flag" 2304 || test ! -s conftest.err' 2305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2306 (eval $ac_try) 2>&5 2307 ac_status=$? 2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2309 (exit $ac_status); }; } && 2310 { ac_try='test -s conftest.$ac_objext' 2311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2312 (eval $ac_try) 2>&5 2313 ac_status=$? 2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2315 (exit $ac_status); }; }; then 2316 : 2317 else 2318 echo "$as_me: failed program was:" >&5 2319 sed 's/^/| /' conftest.$ac_ext >&5 2320 2321 continue 2322 fi 2323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2324 cat >conftest.$ac_ext <<_ACEOF 2325 /* confdefs.h. */ 2326 _ACEOF 2327 cat confdefs.h >>conftest.$ac_ext 2328 cat >>conftest.$ac_ext <<_ACEOF 2329 /* end confdefs.h. */ 2330 $ac_declaration 2331 int 2332 main () 2333 { 2334 exit (42); 2335 ; 2336 return 0; 2337 } 2338 _ACEOF 2339 rm -f conftest.$ac_objext 2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2341 (eval $ac_compile) 2>conftest.er1 2342 ac_status=$? 2343 grep -v '^ *+' conftest.er1 >conftest.err 2344 rm -f conftest.er1 2345 cat conftest.err >&5 2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2347 (exit $ac_status); } && 2348 { ac_try='test -z "$ac_c_werror_flag" 2349 || test ! -s conftest.err' 2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2351 (eval $ac_try) 2>&5 2352 ac_status=$? 2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2354 (exit $ac_status); }; } && 2355 { ac_try='test -s conftest.$ac_objext' 2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2357 (eval $ac_try) 2>&5 2358 ac_status=$? 2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2360 (exit $ac_status); }; }; then 2361 break 2362 else 2363 echo "$as_me: failed program was:" >&5 2364 sed 's/^/| /' conftest.$ac_ext >&5 2365 2366 fi 2367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2368 done 2369 rm -f conftest* 2370 if test -n "$ac_declaration"; then 2371 echo '#ifdef __cplusplus' >>confdefs.h 2372 echo $ac_declaration >>confdefs.h 2373 echo '#endif' >>confdefs.h 2374 fi 2375 2376 else 2377 echo "$as_me: failed program was:" >&5 2378 sed 's/^/| /' conftest.$ac_ext >&5 2379 2380 fi 2381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2801 2382 ac_ext=c 2802 2383 ac_cpp='$CPP $CPPFLAGS' … … 2805 2386 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2806 2387 2807 ac_ext=c pp2388 ac_ext=cc 2808 2389 ac_cpp='$CXXCPP $CPPFLAGS' 2809 2390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2810 2391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2811 2392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2812 if test -z "$CXX"; then 2813 if test -n "$CCC"; then 2814 CXX=$CCC 2815 else 2816 if test -n "$ac_tool_prefix"; then 2817 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2393 if test -n "$ac_tool_prefix"; then 2394 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2818 2395 do 2819 2396 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2820 2397 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2821 {echo "$as_me:$LINENO: checking for $ac_word" >&52822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2398 echo "$as_me:$LINENO: checking for $ac_word" >&5 2399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2823 2400 if test "${ac_cv_prog_CXX+set}" = set; then 2824 2401 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2833 2410 test -z "$as_dir" && as_dir=. 2834 2411 for ac_exec_ext in '' $ac_executable_extensions; do 2835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2836 2413 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2837 2414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2840 2417 done 2841 2418 done 2842 IFS=$as_save_IFS2843 2419 2844 2420 fi … … 2846 2422 CXX=$ac_cv_prog_CXX 2847 2423 if test -n "$CXX"; then 2848 { echo "$as_me:$LINENO: result: $CXX" >&5 2849 echo "${ECHO_T}$CXX" >&6; } 2850 else 2851 { echo "$as_me:$LINENO: result: no" >&5 2852 echo "${ECHO_T}no" >&6; } 2853 fi 2854 2424 echo "$as_me:$LINENO: result: $CXX" >&5 2425 echo "${ECHO_T}$CXX" >&6 2426 else 2427 echo "$as_me:$LINENO: result: no" >&5 2428 echo "${ECHO_T}no" >&6 2429 fi 2855 2430 2856 2431 test -n "$CXX" && break … … 2859 2434 if test -z "$CXX"; then 2860 2435 ac_ct_CXX=$CXX 2861 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exeFCC KCC RCC xlC_r xlC2436 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2862 2437 do 2863 2438 # Extract the first word of "$ac_prog", so it can be a program name with args. 2864 2439 set dummy $ac_prog; ac_word=$2 2865 {echo "$as_me:$LINENO: checking for $ac_word" >&52866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2440 echo "$as_me:$LINENO: checking for $ac_word" >&5 2441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2867 2442 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2868 2443 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2877 2452 test -z "$as_dir" && as_dir=. 2878 2453 for ac_exec_ext in '' $ac_executable_extensions; do 2879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2880 2455 ac_cv_prog_ac_ct_CXX="$ac_prog" 2881 2456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2884 2459 done 2885 2460 done 2886 IFS=$as_save_IFS2887 2461 2888 2462 fi … … 2890 2464 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2891 2465 if test -n "$ac_ct_CXX"; then 2892 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2893 echo "${ECHO_T}$ac_ct_CXX" >&6; } 2894 else 2895 { echo "$as_me:$LINENO: result: no" >&5 2896 echo "${ECHO_T}no" >&6; } 2897 fi 2898 2466 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2467 echo "${ECHO_T}$ac_ct_CXX" >&6 2468 else 2469 echo "$as_me:$LINENO: result: no" >&5 2470 echo "${ECHO_T}no" >&6 2471 fi 2899 2472 2900 2473 test -n "$ac_ct_CXX" && break 2901 2474 done 2902 2903 if test "x$ac_ct_CXX" = x; then 2904 CXX="g++" 2905 else 2906 case $cross_compiling:$ac_tool_warned in 2907 yes:) 2908 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2909 whose name does not start with the host triplet. If you think this 2910 configuration is useful to you, please write to autoconf@gnu.org." >&5 2911 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2912 whose name does not start with the host triplet. If you think this 2913 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2914 ac_tool_warned=yes ;; 2915 esac 2916 CXX=$ac_ct_CXX 2917 fi 2918 fi 2919 2920 fi 2921 fi 2475 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2476 2477 CXX=$ac_ct_CXX 2478 fi 2479 2480 2922 2481 # Provide some information about the compiler. 2923 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 2482 echo "$as_me:$LINENO:" \ 2483 "checking for C++ compiler version" >&5 2924 2484 ac_compiler=`set X $ac_compile; echo $2` 2925 { (ac_try="$ac_compiler --version >&5" 2926 case "(($ac_try" in 2927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2928 *) ac_try_echo=$ac_try;; 2929 esac 2930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2931 (eval "$ac_compiler --version >&5") 2>&5 2485 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2486 (eval $ac_compiler --version </dev/null >&5) 2>&5 2932 2487 ac_status=$? 2933 2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2934 2489 (exit $ac_status); } 2935 { (ac_try="$ac_compiler -v >&5" 2936 case "(($ac_try" in 2937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2938 *) ac_try_echo=$ac_try;; 2939 esac 2940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2941 (eval "$ac_compiler -v >&5") 2>&5 2490 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2491 (eval $ac_compiler -v </dev/null >&5) 2>&5 2942 2492 ac_status=$? 2943 2493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2944 2494 (exit $ac_status); } 2945 { (ac_try="$ac_compiler -V >&5" 2946 case "(($ac_try" in 2947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2948 *) ac_try_echo=$ac_try;; 2949 esac 2950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2951 (eval "$ac_compiler -V >&5") 2>&5 2495 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2496 (eval $ac_compiler -V </dev/null >&5) 2>&5 2952 2497 ac_status=$? 2953 2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2954 2499 (exit $ac_status); } 2955 2500 2956 {echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52957 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 ; }2501 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2502 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2958 2503 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2959 2504 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2978 2523 _ACEOF 2979 2524 rm -f conftest.$ac_objext 2980 if { (ac_try="$ac_compile" 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_compile") 2>conftest.er1 2525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2526 (eval $ac_compile) 2>conftest.er1 2987 2527 ac_status=$? 2988 2528 grep -v '^ *+' conftest.er1 >conftest.err … … 2990 2530 cat conftest.err >&5 2991 2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2992 (exit $ac_status); } && { 2993 test -z "$ac_cxx_werror_flag" || 2994 test ! -s conftest.err 2995 } && test -s conftest.$ac_objext; then 2532 (exit $ac_status); } && 2533 { ac_try='test -z "$ac_cxx_werror_flag" 2534 || test ! -s conftest.err' 2535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2536 (eval $ac_try) 2>&5 2537 ac_status=$? 2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2539 (exit $ac_status); }; } && 2540 { ac_try='test -s conftest.$ac_objext' 2541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2542 (eval $ac_try) 2>&5 2543 ac_status=$? 2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2545 (exit $ac_status); }; }; then 2996 2546 ac_compiler_gnu=yes 2997 2547 else … … 2999 2549 sed 's/^/| /' conftest.$ac_ext >&5 3000 2550 3001 ac_compiler_gnu=no 3002 fi 3003 3004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2551 ac_compiler_gnu=no 2552 fi 2553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3005 2554 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3006 2555 3007 2556 fi 3008 {echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&53009 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 ; }2557 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2558 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 3010 2559 GXX=`test $ac_compiler_gnu = yes && echo yes` 3011 2560 ac_test_CXXFLAGS=${CXXFLAGS+set} 3012 2561 ac_save_CXXFLAGS=$CXXFLAGS 3013 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3014 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 2562 CXXFLAGS="-g" 2563 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2564 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3015 2565 if test "${ac_cv_prog_cxx_g+set}" = set; then 3016 2566 echo $ECHO_N "(cached) $ECHO_C" >&6 3017 2567 else 3018 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3019 ac_cxx_werror_flag=yes 3020 ac_cv_prog_cxx_g=no 3021 CXXFLAGS="-g" 3022 cat >conftest.$ac_ext <<_ACEOF 2568 cat >conftest.$ac_ext <<_ACEOF 3023 2569 /* confdefs.h. */ 3024 2570 _ACEOF … … 3036 2582 _ACEOF 3037 2583 rm -f conftest.$ac_objext 3038 if { (ac_try="$ac_compile" 3039 case "(($ac_try" in 3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3041 *) ac_try_echo=$ac_try;; 3042 esac 3043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3044 (eval "$ac_compile") 2>conftest.er1 2584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2585 (eval $ac_compile) 2>conftest.er1 3045 2586 ac_status=$? 3046 2587 grep -v '^ *+' conftest.er1 >conftest.err … … 3048 2589 cat conftest.err >&5 3049 2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3050 (exit $ac_status); } && { 3051 test -z "$ac_cxx_werror_flag" || 3052 test ! -s conftest.err 3053 } && test -s conftest.$ac_objext; then 2591 (exit $ac_status); } && 2592 { ac_try='test -z "$ac_cxx_werror_flag" 2593 || test ! -s conftest.err' 2594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2595 (eval $ac_try) 2>&5 2596 ac_status=$? 2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2598 (exit $ac_status); }; } && 2599 { ac_try='test -s conftest.$ac_objext' 2600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2601 (eval $ac_try) 2>&5 2602 ac_status=$? 2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2604 (exit $ac_status); }; }; then 3054 2605 ac_cv_prog_cxx_g=yes 3055 2606 else … … 3057 2608 sed 's/^/| /' conftest.$ac_ext >&5 3058 2609 3059 CXXFLAGS="" 3060 cat >conftest.$ac_ext <<_ACEOF 3061 /* confdefs.h. */ 3062 _ACEOF 3063 cat confdefs.h >>conftest.$ac_ext 3064 cat >>conftest.$ac_ext <<_ACEOF 3065 /* end confdefs.h. */ 3066 3067 int 3068 main () 3069 { 3070 3071 ; 3072 return 0; 3073 } 3074 _ACEOF 3075 rm -f conftest.$ac_objext 3076 if { (ac_try="$ac_compile" 3077 case "(($ac_try" in 3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3079 *) ac_try_echo=$ac_try;; 3080 esac 3081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3082 (eval "$ac_compile") 2>conftest.er1 3083 ac_status=$? 3084 grep -v '^ *+' conftest.er1 >conftest.err 3085 rm -f conftest.er1 3086 cat conftest.err >&5 3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3088 (exit $ac_status); } && { 3089 test -z "$ac_cxx_werror_flag" || 3090 test ! -s conftest.err 3091 } && test -s conftest.$ac_objext; then 3092 : 3093 else 3094 echo "$as_me: failed program was:" >&5 3095 sed 's/^/| /' conftest.$ac_ext >&5 3096 3097 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3098 CXXFLAGS="-g" 3099 cat >conftest.$ac_ext <<_ACEOF 3100 /* confdefs.h. */ 3101 _ACEOF 3102 cat confdefs.h >>conftest.$ac_ext 3103 cat >>conftest.$ac_ext <<_ACEOF 3104 /* end confdefs.h. */ 3105 3106 int 3107 main () 3108 { 3109 3110 ; 3111 return 0; 3112 } 3113 _ACEOF 3114 rm -f conftest.$ac_objext 3115 if { (ac_try="$ac_compile" 3116 case "(($ac_try" in 3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3118 *) ac_try_echo=$ac_try;; 3119 esac 3120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3121 (eval "$ac_compile") 2>conftest.er1 3122 ac_status=$? 3123 grep -v '^ *+' conftest.er1 >conftest.err 3124 rm -f conftest.er1 3125 cat conftest.err >&5 3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3127 (exit $ac_status); } && { 3128 test -z "$ac_cxx_werror_flag" || 3129 test ! -s conftest.err 3130 } && test -s conftest.$ac_objext; then 3131 ac_cv_prog_cxx_g=yes 3132 else 3133 echo "$as_me: failed program was:" >&5 3134 sed 's/^/| /' conftest.$ac_ext >&5 3135 3136 3137 fi 3138 3139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3140 fi 3141 3142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3143 fi 3144 3145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3146 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3147 fi 3148 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3149 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 2610 ac_cv_prog_cxx_g=no 2611 fi 2612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2613 fi 2614 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2615 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3150 2616 if test "$ac_test_CXXFLAGS" = set; then 3151 2617 CXXFLAGS=$ac_save_CXXFLAGS … … 3163 2629 fi 3164 2630 fi 2631 for ac_declaration in \ 2632 '' \ 2633 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2634 'extern "C" void std::exit (int); using std::exit;' \ 2635 'extern "C" void exit (int) throw ();' \ 2636 'extern "C" void exit (int);' \ 2637 'void exit (int);' 2638 do 2639 cat >conftest.$ac_ext <<_ACEOF 2640 /* confdefs.h. */ 2641 _ACEOF 2642 cat confdefs.h >>conftest.$ac_ext 2643 cat >>conftest.$ac_ext <<_ACEOF 2644 /* end confdefs.h. */ 2645 $ac_declaration 2646 #include <stdlib.h> 2647 int 2648 main () 2649 { 2650 exit (42); 2651 ; 2652 return 0; 2653 } 2654 _ACEOF 2655 rm -f conftest.$ac_objext 2656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2657 (eval $ac_compile) 2>conftest.er1 2658 ac_status=$? 2659 grep -v '^ *+' conftest.er1 >conftest.err 2660 rm -f conftest.er1 2661 cat conftest.err >&5 2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2663 (exit $ac_status); } && 2664 { ac_try='test -z "$ac_cxx_werror_flag" 2665 || test ! -s conftest.err' 2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2667 (eval $ac_try) 2>&5 2668 ac_status=$? 2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2670 (exit $ac_status); }; } && 2671 { ac_try='test -s conftest.$ac_objext' 2672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2673 (eval $ac_try) 2>&5 2674 ac_status=$? 2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2676 (exit $ac_status); }; }; then 2677 : 2678 else 2679 echo "$as_me: failed program was:" >&5 2680 sed 's/^/| /' conftest.$ac_ext >&5 2681 2682 continue 2683 fi 2684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2685 cat >conftest.$ac_ext <<_ACEOF 2686 /* confdefs.h. */ 2687 _ACEOF 2688 cat confdefs.h >>conftest.$ac_ext 2689 cat >>conftest.$ac_ext <<_ACEOF 2690 /* end confdefs.h. */ 2691 $ac_declaration 2692 int 2693 main () 2694 { 2695 exit (42); 2696 ; 2697 return 0; 2698 } 2699 _ACEOF 2700 rm -f conftest.$ac_objext 2701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2702 (eval $ac_compile) 2>conftest.er1 2703 ac_status=$? 2704 grep -v '^ *+' conftest.er1 >conftest.err 2705 rm -f conftest.er1 2706 cat conftest.err >&5 2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2708 (exit $ac_status); } && 2709 { ac_try='test -z "$ac_cxx_werror_flag" 2710 || test ! -s conftest.err' 2711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2712 (eval $ac_try) 2>&5 2713 ac_status=$? 2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2715 (exit $ac_status); }; } && 2716 { ac_try='test -s conftest.$ac_objext' 2717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2718 (eval $ac_try) 2>&5 2719 ac_status=$? 2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2721 (exit $ac_status); }; }; then 2722 break 2723 else 2724 echo "$as_me: failed program was:" >&5 2725 sed 's/^/| /' conftest.$ac_ext >&5 2726 2727 fi 2728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2729 done 2730 rm -f conftest* 2731 if test -n "$ac_declaration"; then 2732 echo '#ifdef __cplusplus' >>confdefs.h 2733 echo $ac_declaration >>confdefs.h 2734 echo '#endif' >>confdefs.h 2735 fi 2736 3165 2737 ac_ext=c 3166 2738 ac_cpp='$CPP $CPPFLAGS' … … 3173 2745 # Extract the first word of "$ac_prog", so it can be a program name with args. 3174 2746 set dummy $ac_prog; ac_word=$2 3175 {echo "$as_me:$LINENO: checking for $ac_word" >&53176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2747 echo "$as_me:$LINENO: checking for $ac_word" >&5 2748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3177 2749 if test "${ac_cv_prog_AWK+set}" = set; then 3178 2750 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3187 2759 test -z "$as_dir" && as_dir=. 3188 2760 for ac_exec_ext in '' $ac_executable_extensions; do 3189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3190 2762 ac_cv_prog_AWK="$ac_prog" 3191 2763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3194 2766 done 3195 2767 done 3196 IFS=$as_save_IFS3197 2768 3198 2769 fi … … 3200 2771 AWK=$ac_cv_prog_AWK 3201 2772 if test -n "$AWK"; then 3202 { echo "$as_me:$LINENO: result: $AWK" >&5 3203 echo "${ECHO_T}$AWK" >&6; } 3204 else 3205 { echo "$as_me:$LINENO: result: no" >&5 3206 echo "${ECHO_T}no" >&6; } 3207 fi 3208 2773 echo "$as_me:$LINENO: result: $AWK" >&5 2774 echo "${ECHO_T}$AWK" >&6 2775 else 2776 echo "$as_me:$LINENO: result: no" >&5 2777 echo "${ECHO_T}no" >&6 2778 fi 3209 2779 3210 2780 test -n "$AWK" && break … … 3215 2785 # Extract the first word of "$ac_prog", so it can be a program name with args. 3216 2786 set dummy $ac_prog; ac_word=$2 3217 {echo "$as_me:$LINENO: checking for $ac_word" >&53218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }2787 echo "$as_me:$LINENO: checking for $ac_word" >&5 2788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3219 2789 if test "${ac_cv_prog_YACC+set}" = set; then 3220 2790 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3229 2799 test -z "$as_dir" && as_dir=. 3230 2800 for ac_exec_ext in '' $ac_executable_extensions; do 3231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3232 2802 ac_cv_prog_YACC="$ac_prog" 3233 2803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3236 2806 done 3237 2807 done 3238 IFS=$as_save_IFS3239 2808 3240 2809 fi … … 3242 2811 YACC=$ac_cv_prog_YACC 3243 2812 if test -n "$YACC"; then 3244 { echo "$as_me:$LINENO: result: $YACC" >&5 3245 echo "${ECHO_T}$YACC" >&6; } 3246 else 3247 { echo "$as_me:$LINENO: result: no" >&5 3248 echo "${ECHO_T}no" >&6; } 3249 fi 3250 2813 echo "$as_me:$LINENO: result: $YACC" >&5 2814 echo "${ECHO_T}$YACC" >&6 2815 else 2816 echo "$as_me:$LINENO: result: no" >&5 2817 echo "${ECHO_T}no" >&6 2818 fi 3251 2819 3252 2820 test -n "$YACC" && break … … 3255 2823 3256 2824 ac_aux_dir= 3257 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do3258 if test -f "$ac_dir/install-sh"; then2825 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 2826 if test -f $ac_dir/install-sh; then 3259 2827 ac_aux_dir=$ac_dir 3260 2828 ac_install_sh="$ac_aux_dir/install-sh -c" 3261 2829 break 3262 elif test -f "$ac_dir/install.sh"; then2830 elif test -f $ac_dir/install.sh; then 3263 2831 ac_aux_dir=$ac_dir 3264 2832 ac_install_sh="$ac_aux_dir/install.sh -c" 3265 2833 break 3266 elif test -f "$ac_dir/shtool"; then2834 elif test -f $ac_dir/shtool; then 3267 2835 ac_aux_dir=$ac_dir 3268 2836 ac_install_sh="$ac_aux_dir/shtool install -c" … … 3271 2839 done 3272 2840 if test -z "$ac_aux_dir"; then 3273 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&53274 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}2841 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 2842 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 3275 2843 { (exit 1); exit 1; }; } 3276 2844 fi 3277 3278 # These three variables are undocumented and unsupported, 3279 # and are intended to be withdrawn in a future Autoconf release. 3280 # They can cause serious problems if a builder's source tree is in a directory 3281 # whose full name contains unusual characters. 3282 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3283 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3284 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3285 2845 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2846 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2847 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 3286 2848 3287 2849 # Make sure we can run config.sub. 3288 $ SHELL "$ac_aux_dir/config.sub"sun4 >/dev/null 2>&1 ||3289 { { echo "$as_me:$LINENO: error: cannot run $ SHELL $ac_aux_dir/config.sub" >&53290 echo "$as_me: error: cannot run $ SHELL $ac_aux_dir/config.sub" >&2;}2850 $ac_config_sub sun4 >/dev/null 2>&1 || 2851 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 2852 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 3291 2853 { (exit 1); exit 1; }; } 3292 2854 3293 {echo "$as_me:$LINENO: checking build system type" >&53294 echo $ECHO_N "checking build system type... $ECHO_C" >&6 ; }2855 echo "$as_me:$LINENO: checking build system type" >&5 2856 echo $ECHO_N "checking build system type... $ECHO_C" >&6 3295 2857 if test "${ac_cv_build+set}" = set; then 3296 2858 echo $ECHO_N "(cached) $ECHO_C" >&6 3297 2859 else 3298 ac_ build_alias=$build_alias3299 test "x$ac_build_alias" = x&&3300 ac_ build_alias=`$SHELL "$ac_aux_dir/config.guess"`3301 test "x$ac_build_alias" = x&&2860 ac_cv_build_alias=$build_alias 2861 test -z "$ac_cv_build_alias" && 2862 ac_cv_build_alias=`$ac_config_guess` 2863 test -z "$ac_cv_build_alias" && 3302 2864 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 3303 2865 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 3304 2866 { (exit 1); exit 1; }; } 3305 ac_cv_build=`$ SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||3306 { { echo "$as_me:$LINENO: error: $ SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&53307 echo "$as_me: error: $ SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}2867 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 2868 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 2869 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 3308 2870 { (exit 1); exit 1; }; } 3309 2871 3310 2872 fi 3311 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3312 echo "${ECHO_T}$ac_cv_build" >&6; } 3313 case $ac_cv_build in 3314 *-*-*) ;; 3315 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3316 echo "$as_me: error: invalid value of canonical build" >&2;} 3317 { (exit 1); exit 1; }; };; 3318 esac 2873 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2874 echo "${ECHO_T}$ac_cv_build" >&6 3319 2875 build=$ac_cv_build 3320 ac_save_IFS=$IFS; IFS='-' 3321 set x $ac_cv_build 3322 shift 3323 build_cpu=$1 3324 build_vendor=$2 3325 shift; shift 3326 # Remember, the first character of IFS is used to create $*, 3327 # except with old shells: 3328 build_os=$* 3329 IFS=$ac_save_IFS 3330 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3331 3332 3333 { echo "$as_me:$LINENO: checking host system type" >&5 3334 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 2876 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2877 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2878 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2879 2880 2881 echo "$as_me:$LINENO: checking host system type" >&5 2882 echo $ECHO_N "checking host system type... $ECHO_C" >&6 3335 2883 if test "${ac_cv_host+set}" = set; then 3336 2884 echo $ECHO_N "(cached) $ECHO_C" >&6 3337 2885 else 3338 if test "x$host_alias" = x; then3339 ac_cv_host=$ac_cv_build 3340 else 3341 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||3342 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&53343 echo "$as_me: error: $ SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}2886 ac_cv_host_alias=$host_alias 2887 test -z "$ac_cv_host_alias" && 2888 ac_cv_host_alias=$ac_cv_build_alias 2889 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 2890 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 2891 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 3344 2892 { (exit 1); exit 1; }; } 3345 fi 3346 3347 fi 3348 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3349 echo "${ECHO_T}$ac_cv_host" >&6; } 3350 case $ac_cv_host in 3351 *-*-*) ;; 3352 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3353 echo "$as_me: error: invalid value of canonical host" >&2;} 3354 { (exit 1); exit 1; }; };; 3355 esac 2893 2894 fi 2895 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2896 echo "${ECHO_T}$ac_cv_host" >&6 3356 2897 host=$ac_cv_host 3357 ac_save_IFS=$IFS; IFS='-' 3358 set x $ac_cv_host 3359 shift 3360 host_cpu=$1 3361 host_vendor=$2 3362 shift; shift 3363 # Remember, the first character of IFS is used to create $*, 3364 # except with old shells: 3365 host_os=$* 3366 IFS=$ac_save_IFS 3367 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3368 3369 3370 { echo "$as_me:$LINENO: checking target system type" >&5 3371 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 2898 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2899 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2900 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2901 2902 2903 echo "$as_me:$LINENO: checking target system type" >&5 2904 echo $ECHO_N "checking target system type... $ECHO_C" >&6 3372 2905 if test "${ac_cv_target+set}" = set; then 3373 2906 echo $ECHO_N "(cached) $ECHO_C" >&6 3374 2907 else 3375 if test "x$target_alias" = x; then3376 ac_cv_target=$ac_cv_host 3377 else 3378 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||3379 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&53380 echo "$as_me: error: $ SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}2908 ac_cv_target_alias=$target_alias 2909 test "x$ac_cv_target_alias" = "x" && 2910 ac_cv_target_alias=$ac_cv_host_alias 2911 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || 2912 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 2913 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} 3381 2914 { (exit 1); exit 1; }; } 3382 fi 3383 3384 fi 3385 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3386 echo "${ECHO_T}$ac_cv_target" >&6; } 3387 case $ac_cv_target in 3388 *-*-*) ;; 3389 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 3390 echo "$as_me: error: invalid value of canonical target" >&2;} 3391 { (exit 1); exit 1; }; };; 3392 esac 2915 2916 fi 2917 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 2918 echo "${ECHO_T}$ac_cv_target" >&6 3393 2919 target=$ac_cv_target 3394 ac_save_IFS=$IFS; IFS='-' 3395 set x $ac_cv_target 3396 shift 3397 target_cpu=$1 3398 target_vendor=$2 3399 shift; shift 3400 # Remember, the first character of IFS is used to create $*, 3401 # except with old shells: 3402 target_os=$* 3403 IFS=$ac_save_IFS 3404 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2920 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2921 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2922 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3405 2923 3406 2924 … … 3424 2942 # OS/2's system install, which has a completely different semantic 3425 2943 # ./install, which can be erroneously created by make from ./install.sh. 3426 {echo "$as_me:$LINENO: checking for a BSD-compatible install" >&53427 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 ; }2944 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2945 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3428 2946 if test -z "$INSTALL"; then 3429 2947 if test "${ac_cv_path_install+set}" = set; then … … 3447 2965 for ac_prog in ginstall scoinst install; do 3448 2966 for ac_exec_ext in '' $ac_executable_extensions; do 3449 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then2967 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3450 2968 if test $ac_prog = install && 3451 2969 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 3466 2984 esac 3467 2985 done 3468 IFS=$as_save_IFS3469 2986 3470 2987 … … 3473 2990 INSTALL=$ac_cv_path_install 3474 2991 else 3475 # As a last resort, use the slow shell script. Don't cache a3476 # valuefor INSTALL within a source directory, because that will2992 # As a last resort, use the slow shell script. We don't cache a 2993 # path for INSTALL within a source directory, because that will 3477 2994 # break other packages using the cache if that directory is 3478 # removed, or if the value is a relative name.2995 # removed, or if the path is relative. 3479 2996 INSTALL=$ac_install_sh 3480 2997 fi 3481 2998 fi 3482 {echo "$as_me:$LINENO: result: $INSTALL" >&53483 echo "${ECHO_T}$INSTALL" >&6 ; }2999 echo "$as_me:$LINENO: result: $INSTALL" >&5 3000 echo "${ECHO_T}$INSTALL" >&6 3484 3001 3485 3002 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 3491 3008 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3492 3009 3493 {echo "$as_me:$LINENO: checking whether ln -s works" >&53494 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 ; }3010 echo "$as_me:$LINENO: checking whether ln -s works" >&5 3011 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3495 3012 LN_S=$as_ln_s 3496 3013 if test "$LN_S" = "ln -s"; then 3497 {echo "$as_me:$LINENO: result: yes" >&53498 echo "${ECHO_T}yes" >&6 ; }3499 else 3500 {echo "$as_me:$LINENO: result: no, using $LN_S" >&53501 echo "${ECHO_T}no, using $LN_S" >&6 ; }3502 fi 3503 3504 {echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&53505 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 ; }3506 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`3507 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then3014 echo "$as_me:$LINENO: result: yes" >&5 3015 echo "${ECHO_T}yes" >&6 3016 else 3017 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3018 echo "${ECHO_T}no, using $LN_S" >&6 3019 fi 3020 3021 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3022 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3023 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3024 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3508 3025 echo $ECHO_N "(cached) $ECHO_C" >&6 3509 3026 else 3510 3027 cat >conftest.make <<\_ACEOF 3511 SHELL = /bin/sh3512 3028 all: 3513 @echo ' @@@%%%=$(MAKE)=@@@%%%'3029 @echo 'ac_maketemp="$(MAKE)"' 3514 3030 _ACEOF 3515 3031 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3516 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3517 *@@@%%%=?*=@@@%%%*) 3518 eval ac_cv_prog_make_${ac_make}_set=yes;;3519 *) 3520 eval ac_cv_prog_make_${ac_make}_set=no;;3521 esac 3032 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3033 if test -n "$ac_maketemp"; then 3034 eval ac_cv_prog_make_${ac_make}_set=yes 3035 else 3036 eval ac_cv_prog_make_${ac_make}_set=no 3037 fi 3522 3038 rm -f conftest.make 3523 3039 fi 3524 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then3525 {echo "$as_me:$LINENO: result: yes" >&53526 echo "${ECHO_T}yes" >&6 ; }3040 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 3041 echo "$as_me:$LINENO: result: yes" >&5 3042 echo "${ECHO_T}yes" >&6 3527 3043 SET_MAKE= 3528 3044 else 3529 {echo "$as_me:$LINENO: result: no" >&53530 echo "${ECHO_T}no" >&6 ; }3045 echo "$as_me:$LINENO: result: no" >&5 3046 echo "${ECHO_T}no" >&6 3531 3047 SET_MAKE="MAKE=${MAKE-make}" 3532 3048 fi … … 3535 3051 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3536 3052 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3537 {echo "$as_me:$LINENO: checking for $ac_word" >&53538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }3053 echo "$as_me:$LINENO: checking for $ac_word" >&5 3054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3539 3055 if test "${ac_cv_prog_RANLIB+set}" = set; then 3540 3056 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3549 3065 test -z "$as_dir" && as_dir=. 3550 3066 for ac_exec_ext in '' $ac_executable_extensions; do 3551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3552 3068 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3553 3069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3556 3072 done 3557 3073 done 3558 IFS=$as_save_IFS3559 3074 3560 3075 fi … … 3562 3077 RANLIB=$ac_cv_prog_RANLIB 3563 3078 if test -n "$RANLIB"; then 3564 { echo "$as_me:$LINENO: result: $RANLIB" >&5 3565 echo "${ECHO_T}$RANLIB" >&6; } 3566 else 3567 { echo "$as_me:$LINENO: result: no" >&5 3568 echo "${ECHO_T}no" >&6; } 3569 fi 3570 3079 echo "$as_me:$LINENO: result: $RANLIB" >&5 3080 echo "${ECHO_T}$RANLIB" >&6 3081 else 3082 echo "$as_me:$LINENO: result: no" >&5 3083 echo "${ECHO_T}no" >&6 3084 fi 3571 3085 3572 3086 fi … … 3575 3089 # Extract the first word of "ranlib", so it can be a program name with args. 3576 3090 set dummy ranlib; ac_word=$2 3577 {echo "$as_me:$LINENO: checking for $ac_word" >&53578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 ; }3091 echo "$as_me:$LINENO: checking for $ac_word" >&5 3092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3579 3093 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3580 3094 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3589 3103 test -z "$as_dir" && as_dir=. 3590 3104 for ac_exec_ext in '' $ac_executable_extensions; do 3591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3592 3106 ac_cv_prog_ac_ct_RANLIB="ranlib" 3593 3107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3596 3110 done 3597 3111 done 3598 IFS=$as_save_IFS 3599 3112 3113 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3600 3114 fi 3601 3115 fi 3602 3116 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3603 3117 if test -n "$ac_ct_RANLIB"; then 3604 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3605 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 3606 else 3607 { echo "$as_me:$LINENO: result: no" >&5 3608 echo "${ECHO_T}no" >&6; } 3609 fi 3610 3611 if test "x$ac_ct_RANLIB" = x; then 3612 RANLIB=":" 3613 else 3614 case $cross_compiling:$ac_tool_warned in 3615 yes:) 3616 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3617 whose name does not start with the host triplet. If you think this 3618 configuration is useful to you, please write to autoconf@gnu.org." >&5 3619 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3620 whose name does not start with the host triplet. If you think this 3621 configuration is useful to you, please write to autoconf@gnu.org." >&2;} 3622 ac_tool_warned=yes ;; 3623 esac 3624 RANLIB=$ac_ct_RANLIB 3625 fi 3118 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3119 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3120 else 3121 echo "$as_me:$LINENO: result: no" >&5 3122 echo "${ECHO_T}no" >&6 3123 fi 3124 3125 RANLIB=$ac_ct_RANLIB 3626 3126 else 3627 3127 RANLIB="$ac_cv_prog_RANLIB" … … 3629 3129 3630 3130 3631 {echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&53632 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 ; }3131 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 3132 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 3633 3133 arch_64bit=no 3634 3134 case "$host_cpu" in … … 3637 3137 3638 3138 if test "$arch_64bit" = yes; then 3639 {echo "$as_me:$LINENO: result: yes" >&53640 echo "${ECHO_T}yes" >&6 ; }3139 echo "$as_me:$LINENO: result: yes" >&5 3140 echo "${ECHO_T}yes" >&6 3641 3141 if test -z "$COMPAT32BITFLAGS" ; then 3642 3142 COMPAT32BITFLAGS="-m32" 3643 3143 fi 3644 3144 else 3645 {echo "$as_me:$LINENO: result: no" >&53646 echo "${ECHO_T}no" >&6 ; }3145 echo "$as_me:$LINENO: result: no" >&5 3146 echo "${ECHO_T}no" >&6 3647 3147 if test -z "$COMPAT32BITFLAGS" ; then 3648 3148 COMPAT32BITFLAGS= … … 3691 3191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3692 3192 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3693 {echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53694 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 ; }3193 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3194 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3695 3195 # On Suns, sometimes $CPP names a directory. 3696 3196 if test -n "$CPP" && test -d "$CPP"; then … … 3726 3226 Syntax error 3727 3227 _ACEOF 3728 if { (ac_try="$ac_cpp conftest.$ac_ext" 3729 case "(($ac_try" in 3730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3731 *) ac_try_echo=$ac_try;; 3732 esac 3733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3734 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3735 3230 ac_status=$? 3736 3231 grep -v '^ *+' conftest.er1 >conftest.err … … 3738 3233 cat conftest.err >&5 3739 3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3740 (exit $ac_status); } >/dev/null && { 3741 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3742 test ! -s conftest.err 3743 }; then 3235 (exit $ac_status); } >/dev/null; then 3236 if test -s conftest.err; then 3237 ac_cpp_err=$ac_c_preproc_warn_flag 3238 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3239 else 3240 ac_cpp_err= 3241 fi 3242 else 3243 ac_cpp_err=yes 3244 fi 3245 if test -z "$ac_cpp_err"; then 3744 3246 : 3745 3247 else … … 3750 3252 continue 3751 3253 fi 3752 3753 3254 rm -f conftest.err conftest.$ac_ext 3754 3255 3755 # OK, works on sane cases. Now check whether non existent headers3256 # OK, works on sane cases. Now check whether non-existent headers 3756 3257 # can be detected and how. 3757 3258 cat >conftest.$ac_ext <<_ACEOF … … 3763 3264 #include <ac_nonexistent.h> 3764 3265 _ACEOF 3765 if { (ac_try="$ac_cpp conftest.$ac_ext" 3766 case "(($ac_try" in 3767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3768 *) ac_try_echo=$ac_try;; 3769 esac 3770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3771 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3267 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3772 3268 ac_status=$? 3773 3269 grep -v '^ *+' conftest.er1 >conftest.err … … 3775 3271 cat conftest.err >&5 3776 3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3777 (exit $ac_status); } >/dev/null && { 3778 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3779 test ! -s conftest.err 3780 }; then 3273 (exit $ac_status); } >/dev/null; then 3274 if test -s conftest.err; then 3275 ac_cpp_err=$ac_c_preproc_warn_flag 3276 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3277 else 3278 ac_cpp_err= 3279 fi 3280 else 3281 ac_cpp_err=yes 3282 fi 3283 if test -z "$ac_cpp_err"; then 3781 3284 # Broken: success on invalid input. 3782 3285 continue … … 3789 3292 break 3790 3293 fi 3791 3792 3294 rm -f conftest.err conftest.$ac_ext 3793 3295 … … 3807 3309 ac_cv_prog_CPP=$CPP 3808 3310 fi 3809 {echo "$as_me:$LINENO: result: $CPP" >&53810 echo "${ECHO_T}$CPP" >&6 ; }3311 echo "$as_me:$LINENO: result: $CPP" >&5 3312 echo "${ECHO_T}$CPP" >&6 3811 3313 ac_preproc_ok=false 3812 3314 for ac_c_preproc_warn_flag in '' yes … … 3831 3333 Syntax error 3832 3334 _ACEOF 3833 if { (ac_try="$ac_cpp conftest.$ac_ext" 3834 case "(($ac_try" in 3835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3836 *) ac_try_echo=$ac_try;; 3837 esac 3838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3839 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3336 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3840 3337 ac_status=$? 3841 3338 grep -v '^ *+' conftest.er1 >conftest.err … … 3843 3340 cat conftest.err >&5 3844 3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3845 (exit $ac_status); } >/dev/null && { 3846 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3847 test ! -s conftest.err 3848 }; then 3342 (exit $ac_status); } >/dev/null; then 3343 if test -s conftest.err; then 3344 ac_cpp_err=$ac_c_preproc_warn_flag 3345 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3346 else 3347 ac_cpp_err= 3348 fi 3349 else 3350 ac_cpp_err=yes 3351 fi 3352 if test -z "$ac_cpp_err"; then 3849 3353 : 3850 3354 else … … 3855 3359 continue 3856 3360 fi 3857 3858 3361 rm -f conftest.err conftest.$ac_ext 3859 3362 3860 # OK, works on sane cases. Now check whether non existent headers3363 # OK, works on sane cases. Now check whether non-existent headers 3861 3364 # can be detected and how. 3862 3365 cat >conftest.$ac_ext <<_ACEOF … … 3868 3371 #include <ac_nonexistent.h> 3869 3372 _ACEOF 3870 if { (ac_try="$ac_cpp conftest.$ac_ext" 3871 case "(($ac_try" in 3872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3873 *) ac_try_echo=$ac_try;; 3874 esac 3875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3374 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3877 3375 ac_status=$? 3878 3376 grep -v '^ *+' conftest.er1 >conftest.err … … 3880 3378 cat conftest.err >&5 3881 3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3882 (exit $ac_status); } >/dev/null && { 3883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3884 test ! -s conftest.err 3885 }; then 3380 (exit $ac_status); } >/dev/null; then 3381 if test -s conftest.err; then 3382 ac_cpp_err=$ac_c_preproc_warn_flag 3383 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3384 else 3385 ac_cpp_err= 3386 fi 3387 else 3388 ac_cpp_err=yes 3389 fi 3390 if test -z "$ac_cpp_err"; then 3886 3391 # Broken: success on invalid input. 3887 3392 continue … … 3894 3399 break 3895 3400 fi 3896 3897 3401 rm -f conftest.err conftest.$ac_ext 3898 3402 … … 3917 3421 3918 3422 3919 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&53920 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }3921 if test "${ac_cv_p ath_GREP+set}" = set; then3423 echo "$as_me:$LINENO: checking for egrep" >&5 3424 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3425 if test "${ac_cv_prog_egrep+set}" = set; then 3922 3426 echo $ECHO_N "(cached) $ECHO_C" >&6 3923 3427 else 3924 # Extract the first word of "grep ggrep" to use in msg output 3925 if test -z "$GREP"; then 3926 set dummy grep ggrep; ac_prog_name=$2 3927 if test "${ac_cv_path_GREP+set}" = set; then 3928 echo $ECHO_N "(cached) $ECHO_C" >&6 3929 else 3930 ac_path_GREP_found=false 3931 # Loop through the user's path and test for each of PROGNAME-LIST 3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3933 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3934 do 3935 IFS=$as_save_IFS 3936 test -z "$as_dir" && as_dir=. 3937 for ac_prog in grep ggrep; do 3938 for ac_exec_ext in '' $ac_executable_extensions; do 3939 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3940 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3941 # Check for GNU ac_path_GREP and select it if it is found. 3942 # Check for GNU $ac_path_GREP 3943 case `"$ac_path_GREP" --version 2>&1` in 3944 *GNU*) 3945 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3946 *) 3947 ac_count=0 3948 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3949 while : 3950 do 3951 cat "conftest.in" "conftest.in" >"conftest.tmp" 3952 mv "conftest.tmp" "conftest.in" 3953 cp "conftest.in" "conftest.nl" 3954 echo 'GREP' >> "conftest.nl" 3955 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3956 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3957 ac_count=`expr $ac_count + 1` 3958 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3959 # Best one so far, save it but keep looking for a better one 3960 ac_cv_path_GREP="$ac_path_GREP" 3961 ac_path_GREP_max=$ac_count 3428 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3429 then ac_cv_prog_egrep='grep -E' 3430 else ac_cv_prog_egrep='egrep' 3962 3431 fi 3963 # 10*(2^10) chars as input seems more than enough 3964 test $ac_count -gt 10 && break 3965 done 3966 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3967 esac 3968 3969 3970 $ac_path_GREP_found && break 3 3971 done 3972 done 3973 3974 done 3975 IFS=$as_save_IFS 3976 3977 3978 fi 3979 3980 GREP="$ac_cv_path_GREP" 3981 if test -z "$GREP"; then 3982 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3983 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3984 { (exit 1); exit 1; }; } 3985 fi 3986 3987 else 3988 ac_cv_path_GREP=$GREP 3989 fi 3990 3991 3992 fi 3993 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3994 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3995 GREP="$ac_cv_path_GREP" 3996 3997 3998 { echo "$as_me:$LINENO: checking for egrep" >&5 3999 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4000 if test "${ac_cv_path_EGREP+set}" = set; then 4001 echo $ECHO_N "(cached) $ECHO_C" >&6 4002 else 4003 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4004 then ac_cv_path_EGREP="$GREP -E" 4005 else 4006 # Extract the first word of "egrep" to use in msg output 4007 if test -z "$EGREP"; then 4008 set dummy egrep; ac_prog_name=$2 4009 if test "${ac_cv_path_EGREP+set}" = set; then 4010 echo $ECHO_N "(cached) $ECHO_C" >&6 4011 else 4012 ac_path_EGREP_found=false 4013 # Loop through the user's path and test for each of PROGNAME-LIST 4014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4015 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4016 do 4017 IFS=$as_save_IFS 4018 test -z "$as_dir" && as_dir=. 4019 for ac_prog in egrep; do 4020 for ac_exec_ext in '' $ac_executable_extensions; do 4021 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4022 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4023 # Check for GNU ac_path_EGREP and select it if it is found. 4024 # Check for GNU $ac_path_EGREP 4025 case `"$ac_path_EGREP" --version 2>&1` in 4026 *GNU*) 4027 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4028 *) 4029 ac_count=0 4030 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4031 while : 4032 do 4033 cat "conftest.in" "conftest.in" >"conftest.tmp" 4034 mv "conftest.tmp" "conftest.in" 4035 cp "conftest.in" "conftest.nl" 4036 echo 'EGREP' >> "conftest.nl" 4037 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4038 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4039 ac_count=`expr $ac_count + 1` 4040 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4041 # Best one so far, save it but keep looking for a better one 4042 ac_cv_path_EGREP="$ac_path_EGREP" 4043 ac_path_EGREP_max=$ac_count 4044 fi 4045 # 10*(2^10) chars as input seems more than enough 4046 test $ac_count -gt 10 && break 4047 done 4048 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4049 esac 4050 4051 4052 $ac_path_EGREP_found && break 3 4053 done 4054 done 4055 4056 done 4057 IFS=$as_save_IFS 4058 4059 4060 fi 4061 4062 EGREP="$ac_cv_path_EGREP" 4063 if test -z "$EGREP"; then 4064 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4065 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4066 { (exit 1); exit 1; }; } 4067 fi 4068 4069 else 4070 ac_cv_path_EGREP=$EGREP 4071 fi 4072 4073 4074 fi 4075 fi 4076 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4077 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4078 EGREP="$ac_cv_path_EGREP" 4079 4080 4081 4082 { echo "$as_me:$LINENO: checking for AIX" >&5 4083 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; } 3432 fi 3433 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3434 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3435 EGREP=$ac_cv_prog_egrep 3436 3437 3438 3439 echo "$as_me:$LINENO: checking for AIX" >&5 3440 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 4084 3441 cat >conftest.$ac_ext <<_ACEOF 4085 3442 /* confdefs.h. */ … … 4095 3452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4096 3453 $EGREP "yes" >/dev/null 2>&1; then 4097 {echo "$as_me:$LINENO: result: yes" >&54098 echo "${ECHO_T}yes" >&6 ; }3454 echo "$as_me:$LINENO: result: yes" >&5 3455 echo "${ECHO_T}yes" >&6 4099 3456 cat >>confdefs.h <<\_ACEOF 4100 3457 #define _ALL_SOURCE 1 … … 4102 3459 4103 3460 else 4104 {echo "$as_me:$LINENO: result: no" >&54105 echo "${ECHO_T}no" >&6 ; }3461 echo "$as_me:$LINENO: result: no" >&5 3462 echo "${ECHO_T}no" >&6 4106 3463 fi 4107 3464 rm -f conftest* 4108 3465 4109 3466 4110 {echo "$as_me:$LINENO: checking for library containing strerror" >&54111 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 ; }3467 echo "$as_me:$LINENO: checking for library containing strerror" >&5 3468 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 4112 3469 if test "${ac_cv_search_strerror+set}" = set; then 4113 3470 echo $ECHO_N "(cached) $ECHO_C" >&6 4114 3471 else 4115 3472 ac_func_search_save_LIBS=$LIBS 3473 ac_cv_search_strerror=no 4116 3474 cat >conftest.$ac_ext <<_ACEOF 4117 3475 /* confdefs.h. */ … … 4121 3479 /* end confdefs.h. */ 4122 3480 4123 /* Override any GCC internal prototype to avoid an error. 4124 Use char because int might match the return type of a GCC 4125 builtin and then its argument prototype would still apply. */ 3481 /* Override any gcc2 internal prototype to avoid an error. */ 4126 3482 #ifdef __cplusplus 4127 3483 extern "C" 4128 3484 #endif 3485 /* We use char because int might match the return type of a gcc2 3486 builtin and then its argument prototype would still apply. */ 4129 3487 char strerror (); 4130 3488 int 4131 3489 main () 4132 3490 { 4133 returnstrerror ();3491 strerror (); 4134 3492 ; 4135 3493 return 0; 4136 3494 } 4137 3495 _ACEOF 4138 for ac_lib in '' cposix; do 4139 if test -z "$ac_lib"; then 4140 ac_res="none required" 4141 else 4142 ac_res=-l$ac_lib 4143 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4144 fi 4145 rm -f conftest.$ac_objext conftest$ac_exeext 4146 if { (ac_try="$ac_link" 4147 case "(($ac_try" in 4148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4149 *) ac_try_echo=$ac_try;; 4150 esac 4151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4152 (eval "$ac_link") 2>conftest.er1 3496 rm -f conftest.$ac_objext conftest$ac_exeext 3497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3498 (eval $ac_link) 2>conftest.er1 4153 3499 ac_status=$? 4154 3500 grep -v '^ *+' conftest.er1 >conftest.err … … 4156 3502 cat conftest.err >&5 4157 3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4158 (exit $ac_status); } && { 4159 test -z "$ac_c_werror_flag" || 4160 test ! -s conftest.err 4161 } && test -s conftest$ac_exeext && 4162 $as_test_x conftest$ac_exeext; then 4163 ac_cv_search_strerror=$ac_res 3504 (exit $ac_status); } && 3505 { ac_try='test -z "$ac_c_werror_flag" 3506 || test ! -s conftest.err' 3507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3508 (eval $ac_try) 2>&5 3509 ac_status=$? 3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3511 (exit $ac_status); }; } && 3512 { ac_try='test -s conftest$ac_exeext' 3513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3514 (eval $ac_try) 2>&5 3515 ac_status=$? 3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3517 (exit $ac_status); }; }; then 3518 ac_cv_search_strerror="none required" 4164 3519 else 4165 3520 echo "$as_me: failed program was:" >&5 4166 3521 sed 's/^/| /' conftest.$ac_ext >&5 4167 3522 4168 4169 fi 4170 4171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4172 conftest$ac_exeext 4173 if test "${ac_cv_search_strerror+set}" = set; then 4174 break 4175 fi 4176 done 4177 if test "${ac_cv_search_strerror+set}" = set; then 4178 : 4179 else 4180 ac_cv_search_strerror=no 4181 fi 4182 rm conftest.$ac_ext 3523 fi 3524 rm -f conftest.err conftest.$ac_objext \ 3525 conftest$ac_exeext conftest.$ac_ext 3526 if test "$ac_cv_search_strerror" = no; then 3527 for ac_lib in cposix; do 3528 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3529 cat >conftest.$ac_ext <<_ACEOF 3530 /* confdefs.h. */ 3531 _ACEOF 3532 cat confdefs.h >>conftest.$ac_ext 3533 cat >>conftest.$ac_ext <<_ACEOF 3534 /* end confdefs.h. */ 3535 3536 /* Override any gcc2 internal prototype to avoid an error. */ 3537 #ifdef __cplusplus 3538 extern "C" 3539 #endif 3540 /* We use char because int might match the return type of a gcc2 3541 builtin and then its argument prototype would still apply. */ 3542 char strerror (); 3543 int 3544 main () 3545 { 3546 strerror (); 3547 ; 3548 return 0; 3549 } 3550 _ACEOF 3551 rm -f conftest.$ac_objext conftest$ac_exeext 3552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3553 (eval $ac_link) 2>conftest.er1 3554 ac_status=$? 3555 grep -v '^ *+' conftest.er1 >conftest.err 3556 rm -f conftest.er1 3557 cat conftest.err >&5 3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3559 (exit $ac_status); } && 3560 { ac_try='test -z "$ac_c_werror_flag" 3561 || test ! -s conftest.err' 3562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3563 (eval $ac_try) 2>&5 3564 ac_status=$? 3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3566 (exit $ac_status); }; } && 3567 { ac_try='test -s conftest$ac_exeext' 3568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3569 (eval $ac_try) 2>&5 3570 ac_status=$? 3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3572 (exit $ac_status); }; }; then 3573 ac_cv_search_strerror="-l$ac_lib" 3574 break 3575 else 3576 echo "$as_me: failed program was:" >&5 3577 sed 's/^/| /' conftest.$ac_ext >&5 3578 3579 fi 3580 rm -f conftest.err conftest.$ac_objext \ 3581 conftest$ac_exeext conftest.$ac_ext 3582 done 3583 fi 4183 3584 LIBS=$ac_func_search_save_LIBS 4184 3585 fi 4185 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4186 echo "${ECHO_T}$ac_cv_search_strerror" >&6; } 4187 ac_res=$ac_cv_search_strerror 4188 if test "$ac_res" != no; then 4189 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4190 4191 fi 4192 4193 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4194 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3586 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3587 echo "${ECHO_T}$ac_cv_search_strerror" >&6 3588 if test "$ac_cv_search_strerror" != no; then 3589 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3590 3591 fi 3592 3593 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3594 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4195 3595 if test "${ac_cv_header_stdc+set}" = set; then 4196 3596 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4216 3616 _ACEOF 4217 3617 rm -f conftest.$ac_objext 4218 if { (ac_try="$ac_compile" 4219 case "(($ac_try" in 4220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4221 *) ac_try_echo=$ac_try;; 4222 esac 4223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4224 (eval "$ac_compile") 2>conftest.er1 3618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3619 (eval $ac_compile) 2>conftest.er1 4225 3620 ac_status=$? 4226 3621 grep -v '^ *+' conftest.er1 >conftest.err … … 4228 3623 cat conftest.err >&5 4229 3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4230 (exit $ac_status); } && { 4231 test -z "$ac_c_werror_flag" || 4232 test ! -s conftest.err 4233 } && test -s conftest.$ac_objext; then 3625 (exit $ac_status); } && 3626 { ac_try='test -z "$ac_c_werror_flag" 3627 || test ! -s conftest.err' 3628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3629 (eval $ac_try) 2>&5 3630 ac_status=$? 3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3632 (exit $ac_status); }; } && 3633 { ac_try='test -s conftest.$ac_objext' 3634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3635 (eval $ac_try) 2>&5 3636 ac_status=$? 3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3638 (exit $ac_status); }; }; then 4234 3639 ac_cv_header_stdc=yes 4235 3640 else … … 4237 3642 sed 's/^/| /' conftest.$ac_ext >&5 4238 3643 4239 ac_cv_header_stdc=no 4240 fi 4241 4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3644 ac_cv_header_stdc=no 3645 fi 3646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4243 3647 4244 3648 if test $ac_cv_header_stdc = yes; then … … 4296 3700 /* end confdefs.h. */ 4297 3701 #include <ctype.h> 4298 #include <stdlib.h>4299 3702 #if ((' ' & 0x0FF) == 0x020) 4300 3703 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 4316 3719 if (XOR (islower (i), ISLOWER (i)) 4317 3720 || toupper (i) != TOUPPER (i)) 4318 return 2;4319 return 0;3721 exit(2); 3722 exit (0); 4320 3723 } 4321 3724 _ACEOF 4322 3725 rm -f conftest$ac_exeext 4323 if { (ac_try="$ac_link" 4324 case "(($ac_try" in 4325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4326 *) ac_try_echo=$ac_try;; 4327 esac 4328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4329 (eval "$ac_link") 2>&5 3726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3727 (eval $ac_link) 2>&5 4330 3728 ac_status=$? 4331 3729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4332 3730 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4333 { (case "(($ac_try" in 4334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4335 *) ac_try_echo=$ac_try;; 4336 esac 4337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4338 (eval "$ac_try") 2>&5 3731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3732 (eval $ac_try) 2>&5 4339 3733 ac_status=$? 4340 3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 4349 3743 ac_cv_header_stdc=no 4350 3744 fi 4351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4352 fi 4353 4354 4355 fi 4356 fi 4357 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4358 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 3745 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3746 fi 3747 fi 3748 fi 3749 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3750 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4359 3751 if test $ac_cv_header_stdc = yes; then 4360 3752 … … 4379 3771 do 4380 3772 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4381 {echo "$as_me:$LINENO: checking for $ac_header" >&54382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ; }4383 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then3773 echo "$as_me:$LINENO: checking for $ac_header" >&5 3774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3775 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4384 3776 echo $ECHO_N "(cached) $ECHO_C" >&6 4385 3777 else … … 4395 3787 _ACEOF 4396 3788 rm -f conftest.$ac_objext 4397 if { (ac_try="$ac_compile" 4398 case "(($ac_try" in 4399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4400 *) ac_try_echo=$ac_try;; 4401 esac 4402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4403 (eval "$ac_compile") 2>conftest.er1 3789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3790 (eval $ac_compile) 2>conftest.er1 4404 3791 ac_status=$? 4405 3792 grep -v '^ *+' conftest.er1 >conftest.err … … 4407 3794 cat conftest.err >&5 4408 3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4409 (exit $ac_status); } && { 4410 test -z "$ac_c_werror_flag" || 4411 test ! -s conftest.err 4412 } && test -s conftest.$ac_objext; then 3796 (exit $ac_status); } && 3797 { ac_try='test -z "$ac_c_werror_flag" 3798 || test ! -s conftest.err' 3799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3800 (eval $ac_try) 2>&5 3801 ac_status=$? 3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3803 (exit $ac_status); }; } && 3804 { ac_try='test -s conftest.$ac_objext' 3805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3806 (eval $ac_try) 2>&5 3807 ac_status=$? 3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3809 (exit $ac_status); }; }; then 4413 3810 eval "$as_ac_Header=yes" 4414 3811 else … … 4416 3813 sed 's/^/| /' conftest.$ac_ext >&5 4417 3814 4418 eval "$as_ac_Header=no" 4419 fi 4420 4421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4422 fi 4423 ac_res=`eval echo '${'$as_ac_Header'}'` 4424 { echo "$as_me:$LINENO: result: $ac_res" >&5 4425 echo "${ECHO_T}$ac_res" >&6; } 3815 eval "$as_ac_Header=no" 3816 fi 3817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3818 fi 3819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4426 3821 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4427 3822 cat >>confdefs.h <<_ACEOF … … 4435 3830 4436 3831 if test "${ac_cv_header_minix_config_h+set}" = set; then 4437 {echo "$as_me:$LINENO: checking for minix/config.h" >&54438 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 ; }3832 echo "$as_me:$LINENO: checking for minix/config.h" >&5 3833 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4439 3834 if test "${ac_cv_header_minix_config_h+set}" = set; then 4440 3835 echo $ECHO_N "(cached) $ECHO_C" >&6 4441 3836 fi 4442 {echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&54443 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 ; }3837 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 3838 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4444 3839 else 4445 3840 # Is the header compilable? 4446 {echo "$as_me:$LINENO: checking minix/config.h usability" >&54447 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 ; }3841 echo "$as_me:$LINENO: checking minix/config.h usability" >&5 3842 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 4448 3843 cat >conftest.$ac_ext <<_ACEOF 4449 3844 /* confdefs.h. */ … … 4456 3851 _ACEOF 4457 3852 rm -f conftest.$ac_objext 4458 if { (ac_try="$ac_compile" 4459 case "(($ac_try" in 4460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4461 *) ac_try_echo=$ac_try;; 4462 esac 4463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4464 (eval "$ac_compile") 2>conftest.er1 3853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3854 (eval $ac_compile) 2>conftest.er1 4465 3855 ac_status=$? 4466 3856 grep -v '^ *+' conftest.er1 >conftest.err … … 4468 3858 cat conftest.err >&5 4469 3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4470 (exit $ac_status); } && { 4471 test -z "$ac_c_werror_flag" || 4472 test ! -s conftest.err 4473 } && test -s conftest.$ac_objext; then 3860 (exit $ac_status); } && 3861 { ac_try='test -z "$ac_c_werror_flag" 3862 || test ! -s conftest.err' 3863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3864 (eval $ac_try) 2>&5 3865 ac_status=$? 3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3867 (exit $ac_status); }; } && 3868 { ac_try='test -s conftest.$ac_objext' 3869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3870 (eval $ac_try) 2>&5 3871 ac_status=$? 3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3873 (exit $ac_status); }; }; then 4474 3874 ac_header_compiler=yes 4475 3875 else … … 4477 3877 sed 's/^/| /' conftest.$ac_ext >&5 4478 3878 4479 ac_header_compiler=no 4480 fi 4481 4482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4483 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4484 echo "${ECHO_T}$ac_header_compiler" >&6; } 3879 ac_header_compiler=no 3880 fi 3881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3882 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3883 echo "${ECHO_T}$ac_header_compiler" >&6 4485 3884 4486 3885 # Is the header present? 4487 {echo "$as_me:$LINENO: checking minix/config.h presence" >&54488 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 ; }3886 echo "$as_me:$LINENO: checking minix/config.h presence" >&5 3887 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 4489 3888 cat >conftest.$ac_ext <<_ACEOF 4490 3889 /* confdefs.h. */ … … 4495 3894 #include <minix/config.h> 4496 3895 _ACEOF 4497 if { (ac_try="$ac_cpp conftest.$ac_ext" 4498 case "(($ac_try" in 4499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4500 *) ac_try_echo=$ac_try;; 4501 esac 4502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4503 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4504 3898 ac_status=$? 4505 3899 grep -v '^ *+' conftest.er1 >conftest.err … … 4507 3901 cat conftest.err >&5 4508 3902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4509 (exit $ac_status); } >/dev/null && { 4510 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4511 test ! -s conftest.err 4512 }; then 3903 (exit $ac_status); } >/dev/null; then 3904 if test -s conftest.err; then 3905 ac_cpp_err=$ac_c_preproc_warn_flag 3906 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3907 else 3908 ac_cpp_err= 3909 fi 3910 else 3911 ac_cpp_err=yes 3912 fi 3913 if test -z "$ac_cpp_err"; then 4513 3914 ac_header_preproc=yes 4514 3915 else … … 4518 3919 ac_header_preproc=no 4519 3920 fi 4520 4521 3921 rm -f conftest.err conftest.$ac_ext 4522 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&54523 echo "${ECHO_T}$ac_header_preproc" >&6 ; }3922 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3923 echo "${ECHO_T}$ac_header_preproc" >&6 4524 3924 4525 3925 # So? What about this header? … … 4545 3945 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 4546 3946 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 4547 3947 ( 3948 cat <<\_ASBOX 3949 ## ------------------------------------------ ## 3950 ## Report this to the AC_PACKAGE_NAME lists. ## 3951 ## ------------------------------------------ ## 3952 _ASBOX 3953 ) | 3954 sed "s/^/$as_me: WARNING: /" >&2 4548 3955 ;; 4549 3956 esac 4550 {echo "$as_me:$LINENO: checking for minix/config.h" >&54551 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 ; }3957 echo "$as_me:$LINENO: checking for minix/config.h" >&5 3958 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4552 3959 if test "${ac_cv_header_minix_config_h+set}" = set; then 4553 3960 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4555 3962 ac_cv_header_minix_config_h=$ac_header_preproc 4556 3963 fi 4557 {echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&54558 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 ; }3964 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 3965 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4559 3966 4560 3967 fi … … 4584 3991 fi 4585 3992 4586 {echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&54587 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 ; }3993 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 3994 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 4588 3995 if test "${ac_cv_prog_cc_stdc+set}" = set; then 4589 3996 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4621 4028 _ACEOF 4622 4029 rm -f conftest.$ac_objext 4623 if { (ac_try="$ac_compile" 4624 case "(($ac_try" in 4625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4626 *) ac_try_echo=$ac_try;; 4627 esac 4628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4629 (eval "$ac_compile") 2>conftest.er1 4030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4031 (eval $ac_compile) 2>conftest.er1 4630 4032 ac_status=$? 4631 4033 grep -v '^ *+' conftest.er1 >conftest.err … … 4633 4035 cat conftest.err >&5 4634 4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4635 (exit $ac_status); } && { 4636 test -z "$ac_c_werror_flag" || 4637 test ! -s conftest.err 4638 } && test -s conftest.$ac_objext; then 4037 (exit $ac_status); } && 4038 { ac_try='test -z "$ac_c_werror_flag" 4039 || test ! -s conftest.err' 4040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4041 (eval $ac_try) 2>&5 4042 ac_status=$? 4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4044 (exit $ac_status); }; } && 4045 { ac_try='test -s conftest.$ac_objext' 4046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4047 (eval $ac_try) 2>&5 4048 ac_status=$? 4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4050 (exit $ac_status); }; }; then 4639 4051 ac_cv_prog_cc_stdc="$ac_arg"; break 4640 4052 else … … 4642 4054 sed 's/^/| /' conftest.$ac_ext >&5 4643 4055 4644 4645 fi 4646 4647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4056 fi 4057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4648 4058 done 4649 4059 CFLAGS="$ac_save_CFLAGS" … … 4651 4061 fi 4652 4062 4653 {echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&54654 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 ; }4063 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 4064 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4655 4065 case "x$ac_cv_prog_cc_stdc" in 4656 4066 x|xno) ;; … … 4659 4069 4660 4070 4661 {echo "$as_me:$LINENO: checking for function prototypes" >&54662 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 ; }4071 echo "$as_me:$LINENO: checking for function prototypes" >&5 4072 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4663 4073 if test "$ac_cv_prog_cc_stdc" != no; then 4664 {echo "$as_me:$LINENO: result: yes" >&54665 echo "${ECHO_T}yes" >&6 ; }4074 echo "$as_me:$LINENO: result: yes" >&5 4075 echo "${ECHO_T}yes" >&6 4666 4076 cat >>confdefs.h <<\_ACEOF 4667 4077 #define PROTOTYPES 1 … … 4670 4080 U= ANSI2KNR= 4671 4081 else 4672 {echo "$as_me:$LINENO: result: no" >&54673 echo "${ECHO_T}no" >&6 ; }4082 echo "$as_me:$LINENO: result: no" >&5 4083 echo "${ECHO_T}no" >&6 4674 4084 U=_ ANSI2KNR=ansi2knr 4675 4085 fi 4676 4086 4677 {echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&54678 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 ; }4087 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4088 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4679 4089 if test "${ac_cv_c_const+set}" = set; then 4680 4090 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4694 4104 /* Ultrix mips cc rejects this. */ 4695 4105 typedef int charset[2]; 4696 const charset cs;4106 const charset x; 4697 4107 /* SunOS 4.1.1 cc rejects this. */ 4698 char const *const * pcpcc;4699 char **p pc;4108 char const *const *ccp; 4109 char **p; 4700 4110 /* NEC SVR4.0.2 mips cc rejects this. */ 4701 4111 struct point {int x, y;}; … … 4706 4116 expression */ 4707 4117 const char *g = "string"; 4708 pcpcc= &g + (g ? g-g : 0);4118 ccp = &g + (g ? g-g : 0); 4709 4119 /* HPUX 7.0 cc rejects these. */ 4710 ++ pcpcc;4711 p pc = (char**) pcpcc;4712 pcpcc = (char const *const *) ppc;4120 ++ccp; 4121 p = (char**) ccp; 4122 ccp = (char const *const *) p; 4713 4123 { /* SCO 3.2v4 cc rejects this. */ 4714 4124 char *t; … … 4716 4126 4717 4127 *t++ = 0; 4718 if (s) return 0;4719 4128 } 4720 4129 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4735 4144 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4736 4145 const int foo = 10; 4737 if (!foo) return 0;4738 4146 } 4739 return !cs[0] && !zero.x;4740 4147 #endif 4741 4148 … … 4745 4152 _ACEOF 4746 4153 rm -f conftest.$ac_objext 4747 if { (ac_try="$ac_compile" 4748 case "(($ac_try" in 4749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4750 *) ac_try_echo=$ac_try;; 4751 esac 4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4753 (eval "$ac_compile") 2>conftest.er1 4154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4155 (eval $ac_compile) 2>conftest.er1 4754 4156 ac_status=$? 4755 4157 grep -v '^ *+' conftest.er1 >conftest.err … … 4757 4159 cat conftest.err >&5 4758 4160 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4759 (exit $ac_status); } && { 4760 test -z "$ac_c_werror_flag" || 4761 test ! -s conftest.err 4762 } && test -s conftest.$ac_objext; then 4161 (exit $ac_status); } && 4162 { ac_try='test -z "$ac_c_werror_flag" 4163 || test ! -s conftest.err' 4164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4165 (eval $ac_try) 2>&5 4166 ac_status=$? 4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4168 (exit $ac_status); }; } && 4169 { ac_try='test -s conftest.$ac_objext' 4170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4171 (eval $ac_try) 2>&5 4172 ac_status=$? 4173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4174 (exit $ac_status); }; }; then 4763 4175 ac_cv_c_const=yes 4764 4176 else … … 4766 4178 sed 's/^/| /' conftest.$ac_ext >&5 4767 4179 4768 ac_cv_c_const=no 4769 fi 4770 4771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4772 fi 4773 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4774 echo "${ECHO_T}$ac_cv_c_const" >&6; } 4180 ac_cv_c_const=no 4181 fi 4182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4183 fi 4184 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4185 echo "${ECHO_T}$ac_cv_c_const" >&6 4775 4186 if test $ac_cv_c_const = no; then 4776 4187 … … 4781 4192 fi 4782 4193 4783 {echo "$as_me:$LINENO: checking for off_t" >&54784 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 ; }4194 echo "$as_me:$LINENO: checking for off_t" >&5 4195 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 4785 4196 if test "${ac_cv_type_off_t+set}" = set; then 4786 4197 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4793 4204 /* end confdefs.h. */ 4794 4205 $ac_includes_default 4795 typedef off_t ac__type_new_;4796 4206 int 4797 4207 main () 4798 4208 { 4799 if (( ac__type_new_*) 0)4209 if ((off_t *) 0) 4800 4210 return 0; 4801 if (sizeof ( ac__type_new_))4211 if (sizeof (off_t)) 4802 4212 return 0; 4803 4213 ; … … 4806 4216 _ACEOF 4807 4217 rm -f conftest.$ac_objext 4808 if { (ac_try="$ac_compile" 4809 case "(($ac_try" in 4810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4811 *) ac_try_echo=$ac_try;; 4812 esac 4813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4814 (eval "$ac_compile") 2>conftest.er1 4218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4219 (eval $ac_compile) 2>conftest.er1 4815 4220 ac_status=$? 4816 4221 grep -v '^ *+' conftest.er1 >conftest.err … … 4818 4223 cat conftest.err >&5 4819 4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4820 (exit $ac_status); } && { 4821 test -z "$ac_c_werror_flag" || 4822 test ! -s conftest.err 4823 } && test -s conftest.$ac_objext; then 4225 (exit $ac_status); } && 4226 { ac_try='test -z "$ac_c_werror_flag" 4227 || test ! -s conftest.err' 4228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4229 (eval $ac_try) 2>&5 4230 ac_status=$? 4231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4232 (exit $ac_status); }; } && 4233 { ac_try='test -s conftest.$ac_objext' 4234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4235 (eval $ac_try) 2>&5 4236 ac_status=$? 4237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4238 (exit $ac_status); }; }; then 4824 4239 ac_cv_type_off_t=yes 4825 4240 else … … 4827 4242 sed 's/^/| /' conftest.$ac_ext >&5 4828 4243 4829 ac_cv_type_off_t=no 4830 fi 4831 4832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4833 fi 4834 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4835 echo "${ECHO_T}$ac_cv_type_off_t" >&6; } 4244 ac_cv_type_off_t=no 4245 fi 4246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4247 fi 4248 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4249 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4836 4250 if test $ac_cv_type_off_t = yes; then 4837 4251 : … … 4839 4253 4840 4254 cat >>confdefs.h <<_ACEOF 4841 #define off_t long int4842 _ACEOF 4843 4844 fi 4845 4846 {echo "$as_me:$LINENO: checking for size_t" >&54847 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 ; }4255 #define off_t long 4256 _ACEOF 4257 4258 fi 4259 4260 echo "$as_me:$LINENO: checking for size_t" >&5 4261 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4848 4262 if test "${ac_cv_type_size_t+set}" = set; then 4849 4263 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4856 4270 /* end confdefs.h. */ 4857 4271 $ac_includes_default 4858 typedef size_t ac__type_new_;4859 4272 int 4860 4273 main () 4861 4274 { 4862 if (( ac__type_new_*) 0)4275 if ((size_t *) 0) 4863 4276 return 0; 4864 if (sizeof ( ac__type_new_))4277 if (sizeof (size_t)) 4865 4278 return 0; 4866 4279 ; … … 4869 4282 _ACEOF 4870 4283 rm -f conftest.$ac_objext 4871 if { (ac_try="$ac_compile" 4872 case "(($ac_try" in 4873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4874 *) ac_try_echo=$ac_try;; 4875 esac 4876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4877 (eval "$ac_compile") 2>conftest.er1 4284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4285 (eval $ac_compile) 2>conftest.er1 4878 4286 ac_status=$? 4879 4287 grep -v '^ *+' conftest.er1 >conftest.err … … 4881 4289 cat conftest.err >&5 4882 4290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4883 (exit $ac_status); } && { 4884 test -z "$ac_c_werror_flag" || 4885 test ! -s conftest.err 4886 } && test -s conftest.$ac_objext; then 4291 (exit $ac_status); } && 4292 { ac_try='test -z "$ac_c_werror_flag" 4293 || test ! -s conftest.err' 4294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4295 (eval $ac_try) 2>&5 4296 ac_status=$? 4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4298 (exit $ac_status); }; } && 4299 { ac_try='test -s conftest.$ac_objext' 4300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4301 (eval $ac_try) 2>&5 4302 ac_status=$? 4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4304 (exit $ac_status); }; }; then 4887 4305 ac_cv_type_size_t=yes 4888 4306 else … … 4890 4308 sed 's/^/| /' conftest.$ac_ext >&5 4891 4309 4892 ac_cv_type_size_t=no 4893 fi 4894 4895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4896 fi 4897 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4898 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 4310 ac_cv_type_size_t=no 4311 fi 4312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4313 fi 4314 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4315 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4899 4316 if test $ac_cv_type_size_t = yes; then 4900 4317 : … … 4902 4319 4903 4320 cat >>confdefs.h <<_ACEOF 4904 #define size_t unsigned int4905 _ACEOF 4906 4907 fi 4908 4909 {echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&54910 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 ; }4321 #define size_t unsigned 4322 _ACEOF 4323 4324 fi 4325 4326 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 4327 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4911 4328 if test "${ac_cv_header_time+set}" = set; then 4912 4329 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4932 4349 _ACEOF 4933 4350 rm -f conftest.$ac_objext 4934 if { (ac_try="$ac_compile" 4935 case "(($ac_try" in 4936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4937 *) ac_try_echo=$ac_try;; 4938 esac 4939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4940 (eval "$ac_compile") 2>conftest.er1 4351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4352 (eval $ac_compile) 2>conftest.er1 4941 4353 ac_status=$? 4942 4354 grep -v '^ *+' conftest.er1 >conftest.err … … 4944 4356 cat conftest.err >&5 4945 4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4946 (exit $ac_status); } && { 4947 test -z "$ac_c_werror_flag" || 4948 test ! -s conftest.err 4949 } && test -s conftest.$ac_objext; then 4358 (exit $ac_status); } && 4359 { ac_try='test -z "$ac_c_werror_flag" 4360 || test ! -s conftest.err' 4361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4362 (eval $ac_try) 2>&5 4363 ac_status=$? 4364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4365 (exit $ac_status); }; } && 4366 { ac_try='test -s conftest.$ac_objext' 4367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4368 (eval $ac_try) 2>&5 4369 ac_status=$? 4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4371 (exit $ac_status); }; }; then 4950 4372 ac_cv_header_time=yes 4951 4373 else … … 4953 4375 sed 's/^/| /' conftest.$ac_ext >&5 4954 4376 4955 ac_cv_header_time=no 4956 fi 4957 4958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4959 fi 4960 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4961 echo "${ECHO_T}$ac_cv_header_time" >&6; } 4377 ac_cv_header_time=no 4378 fi 4379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4380 fi 4381 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4382 echo "${ECHO_T}$ac_cv_header_time" >&6 4962 4383 if test $ac_cv_header_time = yes; then 4963 4384 … … 4968 4389 fi 4969 4390 4970 {echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&54971 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 ; }4391 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 4392 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4972 4393 if test "${ac_cv_struct_tm+set}" = set; then 4973 4394 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4985 4406 main () 4986 4407 { 4987 struct tm tm; 4988 int *p = &tm.tm_sec; 4989 return !p; 4408 struct tm *tp; tp->tm_sec; 4990 4409 ; 4991 4410 return 0; … … 4993 4412 _ACEOF 4994 4413 rm -f conftest.$ac_objext 4995 if { (ac_try="$ac_compile" 4996 case "(($ac_try" in 4997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4998 *) ac_try_echo=$ac_try;; 4999 esac 5000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5001 (eval "$ac_compile") 2>conftest.er1 4414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4415 (eval $ac_compile) 2>conftest.er1 5002 4416 ac_status=$? 5003 4417 grep -v '^ *+' conftest.er1 >conftest.err … … 5005 4419 cat conftest.err >&5 5006 4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5007 (exit $ac_status); } && { 5008 test -z "$ac_c_werror_flag" || 5009 test ! -s conftest.err 5010 } && test -s conftest.$ac_objext; then 4421 (exit $ac_status); } && 4422 { ac_try='test -z "$ac_c_werror_flag" 4423 || test ! -s conftest.err' 4424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4425 (eval $ac_try) 2>&5 4426 ac_status=$? 4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4428 (exit $ac_status); }; } && 4429 { ac_try='test -s conftest.$ac_objext' 4430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4431 (eval $ac_try) 2>&5 4432 ac_status=$? 4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4434 (exit $ac_status); }; }; then 5011 4435 ac_cv_struct_tm=time.h 5012 4436 else … … 5014 4438 sed 's/^/| /' conftest.$ac_ext >&5 5015 4439 5016 ac_cv_struct_tm=sys/time.h 5017 fi 5018 5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5020 fi 5021 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5022 echo "${ECHO_T}$ac_cv_struct_tm" >&6; } 4440 ac_cv_struct_tm=sys/time.h 4441 fi 4442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4443 fi 4444 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 4445 echo "${ECHO_T}$ac_cv_struct_tm" >&6 5023 4446 if test $ac_cv_struct_tm = sys/time.h; then 5024 4447 … … 5048 4471 _ACEOF 5049 4472 rm -f conftest.$ac_objext 5050 if { (ac_try="$ac_compile" 5051 case "(($ac_try" in 5052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5053 *) ac_try_echo=$ac_try;; 5054 esac 5055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5056 (eval "$ac_compile") 2>conftest.er1 4473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4474 (eval $ac_compile) 2>conftest.er1 5057 4475 ac_status=$? 5058 4476 grep -v '^ *+' conftest.er1 >conftest.err … … 5060 4478 cat conftest.err >&5 5061 4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5062 (exit $ac_status); } && { 5063 test -z "$ac_c_werror_flag" || 5064 test ! -s conftest.err 5065 } && test -s conftest.$ac_objext; then 4480 (exit $ac_status); } && 4481 { ac_try='test -z "$ac_c_werror_flag" 4482 || test ! -s conftest.err' 4483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4484 (eval $ac_try) 2>&5 4485 ac_status=$? 4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4487 (exit $ac_status); }; } && 4488 { ac_try='test -s conftest.$ac_objext' 4489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4490 (eval $ac_try) 2>&5 4491 ac_status=$? 4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4493 (exit $ac_status); }; }; then 5066 4494 : 5067 4495 else … … 5069 4497 sed 's/^/| /' conftest.$ac_ext >&5 5070 4498 5071 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5072 fi 5073 5074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5075 fi 5076 5077 5078 5079 { echo "$as_me:$LINENO: checking for main in -lg" >&5 5080 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; } 4499 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 4500 fi 4501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4502 fi 4503 4504 4505 4506 echo "$as_me:$LINENO: checking for main in -lg" >&5 4507 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 5081 4508 if test "${ac_cv_lib_g_main+set}" = set; then 5082 4509 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5095 4522 main () 5096 4523 { 5097 returnmain ();4524 main (); 5098 4525 ; 5099 4526 return 0; … … 5101 4528 _ACEOF 5102 4529 rm -f conftest.$ac_objext conftest$ac_exeext 5103 if { (ac_try="$ac_link" 5104 case "(($ac_try" in 5105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5106 *) ac_try_echo=$ac_try;; 5107 esac 5108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5109 (eval "$ac_link") 2>conftest.er1 4530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4531 (eval $ac_link) 2>conftest.er1 5110 4532 ac_status=$? 5111 4533 grep -v '^ *+' conftest.er1 >conftest.err … … 5113 4535 cat conftest.err >&5 5114 4536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5115 (exit $ac_status); } && { 5116 test -z "$ac_c_werror_flag" || 5117 test ! -s conftest.err 5118 } && test -s conftest$ac_exeext && 5119 $as_test_x conftest$ac_exeext; then 4537 (exit $ac_status); } && 4538 { ac_try='test -z "$ac_c_werror_flag" 4539 || test ! -s conftest.err' 4540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4541 (eval $ac_try) 2>&5 4542 ac_status=$? 4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4544 (exit $ac_status); }; } && 4545 { ac_try='test -s conftest$ac_exeext' 4546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4547 (eval $ac_try) 2>&5 4548 ac_status=$? 4549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4550 (exit $ac_status); }; }; then 5120 4551 ac_cv_lib_g_main=yes 5121 4552 else … … 5123 4554 sed 's/^/| /' conftest.$ac_ext >&5 5124 4555 5125 ac_cv_lib_g_main=no 5126 fi 5127 5128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4556 ac_cv_lib_g_main=no 4557 fi 4558 rm -f conftest.err conftest.$ac_objext \ 5129 4559 conftest$ac_exeext conftest.$ac_ext 5130 4560 LIBS=$ac_check_lib_save_LIBS 5131 4561 fi 5132 {echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&55133 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 ; }4562 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 4563 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 5134 4564 if test $ac_cv_lib_g_main = yes; then 5135 4565 cat >>confdefs.h <<_ACEOF … … 5143 4573 5144 4574 5145 {echo "$as_me:$LINENO: checking for main in -lm" >&55146 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 ; }4575 echo "$as_me:$LINENO: checking for main in -lm" >&5 4576 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 5147 4577 if test "${ac_cv_lib_m_main+set}" = set; then 5148 4578 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5161 4591 main () 5162 4592 { 5163 returnmain ();4593 main (); 5164 4594 ; 5165 4595 return 0; … … 5167 4597 _ACEOF 5168 4598 rm -f conftest.$ac_objext conftest$ac_exeext 5169 if { (ac_try="$ac_link" 5170 case "(($ac_try" in 5171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5172 *) ac_try_echo=$ac_try;; 5173 esac 5174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5175 (eval "$ac_link") 2>conftest.er1 4599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4600 (eval $ac_link) 2>conftest.er1 5176 4601 ac_status=$? 5177 4602 grep -v '^ *+' conftest.er1 >conftest.err … … 5179 4604 cat conftest.err >&5 5180 4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5181 (exit $ac_status); } && { 5182 test -z "$ac_c_werror_flag" || 5183 test ! -s conftest.err 5184 } && test -s conftest$ac_exeext && 5185 $as_test_x conftest$ac_exeext; then 4606 (exit $ac_status); } && 4607 { ac_try='test -z "$ac_c_werror_flag" 4608 || test ! -s conftest.err' 4609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4610 (eval $ac_try) 2>&5 4611 ac_status=$? 4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4613 (exit $ac_status); }; } && 4614 { ac_try='test -s conftest$ac_exeext' 4615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4616 (eval $ac_try) 2>&5 4617 ac_status=$? 4618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4619 (exit $ac_status); }; }; then 5186 4620 ac_cv_lib_m_main=yes 5187 4621 else … … 5189 4623 sed 's/^/| /' conftest.$ac_ext >&5 5190 4624 5191 ac_cv_lib_m_main=no 5192 fi 5193 5194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4625 ac_cv_lib_m_main=no 4626 fi 4627 rm -f conftest.err conftest.$ac_objext \ 5195 4628 conftest$ac_exeext conftest.$ac_ext 5196 4629 LIBS=$ac_check_lib_save_LIBS 5197 4630 fi 5198 {echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&55199 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 ; }4631 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 4632 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 5200 4633 if test $ac_cv_lib_m_main = yes; then 5201 4634 cat >>confdefs.h <<_ACEOF … … 5209 4642 5210 4643 5211 {echo "$as_me:$LINENO: checking for main in -lcrypt" >&55212 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 ; }4644 echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 4645 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 5213 4646 if test "${ac_cv_lib_crypt_main+set}" = set; then 5214 4647 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5227 4660 main () 5228 4661 { 5229 returnmain ();4662 main (); 5230 4663 ; 5231 4664 return 0; … … 5233 4666 _ACEOF 5234 4667 rm -f conftest.$ac_objext conftest$ac_exeext 5235 if { (ac_try="$ac_link" 5236 case "(($ac_try" in 5237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5238 *) ac_try_echo=$ac_try;; 5239 esac 5240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5241 (eval "$ac_link") 2>conftest.er1 4668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4669 (eval $ac_link) 2>conftest.er1 5242 4670 ac_status=$? 5243 4671 grep -v '^ *+' conftest.er1 >conftest.err … … 5245 4673 cat conftest.err >&5 5246 4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5247 (exit $ac_status); } && { 5248 test -z "$ac_c_werror_flag" || 5249 test ! -s conftest.err 5250 } && test -s conftest$ac_exeext && 5251 $as_test_x conftest$ac_exeext; then 4675 (exit $ac_status); } && 4676 { ac_try='test -z "$ac_c_werror_flag" 4677 || test ! -s conftest.err' 4678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4679 (eval $ac_try) 2>&5 4680 ac_status=$? 4681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4682 (exit $ac_status); }; } && 4683 { ac_try='test -s conftest$ac_exeext' 4684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4685 (eval $ac_try) 2>&5 4686 ac_status=$? 4687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4688 (exit $ac_status); }; }; then 5252 4689 ac_cv_lib_crypt_main=yes 5253 4690 else … … 5255 4692 sed 's/^/| /' conftest.$ac_ext >&5 5256 4693 5257 ac_cv_lib_crypt_main=no 5258 fi 5259 5260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4694 ac_cv_lib_crypt_main=no 4695 fi 4696 rm -f conftest.err conftest.$ac_objext \ 5261 4697 conftest$ac_exeext conftest.$ac_ext 5262 4698 LIBS=$ac_check_lib_save_LIBS 5263 4699 fi 5264 {echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&55265 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 ; }4700 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 4701 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 5266 4702 if test $ac_cv_lib_crypt_main = yes; then 5267 4703 cat >>confdefs.h <<_ACEOF … … 5286 4722 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 5287 4723 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 5288 {echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&55289 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 ; }5290 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then4724 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 4725 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 4726 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5291 4727 echo $ECHO_N "(cached) $ECHO_C" >&6 5292 4728 else … … 5310 4746 _ACEOF 5311 4747 rm -f conftest.$ac_objext 5312 if { (ac_try="$ac_compile" 5313 case "(($ac_try" in 5314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5315 *) ac_try_echo=$ac_try;; 5316 esac 5317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5318 (eval "$ac_compile") 2>conftest.er1 4748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4749 (eval $ac_compile) 2>conftest.er1 5319 4750 ac_status=$? 5320 4751 grep -v '^ *+' conftest.er1 >conftest.err … … 5322 4753 cat conftest.err >&5 5323 4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5324 (exit $ac_status); } && { 5325 test -z "$ac_c_werror_flag" || 5326 test ! -s conftest.err 5327 } && test -s conftest.$ac_objext; then 4755 (exit $ac_status); } && 4756 { ac_try='test -z "$ac_c_werror_flag" 4757 || test ! -s conftest.err' 4758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4759 (eval $ac_try) 2>&5 4760 ac_status=$? 4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4762 (exit $ac_status); }; } && 4763 { ac_try='test -s conftest.$ac_objext' 4764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4765 (eval $ac_try) 2>&5 4766 ac_status=$? 4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4768 (exit $ac_status); }; }; then 5328 4769 eval "$as_ac_Header=yes" 5329 4770 else … … 5331 4772 sed 's/^/| /' conftest.$ac_ext >&5 5332 4773 5333 eval "$as_ac_Header=no" 5334 fi 5335 5336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5337 fi 5338 ac_res=`eval echo '${'$as_ac_Header'}'` 5339 { echo "$as_me:$LINENO: result: $ac_res" >&5 5340 echo "${ECHO_T}$ac_res" >&6; } 4774 eval "$as_ac_Header=no" 4775 fi 4776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4777 fi 4778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5341 4780 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5342 4781 cat >>confdefs.h <<_ACEOF … … 5350 4789 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 5351 4790 if test $ac_header_dirent = dirent.h; then 5352 {echo "$as_me:$LINENO: checking for library containing opendir" >&55353 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 ; }4791 echo "$as_me:$LINENO: checking for library containing opendir" >&5 4792 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5354 4793 if test "${ac_cv_search_opendir+set}" = set; then 5355 4794 echo $ECHO_N "(cached) $ECHO_C" >&6 5356 4795 else 5357 4796 ac_func_search_save_LIBS=$LIBS 4797 ac_cv_search_opendir=no 5358 4798 cat >conftest.$ac_ext <<_ACEOF 5359 4799 /* confdefs.h. */ … … 5363 4803 /* end confdefs.h. */ 5364 4804 5365 /* Override any GCC internal prototype to avoid an error. 5366 Use char because int might match the return type of a GCC 5367 builtin and then its argument prototype would still apply. */ 4805 /* Override any gcc2 internal prototype to avoid an error. */ 5368 4806 #ifdef __cplusplus 5369 4807 extern "C" 5370 4808 #endif 4809 /* We use char because int might match the return type of a gcc2 4810 builtin and then its argument prototype would still apply. */ 5371 4811 char opendir (); 5372 4812 int 5373 4813 main () 5374 4814 { 5375 returnopendir ();4815 opendir (); 5376 4816 ; 5377 4817 return 0; 5378 4818 } 5379 4819 _ACEOF 5380 for ac_lib in '' dir; do 5381 if test -z "$ac_lib"; then 5382 ac_res="none required" 5383 else 5384 ac_res=-l$ac_lib 5385 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5386 fi 5387 rm -f conftest.$ac_objext conftest$ac_exeext 5388 if { (ac_try="$ac_link" 5389 case "(($ac_try" in 5390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5391 *) ac_try_echo=$ac_try;; 5392 esac 5393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5394 (eval "$ac_link") 2>conftest.er1 4820 rm -f conftest.$ac_objext conftest$ac_exeext 4821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4822 (eval $ac_link) 2>conftest.er1 5395 4823 ac_status=$? 5396 4824 grep -v '^ *+' conftest.er1 >conftest.err … … 5398 4826 cat conftest.err >&5 5399 4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5400 (exit $ac_status); } && { 5401 test -z "$ac_c_werror_flag" || 5402 test ! -s conftest.err 5403 } && test -s conftest$ac_exeext && 5404 $as_test_x conftest$ac_exeext; then 5405 ac_cv_search_opendir=$ac_res 4828 (exit $ac_status); } && 4829 { ac_try='test -z "$ac_c_werror_flag" 4830 || test ! -s conftest.err' 4831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4832 (eval $ac_try) 2>&5 4833 ac_status=$? 4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4835 (exit $ac_status); }; } && 4836 { ac_try='test -s conftest$ac_exeext' 4837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4838 (eval $ac_try) 2>&5 4839 ac_status=$? 4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4841 (exit $ac_status); }; }; then 4842 ac_cv_search_opendir="none required" 5406 4843 else 5407 4844 echo "$as_me: failed program was:" >&5 5408 4845 sed 's/^/| /' conftest.$ac_ext >&5 5409 4846 5410 5411 fi 5412 5413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5414 conftest$ac_exeext 5415 if test "${ac_cv_search_opendir+set}" = set; then 5416 break 5417 fi 5418 done 5419 if test "${ac_cv_search_opendir+set}" = set; then 5420 : 5421 else 5422 ac_cv_search_opendir=no 5423 fi 5424 rm conftest.$ac_ext 5425 LIBS=$ac_func_search_save_LIBS 5426 fi 5427 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5428 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 5429 ac_res=$ac_cv_search_opendir 5430 if test "$ac_res" != no; then 5431 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5432 5433 fi 5434 5435 else 5436 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 5437 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } 5438 if test "${ac_cv_search_opendir+set}" = set; then 5439 echo $ECHO_N "(cached) $ECHO_C" >&6 5440 else 5441 ac_func_search_save_LIBS=$LIBS 5442 cat >conftest.$ac_ext <<_ACEOF 4847 fi 4848 rm -f conftest.err conftest.$ac_objext \ 4849 conftest$ac_exeext conftest.$ac_ext 4850 if test "$ac_cv_search_opendir" = no; then 4851 for ac_lib in dir; do 4852 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4853 cat >conftest.$ac_ext <<_ACEOF 5443 4854 /* confdefs.h. */ 5444 4855 _ACEOF … … 5447 4858 /* end confdefs.h. */ 5448 4859 5449 /* Override any GCC internal prototype to avoid an error. 5450 Use char because int might match the return type of a GCC 5451 builtin and then its argument prototype would still apply. */ 4860 /* Override any gcc2 internal prototype to avoid an error. */ 5452 4861 #ifdef __cplusplus 5453 4862 extern "C" 5454 4863 #endif 4864 /* We use char because int might match the return type of a gcc2 4865 builtin and then its argument prototype would still apply. */ 5455 4866 char opendir (); 5456 4867 int 5457 4868 main () 5458 4869 { 5459 returnopendir ();4870 opendir (); 5460 4871 ; 5461 4872 return 0; 5462 4873 } 5463 4874 _ACEOF 5464 for ac_lib in '' x; do 5465 if test -z "$ac_lib"; then 5466 ac_res="none required" 5467 else 5468 ac_res=-l$ac_lib 5469 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5470 fi 5471 rm -f conftest.$ac_objext conftest$ac_exeext 5472 if { (ac_try="$ac_link" 5473 case "(($ac_try" in 5474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5475 *) ac_try_echo=$ac_try;; 5476 esac 5477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5478 (eval "$ac_link") 2>conftest.er1 4875 rm -f conftest.$ac_objext conftest$ac_exeext 4876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4877 (eval $ac_link) 2>conftest.er1 5479 4878 ac_status=$? 5480 4879 grep -v '^ *+' conftest.er1 >conftest.err … … 5482 4881 cat conftest.err >&5 5483 4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5484 (exit $ac_status); } && { 5485 test -z "$ac_c_werror_flag" || 5486 test ! -s conftest.err 5487 } && test -s conftest$ac_exeext && 5488 $as_test_x conftest$ac_exeext; then 5489 ac_cv_search_opendir=$ac_res 4883 (exit $ac_status); } && 4884 { ac_try='test -z "$ac_c_werror_flag" 4885 || test ! -s conftest.err' 4886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4887 (eval $ac_try) 2>&5 4888 ac_status=$? 4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4890 (exit $ac_status); }; } && 4891 { ac_try='test -s conftest$ac_exeext' 4892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4893 (eval $ac_try) 2>&5 4894 ac_status=$? 4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4896 (exit $ac_status); }; }; then 4897 ac_cv_search_opendir="-l$ac_lib" 4898 break 5490 4899 else 5491 4900 echo "$as_me: failed program was:" >&5 5492 4901 sed 's/^/| /' conftest.$ac_ext >&5 5493 4902 5494 5495 fi 5496 5497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5498 conftest$ac_exeext 5499 if test "${ac_cv_search_opendir+set}" = set; then 5500 break 5501 fi 5502 done 4903 fi 4904 rm -f conftest.err conftest.$ac_objext \ 4905 conftest$ac_exeext conftest.$ac_ext 4906 done 4907 fi 4908 LIBS=$ac_func_search_save_LIBS 4909 fi 4910 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 4911 echo "${ECHO_T}$ac_cv_search_opendir" >&6 4912 if test "$ac_cv_search_opendir" != no; then 4913 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 4914 4915 fi 4916 4917 else 4918 echo "$as_me:$LINENO: checking for library containing opendir" >&5 4919 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5503 4920 if test "${ac_cv_search_opendir+set}" = set; then 5504 : 5505 else 5506 ac_cv_search_opendir=no 5507 fi 5508 rm conftest.$ac_ext 4921 echo $ECHO_N "(cached) $ECHO_C" >&6 4922 else 4923 ac_func_search_save_LIBS=$LIBS 4924 ac_cv_search_opendir=no 4925 cat >conftest.$ac_ext <<_ACEOF 4926 /* confdefs.h. */ 4927 _ACEOF 4928 cat confdefs.h >>conftest.$ac_ext 4929 cat >>conftest.$ac_ext <<_ACEOF 4930 /* end confdefs.h. */ 4931 4932 /* Override any gcc2 internal prototype to avoid an error. */ 4933 #ifdef __cplusplus 4934 extern "C" 4935 #endif 4936 /* We use char because int might match the return type of a gcc2 4937 builtin and then its argument prototype would still apply. */ 4938 char opendir (); 4939 int 4940 main () 4941 { 4942 opendir (); 4943 ; 4944 return 0; 4945 } 4946 _ACEOF 4947 rm -f conftest.$ac_objext conftest$ac_exeext 4948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4949 (eval $ac_link) 2>conftest.er1 4950 ac_status=$? 4951 grep -v '^ *+' conftest.er1 >conftest.err 4952 rm -f conftest.er1 4953 cat conftest.err >&5 4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4955 (exit $ac_status); } && 4956 { ac_try='test -z "$ac_c_werror_flag" 4957 || test ! -s conftest.err' 4958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4959 (eval $ac_try) 2>&5 4960 ac_status=$? 4961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4962 (exit $ac_status); }; } && 4963 { ac_try='test -s conftest$ac_exeext' 4964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4965 (eval $ac_try) 2>&5 4966 ac_status=$? 4967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4968 (exit $ac_status); }; }; then 4969 ac_cv_search_opendir="none required" 4970 else 4971 echo "$as_me: failed program was:" >&5 4972 sed 's/^/| /' conftest.$ac_ext >&5 4973 4974 fi 4975 rm -f conftest.err conftest.$ac_objext \ 4976 conftest$ac_exeext conftest.$ac_ext 4977 if test "$ac_cv_search_opendir" = no; then 4978 for ac_lib in x; do 4979 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4980 cat >conftest.$ac_ext <<_ACEOF 4981 /* confdefs.h. */ 4982 _ACEOF 4983 cat confdefs.h >>conftest.$ac_ext 4984 cat >>conftest.$ac_ext <<_ACEOF 4985 /* end confdefs.h. */ 4986 4987 /* Override any gcc2 internal prototype to avoid an error. */ 4988 #ifdef __cplusplus 4989 extern "C" 4990 #endif 4991 /* We use char because int might match the return type of a gcc2 4992 builtin and then its argument prototype would still apply. */ 4993 char opendir (); 4994 int 4995 main () 4996 { 4997 opendir (); 4998 ; 4999 return 0; 5000 } 5001 _ACEOF 5002 rm -f conftest.$ac_objext conftest$ac_exeext 5003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5004 (eval $ac_link) 2>conftest.er1 5005 ac_status=$? 5006 grep -v '^ *+' conftest.er1 >conftest.err 5007 rm -f conftest.er1 5008 cat conftest.err >&5 5009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5010 (exit $ac_status); } && 5011 { ac_try='test -z "$ac_c_werror_flag" 5012 || test ! -s conftest.err' 5013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5014 (eval $ac_try) 2>&5 5015 ac_status=$? 5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5017 (exit $ac_status); }; } && 5018 { ac_try='test -s conftest$ac_exeext' 5019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5020 (eval $ac_try) 2>&5 5021 ac_status=$? 5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5023 (exit $ac_status); }; }; then 5024 ac_cv_search_opendir="-l$ac_lib" 5025 break 5026 else 5027 echo "$as_me: failed program was:" >&5 5028 sed 's/^/| /' conftest.$ac_ext >&5 5029 5030 fi 5031 rm -f conftest.err conftest.$ac_objext \ 5032 conftest$ac_exeext conftest.$ac_ext 5033 done 5034 fi 5509 5035 LIBS=$ac_func_search_save_LIBS 5510 5036 fi 5511 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5512 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 5513 ac_res=$ac_cv_search_opendir 5514 if test "$ac_res" != no; then 5515 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5516 5517 fi 5518 5519 fi 5520 5521 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5522 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 5037 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5038 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5039 if test "$ac_cv_search_opendir" != no; then 5040 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5041 5042 fi 5043 5044 fi 5045 5046 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5047 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 5523 5048 if test "${ac_cv_header_stdc+set}" = set; then 5524 5049 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5544 5069 _ACEOF 5545 5070 rm -f conftest.$ac_objext 5546 if { (ac_try="$ac_compile" 5547 case "(($ac_try" in 5548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5549 *) ac_try_echo=$ac_try;; 5550 esac 5551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5552 (eval "$ac_compile") 2>conftest.er1 5071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5072 (eval $ac_compile) 2>conftest.er1 5553 5073 ac_status=$? 5554 5074 grep -v '^ *+' conftest.er1 >conftest.err … … 5556 5076 cat conftest.err >&5 5557 5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5558 (exit $ac_status); } && { 5559 test -z "$ac_c_werror_flag" || 5560 test ! -s conftest.err 5561 } && test -s conftest.$ac_objext; then 5078 (exit $ac_status); } && 5079 { ac_try='test -z "$ac_c_werror_flag" 5080 || test ! -s conftest.err' 5081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5082 (eval $ac_try) 2>&5 5083 ac_status=$? 5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5085 (exit $ac_status); }; } && 5086 { ac_try='test -s conftest.$ac_objext' 5087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5088 (eval $ac_try) 2>&5 5089 ac_status=$? 5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5091 (exit $ac_status); }; }; then 5562 5092 ac_cv_header_stdc=yes 5563 5093 else … … 5565 5095 sed 's/^/| /' conftest.$ac_ext >&5 5566 5096 5567 ac_cv_header_stdc=no 5568 fi 5569 5570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5097 ac_cv_header_stdc=no 5098 fi 5099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5571 5100 5572 5101 if test $ac_cv_header_stdc = yes; then … … 5624 5153 /* end confdefs.h. */ 5625 5154 #include <ctype.h> 5626 #include <stdlib.h>5627 5155 #if ((' ' & 0x0FF) == 0x020) 5628 5156 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5644 5172 if (XOR (islower (i), ISLOWER (i)) 5645 5173 || toupper (i) != TOUPPER (i)) 5646 return 2;5647 return 0;5174 exit(2); 5175 exit (0); 5648 5176 } 5649 5177 _ACEOF 5650 5178 rm -f conftest$ac_exeext 5651 if { (ac_try="$ac_link" 5652 case "(($ac_try" in 5653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5654 *) ac_try_echo=$ac_try;; 5655 esac 5656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5657 (eval "$ac_link") 2>&5 5179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5180 (eval $ac_link) 2>&5 5658 5181 ac_status=$? 5659 5182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5660 5183 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5661 { (case "(($ac_try" in 5662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5663 *) ac_try_echo=$ac_try;; 5664 esac 5665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5666 (eval "$ac_try") 2>&5 5184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5185 (eval $ac_try) 2>&5 5667 5186 ac_status=$? 5668 5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 5677 5196 ac_cv_header_stdc=no 5678 5197 fi 5679 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5680 fi 5681 5682 5683 fi 5684 fi 5685 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5686 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 5198 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5199 fi 5200 fi 5201 fi 5202 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5203 echo "${ECHO_T}$ac_cv_header_stdc" >&6 5687 5204 if test $ac_cv_header_stdc = yes; then 5688 5205 … … 5705 5222 do 5706 5223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5707 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then5708 {echo "$as_me:$LINENO: checking for $ac_header" >&55709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ; }5710 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then5224 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5225 echo "$as_me:$LINENO: checking for $ac_header" >&5 5226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5227 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5711 5228 echo $ECHO_N "(cached) $ECHO_C" >&6 5712 5229 fi 5713 ac_res=`eval echo '${'$as_ac_Header'}'` 5714 { echo "$as_me:$LINENO: result: $ac_res" >&5 5715 echo "${ECHO_T}$ac_res" >&6; } 5230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5716 5232 else 5717 5233 # Is the header compilable? 5718 {echo "$as_me:$LINENO: checking $ac_header usability" >&55719 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 ; }5234 echo "$as_me:$LINENO: checking $ac_header usability" >&5 5235 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5720 5236 cat >conftest.$ac_ext <<_ACEOF 5721 5237 /* confdefs.h. */ … … 5728 5244 _ACEOF 5729 5245 rm -f conftest.$ac_objext 5730 if { (ac_try="$ac_compile" 5731 case "(($ac_try" in 5732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5733 *) ac_try_echo=$ac_try;; 5734 esac 5735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5736 (eval "$ac_compile") 2>conftest.er1 5246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5247 (eval $ac_compile) 2>conftest.er1 5737 5248 ac_status=$? 5738 5249 grep -v '^ *+' conftest.er1 >conftest.err … … 5740 5251 cat conftest.err >&5 5741 5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5742 (exit $ac_status); } && { 5743 test -z "$ac_c_werror_flag" || 5744 test ! -s conftest.err 5745 } && test -s conftest.$ac_objext; then 5253 (exit $ac_status); } && 5254 { ac_try='test -z "$ac_c_werror_flag" 5255 || test ! -s conftest.err' 5256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5257 (eval $ac_try) 2>&5 5258 ac_status=$? 5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5260 (exit $ac_status); }; } && 5261 { ac_try='test -s conftest.$ac_objext' 5262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5263 (eval $ac_try) 2>&5 5264 ac_status=$? 5265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5266 (exit $ac_status); }; }; then 5746 5267 ac_header_compiler=yes 5747 5268 else … … 5749 5270 sed 's/^/| /' conftest.$ac_ext >&5 5750 5271 5751 ac_header_compiler=no 5752 fi 5753 5754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5755 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5756 echo "${ECHO_T}$ac_header_compiler" >&6; } 5272 ac_header_compiler=no 5273 fi 5274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5275 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5276 echo "${ECHO_T}$ac_header_compiler" >&6 5757 5277 5758 5278 # Is the header present? 5759 {echo "$as_me:$LINENO: checking $ac_header presence" >&55760 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 ; }5279 echo "$as_me:$LINENO: checking $ac_header presence" >&5 5280 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5761 5281 cat >conftest.$ac_ext <<_ACEOF 5762 5282 /* confdefs.h. */ … … 5767 5287 #include <$ac_header> 5768 5288 _ACEOF 5769 if { (ac_try="$ac_cpp conftest.$ac_ext" 5770 case "(($ac_try" in 5771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5772 *) ac_try_echo=$ac_try;; 5773 esac 5774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5775 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5290 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5776 5291 ac_status=$? 5777 5292 grep -v '^ *+' conftest.er1 >conftest.err … … 5779 5294 cat conftest.err >&5 5780 5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5781 (exit $ac_status); } >/dev/null && { 5782 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5783 test ! -s conftest.err 5784 }; then 5296 (exit $ac_status); } >/dev/null; then 5297 if test -s conftest.err; then 5298 ac_cpp_err=$ac_c_preproc_warn_flag 5299 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5300 else 5301 ac_cpp_err= 5302 fi 5303 else 5304 ac_cpp_err=yes 5305 fi 5306 if test -z "$ac_cpp_err"; then 5785 5307 ac_header_preproc=yes 5786 5308 else … … 5790 5312 ac_header_preproc=no 5791 5313 fi 5792 5793 5314 rm -f conftest.err conftest.$ac_ext 5794 {echo "$as_me:$LINENO: result: $ac_header_preproc" >&55795 echo "${ECHO_T}$ac_header_preproc" >&6 ; }5315 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5316 echo "${ECHO_T}$ac_header_preproc" >&6 5796 5317 5797 5318 # So? What about this header? … … 5817 5338 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5818 5339 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5819 5340 ( 5341 cat <<\_ASBOX 5342 ## ------------------------------------------ ## 5343 ## Report this to the AC_PACKAGE_NAME lists. ## 5344 ## ------------------------------------------ ## 5345 _ASBOX 5346 ) | 5347 sed "s/^/$as_me: WARNING: /" >&2 5820 5348 ;; 5821 5349 esac 5822 {echo "$as_me:$LINENO: checking for $ac_header" >&55823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 ; }5824 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then5350 echo "$as_me:$LINENO: checking for $ac_header" >&5 5351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5352 if eval "test \"\${$as_ac_Header+set}\" = set"; then 5825 5353 echo $ECHO_N "(cached) $ECHO_C" >&6 5826 5354 else 5827 5355 eval "$as_ac_Header=\$ac_header_preproc" 5828 5356 fi 5829 ac_res=`eval echo '${'$as_ac_Header'}'` 5830 { echo "$as_me:$LINENO: result: $ac_res" >&5 5831 echo "${ECHO_T}$ac_res" >&6; } 5357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5832 5359 5833 5360 fi … … 5898 5425 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5899 5426 # for constant arguments. Useless! 5900 {echo "$as_me:$LINENO: checking for working alloca.h" >&55901 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 ; }5427 echo "$as_me:$LINENO: checking for working alloca.h" >&5 5428 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 5902 5429 if test "${ac_cv_working_alloca_h+set}" = set; then 5903 5430 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5914 5441 { 5915 5442 char *p = (char *) alloca (2 * sizeof (int)); 5916 if (p) return 0;5917 5443 ; 5918 5444 return 0; … … 5920 5446 _ACEOF 5921 5447 rm -f conftest.$ac_objext conftest$ac_exeext 5922 if { (ac_try="$ac_link" 5923 case "(($ac_try" in 5924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5925 *) ac_try_echo=$ac_try;; 5926 esac 5927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5928 (eval "$ac_link") 2>conftest.er1 5448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5449 (eval $ac_link) 2>conftest.er1 5929 5450 ac_status=$? 5930 5451 grep -v '^ *+' conftest.er1 >conftest.err … … 5932 5453 cat conftest.err >&5 5933 5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5934 (exit $ac_status); } && { 5935 test -z "$ac_c_werror_flag" || 5936 test ! -s conftest.err 5937 } && test -s conftest$ac_exeext && 5938 $as_test_x conftest$ac_exeext; then 5455 (exit $ac_status); } && 5456 { ac_try='test -z "$ac_c_werror_flag" 5457 || test ! -s conftest.err' 5458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5459 (eval $ac_try) 2>&5 5460 ac_status=$? 5461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5462 (exit $ac_status); }; } && 5463 { ac_try='test -s conftest$ac_exeext' 5464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5465 (eval $ac_try) 2>&5 5466 ac_status=$? 5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5468 (exit $ac_status); }; }; then 5939 5469 ac_cv_working_alloca_h=yes 5940 5470 else … … 5942 5472 sed 's/^/| /' conftest.$ac_ext >&5 5943 5473 5944 ac_cv_working_alloca_h=no 5945 fi 5946 5947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5474 ac_cv_working_alloca_h=no 5475 fi 5476 rm -f conftest.err conftest.$ac_objext \ 5948 5477 conftest$ac_exeext conftest.$ac_ext 5949 5478 fi 5950 {echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&55951 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 ; }5479 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 5480 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 5952 5481 if test $ac_cv_working_alloca_h = yes; then 5953 5482 … … 5958 5487 fi 5959 5488 5960 {echo "$as_me:$LINENO: checking for alloca" >&55961 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 ; }5489 echo "$as_me:$LINENO: checking for alloca" >&5 5490 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 5962 5491 if test "${ac_cv_func_alloca_works+set}" = set; then 5963 5492 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5976 5505 # define alloca _alloca 5977 5506 # else 5978 # if defHAVE_ALLOCA_H5507 # if HAVE_ALLOCA_H 5979 5508 # include <alloca.h> 5980 5509 # else … … 5994 5523 { 5995 5524 char *p = (char *) alloca (1); 5996 if (p) return 0;5997 5525 ; 5998 5526 return 0; … … 6000 5528 _ACEOF 6001 5529 rm -f conftest.$ac_objext conftest$ac_exeext 6002 if { (ac_try="$ac_link" 6003 case "(($ac_try" in 6004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6005 *) ac_try_echo=$ac_try;; 6006 esac 6007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6008 (eval "$ac_link") 2>conftest.er1 5530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5531 (eval $ac_link) 2>conftest.er1 6009 5532 ac_status=$? 6010 5533 grep -v '^ *+' conftest.er1 >conftest.err … … 6012 5535 cat conftest.err >&5 6013 5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6014 (exit $ac_status); } && { 6015 test -z "$ac_c_werror_flag" || 6016 test ! -s conftest.err 6017 } && test -s conftest$ac_exeext && 6018 $as_test_x conftest$ac_exeext; then 5537 (exit $ac_status); } && 5538 { ac_try='test -z "$ac_c_werror_flag" 5539 || test ! -s conftest.err' 5540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5541 (eval $ac_try) 2>&5 5542 ac_status=$? 5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5544 (exit $ac_status); }; } && 5545 { ac_try='test -s conftest$ac_exeext' 5546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5547 (eval $ac_try) 2>&5 5548 ac_status=$? 5549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5550 (exit $ac_status); }; }; then 6019 5551 ac_cv_func_alloca_works=yes 6020 5552 else … … 6022 5554 sed 's/^/| /' conftest.$ac_ext >&5 6023 5555 6024 ac_cv_func_alloca_works=no 6025 fi 6026 6027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5556 ac_cv_func_alloca_works=no 5557 fi 5558 rm -f conftest.err conftest.$ac_objext \ 6028 5559 conftest$ac_exeext conftest.$ac_ext 6029 5560 fi 6030 {echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&56031 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 ; }5561 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 5562 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 6032 5563 6033 5564 if test $ac_cv_func_alloca_works = yes; then … … 6043 5574 # use ar to extract alloca.o from them instead of compiling alloca.c. 6044 5575 6045 ALLOCA= \${LIBOBJDIR}alloca.$ac_objext5576 ALLOCA=alloca.$ac_objext 6046 5577 6047 5578 cat >>confdefs.h <<\_ACEOF … … 6050 5581 6051 5582 6052 {echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&56053 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 ; }5583 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 5584 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 6054 5585 if test "${ac_cv_os_cray+set}" = set; then 6055 5586 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6061 5592 cat >>conftest.$ac_ext <<_ACEOF 6062 5593 /* end confdefs.h. */ 6063 #if defined CRAY && ! defined CRAY25594 #if defined(CRAY) && ! defined(CRAY2) 6064 5595 webecray 6065 5596 #else … … 6077 5608 6078 5609 fi 6079 {echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&56080 echo "${ECHO_T}$ac_cv_os_cray" >&6 ; }5610 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 5611 echo "${ECHO_T}$ac_cv_os_cray" >&6 6081 5612 if test $ac_cv_os_cray = yes; then 6082 5613 for ac_func in _getb67 GETB67 getb67; do 6083 5614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6084 {echo "$as_me:$LINENO: checking for $ac_func" >&56085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 ; }6086 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then5615 echo "$as_me:$LINENO: checking for $ac_func" >&5 5616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5617 if eval "test \"\${$as_ac_var+set}\" = set"; then 6087 5618 echo $ECHO_N "(cached) $ECHO_C" >&6 6088 5619 else … … 6110 5641 #undef $ac_func 6111 5642 6112 /* Override any GCC internal prototype to avoid an error. 6113 Use char because int might match the return type of a GCC 6114 builtin and then its argument prototype would still apply. */ 5643 /* Override any gcc2 internal prototype to avoid an error. */ 6115 5644 #ifdef __cplusplus 6116 5645 extern "C" 5646 { 6117 5647 #endif 5648 /* We use char because int might match the return type of a gcc2 5649 builtin and then its argument prototype would still apply. */ 6118 5650 char $ac_func (); 6119 5651 /* The GNU C library defines this for functions which it implements 6120 5652 to always fail with ENOSYS. Some functions are actually named 6121 5653 something starting with __ and the normal name is an alias. */ 6122 #if defined __stub_$ac_func || defined __stub___$ac_func5654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6123 5655 choke me 5656 #else 5657 char (*f) () = $ac_func; 5658 #endif 5659 #ifdef __cplusplus 5660 } 6124 5661 #endif 6125 5662 … … 6127 5664 main () 6128 5665 { 6129 return $ac_func ();5666 return f != $ac_func; 6130 5667 ; 6131 5668 return 0; … … 6133 5670 _ACEOF 6134 5671 rm -f conftest.$ac_objext conftest$ac_exeext 6135 if { (ac_try="$ac_link" 6136 case "(($ac_try" in 6137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6138 *) ac_try_echo=$ac_try;; 6139 esac 6140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6141 (eval "$ac_link") 2>conftest.er1 5672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5673 (eval $ac_link) 2>conftest.er1 6142 5674 ac_status=$? 6143 5675 grep -v '^ *+' conftest.er1 >conftest.err … … 6145 5677 cat conftest.err >&5 6146 5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6147 (exit $ac_status); } && { 6148 test -z "$ac_c_werror_flag" || 6149 test ! -s conftest.err 6150 } && test -s conftest$ac_exeext && 6151 $as_test_x conftest$ac_exeext; then 5679 (exit $ac_status); } && 5680 { ac_try='test -z "$ac_c_werror_flag" 5681 || test ! -s conftest.err' 5682 { (eval echo "$as_me