- Timestamp:
- 2009-12-09T21:49:00+13:00 (14 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 [email protected] about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 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 [email protected]." >&5 1965 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1966 whose name does not start with the host triplet. If you think this 1967 configuration is useful to you, please write to [email protected]." >&2;} 1968 ac_tool_warned=yes ;; 1969 esac 1970 CC=$ac_ct_CC 1971 fi 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 [email protected]." >&5 2169 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2170 whose name does not start with the host triplet. If you think this 2171 configuration is useful to you, please write to [email protected]." >&2;} 2172 ac_tool_warned=yes ;; 2173 esac 2174 CC=$ac_ct_CC 2175 fi 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 [email protected]." >&5 2898 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2899 whose name does not start with the host triplet. If you think this 2900 configuration is useful to you, please write to [email protected]." >&2;} 2901 ac_tool_warned=yes ;; 2902 esac 2903 CXX=$ac_ct_CXX 2904 fi 2905 fi 2906 2907 fi 2908 fi 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 [email protected]." >&5 3606 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3607 whose name does not start with the host triplet. If you think this 3608 configuration is useful to you, please write to [email protected]." >&2;} 3609 ac_tool_warned=yes ;; 3610 esac 3611 RANLIB=$ac_ct_RANLIB 3612 fi 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 5630 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 6041 5631 if test "${ac_cv_os_cray+set}" = set; then 6042 5632 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6048 5638 cat >>conftest.$ac_ext <<_ACEOF 6049 5639 /* end confdefs.h. */ 6050 #if defined CRAY && ! defined CRAY25640 #if defined(CRAY) && ! defined(CRAY2) 6051 5641 webecray 6052 5642 #else … … 6064 5654 6065 5655 fi 6066 {echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&56067 echo "${ECHO_T}$ac_cv_os_cray" >&6 ; }5656 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 5657 echo "${ECHO_T}$ac_cv_os_cray" >&6 6068 5658 if test $ac_cv_os_cray = yes; then 6069 5659 for ac_func in _getb67 GETB67 getb67; do 6070 5660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6071 {echo "$as_me:$LINENO: checking for $ac_func" >&56072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 ; }6073 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then5661 echo "$as_me:$LINENO: checking for $ac_func" >&5 5662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5663 if eval "test \"\${$as_ac_var+set}\" = set"; then 6074 5664 echo $ECHO_N "(cached) $ECHO_C" >&6 6075 5665 else … … 6097 5687 #undef $ac_func 6098 5688 6099 /* Override any GCC internal prototype to avoid an error. 6100 Use char because int might match the return type of a GCC 6101 builtin and then its argument prototype would still apply. */ 5689 /* Override any gcc2 internal prototype to avoid an error. */ 6102 5690 #ifdef __cplusplus 6103 5691 extern "C" 5692 { 6104 5693 #endif 5694 /* We use char because int might match the return type of a gcc2 5695 builtin and then its argument prototype would still apply. */ 6105 5696 char $ac_func (); 6106 5697 /* The GNU C library defines this for functions which it implements 6107 5698 to always fail with ENOSYS. Some functions are actually named 6108 5699 something starting with __ and the normal name is an alias. */ 6109 #if defined __stub_$ac_func || defined __stub___$ac_func5700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6110 5701 choke me 5702 #else 5703 char (*f) () = $ac_func; 5704 #endif 5705 #ifdef __cplusplus 5706 } 6111 5707 #endif 6112 5708 … … 6114 5710 main () 6115 5711 { 6116 return $ac_func ();5712 return f != $ac_func; 6117 5713 ; 6118 5714 return 0; … … 6120 5716 _ACEOF 6121 5717 rm -f conftest.$ac_objext conftest$ac_exeext 6122 if { (ac_try="$ac_link" 6123 case "(($ac_try" in 6124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6125 *) ac_try_echo=$ac_try;; 6126 esac 6127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6128 (eval "$ac_link") 2>conftest.er1 5718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5719 (eval $ac_link) 2>conftest.er1 6129 5720 ac_status=$? 6130 5721 grep -v '^ *+' conftest.er1 >conftest.err … … 6132 5723 cat conftest.err >&5 6133 5724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6134 (exit $ac_status); } && { 6135 test -z "$ac_c_werror_flag" || 6136 test ! -s conftest.err 6137 } && test -s conftest$ac_exeext && 6138 $as_test_x conftest$ac_exeext; then 5725 (exit $ac_status); } && 5726 { ac_try='test -z "$ac_c_werror_flag" 5727 || test ! -s conftest.err' 5728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5729 (eval $ac_try) 2>&5 5730 ac_status=$? 5731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5732 (exit $ac_status); }; } && 5733 { ac_try='test -s conftest$ac_exeext' 5734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5735 (eval $ac_try) 2>&5 5736 ac_status=$? 5737 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5738 (exit $ac_status); }; }; then 6139 5739 eval "$as_ac_var=yes" 6140 5740 else … … 6142 5742 sed 's/^/| /' conftest.$ac_ext >&5 6143 5743 6144 eval "$as_ac_var=no" 6145 fi 6146 6147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5744 eval "$as_ac_var=no" 5745 fi 5746 rm -f conftest.err conftest.$ac_objext \ 6148 5747 conftest$ac_exeext conftest.$ac_ext 6149 5748 fi 6150 ac_res=`eval echo '${'$as_ac_var'}'` 6151 { echo "$as_me:$LINENO: result: $ac_res" >&5 6152 echo "${ECHO_T}$ac_res" >&6; } 5749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 5750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6153 5751 if test `eval echo '${'$as_ac_var'}'` = yes; then 6154 5752 … … 6163 5761 fi 6164 5762 6165 {echo "$as_me:$LINENO: checking stack direction for C alloca" >&56166 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 ; }5763 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 5764 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 6167 5765 if test "${ac_cv_c_stack_direction+set}" = set; then 6168 5766 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6177 5775 cat >>conftest.$ac_ext <<_ACEOF 6178 5776 /* end confdefs.h. */ 6179 $ac_includes_default6180 5777 int 6181 5778 find_stack_direction () … … 6195 5792 main () 6196 5793 { 6197 return find_stack_direction () < 0;5794 exit (find_stack_direction () < 0); 6198 5795 } 6199 5796 _ACEOF 6200 5797 rm -f conftest$ac_exeext 6201 if { (ac_try="$ac_link" 6202 case "(($ac_try" in 6203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6204 *) ac_try_echo=$ac_try;; 6205 esac 6206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6207 (eval "$ac_link") 2>&5 5798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5799 (eval $ac_link) 2>&5 6208 5800 ac_status=$? 6209 5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6210 5802 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6211 { (case "(($ac_try" in 6212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6213 *) ac_try_echo=$ac_try;; 6214 esac 6215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6216 (eval "$ac_try") 2>&5 5803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5804 (eval $ac_try) 2>&5 6217 5805 ac_status=$? 6218 5806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 6227 5815 ac_cv_c_stack_direction=-1 6228 5816 fi 6229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6230 fi 6231 6232 6233 fi 6234 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 6235 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; } 5817 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5818 fi 5819 fi 5820 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 5821 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 6236 5822 6237 5823 cat >>confdefs.h <<_ACEOF … … 6243 5829 6244 5830 if test $ac_cv_c_compiler_gnu = yes; then 6245 {echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&56246 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 ; }5831 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 5832 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 6247 5833 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 6248 5834 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6285 5871 fi 6286 5872 fi 6287 {echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&56288 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 ; }5873 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 5874 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 6289 5875 if test $ac_cv_prog_gcc_traditional = yes; then 6290 5876 CC="$CC -traditional" … … 6292 5878 fi 6293 5879 6294 {echo "$as_me:$LINENO: checking return type of signal handlers" >&56295 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 ; }5880 echo "$as_me:$LINENO: checking return type of signal handlers" >&5 5881 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 6296 5882 if test "${ac_cv_type_signal+set}" = set; then 6297 5883 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6305 5891 #include <sys/types.h> 6306 5892 #include <signal.h> 5893 #ifdef signal 5894 # undef signal 5895 #endif 5896 #ifdef __cplusplus 5897 extern "C" void (*signal (int, void (*)(int)))(int); 5898 #else 5899 void (*signal ()) (); 5900 #endif 6307 5901 6308 5902 int 6309 5903 main () 6310 5904 { 6311 return *(signal (0, 0)) (0) == 1;5905 int i; 6312 5906 ; 6313 5907 return 0; … … 6315 5909 _ACEOF 6316 5910 rm -f conftest.$ac_objext 6317 if { (ac_try="$ac_compile" 6318 case "(($ac_try" in 6319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6320 *) ac_try_echo=$ac_try;; 6321 esac 6322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6323 (eval "$ac_compile") 2>conftest.er1 5911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5912 (eval $ac_compile) 2>conftest.er1 6324 5913 ac_status=$? 6325 5914 grep -v '^ *+' conftest.er1 >conftest.err … … 6327 5916 cat conftest.err >&5 6328 5917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6329 (exit $ac_status); } && { 6330 test -z "$ac_c_werror_flag" || 6331 test ! -s conftest.err 6332 } && test -s conftest.$ac_objext; then 6333 ac_cv_type_signal=int 5918 (exit $ac_status); } && 5919 { ac_try='test -z "$ac_c_werror_flag" 5920 || test ! -s conftest.err' 5921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5922 (eval $ac_try) 2>&5 5923 ac_status=$? 5924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5925 (exit $ac_status); }; } && 5926 { ac_try='test -s conftest.$ac_objext' 5927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5928 (eval $ac_try) 2>&5 5929 ac_status=$? 5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5931 (exit $ac_status); }; }; then 5932 ac_cv_type_signal=void 6334 5933 else 6335 5934 echo "$as_me: failed program was:" >&5 6336 5935 sed 's/^/| /' conftest.$ac_ext >&5 6337 5936 6338 ac_cv_type_signal=void 6339 fi 6340 6341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6342 fi 6343 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6344 echo "${ECHO_T}$ac_cv_type_signal" >&6; } 5937 ac_cv_type_signal=int 5938 fi 5939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5940 fi 5941 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 5942 echo "${ECHO_T}$ac_cv_type_signal" >&6 6345 5943 6346 5944 cat >>confdefs.h <<_ACEOF … … 6353 5951 do 6354 5952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6355 {echo "$as_me:$LINENO: checking for $ac_func" >&56356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 ; }6357 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then5953 echo "$as_me:$LINENO: checking for $ac_func" >&5 5954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5955 if eval "test \"\${$as_ac_var+set}\" = set"; then 6358 5956 echo $ECHO_N "(cached) $ECHO_C" >&6 6359 5957 else … … 6381 5979 #undef $ac_func 6382 5980 6383 /* Override any GCC internal prototype to avoid an error. 6384 Use char because int might match the return type of a GCC 6385 builtin and then its argument prototype would still apply. */ 5981 /* Override any gcc2 internal prototype to avoid an error. */ 6386 5982 #ifdef __cplusplus 6387 5983 extern "C" 5984 { 6388 5985 #endif 5986 /* We use char because int might match the return type of a gcc2 5987 builtin and then its argument prototype would still apply. */ 6389 5988 char $ac_func (); 6390 5989 /* The GNU C library defines this for functions which it implements 6391 5990 to always fail with ENOSYS. Some functions are actually named 6392 5991 something starting with __ and the normal name is an alias. */ 6393 #if defined __stub_$ac_func || defined __stub___$ac_func5992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6394 5993 choke me 5994 #else 5995 char (*f) () = $ac_func; 5996 #endif 5997 #ifdef __cplusplus 5998 } 6395 5999 #endif 6396 6000 … … 6398 6002 main () 6399 6003 { 6400 return $ac_func ();6004 return f != $ac_func; 6401 6005 ; 6402 6006 return 0; … … 6404 6008 _ACEOF 6405 6009 rm -f conftest.$ac_objext conftest$ac_exeext 6406 if { (ac_try="$ac_link" 6407 case "(($ac_try" in 6408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6409 *) ac_try_echo=$ac_try;; 6410 esac 6411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6412 (eval "$ac_link") 2>conftest.er1 6010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6011 (eval $ac_link) 2>conftest.er1 6413 6012 ac_status=$? 6414 6013 grep -v '^ *+' conftest.er1 >conftest.err … … 6416 6015 cat conftest.err >&5 6417 6016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6418 (exit $ac_status); } && { 6419 test -z "$ac_c_werror_flag" || 6420 test ! -s conftest.err 6421 } && test -s conftest$ac_exeext && 6422 $as_test_x conftest$ac_exeext; then 6017 (exit $ac_status); } && 6018 { ac_try='test -z "$ac_c_werror_flag" 6019 || test ! -s conftest.err' 6020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6021 (eval $ac_try) 2>&5 6022 ac_status=$? 6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6024 (exit $ac_status); }; } && 6025 { ac_try='test -s conftest$ac_exeext' 6026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6027 (eval $ac_try) 2>&5 6028 ac_status=$? 6029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6030 (exit $ac_status); }; }; then 6423 6031 eval "$as_ac_var=yes" 6424 6032 else … … 6426 6034 sed 's/^/| /' conftest.$ac_ext >&5 6427 6035 6428 eval "$as_ac_var=no" 6429 fi 6430 6431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6036 eval "$as_ac_var=no" 6037 fi 6038 rm -f conftest.err conftest.$ac_objext \ 6432 6039 conftest$ac_exeext conftest.$ac_ext 6433 6040 fi 6434 ac_res=`eval echo '${'$as_ac_var'}'` 6435 { echo "$as_me:$LINENO: result: $ac_res" >&5 6436 echo "${ECHO_T}$ac_res" >&6; } 6041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6437 6043 if test `eval echo '${'$as_ac_var'}'` = yes; then 6438 6044 cat >>confdefs.h <<_ACEOF … … 6440 6046 _ACEOF 6441 6047 6442 {echo "$as_me:$LINENO: checking for _doprnt" >&56443 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 ; }6048 echo "$as_me:$LINENO: checking for _doprnt" >&5 6049 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 6444 6050 if test "${ac_cv_func__doprnt+set}" = set; then 6445 6051 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6468 6074 #undef _doprnt 6469 6075 6470 /* Override any GCC internal prototype to avoid an error. 6471 Use char because int might match the return type of a GCC 6472 builtin and then its argument prototype would still apply. */ 6076 /* Override any gcc2 internal prototype to avoid an error. */ 6473 6077 #ifdef __cplusplus 6474 6078 extern "C" 6079 { 6475 6080 #endif 6081 /* We use char because int might match the return type of a gcc2 6082 builtin and then its argument prototype would still apply. */ 6476 6083 char _doprnt (); 6477 6084 /* The GNU C library defines this for functions which it implements 6478 6085 to always fail with ENOSYS. Some functions are actually named 6479 6086 something starting with __ and the normal name is an alias. */ 6480 #if defined __stub__doprnt || defined __stub____doprnt6087 #if defined (__stub__doprnt) || defined (__stub____doprnt) 6481 6088 choke me 6089 #else 6090 char (*f) () = _doprnt; 6091 #endif 6092 #ifdef __cplusplus 6093 } 6482 6094 #endif 6483 6095 … … 6485 6097 main () 6486 6098 { 6487 return _doprnt ();6099 return f != _doprnt; 6488 6100 ; 6489 6101 return 0; … … 6491 6103 _ACEOF 6492 6104 rm -f conftest.$ac_objext conftest$ac_exeext 6493 if { (ac_try="$ac_link" 6494 case "(($ac_try" in 6495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6496 *) ac_try_echo=$ac_try;; 6497 esac 6498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6499 (eval "$ac_link") 2>conftest.er1 6105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6106 (eval $ac_link) 2>conftest.er1 6500 6107 ac_status=$? 6501 6108 grep -v '^ *+' conftest.er1 >conftest.err … … 6503 6110 cat conftest.err >&5 6504 6111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6505 (exit $ac_status); } && { 6506 test -z "$ac_c_werror_flag" || 6507 test ! -s conftest.err 6508 } && test -s conftest$ac_exeext && 6509 $as_test_x conftest$ac_exeext; then 6112 (exit $ac_status); } && 6113 { ac_try='test -z "$ac_c_werror_flag" 6114 || test ! -s conftest.err' 6115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6116 (eval $ac_try) 2>&5 6117 ac_status=$? 6118 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6119 (exit $ac_status); }; } && 6120 { ac_try='test -s conftest$ac_exeext' 6121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6122 (eval $ac_try) 2>&5 6123 ac_status=$? 6124 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6125 (exit $ac_status); }; }; then 6510 6126 ac_cv_func__doprnt=yes 6511 6127 else … … 6513 6129 sed 's/^/| /' conftest.$ac_ext >&5 6514 6130 6515 ac_cv_func__doprnt=no 6516 fi 6517 6518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6131 ac_cv_func__doprnt=no 6132 fi 6133 rm -f conftest.err conftest.$ac_objext \ 6519 6134 conftest$ac_exeext conftest.$ac_ext 6520 6135 fi 6521 {echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&56522 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 ; }6136 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 6137 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 6523 6138 if test $ac_cv_func__doprnt = yes; then 6524 6139 … … 6546 6161 do 6547 6162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6548 {echo "$as_me:$LINENO: checking for $ac_func" >&56549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 ; }6550 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then6163 echo "$as_me:$LINENO: checking for $ac_func" >&5 6164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6165 if eval "test \"\${$as_ac_var+set}\" = set"; then 6551 6166 echo $ECHO_N "(cached) $ECHO_C" >&6 6552 6167 else … … 6574 6189 #undef $ac_func 6575 6190 6576 /* Override any GCC internal prototype to avoid an error. 6577 Use char because int might match the return type of a GCC 6578 builtin and then its argument prototype would still apply. */ 6191 /* Override any gcc2 internal prototype to avoid an error. */ 6579 6192 #ifdef __cplusplus 6580 6193 extern "C" 6194 { 6581 6195 #endif 6196 /* We use char because int might match the return type of a gcc2 6197 builtin and then its argument prototype would still apply. */ 6582 6198 char $ac_func (); 6583 6199 /* The GNU C library defines this for functions which it implements 6584 6200 to always fail with ENOSYS. Some functions are actually named 6585 6201 something starting with __ and the normal name is an alias. */ 6586 #if defined __stub_$ac_func || defined __stub___$ac_func6202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6587 6203 choke me 6204 #else 6205 char (*f) () = $ac_func; 6206 #endif 6207 #ifdef __cplusplus 6208 } 6588 6209 #endif 6589 6210 … … 6591 6212 main () 6592 6213 { 6593 return $ac_func ();6214 return f != $ac_func; 6594 6215 ; 6595 6216 return 0; … … 6597 6218 _ACEOF 6598 6219 rm -f conftest.$ac_objext conftest$ac_exeext 6599 if { (ac_try="$ac_link" 6600 case "(($ac_try" in 6601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6602 *) ac_try_echo=$ac_try;; 6603 esac 6604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6605 (eval "$ac_link") 2>conftest.er1 6220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6221 (eval $ac_link) 2>conftest.er1 6606 6222 ac_status=$? 6607 6223 grep -v '^ *+' conftest.er1 >conftest.err … … 6609 6225 cat conftest.err >&5 6610 6226 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6611 (exit $ac_status); } && { 6612 test -z "$ac_c_werror_flag" || 6613 test ! -s conftest.err 6614 } && test -s conftest$ac_exeext && 6615 $as_test_x conftest$ac_exeext; then 6227 (exit $ac_status); } && 6228 { ac_try='test -z "$ac_c_werror_flag" 6229 || test ! -s conftest.err' 6230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6231 (eval $ac_try) 2>&5 6232 ac_status=$? 6233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6234 (exit $ac_status); }; } && 6235 { ac_try='test -s conftest$ac_exeext' 6236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6237 (eval $ac_try) 2>&5 6238 ac_status=$? 6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6240 (exit $ac_status); }; }; then 6616 6241 eval "$as_ac_var=yes" 6617 6242 else … … 6619 6244 sed 's/^/| /' conftest.$ac_ext >&5 6620 6245 6621 eval "$as_ac_var=no" 6622 fi 6623 6624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6246 eval "$as_ac_var=no" 6247 fi 6248 rm -f conftest.err conftest.$ac_objext \ 6625 6249 conftest$ac_exeext conftest.$ac_ext 6626 6250 fi 6627 ac_res=`eval echo '${'$as_ac_var'}'` 6628 { echo "$as_me:$LINENO: result: $ac_res" >&5 6629 echo "${ECHO_T}$ac_res" >&6; } 6251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6630 6253 if test `eval echo '${'$as_ac_var'}'` = yes; then 6631 6254 cat >>confdefs.h <<_ACEOF … … 6642 6265 do 6643 6266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6644 {echo "$as_me:$LINENO: checking for $ac_func" >&56645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 ; }6646 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then6267 echo "$as_me:$LINENO: checking for $ac_func" >&5 6268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6269 if eval "test \"\${$as_ac_var+set}\" = set"; then 6647 6270 echo $ECHO_N "(cached) $ECHO_C" >&6 6648 6271 else … … 6670 6293 #undef $ac_func 6671 6294 6672 /* Override any GCC internal prototype to avoid an error. 6673 Use char because int might match the return type of a GCC 6674 builtin and then its argument prototype would still apply. */ 6295 /* Override any gcc2 internal prototype to avoid an error. */ 6675 6296 #ifdef __cplusplus 6676 6297 extern "C" 6298 { 6677 6299 #endif 6300 /* We use char because int might match the return type of a gcc2 6301 builtin and then its argument prototype would still apply. */ 6678 6302 char $ac_func (); 6679 6303 /* The GNU C library defines this for functions which it implements 6680 6304 to always fail with ENOSYS. Some functions are actually named 6681 6305 something starting with __ and the normal name is an alias. */ 6682 #if defined __stub_$ac_func || defined __stub___$ac_func6306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6683 6307 choke me 6308 #else 6309 char (*f) () = $ac_func; 6310 #endif 6311 #ifdef __cplusplus 6312 } 6684 6313 #endif 6685 6314 … … 6687 6316 main () 6688 6317 { 6689 return $ac_func ();6318 return f != $ac_func; 6690 6319 ; 6691 6320 return 0; … … 6693 6322 _ACEOF 6694 6323 rm -f conftest.$ac_objext conftest$ac_exeext 6695 if { (ac_try="$ac_link" 6696 case "(($ac_try" in 6697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6698 *) ac_try_echo=$ac_try;; 6699 esac 6700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6701 (eval "$ac_link") 2>conftest.er1 6324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6325 (eval $ac_link) 2>conftest.er1 6702 6326 ac_status=$? 6703 6327 grep -v '^ *+' conftest.er1 >conftest.err … … 6705 6329 cat conftest.err >&5 6706 6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6707 (exit $ac_status); } && { 6708 test -z "$ac_c_werror_flag" || 6709 test ! -s conftest.err 6710 } && test -s conftest$ac_exeext && 6711 $as_test_x conftest$ac_exeext; then 6331 (exit $ac_status); } && 6332 { ac_try='test -z "$ac_c_werror_flag" 6333 || test ! -s conftest.err' 6334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6335 (eval $ac_try) 2>&5 6336 ac_status=$? 6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6338 (exit $ac_status); }; } && 6339 { ac_try='test -s conftest$ac_exeext' 6340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6341 (eval $ac_try) 2>&5 6342 ac_status=$? 6343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6344 (exit $ac_status); }; }; then 6712 6345 eval "$as_ac_var=yes" 6713 6346 else … … 6715 6348 sed 's/^/| /' conftest.$ac_ext >&5 6716 6349 6717 eval "$as_ac_var=no" 6718 fi 6719 6720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6350 eval "$as_ac_var=no" 6351 fi 6352 rm -f conftest.err conftest.$ac_objext \ 6721 6353 conftest$ac_exeext conftest.$ac_ext 6722 6354 fi 6723 ac_res=`eval echo '${'$as_ac_var'}'` 6724 { echo "$as_me:$LINENO: result: $ac_res" >&5 6725 echo "${ECHO_T}$ac_res" >&6; } 6355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6726 6357 if test `eval echo '${'$as_ac_var'}'` = yes; then 6727 6358 cat >>confdefs.h <<_ACEOF … … 6730 6361 6731 6362 else 6732 case " $LIBOBJS " in 6363 case $LIBOBJS in 6364 "$ac_func.$ac_objext" | \ 6365 *" $ac_func.$ac_objext" | \ 6366 "$ac_func.$ac_objext "* | \ 6733 6367 *" $ac_func.$ac_objext "* ) ;; 6734 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 6735 ;; 6368 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 6736 6369 esac 6737 6370 … … 6741 6374 6742 6375 6743 {echo "$as_me:$LINENO: checking for textdomain" >&56744 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 ; }6376 echo "$as_me:$LINENO: checking for textdomain" >&5 6377 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 6745 6378 if test "${ac_cv_func_textdomain+set}" = set; then 6746 6379 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6769 6402 #undef textdomain 6770 6403 6771 /* Override any GCC internal prototype to avoid an error. 6772 Use char because int might match the return type of a GCC 6773 builtin and then its argument prototype would still apply. */ 6404 /* Override any gcc2 internal prototype to avoid an error. */ 6774 6405 #ifdef __cplusplus 6775 6406 extern "C" 6407 { 6776 6408 #endif 6409 /* We use char because int might match the return type of a gcc2 6410 builtin and then its argument prototype would still apply. */ 6777 6411 char textdomain (); 6778 6412 /* The GNU C library defines this for functions which it implements 6779 6413 to always fail with ENOSYS. Some functions are actually named 6780 6414 something starting with __ and the normal name is an alias. */ 6781 #if defined __stub_textdomain || defined __stub___textdomain6415 #if defined (__stub_textdomain) || defined (__stub___textdomain) 6782 6416 choke me 6417 #else 6418 char (*f) () = textdomain; 6419 #endif 6420 #ifdef __cplusplus 6421 } 6783 6422 #endif 6784 6423 … … 6786 6425 main () 6787 6426 { 6788 return textdomain ();6427 return f != textdomain; 6789 6428 ; 6790 6429 return 0; … … 6792 6431 _ACEOF 6793 6432 rm -f conftest.$ac_objext conftest$ac_exeext 6794 if { (ac_try="$ac_link" 6795 case "(($ac_try" in 6796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6797 *) ac_try_echo=$ac_try;; 6798 esac 6799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6800 (eval "$ac_link") 2>conftest.er1 6433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6434 (eval $ac_link) 2>conftest.er1 6801 6435 ac_status=$? 6802 6436 grep -v '^ *+' conftest.er1 >conftest.err … … 6804 6438 cat conftest.err >&5 6805 6439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6806 (exit $ac_status); } && { 6807 test -z "$ac_c_werror_flag" || 6808 test ! -s conftest.err 6809 } && test -s conftest$ac_exeext && 6810 $as_test_x conftest$ac_exeext; then 6440 (exit $ac_status); } && 6441 { ac_try='test -z "$ac_c_werror_flag" 6442 || test ! -s conftest.err' 6443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6444 (eval $ac_try) 2>&5 6445 ac_status=$? 6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6447 (exit $ac_status); }; } && 6448 { ac_try='test -s conftest$ac_exeext' 6449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6450 (eval $ac_try) 2>&5 6451 ac_status=$? 6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6453 (exit $ac_status); }; }; then 6811 6454 ac_cv_func_textdomain=yes 6812 6455 else … … 6814 6457 sed 's/^/| /' conftest.$ac_ext >&5 6815 6458 6816 ac_cv_func_textdomain=no 6817 fi 6818 6819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6459 ac_cv_func_textdomain=no 6460 fi 6461 rm -f conftest.err conftest.$ac_objext \ 6820 6462 conftest$ac_exeext conftest.$ac_ext 6821 6463 fi 6822 {echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&56823 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 ; }6464 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 6465 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 6824 6466 if test $ac_cv_func_textdomain = yes; then 6825 6467 cat >>confdefs.h <<\_ACEOF … … 6832 6474 # *** Custom checking (based on GNU tar configure.in) *** 6833 6475 # --------------------------------------------------------------------------- 6834 {echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&56835 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 ; }6476 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 6477 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 6836 6478 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 6837 { echo "$as_me:$LINENO: result: yes" >&5 6838 echo "${ECHO_T}yes" >&6; } 6839 case " $LIBOBJS " in 6479 echo "$as_me:$LINENO: result: yes" >&5 6480 echo "${ECHO_T}yes" >&6 6481 case $LIBOBJS in 6482 "gmalloc.$ac_objext" | \ 6483 *" gmalloc.$ac_objext" | \ 6484 "gmalloc.$ac_objext "* | \ 6840 6485 *" gmalloc.$ac_objext "* ) ;; 6841 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" 6842 ;; 6486 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;; 6843 6487 esac 6844 6488 … … 6848 6492 6849 6493 else 6850 {echo "$as_me:$LINENO: result: no" >&56851 echo "${ECHO_T}no" >&6 ; }6494 echo "$as_me:$LINENO: result: no" >&5 6495 echo "${ECHO_T}no" >&6 6852 6496 6853 6497 for ac_func in valloc 6854 6498 do 6855 6499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6856 {echo "$as_me:$LINENO: checking for $ac_func" >&56857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 ; }6858 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then6500 echo "$as_me:$LINENO: checking for $ac_func" >&5 6501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6502 if eval "test \"\${$as_ac_var+set}\" = set"; then 6859 6503 echo $ECHO_N "(cached) $ECHO_C" >&6 6860 6504 else … … 6882 6526 #undef $ac_func 6883 6527 6884 /* Override any GCC internal prototype to avoid an error. 6885 Use char because int might match the return type of a GCC 6886 builtin and then its argument prototype would still apply. */ 6528 /* Override any gcc2 internal prototype to avoid an error. */ 6887 6529 #ifdef __cplusplus 6888 6530 extern "C" 6531 { 6889 6532 #endif 6533 /* We use char because int might match the return type of a gcc2 6534 builtin and then its argument prototype would still apply. */ 6890 6535 char $ac_func (); 6891 6536 /* The GNU C library defines this for functions which it implements 6892 6537 to always fail with ENOSYS. Some functions are actually named 6893 6538 something starting with __ and the normal name is an alias. */ 6894 #if defined __stub_$ac_func || defined __stub___$ac_func6539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func) 6895 6540 choke me 6541 #else 6542 char (*f) () = $ac_func; 6543 #endif 6544 #ifdef __cplusplus 6545 } 6896 6546 #endif 6897 6547 … … 6899 6549 main () 6900 6550 { 6901 return $ac_func ();6551 return f != $ac_func; 6902 6552 ; 6903 6553 return 0; … … 6905 6555 _ACEOF 6906 6556 rm -f conftest.$ac_objext conftest$ac_exeext 6907 if { (ac_try="$ac_link" 6908 case "(($ac_try" in 6909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6910 *) ac_try_echo=$ac_try;; 6911 esac 6912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6913 (eval "$ac_link") 2>conftest.er1 6557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6558 (eval $ac_link) 2>conftest.er1 6914 6559 ac_status=$? 6915 6560 grep -v '^ *+' conftest.er1 >conftest.err … … 6917 6562 cat conftest.err >&5 6918 6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6919 (exit $ac_status); } && { 6920 test -z "$ac_c_werror_flag" || 6921 test ! -s conftest.err 6922 } && test -s conftest$ac_exeext && 6923 $as_test_x conftest$ac_exeext; then 6564 (exit $ac_status); } && 6565 { ac_try='test -z "$ac_c_werror_flag" 6566 || test ! -s conftest.err' 6567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6568 (eval $ac_try) 2>&5 6569 ac_status=$? 6570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6571 (exit $ac_status); }; } && 6572 { ac_try='test -s conftest$ac_exeext' 6573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6574 (eval $ac_try) 2>&5 6575 ac_status=$? 6576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6577 (exit $ac_status); }; }; then 6924 6578 eval "$as_ac_var=yes" 6925 6579 else … … 6927 6581 sed 's/^/| /' conftest.$ac_ext >&5 6928 6582 6929 eval "$as_ac_var=no" 6930 fi 6931 6932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6583 eval "$as_ac_var=no" 6584 fi 6585 rm -f conftest.err conftest.$ac_objext \ 6933 6586 conftest$ac_exeext conftest.$ac_ext 6934 6587 fi 6935 ac_res=`eval echo '${'$as_ac_var'}'` 6936 { echo "$as_me:$LINENO: result: $ac_res" >&5 6937 echo "${ECHO_T}$ac_res" >&6; } 6588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6938 6590 if test `eval echo '${'$as_ac_var'}'` = yes; then 6939 6591 cat >>confdefs.h <<_ACEOF … … 6947 6599 6948 6600 # we cannot generate static libraries under Darwin 6949 {echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&56950 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6 ; }6601 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5 6602 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6 6951 6603 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 6952 {echo "$as_me:$LINENO: result: yes" >&56953 echo "${ECHO_T}yes" >&6 ; }6604 echo "$as_me:$LINENO: result: yes" >&5 6605 echo "${ECHO_T}yes" >&6 6954 6606 STATIC="" 6955 6607 else 6956 {echo "$as_me:$LINENO: result: no" >&56957 echo "${ECHO_T}no" >&6 ; }6608 echo "$as_me:$LINENO: result: no" >&5 6609 echo "${ECHO_T}no" >&6 6958 6610 STATIC="-static " 6959 6611 fi 6960 6612 6961 6613 6962 {echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&56963 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 ; }6964 6965 # Check whether --with-dmalloc was given.6614 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 6615 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 6616 6617 # Check whether --with-dmalloc or --without-dmalloc was given. 6966 6618 if test "${with_dmalloc+set}" = set; then 6967 withval=$with_dmalloc; if test "$withval" = yes; then 6968 { echo "$as_me:$LINENO: result: yes" >&5 6969 echo "${ECHO_T}yes" >&6; } 6619 withval="$with_dmalloc" 6620 if test "$withval" = yes; then 6621 echo "$as_me:$LINENO: result: yes" >&5 6622 echo "${ECHO_T}yes" >&6 6970 6623 cat >>confdefs.h <<\_ACEOF 6971 6624 #define WITH_DMALLOC 1 … … 6975 6628 LDFLAGS="$LDFLAGS -g" 6976 6629 else 6977 { echo "$as_me:$LINENO: result: no" >&5 6978 echo "${ECHO_T}no" >&6; } 6979 fi 6980 else 6981 { echo "$as_me:$LINENO: result: no" >&5 6982 echo "${ECHO_T}no" >&6; } 6983 fi 6984 6985 6986 { echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 6987 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6; } 6988 6989 # Check whether --with-regex was given. 6630 echo "$as_me:$LINENO: result: no" >&5 6631 echo "${ECHO_T}no" >&6 6632 fi 6633 else 6634 echo "$as_me:$LINENO: result: no" >&5 6635 echo "${ECHO_T}no" >&6 6636 fi; 6637 6638 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 6639 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 6640 6641 # Check whether --with-regex or --without-regex was given. 6990 6642 if test "${with_regex+set}" = set; then 6991 withval=$with_regex; if test "$withval" = yes; then 6643 withval="$with_regex" 6644 if test "$withval" = yes; then 6992 6645 ac_with_regex=1 6993 {echo "$as_me:$LINENO: result: regex" >&56994 echo "${ECHO_T}regex" >&6 ; }6646 echo "$as_me:$LINENO: result: regex" >&5 6647 echo "${ECHO_T}regex" >&6 6995 6648 cat >>confdefs.h <<\_ACEOF 6996 6649 #define WITH_REGEX 1 6997 6650 _ACEOF 6998 6651 6999 case " $LIBOBJS " in 6652 case $LIBOBJS in 6653 "regex.$ac_objext" | \ 6654 *" regex.$ac_objext" | \ 6655 "regex.$ac_objext "* | \ 7000 6656 *" regex.$ac_objext "* ) ;; 7001 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 7002 ;; 6657 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 7003 6658 esac 7004 6659 7005 6660 fi 7006 fi 7007 6661 fi; 7008 6662 if test -z "$ac_with_regex"; then 7009 {echo "$as_me:$LINENO: result: rx" >&57010 echo "${ECHO_T}rx" >&6 ; }7011 {echo "$as_me:$LINENO: checking for re_rx_search" >&57012 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 ; }6663 echo "$as_me:$LINENO: result: rx" >&5 6664 echo "${ECHO_T}rx" >&6 6665 echo "$as_me:$LINENO: checking for re_rx_search" >&5 6666 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 7013 6667 if test "${ac_cv_func_re_rx_search+set}" = set; then 7014 6668 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7037 6691 #undef re_rx_search 7038 6692 7039 /* Override any GCC internal prototype to avoid an error. 7040 Use char because int might match the return type of a GCC 7041 builtin and then its argument prototype would still apply. */ 6693 /* Override any gcc2 internal prototype to avoid an error. */ 7042 6694 #ifdef __cplusplus 7043 6695 extern "C" 6696 { 7044 6697 #endif 6698 /* We use char because int might match the return type of a gcc2 6699 builtin and then its argument prototype would still apply. */ 7045 6700 char re_rx_search (); 7046 6701 /* The GNU C library defines this for functions which it implements 7047 6702 to always fail with ENOSYS. Some functions are actually named 7048 6703 something starting with __ and the normal name is an alias. */ 7049 #if defined __stub_re_rx_search || defined __stub___re_rx_search6704 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search) 7050 6705 choke me 6706 #else 6707 char (*f) () = re_rx_search; 6708 #endif 6709 #ifdef __cplusplus 6710 } 7051 6711 #endif 7052 6712 … … 7054 6714 main () 7055 6715 { 7056 return re_rx_search ();6716 return f != re_rx_search; 7057 6717 ; 7058 6718 return 0; … … 7060 6720 _ACEOF 7061 6721 rm -f conftest.$ac_objext conftest$ac_exeext 7062 if { (ac_try="$ac_link" 7063 case "(($ac_try" in 7064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7065 *) ac_try_echo=$ac_try;; 7066 esac 7067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7068 (eval "$ac_link") 2>conftest.er1 6722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6723 (eval $ac_link) 2>conftest.er1 7069 6724 ac_status=$? 7070 6725 grep -v '^ *+' conftest.er1 >conftest.err … … 7072 6727 cat conftest.err >&5 7073 6728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7074 (exit $ac_status); } && { 7075 test -z "$ac_c_werror_flag" || 7076 test ! -s conftest.err 7077 } && test -s conftest$ac_exeext && 7078 $as_test_x conftest$ac_exeext; then 6729 (exit $ac_status); } && 6730 { ac_try='test -z "$ac_c_werror_flag" 6731 || test ! -s conftest.err' 6732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6733 (eval $ac_try) 2>&5 6734 ac_status=$? 6735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6736 (exit $ac_status); }; } && 6737 { ac_try='test -s conftest$ac_exeext' 6738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6739 (eval $ac_try) 2>&5 6740 ac_status=$? 6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6742 (exit $ac_status); }; }; then 7079 6743 ac_cv_func_re_rx_search=yes 7080 6744 else … … 7082 6746 sed 's/^/| /' conftest.$ac_ext >&5 7083 6747 7084 ac_cv_func_re_rx_search=no 7085 fi 7086 7087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6748 ac_cv_func_re_rx_search=no 6749 fi 6750 rm -f conftest.err conftest.$ac_objext \ 7088 6751 conftest$ac_exeext conftest.$ac_ext 7089 6752 fi 7090 {echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&57091 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 ; }6753 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 6754 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 7092 6755 if test $ac_cv_func_re_rx_search = yes; then 7093 6756 : 7094 6757 else 7095 case " $LIBOBJS " in 6758 case $LIBOBJS in 6759 "rx.$ac_objext" | \ 6760 *" rx.$ac_objext" | \ 6761 "rx.$ac_objext "* | \ 7096 6762 *" rx.$ac_objext "* ) ;; 7097 *) LIBOBJS="$LIBOBJS rx.$ac_objext" 7098 ;; 6763 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 7099 6764 esac 7100 6765 … … 7106 6771 # --------------------------------------------------------------------------- 7107 6772 if test "$ac_cv_func_alloca" = 'no'; then 7108 case " $LIBOBJS " in 6773 case $LIBOBJS in 6774 "xmalloc.$ac_objext" | \ 6775 *" xmalloc.$ac_objext" | \ 6776 "xmalloc.$ac_objext "* | \ 7109 6777 *" xmalloc.$ac_objext "* ) ;; 7110 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" 7111 ;; 6778 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;; 7112 6779 esac 7113 6780 7114 case " $LIBOBJS " in 6781 case $LIBOBJS in 6782 "error.$ac_objext" | \ 6783 *" error.$ac_objext" | \ 6784 "error.$ac_objext "* | \ 7115 6785 *" error.$ac_objext "* ) ;; 7116 *) LIBOBJS="$LIBOBJS error.$ac_objext" 7117 ;; 6786 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 7118 6787 esac 7119 6788 … … 7123 6792 # --------------------------------------------------------------------------- 7124 6793 7125 ac_ext=c pp6794 ac_ext=cc 7126 6795 ac_cpp='$CXXCPP $CPPFLAGS' 7127 6796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 7131 6800 7132 6801 success=no 7133 {echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&57134 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 ; }6802 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 6803 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 7135 6804 7136 6805 … … 7152 6821 _ACEOF 7153 6822 rm -f conftest.$ac_objext 7154 if { (ac_try="$ac_compile" 7155 case "(($ac_try" in 7156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7157 *) ac_try_echo=$ac_try;; 7158 esac 7159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7160 (eval "$ac_compile") 2>conftest.er1 6823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6824 (eval $ac_compile) 2>conftest.er1 7161 6825 ac_status=$? 7162 6826 grep -v '^ *+' conftest.er1 >conftest.err … … 7164 6828 cat conftest.err >&5 7165 6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7166 (exit $ac_status); } && { 7167 test -z "$ac_cxx_werror_flag" || 7168 test ! -s conftest.err 7169 } && test -s conftest.$ac_objext; then 6830 (exit $ac_status); } && 6831 { ac_try='test -z "$ac_cxx_werror_flag" 6832 || test ! -s conftest.err' 6833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6834 (eval $ac_try) 2>&5 6835 ac_status=$? 6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6837 (exit $ac_status); }; } && 6838 { ac_try='test -s conftest.$ac_objext' 6839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6840 (eval $ac_try) 2>&5 6841 ac_status=$? 6842 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6843 (exit $ac_status); }; }; then 7170 6844 success=yes 7171 6845 else … … 7173 6847 sed 's/^/| /' conftest.$ac_ext >&5 7174 6848 7175 7176 fi 7177 7178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6849 fi 6850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7179 6851 7180 6852 if test $success = "no"; then … … 7196 6868 _ACEOF 7197 6869 rm -f conftest.$ac_objext 7198 if { (ac_try="$ac_compile" 7199 case "(($ac_try" in 7200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7201 *) ac_try_echo=$ac_try;; 7202 esac 7203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7204 (eval "$ac_compile") 2>conftest.er1 6870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6871 (eval $ac_compile) 2>conftest.er1 7205 6872 ac_status=$? 7206 6873 grep -v '^ *+' conftest.er1 >conftest.err … … 7208 6875 cat conftest.err >&5 7209 6876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7210 (exit $ac_status); } && { 7211 test -z "$ac_cxx_werror_flag" || 7212 test ! -s conftest.err 7213 } && test -s conftest.$ac_objext; then 6877 (exit $ac_status); } && 6878 { ac_try='test -z "$ac_cxx_werror_flag" 6879 || test ! -s conftest.err' 6880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6881 (eval $ac_try) 2>&5 6882 ac_status=$? 6883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6884 (exit $ac_status); }; } && 6885 { ac_try='test -s conftest.$ac_objext' 6886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6887 (eval $ac_try) 2>&5 6888 ac_status=$? 6889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6890 (exit $ac_status); }; }; then 7214 6891 success="yes" 7215 6892 else … … 7217 6894 sed 's/^/| /' conftest.$ac_ext >&5 7218 6895 7219 7220 fi 7221 7222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6896 fi 6897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7223 6898 fi 7224 6899 … … 7241 6916 _ACEOF 7242 6917 rm -f conftest.$ac_objext 7243 if { (ac_try="$ac_compile" 7244 case "(($ac_try" in 7245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7246 *) ac_try_echo=$ac_try;; 7247 esac 7248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7249 (eval "$ac_compile") 2>conftest.er1 6918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6919 (eval $ac_compile) 2>conftest.er1 7250 6920 ac_status=$? 7251 6921 grep -v '^ *+' conftest.er1 >conftest.err … … 7253 6923 cat conftest.err >&5 7254 6924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7255 (exit $ac_status); } && { 7256 test -z "$ac_cxx_werror_flag" || 7257 test ! -s conftest.err 7258 } && test -s conftest.$ac_objext; then 6925 (exit $ac_status); } && 6926 { ac_try='test -z "$ac_cxx_werror_flag" 6927 || test ! -s conftest.err' 6928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6929 (eval $ac_try) 2>&5 6930 ac_status=$? 6931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6932 (exit $ac_status); }; } && 6933 { ac_try='test -s conftest.$ac_objext' 6934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6935 (eval $ac_try) 2>&5 6936 ac_status=$? 6937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6938 (exit $ac_status); }; }; then 7259 6939 success="yes" 7260 6940 else … … 7262 6942 sed 's/^/| /' conftest.$ac_ext >&5 7263 6943 7264 7265 fi 7266 7267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6944 fi 6945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7268 6946 fi 7269 6947 7270 6948 if test $success = yes; then 7271 {echo "$as_me:$LINENO: result: \"no\"" >&57272 echo "${ECHO_T}\"no\"" >&6 ; }7273 else 7274 {echo "$as_me:$LINENO: result: \"yes\"" >&57275 echo "${ECHO_T}\"yes\"" >&6 ; }6949 echo "$as_me:$LINENO: result: \"no\"" >&5 6950 echo "${ECHO_T}\"no\"" >&6 6951 else 6952 echo "$as_me:$LINENO: result: \"yes\"" >&5 6953 echo "${ECHO_T}\"yes\"" >&6 7276 6954 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 7277 6955 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} … … 7288 6966 7289 6967 # check for endianness 7290 {echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&57291 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 ; }6968 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 6969 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 7292 6970 if test "${ac_cv_c_bigendian+set}" = set; then 7293 6971 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7306 6984 main () 7307 6985 { 7308 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 7309 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 6986 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7310 6987 bogus endian macros 7311 6988 #endif … … 7316 6993 _ACEOF 7317 6994 rm -f conftest.$ac_objext 7318 if { (ac_try="$ac_compile" 7319 case "(($ac_try" in 7320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7321 *) ac_try_echo=$ac_try;; 7322 esac 7323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7324 (eval "$ac_compile") 2>conftest.er1 6995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6996 (eval $ac_compile) 2>conftest.er1 7325 6997 ac_status=$? 7326 6998 grep -v '^ *+' conftest.er1 >conftest.err … … 7328 7000 cat conftest.err >&5 7329 7001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7330 (exit $ac_status); } && { 7331 test -z "$ac_cxx_werror_flag" || 7332 test ! -s conftest.err 7333 } && test -s conftest.$ac_objext; then 7002 (exit $ac_status); } && 7003 { ac_try='test -z "$ac_cxx_werror_flag" 7004 || test ! -s conftest.err' 7005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7006 (eval $ac_try) 2>&5 7007 ac_status=$? 7008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7009 (exit $ac_status); }; } && 7010 { ac_try='test -s conftest.$ac_objext' 7011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7012 (eval $ac_try) 2>&5 7013 ac_status=$? 7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7015 (exit $ac_status); }; }; then 7334 7016 # It does; now see whether it defined to BIG_ENDIAN or not. 7335 7017 cat >conftest.$ac_ext <<_ACEOF … … 7354 7036 _ACEOF 7355 7037 rm -f conftest.$ac_objext 7356 if { (ac_try="$ac_compile" 7357 case "(($ac_try" in 7358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7359 *) ac_try_echo=$ac_try;; 7360 esac 7361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7362 (eval "$ac_compile") 2>conftest.er1 7038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7039 (eval $ac_compile) 2>conftest.er1 7363 7040 ac_status=$? 7364 7041 grep -v '^ *+' conftest.er1 >conftest.err … … 7366 7043 cat conftest.err >&5 7367 7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7368 (exit $ac_status); } && { 7369 test -z "$ac_cxx_werror_flag" || 7370 test ! -s conftest.err 7371 } && test -s conftest.$ac_objext; then 7045 (exit $ac_status); } && 7046 { ac_try='test -z "$ac_cxx_werror_flag" 7047 || test ! -s conftest.err' 7048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7049 (eval $ac_try) 2>&5 7050 ac_status=$? 7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7052 (exit $ac_status); }; } && 7053 { ac_try='test -s conftest.$ac_objext' 7054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7055 (eval $ac_try) 2>&5 7056 ac_status=$? 7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7058 (exit $ac_status); }; }; then 7372 7059 ac_cv_c_bigendian=yes 7373 7060 else … … 7375 7062 sed 's/^/| /' conftest.$ac_ext >&5 7376 7063 7377 ac_cv_c_bigendian=no 7378 fi 7379 7380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7064 ac_cv_c_bigendian=no 7065 fi 7066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7381 7067 else 7382 7068 echo "$as_me: failed program was:" >&5 7383 7069 sed 's/^/| /' conftest.$ac_ext >&5 7384 7070 7385 7071 # It does not; compile a test program. 7386 7072 if test "$cross_compiling" = yes; then 7387 7073 # try to guess the endianness by grepping values into an object file … … 7393 7079 cat >>conftest.$ac_ext <<_ACEOF 7394 7080 /* end confdefs.h. */ 7395 short intascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };7396 short intascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };7081 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7082 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7397 7083 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7398 short intebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };7399 short intebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };7084 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7085 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7400 7086 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 7401 7087 int … … 7408 7094 _ACEOF 7409 7095 rm -f conftest.$ac_objext 7410 if { (ac_try="$ac_compile" 7411 case "(($ac_try" in 7412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7413 *) ac_try_echo=$ac_try;; 7414 esac 7415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7416 (eval "$ac_compile") 2>conftest.er1 7096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7097 (eval $ac_compile) 2>conftest.er1 7417 7098 ac_status=$? 7418 7099 grep -v '^ *+' conftest.er1 >conftest.err … … 7420 7101 cat conftest.err >&5 7421 7102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7422 (exit $ac_status); } && { 7423 test -z "$ac_cxx_werror_flag" || 7424 test ! -s conftest.err 7425 } && test -s conftest.$ac_objext; then 7103 (exit $ac_status); } && 7104 { ac_try='test -z "$ac_cxx_werror_flag" 7105 || test ! -s conftest.err' 7106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7107 (eval $ac_try) 2>&5 7108 ac_status=$? 7109 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7110 (exit $ac_status); }; } && 7111 { ac_try='test -s conftest.$ac_objext' 7112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7113 (eval $ac_try) 2>&5 7114 ac_status=$? 7115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7116 (exit $ac_status); }; }; then 7426 7117 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7427 7118 ac_cv_c_bigendian=yes … … 7439 7130 sed 's/^/| /' conftest.$ac_ext >&5 7440 7131 7441 7442 fi 7443 7444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7132 fi 7133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7445 7134 else 7446 7135 cat >conftest.$ac_ext <<_ACEOF … … 7450 7139 cat >>conftest.$ac_ext <<_ACEOF 7451 7140 /* end confdefs.h. */ 7452 $ac_includes_default7453 7141 int 7454 7142 main () 7455 7143 { 7456 7457 7144 /* Are we little or big endian? From Harbison&Steele. */ 7458 7145 union 7459 7146 { 7460 long intl;7461 char c[sizeof (long int)];7147 long l; 7148 char c[sizeof (long)]; 7462 7149 } u; 7463 7150 u.l = 1; 7464 return u.c[sizeof (long int) - 1] == 1; 7465 7466 ; 7467 return 0; 7151 exit (u.c[sizeof (long) - 1] == 1); 7468 7152 } 7469 7153 _ACEOF 7470 7154 rm -f conftest$ac_exeext 7471 if { (ac_try="$ac_link" 7472 case "(($ac_try" in 7473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7474 *) ac_try_echo=$ac_try;; 7475 esac 7476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7477 (eval "$ac_link") 2>&5 7155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7156 (eval $ac_link) 2>&5 7478 7157 ac_status=$? 7479 7158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7480 7159 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7481 { (case "(($ac_try" in 7482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7483 *) ac_try_echo=$ac_try;; 7484 esac 7485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7486 (eval "$ac_try") 2>&5 7160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7161 (eval $ac_try) 2>&5 7487 7162 ac_status=$? 7488 7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 7497 7172 ac_cv_c_bigendian=yes 7498 7173 fi 7499 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7500 fi 7501 7502 7503 fi 7504 7505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7506 fi 7507 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7508 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 7174 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7175 fi 7176 fi 7177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7178 fi 7179 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7180 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 7509 7181 case $ac_cv_c_bigendian in 7510 7182 yes) … … 7526 7198 # --------------------------------------------------------------------------- 7527 7199 if test "$ac_cv_func_alloca" = 'no'; then 7528 case " $LIBOBJS " in 7200 case $LIBOBJS in 7201 "xmalloc.o.$ac_objext" | \ 7202 *" xmalloc.o.$ac_objext" | \ 7203 "xmalloc.o.$ac_objext "* | \ 7529 7204 *" xmalloc.o.$ac_objext "* ) ;; 7530 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" 7531 ;; 7205 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;; 7532 7206 esac 7533 7207 7534 case " $LIBOBJS " in 7208 case $LIBOBJS in 7209 "error.$ac_objext" | \ 7210 *" error.$ac_objext" | \ 7211 "error.$ac_objext "* | \ 7535 7212 *" error.$ac_objext "* ) ;; 7536 *) LIBOBJS="$LIBOBJS error.$ac_objext" 7537 ;; 7213 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 7538 7214 esac 7539 7215 … … 7562 7238 # --------------------------------------------------------------------------- 7563 7239 7240 7241 7564 7242 subdirs="$subdirs packages" 7565 7243 … … 7567 7245 commonsrcprefix=`pwd` 7568 7246 ac_configure_args="$ac_configure_args --with-libiconv-prefix=$commonsrcprefix/packages/iconv" 7247 7248 7569 7249 subdirs="$subdirs indexers" 7570 7250 … … 7580 7260 src/getpw/Makefile" 7581 7261 7582 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 7583 7262 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 7584 7263 cat >confcache <<\_ACEOF 7585 7264 # This file is a shell script that caches the results of configure … … 7600 7279 # The following way of writing the cache mishandles newlines in values, 7601 7280 # but we know of no workaround that is simple, portable, and efficient. 7602 # So, we kill variables containing newlines.7281 # So, don't put newlines in cache variables' values. 7603 7282 # Ultrix sh set writes to stderr and can't be redirected directly, 7604 7283 # and sets the high bit in the cache file unless we assign to the vars. 7605 ( 7606 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 7607 eval ac_val=\$$ac_var 7608 case $ac_val in #( 7609 *${as_nl}*) 7610 case $ac_var in #( 7611 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 7612 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 7613 esac 7614 case $ac_var in #( 7615 _ | IFS | as_nl) ;; #( 7616 *) $as_unset $ac_var ;; 7617 esac ;; 7618 esac 7619 done 7620 7284 { 7621 7285 (set) 2>&1 | 7622 case $as_nl`(ac_space=' '; set) 2>&1` in #(7623 * ${as_nl}ac_space=\ *)7286 case `(ac_space=' '; set | grep ac_space) 2>&1` in 7287 *ac_space=\ *) 7624 7288 # `set' does not quote correctly, so add quotes (double-quote 7625 7289 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 7627 7291 "s/'/'\\\\''/g; 7628 7292 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7629 ;; #(7293 ;; 7630 7294 *) 7631 7295 # `set' quotes correctly as required by POSIX, so do not add quotes. 7632 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7296 sed -n \ 7297 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 7633 7298 ;; 7634 esac | 7635 sort 7636 ) | 7299 esac; 7300 } | 7637 7301 sed ' 7638 /^ac_cv_env_/b end7639 7302 t clear 7640 : clear7303 : clear 7641 7304 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7642 7305 t end 7643 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7644 :end' >>confcache 7645 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7646 if test -w "$cache_file"; then 7647 test "x$cache_file" != "x/dev/null" && 7648 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 7649 echo "$as_me: updating cache $cache_file" >&6;} 7306 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7307 : end' >>confcache 7308 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7309 if test -w $cache_file; then 7310 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 7650 7311 cat confcache >$cache_file 7651 7312 else 7652 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 7653 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7313 echo "not updating unwritable cache $cache_file" 7654 7314 fi 7655 7315 fi … … 7659 7319 # Let make expand exec_prefix. 7660 7320 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7321 7322 # VPATH may cause trouble with some makes, so we remove $(srcdir), 7323 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7324 # trailing colons and then remove the whole line if VPATH becomes empty 7325 # (actually we leave an empty line to preserve line numbers). 7326 if test "x$srcdir" = x.; then 7327 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 7328 s/:*\$(srcdir):*/:/; 7329 s/:*\${srcdir}:*/:/; 7330 s/:*@srcdir@:*/:/; 7331 s/^\([^=]*=[ ]*\):*/\1/; 7332 s/:*$//; 7333 s/^[^=]*=[ ]*$//; 7334 }' 7335 fi 7661 7336 7662 7337 DEFS=-DHAVE_CONFIG_H … … 7666 7341 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7667 7342 # 1. Remove the extension, and $U if already installed. 7668 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 7669 ac_i=`echo "$ac_i" | sed "$ac_script"` 7670 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 7671 # will be set to the directory where LIBOBJS objects are built. 7672 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 7673 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 7343 ac_i=`echo "$ac_i" | 7344 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7345 # 2. Add them. 7346 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7347 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 7674 7348 done 7675 7349 LIBOBJS=$ac_libobjs … … 7702 7376 ## --------------------- ## 7703 7377 7704 # Be more Bourne compatible 7705 DUALCASE=1; export DUALCASE # for MKS sh 7378 # Be Bourne compatible 7706 7379 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 7707 7380 emulate sh … … 7710 7383 # is contrary to our usage. Disable this feature. 7711 7384 alias -g '${1+"$@"}'='"$@"' 7712 setopt NO_GLOB_SUBST 7713 else 7714 case `(set -o) 2>/dev/null` in 7715 *posix*) set -o posix ;; 7716 esac 7717 7718 fi 7719 7720 7721 7722 7723 # PATH needs CR 7385 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 7386 set -o posix 7387 fi 7388 DUALCASE=1; export DUALCASE # for MKS sh 7389 7390 # Support unset when possible. 7391 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7392 as_unset=unset 7393 else 7394 as_unset=false 7395 fi 7396 7397 7398 # Work around bugs in pre-3.0 UWIN ksh. 7399 $as_unset ENV MAIL MAILPATH 7400 PS1='$ ' 7401 PS2='> ' 7402 PS4='+ ' 7403 7404 # NLS nuisances. 7405 for as_var in \ 7406 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 7407 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 7408 LC_TELEPHONE LC_TIME 7409 do 7410 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 7411 eval $as_var=C; export $as_var 7412 else 7413 $as_unset $as_var 7414 fi 7415 done 7416 7417 # Required to use basename. 7418 if expr a : '\(a\)' >/dev/null 2>&1; then 7419 as_expr=expr 7420 else 7421 as_expr=false 7422 fi 7423 7424 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 7425 as_basename=basename 7426 else 7427 as_basename=false 7428 fi 7429 7430 7431 # Name of the executable. 7432 as_me=`$as_basename "$0" || 7433 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7434 X"$0" : 'X\(//\)$' \| \ 7435 X"$0" : 'X\(/\)$' \| \ 7436 . : '\(.\)' 2>/dev/null || 7437 echo X/"$0" | 7438 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 7439 /^X\/\(\/\/\)$/{ s//\1/; q; } 7440 /^X\/\(\/\).*/{ s//\1/; q; } 7441 s/.*/./; q'` 7442 7443 7444 # PATH needs CR, and LINENO needs CR and PATH. 7724 7445 # Avoid depending upon Character Ranges. 7725 7446 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 7742 7463 fi 7743 7464 7744 # Support unset when possible. 7745 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7746 as_unset=unset 7747 else 7748 as_unset=false 7749 fi 7750 7751 7752 # IFS 7753 # We need space, tab and new line, in precisely that order. Quoting is 7754 # there to prevent editors from complaining about space-tab. 7755 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 7756 # splitting by setting IFS to empty value.) 7757 as_nl=' 7758 ' 7759 IFS=" "" $as_nl" 7760 7761 # Find who we are. Look in the path if we contain no directory separator. 7762 case $0 in 7763 *[\\/]* ) as_myself=$0 ;; 7764 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7465 7466 as_lineno_1=$LINENO 7467 as_lineno_2=$LINENO 7468 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 7469 test "x$as_lineno_1" != "x$as_lineno_2" && 7470 test "x$as_lineno_3" = "x$as_lineno_2" || { 7471 # Find who we are. Look in the path if we contain no path at all 7472 # relative or not. 7473 case $0 in 7474 *[\\/]* ) as_myself=$0 ;; 7475 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7765 7476 for as_dir in $PATH 7766 7477 do … … 7769 7480 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7770 7481 done 7771 IFS=$as_save_IFS 7772 7773 ;; 7774 esac 7775 # We did not find ourselves, most probably we were run as `sh COMMAND' 7776 # in which case we are not to be found in the path. 7777 if test "x$as_myself" = x; then 7778 as_myself=$0 7779 fi 7780 if test ! -f "$as_myself"; then 7781 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 7782 { (exit 1); exit 1; } 7783 fi 7784 7785 # Work around bugs in pre-3.0 UWIN ksh. 7786 for as_var in ENV MAIL MAILPATH 7787 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 7788 done 7789 PS1='$ ' 7790 PS2='> ' 7791 PS4='+ ' 7792 7793 # NLS nuisances. 7794 for as_var in \ 7795 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 7796 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 7797 LC_TELEPHONE LC_TIME 7482 7483 ;; 7484 esac 7485 # We did not find ourselves, most probably we were run as `sh COMMAND' 7486 # in which case we are not to be found in the path. 7487 if test "x$as_myself" = x; then 7488 as_myself=$0 7489 fi 7490 if test ! -f "$as_myself"; then 7491 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 7492 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 7493 { (exit 1); exit 1; }; } 7494 fi 7495 case $CONFIG_SHELL in 7496 '') 7497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7498 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 7798 7499 do 7799 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 7800 eval $as_var=C; export $as_var 7801 else 7802 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 7803 fi 7804 done 7805 7806 # Required to use basename. 7807 if expr a : '\(a\)' >/dev/null 2>&1 && 7808 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7809 as_expr=expr 7810 else 7811 as_expr=false 7812 fi 7813 7814 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 7815 as_basename=basename 7816 else 7817 as_basename=false 7818 fi 7819 7820 7821 # Name of the executable. 7822 as_me=`$as_basename -- "$0" || 7823 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7824 X"$0" : 'X\(//\)$' \| \ 7825 X"$0" : 'X\(/\)' \| . 2>/dev/null || 7826 echo X/"$0" | 7827 sed '/^.*\/\([^/][^/]*\)\/*$/{ 7828 s//\1/ 7829 q 7830 } 7831 /^X\/\(\/\/\)$/{ 7832 s//\1/ 7833 q 7834 } 7835 /^X\/\(\/\).*/{ 7836 s//\1/ 7837 q 7838 } 7839 s/.*/./; q'` 7840 7841 # CDPATH. 7842 $as_unset CDPATH 7843 7844 7845 7500 IFS=$as_save_IFS 7501 test -z "$as_dir" && as_dir=. 7502 for as_base in sh bash ksh sh5; do 7503 case $as_dir in 7504 /*) 7505 if ("$as_dir/$as_base" -c ' 7846 7506 as_lineno_1=$LINENO 7847 7507 as_lineno_2=$LINENO 7508 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 7848 7509 test "x$as_lineno_1" != "x$as_lineno_2" && 7849 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 7510 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 7511 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 7512 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 7513 CONFIG_SHELL=$as_dir/$as_base 7514 export CONFIG_SHELL 7515 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 7516 fi;; 7517 esac 7518 done 7519 done 7520 ;; 7521 esac 7850 7522 7851 7523 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 7852 7524 # uniformly replaced by the line number. The first 'sed' inserts a 7853 # line-number line after each line using $LINENO; the second 'sed' 7854 # does the real work. The second script uses 'N' to pair each 7855 # line-number line with the line containing $LINENO, and appends 7856 # trailing '-' during substitution so that $LINENO is not a special 7857 # case at line end. 7525 # line-number line before each line; the second 'sed' does the real 7526 # work. The second script uses 'N' to pair each line-number line 7527 # with the numbered line, and appends trailing '-' during 7528 # substitution so that $LINENO is not a special case at line end. 7858 7529 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 7859 # scripts with optimization help from Paolo Bonzini. Blame Lee 7860 # E. McMahon (1931-1989) for sed's syntax. :-) 7861 sed -n ' 7862 p 7863 /[$]LINENO/= 7864 ' <$as_myself | 7530 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 7531 sed '=' <$as_myself | 7865 7532 sed ' 7866 s/[$]LINENO.*/&-/7867 t lineno7868 b7869 :lineno7870 7533 N 7871 :loop 7872 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 7534 s,$,-, 7535 : loop 7536 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 7873 7537 t loop 7874 s/-\n.*// 7538 s,-$,, 7539 s,^['$as_cr_digits']*\n,, 7875 7540 ' >$as_me.lineno && 7876 chmod +x "$as_me.lineno" || 7877 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 7541 chmod +x $as_me.lineno || 7542 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 7543 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 7878 7544 { (exit 1); exit 1; }; } 7879 7545 7880 7546 # Don't try to exec as it changes $[0], causing all sort of problems 7881 7547 # (the dirname of $[0] is not the place where we might find the 7882 # original and so on. Autoconf is especially sensi tive to this).7883 . "./$as_me.lineno"7548 # original and so on. Autoconf is especially sensible to this). 7549 . ./$as_me.lineno 7884 7550 # Exit status is that of the last command. 7885 7551 exit … … 7887 7553 7888 7554 7889 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7890 as_dirname=dirname 7891 else 7892 as_dirname=false 7893 fi 7894 7895 ECHO_C= ECHO_N= ECHO_T= 7896 case `echo -n x` in 7897 -n*) 7898 case `echo 'x\c'` in 7899 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7900 *) ECHO_C='\c';; 7901 esac;; 7902 *) 7903 ECHO_N='-n';; 7555 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 7556 *c*,-n*) ECHO_N= ECHO_C=' 7557 ' ECHO_T=' ' ;; 7558 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 7559 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 7904 7560 esac 7905 7561 7906 if expr a : '\(a\)' >/dev/null 2>&1 && 7907 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7562 if expr a : '\(a\)' >/dev/null 2>&1; then 7908 7563 as_expr=expr 7909 7564 else … … 7912 7567 7913 7568 rm -f conf$$ conf$$.exe conf$$.file 7914 if test -d conf$$.dir; then7915 rm -f conf$$.dir/conf$$.file7916 else7917 rm -f conf$$.dir7918 mkdir conf$$.dir7919 fi7920 7569 echo >conf$$.file 7921 7570 if ln -s conf$$.file conf$$ 2>/dev/null; then 7922 as_ln_s='ln -s' 7923 # ... but there are two gotchas: 7924 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7925 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7926 # In both cases, we have to default to `cp -p'. 7927 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7571 # We could just check for DJGPP; but this test a) works b) is more generic 7572 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 7573 if test -f conf$$.exe; then 7574 # Don't use ln at all; we don't have any links 7928 7575 as_ln_s='cp -p' 7576 else 7577 as_ln_s='ln -s' 7578 fi 7929 7579 elif ln conf$$.file conf$$ 2>/dev/null; then 7930 7580 as_ln_s=ln … … 7932 7582 as_ln_s='cp -p' 7933 7583 fi 7934 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 7935 rmdir conf$$.dir 2>/dev/null 7584 rm -f conf$$ conf$$.exe conf$$.file 7936 7585 7937 7586 if mkdir -p . 2>/dev/null; then … … 7942 7591 fi 7943 7592 7944 if test -x / >/dev/null 2>&1; then 7945 as_test_x='test -x' 7946 else 7947 if ls -dL / >/dev/null 2>&1; then 7948 as_ls_L_option=L 7949 else 7950 as_ls_L_option= 7951 fi 7952 as_test_x=' 7953 eval sh -c '\'' 7954 if test -d "$1"; then 7955 test -d "$1/."; 7956 else 7957 case $1 in 7958 -*)set "./$1";; 7959 esac; 7960 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 7961 ???[sx]*):;;*)false;;esac;fi 7962 '\'' sh 7963 ' 7964 fi 7965 as_executable_p=$as_test_x 7593 as_executable_p="test -f" 7966 7594 7967 7595 # Sed expression to map a string onto a valid CPP name. … … 7972 7600 7973 7601 7602 # IFS 7603 # We need space, tab and new line, in precisely that order. 7604 as_nl=' 7605 ' 7606 IFS=" $as_nl" 7607 7608 # CDPATH. 7609 $as_unset CDPATH 7610 7974 7611 exec 6>&1 7975 7612 7976 # Save the log message, to keep$[0] and so on meaningful, and to7613 # Open the log real soon, to keep \$[0] and so on meaningful, and to 7977 7614 # report actual input values of CONFIG_FILES etc. instead of their 7978 # values after options handling. 7979 ac_log=" 7615 # values after options handling. Logging --version etc. is OK. 7616 exec 5>>config.log 7617 { 7618 echo 7619 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7620 ## Running $as_me. ## 7621 _ASBOX 7622 } >&5 7623 cat >&5 <<_CSEOF 7624 7980 7625 This file was extended by $as_me, which was 7981 generated by GNU Autoconf 2. 61. Invocation command line was7626 generated by GNU Autoconf 2.59. Invocation command line was 7982 7627 7983 7628 CONFIG_FILES = $CONFIG_FILES … … 7987 7632 $ $0 $@ 7988 7633 7989 on `(hostname || uname -n) 2>/dev/null | sed 1q` 7990 " 7991 7992 _ACEOF 7993 7994 cat >>$CONFIG_STATUS <<_ACEOF 7634 _CSEOF 7635 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 7636 echo >&5 7637 _ACEOF 7638 7995 7639 # Files that config.status was made for. 7996 config_files="$ac_config_files" 7997 config_headers="$ac_config_headers" 7998 7999 _ACEOF 7640 if test -n "$ac_config_files"; then 7641 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 7642 fi 7643 7644 if test -n "$ac_config_headers"; then 7645 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 7646 fi 7647 7648 if test -n "$ac_config_links"; then 7649 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 7650 fi 7651 7652 if test -n "$ac_config_commands"; then 7653 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 7654 fi 8000 7655 8001 7656 cat >>$CONFIG_STATUS <<\_ACEOF 7657 8002 7658 ac_cs_usage="\ 8003 7659 \`$as_me' instantiates files from templates according to the … … 8007 7663 8008 7664 -h, --help print this help, then exit 8009 -V, --version print version number and configuration settings, then exit7665 -V, --version print version number, then exit 8010 7666 -q, --quiet do not print progress messages 8011 7667 -d, --debug don't remove temporary files … … 8023 7679 8024 7680 Report bugs to <[email protected]>." 8025 8026 _ACEOF 7681 _ACEOF 7682 8027 7683 cat >>$CONFIG_STATUS <<_ACEOF 8028 7684 ac_cs_version="\\ 8029 7685 config.status 8030 configured by $0, generated by GNU Autoconf 2. 61,8031 with options \\"`echo "$ac_configure_args" | sed 's/ ^ //; s/[\\""\`\$]/\\\\&/g'`\\"8032 8033 Copyright (C) 200 6Free Software Foundation, Inc.7686 configured by $0, generated by GNU Autoconf 2.59, 7687 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 7688 7689 Copyright (C) 2003 Free Software Foundation, Inc. 8034 7690 This config.status script is free software; the Free Software Foundation 8035 7691 gives unlimited permission to copy, distribute and modify it." 8036 8037 ac_pwd='$ac_pwd' 8038 srcdir='$srcdir' 8039 INSTALL='$INSTALL' 7692 srcdir=$srcdir 7693 INSTALL="$INSTALL" 8040 7694 _ACEOF 8041 7695 … … 8048 7702 case $1 in 8049 7703 --*=*) 8050 ac_option=`expr " X$1" : 'X\([^=]*\)='`8051 ac_optarg=`expr " X$1" : 'X[^=]*=\(.*\)'`7704 ac_option=`expr "x$1" : 'x\([^=]*\)='` 7705 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 8052 7706 ac_shift=: 8053 7707 ;; 8054 *)7708 -*) 8055 7709 ac_option=$1 8056 7710 ac_optarg=$2 8057 7711 ac_shift=shift 8058 7712 ;; 7713 *) # This is not an option, so the user has probably given explicit 7714 # arguments. 7715 ac_option=$1 7716 ac_need_defaults=false;; 8059 7717 esac 8060 7718 8061 7719 case $ac_option in 8062 7720 # Handling of the options. 7721 _ACEOF 7722 cat >>$CONFIG_STATUS <<\_ACEOF 8063 7723 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8064 7724 ac_cs_recheck=: ;; 8065 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8066 echo "$ac_cs_version"; exit ;; 8067 --debug | --debu | --deb | --de | --d | -d ) 7725 --version | --vers* | -V ) 7726 echo "$ac_cs_version"; exit 0 ;; 7727 --he | --h) 7728 # Conflict between --help and --header 7729 { { echo "$as_me:$LINENO: error: ambiguous option: $1 7730 Try \`$0 --help' for more information." >&5 7731 echo "$as_me: error: ambiguous option: $1 7732 Try \`$0 --help' for more information." >&2;} 7733 { (exit 1); exit 1; }; };; 7734 --help | --hel | -h ) 7735 echo "$ac_cs_usage"; exit 0 ;; 7736 --debug | --d* | -d ) 8068 7737 debug=: ;; 8069 7738 --file | --fil | --fi | --f ) … … 8075 7744 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 8076 7745 ac_need_defaults=false;; 8077 --he | --h)8078 # Conflict between --help and --header8079 { echo "$as_me: error: ambiguous option: $18080 Try \`$0 --help' for more information." >&28081 { (exit 1); exit 1; }; };;8082 --help | --hel | -h )8083 echo "$ac_cs_usage"; exit ;;8084 7746 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8085 7747 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 8087 7749 8088 7750 # This is an error. 8089 -*) { echo "$as_me: error: unrecognized option: $1 8090 Try \`$0 --help' for more information." >&2 7751 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 7752 Try \`$0 --help' for more information." >&5 7753 echo "$as_me: error: unrecognized option: $1 7754 Try \`$0 --help' for more information." >&2;} 8091 7755 { (exit 1); exit 1; }; } ;; 8092 7756 8093 *) ac_config_targets="$ac_config_targets $1" 8094 ac_need_defaults=false ;; 7757 *) ac_config_targets="$ac_config_targets $1" ;; 8095 7758 8096 7759 esac … … 8108 7771 cat >>$CONFIG_STATUS <<_ACEOF 8109 7772 if \$ac_cs_recheck; then 8110 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8111 CONFIG_SHELL=$SHELL 8112 export CONFIG_SHELL 8113 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8114 fi 8115 8116 _ACEOF 7773 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 7774 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7775 fi 7776 7777 _ACEOF 7778 7779 7780 7781 7782 8117 7783 cat >>$CONFIG_STATUS <<\_ACEOF 8118 exec 5>>config.log8119 {8120 echo8121 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX8122 ## Running $as_me. ##8123 _ASBOX8124 echo "$ac_log"8125 } >&58126 8127 _ACEOF8128 cat >>$CONFIG_STATUS <<_ACEOF8129 _ACEOF8130 8131 cat >>$CONFIG_STATUS <<\_ACEOF8132 8133 # Handling of arguments.8134 7784 for ac_config_target in $ac_config_targets 8135 7785 do 8136 case $ac_config_targetin8137 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;8138 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;8139 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;8140 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;8141 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;8142 7786 case "$ac_config_target" in 7787 # Handling of arguments. 7788 "packages/Makefile" ) CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; 7789 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7790 "$srclist" ) CONFIG_FILES="$CONFIG_FILES $srclist" ;; 7791 "$moduleDirs" ) CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 7792 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8143 7793 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 8144 7794 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} … … 8146 7796 esac 8147 7797 done 8148 8149 7798 8150 7799 # If the user did not use the arguments to specify the items to instantiate, … … 8158 7807 8159 7808 # Have a temporary directory for convenience. Make it in the build tree 8160 # simply because there is no reason against havingit here, and in addition,7809 # simply because there is no reason to put it here, and in addition, 8161 7810 # creating and moving files from /tmp can sometimes cause problems. 8162 # Hook for its removal unless debugging. 8163 # Note that there is a small window in which the directory will not be cleaned: 8164 # after its creation but before its name has been assigned to `$tmp'. 7811 # Create a temporary directory, and hook for its removal unless debugging. 8165 7812 $debug || 8166 7813 { 8167 tmp= 8168 trap 'exit_status=$? 8169 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 8170 ' 0 7814 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 8171 7815 trap '{ (exit 1); exit 1; }' 1 2 13 15 8172 7816 } 7817 8173 7818 # Create a (secure) tmp directory for tmp files. 8174 7819 8175 7820 { 8176 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&7821 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 8177 7822 test -n "$tmp" && test -d "$tmp" 8178 7823 } || 8179 7824 { 8180 tmp=./conf $$-$RANDOM8181 (umask 077 && mkdir "$tmp")7825 tmp=./confstat$$-$RANDOM 7826 (umask 077 && mkdir $tmp) 8182 7827 } || 8183 7828 { … … 8186 7831 } 8187 7832 7833 _ACEOF 7834 7835 cat >>$CONFIG_STATUS <<_ACEOF 7836 8188 7837 # 8189 # Set up the sed scripts forCONFIG_FILES section.7838 # CONFIG_FILES section. 8190 7839 # 8191 7840 8192 7841 # No need to generate the scripts if there are no CONFIG_FILES. 8193 7842 # This happens for instance when ./config.status config.h 8194 if test -n "$CONFIG_FILES"; then 8195 8196 _ACEOF 8197 8198 8199 8200 ac_delim='%!_!# ' 8201 for ac_last_try in false false false false false :; do 8202 cat >conf$$subs.sed <<_ACEOF 8203 SHELL!$SHELL$ac_delim 8204 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 8205 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 8206 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 8207 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 8208 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 8209 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 8210 exec_prefix!$exec_prefix$ac_delim 8211 prefix!$prefix$ac_delim 8212 program_transform_name!$program_transform_name$ac_delim 8213 bindir!$bindir$ac_delim 8214 sbindir!$sbindir$ac_delim 8215 libexecdir!$libexecdir$ac_delim 8216 datarootdir!$datarootdir$ac_delim 8217 datadir!$datadir$ac_delim 8218 sysconfdir!$sysconfdir$ac_delim 8219 sharedstatedir!$sharedstatedir$ac_delim 8220 localstatedir!$localstatedir$ac_delim 8221 includedir!$includedir$ac_delim 8222 oldincludedir!$oldincludedir$ac_delim 8223 docdir!$docdir$ac_delim 8224 infodir!$infodir$ac_delim 8225 htmldir!$htmldir$ac_delim 8226 dvidir!$dvidir$ac_delim 8227 pdfdir!$pdfdir$ac_delim 8228 psdir!$psdir$ac_delim 8229 libdir!$libdir$ac_delim 8230 localedir!$localedir$ac_delim 8231 mandir!$mandir$ac_delim 8232 DEFS!$DEFS$ac_delim 8233 ECHO_C!$ECHO_C$ac_delim 8234 ECHO_N!$ECHO_N$ac_delim 8235 ECHO_T!$ECHO_T$ac_delim 8236 LIBS!$LIBS$ac_delim 8237 build_alias!$build_alias$ac_delim 8238 host_alias!$host_alias$ac_delim 8239 target_alias!$target_alias$ac_delim 8240 PACKAGE!$PACKAGE$ac_delim 8241 VERSION!$VERSION$ac_delim 8242 USE_FASTCGI!$USE_FASTCGI$ac_delim 8243 USE_LANGACTION!$USE_LANGACTION$ac_delim 8244 USE_CORBA!$USE_CORBA$ac_delim 8245 MICO_DIR!$MICO_DIR$ac_delim 8246 USE_Z3950!$USE_Z3950$ac_delim 8247 USE_YAZ!$USE_YAZ$ac_delim 8248 ENABLE_ACCENTFOLD!$ENABLE_ACCENTFOLD$ac_delim 8249 USE_SQLITE!$USE_SQLITE$ac_delim 8250 LDFLAGS!$LDFLAGS$ac_delim 8251 CFLAGS!$CFLAGS$ac_delim 8252 CC!$CC$ac_delim 8253 CPPFLAGS!$CPPFLAGS$ac_delim 8254 ac_ct_CC!$ac_ct_CC$ac_delim 8255 EXEEXT!$EXEEXT$ac_delim 8256 OBJEXT!$OBJEXT$ac_delim 8257 CXX!$CXX$ac_delim 8258 CXXFLAGS!$CXXFLAGS$ac_delim 8259 ac_ct_CXX!$ac_ct_CXX$ac_delim 8260 AWK!$AWK$ac_delim 8261 YACC!$YACC$ac_delim 8262 YFLAGS!$YFLAGS$ac_delim 8263 build!$build$ac_delim 8264 build_cpu!$build_cpu$ac_delim 8265 build_vendor!$build_vendor$ac_delim 8266 build_os!$build_os$ac_delim 8267 host!$host$ac_delim 8268 host_cpu!$host_cpu$ac_delim 8269 host_vendor!$host_vendor$ac_delim 8270 host_os!$host_os$ac_delim 8271 target!$target$ac_delim 8272 target_cpu!$target_cpu$ac_delim 8273 target_vendor!$target_vendor$ac_delim 8274 target_os!$target_os$ac_delim 8275 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 8276 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 8277 INSTALL_DATA!$INSTALL_DATA$ac_delim 8278 LN_S!$LN_S$ac_delim 8279 SET_MAKE!$SET_MAKE$ac_delim 8280 RANLIB!$RANLIB$ac_delim 8281 COMPAT32BITFLAGS!$COMPAT32BITFLAGS$ac_delim 8282 MICO_VER!$MICO_VER$ac_delim 8283 CPP!$CPP$ac_delim 8284 GREP!$GREP$ac_delim 8285 EGREP!$EGREP$ac_delim 8286 U!$U$ac_delim 8287 ANSI2KNR!$ANSI2KNR$ac_delim 8288 ALLOCA!$ALLOCA$ac_delim 8289 LIBOBJS!$LIBOBJS$ac_delim 8290 STATIC!$STATIC$ac_delim 8291 gsdlos!$gsdlos$ac_delim 8292 MODULEDIRS!$MODULEDIRS$ac_delim 8293 subdirs!$subdirs$ac_delim 8294 LTLIBOBJS!$LTLIBOBJS$ac_delim 8295 _ACEOF 8296 8297 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then 8298 break 8299 elif $ac_last_try; then 8300 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 8301 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 8302 { (exit 1); exit 1; }; } 8303 else 8304 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7843 if test -n "\$CONFIG_FILES"; then 7844 # Protect against being on the right side of a sed subst in config.status. 7845 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 7846 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 7847 s,@SHELL@,$SHELL,;t t 7848 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 7849 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 7850 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 7851 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 7852 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 7853 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 7854 s,@exec_prefix@,$exec_prefix,;t t 7855 s,@prefix@,$prefix,;t t 7856 s,@program_transform_name@,$program_transform_name,;t t 7857 s,@bindir@,$bindir,;t t 7858 s,@sbindir@,$sbindir,;t t 7859 s,@libexecdir@,$libexecdir,;t t 7860 s,@datadir@,$datadir,;t t 7861 s,@sysconfdir@,$sysconfdir,;t t 7862 s,@sharedstatedir@,$sharedstatedir,;t t 7863 s,@localstatedir@,$localstatedir,;t t 7864 s,@libdir@,$libdir,;t t 7865 s,@includedir@,$includedir,;t t 7866 s,@oldincludedir@,$oldincludedir,;t t 7867 s,@infodir@,$infodir,;t t 7868 s,@mandir@,$mandir,;t t 7869 s,@build_alias@,$build_alias,;t t 7870 s,@host_alias@,$host_alias,;t t 7871 s,@target_alias@,$target_alias,;t t 7872 s,@DEFS@,$DEFS,;t t 7873 s,@ECHO_C@,$ECHO_C,;t t 7874 s,@ECHO_N@,$ECHO_N,;t t 7875 s,@ECHO_T@,$ECHO_T,;t t 7876 s,@LIBS@,$LIBS,;t t 7877 s,@PACKAGE@,$PACKAGE,;t t 7878 s,@VERSION@,$VERSION,;t t 7879 s,@USE_FASTCGI@,$USE_FASTCGI,;t t 7880 s,@USE_LANGACTION@,$USE_LANGACTION,;t t 7881 s,@USE_CORBA@,$USE_CORBA,;t t 7882 s,@MICO_DIR@,$MICO_DIR,;t t 7883 s,@USE_Z3950@,$USE_Z3950,;t t 7884 s,@USE_YAZ@,$USE_YAZ,;t t 7885 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 7886 s,@USE_SQLITE@,$USE_SQLITE,;t t 7887 s,@ENABLE_MG@,$ENABLE_MG,;t t 7888 s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t 7889 s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t 7890 s,@LDFLAGS@,$LDFLAGS,;t t 7891 s,@CFLAGS@,$CFLAGS,;t t 7892 s,@CC@,$CC,;t t 7893 s,@CPPFLAGS@,$CPPFLAGS,;t t 7894 s,@ac_ct_CC@,$ac_ct_CC,;t t 7895 s,@EXEEXT@,$EXEEXT,;t t 7896 s,@OBJEXT@,$OBJEXT,;t t 7897 s,@CXX@,$CXX,;t t 7898 s,@CXXFLAGS@,$CXXFLAGS,;t t 7899 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 7900 s,@AWK@,$AWK,;t t 7901 s,@YACC@,$YACC,;t t 7902 s,@build@,$build,;t t 7903 s,@build_cpu@,$build_cpu,;t t 7904 s,@build_vendor@,$build_vendor,;t t 7905 s,@build_os@,$build_os,;t t 7906 s,@host@,$host,;t t 7907 s,@host_cpu@,$host_cpu,;t t 7908 s,@host_vendor@,$host_vendor,;t t 7909 s,@host_os@,$host_os,;t t 7910 s,@target@,$target,;t t 7911 s,@target_cpu@,$target_cpu,;t t 7912 s,@target_vendor@,$target_vendor,;t t 7913 s,@target_os@,$target_os,;t t 7914 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 7915 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 7916 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 7917 s,@LN_S@,$LN_S,;t t 7918 s,@SET_MAKE@,$SET_MAKE,;t t 7919 s,@RANLIB@,$RANLIB,;t t 7920 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 7921 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 7922 s,@MICO_VER@,$MICO_VER,;t t 7923 s,@CPP@,$CPP,;t t 7924 s,@EGREP@,$EGREP,;t t 7925 s,@U@,$U,;t t 7926 s,@ANSI2KNR@,$ANSI2KNR,;t t 7927 s,@ALLOCA@,$ALLOCA,;t t 7928 s,@LIBOBJS@,$LIBOBJS,;t t 7929 s,@STATIC@,$STATIC,;t t 7930 s,@gsdlos@,$gsdlos,;t t 7931 s,@MODULEDIRS@,$MODULEDIRS,;t t 7932 s,@subdirs@,$subdirs,;t t 7933 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 7934 CEOF 7935 7936 _ACEOF 7937 7938 cat >>$CONFIG_STATUS <<\_ACEOF 7939 # Split the substitutions into bite-sized pieces for seds with 7940 # small command number limits, like on Digital OSF/1 and HP-UX. 7941 ac_max_sed_lines=48 7942 ac_sed_frag=1 # Number of current file. 7943 ac_beg=1 # First line for current file. 7944 ac_end=$ac_max_sed_lines # Line after last line for current file. 7945 ac_more_lines=: 7946 ac_sed_cmds= 7947 while $ac_more_lines; do 7948 if test $ac_beg -gt 1; then 7949 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 7950 else 7951 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 7952 fi 7953 if test ! -s $tmp/subs.frag; then 7954 ac_more_lines=false 7955 else 7956 # The purpose of the label and of the branching condition is to 7957 # speed up the sed processing (if there are no `@' at all, there 7958 # is no need to browse any of the substitutions). 7959 # These are the two extra sed commands mentioned above. 7960 (echo ':t 7961 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 7962 if test -z "$ac_sed_cmds"; then 7963 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 7964 else 7965 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 7966 fi 7967 ac_sed_frag=`expr $ac_sed_frag + 1` 7968 ac_beg=$ac_end 7969 ac_end=`expr $ac_end + $ac_max_sed_lines` 7970 fi 7971 done 7972 if test -z "$ac_sed_cmds"; then 7973 ac_sed_cmds=cat 8305 7974 fi 8306 done 8307 8308 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 8309 if test -n "$ac_eof"; then 8310 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 8311 ac_eof=`expr $ac_eof + 1` 8312 fi 8313 8314 cat >>$CONFIG_STATUS <<_ACEOF 8315 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 8316 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 8317 _ACEOF 8318 sed ' 8319 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 8320 s/^/s,@/; s/!/@,|#_!!_#|/ 8321 :n 8322 t n 8323 s/'"$ac_delim"'$/,g/; t 8324 s/$/\\/; p 8325 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 8326 ' >>$CONFIG_STATUS <conf$$subs.sed 8327 rm -f conf$$subs.sed 8328 cat >>$CONFIG_STATUS <<_ACEOF 8329 :end 8330 s/|#_!!_#|//g 8331 CEOF$ac_eof 8332 _ACEOF 8333 8334 8335 # VPATH may cause trouble with some makes, so we remove $(srcdir), 8336 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 8337 # trailing colons and then remove the whole line if VPATH becomes empty 8338 # (actually we leave an empty line to preserve line numbers). 8339 if test "x$srcdir" = x.; then 8340 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 8341 s/:*\$(srcdir):*/:/ 8342 s/:*\${srcdir}:*/:/ 8343 s/:*@srcdir@:*/:/ 8344 s/^\([^=]*=[ ]*\):*/\1/ 8345 s/:*$// 8346 s/^[^=]*=[ ]*$// 8347 }' 8348 fi 8349 7975 fi # test -n "$CONFIG_FILES" 7976 7977 _ACEOF 8350 7978 cat >>$CONFIG_STATUS <<\_ACEOF 8351 fi # test -n "$CONFIG_FILES" 8352 8353 8354 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 8355 do 8356 case $ac_tag in 8357 :[FHLC]) ac_mode=$ac_tag; continue;; 7979 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 7980 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 7981 case $ac_file in 7982 - | *:- | *:-:* ) # input from stdin 7983 cat >$tmp/stdin 7984 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7985 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7986 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7987 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7988 * ) ac_file_in=$ac_file.in ;; 8358 7989 esac 8359 case $ac_mode$ac_tag in 8360 :[FHL]*:*);; 8361 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 8362 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 8363 { (exit 1); exit 1; }; };; 8364 :[FH]-) ac_tag=-:-;; 8365 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 8366 esac 8367 ac_save_IFS=$IFS 8368 IFS=: 8369 set x $ac_tag 8370 IFS=$ac_save_IFS 8371 shift 8372 ac_file=$1 8373 shift 8374 8375 case $ac_mode in 8376 :L) ac_source=$1;; 8377 :[FH]) 8378 ac_file_inputs= 8379 for ac_f 8380 do 8381 case $ac_f in 8382 -) ac_f="$tmp/stdin";; 8383 *) # Look for the file first in the build tree, then in the source tree 8384 # (if the path is not absolute). The absolute path cannot be DOS-style, 8385 # because $ac_f cannot contain `:'. 8386 test -f "$ac_f" || 8387 case $ac_f in 8388 [\\/$]*) false;; 8389 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8390 esac || 8391 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 8392 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 8393 { (exit 1); exit 1; }; };; 8394 esac 8395 ac_file_inputs="$ac_file_inputs $ac_f" 8396 done 8397 8398 # Let's still pretend it is `configure' which instantiates (i.e., don't 8399 # use $as_me), people would be surprised to read: 8400 # /* config.h. Generated by config.status. */ 8401 configure_input="Generated from "`IFS=: 8402 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 8403 if test x"$ac_file" != x-; then 8404 configure_input="$ac_file. $configure_input" 8405 { echo "$as_me:$LINENO: creating $ac_file" >&5 8406 echo "$as_me: creating $ac_file" >&6;} 8407 fi 8408 8409 case $ac_tag in 8410 *:-:* | *:-) cat >"$tmp/stdin";; 8411 esac 8412 ;; 8413 esac 8414 8415 ac_dir=`$as_dirname -- "$ac_file" || 7990 7991 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 7992 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8416 7993 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8417 7994 X"$ac_file" : 'X\(//\)[^/]' \| \ 8418 7995 X"$ac_file" : 'X\(//\)$' \| \ 8419 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7996 X"$ac_file" : 'X\(/\)' \| \ 7997 . : '\(.\)' 2>/dev/null || 8420 7998 echo X"$ac_file" | 8421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8422 s//\1/ 8423 q 8424 } 8425 /^X\(\/\/\)[^/].*/{ 8426 s//\1/ 8427 q 8428 } 8429 /^X\(\/\/\)$/{ 8430 s//\1/ 8431 q 8432 } 8433 /^X\(\/\).*/{ 8434 s//\1/ 8435 q 8436 } 8437 s/.*/./; q'` 8438 { as_dir="$ac_dir" 8439 case $as_dir in #( 8440 -*) as_dir=./$as_dir;; 8441 esac 8442 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 7999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8000 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8001 /^X\(\/\/\)$/{ s//\1/; q; } 8002 /^X\(\/\).*/{ s//\1/; q; } 8003 s/.*/./; q'` 8004 { if $as_mkdir_p; then 8005 mkdir -p "$ac_dir" 8006 else 8007 as_dir="$ac_dir" 8443 8008 as_dirs= 8444 while :; do 8445 case $as_dir in #( 8446 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 8447 *) as_qdir=$as_dir;; 8448 esac 8449 as_dirs="'$as_qdir' $as_dirs" 8450 as_dir=`$as_dirname -- "$as_dir" || 8009 while test ! -d "$as_dir"; do 8010 as_dirs="$as_dir $as_dirs" 8011 as_dir=`(dirname "$as_dir") 2>/dev/null || 8451 8012 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8452 8013 X"$as_dir" : 'X\(//\)[^/]' \| \ 8453 8014 X"$as_dir" : 'X\(//\)$' \| \ 8454 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8015 X"$as_dir" : 'X\(/\)' \| \ 8016 . : '\(.\)' 2>/dev/null || 8455 8017 echo X"$as_dir" | 8456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8457 s//\1/ 8458 q 8459 } 8460 /^X\(\/\/\)[^/].*/{ 8461 s//\1/ 8462 q 8463 } 8464 /^X\(\/\/\)$/{ 8465 s//\1/ 8466 q 8467 } 8468 /^X\(\/\).*/{ 8469 s//\1/ 8470 q 8471 } 8472 s/.*/./; q'` 8473 test -d "$as_dir" && break 8018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8019 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8020 /^X\(\/\/\)$/{ s//\1/; q; } 8021 /^X\(\/\).*/{ s//\1/; q; } 8022 s/.*/./; q'` 8474 8023 done 8475 test -z "$as_dirs" || eval "mkdir $as_dirs"8476 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&58477 echo "$as_me: error: cannot create directory $as_dir" >&2;}8024 test ! -n "$as_dirs" || mkdir $as_dirs 8025 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8026 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8478 8027 { (exit 1); exit 1; }; }; } 8028 8479 8029 ac_builddir=. 8480 8030 8481 case "$ac_dir" in 8482 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8031 if test "$ac_dir" != .; then 8032 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8033 # A "../" for each directory in $ac_dir_suffix. 8034 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8035 else 8036 ac_dir_suffix= ac_top_builddir= 8037 fi 8038 8039 case $srcdir in 8040 .) # No --srcdir option. We are building in place. 8041 ac_srcdir=. 8042 if test -z "$ac_top_builddir"; then 8043 ac_top_srcdir=. 8044 else 8045 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8046 fi ;; 8047 [\\/]* | ?:[\\/]* ) # Absolute path. 8048 ac_srcdir=$srcdir$ac_dir_suffix; 8049 ac_top_srcdir=$srcdir ;; 8050 *) # Relative path. 8051 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8052 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8053 esac 8054 8055 # Do not use `cd foo && pwd` to compute absolute paths, because 8056 # the directories may not exist. 8057 case `pwd` in 8058 .) ac_abs_builddir="$ac_dir";; 8483 8059 *) 8484 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8485 # A ".." for each directory in $ac_dir_suffix. 8486 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 8487 case $ac_top_builddir_sub in 8488 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8489 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8490 esac ;; 8060 case "$ac_dir" in 8061 .) ac_abs_builddir=`pwd`;; 8062 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8063 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8064 esac;; 8491 8065 esac 8492 ac_abs_top_builddir=$ac_pwd 8493 ac_abs_builddir=$ac_pwd$ac_dir_suffix 8494 # for backward compatibility: 8495 ac_top_builddir=$ac_top_build_prefix 8496 8497 case $srcdir in 8498 .) # We are building in place. 8499 ac_srcdir=. 8500 ac_top_srcdir=$ac_top_builddir_sub 8501 ac_abs_top_srcdir=$ac_pwd ;; 8502 [\\/]* | ?:[\\/]* ) # Absolute name. 8503 ac_srcdir=$srcdir$ac_dir_suffix; 8504 ac_top_srcdir=$srcdir 8505 ac_abs_top_srcdir=$srcdir ;; 8506 *) # Relative name. 8507 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8508 ac_top_srcdir=$ac_top_build_prefix$srcdir 8509 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8066 case $ac_abs_builddir in 8067 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8068 *) 8069 case ${ac_top_builddir}. in 8070 .) ac_abs_top_builddir=$ac_abs_builddir;; 8071 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8072 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8073 esac;; 8510 8074 esac 8511 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8512 8513 8514 case $ac_mode in 8515 :F) 8516 # 8517 # CONFIG_FILE 8518 # 8075 case $ac_abs_builddir in 8076 .) ac_abs_srcdir=$ac_srcdir;; 8077 *) 8078 case $ac_srcdir in 8079 .) ac_abs_srcdir=$ac_abs_builddir;; 8080 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8081 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8082 esac;; 8083 esac 8084 case $ac_abs_builddir in 8085 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8086 *) 8087 case $ac_top_srcdir in 8088 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8089 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8090 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8091 esac;; 8092 esac 8093 8519 8094 8520 8095 case $INSTALL in 8521 8096 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8522 *) ac_INSTALL=$ac_top_build _prefix$INSTALL ;;8097 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 8523 8098 esac 8524 _ACEOF 8525 8526 cat >>$CONFIG_STATUS <<\_ACEOF 8527 # If the template does not know about datarootdir, expand it. 8528 # FIXME: This hack should be removed a few years after 2.60. 8529 ac_datarootdir_hack=; ac_datarootdir_seen= 8530 8531 case `sed -n '/datarootdir/ { 8532 p 8533 q 8534 } 8535 /@datadir@/p 8536 /@docdir@/p 8537 /@infodir@/p 8538 /@localedir@/p 8539 /@mandir@/p 8540 ' $ac_file_inputs` in 8541 *datarootdir*) ac_datarootdir_seen=yes;; 8542 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 8543 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 8544 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 8545 _ACEOF 8546 cat >>$CONFIG_STATUS <<_ACEOF 8547 ac_datarootdir_hack=' 8548 s&@datadir@&$datadir&g 8549 s&@docdir@&$docdir&g 8550 s&@infodir@&$infodir&g 8551 s&@localedir@&$localedir&g 8552 s&@mandir@&$mandir&g 8553 s&\\\${datarootdir}&$datarootdir&g' ;; 8554 esac 8555 _ACEOF 8556 8557 # Neutralize VPATH when `$srcdir' = `.'. 8558 # Shell code in configure.ac might set extrasub. 8559 # FIXME: do we really want to maintain this feature? 8099 8100 if test x"$ac_file" != x-; then 8101 { echo "$as_me:$LINENO: creating $ac_file" >&5 8102 echo "$as_me: creating $ac_file" >&6;} 8103 rm -f "$ac_file" 8104 fi 8105 # Let's still pretend it is `configure' which instantiates (i.e., don't 8106 # use $as_me), people would be surprised to read: 8107 # /* config.h. Generated by config.status. */ 8108 if test x"$ac_file" = x-; then 8109 configure_input= 8110 else 8111 configure_input="$ac_file. " 8112 fi 8113 configure_input=$configure_input"Generated from `echo $ac_file_in | 8114 sed 's,.*/,,'` by configure." 8115 8116 # First look for the input files in the build tree, otherwise in the 8117 # src tree. 8118 ac_file_inputs=`IFS=: 8119 for f in $ac_file_in; do 8120 case $f in 8121 -) echo $tmp/stdin ;; 8122 [\\/$]*) 8123 # Absolute (can't be DOS-style, as IFS=:) 8124 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8125 echo "$as_me: error: cannot find input file: $f" >&2;} 8126 { (exit 1); exit 1; }; } 8127 echo "$f";; 8128 *) # Relative 8129 if test -f "$f"; then 8130 # Build tree 8131 echo "$f" 8132 elif test -f "$srcdir/$f"; then 8133 # Source tree 8134 echo "$srcdir/$f" 8135 else 8136 # /dev/null tree 8137 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8138 echo "$as_me: error: cannot find input file: $f" >&2;} 8139 { (exit 1); exit 1; }; } 8140 fi;; 8141 esac 8142 done` || { (exit 1); exit 1; } 8143 _ACEOF 8560 8144 cat >>$CONFIG_STATUS <<_ACEOF 8561 8145 sed "$ac_vpsub … … 8565 8149 :t 8566 8150 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8567 s&@configure_input@&$configure_input&;t t 8568 s&@top_builddir@&$ac_top_builddir_sub&;t t 8569 s&@srcdir@&$ac_srcdir&;t t 8570 s&@abs_srcdir@&$ac_abs_srcdir&;t t 8571 s&@top_srcdir@&$ac_top_srcdir&;t t 8572 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 8573 s&@builddir@&$ac_builddir&;t t 8574 s&@abs_builddir@&$ac_abs_builddir&;t t 8575 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 8576 s&@INSTALL@&$ac_INSTALL&;t t 8577 $ac_datarootdir_hack 8578 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 8579 8580 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 8581 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 8582 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 8583 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8584 which seems to be undefined. Please make sure it is defined." >&5 8585 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8586 which seems to be undefined. Please make sure it is defined." >&2;} 8587 8588 rm -f "$tmp/stdin" 8151 s,@configure_input@,$configure_input,;t t 8152 s,@srcdir@,$ac_srcdir,;t t 8153 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8154 s,@top_srcdir@,$ac_top_srcdir,;t t 8155 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8156 s,@builddir@,$ac_builddir,;t t 8157 s,@abs_builddir@,$ac_abs_builddir,;t t 8158 s,@top_builddir@,$ac_top_builddir,;t t 8159 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8160 s,@INSTALL@,$ac_INSTALL,;t t 8161 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8162 rm -f $tmp/stdin 8163 if test x"$ac_file" != x-; then 8164 mv $tmp/out $ac_file 8165 else 8166 cat $tmp/out 8167 rm -f $tmp/out 8168 fi 8169 8170 done 8171 _ACEOF 8172 cat >>$CONFIG_STATUS <<\_ACEOF 8173 8174 # 8175 # CONFIG_HEADER section. 8176 # 8177 8178 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8179 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8180 # 8181 # ac_d sets the value in "#define NAME VALUE" lines. 8182 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8183 ac_dB='[ ].*$,\1#\2' 8184 ac_dC=' ' 8185 ac_dD=',;t' 8186 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8187 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8188 ac_uB='$,\1#\2define\3' 8189 ac_uC=' ' 8190 ac_uD=',;t' 8191 8192 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8193 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8589 8194 case $ac_file in 8590 -) cat "$tmp/out"; rm -f "$tmp/out";; 8591 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 8195 - | *:- | *:-:* ) # input from stdin 8196 cat >$tmp/stdin 8197 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8198 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8199 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8200 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8201 * ) ac_file_in=$ac_file.in ;; 8592 8202 esac 8593 ;; 8594 :H) 8595 # 8596 # CONFIG_HEADER 8597 # 8598 _ACEOF 8599 8600 # Transform confdefs.h into a sed script `conftest.defines', that 8601 # substitutes the proper values into config.h.in to produce config.h. 8602 rm -f conftest.defines conftest.tail 8603 # First, append a space to every undef/define line, to ease matching. 8604 echo 's/$/ /' >conftest.defines 8605 # Then, protect against being on the right side of a sed subst, or in 8606 # an unquoted here document, in config.status. If some macros were 8607 # called several times there might be several #defines for the same 8608 # symbol, which is useless. But do not sort them, since the last 8609 # AC_DEFINE must be honored. 8610 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 8611 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 8612 # NAME is the cpp macro being defined, VALUE is the value it is being given. 8613 # PARAMS is the parameter list in the macro definition--in most cases, it's 8614 # just an empty string. 8615 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 8616 ac_dB='\\)[ (].*,\\1define\\2' 8617 ac_dC=' ' 8618 ac_dD=' ,' 8619 8620 uniq confdefs.h | 8621 sed -n ' 8622 t rset 8623 :rset 8624 s/^[ ]*#[ ]*define[ ][ ]*// 8625 t ok 8626 d 8627 :ok 8628 s/[\\&,]/\\&/g 8629 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 8630 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 8631 ' >>conftest.defines 8632 8633 # Remove the space that was appended to ease matching. 8634 # Then replace #undef with comments. This is necessary, for 8203 8204 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8205 echo "$as_me: creating $ac_file" >&6;} 8206 8207 # First look for the input files in the build tree, otherwise in the 8208 # src tree. 8209 ac_file_inputs=`IFS=: 8210 for f in $ac_file_in; do 8211 case $f in 8212 -) echo $tmp/stdin ;; 8213 [\\/$]*) 8214 # Absolute (can't be DOS-style, as IFS=:) 8215 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8216 echo "$as_me: error: cannot find input file: $f" >&2;} 8217 { (exit 1); exit 1; }; } 8218 # Do quote $f, to prevent DOS paths from being IFS'd. 8219 echo "$f";; 8220 *) # Relative 8221 if test -f "$f"; then 8222 # Build tree 8223 echo "$f" 8224 elif test -f "$srcdir/$f"; then 8225 # Source tree 8226 echo "$srcdir/$f" 8227 else 8228 # /dev/null tree 8229 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8230 echo "$as_me: error: cannot find input file: $f" >&2;} 8231 { (exit 1); exit 1; }; } 8232 fi;; 8233 esac 8234 done` || { (exit 1); exit 1; } 8235 # Remove the trailing spaces. 8236 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 8237 8238 _ACEOF 8239 8240 # Transform confdefs.h into two sed scripts, `conftest.defines' and 8241 # `conftest.undefs', that substitutes the proper values into 8242 # config.h.in to produce config.h. The first handles `#define' 8243 # templates, and the second `#undef' templates. 8244 # And first: Protect against being on the right side of a sed subst in 8245 # config.status. Protect against being in an unquoted here document 8246 # in config.status. 8247 rm -f conftest.defines conftest.undefs 8248 # Using a here document instead of a string reduces the quoting nightmare. 8249 # Putting comments in sed scripts is not portable. 8250 # 8251 # `end' is used to avoid that the second main sed command (meant for 8252 # 0-ary CPP macros) applies to n-ary macro definitions. 8253 # See the Autoconf documentation for `clear'. 8254 cat >confdef2sed.sed <<\_ACEOF 8255 s/[\\&,]/\\&/g 8256 s,[\\$`],\\&,g 8257 t clear 8258 : clear 8259 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 8260 t end 8261 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 8262 : end 8263 _ACEOF 8264 # If some macros were called several times there might be several times 8265 # the same #defines, which is useless. Nevertheless, we may not want to 8266 # sort them, since we want the *last* AC-DEFINE to be honored. 8267 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 8268 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 8269 rm -f confdef2sed.sed 8270 8271 # This sed command replaces #undef with comments. This is necessary, for 8635 8272 # example, in the case of _POSIX_SOURCE, which is predefined and required 8636 8273 # on some systems where configure will not decide to define it. 8637 # (The regexp can be short, since the line contains either #define or #undef.) 8638 echo 's/ $// 8639 s,^[ #]*u.*,/* & */,' >>conftest.defines 8640 8641 # Break up conftest.defines: 8642 ac_max_sed_lines=50 8643 8644 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 8645 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 8646 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 8647 # et cetera. 8648 ac_in='$ac_file_inputs' 8649 ac_out='"$tmp/out1"' 8650 ac_nxt='"$tmp/out2"' 8651 8652 while : 8274 cat >>conftest.undefs <<\_ACEOF 8275 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 8276 _ACEOF 8277 8278 # Break up conftest.defines because some shells have a limit on the size 8279 # of here documents, and old seds have small limits too (100 cmds). 8280 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 8281 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 8282 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 8283 echo ' :' >>$CONFIG_STATUS 8284 rm -f conftest.tail 8285 while grep . conftest.defines >/dev/null 8653 8286 do 8654 # Write a here document: 8655 cat >>$CONFIG_STATUS <<_ACEOF 8656 # First, check the format of the line: 8657 cat >"\$tmp/defines.sed" <<\\CEOF 8658 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 8659 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 8660 b 8661 :def 8662 _ACEOF 8663 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 8287 # Write a limited-size here document to $tmp/defines.sed. 8288 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 8289 # Speed up: don't consider the non `#define' lines. 8290 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 8291 # Work around the forget-to-reset-the-flag bug. 8292 echo 't clr' >>$CONFIG_STATUS 8293 echo ': clr' >>$CONFIG_STATUS 8294 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 8664 8295 echo 'CEOF 8665 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 8666 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 8667 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 8668 grep . conftest.tail >/dev/null || break 8296 sed -f $tmp/defines.sed $tmp/in >$tmp/out 8297 rm -f $tmp/in 8298 mv $tmp/out $tmp/in 8299 ' >>$CONFIG_STATUS 8300 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 8669 8301 rm -f conftest.defines 8670 8302 mv conftest.tail conftest.defines 8671 8303 done 8672 rm -f conftest.defines conftest.tail 8673 8674 echo "ac_result=$ac_in" >>$CONFIG_STATUS 8304 rm -f conftest.defines 8305 echo ' fi # grep' >>$CONFIG_STATUS 8306 echo >>$CONFIG_STATUS 8307 8308 # Break up conftest.undefs because some shells have a limit on the size 8309 # of here documents, and old seds have small limits too (100 cmds). 8310 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 8311 rm -f conftest.tail 8312 while grep . conftest.undefs >/dev/null 8313 do 8314 # Write a limited-size here document to $tmp/undefs.sed. 8315 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 8316 # Speed up: don't consider the non `#undef' 8317 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 8318 # Work around the forget-to-reset-the-flag bug. 8319 echo 't clr' >>$CONFIG_STATUS 8320 echo ': clr' >>$CONFIG_STATUS 8321 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 8322 echo 'CEOF 8323 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 8324 rm -f $tmp/in 8325 mv $tmp/out $tmp/in 8326 ' >>$CONFIG_STATUS 8327 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 8328 rm -f conftest.undefs 8329 mv conftest.tail conftest.undefs 8330 done 8331 rm -f conftest.undefs 8332 8675 8333 cat >>$CONFIG_STATUS <<\_ACEOF 8334 # Let's still pretend it is `configure' which instantiates (i.e., don't 8335 # use $as_me), people would be surprised to read: 8336 # /* config.h. Generated by config.status. */ 8337 if test x"$ac_file" = x-; then 8338 echo "/* Generated by configure. */" >$tmp/config.h 8339 else 8340 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 8341 fi 8342 cat $tmp/in >>$tmp/config.h 8343 rm -f $tmp/in 8676 8344 if test x"$ac_file" != x-; then 8677 echo "/* $configure_input */" >"$tmp/config.h" 8678 cat "$ac_result" >>"$tmp/config.h" 8679 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 8345 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 8680 8346 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 8681 8347 echo "$as_me: $ac_file is unchanged" >&6;} 8682 8348 else 8349 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8350 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8351 X"$ac_file" : 'X\(//\)[^/]' \| \ 8352 X"$ac_file" : 'X\(//\)$' \| \ 8353 X"$ac_file" : 'X\(/\)' \| \ 8354 . : '\(.\)' 2>/dev/null || 8355 echo X"$ac_file" | 8356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8357 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8358 /^X\(\/\/\)$/{ s//\1/; q; } 8359 /^X\(\/\).*/{ s//\1/; q; } 8360 s/.*/./; q'` 8361 { if $as_mkdir_p; then 8362 mkdir -p "$ac_dir" 8363 else 8364 as_dir="$ac_dir" 8365 as_dirs= 8366 while test ! -d "$as_dir"; do 8367 as_dirs="$as_dir $as_dirs" 8368 as_dir=`(dirname "$as_dir") 2>/dev/null || 8369 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8370 X"$as_dir" : 'X\(//\)[^/]' \| \ 8371 X"$as_dir" : 'X\(//\)$' \| \ 8372 X"$as_dir" : 'X\(/\)' \| \ 8373 . : '\(.\)' 2>/dev/null || 8374 echo X"$as_dir" | 8375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8376 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8377 /^X\(\/\/\)$/{ s//\1/; q; } 8378 /^X\(\/\).*/{ s//\1/; q; } 8379 s/.*/./; q'` 8380 done 8381 test ! -n "$as_dirs" || mkdir $as_dirs 8382 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8383 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8384 { (exit 1); exit 1; }; }; } 8385 8683 8386 rm -f $ac_file 8684 mv "$tmp/config.h"$ac_file8387 mv $tmp/config.h $ac_file 8685 8388 fi 8686 8389 else 8687 echo "/* $configure_input */"8688 cat "$ac_result"8390 cat $tmp/config.h 8391 rm -f $tmp/config.h 8689 8392 fi 8690 rm -f "$tmp/out12" 8691 ;; 8692 8693 8694 esac 8695 8696 done # for ac_tag 8697 8393 done 8394 _ACEOF 8395 8396 cat >>$CONFIG_STATUS <<\_ACEOF 8698 8397 8699 8398 { (exit 0); exit 0; } … … 8732 8431 ac_sub_configure_args= 8733 8432 ac_prev= 8734 eval "set x $ac_configure_args" 8735 shift 8736 for ac_arg 8737 do 8433 for ac_arg in $ac_configure_args; do 8738 8434 if test -n "$ac_prev"; then 8739 8435 ac_prev= … … 8758 8454 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 8759 8455 ;; 8760 *) 8761 case $ac_arg in 8762 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 8763 esac 8764 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; 8456 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 8765 8457 esac 8766 8458 done … … 8768 8460 # Always prepend --prefix to ensure using the same prefix 8769 8461 # in subdir configurations. 8770 ac_arg="--prefix=$prefix" 8771 case $ac_arg in 8772 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 8773 esac 8774 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 8775 8776 # Pass --silent 8777 if test "$silent" = yes; then 8778 ac_sub_configure_args="--silent $ac_sub_configure_args" 8779 fi 8462 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 8780 8463 8781 8464 ac_popdir=`pwd` … … 8784 8467 # Do not complain, so a configure script can configure whichever 8785 8468 # parts of a large source tree are present. 8786 test -d "$srcdir/$ac_dir" || continue 8787 8788 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 8789 echo "$as_me:$LINENO: $ac_msg" >&5 8790 echo "$ac_msg" >&6 8791 { as_dir="$ac_dir" 8792 case $as_dir in #( 8793 -*) as_dir=./$as_dir;; 8794 esac 8795 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8469 test -d $srcdir/$ac_dir || continue 8470 8471 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 8472 echo "$as_me: configuring in $ac_dir" >&6;} 8473 { if $as_mkdir_p; then 8474 mkdir -p "$ac_dir" 8475 else 8476 as_dir="$ac_dir" 8796 8477 as_dirs= 8797 while :; do 8798 case $as_dir in #( 8799 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 8800 *) as_qdir=$as_dir;; 8801 esac 8802 as_dirs="'$as_qdir' $as_dirs" 8803 as_dir=`$as_dirname -- "$as_dir" || 8478 while test ! -d "$as_dir"; do 8479 as_dirs="$as_dir $as_dirs" 8480 as_dir=`(dirname "$as_dir") 2>/dev/null || 8804 8481 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8805 8482 X"$as_dir" : 'X\(//\)[^/]' \| \ 8806 8483 X"$as_dir" : 'X\(//\)$' \| \ 8807 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8484 X"$as_dir" : 'X\(/\)' \| \ 8485 . : '\(.\)' 2>/dev/null || 8808 8486 echo X"$as_dir" | 8809 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8810 s//\1/ 8811 q 8812 } 8813 /^X\(\/\/\)[^/].*/{ 8814 s//\1/ 8815 q 8816 } 8817 /^X\(\/\/\)$/{ 8818 s//\1/ 8819 q 8820 } 8821 /^X\(\/\).*/{ 8822 s//\1/ 8823 q 8824 } 8825 s/.*/./; q'` 8826 test -d "$as_dir" && break 8487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8488 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8489 /^X\(\/\/\)$/{ s//\1/; q; } 8490 /^X\(\/\).*/{ s//\1/; q; } 8491 s/.*/./; q'` 8827 8492 done 8828 test -z "$as_dirs" || eval "mkdir $as_dirs"8829 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&58830 echo "$as_me: error: cannot create directory $as_dir" >&2;}8493 test ! -n "$as_dirs" || mkdir $as_dirs 8494 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 8495 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 8831 8496 { (exit 1); exit 1; }; }; } 8497 8832 8498 ac_builddir=. 8833 8499 8834 case "$ac_dir" in 8835 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8500 if test "$ac_dir" != .; then 8501 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8502 # A "../" for each directory in $ac_dir_suffix. 8503 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8504 else 8505 ac_dir_suffix= ac_top_builddir= 8506 fi 8507 8508 case $srcdir in 8509 .) # No --srcdir option. We are building in place. 8510 ac_srcdir=. 8511 if test -z "$ac_top_builddir"; then 8512 ac_top_srcdir=. 8513 else 8514 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8515 fi ;; 8516 [\\/]* | ?:[\\/]* ) # Absolute path. 8517 ac_srcdir=$srcdir$ac_dir_suffix; 8518 ac_top_srcdir=$srcdir ;; 8519 *) # Relative path. 8520 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8521 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8522 esac 8523 8524 # Do not use `cd foo && pwd` to compute absolute paths, because 8525 # the directories may not exist. 8526 case `pwd` in 8527 .) ac_abs_builddir="$ac_dir";; 8836 8528 *) 8837 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8838 # A ".." for each directory in $ac_dir_suffix. 8839 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 8840 case $ac_top_builddir_sub in 8841 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8842 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8843 esac ;; 8529 case "$ac_dir" in 8530 .) ac_abs_builddir=`pwd`;; 8531 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8532 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8533 esac;; 8844 8534 esac 8845 ac_abs_top_builddir=$ac_pwd 8846 ac_abs_builddir=$ac_pwd$ac_dir_suffix 8847 # for backward compatibility: 8848 ac_top_builddir=$ac_top_build_prefix 8849 8850 case $srcdir in 8851 .) # We are building in place. 8852 ac_srcdir=. 8853 ac_top_srcdir=$ac_top_builddir_sub 8854 ac_abs_top_srcdir=$ac_pwd ;; 8855 [\\/]* | ?:[\\/]* ) # Absolute name. 8856 ac_srcdir=$srcdir$ac_dir_suffix; 8857 ac_top_srcdir=$srcdir 8858 ac_abs_top_srcdir=$srcdir ;; 8859 *) # Relative name. 8860 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8861 ac_top_srcdir=$ac_top_build_prefix$srcdir 8862 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8535 case $ac_abs_builddir in 8536 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8537 *) 8538 case ${ac_top_builddir}. in 8539 .) ac_abs_top_builddir=$ac_abs_builddir;; 8540 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8541 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8542 esac;; 8863 8543 esac 8864 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8865 8866 8867 cd "$ac_dir" 8544 case $ac_abs_builddir in 8545 .) ac_abs_srcdir=$ac_srcdir;; 8546 *) 8547 case $ac_srcdir in 8548 .) ac_abs_srcdir=$ac_abs_builddir;; 8549 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8550 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8551 esac;; 8552 esac 8553 case $ac_abs_builddir in 8554 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8555 *) 8556 case $ac_top_srcdir in 8557 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8558 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8559 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8560 esac;; 8561 esac 8562 8563 8564 cd $ac_dir 8868 8565 8869 8566 # Check for guested configure; otherwise get Cygnus style configure. 8870 if test -f "$ac_srcdir/configure.gnu"; then 8871 ac_sub_configure=$ac_srcdir/configure.gnu 8872 elif test -f "$ac_srcdir/configure"; then 8873 ac_sub_configure=$ac_srcdir/configure 8874 elif test -f "$ac_srcdir/configure.in"; then 8875 # This should be Cygnus configure. 8876 ac_sub_configure=$ac_aux_dir/configure 8567 if test -f $ac_srcdir/configure.gnu; then 8568 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 8569 elif test -f $ac_srcdir/configure; then 8570 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 8571 elif test -f $ac_srcdir/configure.in; then 8572 ac_sub_configure=$ac_configure 8877 8573 else 8878 8574 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 … … 8886 8582 case $cache_file in 8887 8583 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 8888 *) # Relative name.8889 ac_sub_cache_file=$ac_top_build _prefix$cache_file ;;8584 *) # Relative path. 8585 ac_sub_cache_file=$ac_top_builddir$cache_file ;; 8890 8586 esac 8891 8587 8892 { echo "$as_me:$LINENO: running $ SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&58893 echo "$as_me: running $ SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}8588 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 8589 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 8894 8590 # The eval makes quoting arguments work. 8895 eval "\$SHELL \"\$ac_sub_configure\"$ac_sub_configure_args \8896 --cache-file= \"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\""||8591 eval $ac_sub_configure $ac_sub_configure_args \ 8592 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || 8897 8593 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 8898 8594 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} … … 8900 8596 fi 8901 8597 8902 cd "$ac_popdir"8598 cd $ac_popdir 8903 8599 done 8904 8600 fi -
main/trunk/greenstone2/common-src/configure.in
r20846 r21327 75 75 AC_DEFINE(USE_SQLITE, $USE_SQLITE) 76 76 AC_SUBST(USE_SQLITE) 77 78 dnl 79 dnl Set compilation of MG (enabled by default) 80 dnl 81 AC_ARG_ENABLE(mg, [ --disable-mg Disable MG compilation], ENABLE_MG=$enableval, ENABLE_MG=yes) 82 if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then 83 ENABLE_MG=1 84 AC_DEFINE(ENABLE_MG,[]) 85 else 86 ENABLE_MG=0 87 fi 88 AC_SUBST(ENABLE_MG) 89 90 dnl 91 dnl Set compilation of MGPP (enabled by default) 92 dnl 93 AC_ARG_ENABLE(mgpp, [ --disable-mgpp Disable MGPP compilation], ENABLE_MGPP=$enableval, ENABLE_MGPP=yes) 94 if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then 95 ENABLE_MGPP=1 96 AC_DEFINE(ENABLE_MGPP,[]) 97 else 98 ENABLE_MGPP=0 99 fi 100 AC_SUBST(ENABLE_MGPP) 101 102 dnl 103 dnl Set compilation of lucene (enabled by default) 104 dnl 105 AC_ARG_ENABLE(lucene, [ --disable-lucene Disable Lucene compilation], ENABLE_LUCENE=$enableval, ENABLE_LUCENE=yes) 106 if test $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" ; then 107 ENABLE_LUCENE=1 108 AC_DEFINE(ENABLE_LUCENE,[]) 109 else 110 ENABLE_LUCENE=0 111 fi 112 AC_SUBST(ENABLE_LUCENE) 113 77 114 78 115 dnl Checks for programs. -
main/trunk/greenstone2/common-src/win32.mak
r20183 r21327 69 69 MAKECMD = $(MAKECMD) DLLDEBUG=1 70 70 !ENDIF 71 !IF $(USE_SQLITE) 71 !IF "$(USE_SQLITE)" == "0" 72 MAKECMD = $(MAKECMD) USE_SQLITE=0 73 !ELSE 72 74 MAKECMD = $(MAKECMD) USE_SQLITE=1 73 75 PACKAGEDIRS = $(PACKAGEDIRS) $(SQLITE_DIR) … … 94 96 if NOT EXIST "iconv" unzip iconv.zip 95 97 cd "$(COMMONHOME)" 98 !IF "$(USE_SQLITE)" == "1" 96 99 IF NOT EXIST $(SQLITE_DIR) IF EXIST "$(GSDLHOME)\bin\windows\gunzip.exe" IF EXIST "$(GSDLHOME)\bin\windows\tar.exe" "$(GSDLHOME)\bin\windows\gunzip.exe" -cd "$(SQLITE_DIR).tar.gz" | "$(GSDLHOME)\bin\windows\tar.exe" xv --directory=./packages/sqlite 97 100 IF NOT EXIST $(SQLITE_DIR) echo ****** Couldn't extract archive $(SQLITE_DIR).tar.gz. Extract it manually, or check that gunzip.exe and tar.exe exist in GSDLHOME\bin\windows. ****** 101 !ENDIF 98 102 99 103 clean: … … 137 141 cd packages\search4j 138 142 $(MAKECLEANCMD) 139 !IF $(USE_SQLITE)143 !IF "$(USE_SQLITE)" == "1" 140 144 cd "$(COMMONHOME)" 141 145 cd "$(SQLITE_DIR)" … … 158 162 cd "$(COMMONHOME)" 159 163 160 $(SQLITE_DIR): FORCE 164 $(SQLITE_DIR): 165 !IF "$(USE_SQLITE)" == "1" 166 FORCE 161 167 cd "$(COMMONHOME)" 162 168 cd "$@" 163 169 $(MAKECMD) 164 170 $(MAKECMD) install 171 !ENDIF 165 172 cd "$(COMMONHOME)" 166 173 … … 169 176 cd "$@" 170 177 set DEBUG=$(DEBUG) 171 if EXIST "$(GSDLHOME)\runtime-src" call winMake.bat all gs2 178 set ENABLE_MG=$(ENABLE_MG) 179 set ENABLE_MGPP=$(ENABLE_MGPP) 180 set ENABLE_LUCENE=$(ENABLE_LUCENE) 181 182 if EXIST "$(GSDLHOME)\runtime-src" call winMake.bat all gs2 172 183 if EXIST "$(GSDLHOME)\runtime-src" call winMake.bat install gs2 173 184 if NOT EXIST "$(GSDLHOME)\runtime-src" call winMake.bat all … … 175 186 176 187 set DEBUG= 188 set ENABLE_MG= 189 set ENABLE_MGPP= 190 set ENABLE_LUCENE= 177 191 if NOT EXIST "$(GSDLHOME)\bin\windows" mkdir "$(GSDLHOME)\bin\windows" 178 192 if NOT EXIST "$(GSDLHOME)\bin\java" mkdir "$(GSDLHOME)\bin\java"
Note:
See TracChangeset
for help on using the changeset viewer.