Changeset 20846
- Timestamp:
- 2009-10-23T07:10:41+13:00 (14 years ago)
- Location:
- gsdl/trunk/common-src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/common-src/configure
r20843 r20846 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59.3 # Generated by GNU Autoconf 2.61. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. … … 10 11 ## --------------------- ## 11 12 12 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 13 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 16 emulate sh … … 17 19 # is contrary to our usage. Disable this feature. 18 20 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 79 33 # Avoid depending upon Character Ranges. 80 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 97 51 fi 98 52 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 58 fi 59 60 61 # IFS 62 # We need space, tab and new line, in precisely that order. Quoting is 63 # there to prevent editors from complaining about space-tab. 64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 # splitting by setting IFS to empty value.) 66 as_nl=' 67 ' 68 IFS=" "" $as_nl" 69 70 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 72 *[\\/]* ) as_myself=$0 ;; 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 74 for as_dir in $PATH 111 75 do … … 114 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 79 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 80 IFS=$as_save_IFS 81 82 ;; 83 esac 84 # We did not find ourselves, most probably we were run as `sh COMMAND' 85 # in which case we are not to be found in the path. 86 if test "x$as_myself" = x; then 87 as_myself=$0 88 fi 89 if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 97 done 98 PS1='$ ' 99 PS2='> ' 100 PS4='+ ' 101 102 # NLS nuisances. 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 107 do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 110 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123 112 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 113 done 114 115 # Required to use basename. 116 if expr a : '\(a\)' >/dev/null 2>&1 && 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 118 as_expr=expr 119 else 120 as_expr=false 121 fi 122 123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 124 as_basename=basename 125 else 126 as_basename=false 127 fi 128 129 130 # Name of the executable. 131 as_me=`$as_basename -- "$0" || 132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 X"$0" : 'X\(//\)$' \| \ 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" | 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\/\)$/{ 141 s//\1/ 142 q 143 } 144 /^X\/\(\/\).*/{ 145 s//\1/ 146 q 147 } 148 s/.*/./; q'` 149 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 130 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 133 224 IFS=$as_save_IFS 134 225 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 226 case $as_dir in 137 227 /*) 138 if ("$as_dir/$as_base" -c ' 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 139 328 as_lineno_1=$LINENO 140 329 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`142 330 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell [email protected] about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 155 427 156 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 429 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 162 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 438 sed -n ' 439 p 440 /[$]LINENO/= 441 ' <$as_myself | 165 442 sed ' 443 s/[$]LINENO.*/&-/ 444 t lineno 445 b 446 :lineno 166 447 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 448 :loop 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 450 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 451 s/-\n.*// 173 452 ' >$as_me.lineno && 174 chmod +x $as_me.lineno||453 chmod +x "$as_me.lineno" || 175 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 455 { (exit 1); exit 1; }; } … … 178 457 # Don't try to exec as it changes $[0], causing all sort of problems 179 458 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno459 # original and so on. Autoconf is especially sensitive to this). 460 . "./$as_me.lineno" 182 461 # Exit status is that of the last command. 183 462 exit … … 185 464 186 465 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468 else 469 as_dirname=false 470 fi 471 472 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 474 -n*) 475 case `echo 'x\c'` in 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 478 esac;; 479 *) 480 ECHO_N='-n';; 481 esac 482 483 if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 195 485 as_expr=expr 196 486 else … … 199 489 200 490 rm -f conf$$ conf$$.exe conf$$.file 491 if test -d conf$$.dir; then 492 rm -f conf$$.dir/conf$$.file 493 else 494 rm -f conf$$.dir 495 mkdir conf$$.dir 496 fi 201 497 echo >conf$$.file 202 498 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 207 505 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 fi211 506 elif ln conf$$.file conf$$ 2>/dev/null; then 212 507 as_ln_s=ln … … 214 509 as_ln_s='cp -p' 215 510 fi 216 rm -f conf$$ conf$$.exe conf$$.file 511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512 rmdir conf$$.dir 2>/dev/null 217 513 218 514 if mkdir -p . 2>/dev/null; then … … 223 519 fi 224 520 225 as_executable_p="test -f" 521 if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523 else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 -*)set "./$1";; 536 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538 ???[sx]*):;;*)false;;esac;fi 539 '\'' sh 540 ' 541 fi 542 as_executable_p=$as_test_x 226 543 227 544 # Sed expression to map a string onto a valid CPP name. … … 232 549 233 550 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 551 552 exec 7<&0 </dev/null 6>&1 243 553 244 554 # Name of the host. … … 247 557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 558 249 exec 6>&1250 251 559 # 252 560 # Initializations. 253 561 # 254 562 ac_default_prefix=/usr/local 563 ac_clean_files= 255 564 ac_config_libobj_dir=. 565 LIBOBJS= 256 566 cross_compiling=no 257 567 subdirs= … … 259 569 MAKEFLAGS= 260 570 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document.263 # This variable seems obsolete. It should probably be removed, and264 # only ac_max_sed_lines should be used.265 : ${ac_max_here_lines=38}266 571 267 572 # Identity of this package. … … 276 581 ac_includes_default="\ 277 582 #include <stdio.h> 278 #if HAVE_SYS_TYPES_H583 #ifdef HAVE_SYS_TYPES_H 279 584 # include <sys/types.h> 280 585 #endif 281 #if HAVE_SYS_STAT_H586 #ifdef HAVE_SYS_STAT_H 282 587 # include <sys/stat.h> 283 588 #endif 284 #if STDC_HEADERS589 #ifdef STDC_HEADERS 285 590 # include <stdlib.h> 286 591 # include <stddef.h> 287 592 #else 288 # if HAVE_STDLIB_H593 # ifdef HAVE_STDLIB_H 289 594 # include <stdlib.h> 290 595 # endif 291 596 #endif 292 #if HAVE_STRING_H293 # if ! STDC_HEADERS &&HAVE_MEMORY_H597 #ifdef HAVE_STRING_H 598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 294 599 # include <memory.h> 295 600 # endif 296 601 # include <string.h> 297 602 #endif 298 #if HAVE_STRINGS_H603 #ifdef HAVE_STRINGS_H 299 604 # include <strings.h> 300 605 #endif 301 #if HAVE_INTTYPES_H606 #ifdef HAVE_INTTYPES_H 302 607 # include <inttypes.h> 303 #else304 # if HAVE_STDINT_H305 # include <stdint.h>306 # endif307 608 #endif 308 #if HAVE_UNISTD_H 609 #ifdef HAVE_STDINT_H 610 # include <stdint.h> 611 #endif 612 #ifdef HAVE_UNISTD_H 309 613 # include <unistd.h> 310 614 #endif" 311 615 312 ac_subdirs_all="$ac_subdirs_all packages" 313 ac_subdirs_all="$ac_subdirs_all indexers" 314 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 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' 616 ac_subst_vars='SHELL 617 PATH_SEPARATOR 618 PACKAGE_NAME 619 PACKAGE_TARNAME 620 PACKAGE_VERSION 621 PACKAGE_STRING 622 PACKAGE_BUGREPORT 623 exec_prefix 624 prefix 625 program_transform_name 626 bindir 627 sbindir 628 libexecdir 629 datarootdir 630 datadir 631 sysconfdir 632 sharedstatedir 633 localstatedir 634 includedir 635 oldincludedir 636 docdir 637 infodir 638 htmldir 639 dvidir 640 pdfdir 641 psdir 642 libdir 643 localedir 644 mandir 645 DEFS 646 ECHO_C 647 ECHO_N 648 ECHO_T 649 LIBS 650 build_alias 651 host_alias 652 target_alias 653 PACKAGE 654 VERSION 655 USE_FASTCGI 656 USE_LANGACTION 657 USE_CORBA 658 MICO_DIR 659 USE_Z3950 660 USE_YAZ 661 ENABLE_ACCENTFOLD 662 USE_SQLITE 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' 315 708 ac_subst_files='' 709 ac_precious_vars='build_alias 710 host_alias 711 target_alias 712 CC 713 CFLAGS 714 LDFLAGS 715 LIBS 716 CPPFLAGS 717 CXX 718 CXXFLAGS 719 CCC 720 YACC 721 YFLAGS 722 CPP' 723 ac_subdirs_all='packages 724 indexers' 316 725 317 726 # Initialize some variables set by options. … … 340 749 # by default will actually change. 341 750 # Use braces instead of parens because sh, perl, etc. also accept them. 751 # (The list follows the same order as the GNU Coding Standards.) 342 752 bindir='${exec_prefix}/bin' 343 753 sbindir='${exec_prefix}/sbin' 344 754 libexecdir='${exec_prefix}/libexec' 345 datadir='${prefix}/share' 755 datarootdir='${prefix}/share' 756 datadir='${datarootdir}' 346 757 sysconfdir='${prefix}/etc' 347 758 sharedstatedir='${prefix}/com' 348 759 localstatedir='${prefix}/var' 349 libdir='${exec_prefix}/lib'350 760 includedir='${prefix}/include' 351 761 oldincludedir='/usr/include' 352 infodir='${prefix}/info' 353 mandir='${prefix}/man' 762 docdir='${datarootdir}/doc/${PACKAGE}' 763 infodir='${datarootdir}/info' 764 htmldir='${docdir}' 765 dvidir='${docdir}' 766 pdfdir='${docdir}' 767 psdir='${docdir}' 768 libdir='${exec_prefix}/lib' 769 localedir='${datarootdir}/locale' 770 mandir='${datarootdir}/man' 354 771 355 772 ac_prev= 773 ac_dashdash= 356 774 for ac_option 357 775 do 358 776 # If the previous option needs an argument, assign it. 359 777 if test -n "$ac_prev"; then 360 eval "$ac_prev=\$ac_option"778 eval $ac_prev=\$ac_option 361 779 ac_prev= 362 780 continue 363 781 fi 364 782 365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 783 case $ac_option in 784 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 785 *) ac_optarg=yes ;; 786 esac 366 787 367 788 # Accept the important Cygnus configure options, so we can diagnose typos. 368 789 369 case $ac_option in 790 case $ac_dashdash$ac_option in 791 --) 792 ac_dashdash=yes ;; 370 793 371 794 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 389 812 cache_file=config.cache ;; 390 813 391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)814 -datadir | --datadir | --datadi | --datad) 392 815 ac_prev=datadir ;; 393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 394 | --da=*) 816 -datadir=* | --datadir=* | --datadi=* | --datad=*) 395 817 datadir=$ac_optarg ;; 818 819 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 820 | --dataroo | --dataro | --datar) 821 ac_prev=datarootdir ;; 822 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 823 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 824 datarootdir=$ac_optarg ;; 396 825 397 826 -disable-* | --disable-*) 398 827 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 399 828 # Reject names that are not valid shell variable names. 400 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&829 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 401 830 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 402 831 { (exit 1); exit 1; }; } 403 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 404 eval "enable_$ac_feature=no" ;; 832 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 833 eval enable_$ac_feature=no ;; 834 835 -docdir | --docdir | --docdi | --doc | --do) 836 ac_prev=docdir ;; 837 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 838 docdir=$ac_optarg ;; 839 840 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 841 ac_prev=dvidir ;; 842 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 843 dvidir=$ac_optarg ;; 405 844 406 845 -enable-* | --enable-*) 407 846 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 408 847 # Reject names that are not valid shell variable names. 409 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&848 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 410 849 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 411 850 { (exit 1); exit 1; }; } 412 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 413 case $ac_option in 414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 415 *) ac_optarg=yes ;; 416 esac 417 eval "enable_$ac_feature='$ac_optarg'" ;; 851 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 852 eval enable_$ac_feature=\$ac_optarg ;; 418 853 419 854 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 442 877 host_alias=$ac_optarg ;; 443 878 879 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 880 ac_prev=htmldir ;; 881 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 882 | --ht=*) 883 htmldir=$ac_optarg ;; 884 444 885 -includedir | --includedir | --includedi | --included | --include \ 445 886 | --includ | --inclu | --incl | --inc) … … 466 907 libexecdir=$ac_optarg ;; 467 908 909 -localedir | --localedir | --localedi | --localed | --locale) 910 ac_prev=localedir ;; 911 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 912 localedir=$ac_optarg ;; 913 468 914 -localstatedir | --localstatedir | --localstatedi | --localstated \ 469 | --localstate | --localstat | --localsta | --localst \ 470 | --locals | --local | --loca | --loc | --lo) 915 | --localstate | --localstat | --localsta | --localst | --locals) 471 916 ac_prev=localstatedir ;; 472 917 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 918 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 475 919 localstatedir=$ac_optarg ;; 476 920 … … 537 981 program_transform_name=$ac_optarg ;; 538 982 983 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 984 ac_prev=pdfdir ;; 985 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 986 pdfdir=$ac_optarg ;; 987 988 -psdir | --psdir | --psdi | --psd | --ps) 989 ac_prev=psdir ;; 990 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 991 psdir=$ac_optarg ;; 992 539 993 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 540 994 | -silent | --silent | --silen | --sile | --sil) … … 589 1043 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 590 1044 # Reject names that are not valid shell variable names. 591 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1045 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 592 1046 { echo "$as_me: error: invalid package name: $ac_package" >&2 593 1047 { (exit 1); exit 1; }; } 594 ac_package=`echo $ac_package| sed 's/-/_/g'` 595 case $ac_option in 596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 597 *) ac_optarg=yes ;; 598 esac 599 eval "with_$ac_package='$ac_optarg'" ;; 1048 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1049 eval with_$ac_package=\$ac_optarg ;; 600 1050 601 1051 -without-* | --without-*) 602 1052 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 603 1053 # Reject names that are not valid shell variable names. 604 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1054 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 605 1055 { echo "$as_me: error: invalid package name: $ac_package" >&2 606 1056 { (exit 1); exit 1; }; } 607 ac_package=`echo $ac_package | sed 's/ -/_/g'`608 eval "with_$ac_package=no";;1057 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1058 eval with_$ac_package=no ;; 609 1059 610 1060 --x) … … 637 1087 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 638 1088 { (exit 1); exit 1; }; } 639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 640 eval "$ac_envvar='$ac_optarg'" 1089 eval $ac_envvar=\$ac_optarg 641 1090 export $ac_envvar ;; 642 1091 … … 658 1107 fi 659 1108 660 # Be sure to have absolute paths. 661 for ac_var in exec_prefix prefix 1109 # Be sure to have absolute directory names. 1110 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1111 datadir sysconfdir sharedstatedir localstatedir includedir \ 1112 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1113 libdir localedir mandir 662 1114 do 663 eval ac_val= $`echo $ac_var`1115 eval ac_val=\$$ac_var 664 1116 case $ac_val in 665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 667 { (exit 1); exit 1; }; };; 1117 [\\/$]* | ?:[\\/]* ) continue;; 1118 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 668 1119 esac 669 done 670 671 # Be sure to have absolute paths. 672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 673 localstatedir libdir includedir oldincludedir infodir mandir 674 do 675 eval ac_val=$`echo $ac_var` 676 case $ac_val in 677 [\\/$]* | ?:[\\/]* ) ;; 678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 679 { (exit 1); exit 1; }; };; 680 esac 1120 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1121 { (exit 1); exit 1; }; } 681 1122 done 682 1123 … … 705 1146 706 1147 1148 ac_pwd=`pwd` && test -n "$ac_pwd" && 1149 ac_ls_di=`ls -di .` && 1150 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1151 { echo "$as_me: error: Working directory cannot be determined" >&2 1152 { (exit 1); exit 1; }; } 1153 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1154 { echo "$as_me: error: pwd does not report name of working directory" >&2 1155 { (exit 1); exit 1; }; } 1156 1157 707 1158 # Find the source files, if location was not specified. 708 1159 if test -z "$srcdir"; then 709 1160 ac_srcdir_defaulted=yes 710 # Try the directory containing this script, then its parent.711 ac_confdir=` (dirname "$0") 2>/dev/null||1161 # Try the directory containing this script, then the parent directory. 1162 ac_confdir=`$as_dirname -- "$0" || 712 1163 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 713 1164 X"$0" : 'X\(//\)[^/]' \| \ 714 1165 X"$0" : 'X\(//\)$' \| \ 715 X"$0" : 'X\(/\)' \| \ 716 . : '\(.\)' 2>/dev/null || 1166 X"$0" : 'X\(/\)' \| . 2>/dev/null || 717 1167 echo X"$0" | 718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 719 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 720 /^X\(\/\/\)$/{ s//\1/; q; } 721 /^X\(\/\).*/{ s//\1/; q; } 722 s/.*/./; q'` 1168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1169 s//\1/ 1170 q 1171 } 1172 /^X\(\/\/\)[^/].*/{ 1173 s//\1/ 1174 q 1175 } 1176 /^X\(\/\/\)$/{ 1177 s//\1/ 1178 q 1179 } 1180 /^X\(\/\).*/{ 1181 s//\1/ 1182 q 1183 } 1184 s/.*/./; q'` 723 1185 srcdir=$ac_confdir 724 if test ! -r $srcdir/$ac_unique_file; then1186 if test ! -r "$srcdir/$ac_unique_file"; then 725 1187 srcdir=.. 726 1188 fi … … 728 1190 ac_srcdir_defaulted=no 729 1191 fi 730 if test ! -r $srcdir/$ac_unique_file; then731 if test "$ac_srcdir_defaulted" = yes; then732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21192 if test ! -r "$srcdir/$ac_unique_file"; then 1193 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1194 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 733 1195 { (exit 1); exit 1; }; } 734 else 735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1196 fi 1197 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1198 ac_abs_confdir=`( 1199 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 736 1200 { (exit 1); exit 1; }; } 737 fi 738 fi 739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 741 { (exit 1); exit 1; }; } 742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 743 ac_env_build_alias_set=${build_alias+set} 744 ac_env_build_alias_value=$build_alias 745 ac_cv_env_build_alias_set=${build_alias+set} 746 ac_cv_env_build_alias_value=$build_alias 747 ac_env_host_alias_set=${host_alias+set} 748 ac_env_host_alias_value=$host_alias 749 ac_cv_env_host_alias_set=${host_alias+set} 750 ac_cv_env_host_alias_value=$host_alias 751 ac_env_target_alias_set=${target_alias+set} 752 ac_env_target_alias_value=$target_alias 753 ac_cv_env_target_alias_set=${target_alias+set} 754 ac_cv_env_target_alias_value=$target_alias 755 ac_env_CC_set=${CC+set} 756 ac_env_CC_value=$CC 757 ac_cv_env_CC_set=${CC+set} 758 ac_cv_env_CC_value=$CC 759 ac_env_CFLAGS_set=${CFLAGS+set} 760 ac_env_CFLAGS_value=$CFLAGS 761 ac_cv_env_CFLAGS_set=${CFLAGS+set} 762 ac_cv_env_CFLAGS_value=$CFLAGS 763 ac_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_env_LDFLAGS_value=$LDFLAGS 765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 766 ac_cv_env_LDFLAGS_value=$LDFLAGS 767 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_env_CPPFLAGS_value=$CPPFLAGS 769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 771 ac_env_CXX_set=${CXX+set} 772 ac_env_CXX_value=$CXX 773 ac_cv_env_CXX_set=${CXX+set} 774 ac_cv_env_CXX_value=$CXX 775 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_env_CXXFLAGS_value=$CXXFLAGS 777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 779 ac_env_CPP_set=${CPP+set} 780 ac_env_CPP_value=$CPP 781 ac_cv_env_CPP_set=${CPP+set} 782 ac_cv_env_CPP_value=$CPP 1201 pwd)` 1202 # When building in place, set srcdir=. 1203 if test "$ac_abs_confdir" = "$ac_pwd"; then 1204 srcdir=. 1205 fi 1206 # Remove unnecessary trailing slashes from srcdir. 1207 # Double slashes in file names in object file debugging info 1208 # mess up M-x gdb in Emacs. 1209 case $srcdir in 1210 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1211 esac 1212 for ac_var in $ac_precious_vars; do 1213 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1214 eval ac_env_${ac_var}_value=\$${ac_var} 1215 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1216 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1217 done 783 1218 784 1219 # … … 809 1244 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 810 1245 811 _ACEOF812 813 cat <<_ACEOF814 1246 Installation directories: 815 1247 --prefix=PREFIX install architecture-independent files in PREFIX … … 829 1261 --sbindir=DIR system admin executables [EPREFIX/sbin] 830 1262 --libexecdir=DIR program executables [EPREFIX/libexec] 831 --datadir=DIR read-only architecture-independent data [PREFIX/share]832 1263 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 833 1264 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 836 1267 --includedir=DIR C header files [PREFIX/include] 837 1268 --oldincludedir=DIR C header files for non-gcc [/usr/include] 838 --infodir=DIR info documentation [PREFIX/info] 839 --mandir=DIR man documentation [PREFIX/man] 1269 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1270 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1271 --infodir=DIR info documentation [DATAROOTDIR/info] 1272 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1273 --mandir=DIR man documentation [DATAROOTDIR/man] 1274 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1275 --htmldir=DIR html documentation [DOCDIR] 1276 --dvidir=DIR dvi documentation [DOCDIR] 1277 --pdfdir=DIR pdf documentation [DOCDIR] 1278 --psdir=DIR ps documentation [DOCDIR] 840 1279 _ACEOF 841 1280 … … 875 1314 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 876 1315 nonstandard directory <lib dir> 877 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 878 headers in a nonstandard directory <include 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> 879 1319 CXX C++ compiler command 880 1320 CXXFLAGS C++ compiler flags 1321 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1322 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 a 1325 default value of `-d' given by some make applications. 881 1326 CPP C preprocessor 882 1327 … … 885 1330 886 1331 _ACEOF 1332 ac_status=$? 887 1333 fi 888 1334 889 1335 if test "$ac_init_help" = "recursive"; then 890 1336 # If there are subdirs, report their specific --help. 891 ac_popdir=`pwd`892 1337 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 893 test -d $ac_dir|| continue1338 test -d "$ac_dir" || continue 894 1339 ac_builddir=. 895 1340 896 if test "$ac_dir" != .; then 1341 case "$ac_dir" in 1342 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1343 *) 897 1344 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 898 # A "../" for each directory in $ac_dir_suffix. 899 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 900 else 901 ac_dir_suffix= ac_top_builddir= 902 fi 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 ;; 1351 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 903 1356 904 1357 case $srcdir in 905 .) # No --srcdir option.We are building in place.1358 .) # We are building in place. 906 1359 ac_srcdir=. 907 if test -z "$ac_top_builddir"; then 908 ac_top_srcdir=. 909 else 910 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 911 fi ;; 912 [\\/]* | ?:[\\/]* ) # Absolute path. 1360 ac_top_srcdir=$ac_top_builddir_sub 1361 ac_abs_top_srcdir=$ac_pwd ;; 1362 [\\/]* | ?:[\\/]* ) # Absolute name. 913 1363 ac_srcdir=$srcdir$ac_dir_suffix; 914 ac_top_srcdir=$srcdir ;; 915 *) # Relative path. 916 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 917 ac_top_srcdir=$ac_top_builddir$srcdir ;; 918 esac 919 920 # Do not use `cd foo && pwd` to compute absolute paths, because 921 # the directories may not exist. 922 case `pwd` in 923 .) ac_abs_builddir="$ac_dir";; 924 *) 925 case "$ac_dir" in 926 .) ac_abs_builddir=`pwd`;; 927 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 928 *) ac_abs_builddir=`pwd`/"$ac_dir";; 929 esac;; 930 esac 931 case $ac_abs_builddir in 932 .) ac_abs_top_builddir=${ac_top_builddir}.;; 933 *) 934 case ${ac_top_builddir}. in 935 .) ac_abs_top_builddir=$ac_abs_builddir;; 936 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 937 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 938 esac;; 939 esac 940 case $ac_abs_builddir in 941 .) ac_abs_srcdir=$ac_srcdir;; 942 *) 943 case $ac_srcdir in 944 .) ac_abs_srcdir=$ac_abs_builddir;; 945 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 946 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 947 esac;; 948 esac 949 case $ac_abs_builddir in 950 .) ac_abs_top_srcdir=$ac_top_srcdir;; 951 *) 952 case $ac_top_srcdir in 953 .) ac_abs_top_srcdir=$ac_abs_builddir;; 954 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 955 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 956 esac;; 957 esac 958 959 cd $ac_dir 960 # Check for guested configure; otherwise get Cygnus style configure. 961 if test -f $ac_srcdir/configure.gnu; then 962 echo 963 $SHELL $ac_srcdir/configure.gnu --help=recursive 964 elif test -f $ac_srcdir/configure; then 965 echo 966 $SHELL $ac_srcdir/configure --help=recursive 967 elif test -f $ac_srcdir/configure.ac || 968 test -f $ac_srcdir/configure.in; then 969 echo 970 $ac_configure --help 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 ;; 1370 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 971 1381 else 972 1382 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 973 fi 974 cd $ac_popdir1383 fi || ac_status=$? 1384 cd "$ac_pwd" || { ac_status=$?; break; } 975 1385 done 976 1386 fi 977 1387 978 test -n "$ac_init_help" && exit 01388 test -n "$ac_init_help" && exit $ac_status 979 1389 if $ac_init_version; then 980 1390 cat <<\_ACEOF 981 982 Copyright (C) 2003 Free Software Foundation, Inc. 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. 983 1396 This configure script is free software; the Free Software Foundation 984 1397 gives unlimited permission to copy, distribute and modify it. 985 1398 _ACEOF 986 exit 0 987 fi 988 exec 5>config.log 989 cat >&5 <<_ACEOF 1399 exit 1400 fi 1401 cat >config.log <<_ACEOF 990 1402 This file contains any messages produced by compilers while 991 1403 running configure, to aid debugging if configure makes a mistake. 992 1404 993 1405 It was created by $as_me, which was 994 generated by GNU Autoconf 2. 59. Invocation command line was1406 generated by GNU Autoconf 2.61. Invocation command line was 995 1407 996 1408 $ $0 $@ 997 1409 998 1410 _ACEOF 1411 exec 5>>config.log 999 1412 { 1000 1413 cat <<_ASUNAME … … 1015 1428 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1016 1429 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1017 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1430 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1018 1431 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1019 1432 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1029 1442 echo "PATH: $as_dir" 1030 1443 done 1444 IFS=$as_save_IFS 1031 1445 1032 1446 } >&5 … … 1050 1464 ac_configure_args0= 1051 1465 ac_configure_args1= 1052 ac_sep=1053 1466 ac_must_keep_next=false 1054 1467 for ac_pass in 1 2 … … 1061 1474 | -silent | --silent | --silen | --sile | --sil) 1062 1475 continue ;; 1063 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1476 *\'*) 1064 1477 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1065 1478 esac … … 1083 1496 esac 1084 1497 fi 1085 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1086 # Get rid of the leading space. 1087 ac_sep=" " 1498 ac_configure_args="$ac_configure_args '$ac_arg'" 1088 1499 ;; 1089 1500 esac … … 1096 1507 # config.log. We remove comments because anyway the quotes in there 1097 1508 # would cause problems or look ugly. 1098 # WARNING: Be sure not to use single quotes in there, as some shells,1099 # such as our DU 5.0 friend, will then `close' the trap.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. 1100 1511 trap 'exit_status=$? 1101 1512 # Save into config.log some information that might help in debugging. … … 1110 1521 echo 1111 1522 # The following way of writing the cache mishandles newlines in values, 1112 { 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 1113 1538 (set) 2>&1 | 1114 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1115 * ac_space=\ *)1539 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1540 *${as_nl}ac_space=\ *) 1116 1541 sed -n \ 1117 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1542 "s/'\''/'\''\\\\'\'''\''/g; 1543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1544 ;; #( 1545 *) 1546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1119 1547 ;; 1120 *) 1121 sed -n \ 1122 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1123 ;; 1124 esac; 1125 } 1548 esac | 1549 sort 1550 ) 1126 1551 echo 1127 1552 … … 1134 1559 for ac_var in $ac_subst_vars 1135 1560 do 1136 eval ac_val=$`echo $ac_var` 1137 echo "$ac_var='"'"'$ac_val'"'"'" 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'\''" 1138 1566 done | sort 1139 1567 echo … … 1141 1569 if test -n "$ac_subst_files"; then 1142 1570 cat <<\_ASBOX 1143 ## ------------- ##1144 ## Output files. ##1145 ## ------------- ##1571 ## ------------------- ## 1572 ## File substitutions. ## 1573 ## ------------------- ## 1146 1574 _ASBOX 1147 1575 echo 1148 1576 for ac_var in $ac_subst_files 1149 1577 do 1150 eval ac_val=$`echo $ac_var` 1151 echo "$ac_var='"'"'$ac_val'"'"'" 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'\''" 1152 1583 done | sort 1153 1584 echo … … 1161 1592 _ASBOX 1162 1593 echo 1163 sed "/^$/d" confdefs.h | sort1594 cat confdefs.h 1164 1595 echo 1165 1596 fi … … 1168 1599 echo "$as_me: exit $exit_status" 1169 1600 } >&5 1170 rm -f core *.core &&1171 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1601 rm -f core *.core core.conftest.* && 1602 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1172 1603 exit $exit_status 1173 1604 ' 0 1174 1605 for ac_signal in 1 2 13 15; do 1175 1606 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1178 1609 1179 1610 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1180 rm -rf conftest* confdefs.h 1181 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1182 echo >confdefs.h 1611 rm -f -r conftest* confdefs.h 1183 1612 1184 1613 # Predefined preprocessor variables. … … 1211 1640 # Let the site file select an alternate cache file if it wants to. 1212 1641 # Prefer explicitly selected file to automatically selected ones. 1213 if test -z "$CONFIG_SITE"; then 1214 if test "x$prefix" != xNONE; then 1215 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1216 else 1217 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1218 fi 1219 fi 1220 for ac_site_file in $CONFIG_SITE; do 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 1221 1653 if test -r "$ac_site_file"; then 1222 1654 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1234 1666 echo "$as_me: loading cache $cache_file" >&6;} 1235 1667 case $cache_file in 1236 [\\/]* | ?:[\\/]* ) . $cache_file;;1237 *) . ./$cache_file;;1668 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1669 *) . "./$cache_file";; 1238 1670 esac 1239 1671 fi … … 1247 1679 # value. 1248 1680 ac_cache_corrupted=false 1249 for ac_var in `(set) 2>&1 | 1250 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1681 for ac_var in $ac_precious_vars; do 1251 1682 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1252 1683 eval ac_new_set=\$ac_env_${ac_var}_set 1253 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1254 eval ac_new_val= "\$ac_env_${ac_var}_value"1684 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1685 eval ac_new_val=\$ac_env_${ac_var}_value 1255 1686 case $ac_old_set,$ac_new_set in 1256 1687 set,) … … 1277 1708 if test "$ac_new_set" = set; then 1278 1709 case $ac_new_val in 1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1280 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1710 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1281 1711 *) ac_arg=$ac_var=$ac_new_val ;; 1282 1712 esac … … 1295 1725 fi 1296 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1297 1743 ac_ext=c 1298 1744 ac_cpp='$CPP $CPPFLAGS' … … 1302 1748 1303 1749 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 ac_config_headers="$ac_config_headers config.h" 1750 ac_config_headers="$ac_config_headers config.h" 1322 1751 1323 1752 … … 1355 1784 fi 1356 1785 1357 # Check whether --enable-corba or --disable-corbawas given.1786 # Check whether --enable-corba was given. 1358 1787 if test "${enable_corba+set}" = set; then 1359 enableval="$enable_corba" 1360 USE_CORBA=1 1788 enableval=$enable_corba; USE_CORBA=1 1361 1789 else 1362 1790 USE_CORBA=0 1363 fi; 1791 fi 1792 1364 1793 cat >>confdefs.h <<_ACEOF 1365 1794 #define USE_CORBA $USE_CORBA … … 1369 1798 1370 1799 1371 # Check whether --with-micodir or --without-micodirwas given.1800 # Check whether --with-micodir was given. 1372 1801 if test "${with_micodir+set}" = set; then 1373 withval="$with_micodir" 1374 MICO_DIR=$enableval 1802 withval=$with_micodir; MICO_DIR=$enableval 1375 1803 else 1376 1804 MICO_DIR="default" 1377 fi; 1805 fi 1806 1378 1807 cat >>confdefs.h <<_ACEOF 1379 1808 #define MICO_DIR "$MICO_DIR" … … 1382 1811 1383 1812 1384 # Check whether --enable-z3950 or --disable-z3950was given.1813 # Check whether --enable-z3950 was given. 1385 1814 if test "${enable_z3950+set}" = set; then 1386 enableval="$enable_z3950" 1387 USE_Z3950=1 1815 enableval=$enable_z3950; USE_Z3950=1 1388 1816 else 1389 1817 USE_Z3950=0 1390 fi; 1818 fi 1819 1391 1820 if test USE_Z3950 = 1; then 1392 1821 cat >>confdefs.h <<\_ACEOF … … 1397 1826 fi 1398 1827 1399 # Check whether --enable-yaz or --disable-yazwas given.1828 # Check whether --enable-yaz was given. 1400 1829 if test "${enable_yaz+set}" = set; then 1401 enableval="$enable_yaz" 1402 USE_YAZ=0 1830 enableval=$enable_yaz; USE_YAZ=0 1403 1831 else 1404 1832 USE_YAZ=1 1405 fi; 1833 fi 1834 1406 1835 cat >>confdefs.h <<\_ACEOF 1407 1836 #define USE_YAZ $USE_YAZ … … 1410 1839 1411 1840 1412 # Check whether --enable-accentfold or --disable-accentfoldwas given.1841 # Check whether --enable-accentfold was given. 1413 1842 if test "${enable_accentfold+set}" = set; then 1414 enableval="$enable_accentfold" 1415 ENABLE_ACCENTFOLD=0 1843 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0 1416 1844 else 1417 1845 ENABLE_ACCENTFOLD=1 1418 fi; 1846 fi 1847 1419 1848 cat >>confdefs.h <<\_ACEOF 1420 1849 #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD … … 1423 1852 1424 1853 1425 # Check whether --enable-sqlite or --disable-sqlitewas given.1854 # Check whether --enable-sqlite was given. 1426 1855 if test "${enable_sqlite+set}" = set; then 1427 enableval="$enable_sqlite" 1428 USE_SQLITE=0 1856 enableval=$enable_sqlite; USE_SQLITE=0 1429 1857 else 1430 1858 USE_SQLITE=1 1431 fi; 1859 fi 1860 1432 1861 cat >>confdefs.h <<\_ACEOF 1433 1862 #define USE_SQLITE $USE_SQLITE … … 1452 1881 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1453 1882 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1454 echo "$as_me:$LINENO: checking for $ac_word" >&51455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1883 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1456 1885 if test "${ac_cv_prog_CC+set}" = set; then 1457 1886 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1466 1895 test -z "$as_dir" && as_dir=. 1467 1896 for ac_exec_ext in '' $ac_executable_extensions; do 1468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1469 1898 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1470 1899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1473 1902 done 1474 1903 done 1904 IFS=$as_save_IFS 1475 1905 1476 1906 fi … … 1478 1908 CC=$ac_cv_prog_CC 1479 1909 if test -n "$CC"; then 1480 echo "$as_me:$LINENO: result: $CC" >&5 1481 echo "${ECHO_T}$CC" >&6 1482 else 1483 echo "$as_me:$LINENO: result: no" >&5 1484 echo "${ECHO_T}no" >&6 1485 fi 1910 { echo "$as_me:$LINENO: result: $CC" >&5 1911 echo "${ECHO_T}$CC" >&6; } 1912 else 1913 { echo "$as_me:$LINENO: result: no" >&5 1914 echo "${ECHO_T}no" >&6; } 1915 fi 1916 1486 1917 1487 1918 fi … … 1490 1921 # Extract the first word of "gcc", so it can be a program name with args. 1491 1922 set dummy gcc; ac_word=$2 1492 echo "$as_me:$LINENO: checking for $ac_word" >&51493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1923 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1494 1925 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1495 1926 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1504 1935 test -z "$as_dir" && as_dir=. 1505 1936 for ac_exec_ext in '' $ac_executable_extensions; do 1506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1507 1938 ac_cv_prog_ac_ct_CC="gcc" 1508 1939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1511 1942 done 1512 1943 done 1944 IFS=$as_save_IFS 1513 1945 1514 1946 fi … … 1516 1948 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1517 1949 if test -n "$ac_ct_CC"; then 1518 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1519 echo "${ECHO_T}$ac_ct_CC" >&6 1520 else 1521 echo "$as_me:$LINENO: result: no" >&5 1522 echo "${ECHO_T}no" >&6 1523 fi 1524 1525 CC=$ac_ct_CC 1950 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1951 echo "${ECHO_T}$ac_ct_CC" >&6; } 1952 else 1953 { echo "$as_me:$LINENO: result: no" >&5 1954 echo "${ECHO_T}no" >&6; } 1955 fi 1956 1957 if test "x$ac_ct_CC" = x; then 1958 CC="" 1959 else 1960 case $cross_compiling:$ac_tool_warned in 1961 yes:) 1962 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1963 whose name does not start with the host triplet. If you think this 1964 configuration is useful to you, please write to [email protected]." >&5 1965 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1966 whose name does not start with the host triplet. If you think this 1967 configuration is useful to you, please write to [email protected]." >&2;} 1968 ac_tool_warned=yes ;; 1969 esac 1970 CC=$ac_ct_CC 1971 fi 1526 1972 else 1527 1973 CC="$ac_cv_prog_CC" … … 1529 1975 1530 1976 if test -z "$CC"; then 1531 if test -n "$ac_tool_prefix"; then1532 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.1977 if test -n "$ac_tool_prefix"; then 1978 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1533 1979 set dummy ${ac_tool_prefix}cc; ac_word=$2 1534 echo "$as_me:$LINENO: checking for $ac_word" >&51535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1980 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1536 1982 if test "${ac_cv_prog_CC+set}" = set; then 1537 1983 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1546 1992 test -z "$as_dir" && as_dir=. 1547 1993 for ac_exec_ext in '' $ac_executable_extensions; do 1548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1549 1995 ac_cv_prog_CC="${ac_tool_prefix}cc" 1550 1996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1553 1999 done 1554 2000 done 2001 IFS=$as_save_IFS 1555 2002 1556 2003 fi … … 1558 2005 CC=$ac_cv_prog_CC 1559 2006 if test -n "$CC"; then 1560 echo "$as_me:$LINENO: result: $CC" >&5 1561 echo "${ECHO_T}$CC" >&6 1562 else 1563 echo "$as_me:$LINENO: result: no" >&5 1564 echo "${ECHO_T}no" >&6 1565 fi 1566 1567 fi 1568 if test -z "$ac_cv_prog_CC"; then 1569 ac_ct_CC=$CC 1570 # Extract the first word of "cc", so it can be a program name with args. 1571 set dummy cc; ac_word=$2 1572 echo "$as_me:$LINENO: checking for $ac_word" >&5 1573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1574 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1575 echo $ECHO_N "(cached) $ECHO_C" >&6 1576 else 1577 if test -n "$ac_ct_CC"; then 1578 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1579 else 1580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1581 for as_dir in $PATH 1582 do 1583 IFS=$as_save_IFS 1584 test -z "$as_dir" && as_dir=. 1585 for ac_exec_ext in '' $ac_executable_extensions; do 1586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1587 ac_cv_prog_ac_ct_CC="cc" 1588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1589 break 2 2007 { echo "$as_me:$LINENO: result: $CC" >&5 2008 echo "${ECHO_T}$CC" >&6; } 2009 else 2010 { echo "$as_me:$LINENO: result: no" >&5 2011 echo "${ECHO_T}no" >&6; } 2012 fi 2013 2014 1590 2015 fi 1591 done1592 done1593 1594 fi1595 fi1596 ac_ct_CC=$ac_cv_prog_ac_ct_CC1597 if test -n "$ac_ct_CC"; then1598 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51599 echo "${ECHO_T}$ac_ct_CC" >&61600 else1601 echo "$as_me:$LINENO: result: no" >&51602 echo "${ECHO_T}no" >&61603 fi1604 1605 CC=$ac_ct_CC1606 else1607 CC="$ac_cv_prog_CC"1608 fi1609 1610 2016 fi 1611 2017 if test -z "$CC"; then 1612 2018 # Extract the first word of "cc", so it can be a program name with args. 1613 2019 set dummy cc; ac_word=$2 1614 echo "$as_me:$LINENO: checking for $ac_word" >&51615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2020 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1616 2022 if test "${ac_cv_prog_CC+set}" = set; then 1617 2023 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1627 2033 test -z "$as_dir" && as_dir=. 1628 2034 for ac_exec_ext in '' $ac_executable_extensions; do 1629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1630 2036 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1631 2037 ac_prog_rejected=yes … … 1638 2044 done 1639 2045 done 2046 IFS=$as_save_IFS 1640 2047 1641 2048 if test $ac_prog_rejected = yes; then … … 1655 2062 CC=$ac_cv_prog_CC 1656 2063 if test -n "$CC"; then 1657 echo "$as_me:$LINENO: result: $CC" >&5 1658 echo "${ECHO_T}$CC" >&6 1659 else 1660 echo "$as_me:$LINENO: result: no" >&5 1661 echo "${ECHO_T}no" >&6 1662 fi 2064 { echo "$as_me:$LINENO: result: $CC" >&5 2065 echo "${ECHO_T}$CC" >&6; } 2066 else 2067 { echo "$as_me:$LINENO: result: no" >&5 2068 echo "${ECHO_T}no" >&6; } 2069 fi 2070 1663 2071 1664 2072 fi 1665 2073 if test -z "$CC"; then 1666 2074 if test -n "$ac_tool_prefix"; then 1667 for ac_prog in cl 2075 for ac_prog in cl.exe 1668 2076 do 1669 2077 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1670 2078 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1671 echo "$as_me:$LINENO: checking for $ac_word" >&51672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2079 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1673 2081 if test "${ac_cv_prog_CC+set}" = set; then 1674 2082 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1683 2091 test -z "$as_dir" && as_dir=. 1684 2092 for ac_exec_ext in '' $ac_executable_extensions; do 1685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1686 2094 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1687 2095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1690 2098 done 1691 2099 done 2100 IFS=$as_save_IFS 1692 2101 1693 2102 fi … … 1695 2104 CC=$ac_cv_prog_CC 1696 2105 if test -n "$CC"; then 1697 echo "$as_me:$LINENO: result: $CC" >&5 1698 echo "${ECHO_T}$CC" >&6 1699 else 1700 echo "$as_me:$LINENO: result: no" >&5 1701 echo "${ECHO_T}no" >&6 1702 fi 2106 { echo "$as_me:$LINENO: result: $CC" >&5 2107 echo "${ECHO_T}$CC" >&6; } 2108 else 2109 { echo "$as_me:$LINENO: result: no" >&5 2110 echo "${ECHO_T}no" >&6; } 2111 fi 2112 1703 2113 1704 2114 test -n "$CC" && break … … 1707 2117 if test -z "$CC"; then 1708 2118 ac_ct_CC=$CC 1709 for ac_prog in cl 2119 for ac_prog in cl.exe 1710 2120 do 1711 2121 # Extract the first word of "$ac_prog", so it can be a program name with args. 1712 2122 set dummy $ac_prog; ac_word=$2 1713 echo "$as_me:$LINENO: checking for $ac_word" >&51714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2123 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1715 2125 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1716 2126 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1725 2135 test -z "$as_dir" && as_dir=. 1726 2136 for ac_exec_ext in '' $ac_executable_extensions; do 1727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1728 2138 ac_cv_prog_ac_ct_CC="$ac_prog" 1729 2139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1732 2142 done 1733 2143 done 2144 IFS=$as_save_IFS 1734 2145 1735 2146 fi … … 1737 2148 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1738 2149 if test -n "$ac_ct_CC"; then 1739 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1740 echo "${ECHO_T}$ac_ct_CC" >&6 1741 else 1742 echo "$as_me:$LINENO: result: no" >&5 1743 echo "${ECHO_T}no" >&6 1744 fi 2150 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2151 echo "${ECHO_T}$ac_ct_CC" >&6; } 2152 else 2153 { echo "$as_me:$LINENO: result: no" >&5 2154 echo "${ECHO_T}no" >&6; } 2155 fi 2156 1745 2157 1746 2158 test -n "$ac_ct_CC" && break 1747 2159 done 1748 2160 1749 CC=$ac_ct_CC 2161 if test "x$ac_ct_CC" = x; then 2162 CC="" 2163 else 2164 case $cross_compiling:$ac_tool_warned in 2165 yes:) 2166 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2167 whose name does not start with the host triplet. If you think this 2168 configuration is useful to you, please write to [email protected]." >&5 2169 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2170 whose name does not start with the host triplet. If you think this 2171 configuration is useful to you, please write to [email protected]." >&2;} 2172 ac_tool_warned=yes ;; 2173 esac 2174 CC=$ac_ct_CC 2175 fi 1750 2176 fi 1751 2177 … … 1760 2186 1761 2187 # Provide some information about the compiler. 1762 echo "$as_me:$LINENO:" \ 1763 "checking for C compiler version" >&5 2188 echo "$as_me:$LINENO: checking for C compiler version" >&5 1764 2189 ac_compiler=`set X $ac_compile; echo $2` 1765 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1766 (eval $ac_compiler --version </dev/null >&5) 2>&5 2190 { (ac_try="$ac_compiler --version >&5" 2191 case "(($ac_try" in 2192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2193 *) ac_try_echo=$ac_try;; 2194 esac 2195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2196 (eval "$ac_compiler --version >&5") 2>&5 1767 2197 ac_status=$? 1768 2198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1769 2199 (exit $ac_status); } 1770 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1771 (eval $ac_compiler -v </dev/null >&5) 2>&5 2200 { (ac_try="$ac_compiler -v >&5" 2201 case "(($ac_try" in 2202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2203 *) ac_try_echo=$ac_try;; 2204 esac 2205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2206 (eval "$ac_compiler -v >&5") 2>&5 1772 2207 ac_status=$? 1773 2208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1774 2209 (exit $ac_status); } 1775 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1776 (eval $ac_compiler -V </dev/null >&5) 2>&5 2210 { (ac_try="$ac_compiler -V >&5" 2211 case "(($ac_try" in 2212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2213 *) ac_try_echo=$ac_try;; 2214 esac 2215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2216 (eval "$ac_compiler -V >&5") 2>&5 1777 2217 ac_status=$? 1778 2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1799 2239 # It will help us diagnose broken compilers, and finding out an intuition 1800 2240 # of exeext. 1801 echo "$as_me:$LINENO: checking for C compiler default output file name" >&51802 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2241 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2242 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 1803 2243 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1804 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1805 (eval $ac_link_default) 2>&5 2244 # 2245 # List of possible output files, starting from the most likely. 2246 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2247 # only as a last resort. b.out is created by i960 compilers. 2248 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2249 # 2250 # The IRIX 6 linker writes into existing files which may not be 2251 # executable, retaining their permissions. Remove them first so a 2252 # subsequent execution test works. 2253 ac_rmfiles= 2254 for ac_file in $ac_files 2255 do 2256 case $ac_file in 2257 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2258 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2259 esac 2260 done 2261 rm -f $ac_rmfiles 2262 2263 if { (ac_try="$ac_link_default" 2264 case "(($ac_try" in 2265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2266 *) ac_try_echo=$ac_try;; 2267 esac 2268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2269 (eval "$ac_link_default") 2>&5 1806 2270 ac_status=$? 1807 2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1808 2272 (exit $ac_status); }; then 1809 # Find the output, starting from the most likely. This scheme is 1810 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1811 # resort. 1812 1813 # Be careful to initialize this variable, since it used to be cached. 1814 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1815 ac_cv_exeext= 1816 # b.out is created by i960 compilers. 1817 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2273 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2274 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2275 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2276 # so that the user can short-circuit this test for compilers unknown to 2277 # Autoconf. 2278 for ac_file in $ac_files '' 1818 2279 do 1819 2280 test -f "$ac_file" || continue 1820 2281 case $ac_file in 1821 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1822 ;; 1823 conftest.$ac_ext ) 1824 # This is the source file. 2282 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 1825 2283 ;; 1826 2284 [ab].out ) … … 1829 2287 break;; 1830 2288 *.* ) 1831 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1832 # FIXME: I believe we export ac_cv_exeext for Libtool, 1833 # but it would be cool to find out if it's true. Does anybody 1834 # maintain Libtool? --akim. 1835 export ac_cv_exeext 2289 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2290 then :; else 2291 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2292 fi 2293 # We set ac_cv_exeext here because the later test for it is not 2294 # safe: cross compilers may not add the suffix if given an `-o' 2295 # argument, so we may need to know it at that point already. 2296 # Even if this section looks crufty: it has the advantage of 2297 # actually working. 1836 2298 break;; 1837 2299 * ) … … 1839 2301 esac 1840 2302 done 1841 else 2303 test "$ac_cv_exeext" = no && ac_cv_exeext= 2304 2305 else 2306 ac_file='' 2307 fi 2308 2309 { echo "$as_me:$LINENO: result: $ac_file" >&5 2310 echo "${ECHO_T}$ac_file" >&6; } 2311 if test -z "$ac_file"; then 1842 2312 echo "$as_me: failed program was:" >&5 1843 2313 sed 's/^/| /' conftest.$ac_ext >&5 … … 1851 2321 1852 2322 ac_exeext=$ac_cv_exeext 1853 echo "$as_me:$LINENO: result: $ac_file" >&5 1854 echo "${ECHO_T}$ac_file" >&6 1855 1856 # Check the compiler produces executables we can run. If not, either 2323 2324 # Check that the compiler produces executables we can run. If not, either 1857 2325 # the compiler is broken, or we cross compile. 1858 echo "$as_me:$LINENO: checking whether the C compiler works" >&51859 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2326 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2327 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 1860 2328 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1861 2329 # If not cross compiling, check that we can run a simple program. 1862 2330 if test "$cross_compiling" != yes; then 1863 2331 if { ac_try='./$ac_file' 1864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1865 (eval $ac_try) 2>&5 2332 { (case "(($ac_try" in 2333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2334 *) ac_try_echo=$ac_try;; 2335 esac 2336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2337 (eval "$ac_try") 2>&5 1866 2338 ac_status=$? 1867 2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1882 2354 fi 1883 2355 fi 1884 echo "$as_me:$LINENO: result: yes" >&51885 echo "${ECHO_T}yes" >&6 2356 { echo "$as_me:$LINENO: result: yes" >&5 2357 echo "${ECHO_T}yes" >&6; } 1886 2358 1887 2359 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1888 2360 ac_clean_files=$ac_clean_files_save 1889 # Check th e compiler produces executables we can run. If not, either2361 # Check that the compiler produces executables we can run. If not, either 1890 2362 # the compiler is broken, or we cross compile. 1891 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1892 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1893 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1894 echo "${ECHO_T}$cross_compiling" >&6 1895 1896 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1897 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1899 (eval $ac_link) 2>&5 2363 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2364 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2365 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2366 echo "${ECHO_T}$cross_compiling" >&6; } 2367 2368 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2369 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2370 if { (ac_try="$ac_link" 2371 case "(($ac_try" in 2372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2373 *) ac_try_echo=$ac_try;; 2374 esac 2375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2376 (eval "$ac_link") 2>&5 1900 2377 ac_status=$? 1901 2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1908 2385 test -f "$ac_file" || continue 1909 2386 case $ac_file in 1910 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 1911 2388 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1912 export ac_cv_exeext1913 2389 break;; 1914 2390 * ) break;; … … 1924 2400 1925 2401 rm -f conftest$ac_cv_exeext 1926 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&51927 echo "${ECHO_T}$ac_cv_exeext" >&6 2402 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2403 echo "${ECHO_T}$ac_cv_exeext" >&6; } 1928 2404 1929 2405 rm -f conftest.$ac_ext 1930 2406 EXEEXT=$ac_cv_exeext 1931 2407 ac_exeext=$EXEEXT 1932 echo "$as_me:$LINENO: checking for suffix of object files" >&51933 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2408 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2409 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 1934 2410 if test "${ac_cv_objext+set}" = set; then 1935 2411 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1951 2427 _ACEOF 1952 2428 rm -f conftest.o conftest.obj 1953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1954 (eval $ac_compile) 2>&5 2429 if { (ac_try="$ac_compile" 2430 case "(($ac_try" in 2431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2432 *) ac_try_echo=$ac_try;; 2433 esac 2434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2435 (eval "$ac_compile") 2>&5 1955 2436 ac_status=$? 1956 2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1957 2438 (exit $ac_status); }; then 1958 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2439 for ac_file in conftest.o conftest.obj conftest.*; do 2440 test -f "$ac_file" || continue; 1959 2441 case $ac_file in 1960 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 1961 2443 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1962 2444 break;; … … 1976 2458 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1977 2459 fi 1978 echo "$as_me:$LINENO: result: $ac_cv_objext" >&51979 echo "${ECHO_T}$ac_cv_objext" >&6 2460 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2461 echo "${ECHO_T}$ac_cv_objext" >&6; } 1980 2462 OBJEXT=$ac_cv_objext 1981 2463 ac_objext=$OBJEXT 1982 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&51983 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2464 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2465 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 1984 2466 if test "${ac_cv_c_compiler_gnu+set}" = set; then 1985 2467 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2004 2486 _ACEOF 2005 2487 rm -f conftest.$ac_objext 2006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2007 (eval $ac_compile) 2>conftest.er1 2488 if { (ac_try="$ac_compile" 2489 case "(($ac_try" in 2490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2491 *) ac_try_echo=$ac_try;; 2492 esac 2493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2494 (eval "$ac_compile") 2>conftest.er1 2008 2495 ac_status=$? 2009 2496 grep -v '^ *+' conftest.er1 >conftest.err … … 2011 2498 cat conftest.err >&5 2012 2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2013 (exit $ac_status); } && 2014 { ac_try='test -z "$ac_c_werror_flag" 2015 || test ! -s conftest.err' 2016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2017 (eval $ac_try) 2>&5 2018 ac_status=$? 2019 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2020 (exit $ac_status); }; } && 2021 { ac_try='test -s conftest.$ac_objext' 2022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2023 (eval $ac_try) 2>&5 2024 ac_status=$? 2025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2026 (exit $ac_status); }; }; then 2500 (exit $ac_status); } && { 2501 test -z "$ac_c_werror_flag" || 2502 test ! -s conftest.err 2503 } && test -s conftest.$ac_objext; then 2027 2504 ac_compiler_gnu=yes 2028 2505 else … … 2030 2507 sed 's/^/| /' conftest.$ac_ext >&5 2031 2508 2032 ac_compiler_gnu=no 2033 fi 2034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2509 ac_compiler_gnu=no 2510 fi 2511 2512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2035 2513 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2036 2514 2037 2515 fi 2038 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52039 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2516 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2517 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2040 2518 GCC=`test $ac_compiler_gnu = yes && echo yes` 2041 2519 ac_test_CFLAGS=${CFLAGS+set} 2042 2520 ac_save_CFLAGS=$CFLAGS 2043 CFLAGS="-g" 2044 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2045 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2521 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2522 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2046 2523 if test "${ac_cv_prog_cc_g+set}" = set; then 2047 2524 echo $ECHO_N "(cached) $ECHO_C" >&6 2048 2525 else 2049 cat >conftest.$ac_ext <<_ACEOF 2526 ac_save_c_werror_flag=$ac_c_werror_flag 2527 ac_c_werror_flag=yes 2528 ac_cv_prog_cc_g=no 2529 CFLAGS="-g" 2530 cat >conftest.$ac_ext <<_ACEOF 2050 2531 /* confdefs.h. */ 2051 2532 _ACEOF … … 2063 2544 _ACEOF 2064 2545 rm -f conftest.$ac_objext 2065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2066 (eval $ac_compile) 2>conftest.er1 2546 if { (ac_try="$ac_compile" 2547 case "(($ac_try" in 2548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2549 *) ac_try_echo=$ac_try;; 2550 esac 2551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2552 (eval "$ac_compile") 2>conftest.er1 2067 2553 ac_status=$? 2068 2554 grep -v '^ *+' conftest.er1 >conftest.err … … 2070 2556 cat conftest.err >&5 2071 2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2072 (exit $ac_status); } && 2073 { ac_try='test -z "$ac_c_werror_flag" 2074 || test ! -s conftest.err' 2075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2076 (eval $ac_try) 2>&5 2077 ac_status=$? 2078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2079 (exit $ac_status); }; } && 2080 { ac_try='test -s conftest.$ac_objext' 2081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2082 (eval $ac_try) 2>&5 2083 ac_status=$? 2084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2085 (exit $ac_status); }; }; then 2558 (exit $ac_status); } && { 2559 test -z "$ac_c_werror_flag" || 2560 test ! -s conftest.err 2561 } && test -s conftest.$ac_objext; then 2086 2562 ac_cv_prog_cc_g=yes 2087 2563 else … … 2089 2565 sed 's/^/| /' conftest.$ac_ext >&5 2090 2566 2091 ac_cv_prog_cc_g=no 2092 fi 2093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2094 fi 2095 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2096 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2567 CFLAGS="" 2568 cat >conftest.$ac_ext <<_ACEOF 2569 /* confdefs.h. */ 2570 _ACEOF 2571 cat confdefs.h >>conftest.$ac_ext 2572 cat >>conftest.$ac_ext <<_ACEOF 2573 /* end confdefs.h. */ 2574 2575 int 2576 main () 2577 { 2578 2579 ; 2580 return 0; 2581 } 2582 _ACEOF 2583 rm -f conftest.$ac_objext 2584 if { (ac_try="$ac_compile" 2585 case "(($ac_try" in 2586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2587 *) ac_try_echo=$ac_try;; 2588 esac 2589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2590 (eval "$ac_compile") 2>conftest.er1 2591 ac_status=$? 2592 grep -v '^ *+' conftest.er1 >conftest.err 2593 rm -f conftest.er1 2594 cat conftest.err >&5 2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2596 (exit $ac_status); } && { 2597 test -z "$ac_c_werror_flag" || 2598 test ! -s conftest.err 2599 } && test -s conftest.$ac_objext; then 2600 : 2601 else 2602 echo "$as_me: failed program was:" >&5 2603 sed 's/^/| /' conftest.$ac_ext >&5 2604 2605 ac_c_werror_flag=$ac_save_c_werror_flag 2606 CFLAGS="-g" 2607 cat >conftest.$ac_ext <<_ACEOF 2608 /* confdefs.h. */ 2609 _ACEOF 2610 cat confdefs.h >>conftest.$ac_ext 2611 cat >>conftest.$ac_ext <<_ACEOF 2612 /* end confdefs.h. */ 2613 2614 int 2615 main () 2616 { 2617 2618 ; 2619 return 0; 2620 } 2621 _ACEOF 2622 rm -f conftest.$ac_objext 2623 if { (ac_try="$ac_compile" 2624 case "(($ac_try" in 2625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2626 *) ac_try_echo=$ac_try;; 2627 esac 2628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2629 (eval "$ac_compile") 2>conftest.er1 2630 ac_status=$? 2631 grep -v '^ *+' conftest.er1 >conftest.err 2632 rm -f conftest.er1 2633 cat conftest.err >&5 2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2635 (exit $ac_status); } && { 2636 test -z "$ac_c_werror_flag" || 2637 test ! -s conftest.err 2638 } && test -s conftest.$ac_objext; then 2639 ac_cv_prog_cc_g=yes 2640 else 2641 echo "$as_me: failed program was:" >&5 2642 sed 's/^/| /' conftest.$ac_ext >&5 2643 2644 2645 fi 2646 2647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2648 fi 2649 2650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2651 fi 2652 2653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2654 ac_c_werror_flag=$ac_save_c_werror_flag 2655 fi 2656 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2657 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2097 2658 if test "$ac_test_CFLAGS" = set; then 2098 2659 CFLAGS=$ac_save_CFLAGS … … 2110 2671 fi 2111 2672 fi 2112 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52113 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&62114 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2673 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2674 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2675 if test "${ac_cv_prog_cc_c89+set}" = set; then 2115 2676 echo $ECHO_N "(cached) $ECHO_C" >&6 2116 2677 else 2117 ac_cv_prog_cc_ stdc=no2678 ac_cv_prog_cc_c89=no 2118 2679 ac_save_CC=$CC 2119 2680 cat >conftest.$ac_ext <<_ACEOF … … 2149 2710 function prototypes and stuff, but not '\xHH' hex character constants. 2150 2711 These don't provoke an error unfortunately, instead are silently treated 2151 as 'x'. The following induces an error, until -std 1is added to get2712 as 'x'. The following induces an error, until -std is added to get 2152 2713 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2153 2714 array size at least. It's necessary to write '\x00'==0 to get something 2154 that's true only with -std 1. */2715 that's true only with -std. */ 2155 2716 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2717 2718 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2719 inside strings and character constants. */ 2720 #define FOO(x) 'x' 2721 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2156 2722 2157 2723 int test (int i, double x); … … 2169 2735 } 2170 2736 _ACEOF 2171 # Don't try gcc -ansi; that turns off useful extensions and 2172 # breaks some systems' header files. 2173 # AIX -qlanglvl=ansi 2174 # Ultrix and OSF/1 -std1 2175 # HP-UX 10.20 and later -Ae 2176 # HP-UX older versions -Aa -D_HPUX_SOURCE 2177 # SVR4 -Xc -D__EXTENSIONS__ 2178 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2737 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2738 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2179 2739 do 2180 2740 CC="$ac_save_CC $ac_arg" 2181 2741 rm -f conftest.$ac_objext 2182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2183 (eval $ac_compile) 2>conftest.er1 2742 if { (ac_try="$ac_compile" 2743 case "(($ac_try" in 2744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2745 *) ac_try_echo=$ac_try;; 2746 esac 2747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2748 (eval "$ac_compile") 2>conftest.er1 2184 2749 ac_status=$? 2185 2750 grep -v '^ *+' conftest.er1 >conftest.err … … 2187 2752 cat conftest.err >&5 2188 2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2189 (exit $ac_status); } && 2190 { ac_try='test -z "$ac_c_werror_flag" 2191 || test ! -s conftest.err' 2192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2193 (eval $ac_try) 2>&5 2194 ac_status=$? 2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2196 (exit $ac_status); }; } && 2197 { ac_try='test -s conftest.$ac_objext' 2198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2199 (eval $ac_try) 2>&5 2200 ac_status=$? 2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2202 (exit $ac_status); }; }; then 2203 ac_cv_prog_cc_stdc=$ac_arg 2204 break 2754 (exit $ac_status); } && { 2755 test -z "$ac_c_werror_flag" || 2756 test ! -s conftest.err 2757 } && test -s conftest.$ac_objext; then 2758 ac_cv_prog_cc_c89=$ac_arg 2205 2759 else 2206 2760 echo "$as_me: failed program was:" >&5 2207 2761 sed 's/^/| /' conftest.$ac_ext >&5 2208 2762 2209 fi 2210 rm -f conftest.err conftest.$ac_objext 2763 2764 fi 2765 2766 rm -f core conftest.err conftest.$ac_objext 2767 test "x$ac_cv_prog_cc_c89" != "xno" && break 2211 2768 done 2212 rm -f conftest.$ac_ext conftest.$ac_objext2769 rm -f conftest.$ac_ext 2213 2770 CC=$ac_save_CC 2214 2771 2215 2772 fi 2216 2217 case "x$ac_cv_prog_cc_stdc" in 2218 x|xno) 2219 echo "$as_me:$LINENO: result: none needed" >&5 2220 echo "${ECHO_T}none needed" >&6 ;; 2773 # AC_CACHE_VAL 2774 case "x$ac_cv_prog_cc_c89" in 2775 x) 2776 { echo "$as_me:$LINENO: result: none needed" >&5 2777 echo "${ECHO_T}none needed" >&6; } ;; 2778 xno) 2779 { echo "$as_me:$LINENO: result: unsupported" >&5 2780 echo "${ECHO_T}unsupported" >&6; } ;; 2221 2781 *) 2222 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2223 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2224 CC="$CC $ac_cv_prog_cc_stdc" ;; 2225 esac 2226 2227 # Some people use a C++ compiler to compile C. Since we use `exit', 2228 # in C++ we need to declare it. In case someone uses the same compiler 2229 # for both compiling C and C++ we need to have the C++ compiler decide 2230 # the declaration of exit, since it's the most demanding environment. 2231 cat >conftest.$ac_ext <<_ACEOF 2232 #ifndef __cplusplus 2233 choke me 2234 #endif 2235 _ACEOF 2236 rm -f conftest.$ac_objext 2237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2238 (eval $ac_compile) 2>conftest.er1 2239 ac_status=$? 2240 grep -v '^ *+' conftest.er1 >conftest.err 2241 rm -f conftest.er1 2242 cat conftest.err >&5 2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2244 (exit $ac_status); } && 2245 { ac_try='test -z "$ac_c_werror_flag" 2246 || test ! -s conftest.err' 2247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2248 (eval $ac_try) 2>&5 2249 ac_status=$? 2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2251 (exit $ac_status); }; } && 2252 { ac_try='test -s conftest.$ac_objext' 2253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2254 (eval $ac_try) 2>&5 2255 ac_status=$? 2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2257 (exit $ac_status); }; }; then 2258 for ac_declaration in \ 2259 '' \ 2260 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2261 'extern "C" void std::exit (int); using std::exit;' \ 2262 'extern "C" void exit (int) throw ();' \ 2263 'extern "C" void exit (int);' \ 2264 'void exit (int);' 2265 do 2266 cat >conftest.$ac_ext <<_ACEOF 2267 /* confdefs.h. */ 2268 _ACEOF 2269 cat confdefs.h >>conftest.$ac_ext 2270 cat >>conftest.$ac_ext <<_ACEOF 2271 /* end confdefs.h. */ 2272 $ac_declaration 2273 #include <stdlib.h> 2274 int 2275 main () 2276 { 2277 exit (42); 2278 ; 2279 return 0; 2280 } 2281 _ACEOF 2282 rm -f conftest.$ac_objext 2283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2284 (eval $ac_compile) 2>conftest.er1 2285 ac_status=$? 2286 grep -v '^ *+' conftest.er1 >conftest.err 2287 rm -f conftest.er1 2288 cat conftest.err >&5 2289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2290 (exit $ac_status); } && 2291 { ac_try='test -z "$ac_c_werror_flag" 2292 || test ! -s conftest.err' 2293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2294 (eval $ac_try) 2>&5 2295 ac_status=$? 2296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2297 (exit $ac_status); }; } && 2298 { ac_try='test -s conftest.$ac_objext' 2299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2300 (eval $ac_try) 2>&5 2301 ac_status=$? 2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2303 (exit $ac_status); }; }; then 2304 : 2305 else 2306 echo "$as_me: failed program was:" >&5 2307 sed 's/^/| /' conftest.$ac_ext >&5 2308 2309 continue 2310 fi 2311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2312 cat >conftest.$ac_ext <<_ACEOF 2313 /* confdefs.h. */ 2314 _ACEOF 2315 cat confdefs.h >>conftest.$ac_ext 2316 cat >>conftest.$ac_ext <<_ACEOF 2317 /* end confdefs.h. */ 2318 $ac_declaration 2319 int 2320 main () 2321 { 2322 exit (42); 2323 ; 2324 return 0; 2325 } 2326 _ACEOF 2327 rm -f conftest.$ac_objext 2328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2329 (eval $ac_compile) 2>conftest.er1 2330 ac_status=$? 2331 grep -v '^ *+' conftest.er1 >conftest.err 2332 rm -f conftest.er1 2333 cat conftest.err >&5 2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2335 (exit $ac_status); } && 2336 { ac_try='test -z "$ac_c_werror_flag" 2337 || test ! -s conftest.err' 2338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2339 (eval $ac_try) 2>&5 2340 ac_status=$? 2341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2342 (exit $ac_status); }; } && 2343 { ac_try='test -s conftest.$ac_objext' 2344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2345 (eval $ac_try) 2>&5 2346 ac_status=$? 2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2348 (exit $ac_status); }; }; then 2349 break 2350 else 2351 echo "$as_me: failed program was:" >&5 2352 sed 's/^/| /' conftest.$ac_ext >&5 2353 2354 fi 2355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2356 done 2357 rm -f conftest* 2358 if test -n "$ac_declaration"; then 2359 echo '#ifdef __cplusplus' >>confdefs.h 2360 echo $ac_declaration >>confdefs.h 2361 echo '#endif' >>confdefs.h 2362 fi 2363 2364 else 2365 echo "$as_me: failed program was:" >&5 2366 sed 's/^/| /' conftest.$ac_ext >&5 2367 2368 fi 2369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2782 CC="$CC $ac_cv_prog_cc_c89" 2783 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2784 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2785 esac 2786 2787 2370 2788 ac_ext=c 2371 2789 ac_cpp='$CPP $CPPFLAGS' … … 2374 2792 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2375 2793 2376 ac_ext=c c2794 ac_ext=cpp 2377 2795 ac_cpp='$CXXCPP $CPPFLAGS' 2378 2796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2379 2797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2380 2798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2381 if test -n "$ac_tool_prefix"; then 2382 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2799 if test -z "$CXX"; then 2800 if test -n "$CCC"; then 2801 CXX=$CCC 2802 else 2803 if test -n "$ac_tool_prefix"; then 2804 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2383 2805 do 2384 2806 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2385 2807 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2386 echo "$as_me:$LINENO: checking for $ac_word" >&52387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2808 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2388 2810 if test "${ac_cv_prog_CXX+set}" = set; then 2389 2811 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2398 2820 test -z "$as_dir" && as_dir=. 2399 2821 for ac_exec_ext in '' $ac_executable_extensions; do 2400 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2401 2823 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2402 2824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2405 2827 done 2406 2828 done 2829 IFS=$as_save_IFS 2407 2830 2408 2831 fi … … 2410 2833 CXX=$ac_cv_prog_CXX 2411 2834 if test -n "$CXX"; then 2412 echo "$as_me:$LINENO: result: $CXX" >&5 2413 echo "${ECHO_T}$CXX" >&6 2414 else 2415 echo "$as_me:$LINENO: result: no" >&5 2416 echo "${ECHO_T}no" >&6 2417 fi 2835 { echo "$as_me:$LINENO: result: $CXX" >&5 2836 echo "${ECHO_T}$CXX" >&6; } 2837 else 2838 { echo "$as_me:$LINENO: result: no" >&5 2839 echo "${ECHO_T}no" >&6; } 2840 fi 2841 2418 2842 2419 2843 test -n "$CXX" && break … … 2422 2846 if test -z "$CXX"; then 2423 2847 ac_ct_CXX=$CXX 2424 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC2848 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2425 2849 do 2426 2850 # Extract the first word of "$ac_prog", so it can be a program name with args. 2427 2851 set dummy $ac_prog; ac_word=$2 2428 echo "$as_me:$LINENO: checking for $ac_word" >&52429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2852 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2430 2854 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2431 2855 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2440 2864 test -z "$as_dir" && as_dir=. 2441 2865 for ac_exec_ext in '' $ac_executable_extensions; do 2442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2443 2867 ac_cv_prog_ac_ct_CXX="$ac_prog" 2444 2868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2447 2871 done 2448 2872 done 2873 IFS=$as_save_IFS 2449 2874 2450 2875 fi … … 2452 2877 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2453 2878 if test -n "$ac_ct_CXX"; then 2454 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2455 echo "${ECHO_T}$ac_ct_CXX" >&6 2456 else 2457 echo "$as_me:$LINENO: result: no" >&5 2458 echo "${ECHO_T}no" >&6 2459 fi 2879 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2880 echo "${ECHO_T}$ac_ct_CXX" >&6; } 2881 else 2882 { echo "$as_me:$LINENO: result: no" >&5 2883 echo "${ECHO_T}no" >&6; } 2884 fi 2885 2460 2886 2461 2887 test -n "$ac_ct_CXX" && break 2462 2888 done 2463 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2464 2465 CXX=$ac_ct_CXX 2466 fi 2467 2468 2889 2890 if test "x$ac_ct_CXX" = x; then 2891 CXX="g++" 2892 else 2893 case $cross_compiling:$ac_tool_warned in 2894 yes:) 2895 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2896 whose name does not start with the host triplet. If you think this 2897 configuration is useful to you, please write to [email protected]." >&5 2898 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2899 whose name does not start with the host triplet. If you think this 2900 configuration is useful to you, please write to [email protected]." >&2;} 2901 ac_tool_warned=yes ;; 2902 esac 2903 CXX=$ac_ct_CXX 2904 fi 2905 fi 2906 2907 fi 2908 fi 2469 2909 # Provide some information about the compiler. 2470 echo "$as_me:$LINENO:" \ 2471 "checking for C++ compiler version" >&5 2910 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 2472 2911 ac_compiler=`set X $ac_compile; echo $2` 2473 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2474 (eval $ac_compiler --version </dev/null >&5) 2>&5 2912 { (ac_try="$ac_compiler --version >&5" 2913 case "(($ac_try" in 2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2915 *) ac_try_echo=$ac_try;; 2916 esac 2917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2918 (eval "$ac_compiler --version >&5") 2>&5 2475 2919 ac_status=$? 2476 2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2477 2921 (exit $ac_status); } 2478 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2479 (eval $ac_compiler -v </dev/null >&5) 2>&5 2922 { (ac_try="$ac_compiler -v >&5" 2923 case "(($ac_try" in 2924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2925 *) ac_try_echo=$ac_try;; 2926 esac 2927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2928 (eval "$ac_compiler -v >&5") 2>&5 2480 2929 ac_status=$? 2481 2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2482 2931 (exit $ac_status); } 2483 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2484 (eval $ac_compiler -V </dev/null >&5) 2>&5 2932 { (ac_try="$ac_compiler -V >&5" 2933 case "(($ac_try" in 2934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2935 *) ac_try_echo=$ac_try;; 2936 esac 2937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2938 (eval "$ac_compiler -V >&5") 2>&5 2485 2939 ac_status=$? 2486 2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2487 2941 (exit $ac_status); } 2488 2942 2489 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52490 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2943 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2944 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 2491 2945 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2492 2946 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2511 2965 _ACEOF 2512 2966 rm -f conftest.$ac_objext 2513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2514 (eval $ac_compile) 2>conftest.er1 2967 if { (ac_try="$ac_compile" 2968 case "(($ac_try" in 2969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2970 *) ac_try_echo=$ac_try;; 2971 esac 2972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2973 (eval "$ac_compile") 2>conftest.er1 2515 2974 ac_status=$? 2516 2975 grep -v '^ *+' conftest.er1 >conftest.err … … 2518 2977 cat conftest.err >&5 2519 2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2520 (exit $ac_status); } && 2521 { ac_try='test -z "$ac_cxx_werror_flag" 2522 || test ! -s conftest.err' 2523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2524 (eval $ac_try) 2>&5 2525 ac_status=$? 2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2527 (exit $ac_status); }; } && 2528 { ac_try='test -s conftest.$ac_objext' 2529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2530 (eval $ac_try) 2>&5 2531 ac_status=$? 2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2533 (exit $ac_status); }; }; then 2979 (exit $ac_status); } && { 2980 test -z "$ac_cxx_werror_flag" || 2981 test ! -s conftest.err 2982 } && test -s conftest.$ac_objext; then 2534 2983 ac_compiler_gnu=yes 2535 2984 else … … 2537 2986 sed 's/^/| /' conftest.$ac_ext >&5 2538 2987 2539 ac_compiler_gnu=no 2540 fi 2541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2988 ac_compiler_gnu=no 2989 fi 2990 2991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2542 2992 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2543 2993 2544 2994 fi 2545 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&52546 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2995 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2996 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 2547 2997 GXX=`test $ac_compiler_gnu = yes && echo yes` 2548 2998 ac_test_CXXFLAGS=${CXXFLAGS+set} 2549 2999 ac_save_CXXFLAGS=$CXXFLAGS 2550 CXXFLAGS="-g" 2551 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2552 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3000 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3001 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 2553 3002 if test "${ac_cv_prog_cxx_g+set}" = set; then 2554 3003 echo $ECHO_N "(cached) $ECHO_C" >&6 2555 3004 else 2556 cat >conftest.$ac_ext <<_ACEOF 3005 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3006 ac_cxx_werror_flag=yes 3007 ac_cv_prog_cxx_g=no 3008 CXXFLAGS="-g" 3009 cat >conftest.$ac_ext <<_ACEOF 2557 3010 /* confdefs.h. */ 2558 3011 _ACEOF … … 2570 3023 _ACEOF 2571 3024 rm -f conftest.$ac_objext 2572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2573 (eval $ac_compile) 2>conftest.er1 3025 if { (ac_try="$ac_compile" 3026 case "(($ac_try" in 3027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3028 *) ac_try_echo=$ac_try;; 3029 esac 3030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3031 (eval "$ac_compile") 2>conftest.er1 2574 3032 ac_status=$? 2575 3033 grep -v '^ *+' conftest.er1 >conftest.err … … 2577 3035 cat conftest.err >&5 2578 3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2579 (exit $ac_status); } && 2580 { ac_try='test -z "$ac_cxx_werror_flag" 2581 || test ! -s conftest.err' 2582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2583 (eval $ac_try) 2>&5 2584 ac_status=$? 2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2586 (exit $ac_status); }; } && 2587 { ac_try='test -s conftest.$ac_objext' 2588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2589 (eval $ac_try) 2>&5 2590 ac_status=$? 2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2592 (exit $ac_status); }; }; then 3037 (exit $ac_status); } && { 3038 test -z "$ac_cxx_werror_flag" || 3039 test ! -s conftest.err 3040 } && test -s conftest.$ac_objext; then 2593 3041 ac_cv_prog_cxx_g=yes 2594 3042 else … … 2596 3044 sed 's/^/| /' conftest.$ac_ext >&5 2597 3045 2598 ac_cv_prog_cxx_g=no 2599 fi 2600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2601 fi 2602 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2603 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3046 CXXFLAGS="" 3047 cat >conftest.$ac_ext <<_ACEOF 3048 /* confdefs.h. */ 3049 _ACEOF 3050 cat confdefs.h >>conftest.$ac_ext 3051 cat >>conftest.$ac_ext <<_ACEOF 3052 /* end confdefs.h. */ 3053 3054 int 3055 main () 3056 { 3057 3058 ; 3059 return 0; 3060 } 3061 _ACEOF 3062 rm -f conftest.$ac_objext 3063 if { (ac_try="$ac_compile" 3064 case "(($ac_try" in 3065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3066 *) ac_try_echo=$ac_try;; 3067 esac 3068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3069 (eval "$ac_compile") 2>conftest.er1 3070 ac_status=$? 3071 grep -v '^ *+' conftest.er1 >conftest.err 3072 rm -f conftest.er1 3073 cat conftest.err >&5 3074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3075 (exit $ac_status); } && { 3076 test -z "$ac_cxx_werror_flag" || 3077 test ! -s conftest.err 3078 } && test -s conftest.$ac_objext; then 3079 : 3080 else 3081 echo "$as_me: failed program was:" >&5 3082 sed 's/^/| /' conftest.$ac_ext >&5 3083 3084 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3085 CXXFLAGS="-g" 3086 cat >conftest.$ac_ext <<_ACEOF 3087 /* confdefs.h. */ 3088 _ACEOF 3089 cat confdefs.h >>conftest.$ac_ext 3090 cat >>conftest.$ac_ext <<_ACEOF 3091 /* end confdefs.h. */ 3092 3093 int 3094 main () 3095 { 3096 3097 ; 3098 return 0; 3099 } 3100 _ACEOF 3101 rm -f conftest.$ac_objext 3102 if { (ac_try="$ac_compile" 3103 case "(($ac_try" in 3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3105 *) ac_try_echo=$ac_try;; 3106 esac 3107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3108 (eval "$ac_compile") 2>conftest.er1 3109 ac_status=$? 3110 grep -v '^ *+' conftest.er1 >conftest.err 3111 rm -f conftest.er1 3112 cat conftest.err >&5 3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3114 (exit $ac_status); } && { 3115 test -z "$ac_cxx_werror_flag" || 3116 test ! -s conftest.err 3117 } && test -s conftest.$ac_objext; then 3118 ac_cv_prog_cxx_g=yes 3119 else 3120 echo "$as_me: failed program was:" >&5 3121 sed 's/^/| /' conftest.$ac_ext >&5 3122 3123 3124 fi 3125 3126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3127 fi 3128 3129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3130 fi 3131 3132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3133 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3134 fi 3135 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3136 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 2604 3137 if test "$ac_test_CXXFLAGS" = set; then 2605 3138 CXXFLAGS=$ac_save_CXXFLAGS … … 2617 3150 fi 2618 3151 fi 2619 for ac_declaration in \2620 '' \2621 'extern "C" void std::exit (int) throw (); using std::exit;' \2622 'extern "C" void std::exit (int); using std::exit;' \2623 'extern "C" void exit (int) throw ();' \2624 'extern "C" void exit (int);' \2625 'void exit (int);'2626 do2627 cat >conftest.$ac_ext <<_ACEOF2628 /* confdefs.h. */2629 _ACEOF2630 cat confdefs.h >>conftest.$ac_ext2631 cat >>conftest.$ac_ext <<_ACEOF2632 /* end confdefs.h. */2633 $ac_declaration2634 #include <stdlib.h>2635 int2636 main ()2637 {2638 exit (42);2639 ;2640 return 0;2641 }2642 _ACEOF2643 rm -f conftest.$ac_objext2644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52645 (eval $ac_compile) 2>conftest.er12646 ac_status=$?2647 grep -v '^ *+' conftest.er1 >conftest.err2648 rm -f conftest.er12649 cat conftest.err >&52650 echo "$as_me:$LINENO: \$? = $ac_status" >&52651 (exit $ac_status); } &&2652 { ac_try='test -z "$ac_cxx_werror_flag"2653 || test ! -s conftest.err'2654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52655 (eval $ac_try) 2>&52656 ac_status=$?2657 echo "$as_me:$LINENO: \$? = $ac_status" >&52658 (exit $ac_status); }; } &&2659 { ac_try='test -s conftest.$ac_objext'2660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52661 (eval $ac_try) 2>&52662 ac_status=$?2663 echo "$as_me:$LINENO: \$? = $ac_status" >&52664 (exit $ac_status); }; }; then2665 :2666 else2667 echo "$as_me: failed program was:" >&52668 sed 's/^/| /' conftest.$ac_ext >&52669 2670 continue2671 fi2672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2673 cat >conftest.$ac_ext <<_ACEOF2674 /* confdefs.h. */2675 _ACEOF2676 cat confdefs.h >>conftest.$ac_ext2677 cat >>conftest.$ac_ext <<_ACEOF2678 /* end confdefs.h. */2679 $ac_declaration2680 int2681 main ()2682 {2683 exit (42);2684 ;2685 return 0;2686 }2687 _ACEOF2688 rm -f conftest.$ac_objext2689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52690 (eval $ac_compile) 2>conftest.er12691 ac_status=$?2692 grep -v '^ *+' conftest.er1 >conftest.err2693 rm -f conftest.er12694 cat conftest.err >&52695 echo "$as_me:$LINENO: \$? = $ac_status" >&52696 (exit $ac_status); } &&2697 { ac_try='test -z "$ac_cxx_werror_flag"2698 || test ! -s conftest.err'2699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52700 (eval $ac_try) 2>&52701 ac_status=$?2702 echo "$as_me:$LINENO: \$? = $ac_status" >&52703 (exit $ac_status); }; } &&2704 { ac_try='test -s conftest.$ac_objext'2705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52706 (eval $ac_try) 2>&52707 ac_status=$?2708 echo "$as_me:$LINENO: \$? = $ac_status" >&52709 (exit $ac_status); }; }; then2710 break2711 else2712 echo "$as_me: failed program was:" >&52713 sed 's/^/| /' conftest.$ac_ext >&52714 2715 fi2716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2717 done2718 rm -f conftest*2719 if test -n "$ac_declaration"; then2720 echo '#ifdef __cplusplus' >>confdefs.h2721 echo $ac_declaration >>confdefs.h2722 echo '#endif' >>confdefs.h2723 fi2724 2725 3152 ac_ext=c 2726 3153 ac_cpp='$CPP $CPPFLAGS' … … 2733 3160 # Extract the first word of "$ac_prog", so it can be a program name with args. 2734 3161 set dummy $ac_prog; ac_word=$2 2735 echo "$as_me:$LINENO: checking for $ac_word" >&52736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3162 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2737 3164 if test "${ac_cv_prog_AWK+set}" = set; then 2738 3165 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2747 3174 test -z "$as_dir" && as_dir=. 2748 3175 for ac_exec_ext in '' $ac_executable_extensions; do 2749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2750 3177 ac_cv_prog_AWK="$ac_prog" 2751 3178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2754 3181 done 2755 3182 done 3183 IFS=$as_save_IFS 2756 3184 2757 3185 fi … … 2759 3187 AWK=$ac_cv_prog_AWK 2760 3188 if test -n "$AWK"; then 2761 echo "$as_me:$LINENO: result: $AWK" >&5 2762 echo "${ECHO_T}$AWK" >&6 2763 else 2764 echo "$as_me:$LINENO: result: no" >&5 2765 echo "${ECHO_T}no" >&6 2766 fi 3189 { echo "$as_me:$LINENO: result: $AWK" >&5 3190 echo "${ECHO_T}$AWK" >&6; } 3191 else 3192 { echo "$as_me:$LINENO: result: no" >&5 3193 echo "${ECHO_T}no" >&6; } 3194 fi 3195 2767 3196 2768 3197 test -n "$AWK" && break … … 2773 3202 # Extract the first word of "$ac_prog", so it can be a program name with args. 2774 3203 set dummy $ac_prog; ac_word=$2 2775 echo "$as_me:$LINENO: checking for $ac_word" >&52776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3204 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2777 3206 if test "${ac_cv_prog_YACC+set}" = set; then 2778 3207 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2787 3216 test -z "$as_dir" && as_dir=. 2788 3217 for ac_exec_ext in '' $ac_executable_extensions; do 2789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2790 3219 ac_cv_prog_YACC="$ac_prog" 2791 3220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2794 3223 done 2795 3224 done 3225 IFS=$as_save_IFS 2796 3226 2797 3227 fi … … 2799 3229 YACC=$ac_cv_prog_YACC 2800 3230 if test -n "$YACC"; then 2801 echo "$as_me:$LINENO: result: $YACC" >&5 2802 echo "${ECHO_T}$YACC" >&6 2803 else 2804 echo "$as_me:$LINENO: result: no" >&5 2805 echo "${ECHO_T}no" >&6 2806 fi 3231 { echo "$as_me:$LINENO: result: $YACC" >&5 3232 echo "${ECHO_T}$YACC" >&6; } 3233 else 3234 { echo "$as_me:$LINENO: result: no" >&5 3235 echo "${ECHO_T}no" >&6; } 3236 fi 3237 2807 3238 2808 3239 test -n "$YACC" && break … … 2811 3242 2812 3243 ac_aux_dir= 2813 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do2814 if test -f $ac_dir/install-sh; then3244 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3245 if test -f "$ac_dir/install-sh"; then 2815 3246 ac_aux_dir=$ac_dir 2816 3247 ac_install_sh="$ac_aux_dir/install-sh -c" 2817 3248 break 2818 elif test -f $ac_dir/install.sh; then3249 elif test -f "$ac_dir/install.sh"; then 2819 3250 ac_aux_dir=$ac_dir 2820 3251 ac_install_sh="$ac_aux_dir/install.sh -c" 2821 3252 break 2822 elif test -f $ac_dir/shtool; then3253 elif test -f "$ac_dir/shtool"; then 2823 3254 ac_aux_dir=$ac_dir 2824 3255 ac_install_sh="$ac_aux_dir/shtool install -c" … … 2827 3258 done 2828 3259 if test -z "$ac_aux_dir"; then 2829 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&52830 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}3260 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 3261 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2831 3262 { (exit 1); exit 1; }; } 2832 3263 fi 2833 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2834 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2835 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 3264 3265 # These three variables are undocumented and unsupported, 3266 # and are intended to be withdrawn in a future Autoconf release. 3267 # They can cause serious problems if a builder's source tree is in a directory 3268 # whose full name contains unusual characters. 3269 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3270 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3271 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3272 2836 3273 2837 3274 # Make sure we can run config.sub. 2838 $ ac_config_subsun4 >/dev/null 2>&1 ||2839 { { echo "$as_me:$LINENO: error: cannot run $ ac_config_sub" >&52840 echo "$as_me: error: cannot run $ ac_config_sub" >&2;}3275 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3276 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3277 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 2841 3278 { (exit 1); exit 1; }; } 2842 3279 2843 echo "$as_me:$LINENO: checking build system type" >&52844 echo $ECHO_N "checking build system type... $ECHO_C" >&6 3280 { echo "$as_me:$LINENO: checking build system type" >&5 3281 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 2845 3282 if test "${ac_cv_build+set}" = set; then 2846 3283 echo $ECHO_N "(cached) $ECHO_C" >&6 2847 3284 else 2848 ac_ cv_build_alias=$build_alias2849 test -z "$ac_cv_build_alias"&&2850 ac_ cv_build_alias=`$ac_config_guess`2851 test -z "$ac_cv_build_alias"&&3285 ac_build_alias=$build_alias 3286 test "x$ac_build_alias" = x && 3287 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3288 test "x$ac_build_alias" = x && 2852 3289 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2853 3290 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2854 3291 { (exit 1); exit 1; }; } 2855 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||2856 { { echo "$as_me:$LINENO: error: $ ac_config_sub $ac_cv_build_alias failed" >&52857 echo "$as_me: error: $ ac_config_sub $ac_cv_build_alias failed" >&2;}3292 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3293 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3294 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 2858 3295 { (exit 1); exit 1; }; } 2859 3296 2860 3297 fi 2861 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2862 echo "${ECHO_T}$ac_cv_build" >&6 3298 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3299 echo "${ECHO_T}$ac_cv_build" >&6; } 3300 case $ac_cv_build in 3301 *-*-*) ;; 3302 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3303 echo "$as_me: error: invalid value of canonical build" >&2;} 3304 { (exit 1); exit 1; }; };; 3305 esac 2863 3306 build=$ac_cv_build 2864 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2865 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2866 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2867 2868 2869 echo "$as_me:$LINENO: checking host system type" >&5 2870 echo $ECHO_N "checking host system type... $ECHO_C" >&6 3307 ac_save_IFS=$IFS; IFS='-' 3308 set x $ac_cv_build 3309 shift 3310 build_cpu=$1 3311 build_vendor=$2 3312 shift; shift 3313 # Remember, the first character of IFS is used to create $*, 3314 # except with old shells: 3315 build_os=$* 3316 IFS=$ac_save_IFS 3317 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3318 3319 3320 { echo "$as_me:$LINENO: checking host system type" >&5 3321 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 2871 3322 if test "${ac_cv_host+set}" = set; then 2872 3323 echo $ECHO_N "(cached) $ECHO_C" >&6 2873 3324 else 2874 ac_cv_host_alias=$host_alias2875 test -z "$ac_cv_host_alias" && 2876 ac_cv_host_alias=$ac_cv_build_alias 2877 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||2878 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&52879 echo "$as_me: error: $ ac_config_sub $ac_cv_host_alias failed" >&2;}3325 if test "x$host_alias" = x; then 3326 ac_cv_host=$ac_cv_build 3327 else 3328 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3329 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3330 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 2880 3331 { (exit 1); exit 1; }; } 2881 2882 fi 2883 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2884 echo "${ECHO_T}$ac_cv_host" >&6 3332 fi 3333 3334 fi 3335 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3336 echo "${ECHO_T}$ac_cv_host" >&6; } 3337 case $ac_cv_host in 3338 *-*-*) ;; 3339 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3340 echo "$as_me: error: invalid value of canonical host" >&2;} 3341 { (exit 1); exit 1; }; };; 3342 esac 2885 3343 host=$ac_cv_host 2886 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2887 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2888 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2889 2890 2891 echo "$as_me:$LINENO: checking target system type" >&5 2892 echo $ECHO_N "checking target system type... $ECHO_C" >&6 3344 ac_save_IFS=$IFS; IFS='-' 3345 set x $ac_cv_host 3346 shift 3347 host_cpu=$1 3348 host_vendor=$2 3349 shift; shift 3350 # Remember, the first character of IFS is used to create $*, 3351 # except with old shells: 3352 host_os=$* 3353 IFS=$ac_save_IFS 3354 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3355 3356 3357 { echo "$as_me:$LINENO: checking target system type" >&5 3358 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 2893 3359 if test "${ac_cv_target+set}" = set; then 2894 3360 echo $ECHO_N "(cached) $ECHO_C" >&6 2895 3361 else 2896 ac_cv_target_alias=$target_alias2897 test "x$ac_cv_target_alias" = "x" && 2898 ac_cv_target_alias=$ac_cv_host_alias 2899 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||2900 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&52901 echo "$as_me: error: $ ac_config_sub $ac_cv_target_alias failed" >&2;}3362 if test "x$target_alias" = x; then 3363 ac_cv_target=$ac_cv_host 3364 else 3365 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 3366 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 3367 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 2902 3368 { (exit 1); exit 1; }; } 2903 2904 fi 2905 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 2906 echo "${ECHO_T}$ac_cv_target" >&6 3369 fi 3370 3371 fi 3372 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3373 echo "${ECHO_T}$ac_cv_target" >&6; } 3374 case $ac_cv_target in 3375 *-*-*) ;; 3376 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 3377 echo "$as_me: error: invalid value of canonical target" >&2;} 3378 { (exit 1); exit 1; }; };; 3379 esac 2907 3380 target=$ac_cv_target 2908 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2909 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2910 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3381 ac_save_IFS=$IFS; IFS='-' 3382 set x $ac_cv_target 3383 shift 3384 target_cpu=$1 3385 target_vendor=$2 3386 shift; shift 3387 # Remember, the first character of IFS is used to create $*, 3388 # except with old shells: 3389 target_os=$* 3390 IFS=$ac_save_IFS 3391 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2911 3392 2912 3393 … … 2930 3411 # OS/2's system install, which has a completely different semantic 2931 3412 # ./install, which can be erroneously created by make from ./install.sh. 2932 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&52933 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3413 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3414 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2934 3415 if test -z "$INSTALL"; then 2935 3416 if test "${ac_cv_path_install+set}" = set; then … … 2953 3434 for ac_prog in ginstall scoinst install; do 2954 3435 for ac_exec_ext in '' $ac_executable_extensions; do 2955 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then3436 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2956 3437 if test $ac_prog = install && 2957 3438 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 2972 3453 esac 2973 3454 done 3455 IFS=$as_save_IFS 2974 3456 2975 3457 … … 2978 3460 INSTALL=$ac_cv_path_install 2979 3461 else 2980 # As a last resort, use the slow shell script. We don't cache a2981 # pathfor INSTALL within a source directory, because that will3462 # As a last resort, use the slow shell script. Don't cache a 3463 # value for INSTALL within a source directory, because that will 2982 3464 # break other packages using the cache if that directory is 2983 # removed, or if the path is relative.3465 # removed, or if the value is a relative name. 2984 3466 INSTALL=$ac_install_sh 2985 3467 fi 2986 3468 fi 2987 echo "$as_me:$LINENO: result: $INSTALL" >&52988 echo "${ECHO_T}$INSTALL" >&6 3469 { echo "$as_me:$LINENO: result: $INSTALL" >&5 3470 echo "${ECHO_T}$INSTALL" >&6; } 2989 3471 2990 3472 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 2996 3478 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2997 3479 2998 echo "$as_me:$LINENO: checking whether ln -s works" >&52999 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3480 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 3481 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } 3000 3482 LN_S=$as_ln_s 3001 3483 if test "$LN_S" = "ln -s"; then 3002 echo "$as_me:$LINENO: result: yes" >&53003 echo "${ECHO_T}yes" >&6 3004 else 3005 echo "$as_me:$LINENO: result: no, using $LN_S" >&53006 echo "${ECHO_T}no, using $LN_S" >&6 3007 fi 3008 3009 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&53010 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3011 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`3012 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then3484 { echo "$as_me:$LINENO: result: yes" >&5 3485 echo "${ECHO_T}yes" >&6; } 3486 else 3487 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3488 echo "${ECHO_T}no, using $LN_S" >&6; } 3489 fi 3490 3491 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3492 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 3493 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3494 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 3013 3495 echo $ECHO_N "(cached) $ECHO_C" >&6 3014 3496 else 3015 3497 cat >conftest.make <<\_ACEOF 3498 SHELL = /bin/sh 3016 3499 all: 3017 @echo ' ac_maketemp="$(MAKE)"'3500 @echo '@@@%%%=$(MAKE)=@@@%%%' 3018 3501 _ACEOF 3019 3502 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3020 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3021 if test -n "$ac_maketemp"; then 3022 eval ac_cv_prog_make_${ac_make}_set=yes3023 else 3024 eval ac_cv_prog_make_${ac_make}_set=no3025 fi 3503 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3504 *@@@%%%=?*=@@@%%%*) 3505 eval ac_cv_prog_make_${ac_make}_set=yes;; 3506 *) 3507 eval ac_cv_prog_make_${ac_make}_set=no;; 3508 esac 3026 3509 rm -f conftest.make 3027 3510 fi 3028 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then3029 echo "$as_me:$LINENO: result: yes" >&53030 echo "${ECHO_T}yes" >&6 3511 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3512 { echo "$as_me:$LINENO: result: yes" >&5 3513 echo "${ECHO_T}yes" >&6; } 3031 3514 SET_MAKE= 3032 3515 else 3033 echo "$as_me:$LINENO: result: no" >&53034 echo "${ECHO_T}no" >&6 3516 { echo "$as_me:$LINENO: result: no" >&5 3517 echo "${ECHO_T}no" >&6; } 3035 3518 SET_MAKE="MAKE=${MAKE-make}" 3036 3519 fi … … 3039 3522 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3040 3523 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3041 echo "$as_me:$LINENO: checking for $ac_word" >&53042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3524 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3043 3526 if test "${ac_cv_prog_RANLIB+set}" = set; then 3044 3527 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3053 3536 test -z "$as_dir" && as_dir=. 3054 3537 for ac_exec_ext in '' $ac_executable_extensions; do 3055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3056 3539 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3057 3540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3060 3543 done 3061 3544 done 3545 IFS=$as_save_IFS 3062 3546 3063 3547 fi … … 3065 3549 RANLIB=$ac_cv_prog_RANLIB 3066 3550 if test -n "$RANLIB"; then 3067 echo "$as_me:$LINENO: result: $RANLIB" >&5 3068 echo "${ECHO_T}$RANLIB" >&6 3069 else 3070 echo "$as_me:$LINENO: result: no" >&5 3071 echo "${ECHO_T}no" >&6 3072 fi 3551 { echo "$as_me:$LINENO: result: $RANLIB" >&5 3552 echo "${ECHO_T}$RANLIB" >&6; } 3553 else 3554 { echo "$as_me:$LINENO: result: no" >&5 3555 echo "${ECHO_T}no" >&6; } 3556 fi 3557 3073 3558 3074 3559 fi … … 3077 3562 # Extract the first word of "ranlib", so it can be a program name with args. 3078 3563 set dummy ranlib; ac_word=$2 3079 echo "$as_me:$LINENO: checking for $ac_word" >&53080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3564 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3081 3566 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3082 3567 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3091 3576 test -z "$as_dir" && as_dir=. 3092 3577 for ac_exec_ext in '' $ac_executable_extensions; do 3093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3094 3579 ac_cv_prog_ac_ct_RANLIB="ranlib" 3095 3580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3098 3583 done 3099 3584 done 3100 3101 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3585 IFS=$as_save_IFS 3586 3102 3587 fi 3103 3588 fi 3104 3589 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3105 3590 if test -n "$ac_ct_RANLIB"; then 3106 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3107 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3108 else 3109 echo "$as_me:$LINENO: result: no" >&5 3110 echo "${ECHO_T}no" >&6 3111 fi 3112 3113 RANLIB=$ac_ct_RANLIB 3591 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3592 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 3593 else 3594 { echo "$as_me:$LINENO: result: no" >&5 3595 echo "${ECHO_T}no" >&6; } 3596 fi 3597 3598 if test "x$ac_ct_RANLIB" = x; then 3599 RANLIB=":" 3600 else 3601 case $cross_compiling:$ac_tool_warned in 3602 yes:) 3603 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3604 whose name does not start with the host triplet. If you think this 3605 configuration is useful to you, please write to [email protected]." >&5 3606 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3607 whose name does not start with the host triplet. If you think this 3608 configuration is useful to you, please write to [email protected]." >&2;} 3609 ac_tool_warned=yes ;; 3610 esac 3611 RANLIB=$ac_ct_RANLIB 3612 fi 3114 3613 else 3115 3614 RANLIB="$ac_cv_prog_RANLIB" … … 3117 3616 3118 3617 3119 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&53120 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 3618 { echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 3619 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; } 3121 3620 arch_64bit=no 3122 3621 case "$host_cpu" in … … 3125 3624 3126 3625 if test "$arch_64bit" = yes; then 3127 echo "$as_me:$LINENO: result: yes" >&53128 echo "${ECHO_T}yes" >&6 3626 { echo "$as_me:$LINENO: result: yes" >&5 3627 echo "${ECHO_T}yes" >&6; } 3129 3628 if test -z "$COMPAT32BITFLAGS" ; then 3130 3629 COMPAT32BITFLAGS="-m32" 3131 3630 fi 3132 3631 else 3133 echo "$as_me:$LINENO: result: no" >&53134 echo "${ECHO_T}no" >&6 3632 { echo "$as_me:$LINENO: result: no" >&5 3633 echo "${ECHO_T}no" >&6; } 3135 3634 if test -z "$COMPAT32BITFLAGS" ; then 3136 3635 COMPAT32BITFLAGS= … … 3179 3678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3180 3679 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3181 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53182 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3680 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3681 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3183 3682 # On Suns, sometimes $CPP names a directory. 3184 3683 if test -n "$CPP" && test -d "$CPP"; then … … 3214 3713 Syntax error 3215 3714 _ACEOF 3216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3715 if { (ac_try="$ac_cpp conftest.$ac_ext" 3716 case "(($ac_try" in 3717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3718 *) ac_try_echo=$ac_try;; 3719 esac 3720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3721 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3218 3722 ac_status=$? 3219 3723 grep -v '^ *+' conftest.er1 >conftest.err … … 3221 3725 cat conftest.err >&5 3222 3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3223 (exit $ac_status); } >/dev/null; then 3224 if test -s conftest.err; then 3225 ac_cpp_err=$ac_c_preproc_warn_flag 3226 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3227 else 3228 ac_cpp_err= 3229 fi 3230 else 3231 ac_cpp_err=yes 3232 fi 3233 if test -z "$ac_cpp_err"; then 3727 (exit $ac_status); } >/dev/null && { 3728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3729 test ! -s conftest.err 3730 }; then 3234 3731 : 3235 3732 else … … 3240 3737 continue 3241 3738 fi 3739 3242 3740 rm -f conftest.err conftest.$ac_ext 3243 3741 3244 # OK, works on sane cases. Now check whether non -existent headers3742 # OK, works on sane cases. Now check whether nonexistent headers 3245 3743 # can be detected and how. 3246 3744 cat >conftest.$ac_ext <<_ACEOF … … 3252 3750 #include <ac_nonexistent.h> 3253 3751 _ACEOF 3254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3255 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3752 if { (ac_try="$ac_cpp conftest.$ac_ext" 3753 case "(($ac_try" in 3754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3755 *) ac_try_echo=$ac_try;; 3756 esac 3757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3256 3759 ac_status=$? 3257 3760 grep -v '^ *+' conftest.er1 >conftest.err … … 3259 3762 cat conftest.err >&5 3260 3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3261 (exit $ac_status); } >/dev/null; then 3262 if test -s conftest.err; then 3263 ac_cpp_err=$ac_c_preproc_warn_flag 3264 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3265 else 3266 ac_cpp_err= 3267 fi 3268 else 3269 ac_cpp_err=yes 3270 fi 3271 if test -z "$ac_cpp_err"; then 3764 (exit $ac_status); } >/dev/null && { 3765 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3766 test ! -s conftest.err 3767 }; then 3272 3768 # Broken: success on invalid input. 3273 3769 continue … … 3280 3776 break 3281 3777 fi 3778 3282 3779 rm -f conftest.err conftest.$ac_ext 3283 3780 … … 3297 3794 ac_cv_prog_CPP=$CPP 3298 3795 fi 3299 echo "$as_me:$LINENO: result: $CPP" >&53300 echo "${ECHO_T}$CPP" >&6 3796 { echo "$as_me:$LINENO: result: $CPP" >&5 3797 echo "${ECHO_T}$CPP" >&6; } 3301 3798 ac_preproc_ok=false 3302 3799 for ac_c_preproc_warn_flag in '' yes … … 3321 3818 Syntax error 3322 3819 _ACEOF 3323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3324 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3820 if { (ac_try="$ac_cpp conftest.$ac_ext" 3821 case "(($ac_try" in 3822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3823 *) ac_try_echo=$ac_try;; 3824 esac 3825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3325 3827 ac_status=$? 3326 3828 grep -v '^ *+' conftest.er1 >conftest.err … … 3328 3830 cat conftest.err >&5 3329 3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3330 (exit $ac_status); } >/dev/null; then 3331 if test -s conftest.err; then 3332 ac_cpp_err=$ac_c_preproc_warn_flag 3333 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3334 else 3335 ac_cpp_err= 3336 fi 3337 else 3338 ac_cpp_err=yes 3339 fi 3340 if test -z "$ac_cpp_err"; then 3832 (exit $ac_status); } >/dev/null && { 3833 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3834 test ! -s conftest.err 3835 }; then 3341 3836 : 3342 3837 else … … 3347 3842 continue 3348 3843 fi 3844 3349 3845 rm -f conftest.err conftest.$ac_ext 3350 3846 3351 # OK, works on sane cases. Now check whether non -existent headers3847 # OK, works on sane cases. Now check whether nonexistent headers 3352 3848 # can be detected and how. 3353 3849 cat >conftest.$ac_ext <<_ACEOF … … 3359 3855 #include <ac_nonexistent.h> 3360 3856 _ACEOF 3361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3362 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3857 if { (ac_try="$ac_cpp conftest.$ac_ext" 3858 case "(($ac_try" in 3859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3860 *) ac_try_echo=$ac_try;; 3861 esac 3862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3863 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3363 3864 ac_status=$? 3364 3865 grep -v '^ *+' conftest.er1 >conftest.err … … 3366 3867 cat conftest.err >&5 3367 3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3368 (exit $ac_status); } >/dev/null; then 3369 if test -s conftest.err; then 3370 ac_cpp_err=$ac_c_preproc_warn_flag 3371 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3372 else 3373 ac_cpp_err= 3374 fi 3375 else 3376 ac_cpp_err=yes 3377 fi 3378 if test -z "$ac_cpp_err"; then 3869 (exit $ac_status); } >/dev/null && { 3870 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3871 test ! -s conftest.err 3872 }; then 3379 3873 # Broken: success on invalid input. 3380 3874 continue … … 3387 3881 break 3388 3882 fi 3883 3389 3884 rm -f conftest.err conftest.$ac_ext 3390 3885 … … 3409 3904 3410 3905 3411 echo "$as_me:$LINENO: checking for egrep" >&53412 echo $ECHO_N "checking for egrep... $ECHO_C" >&63413 if test "${ac_cv_p rog_egrep+set}" = set; then3906 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3907 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3908 if test "${ac_cv_path_GREP+set}" = set; then 3414 3909 echo $ECHO_N "(cached) $ECHO_C" >&6 3415 3910 else 3416 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3417 then ac_cv_prog_egrep='grep -E' 3418 else ac_cv_prog_egrep='egrep' 3911 # Extract the first word of "grep ggrep" to use in msg output 3912 if test -z "$GREP"; then 3913 set dummy grep ggrep; ac_prog_name=$2 3914 if test "${ac_cv_path_GREP+set}" = set; then 3915 echo $ECHO_N "(cached) $ECHO_C" >&6 3916 else 3917 ac_path_GREP_found=false 3918 # Loop through the user's path and test for each of PROGNAME-LIST 3919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3920 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3921 do 3922 IFS=$as_save_IFS 3923 test -z "$as_dir" && as_dir=. 3924 for ac_prog in grep ggrep; do 3925 for ac_exec_ext in '' $ac_executable_extensions; do 3926 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3927 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3928 # Check for GNU ac_path_GREP and select it if it is found. 3929 # Check for GNU $ac_path_GREP 3930 case `"$ac_path_GREP" --version 2>&1` in 3931 *GNU*) 3932 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3933 *) 3934 ac_count=0 3935 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3936 while : 3937 do 3938 cat "conftest.in" "conftest.in" >"conftest.tmp" 3939 mv "conftest.tmp" "conftest.in" 3940 cp "conftest.in" "conftest.nl" 3941 echo 'GREP' >> "conftest.nl" 3942 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3943 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3944 ac_count=`expr $ac_count + 1` 3945 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3946 # Best one so far, save it but keep looking for a better one 3947 ac_cv_path_GREP="$ac_path_GREP" 3948 ac_path_GREP_max=$ac_count 3419 3949 fi 3420 fi 3421 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3422 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3423 EGREP=$ac_cv_prog_egrep 3424 3425 3426 3427 echo "$as_me:$LINENO: checking for AIX" >&5 3428 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3950 # 10*(2^10) chars as input seems more than enough 3951 test $ac_count -gt 10 && break 3952 done 3953 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3954 esac 3955 3956 3957 $ac_path_GREP_found && break 3 3958 done 3959 done 3960 3961 done 3962 IFS=$as_save_IFS 3963 3964 3965 fi 3966 3967 GREP="$ac_cv_path_GREP" 3968 if test -z "$GREP"; then 3969 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3970 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3971 { (exit 1); exit 1; }; } 3972 fi 3973 3974 else 3975 ac_cv_path_GREP=$GREP 3976 fi 3977 3978 3979 fi 3980 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3981 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3982 GREP="$ac_cv_path_GREP" 3983 3984 3985 { echo "$as_me:$LINENO: checking for egrep" >&5 3986 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3987 if test "${ac_cv_path_EGREP+set}" = set; then 3988 echo $ECHO_N "(cached) $ECHO_C" >&6 3989 else 3990 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3991 then ac_cv_path_EGREP="$GREP -E" 3992 else 3993 # Extract the first word of "egrep" to use in msg output 3994 if test -z "$EGREP"; then 3995 set dummy egrep; ac_prog_name=$2 3996 if test "${ac_cv_path_EGREP+set}" = set; then 3997 echo $ECHO_N "(cached) $ECHO_C" >&6 3998 else 3999 ac_path_EGREP_found=false 4000 # Loop through the user's path and test for each of PROGNAME-LIST 4001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4002 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4003 do 4004 IFS=$as_save_IFS 4005 test -z "$as_dir" && as_dir=. 4006 for ac_prog in egrep; do 4007 for ac_exec_ext in '' $ac_executable_extensions; do 4008 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4009 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4010 # Check for GNU ac_path_EGREP and select it if it is found. 4011 # Check for GNU $ac_path_EGREP 4012 case `"$ac_path_EGREP" --version 2>&1` in 4013 *GNU*) 4014 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4015 *) 4016 ac_count=0 4017 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4018 while : 4019 do 4020 cat "conftest.in" "conftest.in" >"conftest.tmp" 4021 mv "conftest.tmp" "conftest.in" 4022 cp "conftest.in" "conftest.nl" 4023 echo 'EGREP' >> "conftest.nl" 4024 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4025 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4026 ac_count=`expr $ac_count + 1` 4027 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4028 # Best one so far, save it but keep looking for a better one 4029 ac_cv_path_EGREP="$ac_path_EGREP" 4030 ac_path_EGREP_max=$ac_count 4031 fi 4032 # 10*(2^10) chars as input seems more than enough 4033 test $ac_count -gt 10 && break 4034 done 4035 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4036 esac 4037 4038 4039 $ac_path_EGREP_found && break 3 4040 done 4041 done 4042 4043 done 4044 IFS=$as_save_IFS 4045 4046 4047 fi 4048 4049 EGREP="$ac_cv_path_EGREP" 4050 if test -z "$EGREP"; then 4051 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4052 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4053 { (exit 1); exit 1; }; } 4054 fi 4055 4056 else 4057 ac_cv_path_EGREP=$EGREP 4058 fi 4059 4060 4061 fi 4062 fi 4063 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4064 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4065 EGREP="$ac_cv_path_EGREP" 4066 4067 4068 4069 { echo "$as_me:$LINENO: checking for AIX" >&5 4070 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; } 3429 4071 cat >conftest.$ac_ext <<_ACEOF 3430 4072 /* confdefs.h. */ … … 3440 4082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3441 4083 $EGREP "yes" >/dev/null 2>&1; then 3442 echo "$as_me:$LINENO: result: yes" >&53443 echo "${ECHO_T}yes" >&6 4084 { echo "$as_me:$LINENO: result: yes" >&5 4085 echo "${ECHO_T}yes" >&6; } 3444 4086 cat >>confdefs.h <<\_ACEOF 3445 4087 #define _ALL_SOURCE 1 … … 3447 4089 3448 4090 else 3449 echo "$as_me:$LINENO: result: no" >&53450 echo "${ECHO_T}no" >&6 4091 { echo "$as_me:$LINENO: result: no" >&5 4092 echo "${ECHO_T}no" >&6; } 3451 4093 fi 3452 4094 rm -f conftest* 3453 4095 3454 4096 3455 echo "$as_me:$LINENO: checking for library containing strerror" >&53456 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 4097 { echo "$as_me:$LINENO: checking for library containing strerror" >&5 4098 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } 3457 4099 if test "${ac_cv_search_strerror+set}" = set; then 3458 4100 echo $ECHO_N "(cached) $ECHO_C" >&6 3459 4101 else 3460 4102 ac_func_search_save_LIBS=$LIBS 3461 ac_cv_search_strerror=no3462 4103 cat >conftest.$ac_ext <<_ACEOF 3463 4104 /* confdefs.h. */ … … 3467 4108 /* end confdefs.h. */ 3468 4109 3469 /* Override any gcc2 internal prototype to avoid an error. */ 4110 /* Override any GCC internal prototype to avoid an error. 4111 Use char because int might match the return type of a GCC 4112 builtin and then its argument prototype would still apply. */ 3470 4113 #ifdef __cplusplus 3471 4114 extern "C" 3472 4115 #endif 3473 /* We use char because int might match the return type of a gcc23474 builtin and then its argument prototype would still apply. */3475 4116 char strerror (); 3476 4117 int 3477 4118 main () 3478 4119 { 3479 strerror ();4120 return strerror (); 3480 4121 ; 3481 4122 return 0; 3482 4123 } 3483 4124 _ACEOF 3484 rm -f conftest.$ac_objext conftest$ac_exeext 3485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3486 (eval $ac_link) 2>conftest.er1 4125 for ac_lib in '' cposix; do 4126 if test -z "$ac_lib"; then 4127 ac_res="none required" 4128 else 4129 ac_res=-l$ac_lib 4130 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4131 fi 4132 rm -f conftest.$ac_objext conftest$ac_exeext 4133 if { (ac_try="$ac_link" 4134 case "(($ac_try" in 4135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4136 *) ac_try_echo=$ac_try;; 4137 esac 4138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4139 (eval "$ac_link") 2>conftest.er1 3487 4140 ac_status=$? 3488 4141 grep -v '^ *+' conftest.er1 >conftest.err … … 3490 4143 cat conftest.err >&5 3491 4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3492 (exit $ac_status); } && 3493 { ac_try='test -z "$ac_c_werror_flag" 3494 || test ! -s conftest.err' 3495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3496 (eval $ac_try) 2>&5 3497 ac_status=$? 3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3499 (exit $ac_status); }; } && 3500 { ac_try='test -s conftest$ac_exeext' 3501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3502 (eval $ac_try) 2>&5 3503 ac_status=$? 3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3505 (exit $ac_status); }; }; then 3506 ac_cv_search_strerror="none required" 4145 (exit $ac_status); } && { 4146 test -z "$ac_c_werror_flag" || 4147 test ! -s conftest.err 4148 } && test -s conftest$ac_exeext && 4149 $as_test_x conftest$ac_exeext; then 4150 ac_cv_search_strerror=$ac_res 3507 4151 else 3508 4152 echo "$as_me: failed program was:" >&5 3509 4153 sed 's/^/| /' conftest.$ac_ext >&5 3510 4154 3511 fi 3512 rm -f conftest.err conftest.$ac_objext \ 3513 conftest$ac_exeext conftest.$ac_ext 3514 if test "$ac_cv_search_strerror" = no; then 3515 for ac_lib in cposix; do 3516 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3517 cat >conftest.$ac_ext <<_ACEOF 3518 /* confdefs.h. */ 3519 _ACEOF 3520 cat confdefs.h >>conftest.$ac_ext 3521 cat >>conftest.$ac_ext <<_ACEOF 3522 /* end confdefs.h. */ 3523 3524 /* Override any gcc2 internal prototype to avoid an error. */ 3525 #ifdef __cplusplus 3526 extern "C" 3527 #endif 3528 /* We use char because int might match the return type of a gcc2 3529 builtin and then its argument prototype would still apply. */ 3530 char strerror (); 3531 int 3532 main () 3533 { 3534 strerror (); 3535 ; 3536 return 0; 3537 } 3538 _ACEOF 3539 rm -f conftest.$ac_objext conftest$ac_exeext 3540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3541 (eval $ac_link) 2>conftest.er1 3542 ac_status=$? 3543 grep -v '^ *+' conftest.er1 >conftest.err 3544 rm -f conftest.er1 3545 cat conftest.err >&5 3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3547 (exit $ac_status); } && 3548 { ac_try='test -z "$ac_c_werror_flag" 3549 || test ! -s conftest.err' 3550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3551 (eval $ac_try) 2>&5 3552 ac_status=$? 3553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3554 (exit $ac_status); }; } && 3555 { ac_try='test -s conftest$ac_exeext' 3556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3557 (eval $ac_try) 2>&5 3558 ac_status=$? 3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3560 (exit $ac_status); }; }; then 3561 ac_cv_search_strerror="-l$ac_lib" 3562 break 3563 else 3564 echo "$as_me: failed program was:" >&5 3565 sed 's/^/| /' conftest.$ac_ext >&5 3566 3567 fi 3568 rm -f conftest.err conftest.$ac_objext \ 3569 conftest$ac_exeext conftest.$ac_ext 3570 done 3571 fi 4155 4156 fi 4157 4158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4159 conftest$ac_exeext 4160 if test "${ac_cv_search_strerror+set}" = set; then 4161 break 4162 fi 4163 done 4164 if test "${ac_cv_search_strerror+set}" = set; then 4165 : 4166 else 4167 ac_cv_search_strerror=no 4168 fi 4169 rm conftest.$ac_ext 3572 4170 LIBS=$ac_func_search_save_LIBS 3573 4171 fi 3574 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3575 echo "${ECHO_T}$ac_cv_search_strerror" >&6 3576 if test "$ac_cv_search_strerror" != no; then 3577 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3578 3579 fi 3580 3581 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3582 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4172 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4173 echo "${ECHO_T}$ac_cv_search_strerror" >&6; } 4174 ac_res=$ac_cv_search_strerror 4175 if test "$ac_res" != no; then 4176 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4177 4178 fi 4179 4180 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4181 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3583 4182 if test "${ac_cv_header_stdc+set}" = set; then 3584 4183 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3604 4203 _ACEOF 3605 4204 rm -f conftest.$ac_objext 3606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3607 (eval $ac_compile) 2>conftest.er1 4205 if { (ac_try="$ac_compile" 4206 case "(($ac_try" in 4207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4208 *) ac_try_echo=$ac_try;; 4209 esac 4210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4211 (eval "$ac_compile") 2>conftest.er1 3608 4212 ac_status=$? 3609 4213 grep -v '^ *+' conftest.er1 >conftest.err … … 3611 4215 cat conftest.err >&5 3612 4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3613 (exit $ac_status); } && 3614 { ac_try='test -z "$ac_c_werror_flag" 3615 || test ! -s conftest.err' 3616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3617 (eval $ac_try) 2>&5 3618 ac_status=$? 3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3620 (exit $ac_status); }; } && 3621 { ac_try='test -s conftest.$ac_objext' 3622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3623 (eval $ac_try) 2>&5 3624 ac_status=$? 3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3626 (exit $ac_status); }; }; then 4217 (exit $ac_status); } && { 4218 test -z "$ac_c_werror_flag" || 4219 test ! -s conftest.err 4220 } && test -s conftest.$ac_objext; then 3627 4221 ac_cv_header_stdc=yes 3628 4222 else … … 3630 4224 sed 's/^/| /' conftest.$ac_ext >&5 3631 4225 3632 ac_cv_header_stdc=no 3633 fi 3634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4226 ac_cv_header_stdc=no 4227 fi 4228 4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3635 4230 3636 4231 if test $ac_cv_header_stdc = yes; then … … 3688 4283 /* end confdefs.h. */ 3689 4284 #include <ctype.h> 4285 #include <stdlib.h> 3690 4286 #if ((' ' & 0x0FF) == 0x020) 3691 4287 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3707 4303 if (XOR (islower (i), ISLOWER (i)) 3708 4304 || toupper (i) != TOUPPER (i)) 3709 exit(2);3710 exit (0);4305 return 2; 4306 return 0; 3711 4307 } 3712 4308 _ACEOF 3713 4309 rm -f conftest$ac_exeext 3714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3715 (eval $ac_link) 2>&5 4310 if { (ac_try="$ac_link" 4311 case "(($ac_try" in 4312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4313 *) ac_try_echo=$ac_try;; 4314 esac 4315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4316 (eval "$ac_link") 2>&5 3716 4317 ac_status=$? 3717 4318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3718 4319 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3720 (eval $ac_try) 2>&5 4320 { (case "(($ac_try" in 4321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4322 *) ac_try_echo=$ac_try;; 4323 esac 4324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4325 (eval "$ac_try") 2>&5 3721 4326 ac_status=$? 3722 4327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 3731 4336 ac_cv_header_stdc=no 3732 4337 fi 3733 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3734 fi 3735 fi 3736 fi 3737 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3738 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4338 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4339 fi 4340 4341 4342 fi 4343 fi 4344 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4345 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 3739 4346 if test $ac_cv_header_stdc = yes; then 3740 4347 … … 3759 4366 do 3760 4367 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3761 echo "$as_me:$LINENO: checking for $ac_header" >&53762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3763 if eval "test \"\${$as_ac_Header+set}\" = set"; then4368 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4370 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3764 4371 echo $ECHO_N "(cached) $ECHO_C" >&6 3765 4372 else … … 3775 4382 _ACEOF 3776 4383 rm -f conftest.$ac_objext 3777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3778 (eval $ac_compile) 2>conftest.er1 4384 if { (ac_try="$ac_compile" 4385 case "(($ac_try" in 4386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4387 *) ac_try_echo=$ac_try;; 4388 esac 4389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4390 (eval "$ac_compile") 2>conftest.er1 3779 4391 ac_status=$? 3780 4392 grep -v '^ *+' conftest.er1 >conftest.err … … 3782 4394 cat conftest.err >&5 3783 4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3784 (exit $ac_status); } && 3785 { ac_try='test -z "$ac_c_werror_flag" 3786 || test ! -s conftest.err' 3787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3788 (eval $ac_try) 2>&5 3789 ac_status=$? 3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3791 (exit $ac_status); }; } && 3792 { ac_try='test -s conftest.$ac_objext' 3793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3794 (eval $ac_try) 2>&5 3795 ac_status=$? 3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3797 (exit $ac_status); }; }; then 4396 (exit $ac_status); } && { 4397 test -z "$ac_c_werror_flag" || 4398 test ! -s conftest.err 4399 } && test -s conftest.$ac_objext; then 3798 4400 eval "$as_ac_Header=yes" 3799 4401 else … … 3801 4403 sed 's/^/| /' conftest.$ac_ext >&5 3802 4404 3803 eval "$as_ac_Header=no" 3804 fi 3805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3806 fi 3807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4405 eval "$as_ac_Header=no" 4406 fi 4407 4408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4409 fi 4410 ac_res=`eval echo '${'$as_ac_Header'}'` 4411 { echo "$as_me:$LINENO: result: $ac_res" >&5 4412 echo "${ECHO_T}$ac_res" >&6; } 3809 4413 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3810 4414 cat >>confdefs.h <<_ACEOF … … 3818 4422 3819 4423 if test "${ac_cv_header_minix_config_h+set}" = set; then 3820 echo "$as_me:$LINENO: checking for minix/config.h" >&53821 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4424 { echo "$as_me:$LINENO: checking for minix/config.h" >&5 4425 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } 3822 4426 if test "${ac_cv_header_minix_config_h+set}" = set; then 3823 4427 echo $ECHO_N "(cached) $ECHO_C" >&6 3824 4428 fi 3825 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&53826 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4429 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4430 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; } 3827 4431 else 3828 4432 # Is the header compilable? 3829 echo "$as_me:$LINENO: checking minix/config.h usability" >&53830 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 4433 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4434 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; } 3831 4435 cat >conftest.$ac_ext <<_ACEOF 3832 4436 /* confdefs.h. */ … … 3839 4443 _ACEOF 3840 4444 rm -f conftest.$ac_objext 3841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3842 (eval $ac_compile) 2>conftest.er1 4445 if { (ac_try="$ac_compile" 4446 case "(($ac_try" in 4447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4448 *) ac_try_echo=$ac_try;; 4449 esac 4450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4451 (eval "$ac_compile") 2>conftest.er1 3843 4452 ac_status=$? 3844 4453 grep -v '^ *+' conftest.er1 >conftest.err … … 3846 4455 cat conftest.err >&5 3847 4456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3848 (exit $ac_status); } && 3849 { ac_try='test -z "$ac_c_werror_flag" 3850 || test ! -s conftest.err' 3851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3852 (eval $ac_try) 2>&5 3853 ac_status=$? 3854 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3855 (exit $ac_status); }; } && 3856 { ac_try='test -s conftest.$ac_objext' 3857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3858 (eval $ac_try) 2>&5 3859 ac_status=$? 3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3861 (exit $ac_status); }; }; then 4457 (exit $ac_status); } && { 4458 test -z "$ac_c_werror_flag" || 4459 test ! -s conftest.err 4460 } && test -s conftest.$ac_objext; then 3862 4461 ac_header_compiler=yes 3863 4462 else … … 3865 4464 sed 's/^/| /' conftest.$ac_ext >&5 3866 4465 3867 ac_header_compiler=no 3868 fi 3869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3870 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3871 echo "${ECHO_T}$ac_header_compiler" >&6 4466 ac_header_compiler=no 4467 fi 4468 4469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4470 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4471 echo "${ECHO_T}$ac_header_compiler" >&6; } 3872 4472 3873 4473 # Is the header present? 3874 echo "$as_me:$LINENO: checking minix/config.h presence" >&53875 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 4474 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4475 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; } 3876 4476 cat >conftest.$ac_ext <<_ACEOF 3877 4477 /* confdefs.h. */ … … 3882 4482 #include <minix/config.h> 3883 4483 _ACEOF 3884 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3885 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4484 if { (ac_try="$ac_cpp conftest.$ac_ext" 4485 case "(($ac_try" in 4486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4487 *) ac_try_echo=$ac_try;; 4488 esac 4489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3886 4491 ac_status=$? 3887 4492 grep -v '^ *+' conftest.er1 >conftest.err … … 3889 4494 cat conftest.err >&5 3890 4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3891 (exit $ac_status); } >/dev/null; then 3892 if test -s conftest.err; then 3893 ac_cpp_err=$ac_c_preproc_warn_flag 3894 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3895 else 3896 ac_cpp_err= 3897 fi 3898 else 3899 ac_cpp_err=yes 3900 fi 3901 if test -z "$ac_cpp_err"; then 4496 (exit $ac_status); } >/dev/null && { 4497 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4498 test ! -s conftest.err 4499 }; then 3902 4500 ac_header_preproc=yes 3903 4501 else … … 3907 4505 ac_header_preproc=no 3908 4506 fi 4507 3909 4508 rm -f conftest.err conftest.$ac_ext 3910 echo "$as_me:$LINENO: result: $ac_header_preproc" >&53911 echo "${ECHO_T}$ac_header_preproc" >&6 4509 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4510 echo "${ECHO_T}$ac_header_preproc" >&6; } 3912 4511 3913 4512 # So? What about this header? … … 3933 4532 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 3934 4533 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 3935 ( 3936 cat <<\_ASBOX 3937 ## ------------------------------------------ ## 3938 ## Report this to the AC_PACKAGE_NAME lists. ## 3939 ## ------------------------------------------ ## 3940 _ASBOX 3941 ) | 3942 sed "s/^/$as_me: WARNING: /" >&2 4534 3943 4535 ;; 3944 4536 esac 3945 echo "$as_me:$LINENO: checking for minix/config.h" >&53946 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4537 { echo "$as_me:$LINENO: checking for minix/config.h" >&5 4538 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } 3947 4539 if test "${ac_cv_header_minix_config_h+set}" = set; then 3948 4540 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3950 4542 ac_cv_header_minix_config_h=$ac_header_preproc 3951 4543 fi 3952 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&53953 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4544 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4545 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; } 3954 4546 3955 4547 fi … … 3979 4571 fi 3980 4572 3981 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&53982 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 4573 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4574 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; } 3983 4575 if test "${ac_cv_prog_cc_stdc+set}" = set; then 3984 4576 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4016 4608 _ACEOF 4017 4609 rm -f conftest.$ac_objext 4018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4019 (eval $ac_compile) 2>conftest.er1 4610 if { (ac_try="$ac_compile" 4611 case "(($ac_try" in 4612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4613 *) ac_try_echo=$ac_try;; 4614 esac 4615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4616 (eval "$ac_compile") 2>conftest.er1 4020 4617 ac_status=$? 4021 4618 grep -v '^ *+' conftest.er1 >conftest.err … … 4023 4620 cat conftest.err >&5 4024 4621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4025 (exit $ac_status); } && 4026 { ac_try='test -z "$ac_c_werror_flag" 4027 || test ! -s conftest.err' 4028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4029 (eval $ac_try) 2>&5 4030 ac_status=$? 4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4032 (exit $ac_status); }; } && 4033 { ac_try='test -s conftest.$ac_objext' 4034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4035 (eval $ac_try) 2>&5 4036 ac_status=$? 4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4038 (exit $ac_status); }; }; then 4622 (exit $ac_status); } && { 4623 test -z "$ac_c_werror_flag" || 4624 test ! -s conftest.err 4625 } && test -s conftest.$ac_objext; then 4039 4626 ac_cv_prog_cc_stdc="$ac_arg"; break 4040 4627 else … … 4042 4629 sed 's/^/| /' conftest.$ac_ext >&5 4043 4630 4044 fi 4045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4631 4632 fi 4633 4634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4046 4635 done 4047 4636 CFLAGS="$ac_save_CFLAGS" … … 4049 4638 fi 4050 4639 4051 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&54052 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4640 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 4641 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } 4053 4642 case "x$ac_cv_prog_cc_stdc" in 4054 4643 x|xno) ;; … … 4057 4646 4058 4647 4059 echo "$as_me:$LINENO: checking for function prototypes" >&54060 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4648 { echo "$as_me:$LINENO: checking for function prototypes" >&5 4649 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; } 4061 4650 if test "$ac_cv_prog_cc_stdc" != no; then 4062 echo "$as_me:$LINENO: result: yes" >&54063 echo "${ECHO_T}yes" >&6 4651 { echo "$as_me:$LINENO: result: yes" >&5 4652 echo "${ECHO_T}yes" >&6; } 4064 4653 cat >>confdefs.h <<\_ACEOF 4065 4654 #define PROTOTYPES 1 … … 4068 4657 U= ANSI2KNR= 4069 4658 else 4070 echo "$as_me:$LINENO: result: no" >&54071 echo "${ECHO_T}no" >&6 4659 { echo "$as_me:$LINENO: result: no" >&5 4660 echo "${ECHO_T}no" >&6; } 4072 4661 U=_ ANSI2KNR=ansi2knr 4073 4662 fi 4074 4663 4075 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&54076 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4664 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4665 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 4077 4666 if test "${ac_cv_c_const+set}" = set; then 4078 4667 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4092 4681 /* Ultrix mips cc rejects this. */ 4093 4682 typedef int charset[2]; 4094 const charset x;4683 const charset cs; 4095 4684 /* SunOS 4.1.1 cc rejects this. */ 4096 char const *const * ccp;4097 char **p ;4685 char const *const *pcpcc; 4686 char **ppc; 4098 4687 /* NEC SVR4.0.2 mips cc rejects this. */ 4099 4688 struct point {int x, y;}; … … 4104 4693 expression */ 4105 4694 const char *g = "string"; 4106 ccp= &g + (g ? g-g : 0);4695 pcpcc = &g + (g ? g-g : 0); 4107 4696 /* HPUX 7.0 cc rejects these. */ 4108 ++ ccp;4109 p = (char**) ccp;4110 ccp = (char const *const *) p;4697 ++pcpcc; 4698 ppc = (char**) pcpcc; 4699 pcpcc = (char const *const *) ppc; 4111 4700 { /* SCO 3.2v4 cc rejects this. */ 4112 4701 char *t; … … 4114 4703 4115 4704 *t++ = 0; 4705 if (s) return 0; 4116 4706 } 4117 4707 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4132 4722 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4133 4723 const int foo = 10; 4724 if (!foo) return 0; 4134 4725 } 4726 return !cs[0] && !zero.x; 4135 4727 #endif 4136 4728 … … 4140 4732 _ACEOF 4141 4733 rm -f conftest.$ac_objext 4142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4143 (eval $ac_compile) 2>conftest.er1 4734 if { (ac_try="$ac_compile" 4735 case "(($ac_try" in 4736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4737 *) ac_try_echo=$ac_try;; 4738 esac 4739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4740 (eval "$ac_compile") 2>conftest.er1 4144 4741 ac_status=$? 4145 4742 grep -v '^ *+' conftest.er1 >conftest.err … … 4147 4744 cat conftest.err >&5 4148 4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4149 (exit $ac_status); } && 4150 { ac_try='test -z "$ac_c_werror_flag" 4151 || test ! -s conftest.err' 4152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4153 (eval $ac_try) 2>&5 4154 ac_status=$? 4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4156 (exit $ac_status); }; } && 4157 { ac_try='test -s conftest.$ac_objext' 4158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4159 (eval $ac_try) 2>&5 4160 ac_status=$? 4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4162 (exit $ac_status); }; }; then 4746 (exit $ac_status); } && { 4747 test -z "$ac_c_werror_flag" || 4748 test ! -s conftest.err 4749 } && test -s conftest.$ac_objext; then 4163 4750 ac_cv_c_const=yes 4164 4751 else … … 4166 4753 sed 's/^/| /' conftest.$ac_ext >&5 4167 4754 4168 ac_cv_c_const=no 4169 fi 4170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4171 fi 4172 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4173 echo "${ECHO_T}$ac_cv_c_const" >&6 4755 ac_cv_c_const=no 4756 fi 4757 4758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4759 fi 4760 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4761 echo "${ECHO_T}$ac_cv_c_const" >&6; } 4174 4762 if test $ac_cv_c_const = no; then 4175 4763 … … 4180 4768 fi 4181 4769 4182 echo "$as_me:$LINENO: checking for off_t" >&54183 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 4770 { echo "$as_me:$LINENO: checking for off_t" >&5 4771 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; } 4184 4772 if test "${ac_cv_type_off_t+set}" = set; then 4185 4773 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4192 4780 /* end confdefs.h. */ 4193 4781 $ac_includes_default 4782 typedef off_t ac__type_new_; 4194 4783 int 4195 4784 main () 4196 4785 { 4197 if (( off_t*) 0)4786 if ((ac__type_new_ *) 0) 4198 4787 return 0; 4199 if (sizeof ( off_t))4788 if (sizeof (ac__type_new_)) 4200 4789 return 0; 4201 4790 ; … … 4204 4793 _ACEOF 4205 4794 rm -f conftest.$ac_objext 4206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4207 (eval $ac_compile) 2>conftest.er1 4795 if { (ac_try="$ac_compile" 4796 case "(($ac_try" in 4797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4798 *) ac_try_echo=$ac_try;; 4799 esac 4800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4801 (eval "$ac_compile") 2>conftest.er1 4208 4802 ac_status=$? 4209 4803 grep -v '^ *+' conftest.er1 >conftest.err … … 4211 4805 cat conftest.err >&5 4212 4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4213 (exit $ac_status); } && 4214 { ac_try='test -z "$ac_c_werror_flag" 4215 || test ! -s conftest.err' 4216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4217 (eval $ac_try) 2>&5 4218 ac_status=$? 4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4220 (exit $ac_status); }; } && 4221 { ac_try='test -s conftest.$ac_objext' 4222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4223 (eval $ac_try) 2>&5 4224 ac_status=$? 4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4226 (exit $ac_status); }; }; then 4807 (exit $ac_status); } && { 4808 test -z "$ac_c_werror_flag" || 4809 test ! -s conftest.err 4810 } && test -s conftest.$ac_objext; then 4227 4811 ac_cv_type_off_t=yes 4228 4812 else … … 4230 4814 sed 's/^/| /' conftest.$ac_ext >&5 4231 4815 4232 ac_cv_type_off_t=no 4233 fi 4234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4235 fi 4236 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4237 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4816 ac_cv_type_off_t=no 4817 fi 4818 4819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4820 fi 4821 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4822 echo "${ECHO_T}$ac_cv_type_off_t" >&6; } 4238 4823 if test $ac_cv_type_off_t = yes; then 4239 4824 : … … 4241 4826 4242 4827 cat >>confdefs.h <<_ACEOF 4243 #define off_t long 4244 _ACEOF 4245 4246 fi 4247 4248 echo "$as_me:$LINENO: checking for size_t" >&54249 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4828 #define off_t long int 4829 _ACEOF 4830 4831 fi 4832 4833 { echo "$as_me:$LINENO: checking for size_t" >&5 4834 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 4250 4835 if test "${ac_cv_type_size_t+set}" = set; then 4251 4836 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4258 4843 /* end confdefs.h. */ 4259 4844 $ac_includes_default 4845 typedef size_t ac__type_new_; 4260 4846 int 4261 4847 main () 4262 4848 { 4263 if (( size_t*) 0)4849 if ((ac__type_new_ *) 0) 4264 4850 return 0; 4265 if (sizeof ( size_t))4851 if (sizeof (ac__type_new_)) 4266 4852 return 0; 4267 4853 ; … … 4270 4856 _ACEOF 4271 4857 rm -f conftest.$ac_objext 4272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4273 (eval $ac_compile) 2>conftest.er1 4858 if { (ac_try="$ac_compile" 4859 case "(($ac_try" in 4860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4861 *) ac_try_echo=$ac_try;; 4862 esac 4863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4864 (eval "$ac_compile") 2>conftest.er1 4274 4865 ac_status=$? 4275 4866 grep -v '^ *+' conftest.er1 >conftest.err … … 4277 4868 cat conftest.err >&5 4278 4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4279 (exit $ac_status); } && 4280 { ac_try='test -z "$ac_c_werror_flag" 4281 || test ! -s conftest.err' 4282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4283 (eval $ac_try) 2>&5 4284 ac_status=$? 4285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4286 (exit $ac_status); }; } && 4287 { ac_try='test -s conftest.$ac_objext' 4288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4289 (eval $ac_try) 2>&5 4290 ac_status=$? 4291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4292 (exit $ac_status); }; }; then 4870 (exit $ac_status); } && { 4871 test -z "$ac_c_werror_flag" || 4872 test ! -s conftest.err 4873 } && test -s conftest.$ac_objext; then 4293 4874 ac_cv_type_size_t=yes 4294 4875 else … … 4296 4877 sed 's/^/| /' conftest.$ac_ext >&5 4297 4878 4298 ac_cv_type_size_t=no 4299 fi 4300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4301 fi 4302 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4303 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4879 ac_cv_type_size_t=no 4880 fi 4881 4882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4883 fi 4884 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4885 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 4304 4886 if test $ac_cv_type_size_t = yes; then 4305 4887 : … … 4307 4889 4308 4890 cat >>confdefs.h <<_ACEOF 4309 #define size_t unsigned 4310 _ACEOF 4311 4312 fi 4313 4314 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&54315 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4891 #define size_t unsigned int 4892 _ACEOF 4893 4894 fi 4895 4896 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 4897 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } 4316 4898 if test "${ac_cv_header_time+set}" = set; then 4317 4899 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4337 4919 _ACEOF 4338 4920 rm -f conftest.$ac_objext 4339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4340 (eval $ac_compile) 2>conftest.er1 4921 if { (ac_try="$ac_compile" 4922 case "(($ac_try" in 4923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4924 *) ac_try_echo=$ac_try;; 4925 esac 4926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4927 (eval "$ac_compile") 2>conftest.er1 4341 4928 ac_status=$? 4342 4929 grep -v '^ *+' conftest.er1 >conftest.err … … 4344 4931 cat conftest.err >&5 4345 4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4346 (exit $ac_status); } && 4347 { ac_try='test -z "$ac_c_werror_flag" 4348 || test ! -s conftest.err' 4349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4350 (eval $ac_try) 2>&5 4351 ac_status=$? 4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4353 (exit $ac_status); }; } && 4354 { ac_try='test -s conftest.$ac_objext' 4355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4356 (eval $ac_try) 2>&5 4357 ac_status=$? 4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4359 (exit $ac_status); }; }; then 4933 (exit $ac_status); } && { 4934 test -z "$ac_c_werror_flag" || 4935 test ! -s conftest.err 4936 } && test -s conftest.$ac_objext; then 4360 4937 ac_cv_header_time=yes 4361 4938 else … … 4363 4940 sed 's/^/| /' conftest.$ac_ext >&5 4364 4941 4365 ac_cv_header_time=no 4366 fi 4367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4368 fi 4369 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4370 echo "${ECHO_T}$ac_cv_header_time" >&6 4942 ac_cv_header_time=no 4943 fi 4944 4945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4946 fi 4947 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4948 echo "${ECHO_T}$ac_cv_header_time" >&6; } 4371 4949 if test $ac_cv_header_time = yes; then 4372 4950 … … 4377 4955 fi 4378 4956 4379 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&54380 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4957 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 4958 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } 4381 4959 if test "${ac_cv_struct_tm+set}" = set; then 4382 4960 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4394 4972 main () 4395 4973 { 4396 struct tm *tp; tp->tm_sec; 4974 struct tm tm; 4975 int *p = &tm.tm_sec; 4976 return !p; 4397 4977 ; 4398 4978 return 0; … … 4400 4980 _ACEOF 4401 4981 rm -f conftest.$ac_objext 4402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4403 (eval $ac_compile) 2>conftest.er1 4982 if { (ac_try="$ac_compile" 4983 case "(($ac_try" in 4984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4985 *) ac_try_echo=$ac_try;; 4986 esac 4987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4988 (eval "$ac_compile") 2>conftest.er1 4404 4989 ac_status=$? 4405 4990 grep -v '^ *+' conftest.er1 >conftest.err … … 4407 4992 cat conftest.err >&5 4408 4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4409 (exit $ac_status); } && 4410 { ac_try='test -z "$ac_c_werror_flag" 4411 || test ! -s conftest.err' 4412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4413 (eval $ac_try) 2>&5 4414 ac_status=$? 4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4416 (exit $ac_status); }; } && 4417 { ac_try='test -s conftest.$ac_objext' 4418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4419 (eval $ac_try) 2>&5 4420 ac_status=$? 4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4422 (exit $ac_status); }; }; then 4994 (exit $ac_status); } && { 4995 test -z "$ac_c_werror_flag" || 4996 test ! -s conftest.err 4997 } && test -s conftest.$ac_objext; then 4423 4998 ac_cv_struct_tm=time.h 4424 4999 else … … 4426 5001 sed 's/^/| /' conftest.$ac_ext >&5 4427 5002 4428 ac_cv_struct_tm=sys/time.h 4429 fi 4430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4431 fi 4432 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 4433 echo "${ECHO_T}$ac_cv_struct_tm" >&6 5003 ac_cv_struct_tm=sys/time.h 5004 fi 5005 5006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5007 fi 5008 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5009 echo "${ECHO_T}$ac_cv_struct_tm" >&6; } 4434 5010 if test $ac_cv_struct_tm = sys/time.h; then 4435 5011 … … 4459 5035 _ACEOF 4460 5036 rm -f conftest.$ac_objext 4461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4462 (eval $ac_compile) 2>conftest.er1 5037 if { (ac_try="$ac_compile" 5038 case "(($ac_try" in 5039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5040 *) ac_try_echo=$ac_try;; 5041 esac 5042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5043 (eval "$ac_compile") 2>conftest.er1 4463 5044 ac_status=$? 4464 5045 grep -v '^ *+' conftest.er1 >conftest.err … … 4466 5047 cat conftest.err >&5 4467 5048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4468 (exit $ac_status); } && 4469 { ac_try='test -z "$ac_c_werror_flag" 4470 || test ! -s conftest.err' 4471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4472 (eval $ac_try) 2>&5 4473 ac_status=$? 4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4475 (exit $ac_status); }; } && 4476 { ac_try='test -s conftest.$ac_objext' 4477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4478 (eval $ac_try) 2>&5 4479 ac_status=$? 4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4481 (exit $ac_status); }; }; then 5049 (exit $ac_status); } && { 5050 test -z "$ac_c_werror_flag" || 5051 test ! -s conftest.err 5052 } && test -s conftest.$ac_objext; then 4482 5053 : 4483 5054 else … … 4485 5056 sed 's/^/| /' conftest.$ac_ext >&5 4486 5057 4487 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 4488 fi 4489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4490 fi 4491 4492 4493 4494 echo "$as_me:$LINENO: checking for main in -lg" >&5 4495 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 5058 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5059 fi 5060 5061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5062 fi 5063 5064 5065 5066 { echo "$as_me:$LINENO: checking for main in -lg" >&5 5067 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; } 4496 5068 if test "${ac_cv_lib_g_main+set}" = set; then 4497 5069 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4510 5082 main () 4511 5083 { 4512 main ();5084 return main (); 4513 5085 ; 4514 5086 return 0; … … 4516 5088 _ACEOF 4517 5089 rm -f conftest.$ac_objext conftest$ac_exeext 4518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4519 (eval $ac_link) 2>conftest.er1 5090 if { (ac_try="$ac_link" 5091 case "(($ac_try" in 5092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5093 *) ac_try_echo=$ac_try;; 5094 esac 5095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5096 (eval "$ac_link") 2>conftest.er1 4520 5097 ac_status=$? 4521 5098 grep -v '^ *+' conftest.er1 >conftest.err … … 4523 5100 cat conftest.err >&5 4524 5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4525 (exit $ac_status); } && 4526 { ac_try='test -z "$ac_c_werror_flag" 4527 || test ! -s conftest.err' 4528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4529 (eval $ac_try) 2>&5 4530 ac_status=$? 4531 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4532 (exit $ac_status); }; } && 4533 { ac_try='test -s conftest$ac_exeext' 4534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4535 (eval $ac_try) 2>&5 4536 ac_status=$? 4537 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4538 (exit $ac_status); }; }; then 5102 (exit $ac_status); } && { 5103 test -z "$ac_c_werror_flag" || 5104 test ! -s conftest.err 5105 } && test -s conftest$ac_exeext && 5106 $as_test_x conftest$ac_exeext; then 4539 5107 ac_cv_lib_g_main=yes 4540 5108 else … … 4542 5110 sed 's/^/| /' conftest.$ac_ext >&5 4543 5111 4544 ac_cv_lib_g_main=no 4545 fi 4546 rm -f conftest.err conftest.$ac_objext \ 5112 ac_cv_lib_g_main=no 5113 fi 5114 5115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4547 5116 conftest$ac_exeext conftest.$ac_ext 4548 5117 LIBS=$ac_check_lib_save_LIBS 4549 5118 fi 4550 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&54551 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 5119 { echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 5120 echo "${ECHO_T}$ac_cv_lib_g_main" >&6; } 4552 5121 if test $ac_cv_lib_g_main = yes; then 4553 5122 cat >>confdefs.h <<_ACEOF … … 4561 5130 4562 5131 4563 echo "$as_me:$LINENO: checking for main in -lm" >&54564 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 5132 { echo "$as_me:$LINENO: checking for main in -lm" >&5 5133 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 4565 5134 if test "${ac_cv_lib_m_main+set}" = set; then 4566 5135 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4579 5148 main () 4580 5149 { 4581 main ();5150 return main (); 4582 5151 ; 4583 5152 return 0; … … 4585 5154 _ACEOF 4586 5155 rm -f conftest.$ac_objext conftest$ac_exeext 4587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4588 (eval $ac_link) 2>conftest.er1 5156 if { (ac_try="$ac_link" 5157 case "(($ac_try" in 5158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5159 *) ac_try_echo=$ac_try;; 5160 esac 5161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5162 (eval "$ac_link") 2>conftest.er1 4589 5163 ac_status=$? 4590 5164 grep -v '^ *+' conftest.er1 >conftest.err … … 4592 5166 cat conftest.err >&5 4593 5167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4594 (exit $ac_status); } && 4595 { ac_try='test -z "$ac_c_werror_flag" 4596 || test ! -s conftest.err' 4597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4598 (eval $ac_try) 2>&5 4599 ac_status=$? 4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4601 (exit $ac_status); }; } && 4602 { ac_try='test -s conftest$ac_exeext' 4603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4604 (eval $ac_try) 2>&5 4605 ac_status=$? 4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4607 (exit $ac_status); }; }; then 5168 (exit $ac_status); } && { 5169 test -z "$ac_c_werror_flag" || 5170 test ! -s conftest.err 5171 } && test -s conftest$ac_exeext && 5172 $as_test_x conftest$ac_exeext; then 4608 5173 ac_cv_lib_m_main=yes 4609 5174 else … … 4611 5176 sed 's/^/| /' conftest.$ac_ext >&5 4612 5177 4613 ac_cv_lib_m_main=no 4614 fi 4615 rm -f conftest.err conftest.$ac_objext \ 5178 ac_cv_lib_m_main=no 5179 fi 5180 5181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4616 5182 conftest$ac_exeext conftest.$ac_ext 4617 5183 LIBS=$ac_check_lib_save_LIBS 4618 5184 fi 4619 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&54620 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 5185 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 5186 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; } 4621 5187 if test $ac_cv_lib_m_main = yes; then 4622 5188 cat >>confdefs.h <<_ACEOF … … 4630 5196 4631 5197 4632 echo "$as_me:$LINENO: checking for main in -lcrypt" >&54633 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 5198 { echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 5199 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; } 4634 5200 if test "${ac_cv_lib_crypt_main+set}" = set; then 4635 5201 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4648 5214 main () 4649 5215 { 4650 main ();5216 return main (); 4651 5217 ; 4652 5218 return 0; … … 4654 5220 _ACEOF 4655 5221 rm -f conftest.$ac_objext conftest$ac_exeext 4656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4657 (eval $ac_link) 2>conftest.er1 5222 if { (ac_try="$ac_link" 5223 case "(($ac_try" in 5224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5225 *) ac_try_echo=$ac_try;; 5226 esac 5227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5228 (eval "$ac_link") 2>conftest.er1 4658 5229 ac_status=$? 4659 5230 grep -v '^ *+' conftest.er1 >conftest.err … … 4661 5232 cat conftest.err >&5 4662 5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4663 (exit $ac_status); } && 4664 { ac_try='test -z "$ac_c_werror_flag" 4665 || test ! -s conftest.err' 4666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4667 (eval $ac_try) 2>&5 4668 ac_status=$? 4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4670 (exit $ac_status); }; } && 4671 { ac_try='test -s conftest$ac_exeext' 4672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4673 (eval $ac_try) 2>&5 4674 ac_status=$? 4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4676 (exit $ac_status); }; }; then 5234 (exit $ac_status); } && { 5235 test -z "$ac_c_werror_flag" || 5236 test ! -s conftest.err 5237 } && test -s conftest$ac_exeext && 5238 $as_test_x conftest$ac_exeext; then 4677 5239 ac_cv_lib_crypt_main=yes 4678 5240 else … … 4680 5242 sed 's/^/| /' conftest.$ac_ext >&5 4681 5243 4682 ac_cv_lib_crypt_main=no 4683 fi 4684 rm -f conftest.err conftest.$ac_objext \ 5244 ac_cv_lib_crypt_main=no 5245 fi 5246 5247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4685 5248 conftest$ac_exeext conftest.$ac_ext 4686 5249 LIBS=$ac_check_lib_save_LIBS 4687 5250 fi 4688 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&54689 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 5251 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 5252 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; } 4690 5253 if test $ac_cv_lib_crypt_main = yes; then 4691 5254 cat >>confdefs.h <<_ACEOF … … 4698 5261 ac_cv_lib_crypt=ac_cv_lib_crypt_main 4699 5262 5263 #if test $ENABLE_ACCENTFOLD = 1; then 5264 #AC_HAVE_LIBRARY(iconv) 5265 #fi 5266 5267 5268 5269 4700 5270 4701 5271 … … 4703 5273 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 4704 5274 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 4705 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&54706 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 4707 if eval "test \"\${$as_ac_Header+set}\" = set"; then5275 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 5276 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } 5277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4708 5278 echo $ECHO_N "(cached) $ECHO_C" >&6 4709 5279 else … … 4727 5297 _ACEOF 4728 5298 rm -f conftest.$ac_objext 4729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4730 (eval $ac_compile) 2>conftest.er1 5299 if { (ac_try="$ac_compile" 5300 case "(($ac_try" in 5301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5302 *) ac_try_echo=$ac_try;; 5303 esac 5304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5305 (eval "$ac_compile") 2>conftest.er1 4731 5306 ac_status=$? 4732 5307 grep -v '^ *+' conftest.er1 >conftest.err … … 4734 5309 cat conftest.err >&5 4735 5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4736 (exit $ac_status); } && 4737 { ac_try='test -z "$ac_c_werror_flag" 4738 || test ! -s conftest.err' 4739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4740 (eval $ac_try) 2>&5 4741 ac_status=$? 4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4743 (exit $ac_status); }; } && 4744 { ac_try='test -s conftest.$ac_objext' 4745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4746 (eval $ac_try) 2>&5 4747 ac_status=$? 4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4749 (exit $ac_status); }; }; then 5311 (exit $ac_status); } && { 5312 test -z "$ac_c_werror_flag" || 5313 test ! -s conftest.err 5314 } && test -s conftest.$ac_objext; then 4750 5315 eval "$as_ac_Header=yes" 4751 5316 else … … 4753 5318 sed 's/^/| /' conftest.$ac_ext >&5 4754 5319 4755 eval "$as_ac_Header=no" 4756 fi 4757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4758 fi 4759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5320 eval "$as_ac_Header=no" 5321 fi 5322 5323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5324 fi 5325 ac_res=`eval echo '${'$as_ac_Header'}'` 5326 { echo "$as_me:$LINENO: result: $ac_res" >&5 5327 echo "${ECHO_T}$ac_res" >&6; } 4761 5328 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4762 5329 cat >>confdefs.h <<_ACEOF … … 4770 5337 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 4771 5338 if test $ac_header_dirent = dirent.h; then 4772 echo "$as_me:$LINENO: checking for library containing opendir" >&54773 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5339 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 5340 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } 4774 5341 if test "${ac_cv_search_opendir+set}" = set; then 4775 5342 echo $ECHO_N "(cached) $ECHO_C" >&6 4776 5343 else 4777 5344 ac_func_search_save_LIBS=$LIBS 4778 ac_cv_search_opendir=no4779 5345 cat >conftest.$ac_ext <<_ACEOF 4780 5346 /* confdefs.h. */ … … 4784 5350 /* end confdefs.h. */ 4785 5351 4786 /* Override any gcc2 internal prototype to avoid an error. */ 5352 /* Override any GCC internal prototype to avoid an error. 5353 Use char because int might match the return type of a GCC 5354 builtin and then its argument prototype would still apply. */ 4787 5355 #ifdef __cplusplus 4788 5356 extern "C" 4789 5357 #endif 4790 /* We use char because int might match the return type of a gcc24791 builtin and then its argument prototype would still apply. */4792 5358 char opendir (); 4793 5359 int 4794 5360 main () 4795 5361 { 4796 opendir ();5362 return opendir (); 4797 5363 ; 4798 5364 return 0; 4799 5365 } 4800 5366 _ACEOF 4801 rm -f conftest.$ac_objext conftest$ac_exeext 4802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4803 (eval $ac_link) 2>conftest.er1 5367 for ac_lib in '' dir; do 5368 if test -z "$ac_lib"; then 5369 ac_res="none required" 5370 else 5371 ac_res=-l$ac_lib 5372 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5373 fi 5374 rm -f conftest.$ac_objext conftest$ac_exeext 5375 if { (ac_try="$ac_link" 5376 case "(($ac_try" in 5377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5378 *) ac_try_echo=$ac_try;; 5379 esac 5380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5381 (eval "$ac_link") 2>conftest.er1 4804 5382 ac_status=$? 4805 5383 grep -v '^ *+' conftest.er1 >conftest.err … … 4807 5385 cat conftest.err >&5 4808 5386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4809 (exit $ac_status); } && 4810 { ac_try='test -z "$ac_c_werror_flag" 4811 || test ! -s conftest.err' 4812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4813 (eval $ac_try) 2>&5 4814 ac_status=$? 4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4816 (exit $ac_status); }; } && 4817 { ac_try='test -s conftest$ac_exeext' 4818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4819 (eval $ac_try) 2>&5 4820 ac_status=$? 4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4822 (exit $ac_status); }; }; then 4823 ac_cv_search_opendir="none required" 5387 (exit $ac_status); } && { 5388 test -z "$ac_c_werror_flag" || 5389 test ! -s conftest.err 5390 } && test -s conftest$ac_exeext && 5391 $as_test_x conftest$ac_exeext; then 5392 ac_cv_search_opendir=$ac_res 4824 5393 else 4825 5394 echo "$as_me: failed program was:" >&5 4826 5395 sed 's/^/| /' conftest.$ac_ext >&5 4827 5396 4828 fi 4829 rm -f conftest.err conftest.$ac_objext \ 4830 conftest$ac_exeext conftest.$ac_ext 4831 if test "$ac_cv_search_opendir" = no; then 4832 for ac_lib in dir; do 4833 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4834 cat >conftest.$ac_ext <<_ACEOF 5397 5398 fi 5399 5400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5401 conftest$ac_exeext 5402 if test "${ac_cv_search_opendir+set}" = set; then 5403 break 5404 fi 5405 done 5406 if test "${ac_cv_search_opendir+set}" = set; then 5407 : 5408 else 5409 ac_cv_search_opendir=no 5410 fi 5411 rm conftest.$ac_ext 5412 LIBS=$ac_func_search_save_LIBS 5413 fi 5414 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5415 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 5416 ac_res=$ac_cv_search_opendir 5417 if test "$ac_res" != no; then 5418 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5419 5420 fi 5421 5422 else 5423 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 5424 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } 5425 if test "${ac_cv_search_opendir+set}" = set; then 5426 echo $ECHO_N "(cached) $ECHO_C" >&6 5427 else 5428 ac_func_search_save_LIBS=$LIBS 5429 cat >conftest.$ac_ext <<_ACEOF 4835 5430 /* confdefs.h. */ 4836 5431 _ACEOF … … 4839 5434 /* end confdefs.h. */ 4840 5435 4841 /* Override any gcc2 internal prototype to avoid an error. */ 5436 /* Override any GCC internal prototype to avoid an error. 5437 Use char because int might match the return type of a GCC 5438 builtin and then its argument prototype would still apply. */ 4842 5439 #ifdef __cplusplus 4843 5440 extern "C" 4844 5441 #endif 4845 /* We use char because int might match the return type of a gcc24846 builtin and then its argument prototype would still apply. */4847 5442 char opendir (); 4848 5443 int 4849 5444 main () 4850 5445 { 4851 opendir ();5446 return opendir (); 4852 5447 ; 4853 5448 return 0; 4854 5449 } 4855 5450 _ACEOF 4856 rm -f conftest.$ac_objext conftest$ac_exeext 4857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4858 (eval $ac_link) 2>conftest.er1 5451 for ac_lib in '' x; do 5452 if test -z "$ac_lib"; then 5453 ac_res="none required" 5454 else 5455 ac_res=-l$ac_lib 5456 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5457 fi 5458 rm -f conftest.$ac_objext conftest$ac_exeext 5459 if { (ac_try="$ac_link" 5460 case "(($ac_try" in 5461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5462 *) ac_try_echo=$ac_try;; 5463 esac 5464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5465 (eval "$ac_link") 2>conftest.er1 4859 5466 ac_status=$? 4860 5467 grep -v '^ *+' conftest.er1 >conftest.err … … 4862 5469 cat conftest.err >&5 4863 5470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4864 (exit $ac_status); } && 4865 { ac_try='test -z "$ac_c_werror_flag" 4866 || test ! -s conftest.err' 4867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4868 (eval $ac_try) 2>&5 4869 ac_status=$? 4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4871 (exit $ac_status); }; } && 4872 { ac_try='test -s conftest$ac_exeext' 4873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4874 (eval $ac_try) 2>&5 4875 ac_status=$? 4876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4877 (exit $ac_status); }; }; then 4878 ac_cv_search_opendir="-l$ac_lib" 4879 break 5471 (exit $ac_status); } && { 5472 test -z "$ac_c_werror_flag" || 5473 test ! -s conftest.err 5474 } && test -s conftest$ac_exeext && 5475 $as_test_x conftest$ac_exeext; then 5476 ac_cv_search_opendir=$ac_res 4880 5477 else 4881 5478 echo "$as_me: failed program was:" >&5 4882 5479 sed 's/^/| /' conftest.$ac_ext >&5 4883 5480 4884 fi 4885 rm -f conftest.err conftest.$ac_objext \ 4886 conftest$ac_exeext conftest.$ac_ext 4887 done 4888 fi 5481 5482 fi 5483 5484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5485 conftest$ac_exeext 5486 if test "${ac_cv_search_opendir+set}" = set; then 5487 break 5488 fi 5489 done 5490 if test "${ac_cv_search_opendir+set}" = set; then 5491 : 5492 else 5493 ac_cv_search_opendir=no 5494 fi 5495 rm conftest.$ac_ext 4889 5496 LIBS=$ac_func_search_save_LIBS 4890 5497 fi 4891 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 4892 echo "${ECHO_T}$ac_cv_search_opendir" >&6 4893 if test "$ac_cv_search_opendir" != no; then 4894 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 4895 4896 fi 4897 4898 else 4899 echo "$as_me:$LINENO: checking for library containing opendir" >&5 4900 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 4901 if test "${ac_cv_search_opendir+set}" = set; then 4902 echo $ECHO_N "(cached) $ECHO_C" >&6 4903 else 4904 ac_func_search_save_LIBS=$LIBS 4905 ac_cv_search_opendir=no 4906 cat >conftest.$ac_ext <<_ACEOF 4907 /* confdefs.h. */ 4908 _ACEOF 4909 cat confdefs.h >>conftest.$ac_ext 4910 cat >>conftest.$ac_ext <<_ACEOF 4911 /* end confdefs.h. */ 4912 4913 /* Override any gcc2 internal prototype to avoid an error. */ 4914 #ifdef __cplusplus 4915 extern "C" 4916 #endif 4917 /* We use char because int might match the return type of a gcc2 4918 builtin and then its argument prototype would still apply. */ 4919 char opendir (); 4920 int 4921 main () 4922 { 4923 opendir (); 4924 ; 4925 return 0; 4926 } 4927 _ACEOF 4928 rm -f conftest.$ac_objext conftest$ac_exeext 4929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4930 (eval $ac_link) 2>conftest.er1 4931 ac_status=$? 4932 grep -v '^ *+' conftest.er1 >conftest.err 4933 rm -f conftest.er1 4934 cat conftest.err >&5 4935 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4936 (exit $ac_status); } && 4937 { ac_try='test -z "$ac_c_werror_flag" 4938 || test ! -s conftest.err' 4939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4940 (eval $ac_try) 2>&5 4941 ac_status=$? 4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4943 (exit $ac_status); }; } && 4944 { ac_try='test -s conftest$ac_exeext' 4945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4946 (eval $ac_try) 2>&5 4947 ac_status=$? 4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4949 (exit $ac_status); }; }; then 4950 ac_cv_search_opendir="none required" 4951 else 4952 echo "$as_me: failed program was:" >&5 4953 sed 's/^/| /' conftest.$ac_ext >&5 4954 4955 fi 4956 rm -f conftest.err conftest.$ac_objext \ 4957 conftest$ac_exeext conftest.$ac_ext 4958 if test "$ac_cv_search_opendir" = no; then 4959 for ac_lib in x; do 4960 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4961 cat >conftest.$ac_ext <<_ACEOF 4962 /* confdefs.h. */ 4963 _ACEOF 4964 cat confdefs.h >>conftest.$ac_ext 4965 cat >>conftest.$ac_ext <<_ACEOF 4966 /* end confdefs.h. */ 4967 4968 /* Override any gcc2 internal prototype to avoid an error. */ 4969 #ifdef __cplusplus 4970 extern "C" 4971 #endif 4972 /* We use char because int might match the return type of a gcc2 4973 builtin and then its argument prototype would still apply. */ 4974 char opendir (); 4975 int 4976 main () 4977 { 4978 opendir (); 4979 ; 4980 return 0; 4981 } 4982 _ACEOF 4983 rm -f conftest.$ac_objext conftest$ac_exeext 4984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4985 (eval $ac_link) 2>conftest.er1 4986 ac_status=$? 4987 grep -v '^ *+' conftest.er1 >conftest.err 4988 rm -f conftest.er1 4989 cat conftest.err >&5 4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4991 (exit $ac_status); } && 4992 { ac_try='test -z "$ac_c_werror_flag" 4993 || test ! -s conftest.err' 4994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4995 (eval $ac_try) 2>&5 4996 ac_status=$? 4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4998 (exit $ac_status); }; } && 4999 { ac_try='test -s conftest$ac_exeext' 5000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5001 (eval $ac_try) 2>&5 5002 ac_status=$? 5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5004 (exit $ac_status); }; }; then 5005 ac_cv_search_opendir="-l$ac_lib" 5006 break 5007 else 5008 echo "$as_me: failed program was:" >&5 5009 sed 's/^/| /' conftest.$ac_ext >&5 5010 5011 fi 5012 rm -f conftest.err conftest.$ac_objext \ 5013 conftest$ac_exeext conftest.$ac_ext 5014 done 5015 fi 5016 LIBS=$ac_func_search_save_LIBS 5017 fi 5018 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5019 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5020 if test "$ac_cv_search_opendir" != no; then 5021 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5022 5023 fi 5024 5025 fi 5026 5027 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5028 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 5498 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5499 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 5500 ac_res=$ac_cv_search_opendir 5501 if test "$ac_res" != no; then 5502 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5503 5504 fi 5505 5506 fi 5507 5508 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5509 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 5029 5510 if test "${ac_cv_header_stdc+set}" = set; then 5030 5511 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5050 5531 _ACEOF 5051 5532 rm -f conftest.$ac_objext 5052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5053 (eval $ac_compile) 2>conftest.er1 5533 if { (ac_try="$ac_compile" 5534 case "(($ac_try" in 5535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5536 *) ac_try_echo=$ac_try;; 5537 esac 5538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5539 (eval "$ac_compile") 2>conftest.er1 5054 5540 ac_status=$? 5055 5541 grep -v '^ *+' conftest.er1 >conftest.err … … 5057 5543 cat conftest.err >&5 5058 5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5059 (exit $ac_status); } && 5060 { ac_try='test -z "$ac_c_werror_flag" 5061 || test ! -s conftest.err' 5062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5063 (eval $ac_try) 2>&5 5064 ac_status=$? 5065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5066 (exit $ac_status); }; } && 5067 { ac_try='test -s conftest.$ac_objext' 5068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5069 (eval $ac_try) 2>&5 5070 ac_status=$? 5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5072 (exit $ac_status); }; }; then 5545 (exit $ac_status); } && { 5546 test -z "$ac_c_werror_flag" || 5547 test ! -s conftest.err 5548 } && test -s conftest.$ac_objext; then 5073 5549 ac_cv_header_stdc=yes 5074 5550 else … … 5076 5552 sed 's/^/| /' conftest.$ac_ext >&5 5077 5553 5078 ac_cv_header_stdc=no 5079 fi 5080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5554 ac_cv_header_stdc=no 5555 fi 5556 5557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5081 5558 5082 5559 if test $ac_cv_header_stdc = yes; then … … 5134 5611 /* end confdefs.h. */ 5135 5612 #include <ctype.h> 5613 #include <stdlib.h> 5136 5614 #if ((' ' & 0x0FF) == 0x020) 5137 5615 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5153 5631 if (XOR (islower (i), ISLOWER (i)) 5154 5632 || toupper (i) != TOUPPER (i)) 5155 exit(2);5156 exit (0);5633 return 2; 5634 return 0; 5157 5635 } 5158 5636 _ACEOF 5159 5637 rm -f conftest$ac_exeext 5160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5161 (eval $ac_link) 2>&5 5638 if { (ac_try="$ac_link" 5639 case "(($ac_try" in 5640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5641 *) ac_try_echo=$ac_try;; 5642 esac 5643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5644 (eval "$ac_link") 2>&5 5162 5645 ac_status=$? 5163 5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5164 5647 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5166 (eval $ac_try) 2>&5 5648 { (case "(($ac_try" in 5649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5650 *) ac_try_echo=$ac_try;; 5651 esac 5652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5653 (eval "$ac_try") 2>&5 5167 5654 ac_status=$? 5168 5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 5177 5664 ac_cv_header_stdc=no 5178 5665 fi 5179 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5180 fi 5181 fi 5182 fi 5183 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5184 echo "${ECHO_T}$ac_cv_header_stdc" >&6 5666 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5667 fi 5668 5669 5670 fi 5671 fi 5672 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5673 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 5185 5674 if test $ac_cv_header_stdc = yes; then 5186 5675 … … 5203 5692 do 5204 5693 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5205 if eval "test \"\${$as_ac_Header+set}\" = set"; then5206 echo "$as_me:$LINENO: checking for $ac_header" >&55207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5208 if eval "test \"\${$as_ac_Header+set}\" = set"; then5694 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5695 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5697 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5209 5698 echo $ECHO_N "(cached) $ECHO_C" >&6 5210 5699 fi 5211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5700 ac_res=`eval echo '${'$as_ac_Header'}'` 5701 { echo "$as_me:$LINENO: result: $ac_res" >&5 5702 echo "${ECHO_T}$ac_res" >&6; } 5213 5703 else 5214 5704 # Is the header compilable? 5215 echo "$as_me:$LINENO: checking $ac_header usability" >&55216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5705 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5706 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5217 5707 cat >conftest.$ac_ext <<_ACEOF 5218 5708 /* confdefs.h. */ … … 5225 5715 _ACEOF 5226 5716 rm -f conftest.$ac_objext 5227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5228 (eval $ac_compile) 2>conftest.er1 5717 if { (ac_try="$ac_compile" 5718 case "(($ac_try" in 5719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5720 *) ac_try_echo=$ac_try;; 5721 esac 5722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5723 (eval "$ac_compile") 2>conftest.er1 5229 5724 ac_status=$? 5230 5725 grep -v '^ *+' conftest.er1 >conftest.err … … 5232 5727 cat conftest.err >&5 5233 5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5234 (exit $ac_status); } && 5235 { ac_try='test -z "$ac_c_werror_flag" 5236 || test ! -s conftest.err' 5237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5238 (eval $ac_try) 2>&5 5239 ac_status=$? 5240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5241 (exit $ac_status); }; } && 5242 { ac_try='test -s conftest.$ac_objext' 5243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5244 (eval $ac_try) 2>&5 5245 ac_status=$? 5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5247 (exit $ac_status); }; }; then 5729 (exit $ac_status); } && { 5730 test -z "$ac_c_werror_flag" || 5731 test ! -s conftest.err 5732 } && test -s conftest.$ac_objext; then 5248 5733 ac_header_compiler=yes 5249 5734 else … … 5251 5736 sed 's/^/| /' conftest.$ac_ext >&5 5252 5737 5253 ac_header_compiler=no 5254 fi 5255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5257 echo "${ECHO_T}$ac_header_compiler" >&6 5738 ac_header_compiler=no 5739 fi 5740 5741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5742 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5743 echo "${ECHO_T}$ac_header_compiler" >&6; } 5258 5744 5259 5745 # Is the header present? 5260 echo "$as_me:$LINENO: checking $ac_header presence" >&55261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5746 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5747 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5262 5748 cat >conftest.$ac_ext <<_ACEOF 5263 5749 /* confdefs.h. */ … … 5268 5754 #include <$ac_header> 5269 5755 _ACEOF 5270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5271 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5756 if { (ac_try="$ac_cpp conftest.$ac_ext" 5757 case "(($ac_try" in 5758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5759 *) ac_try_echo=$ac_try;; 5760 esac 5761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5762 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5272 5763 ac_status=$? 5273 5764 grep -v '^ *+' conftest.er1 >conftest.err … … 5275 5766 cat conftest.err >&5 5276 5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5277 (exit $ac_status); } >/dev/null; then 5278 if test -s conftest.err; then 5279 ac_cpp_err=$ac_c_preproc_warn_flag 5280 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5281 else 5282 ac_cpp_err= 5283 fi 5284 else 5285 ac_cpp_err=yes 5286 fi 5287 if test -z "$ac_cpp_err"; then 5768 (exit $ac_status); } >/dev/null && { 5769 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5770 test ! -s conftest.err 5771 }; then 5288 5772 ac_header_preproc=yes 5289 5773 else … … 5293 5777 ac_header_preproc=no 5294 5778 fi 5779 5295 5780 rm -f conftest.err conftest.$ac_ext 5296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55297 echo "${ECHO_T}$ac_header_preproc" >&6 5781 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5782 echo "${ECHO_T}$ac_header_preproc" >&6; } 5298 5783 5299 5784 # So? What about this header? … … 5319 5804 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5320 5805 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5321 ( 5322 cat <<\_ASBOX 5323 ## ------------------------------------------ ## 5324 ## Report this to the AC_PACKAGE_NAME lists. ## 5325 ## ------------------------------------------ ## 5326 _ASBOX 5327 ) | 5328 sed "s/^/$as_me: WARNING: /" >&2 5806 5329 5807 ;; 5330 5808 esac 5331 echo "$as_me:$LINENO: checking for $ac_header" >&55332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5333 if eval "test \"\${$as_ac_Header+set}\" = set"; then5809 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5811 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5334 5812 echo $ECHO_N "(cached) $ECHO_C" >&6 5335 5813 else 5336 5814 eval "$as_ac_Header=\$ac_header_preproc" 5337 5815 fi 5338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5816 ac_res=`eval echo '${'$as_ac_Header'}'` 5817 { echo "$as_me:$LINENO: result: $ac_res" >&5 5818 echo "${ECHO_T}$ac_res" >&6; } 5340 5819 5341 5820 fi … … 5406 5885 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5407 5886 # for constant arguments. Useless! 5408 echo "$as_me:$LINENO: checking for working alloca.h" >&55409 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 5887 { echo "$as_me:$LINENO: checking for working alloca.h" >&5 5888 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; } 5410 5889 if test "${ac_cv_working_alloca_h+set}" = set; then 5411 5890 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5422 5901 { 5423 5902 char *p = (char *) alloca (2 * sizeof (int)); 5903 if (p) return 0; 5424 5904 ; 5425 5905 return 0; … … 5427 5907 _ACEOF 5428 5908 rm -f conftest.$ac_objext conftest$ac_exeext 5429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5430 (eval $ac_link) 2>conftest.er1 5909 if { (ac_try="$ac_link" 5910 case "(($ac_try" in 5911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5912 *) ac_try_echo=$ac_try;; 5913 esac 5914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5915 (eval "$ac_link") 2>conftest.er1 5431 5916 ac_status=$? 5432 5917 grep -v '^ *+' conftest.er1 >conftest.err … … 5434 5919 cat conftest.err >&5 5435 5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5436 (exit $ac_status); } && 5437 { ac_try='test -z "$ac_c_werror_flag" 5438 || test ! -s conftest.err' 5439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5440 (eval $ac_try) 2>&5 5441 ac_status=$? 5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5443 (exit $ac_status); }; } && 5444 { ac_try='test -s conftest$ac_exeext' 5445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5446 (eval $ac_try) 2>&5 5447 ac_status=$? 5448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5449 (exit $ac_status); }; }; then 5921 (exit $ac_status); } && { 5922 test -z "$ac_c_werror_flag" || 5923 test ! -s conftest.err 5924 } && test -s conftest$ac_exeext && 5925 $as_test_x conftest$ac_exeext; then 5450 5926 ac_cv_working_alloca_h=yes 5451 5927 else … … 5453 5929 sed 's/^/| /' conftest.$ac_ext >&5 5454 5930 5455 ac_cv_working_alloca_h=no 5456 fi 5457 rm -f conftest.err conftest.$ac_objext \ 5931 ac_cv_working_alloca_h=no 5932 fi 5933 5934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5458 5935 conftest$ac_exeext conftest.$ac_ext 5459 5936 fi 5460 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&55461 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 5937 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 5938 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; } 5462 5939 if test $ac_cv_working_alloca_h = yes; then 5463 5940 … … 5468 5945 fi 5469 5946 5470 echo "$as_me:$LINENO: checking for alloca" >&55471 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 5947 { echo "$as_me:$LINENO: checking for alloca" >&5 5948 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; } 5472 5949 if test "${ac_cv_func_alloca_works+set}" = set; then 5473 5950 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5486 5963 # define alloca _alloca 5487 5964 # else 5488 # if HAVE_ALLOCA_H5965 # ifdef HAVE_ALLOCA_H 5489 5966 # include <alloca.h> 5490 5967 # else … … 5504 5981 { 5505 5982 char *p = (char *) alloca (1); 5983 if (p) return 0; 5506 5984 ; 5507 5985 return 0; … … 5509 5987 _ACEOF 5510 5988 rm -f conftest.$ac_objext conftest$ac_exeext 5511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5512 (eval $ac_link) 2>conftest.er1 5989 if { (ac_try="$ac_link" 5990 case "(($ac_try" in 5991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5992 *) ac_try_echo=$ac_try;; 5993 esac 5994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5995 (eval "$ac_link") 2>conftest.er1 5513 5996 ac_status=$? 5514 5997 grep -v '^ *+' conftest.er1 >conftest.err … … 5516 5999 cat conftest.err >&5 5517 6000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5518 (exit $ac_status); } && 5519 { ac_try='test -z "$ac_c_werror_flag" 5520 || test ! -s conftest.err' 5521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5522 (eval $ac_try) 2>&5 5523 ac_status=$? 5524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5525 (exit $ac_status); }; } && 5526 { ac_try='test -s conftest$ac_exeext' 5527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5528 (eval $ac_try) 2>&5 5529 ac_status=$? 5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5531 (exit $ac_status); }; }; then 6001 (exit $ac_status); } && { 6002 test -z "$ac_c_werror_flag" || 6003 test ! -s conftest.err 6004 } && test -s conftest$ac_exeext && 6005 $as_test_x conftest$ac_exeext; then 5532 6006 ac_cv_func_alloca_works=yes 5533 6007 else … … 5535 6009 sed 's/^/| /' conftest.$ac_ext >&5 5536 6010 5537 ac_cv_func_alloca_works=no 5538 fi 5539 rm -f conftest.err conftest.$ac_objext \ 6011 ac_cv_func_alloca_works=no 6012 fi 6013 6014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5540 6015 conftest$ac_exeext conftest.$ac_ext 5541 6016 fi 5542 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&55543 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 6017 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 6018 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; } 5544 6019 5545 6020 if test $ac_cv_func_alloca_works = yes; then … … 5555 6030 # use ar to extract alloca.o from them instead of compiling alloca.c. 5556 6031 5557 ALLOCA= alloca.$ac_objext6032 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 5558 6033 5559 6034 cat >>confdefs.h <<\_ACEOF … … 5562 6037 5563 6038 5564 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&55565 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 6039 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 6040 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; } 5566 6041 if test "${ac_cv_os_cray+set}" = set; then 5567 6042 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5573 6048 cat >>conftest.$ac_ext <<_ACEOF 5574 6049 /* end confdefs.h. */ 5575 #if defined (CRAY) && ! defined(CRAY2)6050 #if defined CRAY && ! defined CRAY2 5576 6051 webecray 5577 6052 #else … … 5589 6064 5590 6065 fi 5591 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&55592 echo "${ECHO_T}$ac_cv_os_cray" >&6 6066 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 6067 echo "${ECHO_T}$ac_cv_os_cray" >&6; } 5593 6068 if test $ac_cv_os_cray = yes; then 5594 6069 for ac_func in _getb67 GETB67 getb67; do 5595 6070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5596 echo "$as_me:$LINENO: checking for $ac_func" >&55597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5598 if eval "test \"\${$as_ac_var+set}\" = set"; then6071 { echo "$as_me:$LINENO: checking for $ac_func" >&5 6072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6073 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5599 6074 echo $ECHO_N "(cached) $ECHO_C" >&6 5600 6075 else … … 5622 6097 #undef $ac_func 5623 6098 5624 /* Override any gcc2 internal prototype to avoid an error. */ 6099 /* Override any GCC internal prototype to avoid an error. 6100 Use char because int might match the return type of a GCC 6101 builtin and then its argument prototype would still apply. */ 5625 6102 #ifdef __cplusplus 5626 6103 extern "C" 5627 {5628 6104 #endif 5629 /* We use char because int might match the return type of a gcc25630 builtin and then its argument prototype would still apply. */5631 6105 char $ac_func (); 5632 6106 /* The GNU C library defines this for functions which it implements 5633 6107 to always fail with ENOSYS. Some functions are actually named 5634 6108 something starting with __ and the normal name is an alias. */ 5635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6109 #if defined __stub_$ac_func || defined __stub___$ac_func 5636 6110 choke me 5637 #else5638 char (*f) () = $ac_func;5639 #endif5640 #ifdef __cplusplus5641 }5642 6111 #endif 5643 6112 … … 5645 6114 main () 5646 6115 { 5647 return f != $ac_func;6116 return $ac_func (); 5648 6117 ; 5649 6118 return 0; … … 5651 6120 _ACEOF 5652 6121 rm -f conftest.$ac_objext conftest$ac_exeext 5653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5654 (eval $ac_link) 2>conftest.er1 6122 if { (ac_try="$ac_link" 6123 case "(($ac_try" in 6124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6125 *) ac_try_echo=$ac_try;; 6126 esac 6127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6128 (eval "$ac_link") 2>conftest.er1 5655 6129 ac_status=$? 5656 6130 grep -v '^ *+' conftest.er1 >conftest.err … … 5658 6132 cat conftest.err >&5 5659 6133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5660 (exit $ac_status); } && 5661 { ac_try='test -z "$ac_c_werror_flag" 5662 || test ! -s conftest.err' 5663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5664 (eval $ac_try) 2>&5 5665 ac_status=$? 5666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5667 (exit $ac_status); }; } && 5668 { ac_try='test -s conftest$ac_exeext' 5669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5670 (eval $ac_try) 2>&5 5671 ac_status=$? 5672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5673 (exit $ac_status); }; }; then 6134 (exit $ac_status); } && { 6135 test -z "$ac_c_werror_flag" || 6136 test ! -s conftest.err 6137 } && test -s conftest$ac_exeext && 6138 $as_test_x conftest$ac_exeext; then 5674 6139 eval "$as_ac_var=yes" 5675 6140 else … … 5677 6142 sed 's/^/| /' conftest.$ac_ext >&5 5678 6143