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