Changeset 21487
- Timestamp:
- 2010-01-16T23:44:18+13:00 (14 years ago)
- Location:
- main/trunk/gs2runtime
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/gs2runtime/Makefile.in
r16608 r21487 47 47 ALLFILES = $(OBJECTS) 48 48 49 SPECIAL_COMPILEDIRS = common-src 50 COMPILEDIRS = runtime-src 49 51 50 COMPILEDIRS = common-src runtime-src 51 52 INSTALLDIRS = common-src runtime-src 52 SPECIAL_INSTALLDIRS = common-src 53 INSTALLDIRS = runtime-src 53 54 54 55 MODULEDIRS = @MODULEDIRS@ 55 56 57 ENABLE_JNI=@ENABLE_JNI@ 58 ifeq ($(ENABLE_JNI), 1) 59 COMPILE_TARGET=with-jni 60 else 61 COMPILE_TARGET=without-jni 62 endif 56 63 57 # we don't want to compile the jni stuff in indexers for gs2 58 all: 64 65 # with some compilers, just calling another target is insufficient 66 # so an extra echo stmt is added after each call to another target 67 all: $(COMPILE_TARGET) 68 @echo "Compile done" 69 70 install: install-$(COMPILE_TARGET) 71 @echo "Install done" 72 73 74 with-jni without-jni: 75 for odir in $(SPECIAL_COMPILEDIRS); do \ 76 if test -d $$odir; then \ 77 echo making $(COMPILE_TARGET) in $$odir; \ 78 (cd $$odir && $(MAKE) $(MDEFINES) $(COMPILE_TARGET)) || exit 1; \ 79 fi; \ 80 done 59 81 for odir in $(COMPILEDIRS) $(MODULEDIRS); do \ 60 echo making $@ in $$odir; \ 61 (cd $$odir && $(MAKE) $(MDEFINES) $@) || exit 1; \ 82 if test -d $$odir; then \ 83 echo making all in $$odir; \ 84 (cd $$odir && $(MAKE) $(MDEFINES) all) || exit 1; \ 85 fi; \ 62 86 done 63 87 64 install: all 88 install-with-jni install-without-jni: all 89 for idir in $(SPECIAL_INSTALLDIRS); do \ 90 if test -d $$idir; then \ 91 echo installing $$idir $(COMPILE_TARGET); \ 92 (cd $$idir && $(MAKE) install-$(COMPILE_TARGET)) || exit 1; \ 93 fi; \ 94 done 65 95 for idir in $(INSTALLDIRS); do \ 66 echo installing $$idir; \ 67 (cd $$idir && $(MAKE) install) || exit 1; \ 96 if test -d $$idir; then \ 97 echo installing $$idir; \ 98 (cd $$idir && $(MAKE) install) || exit 1; \ 99 fi; \ 68 100 done 69 101 -
main/trunk/gs2runtime/configure
r21445 r21487 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. … … 275 580 ac_includes_default="\ 276 581 #include <stdio.h> 277 #if HAVE_SYS_TYPES_H582 #ifdef HAVE_SYS_TYPES_H 278 583 # include <sys/types.h> 279 584 #endif 280 #if HAVE_SYS_STAT_H585 #ifdef HAVE_SYS_STAT_H 281 586 # include <sys/stat.h> 282 587 #endif 283 #if STDC_HEADERS588 #ifdef STDC_HEADERS 284 589 # include <stdlib.h> 285 590 # include <stddef.h> 286 591 #else 287 # if HAVE_STDLIB_H592 # ifdef HAVE_STDLIB_H 288 593 # include <stdlib.h> 289 594 # endif 290 595 #endif 291 #if HAVE_STRING_H292 # if ! STDC_HEADERS &&HAVE_MEMORY_H596 #ifdef HAVE_STRING_H 597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 293 598 # include <memory.h> 294 599 # endif 295 600 # include <string.h> 296 601 #endif 297 #if HAVE_STRINGS_H602 #ifdef HAVE_STRINGS_H 298 603 # include <strings.h> 299 604 #endif 300 #if HAVE_INTTYPES_H605 #ifdef HAVE_INTTYPES_H 301 606 # include <inttypes.h> 302 #else303 # if HAVE_STDINT_H304 # include <stdint.h>305 # endif306 607 #endif 307 #if HAVE_UNISTD_H 608 #ifdef HAVE_STDINT_H 609 # include <stdint.h> 610 #endif 611 #ifdef HAVE_UNISTD_H 308 612 # include <unistd.h> 309 613 #endif" 310 614 311 ac_subdirs_all="$ac_subdirs_all common-src runtime-src" 312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_SQLITE 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' 615 ac_subst_vars='SHELL 616 PATH_SEPARATOR 617 PACKAGE_NAME 618 PACKAGE_TARNAME 619 PACKAGE_VERSION 620 PACKAGE_STRING 621 PACKAGE_BUGREPORT 622 exec_prefix 623 prefix 624 program_transform_name 625 bindir 626 sbindir 627 libexecdir 628 datarootdir 629 datadir 630 sysconfdir 631 sharedstatedir 632 localstatedir 633 includedir 634 oldincludedir 635 docdir 636 infodir 637 htmldir 638 dvidir 639 pdfdir 640 psdir 641 libdir 642 localedir 643 mandir 644 DEFS 645 ECHO_C 646 ECHO_N 647 ECHO_T 648 LIBS 649 build_alias 650 host_alias 651 target_alias 652 PACKAGE 653 VERSION 654 USE_FASTCGI 655 USE_LANGACTION 656 USE_CORBA 657 MICO_DIR 658 USE_Z3950 659 USE_YAZ 660 ENABLE_ACCENTFOLD 661 ENABLE_JDBM 662 USE_SQLITE 663 ENABLE_JNI 664 ENABLE_MG 665 ENABLE_MGPP 666 ENABLE_LUCENE 667 LDFLAGS 668 CFLAGS 669 CC 670 CPPFLAGS 671 ac_ct_CC 672 EXEEXT 673 OBJEXT 674 CXX 675 CXXFLAGS 676 ac_ct_CXX 677 AWK 678 YACC 679 YFLAGS 680 build 681 build_cpu 682 build_vendor 683 build_os 684 host 685 host_cpu 686 host_vendor 687 host_os 688 target 689 target_cpu 690 target_vendor 691 target_os 692 INSTALL_PROGRAM 693 INSTALL_SCRIPT 694 INSTALL_DATA 695 LN_S 696 SET_MAKE 697 RANLIB 698 COMPAT32BITFLAGS 699 MICO_VER 700 CPP 701 GREP 702 EGREP 703 U 704 ANSI2KNR 705 ALLOCA 706 LIBOBJS 707 STATIC 708 gsdlos 709 MODULEDIRS 710 subdirs 711 LTLIBOBJS' 313 712 ac_subst_files='' 713 ac_precious_vars='build_alias 714 host_alias 715 target_alias 716 CC 717 CFLAGS 718 LDFLAGS 719 LIBS 720 CPPFLAGS 721 CXX 722 CXXFLAGS 723 CCC 724 YACC 725 YFLAGS 726 CPP' 727 ac_subdirs_all='common-src runtime-src' 314 728 315 729 # Initialize some variables set by options. … … 338 752 # by default will actually change. 339 753 # Use braces instead of parens because sh, perl, etc. also accept them. 754 # (The list follows the same order as the GNU Coding Standards.) 340 755 bindir='${exec_prefix}/bin' 341 756 sbindir='${exec_prefix}/sbin' 342 757 libexecdir='${exec_prefix}/libexec' 343 datadir='${prefix}/share' 758 datarootdir='${prefix}/share' 759 datadir='${datarootdir}' 344 760 sysconfdir='${prefix}/etc' 345 761 sharedstatedir='${prefix}/com' 346 762 localstatedir='${prefix}/var' 347 libdir='${exec_prefix}/lib'348 763 includedir='${prefix}/include' 349 764 oldincludedir='/usr/include' 350 infodir='${prefix}/info' 351 mandir='${prefix}/man' 765 docdir='${datarootdir}/doc/${PACKAGE}' 766 infodir='${datarootdir}/info' 767 htmldir='${docdir}' 768 dvidir='${docdir}' 769 pdfdir='${docdir}' 770 psdir='${docdir}' 771 libdir='${exec_prefix}/lib' 772 localedir='${datarootdir}/locale' 773 mandir='${datarootdir}/man' 352 774 353 775 ac_prev= 776 ac_dashdash= 354 777 for ac_option 355 778 do 356 779 # If the previous option needs an argument, assign it. 357 780 if test -n "$ac_prev"; then 358 eval "$ac_prev=\$ac_option"781 eval $ac_prev=\$ac_option 359 782 ac_prev= 360 783 continue 361 784 fi 362 785 363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 786 case $ac_option in 787 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 788 *) ac_optarg=yes ;; 789 esac 364 790 365 791 # Accept the important Cygnus configure options, so we can diagnose typos. 366 792 367 case $ac_option in 793 case $ac_dashdash$ac_option in 794 --) 795 ac_dashdash=yes ;; 368 796 369 797 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 387 815 cache_file=config.cache ;; 388 816 389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)817 -datadir | --datadir | --datadi | --datad) 390 818 ac_prev=datadir ;; 391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392 | --da=*) 819 -datadir=* | --datadir=* | --datadi=* | --datad=*) 393 820 datadir=$ac_optarg ;; 821 822 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 823 | --dataroo | --dataro | --datar) 824 ac_prev=datarootdir ;; 825 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 826 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 827 datarootdir=$ac_optarg ;; 394 828 395 829 -disable-* | --disable-*) 396 830 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 397 831 # Reject names that are not valid shell variable names. 398 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&832 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 399 833 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 400 834 { (exit 1); exit 1; }; } 401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402 eval "enable_$ac_feature=no" ;; 835 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 836 eval enable_$ac_feature=no ;; 837 838 -docdir | --docdir | --docdi | --doc | --do) 839 ac_prev=docdir ;; 840 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 841 docdir=$ac_optarg ;; 842 843 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 844 ac_prev=dvidir ;; 845 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 846 dvidir=$ac_optarg ;; 403 847 404 848 -enable-* | --enable-*) 405 849 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 406 850 # Reject names that are not valid shell variable names. 407 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&851 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 408 852 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 409 853 { (exit 1); exit 1; }; } 410 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 411 case $ac_option in 412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 413 *) ac_optarg=yes ;; 414 esac 415 eval "enable_$ac_feature='$ac_optarg'" ;; 854 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 855 eval enable_$ac_feature=\$ac_optarg ;; 416 856 417 857 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 440 880 host_alias=$ac_optarg ;; 441 881 882 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 883 ac_prev=htmldir ;; 884 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 885 | --ht=*) 886 htmldir=$ac_optarg ;; 887 442 888 -includedir | --includedir | --includedi | --included | --include \ 443 889 | --includ | --inclu | --incl | --inc) … … 464 910 libexecdir=$ac_optarg ;; 465 911 912 -localedir | --localedir | --localedi | --localed | --locale) 913 ac_prev=localedir ;; 914 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 915 localedir=$ac_optarg ;; 916 466 917 -localstatedir | --localstatedir | --localstatedi | --localstated \ 467 | --localstate | --localstat | --localsta | --localst \ 468 | --locals | --local | --loca | --loc | --lo) 918 | --localstate | --localstat | --localsta | --localst | --locals) 469 919 ac_prev=localstatedir ;; 470 920 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 921 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 473 922 localstatedir=$ac_optarg ;; 474 923 … … 535 984 program_transform_name=$ac_optarg ;; 536 985 986 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 987 ac_prev=pdfdir ;; 988 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 989 pdfdir=$ac_optarg ;; 990 991 -psdir | --psdir | --psdi | --psd | --ps) 992 ac_prev=psdir ;; 993 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 994 psdir=$ac_optarg ;; 995 537 996 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 538 997 | -silent | --silent | --silen | --sile | --sil) … … 587 1046 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 588 1047 # Reject names that are not valid shell variable names. 589 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1048 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 590 1049 { echo "$as_me: error: invalid package name: $ac_package" >&2 591 1050 { (exit 1); exit 1; }; } 592 ac_package=`echo $ac_package| sed 's/-/_/g'` 593 case $ac_option in 594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 595 *) ac_optarg=yes ;; 596 esac 597 eval "with_$ac_package='$ac_optarg'" ;; 1051 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1052 eval with_$ac_package=\$ac_optarg ;; 598 1053 599 1054 -without-* | --without-*) 600 1055 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 601 1056 # Reject names that are not valid shell variable names. 602 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1057 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 603 1058 { echo "$as_me: error: invalid package name: $ac_package" >&2 604 1059 { (exit 1); exit 1; }; } 605 ac_package=`echo $ac_package | sed 's/ -/_/g'`606 eval "with_$ac_package=no";;1060 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1061 eval with_$ac_package=no ;; 607 1062 608 1063 --x) … … 635 1090 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 636 1091 { (exit 1); exit 1; }; } 637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 638 eval "$ac_envvar='$ac_optarg'" 1092 eval $ac_envvar=\$ac_optarg 639 1093 export $ac_envvar ;; 640 1094 … … 656 1110 fi 657 1111 658 # Be sure to have absolute paths. 659 for ac_var in exec_prefix prefix 1112 # Be sure to have absolute directory names. 1113 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1114 datadir sysconfdir sharedstatedir localstatedir includedir \ 1115 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1116 libdir localedir mandir 660 1117 do 661 eval ac_val= $`echo $ac_var`1118 eval ac_val=\$$ac_var 662 1119 case $ac_val in 663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 665 { (exit 1); exit 1; }; };; 1120 [\\/$]* | ?:[\\/]* ) continue;; 1121 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 666 1122 esac 667 done 668 669 # Be sure to have absolute paths. 670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 671 localstatedir libdir includedir oldincludedir infodir mandir 672 do 673 eval ac_val=$`echo $ac_var` 674 case $ac_val in 675 [\\/$]* | ?:[\\/]* ) ;; 676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 677 { (exit 1); exit 1; }; };; 678 esac 1123 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1124 { (exit 1); exit 1; }; } 679 1125 done 680 1126 … … 703 1149 704 1150 1151 ac_pwd=`pwd` && test -n "$ac_pwd" && 1152 ac_ls_di=`ls -di .` && 1153 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1154 { echo "$as_me: error: Working directory cannot be determined" >&2 1155 { (exit 1); exit 1; }; } 1156 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1157 { echo "$as_me: error: pwd does not report name of working directory" >&2 1158 { (exit 1); exit 1; }; } 1159 1160 705 1161 # Find the source files, if location was not specified. 706 1162 if test -z "$srcdir"; then 707 1163 ac_srcdir_defaulted=yes 708 # Try the directory containing this script, then its parent.709 ac_confdir=` (dirname "$0") 2>/dev/null||1164 # Try the directory containing this script, then the parent directory. 1165 ac_confdir=`$as_dirname -- "$0" || 710 1166 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 711 1167 X"$0" : 'X\(//\)[^/]' \| \ 712 1168 X"$0" : 'X\(//\)$' \| \ 713 X"$0" : 'X\(/\)' \| \ 714 . : '\(.\)' 2>/dev/null || 1169 X"$0" : 'X\(/\)' \| . 2>/dev/null || 715 1170 echo X"$0" | 716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 717 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 718 /^X\(\/\/\)$/{ s//\1/; q; } 719 /^X\(\/\).*/{ s//\1/; q; } 720 s/.*/./; q'` 1171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1172 s//\1/ 1173 q 1174 } 1175 /^X\(\/\/\)[^/].*/{ 1176 s//\1/ 1177 q 1178 } 1179 /^X\(\/\/\)$/{ 1180 s//\1/ 1181 q 1182 } 1183 /^X\(\/\).*/{ 1184 s//\1/ 1185 q 1186 } 1187 s/.*/./; q'` 721 1188 srcdir=$ac_confdir 722 if test ! -r $srcdir/$ac_unique_file; then1189 if test ! -r "$srcdir/$ac_unique_file"; then 723 1190 srcdir=.. 724 1191 fi … … 726 1193 ac_srcdir_defaulted=no 727 1194 fi 728 if test ! -r $srcdir/$ac_unique_file; then729 if test "$ac_srcdir_defaulted" = yes; then730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21195 if test ! -r "$srcdir/$ac_unique_file"; then 1196 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1197 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 731 1198 { (exit 1); exit 1; }; } 732 else 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1199 fi 1200 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1201 ac_abs_confdir=`( 1202 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 734 1203 { (exit 1); exit 1; }; } 735 fi 736 fi 737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 739 { (exit 1); exit 1; }; } 740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 741 ac_env_build_alias_set=${build_alias+set} 742 ac_env_build_alias_value=$build_alias 743 ac_cv_env_build_alias_set=${build_alias+set} 744 ac_cv_env_build_alias_value=$build_alias 745 ac_env_host_alias_set=${host_alias+set} 746 ac_env_host_alias_value=$host_alias 747 ac_cv_env_host_alias_set=${host_alias+set} 748 ac_cv_env_host_alias_value=$host_alias 749 ac_env_target_alias_set=${target_alias+set} 750 ac_env_target_alias_value=$target_alias 751 ac_cv_env_target_alias_set=${target_alias+set} 752 ac_cv_env_target_alias_value=$target_alias 753 ac_env_CC_set=${CC+set} 754 ac_env_CC_value=$CC 755 ac_cv_env_CC_set=${CC+set} 756 ac_cv_env_CC_value=$CC 757 ac_env_CFLAGS_set=${CFLAGS+set} 758 ac_env_CFLAGS_value=$CFLAGS 759 ac_cv_env_CFLAGS_set=${CFLAGS+set} 760 ac_cv_env_CFLAGS_value=$CFLAGS 761 ac_env_LDFLAGS_set=${LDFLAGS+set} 762 ac_env_LDFLAGS_value=$LDFLAGS 763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_cv_env_LDFLAGS_value=$LDFLAGS 765 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 766 ac_env_CPPFLAGS_value=$CPPFLAGS 767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 769 ac_env_CXX_set=${CXX+set} 770 ac_env_CXX_value=$CXX 771 ac_cv_env_CXX_set=${CXX+set} 772 ac_cv_env_CXX_value=$CXX 773 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 774 ac_env_CXXFLAGS_value=$CXXFLAGS 775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 777 ac_env_CPP_set=${CPP+set} 778 ac_env_CPP_value=$CPP 779 ac_cv_env_CPP_set=${CPP+set} 780 ac_cv_env_CPP_value=$CPP 1204 pwd)` 1205 # When building in place, set srcdir=. 1206 if test "$ac_abs_confdir" = "$ac_pwd"; then 1207 srcdir=. 1208 fi 1209 # Remove unnecessary trailing slashes from srcdir. 1210 # Double slashes in file names in object file debugging info 1211 # mess up M-x gdb in Emacs. 1212 case $srcdir in 1213 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1214 esac 1215 for ac_var in $ac_precious_vars; do 1216 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1217 eval ac_env_${ac_var}_value=\$${ac_var} 1218 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1219 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1220 done 781 1221 782 1222 # … … 807 1247 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 808 1248 809 _ACEOF810 811 cat <<_ACEOF812 1249 Installation directories: 813 1250 --prefix=PREFIX install architecture-independent files in PREFIX … … 827 1264 --sbindir=DIR system admin executables [EPREFIX/sbin] 828 1265 --libexecdir=DIR program executables [EPREFIX/libexec] 829 --datadir=DIR read-only architecture-independent data [PREFIX/share]830 1266 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 831 1267 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 834 1270 --includedir=DIR C header files [PREFIX/include] 835 1271 --oldincludedir=DIR C header files for non-gcc [/usr/include] 836 --infodir=DIR info documentation [PREFIX/info] 837 --mandir=DIR man documentation [PREFIX/man] 1272 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1273 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1274 --infodir=DIR info documentation [DATAROOTDIR/info] 1275 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1276 --mandir=DIR man documentation [DATAROOTDIR/man] 1277 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1278 --htmldir=DIR html documentation [DOCDIR] 1279 --dvidir=DIR dvi documentation [DOCDIR] 1280 --pdfdir=DIR pdf documentation [DOCDIR] 1281 --psdir=DIR ps documentation [DOCDIR] 838 1282 _ACEOF 839 1283 … … 858 1302 --disable-yaz Disable YAZ compilation 859 1303 --disable-accentfold Disable Accent Folding for MGPP 1304 --disable-accentfold Disable Accent Folding for\ 1305 MGPP 1306 --disable-jdbm Disable JDBM compilation 860 1307 --disable-sqlite Disable SQLite support 1308 --enable-jni Enable JNI compilation 1309 --disable-mg Disable MG compilation 1310 --disable-mgpp Disable MGPP compilation 1311 --disable-lucene Disable Lucene compilation 861 1312 862 1313 Optional Packages: … … 873 1324 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 874 1325 nonstandard directory <lib dir> 875 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 876 headers in a nonstandard directory <include dir> 1326 LIBS libraries to pass to the linker, e.g. -l<library> 1327 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1328 you have headers in a nonstandard directory <include dir> 877 1329 CXX C++ compiler command 878 1330 CXXFLAGS C++ compiler flags 1331 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1332 the first program found out of: `bison -y', `byacc', `yacc'. 1333 YFLAGS The list of arguments that will be passed by default to $YACC. 1334 This script will default YFLAGS to the empty string to avoid a 1335 default value of `-d' given by some make applications. 879 1336 CPP C preprocessor 880 1337 … … 883 1340 884 1341 _ACEOF 1342 ac_status=$? 885 1343 fi 886 1344 887 1345 if test "$ac_init_help" = "recursive"; then 888 1346 # If there are subdirs, report their specific --help. 889 ac_popdir=`pwd`890 1347 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 891 test -d $ac_dir|| continue1348 test -d "$ac_dir" || continue 892 1349 ac_builddir=. 893 1350 894 if test "$ac_dir" != .; then 1351 case "$ac_dir" in 1352 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1353 *) 895 1354 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 896 # A "../" for each directory in $ac_dir_suffix. 897 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 898 else 899 ac_dir_suffix= ac_top_builddir= 900 fi 1355 # A ".." for each directory in $ac_dir_suffix. 1356 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1357 case $ac_top_builddir_sub in 1358 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1359 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1360 esac ;; 1361 esac 1362 ac_abs_top_builddir=$ac_pwd 1363 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1364 # for backward compatibility: 1365 ac_top_builddir=$ac_top_build_prefix 901 1366 902 1367 case $srcdir in 903 .) # No --srcdir option.We are building in place.1368 .) # We are building in place. 904 1369 ac_srcdir=. 905 if test -z "$ac_top_builddir"; then 906 ac_top_srcdir=. 907 else 908 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 909 fi ;; 910 [\\/]* | ?:[\\/]* ) # Absolute path. 1370 ac_top_srcdir=$ac_top_builddir_sub 1371 ac_abs_top_srcdir=$ac_pwd ;; 1372 [\\/]* | ?:[\\/]* ) # Absolute name. 911 1373 ac_srcdir=$srcdir$ac_dir_suffix; 912 ac_top_srcdir=$srcdir ;; 913 *) # Relative path. 914 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 915 ac_top_srcdir=$ac_top_builddir$srcdir ;; 916 esac 917 918 # Do not use `cd foo && pwd` to compute absolute paths, because 919 # the directories may not exist. 920 case `pwd` in 921 .) ac_abs_builddir="$ac_dir";; 922 *) 923 case "$ac_dir" in 924 .) ac_abs_builddir=`pwd`;; 925 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 926 *) ac_abs_builddir=`pwd`/"$ac_dir";; 927 esac;; 928 esac 929 case $ac_abs_builddir in 930 .) ac_abs_top_builddir=${ac_top_builddir}.;; 931 *) 932 case ${ac_top_builddir}. in 933 .) ac_abs_top_builddir=$ac_abs_builddir;; 934 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 935 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 936 esac;; 937 esac 938 case $ac_abs_builddir in 939 .) ac_abs_srcdir=$ac_srcdir;; 940 *) 941 case $ac_srcdir in 942 .) ac_abs_srcdir=$ac_abs_builddir;; 943 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 944 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 945 esac;; 946 esac 947 case $ac_abs_builddir in 948 .) ac_abs_top_srcdir=$ac_top_srcdir;; 949 *) 950 case $ac_top_srcdir in 951 .) ac_abs_top_srcdir=$ac_abs_builddir;; 952 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 953 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 954 esac;; 955 esac 956 957 cd $ac_dir 958 # Check for guested configure; otherwise get Cygnus style configure. 959 if test -f $ac_srcdir/configure.gnu; then 960 echo 961 $SHELL $ac_srcdir/configure.gnu --help=recursive 962 elif test -f $ac_srcdir/configure; then 963 echo 964 $SHELL $ac_srcdir/configure --help=recursive 965 elif test -f $ac_srcdir/configure.ac || 966 test -f $ac_srcdir/configure.in; then 967 echo 968 $ac_configure --help 1374 ac_top_srcdir=$srcdir 1375 ac_abs_top_srcdir=$srcdir ;; 1376 *) # Relative name. 1377 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1378 ac_top_srcdir=$ac_top_build_prefix$srcdir 1379 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1380 esac 1381 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1382 1383 cd "$ac_dir" || { ac_status=$?; continue; } 1384 # Check for guested configure. 1385 if test -f "$ac_srcdir/configure.gnu"; then 1386 echo && 1387 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1388 elif test -f "$ac_srcdir/configure"; then 1389 echo && 1390 $SHELL "$ac_srcdir/configure" --help=recursive 969 1391 else 970 1392 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 971 fi 972 cd $ac_popdir1393 fi || ac_status=$? 1394 cd "$ac_pwd" || { ac_status=$?; break; } 973 1395 done 974 1396 fi 975 1397 976 test -n "$ac_init_help" && exit 01398 test -n "$ac_init_help" && exit $ac_status 977 1399 if $ac_init_version; then 978 1400 cat <<\_ACEOF 979 980 Copyright (C) 2003 Free Software Foundation, Inc. 1401 configure 1402 generated by GNU Autoconf 2.61 1403 1404 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1405 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 981 1406 This configure script is free software; the Free Software Foundation 982 1407 gives unlimited permission to copy, distribute and modify it. 983 1408 _ACEOF 984 exit 0 985 fi 986 exec 5>config.log 987 cat >&5 <<_ACEOF 1409 exit 1410 fi 1411 cat >config.log <<_ACEOF 988 1412 This file contains any messages produced by compilers while 989 1413 running configure, to aid debugging if configure makes a mistake. 990 1414 991 1415 It was created by $as_me, which was 992 generated by GNU Autoconf 2. 59. Invocation command line was1416 generated by GNU Autoconf 2.61. Invocation command line was 993 1417 994 1418 $ $0 $@ 995 1419 996 1420 _ACEOF 1421 exec 5>>config.log 997 1422 { 998 1423 cat <<_ASUNAME … … 1013 1438 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1014 1439 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1015 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1440 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1016 1441 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1017 1442 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1027 1452 echo "PATH: $as_dir" 1028 1453 done 1454 IFS=$as_save_IFS 1029 1455 1030 1456 } >&5 … … 1048 1474 ac_configure_args0= 1049 1475 ac_configure_args1= 1050 ac_sep=1051 1476 ac_must_keep_next=false 1052 1477 for ac_pass in 1 2 … … 1059 1484 | -silent | --silent | --silen | --sile | --sil) 1060 1485 continue ;; 1061 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1486 *\'*) 1062 1487 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1063 1488 esac … … 1081 1506 esac 1082 1507 fi 1083 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1084 # Get rid of the leading space. 1085 ac_sep=" " 1508 ac_configure_args="$ac_configure_args '$ac_arg'" 1086 1509 ;; 1087 1510 esac … … 1094 1517 # config.log. We remove comments because anyway the quotes in there 1095 1518 # would cause problems or look ugly. 1096 # WARNING: Be sure not to use single quotes in there, as some shells,1097 # such as our DU 5.0 friend, will then `close' the trap.1519 # WARNING: Use '\'' to represent an apostrophe within the trap. 1520 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1098 1521 trap 'exit_status=$? 1099 1522 # Save into config.log some information that might help in debugging. … … 1108 1531 echo 1109 1532 # The following way of writing the cache mishandles newlines in values, 1110 { 1533 ( 1534 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1535 eval ac_val=\$$ac_var 1536 case $ac_val in #( 1537 *${as_nl}*) 1538 case $ac_var in #( 1539 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1540 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1541 esac 1542 case $ac_var in #( 1543 _ | IFS | as_nl) ;; #( 1544 *) $as_unset $ac_var ;; 1545 esac ;; 1546 esac 1547 done 1111 1548 (set) 2>&1 | 1112 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1113 * ac_space=\ *)1549 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1550 *${as_nl}ac_space=\ *) 1114 1551 sed -n \ 1115 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1116 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1552 "s/'\''/'\''\\\\'\'''\''/g; 1553 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1554 ;; #( 1555 *) 1556 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1117 1557 ;; 1118 *) 1119 sed -n \ 1120 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1121 ;; 1122 esac; 1123 } 1558 esac | 1559 sort 1560 ) 1124 1561 echo 1125 1562 … … 1132 1569 for ac_var in $ac_subst_vars 1133 1570 do 1134 eval ac_val=$`echo $ac_var` 1135 echo "$ac_var='"'"'$ac_val'"'"'" 1571 eval ac_val=\$$ac_var 1572 case $ac_val in 1573 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1574 esac 1575 echo "$ac_var='\''$ac_val'\''" 1136 1576 done | sort 1137 1577 echo … … 1139 1579 if test -n "$ac_subst_files"; then 1140 1580 cat <<\_ASBOX 1141 ## ------------- ##1142 ## Output files. ##1143 ## ------------- ##1581 ## ------------------- ## 1582 ## File substitutions. ## 1583 ## ------------------- ## 1144 1584 _ASBOX 1145 1585 echo 1146 1586 for ac_var in $ac_subst_files 1147 1587 do 1148 eval ac_val=$`echo $ac_var` 1149 echo "$ac_var='"'"'$ac_val'"'"'" 1588 eval ac_val=\$$ac_var 1589 case $ac_val in 1590 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1591 esac 1592 echo "$ac_var='\''$ac_val'\''" 1150 1593 done | sort 1151 1594 echo … … 1159 1602 _ASBOX 1160 1603 echo 1161 sed "/^$/d" confdefs.h | sort1604 cat confdefs.h 1162 1605 echo 1163 1606 fi … … 1166 1609 echo "$as_me: exit $exit_status" 1167 1610 } >&5 1168 rm -f core *.core &&1169 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1611 rm -f core *.core core.conftest.* && 1612 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1170 1613 exit $exit_status 1171 1614 ' 0 1172 1615 for ac_signal in 1 2 13 15; do 1173 1616 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1176 1619 1177 1620 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1178 rm -rf conftest* confdefs.h 1179 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1180 echo >confdefs.h 1621 rm -f -r conftest* confdefs.h 1181 1622 1182 1623 # Predefined preprocessor variables. … … 1209 1650 # Let the site file select an alternate cache file if it wants to. 1210 1651 # Prefer explicitly selected file to automatically selected ones. 1211 if test -z "$CONFIG_SITE"; then 1212 if test "x$prefix" != xNONE; then 1213 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1214 else 1215 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1216 fi 1217 fi 1218 for ac_site_file in $CONFIG_SITE; do 1652 if test -n "$CONFIG_SITE"; then 1653 set x "$CONFIG_SITE" 1654 elif test "x$prefix" != xNONE; then 1655 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1656 else 1657 set x "$ac_default_prefix/share/config.site" \ 1658 "$ac_default_prefix/etc/config.site" 1659 fi 1660 shift 1661 for ac_site_file 1662 do 1219 1663 if test -r "$ac_site_file"; then 1220 1664 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1232 1676 echo "$as_me: loading cache $cache_file" >&6;} 1233 1677 case $cache_file in 1234 [\\/]* | ?:[\\/]* ) . $cache_file;;1235 *) . ./$cache_file;;1678 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1679 *) . "./$cache_file";; 1236 1680 esac 1237 1681 fi … … 1245 1689 # value. 1246 1690 ac_cache_corrupted=false 1247 for ac_var in `(set) 2>&1 | 1248 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1691 for ac_var in $ac_precious_vars; do 1249 1692 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1250 1693 eval ac_new_set=\$ac_env_${ac_var}_set 1251 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1252 eval ac_new_val= "\$ac_env_${ac_var}_value"1694 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1695 eval ac_new_val=\$ac_env_${ac_var}_value 1253 1696 case $ac_old_set,$ac_new_set in 1254 1697 set,) … … 1275 1718 if test "$ac_new_set" = set; then 1276 1719 case $ac_new_val in 1277 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1278 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1720 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1279 1721 *) ac_arg=$ac_var=$ac_new_val ;; 1280 1722 esac … … 1293 1735 fi 1294 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1295 1753 ac_ext=c 1296 1754 ac_cpp='$CPP $CPPFLAGS' … … 1300 1758 1301 1759 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 ac_config_headers="$ac_config_headers config.h" 1760 ac_config_headers="$ac_config_headers config.h" 1320 1761 1321 1762 … … 1350 1791 fi 1351 1792 1352 # Check whether --enable-corba or --disable-corbawas given.1793 # Check whether --enable-corba was given. 1353 1794 if test "${enable_corba+set}" = set; then 1354 enableval="$enable_corba" 1355 USE_CORBA=1 1795 enableval=$enable_corba; USE_CORBA=1 1356 1796 else 1357 1797 USE_CORBA=0 1358 fi; 1798 fi 1799 1359 1800 cat >>confdefs.h <<_ACEOF 1360 1801 #define USE_CORBA $USE_CORBA … … 1364 1805 1365 1806 1366 # Check whether --with-micodir or --without-micodirwas given.1807 # Check whether --with-micodir was given. 1367 1808 if test "${with_micodir+set}" = set; then 1368 withval="$with_micodir" 1369 MICO_DIR=$enableval 1809 withval=$with_micodir; MICO_DIR=$enableval 1370 1810 else 1371 1811 MICO_DIR="default" 1372 fi; 1812 fi 1813 1373 1814 cat >>confdefs.h <<_ACEOF 1374 1815 #define MICO_DIR "$MICO_DIR" … … 1377 1818 1378 1819 1379 # Check whether --enable-z3950 or --disable-z3950was given.1820 # Check whether --enable-z3950 was given. 1380 1821 if test "${enable_z3950+set}" = set; then 1381 enableval="$enable_z3950" 1382 USE_Z3950=1 1822 enableval=$enable_z3950; USE_Z3950=1 1383 1823 else 1384 1824 USE_Z3950=0 1385 fi; 1825 fi 1826 1386 1827 if test USE_Z3950 = 1; then 1387 1828 cat >>confdefs.h <<\_ACEOF … … 1392 1833 fi 1393 1834 1394 # Check whether --enable-yaz or --disable-yazwas given.1835 # Check whether --enable-yaz was given. 1395 1836 if test "${enable_yaz+set}" = set; then 1396 enableval="$enable_yaz" 1397 USE_YAZ=0 1837 enableval=$enable_yaz; USE_YAZ=0 1398 1838 else 1399 1839 USE_YAZ=1 1400 fi; 1840 fi 1841 1401 1842 cat >>confdefs.h <<\_ACEOF 1402 1843 #define USE_YAZ $USE_YAZ … … 1405 1846 1406 1847 1407 # Check whether --enable-accentfold or --disable-accentfold was given. 1848 1849 # Check whether --enable-accentfold was given. 1408 1850 if test "${enable_accentfold+set}" = set; then 1409 enableval="$enable_accentfold" 1410 ENABLE_ACCENTFOLD=0 1851 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0 1411 1852 else 1412 1853 ENABLE_ACCENTFOLD=1 1413 fi; 1854 fi 1855 1414 1856 cat >>confdefs.h <<\_ACEOF 1415 1857 #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD … … 1418 1860 1419 1861 1420 # Check whether --enable-sqlite or --disable-sqlite was given. 1862 1863 # Check whether --enable-accentfold was given. 1864 if test "${enable_accentfold+set}" = set; then 1865 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0 1866 else 1867 ENABLE_ACCENTFOLD=1 1868 fi 1869 1870 cat >>confdefs.h <<\_ACEOF 1871 #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD 1872 _ACEOF 1873 1874 1875 1876 # Check whether --enable-jdbm was given. 1877 if test "${enable_jdbm+set}" = set; then 1878 enableval=$enable_jdbm; ENABLE_JDBM=$enableval 1879 else 1880 ENABLE_JDBM=yes 1881 fi 1882 1883 if test $ENABLE_JDBM = "yes" -o $ENABLE_JDBM = "1" ; then 1884 ENABLE_JDBM=1 1885 cat >>confdefs.h <<\_ACEOF 1886 #define ENABLE_JDBM 1887 _ACEOF 1888 1889 else 1890 ENABLE_JDBM=0 1891 fi 1892 1893 1894 1895 # Check whether --enable-sqlite was given. 1421 1896 if test "${enable_sqlite+set}" = set; then 1422 enableval="$enable_sqlite" 1423 USE_SQLITE=0 1897 enableval=$enable_sqlite; USE_SQLITE=0 1424 1898 else 1425 1899 USE_SQLITE=1 1426 fi; 1900 fi 1901 1427 1902 cat >>confdefs.h <<\_ACEOF 1428 1903 #define USE_SQLITE $USE_SQLITE 1429 1904 _ACEOF 1905 1906 1907 1908 # Check whether --enable-jni was given. 1909 if test "${enable_jni+set}" = set; then 1910 enableval=$enable_jni; ENABLE_JNI=$enableval 1911 else 1912 ENABLE_JNI=no 1913 fi 1914 1915 if test $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" ; then 1916 ENABLE_JNI=1 1917 cat >>confdefs.h <<\_ACEOF 1918 #define ENABLE_JNI 1919 _ACEOF 1920 1921 else 1922 ENABLE_JNI=0 1923 fi 1924 1925 1926 # Check whether --enable-mg was given. 1927 if test "${enable_mg+set}" = set; then 1928 enableval=$enable_mg; ENABLE_MG=$enableval 1929 else 1930 ENABLE_MG=yes 1931 fi 1932 1933 if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then 1934 ENABLE_MG=1 1935 cat >>confdefs.h <<\_ACEOF 1936 #define ENABLE_MG 1937 _ACEOF 1938 1939 else 1940 ENABLE_MG=0 1941 fi 1942 1943 1944 # Check whether --enable-mgpp was given. 1945 if test "${enable_mgpp+set}" = set; then 1946 enableval=$enable_mgpp; ENABLE_MGPP=$enableval 1947 else 1948 ENABLE_MGPP=yes 1949 fi 1950 1951 if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then 1952 ENABLE_MGPP=1 1953 cat >>confdefs.h <<\_ACEOF 1954 #define ENABLE_MGPP 1955 _ACEOF 1956 1957 else 1958 ENABLE_MGPP=0 1959 fi 1960 1961 1962 # Check whether --enable-lucene was given. 1963 if test "${enable_lucene+set}" = set; then 1964 enableval=$enable_lucene; ENABLE_LUCENE=$enableval 1965 else 1966 ENABLE_LUCENE=yes 1967 fi 1968 1969 if test $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" ; then 1970 ENABLE_LUCENE=1 1971 cat >>confdefs.h <<\_ACEOF 1972 #define ENABLE_LUCENE 1973 _ACEOF 1974 1975 else 1976 ENABLE_LUCENE=0 1977 fi 1978 1430 1979 1431 1980 … … 1447 1996 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1448 1997 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1449 echo "$as_me:$LINENO: checking for $ac_word" >&51450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1998 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1451 2000 if test "${ac_cv_prog_CC+set}" = set; then 1452 2001 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1461 2010 test -z "$as_dir" && as_dir=. 1462 2011 for ac_exec_ext in '' $ac_executable_extensions; do 1463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1464 2013 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1465 2014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1468 2017 done 1469 2018 done 2019 IFS=$as_save_IFS 1470 2020 1471 2021 fi … … 1473 2023 CC=$ac_cv_prog_CC 1474 2024 if test -n "$CC"; then 1475 echo "$as_me:$LINENO: result: $CC" >&5 1476 echo "${ECHO_T}$CC" >&6 1477 else 1478 echo "$as_me:$LINENO: result: no" >&5 1479 echo "${ECHO_T}no" >&6 1480 fi 2025 { echo "$as_me:$LINENO: result: $CC" >&5 2026 echo "${ECHO_T}$CC" >&6; } 2027 else 2028 { echo "$as_me:$LINENO: result: no" >&5 2029 echo "${ECHO_T}no" >&6; } 2030 fi 2031 1481 2032 1482 2033 fi … … 1485 2036 # Extract the first word of "gcc", so it can be a program name with args. 1486 2037 set dummy gcc; ac_word=$2 1487 echo "$as_me:$LINENO: checking for $ac_word" >&51488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2038 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1489 2040 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1490 2041 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1499 2050 test -z "$as_dir" && as_dir=. 1500 2051 for ac_exec_ext in '' $ac_executable_extensions; do 1501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1502 2053 ac_cv_prog_ac_ct_CC="gcc" 1503 2054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1506 2057 done 1507 2058 done 2059 IFS=$as_save_IFS 1508 2060 1509 2061 fi … … 1511 2063 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1512 2064 if test -n "$ac_ct_CC"; then 1513 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1514 echo "${ECHO_T}$ac_ct_CC" >&6 1515 else 1516 echo "$as_me:$LINENO: result: no" >&5 1517 echo "${ECHO_T}no" >&6 1518 fi 1519 1520 CC=$ac_ct_CC 2065 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2066 echo "${ECHO_T}$ac_ct_CC" >&6; } 2067 else 2068 { echo "$as_me:$LINENO: result: no" >&5 2069 echo "${ECHO_T}no" >&6; } 2070 fi 2071 2072 if test "x$ac_ct_CC" = x; then 2073 CC="" 2074 else 2075 case $cross_compiling:$ac_tool_warned in 2076 yes:) 2077 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2078 whose name does not start with the host triplet. If you think this 2079 configuration is useful to you, please write to [email protected]." >&5 2080 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2081 whose name does not start with the host triplet. If you think this 2082 configuration is useful to you, please write to [email protected]." >&2;} 2083 ac_tool_warned=yes ;; 2084 esac 2085 CC=$ac_ct_CC 2086 fi 1521 2087 else 1522 2088 CC="$ac_cv_prog_CC" … … 1524 2090 1525 2091 if test -z "$CC"; then 1526 if test -n "$ac_tool_prefix"; then1527 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.2092 if test -n "$ac_tool_prefix"; then 2093 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1528 2094 set dummy ${ac_tool_prefix}cc; ac_word=$2 1529 echo "$as_me:$LINENO: checking for $ac_word" >&51530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2095 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1531 2097 if test "${ac_cv_prog_CC+set}" = set; then 1532 2098 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1541 2107 test -z "$as_dir" && as_dir=. 1542 2108 for ac_exec_ext in '' $ac_executable_extensions; do 1543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1544 2110 ac_cv_prog_CC="${ac_tool_prefix}cc" 1545 2111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1548 2114 done 1549 2115 done 2116 IFS=$as_save_IFS 1550 2117 1551 2118 fi … … 1553 2120 CC=$ac_cv_prog_CC 1554 2121 if test -n "$CC"; then 1555 echo "$as_me:$LINENO: result: $CC" >&5 1556 echo "${ECHO_T}$CC" >&6 1557 else 1558 echo "$as_me:$LINENO: result: no" >&5 1559 echo "${ECHO_T}no" >&6 1560 fi 1561 1562 fi 1563 if test -z "$ac_cv_prog_CC"; then 1564 ac_ct_CC=$CC 1565 # Extract the first word of "cc", so it can be a program name with args. 1566 set dummy cc; ac_word=$2 1567 echo "$as_me:$LINENO: checking for $ac_word" >&5 1568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1569 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1570 echo $ECHO_N "(cached) $ECHO_C" >&6 1571 else 1572 if test -n "$ac_ct_CC"; then 1573 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1574 else 1575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1576 for as_dir in $PATH 1577 do 1578 IFS=$as_save_IFS 1579 test -z "$as_dir" && as_dir=. 1580 for ac_exec_ext in '' $ac_executable_extensions; do 1581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1582 ac_cv_prog_ac_ct_CC="cc" 1583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1584 break 2 2122 { echo "$as_me:$LINENO: result: $CC" >&5 2123 echo "${ECHO_T}$CC" >&6; } 2124 else 2125 { echo "$as_me:$LINENO: result: no" >&5 2126 echo "${ECHO_T}no" >&6; } 2127 fi 2128 2129 1585 2130 fi 1586 done1587 done1588 1589 fi1590 fi1591 ac_ct_CC=$ac_cv_prog_ac_ct_CC1592 if test -n "$ac_ct_CC"; then1593 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51594 echo "${ECHO_T}$ac_ct_CC" >&61595 else1596 echo "$as_me:$LINENO: result: no" >&51597 echo "${ECHO_T}no" >&61598 fi1599 1600 CC=$ac_ct_CC1601 else1602 CC="$ac_cv_prog_CC"1603 fi1604 1605 2131 fi 1606 2132 if test -z "$CC"; then 1607 2133 # Extract the first word of "cc", so it can be a program name with args. 1608 2134 set dummy cc; ac_word=$2 1609 echo "$as_me:$LINENO: checking for $ac_word" >&51610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2135 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1611 2137 if test "${ac_cv_prog_CC+set}" = set; then 1612 2138 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1622 2148 test -z "$as_dir" && as_dir=. 1623 2149 for ac_exec_ext in '' $ac_executable_extensions; do 1624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1625 2151 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1626 2152 ac_prog_rejected=yes … … 1633 2159 done 1634 2160 done 2161 IFS=$as_save_IFS 1635 2162 1636 2163 if test $ac_prog_rejected = yes; then … … 1650 2177 CC=$ac_cv_prog_CC 1651 2178 if test -n "$CC"; then 1652 echo "$as_me:$LINENO: result: $CC" >&5 1653 echo "${ECHO_T}$CC" >&6 1654 else 1655 echo "$as_me:$LINENO: result: no" >&5 1656 echo "${ECHO_T}no" >&6 1657 fi 2179 { echo "$as_me:$LINENO: result: $CC" >&5 2180 echo "${ECHO_T}$CC" >&6; } 2181 else 2182 { echo "$as_me:$LINENO: result: no" >&5 2183 echo "${ECHO_T}no" >&6; } 2184 fi 2185 1658 2186 1659 2187 fi 1660 2188 if test -z "$CC"; then 1661 2189 if test -n "$ac_tool_prefix"; then 1662 for ac_prog in cl 2190 for ac_prog in cl.exe 1663 2191 do 1664 2192 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1665 2193 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1666 echo "$as_me:$LINENO: checking for $ac_word" >&51667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2194 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1668 2196 if test "${ac_cv_prog_CC+set}" = set; then 1669 2197 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1678 2206 test -z "$as_dir" && as_dir=. 1679 2207 for ac_exec_ext in '' $ac_executable_extensions; do 1680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1681 2209 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1682 2210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1685 2213 done 1686 2214 done 2215 IFS=$as_save_IFS 1687 2216 1688 2217 fi … … 1690 2219 CC=$ac_cv_prog_CC 1691 2220 if test -n "$CC"; then 1692 echo "$as_me:$LINENO: result: $CC" >&5 1693 echo "${ECHO_T}$CC" >&6 1694 else 1695 echo "$as_me:$LINENO: result: no" >&5 1696 echo "${ECHO_T}no" >&6 1697 fi 2221 { echo "$as_me:$LINENO: result: $CC" >&5 2222 echo "${ECHO_T}$CC" >&6; } 2223 else 2224 { echo "$as_me:$LINENO: result: no" >&5 2225 echo "${ECHO_T}no" >&6; } 2226 fi 2227 1698 2228 1699 2229 test -n "$CC" && break … … 1702 2232 if test -z "$CC"; then 1703 2233 ac_ct_CC=$CC 1704 for ac_prog in cl 2234 for ac_prog in cl.exe 1705 2235 do 1706 2236 # Extract the first word of "$ac_prog", so it can be a program name with args. 1707 2237 set dummy $ac_prog; ac_word=$2 1708 echo "$as_me:$LINENO: checking for $ac_word" >&51709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2238 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1710 2240 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1711 2241 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1720 2250 test -z "$as_dir" && as_dir=. 1721 2251 for ac_exec_ext in '' $ac_executable_extensions; do 1722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1723 2253 ac_cv_prog_ac_ct_CC="$ac_prog" 1724 2254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1727 2257 done 1728 2258 done 2259 IFS=$as_save_IFS 1729 2260 1730 2261 fi … … 1732 2263 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1733 2264 if test -n "$ac_ct_CC"; then 1734 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1735 echo "${ECHO_T}$ac_ct_CC" >&6 1736 else 1737 echo "$as_me:$LINENO: result: no" >&5 1738 echo "${ECHO_T}no" >&6 1739 fi 2265 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2266 echo "${ECHO_T}$ac_ct_CC" >&6; } 2267 else 2268 { echo "$as_me:$LINENO: result: no" >&5 2269 echo "${ECHO_T}no" >&6; } 2270 fi 2271 1740 2272 1741 2273 test -n "$ac_ct_CC" && break 1742 2274 done 1743 2275 1744 CC=$ac_ct_CC 2276 if test "x$ac_ct_CC" = x; then 2277 CC="" 2278 else 2279 case $cross_compiling:$ac_tool_warned in 2280 yes:) 2281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2282 whose name does not start with the host triplet. If you think this 2283 configuration is useful to you, please write to [email protected]." >&5 2284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2285 whose name does not start with the host triplet. If you think this 2286 configuration is useful to you, please write to [email protected]." >&2;} 2287 ac_tool_warned=yes ;; 2288 esac 2289 CC=$ac_ct_CC 2290 fi 1745 2291 fi 1746 2292 … … 1755 2301 1756 2302 # Provide some information about the compiler. 1757 echo "$as_me:$LINENO:" \ 1758 "checking for C compiler version" >&5 2303 echo "$as_me:$LINENO: checking for C compiler version" >&5 1759 2304 ac_compiler=`set X $ac_compile; echo $2` 1760 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1761 (eval $ac_compiler --version </dev/null >&5) 2>&5 2305 { (ac_try="$ac_compiler --version >&5" 2306 case "(($ac_try" in 2307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2308 *) ac_try_echo=$ac_try;; 2309 esac 2310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2311 (eval "$ac_compiler --version >&5") 2>&5 1762 2312 ac_status=$? 1763 2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1764 2314 (exit $ac_status); } 1765 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1766 (eval $ac_compiler -v </dev/null >&5) 2>&5 2315 { (ac_try="$ac_compiler -v >&5" 2316 case "(($ac_try" in 2317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2318 *) ac_try_echo=$ac_try;; 2319 esac 2320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2321 (eval "$ac_compiler -v >&5") 2>&5 1767 2322 ac_status=$? 1768 2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1769 2324 (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 2325 { (ac_try="$ac_compiler -V >&5" 2326 case "(($ac_try" in 2327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2328 *) ac_try_echo=$ac_try;; 2329 esac 2330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2331 (eval "$ac_compiler -V >&5") 2>&5 1772 2332 ac_status=$? 1773 2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1794 2354 # It will help us diagnose broken compilers, and finding out an intuition 1795 2355 # of exeext. 1796 echo "$as_me:$LINENO: checking for C compiler default output file name" >&51797 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2356 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2357 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 1798 2358 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1799 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1800 (eval $ac_link_default) 2>&5 2359 # 2360 # List of possible output files, starting from the most likely. 2361 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2362 # only as a last resort. b.out is created by i960 compilers. 2363 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2364 # 2365 # The IRIX 6 linker writes into existing files which may not be 2366 # executable, retaining their permissions. Remove them first so a 2367 # subsequent execution test works. 2368 ac_rmfiles= 2369 for ac_file in $ac_files 2370 do 2371 case $ac_file in 2372 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2373 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2374 esac 2375 done 2376 rm -f $ac_rmfiles 2377 2378 if { (ac_try="$ac_link_default" 2379 case "(($ac_try" in 2380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2381 *) ac_try_echo=$ac_try;; 2382 esac 2383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2384 (eval "$ac_link_default") 2>&5 1801 2385 ac_status=$? 1802 2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1803 2387 (exit $ac_status); }; then 1804 # Find the output, starting from the most likely. This scheme is 1805 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1806 # resort. 1807 1808 # Be careful to initialize this variable, since it used to be cached. 1809 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1810 ac_cv_exeext= 1811 # b.out is created by i960 compilers. 1812 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2388 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2389 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2390 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2391 # so that the user can short-circuit this test for compilers unknown to 2392 # Autoconf. 2393 for ac_file in $ac_files '' 1813 2394 do 1814 2395 test -f "$ac_file" || continue 1815 2396 case $ac_file in 1816 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1817 ;; 1818 conftest.$ac_ext ) 1819 # This is the source file. 2397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 1820 2398 ;; 1821 2399 [ab].out ) … … 1824 2402 break;; 1825 2403 *.* ) 1826 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1827 # FIXME: I believe we export ac_cv_exeext for Libtool, 1828 # but it would be cool to find out if it's true. Does anybody 1829 # maintain Libtool? --akim. 1830 export ac_cv_exeext 2404 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2405 then :; else 2406 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2407 fi 2408 # We set ac_cv_exeext here because the later test for it is not 2409 # safe: cross compilers may not add the suffix if given an `-o' 2410 # argument, so we may need to know it at that point already. 2411 # Even if this section looks crufty: it has the advantage of 2412 # actually working. 1831 2413 break;; 1832 2414 * ) … … 1834 2416 esac 1835 2417 done 1836 else 2418 test "$ac_cv_exeext" = no && ac_cv_exeext= 2419 2420 else 2421 ac_file='' 2422 fi 2423 2424 { echo "$as_me:$LINENO: result: $ac_file" >&5 2425 echo "${ECHO_T}$ac_file" >&6; } 2426 if test -z "$ac_file"; then 1837 2427 echo "$as_me: failed program was:" >&5 1838 2428 sed 's/^/| /' conftest.$ac_ext >&5 … … 1846 2436 1847 2437 ac_exeext=$ac_cv_exeext 1848 echo "$as_me:$LINENO: result: $ac_file" >&5 1849 echo "${ECHO_T}$ac_file" >&6 1850 1851 # Check the compiler produces executables we can run. If not, either 2438 2439 # Check that the compiler produces executables we can run. If not, either 1852 2440 # the compiler is broken, or we cross compile. 1853 echo "$as_me:$LINENO: checking whether the C compiler works" >&51854 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2441 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2442 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 1855 2443 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1856 2444 # If not cross compiling, check that we can run a simple program. 1857 2445 if test "$cross_compiling" != yes; then 1858 2446 if { ac_try='./$ac_file' 1859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1860 (eval $ac_try) 2>&5 2447 { (case "(($ac_try" in 2448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2449 *) ac_try_echo=$ac_try;; 2450 esac 2451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2452 (eval "$ac_try") 2>&5 1861 2453 ac_status=$? 1862 2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1877 2469 fi 1878 2470 fi 1879 echo "$as_me:$LINENO: result: yes" >&51880 echo "${ECHO_T}yes" >&6 2471 { echo "$as_me:$LINENO: result: yes" >&5 2472 echo "${ECHO_T}yes" >&6; } 1881 2473 1882 2474 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1883 2475 ac_clean_files=$ac_clean_files_save 1884 # Check th e compiler produces executables we can run. If not, either2476 # Check that the compiler produces executables we can run. If not, either 1885 2477 # the compiler is broken, or we cross compile. 1886 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1887 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1888 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1889 echo "${ECHO_T}$cross_compiling" >&6 1890 1891 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1892 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1894 (eval $ac_link) 2>&5 2478 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2479 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2480 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2481 echo "${ECHO_T}$cross_compiling" >&6; } 2482 2483 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2484 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2485 if { (ac_try="$ac_link" 2486 case "(($ac_try" in 2487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2488 *) ac_try_echo=$ac_try;; 2489 esac 2490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2491 (eval "$ac_link") 2>&5 1895 2492 ac_status=$? 1896 2493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1903 2500 test -f "$ac_file" || continue 1904 2501 case $ac_file in 1905 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2502 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 1906 2503 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1907 export ac_cv_exeext1908 2504 break;; 1909 2505 * ) break;; … … 1919 2515 1920 2516 rm -f conftest$ac_cv_exeext 1921 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&51922 echo "${ECHO_T}$ac_cv_exeext" >&6 2517 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2518 echo "${ECHO_T}$ac_cv_exeext" >&6; } 1923 2519 1924 2520 rm -f conftest.$ac_ext 1925 2521 EXEEXT=$ac_cv_exeext 1926 2522 ac_exeext=$EXEEXT 1927 echo "$as_me:$LINENO: checking for suffix of object files" >&51928 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2523 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2524 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 1929 2525 if test "${ac_cv_objext+set}" = set; then 1930 2526 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1946 2542 _ACEOF 1947 2543 rm -f conftest.o conftest.obj 1948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1949 (eval $ac_compile) 2>&5 2544 if { (ac_try="$ac_compile" 2545 case "(($ac_try" in 2546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2547 *) ac_try_echo=$ac_try;; 2548 esac 2549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2550 (eval "$ac_compile") 2>&5 1950 2551 ac_status=$? 1951 2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1952 2553 (exit $ac_status); }; then 1953 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2554 for ac_file in conftest.o conftest.obj conftest.*; do 2555 test -f "$ac_file" || continue; 1954 2556 case $ac_file in 1955 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2557 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 1956 2558 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1957 2559 break;; … … 1971 2573 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1972 2574 fi 1973 echo "$as_me:$LINENO: result: $ac_cv_objext" >&51974 echo "${ECHO_T}$ac_cv_objext" >&6 2575 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2576 echo "${ECHO_T}$ac_cv_objext" >&6; } 1975 2577 OBJEXT=$ac_cv_objext 1976 2578 ac_objext=$OBJEXT 1977 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&51978 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2579 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2580 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 1979 2581 if test "${ac_cv_c_compiler_gnu+set}" = set; then 1980 2582 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1999 2601 _ACEOF 2000 2602 rm -f conftest.$ac_objext 2001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2002 (eval $ac_compile) 2>conftest.er1 2603 if { (ac_try="$ac_compile" 2604 case "(($ac_try" in 2605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2606 *) ac_try_echo=$ac_try;; 2607 esac 2608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2609 (eval "$ac_compile") 2>conftest.er1 2003 2610 ac_status=$? 2004 2611 grep -v '^ *+' conftest.er1 >conftest.err … … 2006 2613 cat conftest.err >&5 2007 2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2008 (exit $ac_status); } && 2009 { ac_try='test -z "$ac_c_werror_flag" 2010 || test ! -s conftest.err' 2011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2012 (eval $ac_try) 2>&5 2013 ac_status=$? 2014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2015 (exit $ac_status); }; } && 2016 { ac_try='test -s conftest.$ac_objext' 2017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2018 (eval $ac_try) 2>&5 2019 ac_status=$? 2020 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2021 (exit $ac_status); }; }; then 2615 (exit $ac_status); } && { 2616 test -z "$ac_c_werror_flag" || 2617 test ! -s conftest.err 2618 } && test -s conftest.$ac_objext; then 2022 2619 ac_compiler_gnu=yes 2023 2620 else … … 2025 2622 sed 's/^/| /' conftest.$ac_ext >&5 2026 2623 2027 ac_compiler_gnu=no 2028 fi 2029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2624 ac_compiler_gnu=no 2625 fi 2626 2627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2030 2628 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2031 2629 2032 2630 fi 2033 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52034 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2631 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2632 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2035 2633 GCC=`test $ac_compiler_gnu = yes && echo yes` 2036 2634 ac_test_CFLAGS=${CFLAGS+set} 2037 2635 ac_save_CFLAGS=$CFLAGS 2038 CFLAGS="-g" 2039 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2040 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2636 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2637 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2041 2638 if test "${ac_cv_prog_cc_g+set}" = set; then 2042 2639 echo $ECHO_N "(cached) $ECHO_C" >&6 2043 2640 else 2044 cat >conftest.$ac_ext <<_ACEOF 2641 ac_save_c_werror_flag=$ac_c_werror_flag 2642 ac_c_werror_flag=yes 2643 ac_cv_prog_cc_g=no 2644 CFLAGS="-g" 2645 cat >conftest.$ac_ext <<_ACEOF 2045 2646 /* confdefs.h. */ 2046 2647 _ACEOF … … 2058 2659 _ACEOF 2059 2660 rm -f conftest.$ac_objext 2060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2061 (eval $ac_compile) 2>conftest.er1 2661 if { (ac_try="$ac_compile" 2662 case "(($ac_try" in 2663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2664 *) ac_try_echo=$ac_try;; 2665 esac 2666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2667 (eval "$ac_compile") 2>conftest.er1 2062 2668 ac_status=$? 2063 2669 grep -v '^ *+' conftest.er1 >conftest.err … … 2065 2671 cat conftest.err >&5 2066 2672 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2067 (exit $ac_status); } && 2068 { ac_try='test -z "$ac_c_werror_flag" 2069 || test ! -s conftest.err' 2070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2071 (eval $ac_try) 2>&5 2072 ac_status=$? 2073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2074 (exit $ac_status); }; } && 2075 { ac_try='test -s conftest.$ac_objext' 2076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2077 (eval $ac_try) 2>&5 2078 ac_status=$? 2079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2080 (exit $ac_status); }; }; then 2673 (exit $ac_status); } && { 2674 test -z "$ac_c_werror_flag" || 2675 test ! -s conftest.err 2676 } && test -s conftest.$ac_objext; then 2081 2677 ac_cv_prog_cc_g=yes 2082 2678 else … … 2084 2680 sed 's/^/| /' conftest.$ac_ext >&5 2085 2681 2086 ac_cv_prog_cc_g=no 2087 fi 2088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2089 fi 2090 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2091 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2682 CFLAGS="" 2683 cat >conftest.$ac_ext <<_ACEOF 2684 /* confdefs.h. */ 2685 _ACEOF 2686 cat confdefs.h >>conftest.$ac_ext 2687 cat >>conftest.$ac_ext <<_ACEOF 2688 /* end confdefs.h. */ 2689 2690 int 2691 main () 2692 { 2693 2694 ; 2695 return 0; 2696 } 2697 _ACEOF 2698 rm -f conftest.$ac_objext 2699 if { (ac_try="$ac_compile" 2700 case "(($ac_try" in 2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2702 *) ac_try_echo=$ac_try;; 2703 esac 2704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2705 (eval "$ac_compile") 2>conftest.er1 2706 ac_status=$? 2707 grep -v '^ *+' conftest.er1 >conftest.err 2708 rm -f conftest.er1 2709 cat conftest.err >&5 2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2711 (exit $ac_status); } && { 2712 test -z "$ac_c_werror_flag" || 2713 test ! -s conftest.err 2714 } && test -s conftest.$ac_objext; then 2715 : 2716 else 2717 echo "$as_me: failed program was:" >&5 2718 sed 's/^/| /' conftest.$ac_ext >&5 2719 2720 ac_c_werror_flag=$ac_save_c_werror_flag 2721 CFLAGS="-g" 2722 cat >conftest.$ac_ext <<_ACEOF 2723 /* confdefs.h. */ 2724 _ACEOF 2725 cat confdefs.h >>conftest.$ac_ext 2726 cat >>conftest.$ac_ext <<_ACEOF 2727 /* end confdefs.h. */ 2728 2729 int 2730 main () 2731 { 2732 2733 ; 2734 return 0; 2735 } 2736 _ACEOF 2737 rm -f conftest.$ac_objext 2738 if { (ac_try="$ac_compile" 2739 case "(($ac_try" in 2740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2741 *) ac_try_echo=$ac_try;; 2742 esac 2743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2744 (eval "$ac_compile") 2>conftest.er1 2745 ac_status=$? 2746 grep -v '^ *+' conftest.er1 >conftest.err 2747 rm -f conftest.er1 2748 cat conftest.err >&5 2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2750 (exit $ac_status); } && { 2751 test -z "$ac_c_werror_flag" || 2752 test ! -s conftest.err 2753 } && test -s conftest.$ac_objext; then 2754 ac_cv_prog_cc_g=yes 2755 else 2756 echo "$as_me: failed program was:" >&5 2757 sed 's/^/| /' conftest.$ac_ext >&5 2758 2759 2760 fi 2761 2762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2763 fi 2764 2765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2766 fi 2767 2768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2769 ac_c_werror_flag=$ac_save_c_werror_flag 2770 fi 2771 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2772 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2092 2773 if test "$ac_test_CFLAGS" = set; then 2093 2774 CFLAGS=$ac_save_CFLAGS … … 2105 2786 fi 2106 2787 fi 2107 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52108 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&62109 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2788 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2789 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2790 if test "${ac_cv_prog_cc_c89+set}" = set; then 2110 2791 echo $ECHO_N "(cached) $ECHO_C" >&6 2111 2792 else 2112 ac_cv_prog_cc_ stdc=no2793 ac_cv_prog_cc_c89=no 2113 2794 ac_save_CC=$CC 2114 2795 cat >conftest.$ac_ext <<_ACEOF … … 2144 2825 function prototypes and stuff, but not '\xHH' hex character constants. 2145 2826 These don't provoke an error unfortunately, instead are silently treated 2146 as 'x'. The following induces an error, until -std 1is added to get2827 as 'x'. The following induces an error, until -std is added to get 2147 2828 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2148 2829 array size at least. It's necessary to write '\x00'==0 to get something 2149 that's true only with -std 1. */2830 that's true only with -std. */ 2150 2831 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2832 2833 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2834 inside strings and character constants. */ 2835 #define FOO(x) 'x' 2836 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2151 2837 2152 2838 int test (int i, double x); … … 2164 2850 } 2165 2851 _ACEOF 2166 # Don't try gcc -ansi; that turns off useful extensions and 2167 # breaks some systems' header files. 2168 # AIX -qlanglvl=ansi 2169 # Ultrix and OSF/1 -std1 2170 # HP-UX 10.20 and later -Ae 2171 # HP-UX older versions -Aa -D_HPUX_SOURCE 2172 # SVR4 -Xc -D__EXTENSIONS__ 2173 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2852 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2853 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2174 2854 do 2175 2855 CC="$ac_save_CC $ac_arg" 2176 2856 rm -f conftest.$ac_objext 2177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2178 (eval $ac_compile) 2>conftest.er1 2857 if { (ac_try="$ac_compile" 2858 case "(($ac_try" in 2859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2860 *) ac_try_echo=$ac_try;; 2861 esac 2862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2863 (eval "$ac_compile") 2>conftest.er1 2179 2864 ac_status=$? 2180 2865 grep -v '^ *+' conftest.er1 >conftest.err … … 2182 2867 cat conftest.err >&5 2183 2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2184 (exit $ac_status); } && 2185 { ac_try='test -z "$ac_c_werror_flag" 2186 || test ! -s conftest.err' 2187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2188 (eval $ac_try) 2>&5 2189 ac_status=$? 2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2191 (exit $ac_status); }; } && 2192 { ac_try='test -s conftest.$ac_objext' 2193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2194 (eval $ac_try) 2>&5 2195 ac_status=$? 2196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2197 (exit $ac_status); }; }; then 2198 ac_cv_prog_cc_stdc=$ac_arg 2199 break 2869 (exit $ac_status); } && { 2870 test -z "$ac_c_werror_flag" || 2871 test ! -s conftest.err 2872 } && test -s conftest.$ac_objext; then 2873 ac_cv_prog_cc_c89=$ac_arg 2200 2874 else 2201 2875 echo "$as_me: failed program was:" >&5 2202 2876 sed 's/^/| /' conftest.$ac_ext >&5 2203 2877 2204 fi 2205 rm -f conftest.err conftest.$ac_objext 2878 2879 fi 2880 2881 rm -f core conftest.err conftest.$ac_objext 2882 test "x$ac_cv_prog_cc_c89" != "xno" && break 2206 2883 done 2207 rm -f conftest.$ac_ext conftest.$ac_objext2884 rm -f conftest.$ac_ext 2208 2885 CC=$ac_save_CC 2209 2886 2210 2887 fi 2211 2212 case "x$ac_cv_prog_cc_stdc" in 2213 x|xno) 2214 echo "$as_me:$LINENO: result: none needed" >&5 2215 echo "${ECHO_T}none needed" >&6 ;; 2888 # AC_CACHE_VAL 2889 case "x$ac_cv_prog_cc_c89" in 2890 x) 2891 { echo "$as_me:$LINENO: result: none needed" >&5 2892 echo "${ECHO_T}none needed" >&6; } ;; 2893 xno) 2894 { echo "$as_me:$LINENO: result: unsupported" >&5 2895 echo "${ECHO_T}unsupported" >&6; } ;; 2216 2896 *) 2217 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2218 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2219 CC="$CC $ac_cv_prog_cc_stdc" ;; 2220 esac 2221 2222 # Some people use a C++ compiler to compile C. Since we use `exit', 2223 # in C++ we need to declare it. In case someone uses the same compiler 2224 # for both compiling C and C++ we need to have the C++ compiler decide 2225 # the declaration of exit, since it's the most demanding environment. 2226 cat >conftest.$ac_ext <<_ACEOF 2227 #ifndef __cplusplus 2228 choke me 2229 #endif 2230 _ACEOF 2231 rm -f conftest.$ac_objext 2232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2233 (eval $ac_compile) 2>conftest.er1 2234 ac_status=$? 2235 grep -v '^ *+' conftest.er1 >conftest.err 2236 rm -f conftest.er1 2237 cat conftest.err >&5 2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2239 (exit $ac_status); } && 2240 { ac_try='test -z "$ac_c_werror_flag" 2241 || test ! -s conftest.err' 2242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2243 (eval $ac_try) 2>&5 2244 ac_status=$? 2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2246 (exit $ac_status); }; } && 2247 { ac_try='test -s conftest.$ac_objext' 2248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2249 (eval $ac_try) 2>&5 2250 ac_status=$? 2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2252 (exit $ac_status); }; }; then 2253 for ac_declaration in \ 2254 '' \ 2255 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2256 'extern "C" void std::exit (int); using std::exit;' \ 2257 'extern "C" void exit (int) throw ();' \ 2258 'extern "C" void exit (int);' \ 2259 'void exit (int);' 2260 do 2261 cat >conftest.$ac_ext <<_ACEOF 2262 /* confdefs.h. */ 2263 _ACEOF 2264 cat confdefs.h >>conftest.$ac_ext 2265 cat >>conftest.$ac_ext <<_ACEOF 2266 /* end confdefs.h. */ 2267 $ac_declaration 2268 #include <stdlib.h> 2269 int 2270 main () 2271 { 2272 exit (42); 2273 ; 2274 return 0; 2275 } 2276 _ACEOF 2277 rm -f conftest.$ac_objext 2278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2279 (eval $ac_compile) 2>conftest.er1 2280 ac_status=$? 2281 grep -v '^ *+' conftest.er1 >conftest.err 2282 rm -f conftest.er1 2283 cat conftest.err >&5 2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2285 (exit $ac_status); } && 2286 { ac_try='test -z "$ac_c_werror_flag" 2287 || test ! -s conftest.err' 2288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2289 (eval $ac_try) 2>&5 2290 ac_status=$? 2291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2292 (exit $ac_status); }; } && 2293 { ac_try='test -s conftest.$ac_objext' 2294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2295 (eval $ac_try) 2>&5 2296 ac_status=$? 2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2298 (exit $ac_status); }; }; then 2299 : 2300 else 2301 echo "$as_me: failed program was:" >&5 2302 sed 's/^/| /' conftest.$ac_ext >&5 2303 2304 continue 2305 fi 2306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2307 cat >conftest.$ac_ext <<_ACEOF 2308 /* confdefs.h. */ 2309 _ACEOF 2310 cat confdefs.h >>conftest.$ac_ext 2311 cat >>conftest.$ac_ext <<_ACEOF 2312 /* end confdefs.h. */ 2313 $ac_declaration 2314 int 2315 main () 2316 { 2317 exit (42); 2318 ; 2319 return 0; 2320 } 2321 _ACEOF 2322 rm -f conftest.$ac_objext 2323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2324 (eval $ac_compile) 2>conftest.er1 2325 ac_status=$? 2326 grep -v '^ *+' conftest.er1 >conftest.err 2327 rm -f conftest.er1 2328 cat conftest.err >&5 2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2330 (exit $ac_status); } && 2331 { ac_try='test -z "$ac_c_werror_flag" 2332 || test ! -s conftest.err' 2333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2334 (eval $ac_try) 2>&5 2335 ac_status=$? 2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2337 (exit $ac_status); }; } && 2338 { ac_try='test -s conftest.$ac_objext' 2339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2340 (eval $ac_try) 2>&5 2341 ac_status=$? 2342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2343 (exit $ac_status); }; }; then 2344 break 2345 else 2346 echo "$as_me: failed program was:" >&5 2347 sed 's/^/| /' conftest.$ac_ext >&5 2348 2349 fi 2350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2351 done 2352 rm -f conftest* 2353 if test -n "$ac_declaration"; then 2354 echo '#ifdef __cplusplus' >>confdefs.h 2355 echo $ac_declaration >>confdefs.h 2356 echo '#endif' >>confdefs.h 2357 fi 2358 2359 else 2360 echo "$as_me: failed program was:" >&5 2361 sed 's/^/| /' conftest.$ac_ext >&5 2362 2363 fi 2364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2897 CC="$CC $ac_cv_prog_cc_c89" 2898 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2899 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2900 esac 2901 2902 2365 2903 ac_ext=c 2366 2904 ac_cpp='$CPP $CPPFLAGS' … … 2369 2907 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2370 2908 2371 ac_ext=c c2909 ac_ext=cpp 2372 2910 ac_cpp='$CXXCPP $CPPFLAGS' 2373 2911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2374 2912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2375 2913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2376 if test -n "$ac_tool_prefix"; then 2377 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2914 if test -z "$CXX"; then 2915 if test -n "$CCC"; then 2916 CXX=$CCC 2917 else 2918 if test -n "$ac_tool_prefix"; then 2919 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2378 2920 do 2379 2921 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2380 2922 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2381 echo "$as_me:$LINENO: checking for $ac_word" >&52382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2923 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2383 2925 if test "${ac_cv_prog_CXX+set}" = set; then 2384 2926 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2393 2935 test -z "$as_dir" && as_dir=. 2394 2936 for ac_exec_ext in '' $ac_executable_extensions; do 2395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2396 2938 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2397 2939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2400 2942 done 2401 2943 done 2944 IFS=$as_save_IFS 2402 2945 2403 2946 fi … … 2405 2948 CXX=$ac_cv_prog_CXX 2406 2949 if test -n "$CXX"; then 2407 echo "$as_me:$LINENO: result: $CXX" >&5 2408 echo "${ECHO_T}$CXX" >&6 2409 else 2410 echo "$as_me:$LINENO: result: no" >&5 2411 echo "${ECHO_T}no" >&6 2412 fi 2950 { echo "$as_me:$LINENO: result: $CXX" >&5 2951 echo "${ECHO_T}$CXX" >&6; } 2952 else 2953 { echo "$as_me:$LINENO: result: no" >&5 2954 echo "${ECHO_T}no" >&6; } 2955 fi 2956 2413 2957 2414 2958 test -n "$CXX" && break … … 2417 2961 if test -z "$CXX"; then 2418 2962 ac_ct_CXX=$CXX 2419 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC2963 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2420 2964 do 2421 2965 # Extract the first word of "$ac_prog", so it can be a program name with args. 2422 2966 set dummy $ac_prog; ac_word=$2 2423 echo "$as_me:$LINENO: checking for $ac_word" >&52424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2967 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2425 2969 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2426 2970 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2435 2979 test -z "$as_dir" && as_dir=. 2436 2980 for ac_exec_ext in '' $ac_executable_extensions; do 2437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2438 2982 ac_cv_prog_ac_ct_CXX="$ac_prog" 2439 2983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2442 2986 done 2443 2987 done 2988 IFS=$as_save_IFS 2444 2989 2445 2990 fi … … 2447 2992 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2448 2993 if test -n "$ac_ct_CXX"; then 2449 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2450 echo "${ECHO_T}$ac_ct_CXX" >&6 2451 else 2452 echo "$as_me:$LINENO: result: no" >&5 2453 echo "${ECHO_T}no" >&6 2454 fi 2994 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2995 echo "${ECHO_T}$ac_ct_CXX" >&6; } 2996 else 2997 { echo "$as_me:$LINENO: result: no" >&5 2998 echo "${ECHO_T}no" >&6; } 2999 fi 3000 2455 3001 2456 3002 test -n "$ac_ct_CXX" && break 2457 3003 done 2458 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2459 2460 CXX=$ac_ct_CXX 2461 fi 2462 2463 3004 3005 if test "x$ac_ct_CXX" = x; then 3006 CXX="g++" 3007 else 3008 case $cross_compiling:$ac_tool_warned in 3009 yes:) 3010 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3011 whose name does not start with the host triplet. If you think this 3012 configuration is useful to you, please write to [email protected]." >&5 3013 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3014 whose name does not start with the host triplet. If you think this 3015 configuration is useful to you, please write to [email protected]." >&2;} 3016 ac_tool_warned=yes ;; 3017 esac 3018 CXX=$ac_ct_CXX 3019 fi 3020 fi 3021 3022 fi 3023 fi 2464 3024 # Provide some information about the compiler. 2465 echo "$as_me:$LINENO:" \ 2466 "checking for C++ compiler version" >&5 3025 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 2467 3026 ac_compiler=`set X $ac_compile; echo $2` 2468 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2469 (eval $ac_compiler --version </dev/null >&5) 2>&5 3027 { (ac_try="$ac_compiler --version >&5" 3028 case "(($ac_try" in 3029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3030 *) ac_try_echo=$ac_try;; 3031 esac 3032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3033 (eval "$ac_compiler --version >&5") 2>&5 2470 3034 ac_status=$? 2471 3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2472 3036 (exit $ac_status); } 2473 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2474 (eval $ac_compiler -v </dev/null >&5) 2>&5 3037 { (ac_try="$ac_compiler -v >&5" 3038 case "(($ac_try" in 3039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3040 *) ac_try_echo=$ac_try;; 3041 esac 3042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3043 (eval "$ac_compiler -v >&5") 2>&5 2475 3044 ac_status=$? 2476 3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2477 3046 (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 3047 { (ac_try="$ac_compiler -V >&5" 3048 case "(($ac_try" in 3049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3050 *) ac_try_echo=$ac_try;; 3051 esac 3052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3053 (eval "$ac_compiler -V >&5") 2>&5 2480 3054 ac_status=$? 2481 3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2482 3056 (exit $ac_status); } 2483 3057 2484 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52485 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 3058 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 3059 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 2486 3060 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2487 3061 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2506 3080 _ACEOF 2507 3081 rm -f conftest.$ac_objext 2508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2509 (eval $ac_compile) 2>conftest.er1 3082 if { (ac_try="$ac_compile" 3083 case "(($ac_try" in 3084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3085 *) ac_try_echo=$ac_try;; 3086 esac 3087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3088 (eval "$ac_compile") 2>conftest.er1 2510 3089 ac_status=$? 2511 3090 grep -v '^ *+' conftest.er1 >conftest.err … … 2513 3092 cat conftest.err >&5 2514 3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2515 (exit $ac_status); } && 2516 { ac_try='test -z "$ac_cxx_werror_flag" 2517 || test ! -s conftest.err' 2518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2519 (eval $ac_try) 2>&5 2520 ac_status=$? 2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2522 (exit $ac_status); }; } && 2523 { ac_try='test -s conftest.$ac_objext' 2524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2525 (eval $ac_try) 2>&5 2526 ac_status=$? 2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2528 (exit $ac_status); }; }; then 3094 (exit $ac_status); } && { 3095 test -z "$ac_cxx_werror_flag" || 3096 test ! -s conftest.err 3097 } && test -s conftest.$ac_objext; then 2529 3098 ac_compiler_gnu=yes 2530 3099 else … … 2532 3101 sed 's/^/| /' conftest.$ac_ext >&5 2533 3102 2534 ac_compiler_gnu=no 2535 fi 2536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3103 ac_compiler_gnu=no 3104 fi 3105 3106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2537 3107 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2538 3108 2539 3109 fi 2540 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&52541 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 3110 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3111 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 2542 3112 GXX=`test $ac_compiler_gnu = yes && echo yes` 2543 3113 ac_test_CXXFLAGS=${CXXFLAGS+set} 2544 3114 ac_save_CXXFLAGS=$CXXFLAGS 2545 CXXFLAGS="-g" 2546 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2547 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3115 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3116 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 2548 3117 if test "${ac_cv_prog_cxx_g+set}" = set; then 2549 3118 echo $ECHO_N "(cached) $ECHO_C" >&6 2550 3119 else 2551 cat >conftest.$ac_ext <<_ACEOF 3120 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3121 ac_cxx_werror_flag=yes 3122 ac_cv_prog_cxx_g=no 3123 CXXFLAGS="-g" 3124 cat >conftest.$ac_ext <<_ACEOF 2552 3125 /* confdefs.h. */ 2553 3126 _ACEOF … … 2565 3138 _ACEOF 2566 3139 rm -f conftest.$ac_objext 2567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2568 (eval $ac_compile) 2>conftest.er1 3140 if { (ac_try="$ac_compile" 3141 case "(($ac_try" in 3142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3143 *) ac_try_echo=$ac_try;; 3144 esac 3145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3146 (eval "$ac_compile") 2>conftest.er1 2569 3147 ac_status=$? 2570 3148 grep -v '^ *+' conftest.er1 >conftest.err … … 2572 3150 cat conftest.err >&5 2573 3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2574 (exit $ac_status); } && 2575 { ac_try='test -z "$ac_cxx_werror_flag" 2576 || test ! -s conftest.err' 2577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2578 (eval $ac_try) 2>&5 2579 ac_status=$? 2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2581 (exit $ac_status); }; } && 2582 { ac_try='test -s conftest.$ac_objext' 2583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2584 (eval $ac_try) 2>&5 2585 ac_status=$? 2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2587 (exit $ac_status); }; }; then 3152 (exit $ac_status); } && { 3153 test -z "$ac_cxx_werror_flag" || 3154 test ! -s conftest.err 3155 } && test -s conftest.$ac_objext; then 2588 3156 ac_cv_prog_cxx_g=yes 2589 3157 else … … 2591 3159 sed 's/^/| /' conftest.$ac_ext >&5 2592 3160 2593 ac_cv_prog_cxx_g=no 2594 fi 2595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2596 fi 2597 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2598 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3161 CXXFLAGS="" 3162 cat >conftest.$ac_ext <<_ACEOF 3163 /* confdefs.h. */ 3164 _ACEOF 3165 cat confdefs.h >>conftest.$ac_ext 3166 cat >>conftest.$ac_ext <<_ACEOF 3167 /* end confdefs.h. */ 3168 3169 int 3170 main () 3171 { 3172 3173 ; 3174 return 0; 3175 } 3176 _ACEOF 3177 rm -f conftest.$ac_objext 3178 if { (ac_try="$ac_compile" 3179 case "(($ac_try" in 3180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3181 *) ac_try_echo=$ac_try;; 3182 esac 3183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3184 (eval "$ac_compile") 2>conftest.er1 3185 ac_status=$? 3186 grep -v '^ *+' conftest.er1 >conftest.err 3187 rm -f conftest.er1 3188 cat conftest.err >&5 3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3190 (exit $ac_status); } && { 3191 test -z "$ac_cxx_werror_flag" || 3192 test ! -s conftest.err 3193 } && test -s conftest.$ac_objext; then 3194 : 3195 else 3196 echo "$as_me: failed program was:" >&5 3197 sed 's/^/| /' conftest.$ac_ext >&5 3198 3199 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3200 CXXFLAGS="-g" 3201 cat >conftest.$ac_ext <<_ACEOF 3202 /* confdefs.h. */ 3203 _ACEOF 3204 cat confdefs.h >>conftest.$ac_ext 3205 cat >>conftest.$ac_ext <<_ACEOF 3206 /* end confdefs.h. */ 3207 3208 int 3209 main () 3210 { 3211 3212 ; 3213 return 0; 3214 } 3215 _ACEOF 3216 rm -f conftest.$ac_objext 3217 if { (ac_try="$ac_compile" 3218 case "(($ac_try" in 3219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3220 *) ac_try_echo=$ac_try;; 3221 esac 3222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3223 (eval "$ac_compile") 2>conftest.er1 3224 ac_status=$? 3225 grep -v '^ *+' conftest.er1 >conftest.err 3226 rm -f conftest.er1 3227 cat conftest.err >&5 3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3229 (exit $ac_status); } && { 3230 test -z "$ac_cxx_werror_flag" || 3231 test ! -s conftest.err 3232 } && test -s conftest.$ac_objext; then 3233 ac_cv_prog_cxx_g=yes 3234 else 3235 echo "$as_me: failed program was:" >&5 3236 sed 's/^/| /' conftest.$ac_ext >&5 3237 3238 3239 fi 3240 3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3242 fi 3243 3244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3245 fi 3246 3247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3248 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3249 fi 3250 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3251 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 2599 3252 if test "$ac_test_CXXFLAGS" = set; then 2600 3253 CXXFLAGS=$ac_save_CXXFLAGS … … 2612 3265 fi 2613 3266 fi 2614 for ac_declaration in \2615 '' \2616 'extern "C" void std::exit (int) throw (); using std::exit;' \2617 'extern "C" void std::exit (int); using std::exit;' \2618 'extern "C" void exit (int) throw ();' \2619 'extern "C" void exit (int);' \2620 'void exit (int);'2621 do2622 cat >conftest.$ac_ext <<_ACEOF2623 /* confdefs.h. */2624 _ACEOF2625 cat confdefs.h >>conftest.$ac_ext2626 cat >>conftest.$ac_ext <<_ACEOF2627 /* end confdefs.h. */2628 $ac_declaration2629 #include <stdlib.h>2630 int2631 main ()2632 {2633 exit (42);2634 ;2635 return 0;2636 }2637 _ACEOF2638 rm -f conftest.$ac_objext2639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52640 (eval $ac_compile) 2>conftest.er12641 ac_status=$?2642 grep -v '^ *+' conftest.er1 >conftest.err2643 rm -f conftest.er12644 cat conftest.err >&52645 echo "$as_me:$LINENO: \$? = $ac_status" >&52646 (exit $ac_status); } &&2647 { ac_try='test -z "$ac_cxx_werror_flag"2648 || test ! -s conftest.err'2649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52650 (eval $ac_try) 2>&52651 ac_status=$?2652 echo "$as_me:$LINENO: \$? = $ac_status" >&52653 (exit $ac_status); }; } &&2654 { ac_try='test -s conftest.$ac_objext'2655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52656 (eval $ac_try) 2>&52657 ac_status=$?2658 echo "$as_me:$LINENO: \$? = $ac_status" >&52659 (exit $ac_status); }; }; then2660 :2661 else2662 echo "$as_me: failed program was:" >&52663 sed 's/^/| /' conftest.$ac_ext >&52664 2665 continue2666 fi2667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2668 cat >conftest.$ac_ext <<_ACEOF2669 /* confdefs.h. */2670 _ACEOF2671 cat confdefs.h >>conftest.$ac_ext2672 cat >>conftest.$ac_ext <<_ACEOF2673 /* end confdefs.h. */2674 $ac_declaration2675 int2676 main ()2677 {2678 exit (42);2679 ;2680 return 0;2681 }2682 _ACEOF2683 rm -f conftest.$ac_objext2684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52685 (eval $ac_compile) 2>conftest.er12686 ac_status=$?2687 grep -v '^ *+' conftest.er1 >conftest.err2688 rm -f conftest.er12689 cat conftest.err >&52690 echo "$as_me:$LINENO: \$? = $ac_status" >&52691 (exit $ac_status); } &&2692 { ac_try='test -z "$ac_cxx_werror_flag"2693 || test ! -s conftest.err'2694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52695 (eval $ac_try) 2>&52696 ac_status=$?2697 echo "$as_me:$LINENO: \$? = $ac_status" >&52698 (exit $ac_status); }; } &&2699 { ac_try='test -s conftest.$ac_objext'2700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52701 (eval $ac_try) 2>&52702 ac_status=$?2703 echo "$as_me:$LINENO: \$? = $ac_status" >&52704 (exit $ac_status); }; }; then2705 break2706 else2707 echo "$as_me: failed program was:" >&52708 sed 's/^/| /' conftest.$ac_ext >&52709 2710 fi2711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2712 done2713 rm -f conftest*2714 if test -n "$ac_declaration"; then2715 echo '#ifdef __cplusplus' >>confdefs.h2716 echo $ac_declaration >>confdefs.h2717 echo '#endif' >>confdefs.h2718 fi2719 2720 3267 ac_ext=c 2721 3268 ac_cpp='$CPP $CPPFLAGS' … … 2728 3275 # Extract the first word of "$ac_prog", so it can be a program name with args. 2729 3276 set dummy $ac_prog; ac_word=$2 2730 echo "$as_me:$LINENO: checking for $ac_word" >&52731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3277 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2732 3279 if test "${ac_cv_prog_AWK+set}" = set; then 2733 3280 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2742 3289 test -z "$as_dir" && as_dir=. 2743 3290 for ac_exec_ext in '' $ac_executable_extensions; do 2744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2745 3292 ac_cv_prog_AWK="$ac_prog" 2746 3293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2749 3296 done 2750 3297 done 3298 IFS=$as_save_IFS 2751 3299 2752 3300 fi … … 2754 3302 AWK=$ac_cv_prog_AWK 2755 3303 if test -n "$AWK"; then 2756 echo "$as_me:$LINENO: result: $AWK" >&5 2757 echo "${ECHO_T}$AWK" >&6 2758 else 2759 echo "$as_me:$LINENO: result: no" >&5 2760 echo "${ECHO_T}no" >&6 2761 fi 3304 { echo "$as_me:$LINENO: result: $AWK" >&5 3305 echo "${ECHO_T}$AWK" >&6; } 3306 else 3307 { echo "$as_me:$LINENO: result: no" >&5 3308 echo "${ECHO_T}no" >&6; } 3309 fi 3310 2762 3311 2763 3312 test -n "$AWK" && break … … 2768 3317 # Extract the first word of "$ac_prog", so it can be a program name with args. 2769 3318 set dummy $ac_prog; ac_word=$2 2770 echo "$as_me:$LINENO: checking for $ac_word" >&52771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3319 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2772 3321 if test "${ac_cv_prog_YACC+set}" = set; then 2773 3322 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2782 3331 test -z "$as_dir" && as_dir=. 2783 3332 for ac_exec_ext in '' $ac_executable_extensions; do 2784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2785 3334 ac_cv_prog_YACC="$ac_prog" 2786 3335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2789 3338 done 2790 3339 done 3340 IFS=$as_save_IFS 2791 3341 2792 3342 fi … … 2794 3344 YACC=$ac_cv_prog_YACC 2795 3345 if test -n "$YACC"; then 2796 echo "$as_me:$LINENO: result: $YACC" >&5 2797 echo "${ECHO_T}$YACC" >&6 2798 else 2799 echo "$as_me:$LINENO: result: no" >&5 2800 echo "${ECHO_T}no" >&6 2801 fi 3346 { echo "$as_me:$LINENO: result: $YACC" >&5 3347 echo "${ECHO_T}$YACC" >&6; } 3348 else 3349 { echo "$as_me:$LINENO: result: no" >&5 3350 echo "${ECHO_T}no" >&6; } 3351 fi 3352 2802 3353 2803 3354 test -n "$YACC" && break … … 2806 3357 2807 3358 ac_aux_dir= 2808 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do2809 if test -f $ac_dir/install-sh; then3359 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3360 if test -f "$ac_dir/install-sh"; then 2810 3361 ac_aux_dir=$ac_dir 2811 3362 ac_install_sh="$ac_aux_dir/install-sh -c" 2812 3363 break 2813 elif test -f $ac_dir/install.sh; then3364 elif test -f "$ac_dir/install.sh"; then 2814 3365 ac_aux_dir=$ac_dir 2815 3366 ac_install_sh="$ac_aux_dir/install.sh -c" 2816 3367 break 2817 elif test -f $ac_dir/shtool; then3368 elif test -f "$ac_dir/shtool"; then 2818 3369 ac_aux_dir=$ac_dir 2819 3370 ac_install_sh="$ac_aux_dir/shtool install -c" … … 2822 3373 done 2823 3374 if test -z "$ac_aux_dir"; then 2824 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&52825 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}3375 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 3376 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2826 3377 { (exit 1); exit 1; }; } 2827 3378 fi 2828 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2829 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2830 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 3379 3380 # These three variables are undocumented and unsupported, 3381 # and are intended to be withdrawn in a future Autoconf release. 3382 # They can cause serious problems if a builder's source tree is in a directory 3383 # whose full name contains unusual characters. 3384 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3385 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3386 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3387 2831 3388 2832 3389 # Make sure we can run config.sub. 2833 $ ac_config_subsun4 >/dev/null 2>&1 ||2834 { { echo "$as_me:$LINENO: error: cannot run $ ac_config_sub" >&52835 echo "$as_me: error: cannot run $ ac_config_sub" >&2;}3390 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3391 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3392 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 2836 3393 { (exit 1); exit 1; }; } 2837 3394 2838 echo "$as_me:$LINENO: checking build system type" >&52839 echo $ECHO_N "checking build system type... $ECHO_C" >&6 3395 { echo "$as_me:$LINENO: checking build system type" >&5 3396 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 2840 3397 if test "${ac_cv_build+set}" = set; then 2841 3398 echo $ECHO_N "(cached) $ECHO_C" >&6 2842 3399 else 2843 ac_ cv_build_alias=$build_alias2844 test -z "$ac_cv_build_alias"&&2845 ac_ cv_build_alias=`$ac_config_guess`2846 test -z "$ac_cv_build_alias"&&3400 ac_build_alias=$build_alias 3401 test "x$ac_build_alias" = x && 3402 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3403 test "x$ac_build_alias" = x && 2847 3404 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2848 3405 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2849 3406 { (exit 1); exit 1; }; } 2850 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||2851 { { echo "$as_me:$LINENO: error: $ ac_config_sub $ac_cv_build_alias failed" >&52852 echo "$as_me: error: $ ac_config_sub $ac_cv_build_alias failed" >&2;}3407 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3408 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3409 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 2853 3410 { (exit 1); exit 1; }; } 2854 3411 2855 3412 fi 2856 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2857 echo "${ECHO_T}$ac_cv_build" >&6 3413 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3414 echo "${ECHO_T}$ac_cv_build" >&6; } 3415 case $ac_cv_build in 3416 *-*-*) ;; 3417 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3418 echo "$as_me: error: invalid value of canonical build" >&2;} 3419 { (exit 1); exit 1; }; };; 3420 esac 2858 3421 build=$ac_cv_build 2859 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2860 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2861 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2862 2863 2864 echo "$as_me:$LINENO: checking host system type" >&5 2865 echo $ECHO_N "checking host system type... $ECHO_C" >&6 3422 ac_save_IFS=$IFS; IFS='-' 3423 set x $ac_cv_build 3424 shift 3425 build_cpu=$1 3426 build_vendor=$2 3427 shift; shift 3428 # Remember, the first character of IFS is used to create $*, 3429 # except with old shells: 3430 build_os=$* 3431 IFS=$ac_save_IFS 3432 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3433 3434 3435 { echo "$as_me:$LINENO: checking host system type" >&5 3436 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 2866 3437 if test "${ac_cv_host+set}" = set; then 2867 3438 echo $ECHO_N "(cached) $ECHO_C" >&6 2868 3439 else 2869 ac_cv_host_alias=$host_alias2870 test -z "$ac_cv_host_alias" && 2871 ac_cv_host_alias=$ac_cv_build_alias 2872 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||2873 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&52874 echo "$as_me: error: $ ac_config_sub $ac_cv_host_alias failed" >&2;}3440 if test "x$host_alias" = x; then 3441 ac_cv_host=$ac_cv_build 3442 else 3443 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3444 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3445 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 2875 3446 { (exit 1); exit 1; }; } 2876 2877 fi 2878 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2879 echo "${ECHO_T}$ac_cv_host" >&6 3447 fi 3448 3449 fi 3450 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3451 echo "${ECHO_T}$ac_cv_host" >&6; } 3452 case $ac_cv_host in 3453 *-*-*) ;; 3454 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3455 echo "$as_me: error: invalid value of canonical host" >&2;} 3456 { (exit 1); exit 1; }; };; 3457 esac 2880 3458 host=$ac_cv_host 2881 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2882 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2883 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2884 2885 2886 echo "$as_me:$LINENO: checking target system type" >&5 2887 echo $ECHO_N "checking target system type... $ECHO_C" >&6 3459 ac_save_IFS=$IFS; IFS='-' 3460 set x $ac_cv_host 3461 shift 3462 host_cpu=$1 3463 host_vendor=$2 3464 shift; shift 3465 # Remember, the first character of IFS is used to create $*, 3466 # except with old shells: 3467 host_os=$* 3468 IFS=$ac_save_IFS 3469 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3470 3471 3472 { echo "$as_me:$LINENO: checking target system type" >&5 3473 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 2888 3474 if test "${ac_cv_target+set}" = set; then 2889 3475 echo $ECHO_N "(cached) $ECHO_C" >&6 2890 3476 else 2891 ac_cv_target_alias=$target_alias2892 test "x$ac_cv_target_alias" = "x" && 2893 ac_cv_target_alias=$ac_cv_host_alias 2894 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||2895 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&52896 echo "$as_me: error: $ ac_config_sub $ac_cv_target_alias failed" >&2;}3477 if test "x$target_alias" = x; then 3478 ac_cv_target=$ac_cv_host 3479 else 3480 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 3481 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 3482 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 2897 3483 { (exit 1); exit 1; }; } 2898 2899 fi 2900 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 2901 echo "${ECHO_T}$ac_cv_target" >&6 3484 fi 3485 3486 fi 3487 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3488 echo "${ECHO_T}$ac_cv_target" >&6; } 3489 case $ac_cv_target in 3490 *-*-*) ;; 3491 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 3492 echo "$as_me: error: invalid value of canonical target" >&2;} 3493 { (exit 1); exit 1; }; };; 3494 esac 2902 3495 target=$ac_cv_target 2903 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2904 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2905 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3496 ac_save_IFS=$IFS; IFS='-' 3497 set x $ac_cv_target 3498 shift 3499 target_cpu=$1 3500 target_vendor=$2 3501 shift; shift 3502 # Remember, the first character of IFS is used to create $*, 3503 # except with old shells: 3504 target_os=$* 3505 IFS=$ac_save_IFS 3506 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2906 3507 2907 3508 … … 2925 3526 # OS/2's system install, which has a completely different semantic 2926 3527 # ./install, which can be erroneously created by make from ./install.sh. 2927 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&52928 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3528 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3529 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2929 3530 if test -z "$INSTALL"; then 2930 3531 if test "${ac_cv_path_install+set}" = set; then … … 2948 3549 for ac_prog in ginstall scoinst install; do 2949 3550 for ac_exec_ext in '' $ac_executable_extensions; do 2950 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then3551 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2951 3552 if test $ac_prog = install && 2952 3553 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 2967 3568 esac 2968 3569 done 3570 IFS=$as_save_IFS 2969 3571 2970 3572 … … 2973 3575 INSTALL=$ac_cv_path_install 2974 3576 else 2975 # As a last resort, use the slow shell script. We don't cache a2976 # pathfor INSTALL within a source directory, because that will3577 # As a last resort, use the slow shell script. Don't cache a 3578 # value for INSTALL within a source directory, because that will 2977 3579 # break other packages using the cache if that directory is 2978 # removed, or if the path is relative.3580 # removed, or if the value is a relative name. 2979 3581 INSTALL=$ac_install_sh 2980 3582 fi 2981 3583 fi 2982 echo "$as_me:$LINENO: result: $INSTALL" >&52983 echo "${ECHO_T}$INSTALL" >&6 3584 { echo "$as_me:$LINENO: result: $INSTALL" >&5 3585 echo "${ECHO_T}$INSTALL" >&6; } 2984 3586 2985 3587 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 2991 3593 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2992 3594 2993 echo "$as_me:$LINENO: checking whether ln -s works" >&52994 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3595 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 3596 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } 2995 3597 LN_S=$as_ln_s 2996 3598 if test "$LN_S" = "ln -s"; then 2997 echo "$as_me:$LINENO: result: yes" >&52998 echo "${ECHO_T}yes" >&6 2999 else 3000 echo "$as_me:$LINENO: result: no, using $LN_S" >&53001 echo "${ECHO_T}no, using $LN_S" >&6 3002 fi 3003 3004 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&53005 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3006 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`3007 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then3599 { echo "$as_me:$LINENO: result: yes" >&5 3600 echo "${ECHO_T}yes" >&6; } 3601 else 3602 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3603 echo "${ECHO_T}no, using $LN_S" >&6; } 3604 fi 3605 3606 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3607 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 3608 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3609 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 3008 3610 echo $ECHO_N "(cached) $ECHO_C" >&6 3009 3611 else 3010 3612 cat >conftest.make <<\_ACEOF 3613 SHELL = /bin/sh 3011 3614 all: 3012 @echo ' ac_maketemp="$(MAKE)"'3615 @echo '@@@%%%=$(MAKE)=@@@%%%' 3013 3616 _ACEOF 3014 3617 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3015 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3016 if test -n "$ac_maketemp"; then 3017 eval ac_cv_prog_make_${ac_make}_set=yes3018 else 3019 eval ac_cv_prog_make_${ac_make}_set=no3020 fi 3618 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3619 *@@@%%%=?*=@@@%%%*) 3620 eval ac_cv_prog_make_${ac_make}_set=yes;; 3621 *) 3622 eval ac_cv_prog_make_${ac_make}_set=no;; 3623 esac 3021 3624 rm -f conftest.make 3022 3625 fi 3023 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then3024 echo "$as_me:$LINENO: result: yes" >&53025 echo "${ECHO_T}yes" >&6 3626 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3627 { echo "$as_me:$LINENO: result: yes" >&5 3628 echo "${ECHO_T}yes" >&6; } 3026 3629 SET_MAKE= 3027 3630 else 3028 echo "$as_me:$LINENO: result: no" >&53029 echo "${ECHO_T}no" >&6 3631 { echo "$as_me:$LINENO: result: no" >&5 3632 echo "${ECHO_T}no" >&6; } 3030 3633 SET_MAKE="MAKE=${MAKE-make}" 3031 3634 fi … … 3034 3637 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3035 3638 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3036 echo "$as_me:$LINENO: checking for $ac_word" >&53037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3639 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3038 3641 if test "${ac_cv_prog_RANLIB+set}" = set; then 3039 3642 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3048 3651 test -z "$as_dir" && as_dir=. 3049 3652 for ac_exec_ext in '' $ac_executable_extensions; do 3050 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3051 3654 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3052 3655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3055 3658 done 3056 3659 done 3660 IFS=$as_save_IFS 3057 3661 3058 3662 fi … … 3060 3664 RANLIB=$ac_cv_prog_RANLIB 3061 3665 if test -n "$RANLIB"; then 3062 echo "$as_me:$LINENO: result: $RANLIB" >&5 3063 echo "${ECHO_T}$RANLIB" >&6 3064 else 3065 echo "$as_me:$LINENO: result: no" >&5 3066 echo "${ECHO_T}no" >&6 3067 fi 3666 { echo "$as_me:$LINENO: result: $RANLIB" >&5 3667 echo "${ECHO_T}$RANLIB" >&6; } 3668 else 3669 { echo "$as_me:$LINENO: result: no" >&5 3670 echo "${ECHO_T}no" >&6; } 3671 fi 3672 3068 3673 3069 3674 fi … … 3072 3677 # Extract the first word of "ranlib", so it can be a program name with args. 3073 3678 set dummy ranlib; ac_word=$2 3074 echo "$as_me:$LINENO: checking for $ac_word" >&53075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3679 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3076 3681 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3077 3682 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3086 3691 test -z "$as_dir" && as_dir=. 3087 3692 for ac_exec_ext in '' $ac_executable_extensions; do 3088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3089 3694 ac_cv_prog_ac_ct_RANLIB="ranlib" 3090 3695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3093 3698 done 3094 3699 done 3095 3096 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3700 IFS=$as_save_IFS 3701 3097 3702 fi 3098 3703 fi 3099 3704 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3100 3705 if test -n "$ac_ct_RANLIB"; then 3101 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3102 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3103 else 3104 echo "$as_me:$LINENO: result: no" >&5 3105 echo "${ECHO_T}no" >&6 3106 fi 3107 3108 RANLIB=$ac_ct_RANLIB 3706 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3707 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 3708 else 3709 { echo "$as_me:$LINENO: result: no" >&5 3710 echo "${ECHO_T}no" >&6; } 3711 fi 3712 3713 if test "x$ac_ct_RANLIB" = x; then 3714 RANLIB=":" 3715 else 3716 case $cross_compiling:$ac_tool_warned in 3717 yes:) 3718 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3719 whose name does not start with the host triplet. If you think this 3720 configuration is useful to you, please write to [email protected]." >&5 3721 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3722 whose name does not start with the host triplet. If you think this 3723 configuration is useful to you, please write to [email protected]." >&2;} 3724 ac_tool_warned=yes ;; 3725 esac 3726 RANLIB=$ac_ct_RANLIB 3727 fi 3109 3728 else 3110 3729 RANLIB="$ac_cv_prog_RANLIB" … … 3112 3731 3113 3732 3114 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&53115 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 3733 { echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 3734 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; } 3116 3735 arch_64bit=no 3117 3736 case "$host_cpu" in … … 3120 3739 3121 3740 if test "$arch_64bit" = yes; then 3122 echo "$as_me:$LINENO: result: yes" >&53123 echo "${ECHO_T}yes" >&6 3741 { echo "$as_me:$LINENO: result: yes" >&5 3742 echo "${ECHO_T}yes" >&6; } 3124 3743 if test -z "$COMPAT32BITFLAGS" ; then 3125 3744 COMPAT32BITFLAGS="-m32" 3126 3745 fi 3127 3746 else 3128 echo "$as_me:$LINENO: result: no" >&53129 echo "${ECHO_T}no" >&6 3747 { echo "$as_me:$LINENO: result: no" >&5 3748 echo "${ECHO_T}no" >&6; } 3130 3749 if test -z "$COMPAT32BITFLAGS" ; then 3131 3750 COMPAT32BITFLAGS= … … 3174 3793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3175 3794 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3176 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53177 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3795 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3796 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3178 3797 # On Suns, sometimes $CPP names a directory. 3179 3798 if test -n "$CPP" && test -d "$CPP"; then … … 3209 3828 Syntax error 3210 3829 _ACEOF 3211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3212 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3830 if { (ac_try="$ac_cpp conftest.$ac_ext" 3831 case "(($ac_try" in 3832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3833 *) ac_try_echo=$ac_try;; 3834 esac 3835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3836 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3213 3837 ac_status=$? 3214 3838 grep -v '^ *+' conftest.er1 >conftest.err … … 3216 3840 cat conftest.err >&5 3217 3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3218 (exit $ac_status); } >/dev/null; then 3219 if test -s conftest.err; then 3220 ac_cpp_err=$ac_c_preproc_warn_flag 3221 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3222 else 3223 ac_cpp_err= 3224 fi 3225 else 3226 ac_cpp_err=yes 3227 fi 3228 if test -z "$ac_cpp_err"; then 3842 (exit $ac_status); } >/dev/null && { 3843 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3844 test ! -s conftest.err 3845 }; then 3229 3846 : 3230 3847 else … … 3235 3852 continue 3236 3853 fi 3854 3237 3855 rm -f conftest.err conftest.$ac_ext 3238 3856 3239 # OK, works on sane cases. Now check whether non -existent headers3857 # OK, works on sane cases. Now check whether nonexistent headers 3240 3858 # can be detected and how. 3241 3859 cat >conftest.$ac_ext <<_ACEOF … … 3247 3865 #include <ac_nonexistent.h> 3248 3866 _ACEOF 3249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3250 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3867 if { (ac_try="$ac_cpp conftest.$ac_ext" 3868 case "(($ac_try" in 3869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3870 *) ac_try_echo=$ac_try;; 3871 esac 3872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3251 3874 ac_status=$? 3252 3875 grep -v '^ *+' conftest.er1 >conftest.err … … 3254 3877 cat conftest.err >&5 3255 3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3256 (exit $ac_status); } >/dev/null; then 3257 if test -s conftest.err; then 3258 ac_cpp_err=$ac_c_preproc_warn_flag 3259 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3260 else 3261 ac_cpp_err= 3262 fi 3263 else 3264 ac_cpp_err=yes 3265 fi 3266 if test -z "$ac_cpp_err"; then 3879 (exit $ac_status); } >/dev/null && { 3880 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3881 test ! -s conftest.err 3882 }; then 3267 3883 # Broken: success on invalid input. 3268 3884 continue … … 3275 3891 break 3276 3892 fi 3893 3277 3894 rm -f conftest.err conftest.$ac_ext 3278 3895 … … 3292 3909 ac_cv_prog_CPP=$CPP 3293 3910 fi 3294 echo "$as_me:$LINENO: result: $CPP" >&53295 echo "${ECHO_T}$CPP" >&6 3911 { echo "$as_me:$LINENO: result: $CPP" >&5 3912 echo "${ECHO_T}$CPP" >&6; } 3296 3913 ac_preproc_ok=false 3297 3914 for ac_c_preproc_warn_flag in '' yes … … 3316 3933 Syntax error 3317 3934 _ACEOF 3318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3319 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3935 if { (ac_try="$ac_cpp conftest.$ac_ext" 3936 case "(($ac_try" in 3937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3938 *) ac_try_echo=$ac_try;; 3939 esac 3940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3941 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3320 3942 ac_status=$? 3321 3943 grep -v '^ *+' conftest.er1 >conftest.err … … 3323 3945 cat conftest.err >&5 3324 3946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3325 (exit $ac_status); } >/dev/null; then 3326 if test -s conftest.err; then 3327 ac_cpp_err=$ac_c_preproc_warn_flag 3328 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3329 else 3330 ac_cpp_err= 3331 fi 3332 else 3333 ac_cpp_err=yes 3334 fi 3335 if test -z "$ac_cpp_err"; then 3947 (exit $ac_status); } >/dev/null && { 3948 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3949 test ! -s conftest.err 3950 }; then 3336 3951 : 3337 3952 else … … 3342 3957 continue 3343 3958 fi 3959 3344 3960 rm -f conftest.err conftest.$ac_ext 3345 3961 3346 # OK, works on sane cases. Now check whether non -existent headers3962 # OK, works on sane cases. Now check whether nonexistent headers 3347 3963 # can be detected and how. 3348 3964 cat >conftest.$ac_ext <<_ACEOF … … 3354 3970 #include <ac_nonexistent.h> 3355 3971 _ACEOF 3356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3357 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3972 if { (ac_try="$ac_cpp conftest.$ac_ext" 3973 case "(($ac_try" in 3974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3975 *) ac_try_echo=$ac_try;; 3976 esac 3977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3358 3979 ac_status=$? 3359 3980 grep -v '^ *+' conftest.er1 >conftest.err … … 3361 3982 cat conftest.err >&5 3362 3983 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3363 (exit $ac_status); } >/dev/null; then 3364 if test -s conftest.err; then 3365 ac_cpp_err=$ac_c_preproc_warn_flag 3366 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3367 else 3368 ac_cpp_err= 3369 fi 3370 else 3371 ac_cpp_err=yes 3372 fi 3373 if test -z "$ac_cpp_err"; then 3984 (exit $ac_status); } >/dev/null && { 3985 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3986 test ! -s conftest.err 3987 }; then 3374 3988 # Broken: success on invalid input. 3375 3989 continue … … 3382 3996 break 3383 3997 fi 3998 3384 3999 rm -f conftest.err conftest.$ac_ext 3385 4000 … … 3404 4019 3405 4020 3406 echo "$as_me:$LINENO: checking for egrep" >&53407 echo $ECHO_N "checking for egrep... $ECHO_C" >&63408 if test "${ac_cv_p rog_egrep+set}" = set; then4021 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 4022 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 4023 if test "${ac_cv_path_GREP+set}" = set; then 3409 4024 echo $ECHO_N "(cached) $ECHO_C" >&6 3410 4025 else 3411 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3412 then ac_cv_prog_egrep='grep -E' 3413 else ac_cv_prog_egrep='egrep' 4026 # Extract the first word of "grep ggrep" to use in msg output 4027 if test -z "$GREP"; then 4028 set dummy grep ggrep; ac_prog_name=$2 4029 if test "${ac_cv_path_GREP+set}" = set; then 4030 echo $ECHO_N "(cached) $ECHO_C" >&6 4031 else 4032 ac_path_GREP_found=false 4033 # Loop through the user's path and test for each of PROGNAME-LIST 4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4035 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4036 do 4037 IFS=$as_save_IFS 4038 test -z "$as_dir" && as_dir=. 4039 for ac_prog in grep ggrep; do 4040 for ac_exec_ext in '' $ac_executable_extensions; do 4041 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4042 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4043 # Check for GNU ac_path_GREP and select it if it is found. 4044 # Check for GNU $ac_path_GREP 4045 case `"$ac_path_GREP" --version 2>&1` in 4046 *GNU*) 4047 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4048 *) 4049 ac_count=0 4050 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4051 while : 4052 do 4053 cat "conftest.in" "conftest.in" >"conftest.tmp" 4054 mv "conftest.tmp" "conftest.in" 4055 cp "conftest.in" "conftest.nl" 4056 echo 'GREP' >> "conftest.nl" 4057 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4058 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4059 ac_count=`expr $ac_count + 1` 4060 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4061 # Best one so far, save it but keep looking for a better one 4062 ac_cv_path_GREP="$ac_path_GREP" 4063 ac_path_GREP_max=$ac_count 3414 4064 fi 3415 fi 3416 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3417 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3418 EGREP=$ac_cv_prog_egrep 3419 3420 3421 3422 echo "$as_me:$LINENO: checking for AIX" >&5 3423 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 4065 # 10*(2^10) chars as input seems more than enough 4066 test $ac_count -gt 10 && break 4067 done 4068 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4069 esac 4070 4071 4072 $ac_path_GREP_found && break 3 4073 done 4074 done 4075 4076 done 4077 IFS=$as_save_IFS 4078 4079 4080 fi 4081 4082 GREP="$ac_cv_path_GREP" 4083 if test -z "$GREP"; then 4084 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4085 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4086 { (exit 1); exit 1; }; } 4087 fi 4088 4089 else 4090 ac_cv_path_GREP=$GREP 4091 fi 4092 4093 4094 fi 4095 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 4096 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 4097 GREP="$ac_cv_path_GREP" 4098 4099 4100 { echo "$as_me:$LINENO: checking for egrep" >&5 4101 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4102 if test "${ac_cv_path_EGREP+set}" = set; then 4103 echo $ECHO_N "(cached) $ECHO_C" >&6 4104 else 4105 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4106 then ac_cv_path_EGREP="$GREP -E" 4107 else 4108 # Extract the first word of "egrep" to use in msg output 4109 if test -z "$EGREP"; then 4110 set dummy egrep; ac_prog_name=$2 4111 if test "${ac_cv_path_EGREP+set}" = set; then 4112 echo $ECHO_N "(cached) $ECHO_C" >&6 4113 else 4114 ac_path_EGREP_found=false 4115 # Loop through the user's path and test for each of PROGNAME-LIST 4116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4117 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4118 do 4119 IFS=$as_save_IFS 4120 test -z "$as_dir" && as_dir=. 4121 for ac_prog in egrep; do 4122 for ac_exec_ext in '' $ac_executable_extensions; do 4123 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4124 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4125 # Check for GNU ac_path_EGREP and select it if it is found. 4126 # Check for GNU $ac_path_EGREP 4127 case `"$ac_path_EGREP" --version 2>&1` in 4128 *GNU*) 4129 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4130 *) 4131 ac_count=0 4132 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4133 while : 4134 do 4135 cat "conftest.in" "conftest.in" >"conftest.tmp" 4136 mv "conftest.tmp" "conftest.in" 4137 cp "conftest.in" "conftest.nl" 4138 echo 'EGREP' >> "conftest.nl" 4139 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4140 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4141 ac_count=`expr $ac_count + 1` 4142 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4143 # Best one so far, save it but keep looking for a better one 4144 ac_cv_path_EGREP="$ac_path_EGREP" 4145 ac_path_EGREP_max=$ac_count 4146 fi 4147 # 10*(2^10) chars as input seems more than enough 4148 test $ac_count -gt 10 && break 4149 done 4150 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4151 esac 4152 4153 4154 $ac_path_EGREP_found && break 3 4155 done 4156 done 4157 4158 done 4159 IFS=$as_save_IFS 4160 4161 4162 fi 4163 4164 EGREP="$ac_cv_path_EGREP" 4165 if test -z "$EGREP"; then 4166 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4167 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4168 { (exit 1); exit 1; }; } 4169 fi 4170 4171 else 4172 ac_cv_path_EGREP=$EGREP 4173 fi 4174 4175 4176 fi 4177 fi 4178 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4179 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4180 EGREP="$ac_cv_path_EGREP" 4181 4182 4183 4184 { echo "$as_me:$LINENO: checking for AIX" >&5 4185 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; } 3424 4186 cat >conftest.$ac_ext <<_ACEOF 3425 4187 /* confdefs.h. */ … … 3435 4197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3436 4198 $EGREP "yes" >/dev/null 2>&1; then 3437 echo "$as_me:$LINENO: result: yes" >&53438 echo "${ECHO_T}yes" >&6 4199 { echo "$as_me:$LINENO: result: yes" >&5 4200 echo "${ECHO_T}yes" >&6; } 3439 4201 cat >>confdefs.h <<\_ACEOF 3440 4202 #define _ALL_SOURCE 1 … … 3442 4204 3443 4205 else 3444 echo "$as_me:$LINENO: result: no" >&53445 echo "${ECHO_T}no" >&6 4206 { echo "$as_me:$LINENO: result: no" >&5 4207 echo "${ECHO_T}no" >&6; } 3446 4208 fi 3447 4209 rm -f conftest* 3448 4210 3449 4211 3450 echo "$as_me:$LINENO: checking for library containing strerror" >&53451 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 4212 { echo "$as_me:$LINENO: checking for library containing strerror" >&5 4213 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } 3452 4214 if test "${ac_cv_search_strerror+set}" = set; then 3453 4215 echo $ECHO_N "(cached) $ECHO_C" >&6 3454 4216 else 3455 4217 ac_func_search_save_LIBS=$LIBS 3456 ac_cv_search_strerror=no3457 4218 cat >conftest.$ac_ext <<_ACEOF 3458 4219 /* confdefs.h. */ … … 3462 4223 /* end confdefs.h. */ 3463 4224 3464 /* Override any gcc2 internal prototype to avoid an error. */ 4225 /* Override any GCC internal prototype to avoid an error. 4226 Use char because int might match the return type of a GCC 4227 builtin and then its argument prototype would still apply. */ 3465 4228 #ifdef __cplusplus 3466 4229 extern "C" 3467 4230 #endif 3468 /* We use char because int might match the return type of a gcc23469 builtin and then its argument prototype would still apply. */3470 4231 char strerror (); 3471 4232 int 3472 4233 main () 3473 4234 { 3474 strerror ();4235 return strerror (); 3475 4236 ; 3476 4237 return 0; 3477 4238 } 3478 4239 _ACEOF 3479 rm -f conftest.$ac_objext conftest$ac_exeext 3480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3481 (eval $ac_link) 2>conftest.er1 4240 for ac_lib in '' cposix; do 4241 if test -z "$ac_lib"; then 4242 ac_res="none required" 4243 else 4244 ac_res=-l$ac_lib 4245 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4246 fi 4247 rm -f conftest.$ac_objext conftest$ac_exeext 4248 if { (ac_try="$ac_link" 4249 case "(($ac_try" in 4250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4251 *) ac_try_echo=$ac_try;; 4252 esac 4253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4254 (eval "$ac_link") 2>conftest.er1 3482 4255 ac_status=$? 3483 4256 grep -v '^ *+' conftest.er1 >conftest.err … … 3485 4258 cat conftest.err >&5 3486 4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3487 (exit $ac_status); } && 3488 { ac_try='test -z "$ac_c_werror_flag" 3489 || test ! -s conftest.err' 3490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3491 (eval $ac_try) 2>&5 3492 ac_status=$? 3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3494 (exit $ac_status); }; } && 3495 { ac_try='test -s conftest$ac_exeext' 3496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3497 (eval $ac_try) 2>&5 3498 ac_status=$? 3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3500 (exit $ac_status); }; }; then 3501 ac_cv_search_strerror="none required" 4260 (exit $ac_status); } && { 4261 test -z "$ac_c_werror_flag" || 4262 test ! -s conftest.err 4263 } && test -s conftest$ac_exeext && 4264 $as_test_x conftest$ac_exeext; then 4265 ac_cv_search_strerror=$ac_res 3502 4266 else 3503 4267 echo "$as_me: failed program was:" >&5 3504 4268 sed 's/^/| /' conftest.$ac_ext >&5 3505 4269 3506 fi 3507 rm -f conftest.err conftest.$ac_objext \ 3508 conftest$ac_exeext conftest.$ac_ext 3509 if test "$ac_cv_search_strerror" = no; then 3510 for ac_lib in cposix; do 3511 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3512 cat >conftest.$ac_ext <<_ACEOF 3513 /* confdefs.h. */ 3514 _ACEOF 3515 cat confdefs.h >>conftest.$ac_ext 3516 cat >>conftest.$ac_ext <<_ACEOF 3517 /* end confdefs.h. */ 3518 3519 /* Override any gcc2 internal prototype to avoid an error. */ 3520 #ifdef __cplusplus 3521 extern "C" 3522 #endif 3523 /* We use char because int might match the return type of a gcc2 3524 builtin and then its argument prototype would still apply. */ 3525 char strerror (); 3526 int 3527 main () 3528 { 3529 strerror (); 3530 ; 3531 return 0; 3532 } 3533 _ACEOF 3534 rm -f conftest.$ac_objext conftest$ac_exeext 3535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3536 (eval $ac_link) 2>conftest.er1 3537 ac_status=$? 3538 grep -v '^ *+' conftest.er1 >conftest.err 3539 rm -f conftest.er1 3540 cat conftest.err >&5 3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3542 (exit $ac_status); } && 3543 { ac_try='test -z "$ac_c_werror_flag" 3544 || test ! -s conftest.err' 3545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3546 (eval $ac_try) 2>&5 3547 ac_status=$? 3548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3549 (exit $ac_status); }; } && 3550 { ac_try='test -s conftest$ac_exeext' 3551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3552 (eval $ac_try) 2>&5 3553 ac_status=$? 3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3555 (exit $ac_status); }; }; then 3556 ac_cv_search_strerror="-l$ac_lib" 3557 break 3558 else 3559 echo "$as_me: failed program was:" >&5 3560 sed 's/^/| /' conftest.$ac_ext >&5 3561 3562 fi 3563 rm -f conftest.err conftest.$ac_objext \ 3564 conftest$ac_exeext conftest.$ac_ext 3565 done 3566 fi 4270 4271 fi 4272 4273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4274 conftest$ac_exeext 4275 if test "${ac_cv_search_strerror+set}" = set; then 4276 break 4277 fi 4278 done 4279 if test "${ac_cv_search_strerror+set}" = set; then 4280 : 4281 else 4282 ac_cv_search_strerror=no 4283 fi 4284 rm conftest.$ac_ext 3567 4285 LIBS=$ac_func_search_save_LIBS 3568 4286 fi 3569 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3570 echo "${ECHO_T}$ac_cv_search_strerror" >&6 3571 if test "$ac_cv_search_strerror" != no; then 3572 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3573 3574 fi 3575 3576 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3577 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4287 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4288 echo "${ECHO_T}$ac_cv_search_strerror" >&6; } 4289 ac_res=$ac_cv_search_strerror 4290 if test "$ac_res" != no; then 4291 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4292 4293 fi 4294 4295 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4296 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3578 4297 if test "${ac_cv_header_stdc+set}" = set; then 3579 4298 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3599 4318 _ACEOF 3600 4319 rm -f conftest.$ac_objext 3601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3602 (eval $ac_compile) 2>conftest.er1 4320 if { (ac_try="$ac_compile" 4321 case "(($ac_try" in 4322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4323 *) ac_try_echo=$ac_try;; 4324 esac 4325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4326 (eval "$ac_compile") 2>conftest.er1 3603 4327 ac_status=$? 3604 4328 grep -v '^ *+' conftest.er1 >conftest.err … … 3606 4330 cat conftest.err >&5 3607 4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3608 (exit $ac_status); } && 3609 { ac_try='test -z "$ac_c_werror_flag" 3610 || test ! -s conftest.err' 3611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3612 (eval $ac_try) 2>&5 3613 ac_status=$? 3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3615 (exit $ac_status); }; } && 3616 { ac_try='test -s conftest.$ac_objext' 3617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3618 (eval $ac_try) 2>&5 3619 ac_status=$? 3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3621 (exit $ac_status); }; }; then 4332 (exit $ac_status); } && { 4333 test -z "$ac_c_werror_flag" || 4334 test ! -s conftest.err 4335 } && test -s conftest.$ac_objext; then 3622 4336 ac_cv_header_stdc=yes 3623 4337 else … … 3625 4339 sed 's/^/| /' conftest.$ac_ext >&5 3626 4340 3627 ac_cv_header_stdc=no 3628 fi 3629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4341 ac_cv_header_stdc=no 4342 fi 4343 4344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3630 4345 3631 4346 if test $ac_cv_header_stdc = yes; then … … 3683 4398 /* end confdefs.h. */ 3684 4399 #include <ctype.h> 4400 #include <stdlib.h> 3685 4401 #if ((' ' & 0x0FF) == 0x020) 3686 4402 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3702 4418 if (XOR (islower (i), ISLOWER (i)) 3703 4419 || toupper (i) != TOUPPER (i)) 3704 exit(2);3705 exit (0);4420 return 2; 4421 return 0; 3706 4422 } 3707 4423 _ACEOF 3708 4424 rm -f conftest$ac_exeext 3709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3710 (eval $ac_link) 2>&5 4425 if { (ac_try="$ac_link" 4426 case "(($ac_try" in 4427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4428 *) ac_try_echo=$ac_try;; 4429 esac 4430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4431 (eval "$ac_link") 2>&5 3711 4432 ac_status=$? 3712 4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3713 4434 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3715 (eval $ac_try) 2>&5 4435 { (case "(($ac_try" in 4436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4437 *) ac_try_echo=$ac_try;; 4438 esac 4439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4440 (eval "$ac_try") 2>&5 3716 4441 ac_status=$? 3717 4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 3726 4451 ac_cv_header_stdc=no 3727 4452 fi 3728 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3729 fi 3730 fi 3731 fi 3732 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3733 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4453 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4454 fi 4455 4456 4457 fi 4458 fi 4459 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4460 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 3734 4461 if test $ac_cv_header_stdc = yes; then 3735 4462 … … 3754 4481 do 3755 4482 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3756 echo "$as_me:$LINENO: checking for $ac_header" >&53757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3758 if eval "test \"\${$as_ac_Header+set}\" = set"; then4483 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3759 4486 echo $ECHO_N "(cached) $ECHO_C" >&6 3760 4487 else … … 3770 4497 _ACEOF 3771 4498 rm -f conftest.$ac_objext 3772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3773 (eval $ac_compile) 2>conftest.er1 4499 if { (ac_try="$ac_compile" 4500 case "(($ac_try" in 4501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4502 *) ac_try_echo=$ac_try;; 4503 esac 4504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4505 (eval "$ac_compile") 2>conftest.er1 3774 4506 ac_status=$? 3775 4507 grep -v '^ *+' conftest.er1 >conftest.err … … 3777 4509 cat conftest.err >&5 3778 4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3779 (exit $ac_status); } && 3780 { ac_try='test -z "$ac_c_werror_flag" 3781 || test ! -s conftest.err' 3782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3783 (eval $ac_try) 2>&5 3784 ac_status=$? 3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3786 (exit $ac_status); }; } && 3787 { ac_try='test -s conftest.$ac_objext' 3788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3789 (eval $ac_try) 2>&5 3790 ac_status=$? 3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3792 (exit $ac_status); }; }; then 4511 (exit $ac_status); } && { 4512 test -z "$ac_c_werror_flag" || 4513 test ! -s conftest.err 4514 } && test -s conftest.$ac_objext; then 3793 4515 eval "$as_ac_Header=yes" 3794 4516 else … … 3796 4518 sed 's/^/| /' conftest.$ac_ext >&5 3797 4519 3798 eval "$as_ac_Header=no" 3799 fi 3800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3801 fi 3802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4520 eval "$as_ac_Header=no" 4521 fi 4522 4523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4524 fi 4525 ac_res=`eval echo '${'$as_ac_Header'}'` 4526 { echo "$as_me:$LINENO: result: $ac_res" >&5 4527 echo "${ECHO_T}$ac_res" >&6; } 3804 4528 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3805 4529 cat >>confdefs.h <<_ACEOF … … 3813 4537 3814 4538 if test "${ac_cv_header_minix_config_h+set}" = set; then 3815 echo "$as_me:$LINENO: checking for minix/config.h" >&53816 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4539 { echo "$as_me:$LINENO: checking for minix/config.h" >&5 4540 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } 3817 4541 if test "${ac_cv_header_minix_config_h+set}" = set; then 3818 4542 echo $ECHO_N "(cached) $ECHO_C" >&6 3819 4543 fi 3820 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&53821 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; } 3822 4546 else 3823 4547 # Is the header compilable? 3824 echo "$as_me:$LINENO: checking minix/config.h usability" >&53825 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 4548 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4549 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; } 3826 4550 cat >conftest.$ac_ext <<_ACEOF 3827 4551 /* confdefs.h. */ … … 3834 4558 _ACEOF 3835 4559 rm -f conftest.$ac_objext 3836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3837 (eval $ac_compile) 2>conftest.er1 4560 if { (ac_try="$ac_compile" 4561 case "(($ac_try" in 4562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4563 *) ac_try_echo=$ac_try;; 4564 esac 4565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4566 (eval "$ac_compile") 2>conftest.er1 3838 4567 ac_status=$? 3839 4568 grep -v '^ *+' conftest.er1 >conftest.err … … 3841 4570 cat conftest.err >&5 3842 4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3843 (exit $ac_status); } && 3844 { ac_try='test -z "$ac_c_werror_flag" 3845 || test ! -s conftest.err' 3846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3847 (eval $ac_try) 2>&5 3848 ac_status=$? 3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3850 (exit $ac_status); }; } && 3851 { ac_try='test -s conftest.$ac_objext' 3852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3853 (eval $ac_try) 2>&5 3854 ac_status=$? 3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3856 (exit $ac_status); }; }; then 4572 (exit $ac_status); } && { 4573 test -z "$ac_c_werror_flag" || 4574 test ! -s conftest.err 4575 } && test -s conftest.$ac_objext; then 3857 4576 ac_header_compiler=yes 3858 4577 else … … 3860 4579 sed 's/^/| /' conftest.$ac_ext >&5 3861 4580 3862 ac_header_compiler=no 3863 fi 3864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3865 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3866 echo "${ECHO_T}$ac_header_compiler" >&6 4581 ac_header_compiler=no 4582 fi 4583 4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4585 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4586 echo "${ECHO_T}$ac_header_compiler" >&6; } 3867 4587 3868 4588 # Is the header present? 3869 echo "$as_me:$LINENO: checking minix/config.h presence" >&53870 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 4589 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4590 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; } 3871 4591 cat >conftest.$ac_ext <<_ACEOF 3872 4592 /* confdefs.h. */ … … 3877 4597 #include <minix/config.h> 3878 4598 _ACEOF 3879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3880 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4599 if { (ac_try="$ac_cpp conftest.$ac_ext" 4600 case "(($ac_try" in 4601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4602 *) ac_try_echo=$ac_try;; 4603 esac 4604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4605 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3881 4606 ac_status=$? 3882 4607 grep -v '^ *+' conftest.er1 >conftest.err … … 3884 4609 cat conftest.err >&5 3885 4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3886 (exit $ac_status); } >/dev/null; then 3887 if test -s conftest.err; then 3888 ac_cpp_err=$ac_c_preproc_warn_flag 3889 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3890 else 3891 ac_cpp_err= 3892 fi 3893 else 3894 ac_cpp_err=yes 3895 fi 3896 if test -z "$ac_cpp_err"; then 4611 (exit $ac_status); } >/dev/null && { 4612 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4613 test ! -s conftest.err 4614 }; then 3897 4615 ac_header_preproc=yes 3898 4616 else … … 3902 4620 ac_header_preproc=no 3903 4621 fi 4622 3904 4623 rm -f conftest.err conftest.$ac_ext 3905 echo "$as_me:$LINENO: result: $ac_header_preproc" >&53906 echo "${ECHO_T}$ac_header_preproc" >&6 4624 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4625 echo "${ECHO_T}$ac_header_preproc" >&6; } 3907 4626 3908 4627 # So? What about this header? … … 3928 4647 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 3929 4648 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 3930 ( 3931 cat <<\_ASBOX 3932 ## ------------------------------------------ ## 3933 ## Report this to the AC_PACKAGE_NAME lists. ## 3934 ## ------------------------------------------ ## 3935 _ASBOX 3936 ) | 3937 sed "s/^/$as_me: WARNING: /" >&2 4649 3938 4650 ;; 3939 4651 esac 3940 echo "$as_me:$LINENO: checking for minix/config.h" >&53941 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4652 { echo "$as_me:$LINENO: checking for minix/config.h" >&5 4653 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } 3942 4654 if test "${ac_cv_header_minix_config_h+set}" = set; then 3943 4655 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3945 4657 ac_cv_header_minix_config_h=$ac_header_preproc 3946 4658 fi 3947 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&53948 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4659 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4660 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; } 3949 4661 3950 4662 fi … … 3974 4686 fi 3975 4687 3976 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&53977 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 4688 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4689 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; } 3978 4690 if test "${ac_cv_prog_cc_stdc+set}" = set; then 3979 4691 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4011 4723 _ACEOF 4012 4724 rm -f conftest.$ac_objext 4013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4014 (eval $ac_compile) 2>conftest.er1 4725 if { (ac_try="$ac_compile" 4726 case "(($ac_try" in 4727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4728 *) ac_try_echo=$ac_try;; 4729 esac 4730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4731 (eval "$ac_compile") 2>conftest.er1 4015 4732 ac_status=$? 4016 4733 grep -v '^ *+' conftest.er1 >conftest.err … … 4018 4735 cat conftest.err >&5 4019 4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4020 (exit $ac_status); } && 4021 { ac_try='test -z "$ac_c_werror_flag" 4022 || test ! -s conftest.err' 4023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4024 (eval $ac_try) 2>&5 4025 ac_status=$? 4026 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4027 (exit $ac_status); }; } && 4028 { ac_try='test -s conftest.$ac_objext' 4029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4030 (eval $ac_try) 2>&5 4031 ac_status=$? 4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4033 (exit $ac_status); }; }; then 4737 (exit $ac_status); } && { 4738 test -z "$ac_c_werror_flag" || 4739 test ! -s conftest.err 4740 } && test -s conftest.$ac_objext; then 4034 4741 ac_cv_prog_cc_stdc="$ac_arg"; break 4035 4742 else … … 4037 4744 sed 's/^/| /' conftest.$ac_ext >&5 4038 4745 4039 fi 4040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4746 4747 fi 4748 4749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4041 4750 done 4042 4751 CFLAGS="$ac_save_CFLAGS" … … 4044 4753 fi 4045 4754 4046 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&54047 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4755 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 4756 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } 4048 4757 case "x$ac_cv_prog_cc_stdc" in 4049 4758 x|xno) ;; … … 4052 4761 4053 4762 4054 echo "$as_me:$LINENO: checking for function prototypes" >&54055 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4763 { echo "$as_me:$LINENO: checking for function prototypes" >&5 4764 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; } 4056 4765 if test "$ac_cv_prog_cc_stdc" != no; then 4057 echo "$as_me:$LINENO: result: yes" >&54058 echo "${ECHO_T}yes" >&6 4766 { echo "$as_me:$LINENO: result: yes" >&5 4767 echo "${ECHO_T}yes" >&6; } 4059 4768 cat >>confdefs.h <<\_ACEOF 4060 4769 #define PROTOTYPES 1 … … 4063 4772 U= ANSI2KNR= 4064 4773 else 4065 echo "$as_me:$LINENO: result: no" >&54066 echo "${ECHO_T}no" >&6 4774 { echo "$as_me:$LINENO: result: no" >&5 4775 echo "${ECHO_T}no" >&6; } 4067 4776 U=_ ANSI2KNR=ansi2knr 4068 4777 fi 4069 4778 4070 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&54071 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4779 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4780 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 4072 4781 if test "${ac_cv_c_const+set}" = set; then 4073 4782 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4087 4796 /* Ultrix mips cc rejects this. */ 4088 4797 typedef int charset[2]; 4089 const charset x;4798 const charset cs; 4090 4799 /* SunOS 4.1.1 cc rejects this. */ 4091 char const *const * ccp;4092 char **p ;4800 char const *const *pcpcc; 4801 char **ppc; 4093 4802 /* NEC SVR4.0.2 mips cc rejects this. */ 4094 4803 struct point {int x, y;}; … … 4099 4808 expression */ 4100 4809 const char *g = "string"; 4101 ccp= &g + (g ? g-g : 0);4810 pcpcc = &g + (g ? g-g : 0); 4102 4811 /* HPUX 7.0 cc rejects these. */ 4103 ++ ccp;4104 p = (char**) ccp;4105 ccp = (char const *const *) p;4812 ++pcpcc; 4813 ppc = (char**) pcpcc; 4814 pcpcc = (char const *const *) ppc; 4106 4815 { /* SCO 3.2v4 cc rejects this. */ 4107 4816 char *t; … … 4109 4818 4110 4819 *t++ = 0; 4820 if (s) return 0; 4111 4821 } 4112 4822 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4127 4837 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4128 4838 const int foo = 10; 4839 if (!foo) return 0; 4129 4840 } 4841 return !cs[0] && !zero.x; 4130 4842 #endif 4131 4843 … … 4135 4847 _ACEOF 4136 4848 rm -f conftest.$ac_objext 4137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4138 (eval $ac_compile) 2>conftest.er1 4849 if { (ac_try="$ac_compile" 4850 case "(($ac_try" in 4851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4852 *) ac_try_echo=$ac_try;; 4853 esac 4854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4855 (eval "$ac_compile") 2>conftest.er1 4139 4856 ac_status=$? 4140 4857 grep -v '^ *+' conftest.er1 >conftest.err … … 4142 4859 cat conftest.err >&5 4143 4860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4144 (exit $ac_status); } && 4145 { ac_try='test -z "$ac_c_werror_flag" 4146 || test ! -s conftest.err' 4147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4148 (eval $ac_try) 2>&5 4149 ac_status=$? 4150 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4151 (exit $ac_status); }; } && 4152 { ac_try='test -s conftest.$ac_objext' 4153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4154 (eval $ac_try) 2>&5 4155 ac_status=$? 4156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4157 (exit $ac_status); }; }; then 4861 (exit $ac_status); } && { 4862 test -z "$ac_c_werror_flag" || 4863 test ! -s conftest.err 4864 } && test -s conftest.$ac_objext; then 4158 4865 ac_cv_c_const=yes 4159 4866 else … … 4161 4868 sed 's/^/| /' conftest.$ac_ext >&5 4162 4869 4163 ac_cv_c_const=no 4164 fi 4165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4166 fi 4167 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4168 echo "${ECHO_T}$ac_cv_c_const" >&6 4870 ac_cv_c_const=no 4871 fi 4872 4873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4874 fi 4875 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4876 echo "${ECHO_T}$ac_cv_c_const" >&6; } 4169 4877 if test $ac_cv_c_const = no; then 4170 4878 … … 4175 4883 fi 4176 4884 4177 echo "$as_me:$LINENO: checking for off_t" >&54178 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 4885 { echo "$as_me:$LINENO: checking for off_t" >&5 4886 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; } 4179 4887 if test "${ac_cv_type_off_t+set}" = set; then 4180 4888 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4187 4895 /* end confdefs.h. */ 4188 4896 $ac_includes_default 4897 typedef off_t ac__type_new_; 4189 4898 int 4190 4899 main () 4191 4900 { 4192 if (( off_t*) 0)4901 if ((ac__type_new_ *) 0) 4193 4902 return 0; 4194 if (sizeof ( off_t))4903 if (sizeof (ac__type_new_)) 4195 4904 return 0; 4196 4905 ; … … 4199 4908 _ACEOF 4200 4909 rm -f conftest.$ac_objext 4201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4202 (eval $ac_compile) 2>conftest.er1 4910 if { (ac_try="$ac_compile" 4911 case "(($ac_try" in 4912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4913 *) ac_try_echo=$ac_try;; 4914 esac 4915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4916 (eval "$ac_compile") 2>conftest.er1 4203 4917 ac_status=$? 4204 4918 grep -v '^ *+' conftest.er1 >conftest.err … … 4206 4920 cat conftest.err >&5 4207 4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4208 (exit $ac_status); } && 4209 { ac_try='test -z "$ac_c_werror_flag" 4210 || test ! -s conftest.err' 4211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4212 (eval $ac_try) 2>&5 4213 ac_status=$? 4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4215 (exit $ac_status); }; } && 4216 { ac_try='test -s conftest.$ac_objext' 4217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4218 (eval $ac_try) 2>&5 4219 ac_status=$? 4220 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4221 (exit $ac_status); }; }; then 4922 (exit $ac_status); } && { 4923 test -z "$ac_c_werror_flag" || 4924 test ! -s conftest.err 4925 } && test -s conftest.$ac_objext; then 4222 4926 ac_cv_type_off_t=yes 4223 4927 else … … 4225 4929 sed 's/^/| /' conftest.$ac_ext >&5 4226 4930 4227 ac_cv_type_off_t=no 4228 fi 4229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4230 fi 4231 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4232 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4931 ac_cv_type_off_t=no 4932 fi 4933 4934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4935 fi 4936 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4937 echo "${ECHO_T}$ac_cv_type_off_t" >&6; } 4233 4938 if test $ac_cv_type_off_t = yes; then 4234 4939 : … … 4236 4941 4237 4942 cat >>confdefs.h <<_ACEOF 4238 #define off_t long 4239 _ACEOF 4240 4241 fi 4242 4243 echo "$as_me:$LINENO: checking for size_t" >&54244 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4943 #define off_t long int 4944 _ACEOF 4945 4946 fi 4947 4948 { echo "$as_me:$LINENO: checking for size_t" >&5 4949 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 4245 4950 if test "${ac_cv_type_size_t+set}" = set; then 4246 4951 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4253 4958 /* end confdefs.h. */ 4254 4959 $ac_includes_default 4960 typedef size_t ac__type_new_; 4255 4961 int 4256 4962 main () 4257 4963 { 4258 if (( size_t*) 0)4964 if ((ac__type_new_ *) 0) 4259 4965 return 0; 4260 if (sizeof ( size_t))4966 if (sizeof (ac__type_new_)) 4261 4967 return 0; 4262 4968 ; … … 4265 4971 _ACEOF 4266 4972 rm -f conftest.$ac_objext 4267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4268 (eval $ac_compile) 2>conftest.er1 4973 if { (ac_try="$ac_compile" 4974 case "(($ac_try" in 4975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4976 *) ac_try_echo=$ac_try;; 4977 esac 4978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4979 (eval "$ac_compile") 2>conftest.er1 4269 4980 ac_status=$? 4270 4981 grep -v '^ *+' conftest.er1 >conftest.err … … 4272 4983 cat conftest.err >&5 4273 4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4274 (exit $ac_status); } && 4275 { ac_try='test -z "$ac_c_werror_flag" 4276 || test ! -s conftest.err' 4277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4278 (eval $ac_try) 2>&5 4279 ac_status=$? 4280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4281 (exit $ac_status); }; } && 4282 { ac_try='test -s conftest.$ac_objext' 4283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4284 (eval $ac_try) 2>&5 4285 ac_status=$? 4286 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4287 (exit $ac_status); }; }; then 4985 (exit $ac_status); } && { 4986 test -z "$ac_c_werror_flag" || 4987 test ! -s conftest.err 4988 } && test -s conftest.$ac_objext; then 4288 4989 ac_cv_type_size_t=yes 4289 4990 else … … 4291 4992 sed 's/^/| /' conftest.$ac_ext >&5 4292 4993 4293 ac_cv_type_size_t=no 4294 fi 4295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4296 fi 4297 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4298 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4994 ac_cv_type_size_t=no 4995 fi 4996 4997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4998 fi 4999 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 5000 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 4299 5001 if test $ac_cv_type_size_t = yes; then 4300 5002 : … … 4302 5004 4303 5005 cat >>confdefs.h <<_ACEOF 4304 #define size_t unsigned 4305 _ACEOF 4306 4307 fi 4308 4309 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&54310 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 5006 #define size_t unsigned int 5007 _ACEOF 5008 5009 fi 5010 5011 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 5012 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } 4311 5013 if test "${ac_cv_header_time+set}" = set; then 4312 5014 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4332 5034 _ACEOF 4333 5035 rm -f conftest.$ac_objext 4334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4335 (eval $ac_compile) 2>conftest.er1 5036 if { (ac_try="$ac_compile" 5037 case "(($ac_try" in 5038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5039 *) ac_try_echo=$ac_try;; 5040 esac 5041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5042 (eval "$ac_compile") 2>conftest.er1 4336 5043 ac_status=$? 4337 5044 grep -v '^ *+' conftest.er1 >conftest.err … … 4339 5046 cat conftest.err >&5 4340 5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4341 (exit $ac_status); } && 4342 { ac_try='test -z "$ac_c_werror_flag" 4343 || test ! -s conftest.err' 4344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4345 (eval $ac_try) 2>&5 4346 ac_status=$? 4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4348 (exit $ac_status); }; } && 4349 { ac_try='test -s conftest.$ac_objext' 4350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4351 (eval $ac_try) 2>&5 4352 ac_status=$? 4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4354 (exit $ac_status); }; }; then 5048 (exit $ac_status); } && { 5049 test -z "$ac_c_werror_flag" || 5050 test ! -s conftest.err 5051 } && test -s conftest.$ac_objext; then 4355 5052 ac_cv_header_time=yes 4356 5053 else … … 4358 5055 sed 's/^/| /' conftest.$ac_ext >&5 4359 5056 4360 ac_cv_header_time=no 4361 fi 4362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4363 fi 4364 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4365 echo "${ECHO_T}$ac_cv_header_time" >&6 5057 ac_cv_header_time=no 5058 fi 5059 5060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5061 fi 5062 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 5063 echo "${ECHO_T}$ac_cv_header_time" >&6; } 4366 5064 if test $ac_cv_header_time = yes; then 4367 5065 … … 4372 5070 fi 4373 5071 4374 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&54375 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 5072 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 5073 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } 4376 5074 if test "${ac_cv_struct_tm+set}" = set; then 4377 5075 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4389 5087 main () 4390 5088 { 4391 struct tm *tp; tp->tm_sec; 5089 struct tm tm; 5090 int *p = &tm.tm_sec; 5091 return !p; 4392 5092 ; 4393 5093 return 0; … … 4395 5095 _ACEOF 4396 5096 rm -f conftest.$ac_objext 4397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4398 (eval $ac_compile) 2>conftest.er1 5097 if { (ac_try="$ac_compile" 5098 case "(($ac_try" in 5099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5100 *) ac_try_echo=$ac_try;; 5101 esac 5102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5103 (eval "$ac_compile") 2>conftest.er1 4399 5104 ac_status=$? 4400 5105 grep -v '^ *+' conftest.er1 >conftest.err … … 4402 5107 cat conftest.err >&5 4403 5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4404 (exit $ac_status); } && 4405 { ac_try='test -z "$ac_c_werror_flag" 4406 || test ! -s conftest.err' 4407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4408 (eval $ac_try) 2>&5 4409 ac_status=$? 4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4411 (exit $ac_status); }; } && 4412 { ac_try='test -s conftest.$ac_objext' 4413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4414 (eval $ac_try) 2>&5 4415 ac_status=$? 4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4417 (exit $ac_status); }; }; then 5109 (exit $ac_status); } && { 5110 test -z "$ac_c_werror_flag" || 5111 test ! -s conftest.err 5112 } && test -s conftest.$ac_objext; then 4418 5113 ac_cv_struct_tm=time.h 4419 5114 else … … 4421 5116 sed 's/^/| /' conftest.$ac_ext >&5 4422 5117 4423 ac_cv_struct_tm=sys/time.h 4424 fi 4425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4426 fi 4427 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 4428 echo "${ECHO_T}$ac_cv_struct_tm" >&6 5118 ac_cv_struct_tm=sys/time.h 5119 fi 5120 5121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5122 fi 5123 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5124 echo "${ECHO_T}$ac_cv_struct_tm" >&6; } 4429 5125 if test $ac_cv_struct_tm = sys/time.h; then 4430 5126 … … 4454 5150 _ACEOF 4455 5151 rm -f conftest.$ac_objext 4456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4457 (eval $ac_compile) 2>conftest.er1 5152 if { (ac_try="$ac_compile" 5153 case "(($ac_try" in 5154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5155 *) ac_try_echo=$ac_try;; 5156 esac 5157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5158 (eval "$ac_compile") 2>conftest.er1 4458 5159 ac_status=$? 4459 5160 grep -v '^ *+' conftest.er1 >conftest.err … … 4461 5162 cat conftest.err >&5 4462 5163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4463 (exit $ac_status); } && 4464 { ac_try='test -z "$ac_c_werror_flag" 4465 || test ! -s conftest.err' 4466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4467 (eval $ac_try) 2>&5 4468 ac_status=$? 4469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4470 (exit $ac_status); }; } && 4471 { ac_try='test -s conftest.$ac_objext' 4472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4473 (eval $ac_try) 2>&5 4474 ac_status=$? 4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4476 (exit $ac_status); }; }; then 5164 (exit $ac_status); } && { 5165 test -z "$ac_c_werror_flag" || 5166 test ! -s conftest.err 5167 } && test -s conftest.$ac_objext; then 4477 5168 : 4478 5169 else … … 4480 5171 sed 's/^/| /' conftest.$ac_ext >&5 4481 5172 4482 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 4483 fi 4484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4485 fi 4486 4487 4488 4489 echo "$as_me:$LINENO: checking for main in -lg" >&5 4490 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 5173 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5174 fi 5175 5176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5177 fi 5178 5179 5180 5181 { echo "$as_me:$LINENO: checking for main in -lg" >&5 5182 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; } 4491 5183 if test "${ac_cv_lib_g_main+set}" = set; then 4492 5184 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4505 5197 main () 4506 5198 { 4507 main ();5199 return main (); 4508 5200 ; 4509 5201 return 0; … … 4511 5203 _ACEOF 4512 5204 rm -f conftest.$ac_objext conftest$ac_exeext 4513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4514 (eval $ac_link) 2>conftest.er1 5205 if { (ac_try="$ac_link" 5206 case "(($ac_try" in 5207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5208 *) ac_try_echo=$ac_try;; 5209 esac 5210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5211 (eval "$ac_link") 2>conftest.er1 4515 5212 ac_status=$? 4516 5213 grep -v '^ *+' conftest.er1 >conftest.err … … 4518 5215 cat conftest.err >&5 4519 5216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4520 (exit $ac_status); } && 4521 { ac_try='test -z "$ac_c_werror_flag" 4522 || test ! -s conftest.err' 4523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4524 (eval $ac_try) 2>&5 4525 ac_status=$? 4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4527 (exit $ac_status); }; } && 4528 { ac_try='test -s conftest$ac_exeext' 4529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4530 (eval $ac_try) 2>&5 4531 ac_status=$? 4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4533 (exit $ac_status); }; }; then 5217 (exit $ac_status); } && { 5218 test -z "$ac_c_werror_flag" || 5219 test ! -s conftest.err 5220 } && test -s conftest$ac_exeext && 5221 $as_test_x conftest$ac_exeext; then 4534 5222 ac_cv_lib_g_main=yes 4535 5223 else … … 4537 5225 sed 's/^/| /' conftest.$ac_ext >&5 4538 5226 4539 ac_cv_lib_g_main=no 4540 fi 4541 rm -f conftest.err conftest.$ac_objext \ 5227 ac_cv_lib_g_main=no 5228 fi 5229 5230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4542 5231 conftest$ac_exeext conftest.$ac_ext 4543 5232 LIBS=$ac_check_lib_save_LIBS 4544 5233 fi 4545 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&54546 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 5234 { echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 5235 echo "${ECHO_T}$ac_cv_lib_g_main" >&6; } 4547 5236 if test $ac_cv_lib_g_main = yes; then 4548 5237 cat >>confdefs.h <<_ACEOF … … 4556 5245 4557 5246 4558 echo "$as_me:$LINENO: checking for main in -lm" >&54559 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 5247 { echo "$as_me:$LINENO: checking for main in -lm" >&5 5248 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 4560 5249 if test "${ac_cv_lib_m_main+set}" = set; then 4561 5250 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4574 5263 main () 4575 5264 { 4576 main ();5265 return main (); 4577 5266 ; 4578 5267 return 0; … … 4580 5269 _ACEOF 4581 5270 rm -f conftest.$ac_objext conftest$ac_exeext 4582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4583 (eval $ac_link) 2>conftest.er1 5271 if { (ac_try="$ac_link" 5272 case "(($ac_try" in 5273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5274 *) ac_try_echo=$ac_try;; 5275 esac 5276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5277 (eval "$ac_link") 2>conftest.er1 4584 5278 ac_status=$? 4585 5279 grep -v '^ *+' conftest.er1 >conftest.err … … 4587 5281 cat conftest.err >&5 4588 5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4589 (exit $ac_status); } && 4590 { ac_try='test -z "$ac_c_werror_flag" 4591 || test ! -s conftest.err' 4592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4593 (eval $ac_try) 2>&5 4594 ac_status=$? 4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4596 (exit $ac_status); }; } && 4597 { ac_try='test -s conftest$ac_exeext' 4598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4599 (eval $ac_try) 2>&5 4600 ac_status=$? 4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4602 (exit $ac_status); }; }; then 5283 (exit $ac_status); } && { 5284 test -z "$ac_c_werror_flag" || 5285 test ! -s conftest.err 5286 } && test -s conftest$ac_exeext && 5287 $as_test_x conftest$ac_exeext; then 4603 5288 ac_cv_lib_m_main=yes 4604 5289 else … … 4606 5291 sed 's/^/| /' conftest.$ac_ext >&5 4607 5292 4608 ac_cv_lib_m_main=no 4609 fi 4610 rm -f conftest.err conftest.$ac_objext \ 5293 ac_cv_lib_m_main=no 5294 fi 5295 5296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4611 5297 conftest$ac_exeext conftest.$ac_ext 4612 5298 LIBS=$ac_check_lib_save_LIBS 4613 5299 fi 4614 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&54615 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 5300 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 5301 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; } 4616 5302 if test $ac_cv_lib_m_main = yes; then 4617 5303 cat >>confdefs.h <<_ACEOF … … 4625 5311 4626 5312 4627 echo "$as_me:$LINENO: checking for main in -lcrypt" >&54628 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 5313 { echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 5314 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; } 4629 5315 if test "${ac_cv_lib_crypt_main+set}" = set; then 4630 5316 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4643 5329 main () 4644 5330 { 4645 main ();5331 return main (); 4646 5332 ; 4647 5333 return 0; … … 4649 5335 _ACEOF 4650 5336 rm -f conftest.$ac_objext conftest$ac_exeext 4651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4652 (eval $ac_link) 2>conftest.er1 5337 if { (ac_try="$ac_link" 5338 case "(($ac_try" in 5339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5340 *) ac_try_echo=$ac_try;; 5341 esac 5342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5343 (eval "$ac_link") 2>conftest.er1 4653 5344 ac_status=$? 4654 5345 grep -v '^ *+' conftest.er1 >conftest.err … … 4656 5347 cat conftest.err >&5 4657 5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4658 (exit $ac_status); } && 4659 { ac_try='test -z "$ac_c_werror_flag" 4660 || test ! -s conftest.err' 4661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4662 (eval $ac_try) 2>&5 4663 ac_status=$? 4664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4665 (exit $ac_status); }; } && 4666 { ac_try='test -s conftest$ac_exeext' 4667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4668 (eval $ac_try) 2>&5 4669 ac_status=$? 4670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4671 (exit $ac_status); }; }; then 5349 (exit $ac_status); } && { 5350 test -z "$ac_c_werror_flag" || 5351 test ! -s conftest.err 5352 } && test -s conftest$ac_exeext && 5353 $as_test_x conftest$ac_exeext; then 4672 5354 ac_cv_lib_crypt_main=yes 4673 5355 else … … 4675 5357 sed 's/^/| /' conftest.$ac_ext >&5 4676 5358 4677 ac_cv_lib_crypt_main=no 4678 fi 4679 rm -f conftest.err conftest.$ac_objext \ 5359 ac_cv_lib_crypt_main=no 5360 fi 5361 5362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4680 5363 conftest$ac_exeext conftest.$ac_ext 4681 5364 LIBS=$ac_check_lib_save_LIBS 4682 5365 fi 4683 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&54684 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 5366 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 5367 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; } 4685 5368 if test $ac_cv_lib_crypt_main = yes; then 4686 5369 cat >>confdefs.h <<_ACEOF … … 4695 5378 if test $ENABLE_ACCENTFOLD = 1; then 4696 5379 4697 echo "$as_me:$LINENO: checking for main in -liconv" >&54698 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6 5380 { echo "$as_me:$LINENO: checking for main in -liconv" >&5 5381 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6; } 4699 5382 if test "${ac_cv_lib_iconv_main+set}" = set; then 4700 5383 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4713 5396 main () 4714 5397 { 4715 main ();5398 return main (); 4716 5399 ; 4717 5400 return 0; … … 4719 5402 _ACEOF 4720 5403 rm -f conftest.$ac_objext conftest$ac_exeext 4721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4722 (eval $ac_link) 2>conftest.er1 5404 if { (ac_try="$ac_link" 5405 case "(($ac_try" in 5406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5407 *) ac_try_echo=$ac_try;; 5408 esac 5409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5410 (eval "$ac_link") 2>conftest.er1 4723 5411 ac_status=$? 4724 5412 grep -v '^ *+' conftest.er1 >conftest.err … … 4726 5414 cat conftest.err >&5 4727 5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4728 (exit $ac_status); } && 4729 { ac_try='test -z "$ac_c_werror_flag" 4730 || test ! -s conftest.err' 4731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4732 (eval $ac_try) 2>&5 4733 ac_status=$? 4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4735 (exit $ac_status); }; } && 4736 { ac_try='test -s conftest$ac_exeext' 4737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4738 (eval $ac_try) 2>&5 4739 ac_status=$? 4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4741 (exit $ac_status); }; }; then 5416 (exit $ac_status); } && { 5417 test -z "$ac_c_werror_flag" || 5418 test ! -s conftest.err 5419 } && test -s conftest$ac_exeext && 5420 $as_test_x conftest$ac_exeext; then 4742 5421 ac_cv_lib_iconv_main=yes 4743 5422 else … … 4745 5424 sed 's/^/| /' conftest.$ac_ext >&5 4746 5425 4747 ac_cv_lib_iconv_main=no 4748 fi 4749 rm -f conftest.err conftest.$ac_objext \ 5426 ac_cv_lib_iconv_main=no 5427 fi 5428 5429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4750 5430 conftest$ac_exeext conftest.$ac_ext 4751 5431 LIBS=$ac_check_lib_save_LIBS 4752 5432 fi 4753 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&54754 echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6 5433 { echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5 5434 echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6; } 4755 5435 if test $ac_cv_lib_iconv_main = yes; then 4756 5436 cat >>confdefs.h <<_ACEOF … … 4773 5453 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 4774 5454 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 4775 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&54776 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 4777 if eval "test \"\${$as_ac_Header+set}\" = set"; then5455 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 5456 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } 5457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4778 5458 echo $ECHO_N "(cached) $ECHO_C" >&6 4779 5459 else … … 4797 5477 _ACEOF 4798 5478 rm -f conftest.$ac_objext 4799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4800 (eval $ac_compile) 2>conftest.er1 5479 if { (ac_try="$ac_compile" 5480 case "(($ac_try" in 5481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5482 *) ac_try_echo=$ac_try;; 5483 esac 5484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5485 (eval "$ac_compile") 2>conftest.er1 4801 5486 ac_status=$? 4802 5487 grep -v '^ *+' conftest.er1 >conftest.err … … 4804 5489 cat conftest.err >&5 4805 5490 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4806 (exit $ac_status); } && 4807 { ac_try='test -z "$ac_c_werror_flag" 4808 || test ! -s conftest.err' 4809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4810 (eval $ac_try) 2>&5 4811 ac_status=$? 4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4813 (exit $ac_status); }; } && 4814 { ac_try='test -s conftest.$ac_objext' 4815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4816 (eval $ac_try) 2>&5 4817 ac_status=$? 4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4819 (exit $ac_status); }; }; then 5491 (exit $ac_status); } && { 5492 test -z "$ac_c_werror_flag" || 5493 test ! -s conftest.err 5494 } && test -s conftest.$ac_objext; then 4820 5495 eval "$as_ac_Header=yes" 4821 5496 else … … 4823 5498 sed 's/^/| /' conftest.$ac_ext >&5 4824 5499 4825 eval "$as_ac_Header=no" 4826 fi 4827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4828 fi 4829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4830 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5500 eval "$as_ac_Header=no" 5501 fi 5502 5503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5504 fi 5505 ac_res=`eval echo '${'$as_ac_Header'}'` 5506 { echo "$as_me:$LINENO: result: $ac_res" >&5 5507 echo "${ECHO_T}$ac_res" >&6; } 4831 5508 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4832 5509 cat >>confdefs.h <<_ACEOF … … 4840 5517 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 4841 5518 if test $ac_header_dirent = dirent.h; then 4842 echo "$as_me:$LINENO: checking for library containing opendir" >&54843 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5519 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 5520 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } 4844 5521 if test "${ac_cv_search_opendir+set}" = set; then 4845 5522 echo $ECHO_N "(cached) $ECHO_C" >&6 4846 5523 else 4847 5524 ac_func_search_save_LIBS=$LIBS 4848 ac_cv_search_opendir=no4849 5525 cat >conftest.$ac_ext <<_ACEOF 4850 5526 /* confdefs.h. */ … … 4854 5530 /* end confdefs.h. */ 4855 5531 4856 /* Override any gcc2 internal prototype to avoid an error. */ 5532 /* Override any GCC internal prototype to avoid an error. 5533 Use char because int might match the return type of a GCC 5534 builtin and then its argument prototype would still apply. */ 4857 5535 #ifdef __cplusplus 4858 5536 extern "C" 4859 5537 #endif 4860 /* We use char because int might match the return type of a gcc24861 builtin and then its argument prototype would still apply. */4862 5538 char opendir (); 4863 5539 int 4864 5540 main () 4865 5541 { 4866 opendir ();5542 return opendir (); 4867 5543 ; 4868 5544 return 0; 4869 5545 } 4870 5546 _ACEOF 4871 rm -f conftest.$ac_objext conftest$ac_exeext 4872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4873 (eval $ac_link) 2>conftest.er1 5547 for ac_lib in '' dir; do 5548 if test -z "$ac_lib"; then 5549 ac_res="none required" 5550 else 5551 ac_res=-l$ac_lib 5552 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5553 fi 5554 rm -f conftest.$ac_objext conftest$ac_exeext 5555 if { (ac_try="$ac_link" 5556 case "(($ac_try" in 5557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5558 *) ac_try_echo=$ac_try;; 5559 esac 5560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5561 (eval "$ac_link") 2>conftest.er1 4874 5562 ac_status=$? 4875 5563 grep -v '^ *+' conftest.er1 >conftest.err … … 4877 5565 cat conftest.err >&5 4878 5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4879 (exit $ac_status); } && 4880 { ac_try='test -z "$ac_c_werror_flag" 4881 || test ! -s conftest.err' 4882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4883 (eval $ac_try) 2>&5 4884 ac_status=$? 4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4886 (exit $ac_status); }; } && 4887 { ac_try='test -s conftest$ac_exeext' 4888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4889 (eval $ac_try) 2>&5 4890 ac_status=$? 4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4892 (exit $ac_status); }; }; then 4893 ac_cv_search_opendir="none required" 5567 (exit $ac_status); } && { 5568 test -z "$ac_c_werror_flag" || 5569 test ! -s conftest.err 5570 } && test -s conftest$ac_exeext && 5571 $as_test_x conftest$ac_exeext; then 5572 ac_cv_search_opendir=$ac_res 4894 5573 else 4895 5574 echo "$as_me: failed program was:" >&5 4896 5575 sed 's/^/| /' conftest.$ac_ext >&5 4897 5576 4898 fi 4899 rm -f conftest.err conftest.$ac_objext \ 4900 conftest$ac_exeext conftest.$ac_ext 4901 if test "$ac_cv_search_opendir" = no; then 4902 for ac_lib in dir; do 4903 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4904 cat >conftest.$ac_ext <<_ACEOF 5577 5578 fi 5579 5580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5581 conftest$ac_exeext 5582 if test "${ac_cv_search_opendir+set}" = set; then 5583 break 5584 fi 5585 done 5586 if test "${ac_cv_search_opendir+set}" = set; then 5587 : 5588 else 5589 ac_cv_search_opendir=no 5590 fi 5591 rm conftest.$ac_ext 5592 LIBS=$ac_func_search_save_LIBS 5593 fi 5594 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5595 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 5596 ac_res=$ac_cv_search_opendir 5597 if test "$ac_res" != no; then 5598 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5599 5600 fi 5601 5602 else 5603 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 5604 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } 5605 if test "${ac_cv_search_opendir+set}" = set; then 5606 echo $ECHO_N "(cached) $ECHO_C" >&6 5607 else 5608 ac_func_search_save_LIBS=$LIBS 5609 cat >conftest.$ac_ext <<_ACEOF 4905 5610 /* confdefs.h. */ 4906 5611 _ACEOF … … 4909 5614 /* end confdefs.h. */ 4910 5615 4911 /* Override any gcc2 internal prototype to avoid an error. */ 5616 /* Override any GCC internal prototype to avoid an error. 5617 Use char because int might match the return type of a GCC 5618 builtin and then its argument prototype would still apply. */ 4912 5619 #ifdef __cplusplus 4913 5620 extern "C" 4914 5621 #endif 4915 /* We use char because int might match the return type of a gcc24916 builtin and then its argument prototype would still apply. */4917 5622 char opendir (); 4918 5623 int 4919 5624 main () 4920 5625 { 4921 opendir ();5626 return opendir (); 4922 5627 ; 4923 5628 return 0; 4924 5629 } 4925 5630 _ACEOF 4926 rm -f conftest.$ac_objext conftest$ac_exeext 4927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4928 (eval $ac_link) 2>conftest.er1 5631 for ac_lib in '' x; do 5632 if test -z "$ac_lib"; then 5633 ac_res="none required" 5634 else 5635 ac_res=-l$ac_lib 5636 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5637 fi 5638 rm -f conftest.$ac_objext conftest$ac_exeext 5639 if { (ac_try="$ac_link" 5640 case "(($ac_try" in 5641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5642 *) ac_try_echo=$ac_try;; 5643 esac 5644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5645 (eval "$ac_link") 2>conftest.er1 4929 5646 ac_status=$? 4930 5647 grep -v '^ *+' conftest.er1 >conftest.err … … 4932 5649 cat conftest.err >&5 4933 5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4934 (exit $ac_status); } && 4935 { ac_try='test -z "$ac_c_werror_flag" 4936 || test ! -s conftest.err' 4937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4938 (eval $ac_try) 2>&5 4939 ac_status=$? 4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4941 (exit $ac_status); }; } && 4942 { ac_try='test -s conftest$ac_exeext' 4943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4944 (eval $ac_try) 2>&5 4945 ac_status=$? 4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4947 (exit $ac_status); }; }; then 4948 ac_cv_search_opendir="-l$ac_lib" 4949 break 5651 (exit $ac_status); } && { 5652 test -z "$ac_c_werror_flag" || 5653 test ! -s conftest.err 5654 } && test -s conftest$ac_exeext && 5655 $as_test_x conftest$ac_exeext; then 5656 ac_cv_search_opendir=$ac_res 4950 5657 else 4951 5658 echo "$as_me: failed program was:" >&5 4952 5659 sed 's/^/| /' conftest.$ac_ext >&5 4953 5660 4954 fi 4955 rm -f conftest.err conftest.$ac_objext \ 4956 conftest$ac_exeext conftest.$ac_ext 4957 done 4958 fi 5661 5662 fi 5663 5664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5665 conftest$ac_exeext 5666 if test "${ac_cv_search_opendir+set}" = set; then 5667 break 5668 fi 5669 done 5670 if test "${ac_cv_search_opendir+set}" = set; then 5671 : 5672 else 5673 ac_cv_search_opendir=no 5674 fi 5675 rm conftest.$ac_ext 4959 5676 LIBS=$ac_func_search_save_LIBS 4960 5677 fi 4961 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 4962 echo "${ECHO_T}$ac_cv_search_opendir" >&6 4963 if test "$ac_cv_search_opendir" != no; then 4964 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 4965 4966 fi 4967 4968 else 4969 echo "$as_me:$LINENO: checking for library containing opendir" >&5 4970 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 4971 if test "${ac_cv_search_opendir+set}" = set; then 4972 echo $ECHO_N "(cached) $ECHO_C" >&6 4973 else 4974 ac_func_search_save_LIBS=$LIBS 4975 ac_cv_search_opendir=no 4976 cat >conftest.$ac_ext <<_ACEOF 4977 /* confdefs.h. */ 4978 _ACEOF 4979 cat confdefs.h >>conftest.$ac_ext 4980 cat >>conftest.$ac_ext <<_ACEOF 4981 /* end confdefs.h. */ 4982 4983 /* Override any gcc2 internal prototype to avoid an error. */ 4984 #ifdef __cplusplus 4985 extern "C" 4986 #endif 4987 /* We use char because int might match the return type of a gcc2 4988 builtin and then its argument prototype would still apply. */ 4989 char opendir (); 4990 int 4991 main () 4992 { 4993 opendir (); 4994 ; 4995 return 0; 4996 } 4997 _ACEOF 4998 rm -f conftest.$ac_objext conftest$ac_exeext 4999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5000 (eval $ac_link) 2>conftest.er1 5001 ac_status=$? 5002 grep -v '^ *+' conftest.er1 >conftest.err 5003 rm -f conftest.er1 5004 cat conftest.err >&5 5005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5006 (exit $ac_status); } && 5007 { ac_try='test -z "$ac_c_werror_flag" 5008 || test ! -s conftest.err' 5009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5010 (eval $ac_try) 2>&5 5011 ac_status=$? 5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5013 (exit $ac_status); }; } && 5014 { ac_try='test -s conftest$ac_exeext' 5015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5016 (eval $ac_try) 2>&5 5017 ac_status=$? 5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5019 (exit $ac_status); }; }; then 5020 ac_cv_search_opendir="none required" 5021 else 5022 echo "$as_me: failed program was:" >&5 5023 sed 's/^/| /' conftest.$ac_ext >&5 5024 5025 fi 5026 rm -f conftest.err conftest.$ac_objext \ 5027 conftest$ac_exeext conftest.$ac_ext 5028 if test "$ac_cv_search_opendir" = no; then 5029 for ac_lib in x; do 5030 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5031 cat >conftest.$ac_ext <<_ACEOF 5032 /* confdefs.h. */ 5033 _ACEOF 5034 cat confdefs.h >>conftest.$ac_ext 5035 cat >>conftest.$ac_ext <<_ACEOF 5036 /* end confdefs.h. */ 5037 5038 /* Override any gcc2 internal prototype to avoid an error. */ 5039 #ifdef __cplusplus 5040 extern "C" 5041 #endif 5042 /* We use char because int might match the return type of a gcc2 5043 builtin and then its argument prototype would still apply. */ 5044 char opendir (); 5045 int 5046 main () 5047 { 5048 opendir (); 5049 ; 5050 return 0; 5051 } 5052 _ACEOF 5053 rm -f conftest.$ac_objext conftest$ac_exeext 5054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5055 (eval $ac_link) 2>conftest.er1 5056 ac_status=$? 5057 grep -v '^ *+' conftest.er1 >conftest.err 5058 rm -f conftest.er1 5059 cat conftest.err >&5 5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5061 (exit $ac_status); } && 5062 { ac_try='test -z "$ac_c_werror_flag" 5063 || test ! -s conftest.err' 5064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5065 (eval $ac_try) 2>&5 5066 ac_status=$? 5067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5068 (exit $ac_status); }; } && 5069 { ac_try='test -s conftest$ac_exeext' 5070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5071 (eval $ac_try) 2>&5 5072 ac_status=$? 5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5074 (exit $ac_status); }; }; then 5075 ac_cv_search_opendir="-l$ac_lib" 5076 break 5077 else 5078 echo "$as_me: failed program was:" >&5 5079 sed 's/^/| /' conftest.$ac_ext >&5 5080 5081 fi 5082 rm -f conftest.err conftest.$ac_objext \ 5083 conftest$ac_exeext conftest.$ac_ext 5084 done 5085 fi 5086 LIBS=$ac_func_search_save_LIBS 5087 fi 5088 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5089 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5090 if test "$ac_cv_search_opendir" != no; then 5091 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5092 5093 fi 5094 5095 fi 5096 5097 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5098 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 5678 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5679 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 5680 ac_res=$ac_cv_search_opendir 5681 if test "$ac_res" != no; then 5682 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5683 5684 fi 5685 5686 fi 5687 5688 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5689 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 5099 5690 if test "${ac_cv_header_stdc+set}" = set; then 5100 5691 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5120 5711 _ACEOF 5121 5712 rm -f conftest.$ac_objext 5122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5123 (eval $ac_compile) 2>conftest.er1 5713 if { (ac_try="$ac_compile" 5714 case "(($ac_try" in 5715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5716 *) ac_try_echo=$ac_try;; 5717 esac 5718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5719 (eval "$ac_compile") 2>conftest.er1 5124 5720 ac_status=$? 5125 5721 grep -v '^ *+' conftest.er1 >conftest.err … … 5127 5723 cat conftest.err >&5 5128 5724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5129 (exit $ac_status); } && 5130 { ac_try='test -z "$ac_c_werror_flag" 5131 || test ! -s conftest.err' 5132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5133 (eval $ac_try) 2>&5 5134 ac_status=$? 5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5136 (exit $ac_status); }; } && 5137 { ac_try='test -s conftest.$ac_objext' 5138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5139 (eval $ac_try) 2>&5 5140 ac_status=$? 5141 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5142 (exit $ac_status); }; }; then 5725 (exit $ac_status); } && { 5726 test -z "$ac_c_werror_flag" || 5727 test ! -s conftest.err 5728 } && test -s conftest.$ac_objext; then 5143 5729 ac_cv_header_stdc=yes 5144 5730 else … … 5146 5732 sed 's/^/| /' conftest.$ac_ext >&5 5147 5733 5148 ac_cv_header_stdc=no 5149 fi 5150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5734 ac_cv_header_stdc=no 5735 fi 5736 5737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5151 5738 5152 5739 if test $ac_cv_header_stdc = yes; then … … 5204 5791 /* end confdefs.h. */ 5205 5792 #include <ctype.h> 5793 #include <stdlib.h> 5206 5794 #if ((' ' & 0x0FF) == 0x020) 5207 5795 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5223 5811 if (XOR (islower (i), ISLOWER (i)) 5224 5812 || toupper (i) != TOUPPER (i)) 5225 exit(2);5226 exit (0);5813 return 2; 5814 return 0; 5227 5815 } 5228 5816 _ACEOF 5229 5817 rm -f conftest$ac_exeext 5230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5231 (eval $ac_link) 2>&5 5818 if { (ac_try="$ac_link" 5819 case "(($ac_try" in 5820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5821 *) ac_try_echo=$ac_try;; 5822 esac 5823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5824 (eval "$ac_link") 2>&5 5232 5825 ac_status=$? 5233 5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5234 5827 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5236 (eval $ac_try) 2>&5 5828 { (case "(($ac_try" in 5829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5830 *) ac_try_echo=$ac_try;; 5831 esac 5832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5833 (eval "$ac_try") 2>&5 5237 5834 ac_status=$? 5238 5835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 5247 5844 ac_cv_header_stdc=no 5248 5845 fi 5249 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5250 fi 5251 fi 5252 fi 5253 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5254 echo "${ECHO_T}$ac_cv_header_stdc" >&6 5846 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5847 fi 5848 5849 5850 fi 5851 fi 5852 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5853 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 5255 5854 if test $ac_cv_header_stdc = yes; then 5256 5855 … … 5273 5872 do 5274 5873 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5275 if eval "test \"\${$as_ac_Header+set}\" = set"; then5276 echo "$as_me:$LINENO: checking for $ac_header" >&55277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5278 if eval "test \"\${$as_ac_Header+set}\" = set"; then5874 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5875 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5279 5878 echo $ECHO_N "(cached) $ECHO_C" >&6 5280 5879 fi 5281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5880 ac_res=`eval echo '${'$as_ac_Header'}'` 5881 { echo "$as_me:$LINENO: result: $ac_res" >&5 5882 echo "${ECHO_T}$ac_res" >&6; } 5283 5883 else 5284 5884 # Is the header compilable? 5285 echo "$as_me:$LINENO: checking $ac_header usability" >&55286 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5885 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5886 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5287 5887 cat >conftest.$ac_ext <<_ACEOF 5288 5888 /* confdefs.h. */ … … 5295 5895 _ACEOF 5296 5896 rm -f conftest.$ac_objext 5297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5298 (eval $ac_compile) 2>conftest.er1 5897 if { (ac_try="$ac_compile" 5898 case "(($ac_try" in 5899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5900 *) ac_try_echo=$ac_try;; 5901 esac 5902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5903 (eval "$ac_compile") 2>conftest.er1 5299 5904 ac_status=$? 5300 5905 grep -v '^ *+' conftest.er1 >conftest.err … … 5302 5907 cat conftest.err >&5 5303 5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5304 (exit $ac_status); } && 5305 { ac_try='test -z "$ac_c_werror_flag" 5306 || test ! -s conftest.err' 5307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5308 (eval $ac_try) 2>&5 5309 ac_status=$? 5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5311 (exit $ac_status); }; } && 5312 { ac_try='test -s conftest.$ac_objext' 5313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5314 (eval $ac_try) 2>&5 5315 ac_status=$? 5316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5317 (exit $ac_status); }; }; then 5909 (exit $ac_status); } && { 5910 test -z "$ac_c_werror_flag" || 5911 test ! -s conftest.err 5912 } && test -s conftest.$ac_objext; then 5318 5913 ac_header_compiler=yes 5319 5914 else … … 5321 5916 sed 's/^/| /' conftest.$ac_ext >&5 5322 5917 5323 ac_header_compiler=no 5324 fi 5325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5327 echo "${ECHO_T}$ac_header_compiler" >&6 5918 ac_header_compiler=no 5919 fi 5920 5921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5922 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5923 echo "${ECHO_T}$ac_header_compiler" >&6; } 5328 5924 5329 5925 # Is the header present? 5330 echo "$as_me:$LINENO: checking $ac_header presence" >&55331 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5926 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5927 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5332 5928 cat >conftest.$ac_ext <<_ACEOF 5333 5929 /* confdefs.h. */ … … 5338 5934 #include <$ac_header> 5339 5935 _ACEOF 5340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5341 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5936 if { (ac_try="$ac_cpp conftest.$ac_ext" 5937 case "(($ac_try" in 5938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5939 *) ac_try_echo=$ac_try;; 5940 esac 5941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5942 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5342 5943 ac_status=$? 5343 5944 grep -v '^ *+' conftest.er1 >conftest.err … … 5345 5946 cat conftest.err >&5 5346 5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5347 (exit $ac_status); } >/dev/null; then 5348 if test -s conftest.err; then 5349 ac_cpp_err=$ac_c_preproc_warn_flag 5350 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5351 else 5352 ac_cpp_err= 5353 fi 5354 else 5355 ac_cpp_err=yes 5356 fi 5357 if test -z "$ac_cpp_err"; then 5948 (exit $ac_status); } >/dev/null && { 5949 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5950 test ! -s conftest.err 5951 }; then 5358 5952 ac_header_preproc=yes 5359 5953 else … … 5363 5957 ac_header_preproc=no 5364 5958 fi 5959 5365 5960 rm -f conftest.err conftest.$ac_ext 5366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55367 echo "${ECHO_T}$ac_header_preproc" >&6 5961 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5962 echo "${ECHO_T}$ac_header_preproc" >&6; } 5368 5963 5369 5964 # So? What about this header? … … 5389 5984 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5390 5985 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5391 ( 5392 cat <<\_ASBOX 5393 ## ------------------------------------------ ## 5394 ## Report this to the AC_PACKAGE_NAME lists. ## 5395 ## ------------------------------------------ ## 5396 _ASBOX 5397 ) | 5398 sed "s/^/$as_me: WARNING: /" >&2 5986 5399 5987 ;; 5400 5988 esac 5401 echo "$as_me:$LINENO: checking for $ac_header" >&55402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5403 if eval "test \"\${$as_ac_Header+set}\" = set"; then5989 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5991 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5404 5992 echo $ECHO_N "(cached) $ECHO_C" >&6 5405 5993 else 5406 5994 eval "$as_ac_Header=\$ac_header_preproc" 5407 5995 fi 5408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5996 ac_res=`eval echo '${'$as_ac_Header'}'` 5997 { echo "$as_me:$LINENO: result: $ac_res" >&5 5998 echo "${ECHO_T}$ac_res" >&6; } 5410 5999 5411 6000 fi … … 5476 6065 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5477 6066 # for constant arguments. Useless! 5478 echo "$as_me:$LINENO: checking for working alloca.h" >&55479 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 6067 { echo "$as_me:$LINENO: checking for working alloca.h" >&5 6068 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; } 5480 6069 if test "${ac_cv_working_alloca_h+set}" = set; then 5481 6070 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5492 6081 { 5493 6082 char *p = (char *) alloca (2 * sizeof (int)); 6083 if (p) return 0; 5494 6084 ; 5495 6085 return 0; … … 5497 6087 _ACEOF 5498 6088 rm -f conftest.$ac_objext conftest$ac_exeext 5499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5500 (eval $ac_link) 2>conftest.er1 6089 if { (ac_try="$ac_link" 6090 case "(($ac_try" in 6091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6092 *) ac_try_echo=$ac_try;; 6093 esac 6094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6095 (eval "$ac_link") 2>conftest.er1 5501 6096 ac_status=$? 5502 6097 grep -v '^ *+' conftest.er1 >conftest.err … … 5504 6099 cat conftest.err >&5 5505 6100 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5506 (exit $ac_status); } && 5507 { ac_try='test -z "$ac_c_werror_flag" 5508 || test ! -s conftest.err' 5509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5510 (eval $ac_try) 2>&5 5511 ac_status=$? 5512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5513 (exit $ac_status); }; } && 5514 { ac_try='test -s conf