Changeset 20848
- Timestamp:
- 2009-10-23T08:12:27+13:00 (14 years ago)
- Location:
- gsdl/trunk/runtime-src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/runtime-src/configure
r19825 r20848 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2. 59.3 # Generated by GNU Autoconf 2.61. 4 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. … … 10 11 ## --------------------- ## 11 12 12 # Be Bourne compatible 13 # Be more Bourne compatible 14 DUALCASE=1; export DUALCASE # for MKS sh 13 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 16 emulate sh … … 17 19 # is contrary to our usage. Disable this feature. 18 20 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 21 setopt NO_GLOB_SUBST 22 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 79 33 # Avoid depending upon Character Ranges. 80 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 97 51 fi 98 52 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 58 fi 59 60 61 # IFS 62 # We need space, tab and new line, in precisely that order. Quoting is 63 # there to prevent editors from complaining about space-tab. 64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 # splitting by setting IFS to empty value.) 66 as_nl=' 67 ' 68 IFS=" "" $as_nl" 69 70 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 72 *[\\/]* ) as_myself=$0 ;; 73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 74 for as_dir in $PATH 111 75 do … … 114 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 79 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 80 IFS=$as_save_IFS 81 82 ;; 83 esac 84 # We did not find ourselves, most probably we were run as `sh COMMAND' 85 # in which case we are not to be found in the path. 86 if test "x$as_myself" = x; then 87 as_myself=$0 88 fi 89 if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 97 done 98 PS1='$ ' 99 PS2='> ' 100 PS4='+ ' 101 102 # NLS nuisances. 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 107 do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 110 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 123 112 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 113 done 114 115 # Required to use basename. 116 if expr a : '\(a\)' >/dev/null 2>&1 && 117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 118 as_expr=expr 119 else 120 as_expr=false 121 fi 122 123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 124 as_basename=basename 125 else 126 as_basename=false 127 fi 128 129 130 # Name of the executable. 131 as_me=`$as_basename -- "$0" || 132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 X"$0" : 'X\(//\)$' \| \ 134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" | 136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 s//\1/ 138 q 139 } 140 /^X\/\(\/\/\)$/{ 141 s//\1/ 142 q 143 } 144 /^X\/\(\/\).*/{ 145 s//\1/ 146 q 147 } 148 s/.*/./; q'` 149 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 130 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH … … 133 224 IFS=$as_save_IFS 134 225 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 226 case $as_dir in 137 227 /*) 138 if ("$as_dir/$as_base" -c ' 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 139 328 as_lineno_1=$LINENO 140 329 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`142 330 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell [email protected] about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 155 427 156 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 429 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 162 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 438 sed -n ' 439 p 440 /[$]LINENO/= 441 ' <$as_myself | 165 442 sed ' 443 s/[$]LINENO.*/&-/ 444 t lineno 445 b 446 :lineno 166 447 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 448 :loop 449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 170 450 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 451 s/-\n.*// 173 452 ' >$as_me.lineno && 174 chmod +x $as_me.lineno||453 chmod +x "$as_me.lineno" || 175 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 455 { (exit 1); exit 1; }; } … … 178 457 # Don't try to exec as it changes $[0], causing all sort of problems 179 458 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensi ble to this).181 . ./$as_me.lineno459 # original and so on. Autoconf is especially sensitive to this). 460 . "./$as_me.lineno" 182 461 # Exit status is that of the last command. 183 462 exit … … 185 464 186 465 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 467 as_dirname=dirname 468 else 469 as_dirname=false 470 fi 471 472 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 474 -n*) 475 case `echo 'x\c'` in 476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 478 esac;; 479 *) 480 ECHO_N='-n';; 481 esac 482 483 if expr a : '\(a\)' >/dev/null 2>&1 && 484 test "X`expr 00001 : '.*\(...\)'`" = X001; then 195 485 as_expr=expr 196 486 else … … 199 489 200 490 rm -f conf$$ conf$$.exe conf$$.file 491 if test -d conf$$.dir; then 492 rm -f conf$$.dir/conf$$.file 493 else 494 rm -f conf$$.dir 495 mkdir conf$$.dir 496 fi 201 497 echo >conf$$.file 202 498 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 207 505 as_ln_s='cp -p' 208 else209 as_ln_s='ln -s'210 fi211 506 elif ln conf$$.file conf$$ 2>/dev/null; then 212 507 as_ln_s=ln … … 214 509 as_ln_s='cp -p' 215 510 fi 216 rm -f conf$$ conf$$.exe conf$$.file 511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 512 rmdir conf$$.dir 2>/dev/null 217 513 218 514 if mkdir -p . 2>/dev/null; then … … 223 519 fi 224 520 225 as_executable_p="test -f" 521 if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523 else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 -*)set "./$1";; 536 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538 ???[sx]*):;;*)false;;esac;fi 539 '\'' sh 540 ' 541 fi 542 as_executable_p=$as_test_x 226 543 227 544 # Sed expression to map a string onto a valid CPP name. … … 232 549 233 550 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 551 552 exec 7<&0 </dev/null 6>&1 243 553 244 554 # Name of the host. … … 247 557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 558 249 exec 6>&1250 251 559 # 252 560 # Initializations. 253 561 # 254 562 ac_default_prefix=/usr/local 563 ac_clean_files= 255 564 ac_config_libobj_dir=. 565 LIBOBJS= 256 566 cross_compiling=no 257 567 subdirs= … … 259 569 MAKEFLAGS= 260 570 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document.263 # This variable seems obsolete. It should probably be removed, and264 # only ac_max_sed_lines should be used.265 : ${ac_max_here_lines=38}266 571 267 572 # Identity of this package. … … 275 580 ac_includes_default="\ 276 581 #include <stdio.h> 277 #if HAVE_SYS_TYPES_H582 #ifdef HAVE_SYS_TYPES_H 278 583 # include <sys/types.h> 279 584 #endif 280 #if HAVE_SYS_STAT_H585 #ifdef HAVE_SYS_STAT_H 281 586 # include <sys/stat.h> 282 587 #endif 283 #if STDC_HEADERS588 #ifdef STDC_HEADERS 284 589 # include <stdlib.h> 285 590 # include <stddef.h> 286 591 #else 287 # if HAVE_STDLIB_H592 # ifdef HAVE_STDLIB_H 288 593 # include <stdlib.h> 289 594 # endif 290 595 #endif 291 #if HAVE_STRING_H292 # if ! STDC_HEADERS &&HAVE_MEMORY_H596 #ifdef HAVE_STRING_H 597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 293 598 # include <memory.h> 294 599 # endif 295 600 # include <string.h> 296 601 #endif 297 #if HAVE_STRINGS_H602 #ifdef HAVE_STRINGS_H 298 603 # include <strings.h> 299 604 #endif 300 #if HAVE_INTTYPES_H605 #ifdef HAVE_INTTYPES_H 301 606 # include <inttypes.h> 302 #else303 # if HAVE_STDINT_H304 # include <stdint.h>305 # endif306 607 #endif 307 #if HAVE_UNISTD_H 608 #ifdef HAVE_STDINT_H 609 # include <stdint.h> 610 #endif 611 #ifdef HAVE_UNISTD_H 308 612 # include <unistd.h> 309 613 #endif" 310 614 311 ac_subdirs_all="$ac_subdirs_all packages" 312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ ENABLE_ACCENTFOLD USE_SQLITE USE_APACHE_HTTPD LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS' 615 ac_subst_vars='SHELL 616 PATH_SEPARATOR 617 PACKAGE_NAME 618 PACKAGE_TARNAME 619 PACKAGE_VERSION 620 PACKAGE_STRING 621 PACKAGE_BUGREPORT 622 exec_prefix 623 prefix 624 program_transform_name 625 bindir 626 sbindir 627 libexecdir 628 datarootdir 629 datadir 630 sysconfdir 631 sharedstatedir 632 localstatedir 633 includedir 634 oldincludedir 635 docdir 636 infodir 637 htmldir 638 dvidir 639 pdfdir 640 psdir 641 libdir 642 localedir 643 mandir 644 DEFS 645 ECHO_C 646 ECHO_N 647 ECHO_T 648 LIBS 649 build_alias 650 host_alias 651 target_alias 652 PACKAGE 653 VERSION 654 USE_FASTCGI 655 USE_LANGACTION 656 USE_CORBA 657 MICO_DIR 658 USE_Z3950 659 USE_YAZ 660 ENABLE_ACCENTFOLD 661 USE_SQLITE 662 USE_APACHE_HTTPD 663 LDFLAGS 664 CFLAGS 665 CC 666 CPPFLAGS 667 ac_ct_CC 668 EXEEXT 669 OBJEXT 670 CXX 671 CXXFLAGS 672 ac_ct_CXX 673 AWK 674 YACC 675 YFLAGS 676 build 677 build_cpu 678 build_vendor 679 build_os 680 host 681 host_cpu 682 host_vendor 683 host_os 684 target 685 target_cpu 686 target_vendor 687 target_os 688 INSTALL_PROGRAM 689 INSTALL_SCRIPT 690 INSTALL_DATA 691 LN_S 692 SET_MAKE 693 RANLIB 694 COMPAT32BITFLAGS 695 MICO_VER 696 CPP 697 GREP 698 EGREP 699 U 700 ANSI2KNR 701 ALLOCA 702 LIBOBJS 703 STATIC 704 gsdlos 705 MODULEDIRS 706 subdirs 707 LTLIBOBJS' 313 708 ac_subst_files='' 709 ac_precious_vars='build_alias 710 host_alias 711 target_alias 712 CC 713 CFLAGS 714 LDFLAGS 715 LIBS 716 CPPFLAGS 717 CXX 718 CXXFLAGS 719 CCC 720 YACC 721 YFLAGS 722 CPP' 723 ac_subdirs_all='packages' 314 724 315 725 # Initialize some variables set by options. … … 338 748 # by default will actually change. 339 749 # Use braces instead of parens because sh, perl, etc. also accept them. 750 # (The list follows the same order as the GNU Coding Standards.) 340 751 bindir='${exec_prefix}/bin' 341 752 sbindir='${exec_prefix}/sbin' 342 753 libexecdir='${exec_prefix}/libexec' 343 datadir='${prefix}/share' 754 datarootdir='${prefix}/share' 755 datadir='${datarootdir}' 344 756 sysconfdir='${prefix}/etc' 345 757 sharedstatedir='${prefix}/com' 346 758 localstatedir='${prefix}/var' 347 libdir='${exec_prefix}/lib'348 759 includedir='${prefix}/include' 349 760 oldincludedir='/usr/include' 350 infodir='${prefix}/info' 351 mandir='${prefix}/man' 761 docdir='${datarootdir}/doc/${PACKAGE}' 762 infodir='${datarootdir}/info' 763 htmldir='${docdir}' 764 dvidir='${docdir}' 765 pdfdir='${docdir}' 766 psdir='${docdir}' 767 libdir='${exec_prefix}/lib' 768 localedir='${datarootdir}/locale' 769 mandir='${datarootdir}/man' 352 770 353 771 ac_prev= 772 ac_dashdash= 354 773 for ac_option 355 774 do 356 775 # If the previous option needs an argument, assign it. 357 776 if test -n "$ac_prev"; then 358 eval "$ac_prev=\$ac_option"777 eval $ac_prev=\$ac_option 359 778 ac_prev= 360 779 continue 361 780 fi 362 781 363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 782 case $ac_option in 783 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 784 *) ac_optarg=yes ;; 785 esac 364 786 365 787 # Accept the important Cygnus configure options, so we can diagnose typos. 366 788 367 case $ac_option in 789 case $ac_dashdash$ac_option in 790 --) 791 ac_dashdash=yes ;; 368 792 369 793 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 387 811 cache_file=config.cache ;; 388 812 389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)813 -datadir | --datadir | --datadi | --datad) 390 814 ac_prev=datadir ;; 391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392 | --da=*) 815 -datadir=* | --datadir=* | --datadi=* | --datad=*) 393 816 datadir=$ac_optarg ;; 817 818 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 819 | --dataroo | --dataro | --datar) 820 ac_prev=datarootdir ;; 821 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 822 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 823 datarootdir=$ac_optarg ;; 394 824 395 825 -disable-* | --disable-*) 396 826 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 397 827 # Reject names that are not valid shell variable names. 398 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&828 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 399 829 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 400 830 { (exit 1); exit 1; }; } 401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402 eval "enable_$ac_feature=no" ;; 831 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 832 eval enable_$ac_feature=no ;; 833 834 -docdir | --docdir | --docdi | --doc | --do) 835 ac_prev=docdir ;; 836 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 837 docdir=$ac_optarg ;; 838 839 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 840 ac_prev=dvidir ;; 841 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 842 dvidir=$ac_optarg ;; 403 843 404 844 -enable-* | --enable-*) 405 845 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 406 846 # Reject names that are not valid shell variable names. 407 expr "x$ac_feature" : ".*[^- _$as_cr_alnum]" >/dev/null &&847 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 408 848 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 409 849 { (exit 1); exit 1; }; } 410 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 411 case $ac_option in 412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 413 *) ac_optarg=yes ;; 414 esac 415 eval "enable_$ac_feature='$ac_optarg'" ;; 850 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 851 eval enable_$ac_feature=\$ac_optarg ;; 416 852 417 853 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 440 876 host_alias=$ac_optarg ;; 441 877 878 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 879 ac_prev=htmldir ;; 880 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 881 | --ht=*) 882 htmldir=$ac_optarg ;; 883 442 884 -includedir | --includedir | --includedi | --included | --include \ 443 885 | --includ | --inclu | --incl | --inc) … … 464 906 libexecdir=$ac_optarg ;; 465 907 908 -localedir | --localedir | --localedi | --localed | --locale) 909 ac_prev=localedir ;; 910 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 911 localedir=$ac_optarg ;; 912 466 913 -localstatedir | --localstatedir | --localstatedi | --localstated \ 467 | --localstate | --localstat | --localsta | --localst \ 468 | --locals | --local | --loca | --loc | --lo) 914 | --localstate | --localstat | --localsta | --localst | --locals) 469 915 ac_prev=localstatedir ;; 470 916 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 917 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 473 918 localstatedir=$ac_optarg ;; 474 919 … … 535 980 program_transform_name=$ac_optarg ;; 536 981 982 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 983 ac_prev=pdfdir ;; 984 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 985 pdfdir=$ac_optarg ;; 986 987 -psdir | --psdir | --psdi | --psd | --ps) 988 ac_prev=psdir ;; 989 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 990 psdir=$ac_optarg ;; 991 537 992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 538 993 | -silent | --silent | --silen | --sile | --sil) … … 587 1042 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 588 1043 # Reject names that are not valid shell variable names. 589 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1044 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 590 1045 { echo "$as_me: error: invalid package name: $ac_package" >&2 591 1046 { (exit 1); exit 1; }; } 592 ac_package=`echo $ac_package| sed 's/-/_/g'` 593 case $ac_option in 594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 595 *) ac_optarg=yes ;; 596 esac 597 eval "with_$ac_package='$ac_optarg'" ;; 1047 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1048 eval with_$ac_package=\$ac_optarg ;; 598 1049 599 1050 -without-* | --without-*) 600 1051 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 601 1052 # Reject names that are not valid shell variable names. 602 expr "x$ac_package" : ".*[^- _$as_cr_alnum]" >/dev/null &&1053 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 603 1054 { echo "$as_me: error: invalid package name: $ac_package" >&2 604 1055 { (exit 1); exit 1; }; } 605 ac_package=`echo $ac_package | sed 's/ -/_/g'`606 eval "with_$ac_package=no";;1056 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1057 eval with_$ac_package=no ;; 607 1058 608 1059 --x) … … 635 1086 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 636 1087 { (exit 1); exit 1; }; } 637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 638 eval "$ac_envvar='$ac_optarg'" 1088 eval $ac_envvar=\$ac_optarg 639 1089 export $ac_envvar ;; 640 1090 … … 656 1106 fi 657 1107 658 # Be sure to have absolute paths. 659 for ac_var in exec_prefix prefix 1108 # Be sure to have absolute directory names. 1109 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1110 datadir sysconfdir sharedstatedir localstatedir includedir \ 1111 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1112 libdir localedir mandir 660 1113 do 661 eval ac_val= $`echo $ac_var`1114 eval ac_val=\$$ac_var 662 1115 case $ac_val in 663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 665 { (exit 1); exit 1; }; };; 1116 [\\/$]* | ?:[\\/]* ) continue;; 1117 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 666 1118 esac 667 done 668 669 # Be sure to have absolute paths. 670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 671 localstatedir libdir includedir oldincludedir infodir mandir 672 do 673 eval ac_val=$`echo $ac_var` 674 case $ac_val in 675 [\\/$]* | ?:[\\/]* ) ;; 676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 677 { (exit 1); exit 1; }; };; 678 esac 1119 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1120 { (exit 1); exit 1; }; } 679 1121 done 680 1122 … … 703 1145 704 1146 1147 ac_pwd=`pwd` && test -n "$ac_pwd" && 1148 ac_ls_di=`ls -di .` && 1149 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1150 { echo "$as_me: error: Working directory cannot be determined" >&2 1151 { (exit 1); exit 1; }; } 1152 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1153 { echo "$as_me: error: pwd does not report name of working directory" >&2 1154 { (exit 1); exit 1; }; } 1155 1156 705 1157 # Find the source files, if location was not specified. 706 1158 if test -z "$srcdir"; then 707 1159 ac_srcdir_defaulted=yes 708 # Try the directory containing this script, then its parent.709 ac_confdir=` (dirname "$0") 2>/dev/null||1160 # Try the directory containing this script, then the parent directory. 1161 ac_confdir=`$as_dirname -- "$0" || 710 1162 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 711 1163 X"$0" : 'X\(//\)[^/]' \| \ 712 1164 X"$0" : 'X\(//\)$' \| \ 713 X"$0" : 'X\(/\)' \| \ 714 . : '\(.\)' 2>/dev/null || 1165 X"$0" : 'X\(/\)' \| . 2>/dev/null || 715 1166 echo X"$0" | 716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 717 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 718 /^X\(\/\/\)$/{ s//\1/; q; } 719 /^X\(\/\).*/{ s//\1/; q; } 720 s/.*/./; q'` 1167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1168 s//\1/ 1169 q 1170 } 1171 /^X\(\/\/\)[^/].*/{ 1172 s//\1/ 1173 q 1174 } 1175 /^X\(\/\/\)$/{ 1176 s//\1/ 1177 q 1178 } 1179 /^X\(\/\).*/{ 1180 s//\1/ 1181 q 1182 } 1183 s/.*/./; q'` 721 1184 srcdir=$ac_confdir 722 if test ! -r $srcdir/$ac_unique_file; then1185 if test ! -r "$srcdir/$ac_unique_file"; then 723 1186 srcdir=.. 724 1187 fi … … 726 1189 ac_srcdir_defaulted=no 727 1190 fi 728 if test ! -r $srcdir/$ac_unique_file; then729 if test "$ac_srcdir_defaulted" = yes; then730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&21191 if test ! -r "$srcdir/$ac_unique_file"; then 1192 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1193 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 731 1194 { (exit 1); exit 1; }; } 732 else 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1195 fi 1196 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1197 ac_abs_confdir=`( 1198 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 734 1199 { (exit 1); exit 1; }; } 735 fi 736 fi 737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 739 { (exit 1); exit 1; }; } 740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 741 ac_env_build_alias_set=${build_alias+set} 742 ac_env_build_alias_value=$build_alias 743 ac_cv_env_build_alias_set=${build_alias+set} 744 ac_cv_env_build_alias_value=$build_alias 745 ac_env_host_alias_set=${host_alias+set} 746 ac_env_host_alias_value=$host_alias 747 ac_cv_env_host_alias_set=${host_alias+set} 748 ac_cv_env_host_alias_value=$host_alias 749 ac_env_target_alias_set=${target_alias+set} 750 ac_env_target_alias_value=$target_alias 751 ac_cv_env_target_alias_set=${target_alias+set} 752 ac_cv_env_target_alias_value=$target_alias 753 ac_env_CC_set=${CC+set} 754 ac_env_CC_value=$CC 755 ac_cv_env_CC_set=${CC+set} 756 ac_cv_env_CC_value=$CC 757 ac_env_CFLAGS_set=${CFLAGS+set} 758 ac_env_CFLAGS_value=$CFLAGS 759 ac_cv_env_CFLAGS_set=${CFLAGS+set} 760 ac_cv_env_CFLAGS_value=$CFLAGS 761 ac_env_LDFLAGS_set=${LDFLAGS+set} 762 ac_env_LDFLAGS_value=$LDFLAGS 763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_cv_env_LDFLAGS_value=$LDFLAGS 765 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 766 ac_env_CPPFLAGS_value=$CPPFLAGS 767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 769 ac_env_CXX_set=${CXX+set} 770 ac_env_CXX_value=$CXX 771 ac_cv_env_CXX_set=${CXX+set} 772 ac_cv_env_CXX_value=$CXX 773 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 774 ac_env_CXXFLAGS_value=$CXXFLAGS 775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 777 ac_env_CPP_set=${CPP+set} 778 ac_env_CPP_value=$CPP 779 ac_cv_env_CPP_set=${CPP+set} 780 ac_cv_env_CPP_value=$CPP 1200 pwd)` 1201 # When building in place, set srcdir=. 1202 if test "$ac_abs_confdir" = "$ac_pwd"; then 1203 srcdir=. 1204 fi 1205 # Remove unnecessary trailing slashes from srcdir. 1206 # Double slashes in file names in object file debugging info 1207 # mess up M-x gdb in Emacs. 1208 case $srcdir in 1209 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1210 esac 1211 for ac_var in $ac_precious_vars; do 1212 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1213 eval ac_env_${ac_var}_value=\$${ac_var} 1214 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1215 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1216 done 781 1217 782 1218 # … … 807 1243 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 808 1244 809 _ACEOF810 811 cat <<_ACEOF812 1245 Installation directories: 813 1246 --prefix=PREFIX install architecture-independent files in PREFIX … … 827 1260 --sbindir=DIR system admin executables [EPREFIX/sbin] 828 1261 --libexecdir=DIR program executables [EPREFIX/libexec] 829 --datadir=DIR read-only architecture-independent data [PREFIX/share]830 1262 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 831 1263 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] … … 834 1266 --includedir=DIR C header files [PREFIX/include] 835 1267 --oldincludedir=DIR C header files for non-gcc [/usr/include] 836 --infodir=DIR info documentation [PREFIX/info] 837 --mandir=DIR man documentation [PREFIX/man] 1268 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1269 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1270 --infodir=DIR info documentation [DATAROOTDIR/info] 1271 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1272 --mandir=DIR man documentation [DATAROOTDIR/man] 1273 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1274 --htmldir=DIR html documentation [DOCDIR] 1275 --dvidir=DIR dvi documentation [DOCDIR] 1276 --pdfdir=DIR pdf documentation [DOCDIR] 1277 --psdir=DIR ps documentation [DOCDIR] 838 1278 _ACEOF 839 1279 … … 859 1299 --disable-accentfold Disable Accent Folding for MGPP 860 1300 --disable-sqlite Disable SQLite support 861 -- enable-apache-httpd Enable Apache httpd support1301 --disable-apache-httpd Disable Apache httpd support 862 1302 863 1303 Optional Packages: … … 874 1314 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 875 1315 nonstandard directory <lib dir> 876 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 877 headers in a nonstandard directory <include dir> 1316 LIBS libraries to pass to the linker, e.g. -l<library> 1317 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1318 you have headers in a nonstandard directory <include dir> 878 1319 CXX C++ compiler command 879 1320 CXXFLAGS C++ compiler flags 1321 YACC The `Yet Another C Compiler' implementation to use. Defaults to 1322 the first program found out of: `bison -y', `byacc', `yacc'. 1323 YFLAGS The list of arguments that will be passed by default to $YACC. 1324 This script will default YFLAGS to the empty string to avoid a 1325 default value of `-d' given by some make applications. 880 1326 CPP C preprocessor 881 1327 … … 884 1330 885 1331 _ACEOF 1332 ac_status=$? 886 1333 fi 887 1334 888 1335 if test "$ac_init_help" = "recursive"; then 889 1336 # If there are subdirs, report their specific --help. 890 ac_popdir=`pwd`891 1337 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 892 test -d $ac_dir|| continue1338 test -d "$ac_dir" || continue 893 1339 ac_builddir=. 894 1340 895 if test "$ac_dir" != .; then 1341 case "$ac_dir" in 1342 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1343 *) 896 1344 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 897 # A "../" for each directory in $ac_dir_suffix. 898 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 899 else 900 ac_dir_suffix= ac_top_builddir= 901 fi 1345 # A ".." for each directory in $ac_dir_suffix. 1346 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1347 case $ac_top_builddir_sub in 1348 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1349 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1350 esac ;; 1351 esac 1352 ac_abs_top_builddir=$ac_pwd 1353 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1354 # for backward compatibility: 1355 ac_top_builddir=$ac_top_build_prefix 902 1356 903 1357 case $srcdir in 904 .) # No --srcdir option.We are building in place.1358 .) # We are building in place. 905 1359 ac_srcdir=. 906 if test -z "$ac_top_builddir"; then 907 ac_top_srcdir=. 908 else 909 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 910 fi ;; 911 [\\/]* | ?:[\\/]* ) # Absolute path. 1360 ac_top_srcdir=$ac_top_builddir_sub 1361 ac_abs_top_srcdir=$ac_pwd ;; 1362 [\\/]* | ?:[\\/]* ) # Absolute name. 912 1363 ac_srcdir=$srcdir$ac_dir_suffix; 913 ac_top_srcdir=$srcdir ;; 914 *) # Relative path. 915 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 916 ac_top_srcdir=$ac_top_builddir$srcdir ;; 917 esac 918 919 # Do not use `cd foo && pwd` to compute absolute paths, because 920 # the directories may not exist. 921 case `pwd` in 922 .) ac_abs_builddir="$ac_dir";; 923 *) 924 case "$ac_dir" in 925 .) ac_abs_builddir=`pwd`;; 926 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 927 *) ac_abs_builddir=`pwd`/"$ac_dir";; 928 esac;; 929 esac 930 case $ac_abs_builddir in 931 .) ac_abs_top_builddir=${ac_top_builddir}.;; 932 *) 933 case ${ac_top_builddir}. in 934 .) ac_abs_top_builddir=$ac_abs_builddir;; 935 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 936 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 937 esac;; 938 esac 939 case $ac_abs_builddir in 940 .) ac_abs_srcdir=$ac_srcdir;; 941 *) 942 case $ac_srcdir in 943 .) ac_abs_srcdir=$ac_abs_builddir;; 944 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 945 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 946 esac;; 947 esac 948 case $ac_abs_builddir in 949 .) ac_abs_top_srcdir=$ac_top_srcdir;; 950 *) 951 case $ac_top_srcdir in 952 .) ac_abs_top_srcdir=$ac_abs_builddir;; 953 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 954 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 955 esac;; 956 esac 957 958 cd $ac_dir 959 # Check for guested configure; otherwise get Cygnus style configure. 960 if test -f $ac_srcdir/configure.gnu; then 961 echo 962 $SHELL $ac_srcdir/configure.gnu --help=recursive 963 elif test -f $ac_srcdir/configure; then 964 echo 965 $SHELL $ac_srcdir/configure --help=recursive 966 elif test -f $ac_srcdir/configure.ac || 967 test -f $ac_srcdir/configure.in; then 968 echo 969 $ac_configure --help 1364 ac_top_srcdir=$srcdir 1365 ac_abs_top_srcdir=$srcdir ;; 1366 *) # Relative name. 1367 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1368 ac_top_srcdir=$ac_top_build_prefix$srcdir 1369 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1370 esac 1371 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1372 1373 cd "$ac_dir" || { ac_status=$?; continue; } 1374 # Check for guested configure. 1375 if test -f "$ac_srcdir/configure.gnu"; then 1376 echo && 1377 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1378 elif test -f "$ac_srcdir/configure"; then 1379 echo && 1380 $SHELL "$ac_srcdir/configure" --help=recursive 970 1381 else 971 1382 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 972 fi 973 cd $ac_popdir1383 fi || ac_status=$? 1384 cd "$ac_pwd" || { ac_status=$?; break; } 974 1385 done 975 1386 fi 976 1387 977 test -n "$ac_init_help" && exit 01388 test -n "$ac_init_help" && exit $ac_status 978 1389 if $ac_init_version; then 979 1390 cat <<\_ACEOF 980 981 Copyright (C) 2003 Free Software Foundation, Inc. 1391 configure 1392 generated by GNU Autoconf 2.61 1393 1394 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1395 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 982 1396 This configure script is free software; the Free Software Foundation 983 1397 gives unlimited permission to copy, distribute and modify it. 984 1398 _ACEOF 985 exit 0 986 fi 987 exec 5>config.log 988 cat >&5 <<_ACEOF 1399 exit 1400 fi 1401 cat >config.log <<_ACEOF 989 1402 This file contains any messages produced by compilers while 990 1403 running configure, to aid debugging if configure makes a mistake. 991 1404 992 1405 It was created by $as_me, which was 993 generated by GNU Autoconf 2. 59. Invocation command line was1406 generated by GNU Autoconf 2.61. Invocation command line was 994 1407 995 1408 $ $0 $@ 996 1409 997 1410 _ACEOF 1411 exec 5>>config.log 998 1412 { 999 1413 cat <<_ASUNAME … … 1014 1428 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1015 1429 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1016 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1430 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1017 1431 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1018 1432 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` … … 1028 1442 echo "PATH: $as_dir" 1029 1443 done 1444 IFS=$as_save_IFS 1030 1445 1031 1446 } >&5 … … 1049 1464 ac_configure_args0= 1050 1465 ac_configure_args1= 1051 ac_sep=1052 1466 ac_must_keep_next=false 1053 1467 for ac_pass in 1 2 … … 1060 1474 | -silent | --silent | --silen | --sile | --sil) 1061 1475 continue ;; 1062 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)1476 *\'*) 1063 1477 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1064 1478 esac … … 1082 1496 esac 1083 1497 fi 1084 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1085 # Get rid of the leading space. 1086 ac_sep=" " 1498 ac_configure_args="$ac_configure_args '$ac_arg'" 1087 1499 ;; 1088 1500 esac … … 1095 1507 # config.log. We remove comments because anyway the quotes in there 1096 1508 # would cause problems or look ugly. 1097 # WARNING: Be sure not to use single quotes in there, as some shells,1098 # such as our DU 5.0 friend, will then `close' the trap.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. 1099 1511 trap 'exit_status=$? 1100 1512 # Save into config.log some information that might help in debugging. … … 1109 1521 echo 1110 1522 # The following way of writing the cache mishandles newlines in values, 1111 { 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 1112 1538 (set) 2>&1 | 1113 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in1114 * ac_space=\ *)1539 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1540 *${as_nl}ac_space=\ *) 1115 1541 sed -n \ 1116 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1117 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1542 "s/'\''/'\''\\\\'\'''\''/g; 1543 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1544 ;; #( 1545 *) 1546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1118 1547 ;; 1119 *) 1120 sed -n \ 1121 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1122 ;; 1123 esac; 1124 } 1548 esac | 1549 sort 1550 ) 1125 1551 echo 1126 1552 … … 1133 1559 for ac_var in $ac_subst_vars 1134 1560 do 1135 eval ac_val=$`echo $ac_var` 1136 echo "$ac_var='"'"'$ac_val'"'"'" 1561 eval ac_val=\$$ac_var 1562 case $ac_val in 1563 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1564 esac 1565 echo "$ac_var='\''$ac_val'\''" 1137 1566 done | sort 1138 1567 echo … … 1140 1569 if test -n "$ac_subst_files"; then 1141 1570 cat <<\_ASBOX 1142 ## ------------- ##1143 ## Output files. ##1144 ## ------------- ##1571 ## ------------------- ## 1572 ## File substitutions. ## 1573 ## ------------------- ## 1145 1574 _ASBOX 1146 1575 echo 1147 1576 for ac_var in $ac_subst_files 1148 1577 do 1149 eval ac_val=$`echo $ac_var` 1150 echo "$ac_var='"'"'$ac_val'"'"'" 1578 eval ac_val=\$$ac_var 1579 case $ac_val in 1580 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1581 esac 1582 echo "$ac_var='\''$ac_val'\''" 1151 1583 done | sort 1152 1584 echo … … 1160 1592 _ASBOX 1161 1593 echo 1162 sed "/^$/d" confdefs.h | sort1594 cat confdefs.h 1163 1595 echo 1164 1596 fi … … 1167 1599 echo "$as_me: exit $exit_status" 1168 1600 } >&5 1169 rm -f core *.core &&1170 rm -rfconftest* confdefs* conf$$* $ac_clean_files &&1601 rm -f core *.core core.conftest.* && 1602 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1171 1603 exit $exit_status 1172 1604 ' 0 1173 1605 for ac_signal in 1 2 13 15; do 1174 1606 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal … … 1177 1609 1178 1610 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1179 rm -rf conftest* confdefs.h 1180 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1181 echo >confdefs.h 1611 rm -f -r conftest* confdefs.h 1182 1612 1183 1613 # Predefined preprocessor variables. … … 1210 1640 # Let the site file select an alternate cache file if it wants to. 1211 1641 # Prefer explicitly selected file to automatically selected ones. 1212 if test -z "$CONFIG_SITE"; then 1213 if test "x$prefix" != xNONE; then 1214 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1215 else 1216 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1217 fi 1218 fi 1219 for ac_site_file in $CONFIG_SITE; do 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 1220 1653 if test -r "$ac_site_file"; then 1221 1654 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 … … 1233 1666 echo "$as_me: loading cache $cache_file" >&6;} 1234 1667 case $cache_file in 1235 [\\/]* | ?:[\\/]* ) . $cache_file;;1236 *) . ./$cache_file;;1668 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1669 *) . "./$cache_file";; 1237 1670 esac 1238 1671 fi … … 1246 1679 # value. 1247 1680 ac_cache_corrupted=false 1248 for ac_var in `(set) 2>&1 | 1249 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1681 for ac_var in $ac_precious_vars; do 1250 1682 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1251 1683 eval ac_new_set=\$ac_env_${ac_var}_set 1252 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"1253 eval ac_new_val= "\$ac_env_${ac_var}_value"1684 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1685 eval ac_new_val=\$ac_env_${ac_var}_value 1254 1686 case $ac_old_set,$ac_new_set in 1255 1687 set,) … … 1276 1708 if test "$ac_new_set" = set; then 1277 1709 case $ac_new_val in 1278 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1279 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1710 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1280 1711 *) ac_arg=$ac_var=$ac_new_val ;; 1281 1712 esac … … 1294 1725 fi 1295 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1296 1743 ac_ext=c 1297 1744 ac_cpp='$CPP $CPPFLAGS' … … 1301 1748 1302 1749 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 ac_config_headers="$ac_config_headers config.h" 1750 ac_config_headers="$ac_config_headers config.h" 1321 1751 1322 1752 … … 1353 1783 fi 1354 1784 1355 # Check whether --enable-corba or --disable-corbawas given.1785 # Check whether --enable-corba was given. 1356 1786 if test "${enable_corba+set}" = set; then 1357 enableval="$enable_corba" 1358 USE_CORBA=1 1787 enableval=$enable_corba; USE_CORBA=1 1359 1788 else 1360 1789 USE_CORBA=0 1361 fi; 1790 fi 1791 1362 1792 cat >>confdefs.h <<_ACEOF 1363 1793 #define USE_CORBA $USE_CORBA … … 1367 1797 1368 1798 1369 # Check whether --with-micodir or --without-micodirwas given.1799 # Check whether --with-micodir was given. 1370 1800 if test "${with_micodir+set}" = set; then 1371 withval="$with_micodir" 1372 MICO_DIR=$enableval 1801 withval=$with_micodir; MICO_DIR=$enableval 1373 1802 else 1374 1803 MICO_DIR="default" 1375 fi; 1804 fi 1805 1376 1806 cat >>confdefs.h <<_ACEOF 1377 1807 #define MICO_DIR "$MICO_DIR" … … 1380 1810 1381 1811 1382 # Check whether --enable-z3950 or --disable-z3950was given.1812 # Check whether --enable-z3950 was given. 1383 1813 if test "${enable_z3950+set}" = set; then 1384 enableval="$enable_z3950" 1385 USE_Z3950=1 1814 enableval=$enable_z3950; USE_Z3950=1 1386 1815 else 1387 1816 USE_Z3950=0 1388 fi; 1817 fi 1818 1389 1819 if test USE_Z3950 = 1; then 1390 1820 cat >>confdefs.h <<\_ACEOF … … 1395 1825 fi 1396 1826 1397 # Check whether --enable-yaz or --disable-yazwas given.1827 # Check whether --enable-yaz was given. 1398 1828 if test "${enable_yaz+set}" = set; then 1399 enableval="$enable_yaz" 1400 USE_YAZ=0 1829 enableval=$enable_yaz; USE_YAZ=0 1401 1830 else 1402 1831 USE_YAZ=1 1403 fi; 1832 fi 1833 1404 1834 cat >>confdefs.h <<\_ACEOF 1405 1835 #define USE_YAZ $USE_YAZ … … 1408 1838 1409 1839 1410 # Check whether --enable-accentfold or --disable-accentfoldwas given.1840 # Check whether --enable-accentfold was given. 1411 1841 if test "${enable_accentfold+set}" = set; then 1412 enableval="$enable_accentfold" 1413 ENABLE_ACCENTFOLD=0 1842 enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0 1414 1843 else 1415 1844 ENABLE_ACCENTFOLD=1 1416 fi; 1845 fi 1846 1417 1847 cat >>confdefs.h <<\_ACEOF 1418 1848 #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD … … 1421 1851 1422 1852 1423 # Check whether --enable-sqlite or --disable-sqlitewas given.1853 # Check whether --enable-sqlite was given. 1424 1854 if test "${enable_sqlite+set}" = set; then 1425 enableval="$enable_sqlite" 1426 USE_SQLITE=0 1855 enableval=$enable_sqlite; USE_SQLITE=0 1427 1856 else 1428 1857 USE_SQLITE=1 1429 fi; 1858 fi 1859 1430 1860 cat >>confdefs.h <<\_ACEOF 1431 1861 #define USE_SQLITE $USE_SQLITE … … 1434 1864 1435 1865 1436 # Check whether --enable-apache-httpd or --disable-apache-httpdwas given.1866 # Check whether --enable-apache-httpd was given. 1437 1867 if test "${enable_apache_httpd+set}" = set; then 1438 enableval="$enable_apache_httpd" 1868 enableval=$enable_apache_httpd; USE_APACHE_HTTPD=0 1869 else 1439 1870 USE_APACHE_HTTPD=1 1440 else 1441 USE_APACHE_HTTPD=0 1442 fi; 1871 fi 1872 1443 1873 cat >>confdefs.h <<\_ACEOF 1444 1874 #define USE_APACHE_HTTPD $USE_APACHE_HTTPD … … 1464 1894 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1465 1895 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1466 echo "$as_me:$LINENO: checking for $ac_word" >&51467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1896 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1468 1898 if test "${ac_cv_prog_CC+set}" = set; then 1469 1899 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1478 1908 test -z "$as_dir" && as_dir=. 1479 1909 for ac_exec_ext in '' $ac_executable_extensions; do 1480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1481 1911 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1482 1912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1485 1915 done 1486 1916 done 1917 IFS=$as_save_IFS 1487 1918 1488 1919 fi … … 1490 1921 CC=$ac_cv_prog_CC 1491 1922 if test -n "$CC"; then 1492 echo "$as_me:$LINENO: result: $CC" >&5 1493 echo "${ECHO_T}$CC" >&6 1494 else 1495 echo "$as_me:$LINENO: result: no" >&5 1496 echo "${ECHO_T}no" >&6 1497 fi 1923 { echo "$as_me:$LINENO: result: $CC" >&5 1924 echo "${ECHO_T}$CC" >&6; } 1925 else 1926 { echo "$as_me:$LINENO: result: no" >&5 1927 echo "${ECHO_T}no" >&6; } 1928 fi 1929 1498 1930 1499 1931 fi … … 1502 1934 # Extract the first word of "gcc", so it can be a program name with args. 1503 1935 set dummy gcc; ac_word=$2 1504 echo "$as_me:$LINENO: checking for $ac_word" >&51505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1936 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1506 1938 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1507 1939 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1516 1948 test -z "$as_dir" && as_dir=. 1517 1949 for ac_exec_ext in '' $ac_executable_extensions; do 1518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then1950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1519 1951 ac_cv_prog_ac_ct_CC="gcc" 1520 1952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1523 1955 done 1524 1956 done 1957 IFS=$as_save_IFS 1525 1958 1526 1959 fi … … 1528 1961 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1529 1962 if test -n "$ac_ct_CC"; then 1530 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1531 echo "${ECHO_T}$ac_ct_CC" >&6 1532 else 1533 echo "$as_me:$LINENO: result: no" >&5 1534 echo "${ECHO_T}no" >&6 1535 fi 1536 1537 CC=$ac_ct_CC 1963 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1964 echo "${ECHO_T}$ac_ct_CC" >&6; } 1965 else 1966 { echo "$as_me:$LINENO: result: no" >&5 1967 echo "${ECHO_T}no" >&6; } 1968 fi 1969 1970 if test "x$ac_ct_CC" = x; then 1971 CC="" 1972 else 1973 case $cross_compiling:$ac_tool_warned in 1974 yes:) 1975 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1976 whose name does not start with the host triplet. If you think this 1977 configuration is useful to you, please write to [email protected]." >&5 1978 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 1979 whose name does not start with the host triplet. If you think this 1980 configuration is useful to you, please write to [email protected]." >&2;} 1981 ac_tool_warned=yes ;; 1982 esac 1983 CC=$ac_ct_CC 1984 fi 1538 1985 else 1539 1986 CC="$ac_cv_prog_CC" … … 1541 1988 1542 1989 if test -z "$CC"; then 1543 if test -n "$ac_tool_prefix"; then1544 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.1990 if test -n "$ac_tool_prefix"; then 1991 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1545 1992 set dummy ${ac_tool_prefix}cc; ac_word=$2 1546 echo "$as_me:$LINENO: checking for $ac_word" >&51547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1993 { echo "$as_me:$LINENO: checking for $ac_word" >&5 1994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1548 1995 if test "${ac_cv_prog_CC+set}" = set; then 1549 1996 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1558 2005 test -z "$as_dir" && as_dir=. 1559 2006 for ac_exec_ext in '' $ac_executable_extensions; do 1560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1561 2008 ac_cv_prog_CC="${ac_tool_prefix}cc" 1562 2009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1565 2012 done 1566 2013 done 2014 IFS=$as_save_IFS 1567 2015 1568 2016 fi … … 1570 2018 CC=$ac_cv_prog_CC 1571 2019 if test -n "$CC"; then 1572 echo "$as_me:$LINENO: result: $CC" >&5 1573 echo "${ECHO_T}$CC" >&6 1574 else 1575 echo "$as_me:$LINENO: result: no" >&5 1576 echo "${ECHO_T}no" >&6 1577 fi 1578 1579 fi 1580 if test -z "$ac_cv_prog_CC"; then 1581 ac_ct_CC=$CC 1582 # Extract the first word of "cc", so it can be a program name with args. 1583 set dummy cc; ac_word=$2 1584 echo "$as_me:$LINENO: checking for $ac_word" >&5 1585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1586 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1587 echo $ECHO_N "(cached) $ECHO_C" >&6 1588 else 1589 if test -n "$ac_ct_CC"; then 1590 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1591 else 1592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1593 for as_dir in $PATH 1594 do 1595 IFS=$as_save_IFS 1596 test -z "$as_dir" && as_dir=. 1597 for ac_exec_ext in '' $ac_executable_extensions; do 1598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1599 ac_cv_prog_ac_ct_CC="cc" 1600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1601 break 2 2020 { echo "$as_me:$LINENO: result: $CC" >&5 2021 echo "${ECHO_T}$CC" >&6; } 2022 else 2023 { echo "$as_me:$LINENO: result: no" >&5 2024 echo "${ECHO_T}no" >&6; } 2025 fi 2026 2027 1602 2028 fi 1603 done1604 done1605 1606 fi1607 fi1608 ac_ct_CC=$ac_cv_prog_ac_ct_CC1609 if test -n "$ac_ct_CC"; then1610 echo "$as_me:$LINENO: result: $ac_ct_CC" >&51611 echo "${ECHO_T}$ac_ct_CC" >&61612 else1613 echo "$as_me:$LINENO: result: no" >&51614 echo "${ECHO_T}no" >&61615 fi1616 1617 CC=$ac_ct_CC1618 else1619 CC="$ac_cv_prog_CC"1620 fi1621 1622 2029 fi 1623 2030 if test -z "$CC"; then 1624 2031 # Extract the first word of "cc", so it can be a program name with args. 1625 2032 set dummy cc; ac_word=$2 1626 echo "$as_me:$LINENO: checking for $ac_word" >&51627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2033 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1628 2035 if test "${ac_cv_prog_CC+set}" = set; then 1629 2036 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1639 2046 test -z "$as_dir" && as_dir=. 1640 2047 for ac_exec_ext in '' $ac_executable_extensions; do 1641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1642 2049 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1643 2050 ac_prog_rejected=yes … … 1650 2057 done 1651 2058 done 2059 IFS=$as_save_IFS 1652 2060 1653 2061 if test $ac_prog_rejected = yes; then … … 1667 2075 CC=$ac_cv_prog_CC 1668 2076 if test -n "$CC"; then 1669 echo "$as_me:$LINENO: result: $CC" >&5 1670 echo "${ECHO_T}$CC" >&6 1671 else 1672 echo "$as_me:$LINENO: result: no" >&5 1673 echo "${ECHO_T}no" >&6 1674 fi 2077 { echo "$as_me:$LINENO: result: $CC" >&5 2078 echo "${ECHO_T}$CC" >&6; } 2079 else 2080 { echo "$as_me:$LINENO: result: no" >&5 2081 echo "${ECHO_T}no" >&6; } 2082 fi 2083 1675 2084 1676 2085 fi 1677 2086 if test -z "$CC"; then 1678 2087 if test -n "$ac_tool_prefix"; then 1679 for ac_prog in cl 2088 for ac_prog in cl.exe 1680 2089 do 1681 2090 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1682 2091 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1683 echo "$as_me:$LINENO: checking for $ac_word" >&51684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2092 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1685 2094 if test "${ac_cv_prog_CC+set}" = set; then 1686 2095 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1695 2104 test -z "$as_dir" && as_dir=. 1696 2105 for ac_exec_ext in '' $ac_executable_extensions; do 1697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1698 2107 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1699 2108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1702 2111 done 1703 2112 done 2113 IFS=$as_save_IFS 1704 2114 1705 2115 fi … … 1707 2117 CC=$ac_cv_prog_CC 1708 2118 if test -n "$CC"; then 1709 echo "$as_me:$LINENO: result: $CC" >&5 1710 echo "${ECHO_T}$CC" >&6 1711 else 1712 echo "$as_me:$LINENO: result: no" >&5 1713 echo "${ECHO_T}no" >&6 1714 fi 2119 { echo "$as_me:$LINENO: result: $CC" >&5 2120 echo "${ECHO_T}$CC" >&6; } 2121 else 2122 { echo "$as_me:$LINENO: result: no" >&5 2123 echo "${ECHO_T}no" >&6; } 2124 fi 2125 1715 2126 1716 2127 test -n "$CC" && break … … 1719 2130 if test -z "$CC"; then 1720 2131 ac_ct_CC=$CC 1721 for ac_prog in cl 2132 for ac_prog in cl.exe 1722 2133 do 1723 2134 # Extract the first word of "$ac_prog", so it can be a program name with args. 1724 2135 set dummy $ac_prog; ac_word=$2 1725 echo "$as_me:$LINENO: checking for $ac_word" >&51726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2136 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1727 2138 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1728 2139 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1737 2148 test -z "$as_dir" && as_dir=. 1738 2149 for ac_exec_ext in '' $ac_executable_extensions; do 1739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1740 2151 ac_cv_prog_ac_ct_CC="$ac_prog" 1741 2152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 1744 2155 done 1745 2156 done 2157 IFS=$as_save_IFS 1746 2158 1747 2159 fi … … 1749 2161 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1750 2162 if test -n "$ac_ct_CC"; then 1751 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1752 echo "${ECHO_T}$ac_ct_CC" >&6 1753 else 1754 echo "$as_me:$LINENO: result: no" >&5 1755 echo "${ECHO_T}no" >&6 1756 fi 2163 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2164 echo "${ECHO_T}$ac_ct_CC" >&6; } 2165 else 2166 { echo "$as_me:$LINENO: result: no" >&5 2167 echo "${ECHO_T}no" >&6; } 2168 fi 2169 1757 2170 1758 2171 test -n "$ac_ct_CC" && break 1759 2172 done 1760 2173 1761 CC=$ac_ct_CC 2174 if test "x$ac_ct_CC" = x; then 2175 CC="" 2176 else 2177 case $cross_compiling:$ac_tool_warned in 2178 yes:) 2179 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2180 whose name does not start with the host triplet. If you think this 2181 configuration is useful to you, please write to [email protected]." >&5 2182 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2183 whose name does not start with the host triplet. If you think this 2184 configuration is useful to you, please write to [email protected]." >&2;} 2185 ac_tool_warned=yes ;; 2186 esac 2187 CC=$ac_ct_CC 2188 fi 1762 2189 fi 1763 2190 … … 1772 2199 1773 2200 # Provide some information about the compiler. 1774 echo "$as_me:$LINENO:" \ 1775 "checking for C compiler version" >&5 2201 echo "$as_me:$LINENO: checking for C compiler version" >&5 1776 2202 ac_compiler=`set X $ac_compile; echo $2` 1777 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1778 (eval $ac_compiler --version </dev/null >&5) 2>&5 2203 { (ac_try="$ac_compiler --version >&5" 2204 case "(($ac_try" in 2205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2206 *) ac_try_echo=$ac_try;; 2207 esac 2208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2209 (eval "$ac_compiler --version >&5") 2>&5 1779 2210 ac_status=$? 1780 2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1781 2212 (exit $ac_status); } 1782 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1783 (eval $ac_compiler -v </dev/null >&5) 2>&5 2213 { (ac_try="$ac_compiler -v >&5" 2214 case "(($ac_try" in 2215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2216 *) ac_try_echo=$ac_try;; 2217 esac 2218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2219 (eval "$ac_compiler -v >&5") 2>&5 1784 2220 ac_status=$? 1785 2221 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1786 2222 (exit $ac_status); } 1787 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1788 (eval $ac_compiler -V </dev/null >&5) 2>&5 2223 { (ac_try="$ac_compiler -V >&5" 2224 case "(($ac_try" in 2225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2226 *) ac_try_echo=$ac_try;; 2227 esac 2228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2229 (eval "$ac_compiler -V >&5") 2>&5 1789 2230 ac_status=$? 1790 2231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1811 2252 # It will help us diagnose broken compilers, and finding out an intuition 1812 2253 # of exeext. 1813 echo "$as_me:$LINENO: checking for C compiler default output file name" >&51814 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2254 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2255 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 1815 2256 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1816 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1817 (eval $ac_link_default) 2>&5 2257 # 2258 # List of possible output files, starting from the most likely. 2259 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2260 # only as a last resort. b.out is created by i960 compilers. 2261 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' 2262 # 2263 # The IRIX 6 linker writes into existing files which may not be 2264 # executable, retaining their permissions. Remove them first so a 2265 # subsequent execution test works. 2266 ac_rmfiles= 2267 for ac_file in $ac_files 2268 do 2269 case $ac_file in 2270 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2271 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2272 esac 2273 done 2274 rm -f $ac_rmfiles 2275 2276 if { (ac_try="$ac_link_default" 2277 case "(($ac_try" in 2278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2279 *) ac_try_echo=$ac_try;; 2280 esac 2281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2282 (eval "$ac_link_default") 2>&5 1818 2283 ac_status=$? 1819 2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1820 2285 (exit $ac_status); }; then 1821 # Find the output, starting from the most likely. This scheme is 1822 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1823 # resort. 1824 1825 # Be careful to initialize this variable, since it used to be cached. 1826 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1827 ac_cv_exeext= 1828 # b.out is created by i960 compilers. 1829 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2286 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2287 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2288 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2289 # so that the user can short-circuit this test for compilers unknown to 2290 # Autoconf. 2291 for ac_file in $ac_files '' 1830 2292 do 1831 2293 test -f "$ac_file" || continue 1832 2294 case $ac_file in 1833 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1834 ;; 1835 conftest.$ac_ext ) 1836 # This is the source file. 2295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 1837 2296 ;; 1838 2297 [ab].out ) … … 1841 2300 break;; 1842 2301 *.* ) 1843 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1844 # FIXME: I believe we export ac_cv_exeext for Libtool, 1845 # but it would be cool to find out if it's true. Does anybody 1846 # maintain Libtool? --akim. 1847 export ac_cv_exeext 2302 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2303 then :; else 2304 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2305 fi 2306 # We set ac_cv_exeext here because the later test for it is not 2307 # safe: cross compilers may not add the suffix if given an `-o' 2308 # argument, so we may need to know it at that point already. 2309 # Even if this section looks crufty: it has the advantage of 2310 # actually working. 1848 2311 break;; 1849 2312 * ) … … 1851 2314 esac 1852 2315 done 1853 else 2316 test "$ac_cv_exeext" = no && ac_cv_exeext= 2317 2318 else 2319 ac_file='' 2320 fi 2321 2322 { echo "$as_me:$LINENO: result: $ac_file" >&5 2323 echo "${ECHO_T}$ac_file" >&6; } 2324 if test -z "$ac_file"; then 1854 2325 echo "$as_me: failed program was:" >&5 1855 2326 sed 's/^/| /' conftest.$ac_ext >&5 … … 1863 2334 1864 2335 ac_exeext=$ac_cv_exeext 1865 echo "$as_me:$LINENO: result: $ac_file" >&5 1866 echo "${ECHO_T}$ac_file" >&6 1867 1868 # Check the compiler produces executables we can run. If not, either 2336 2337 # Check that the compiler produces executables we can run. If not, either 1869 2338 # the compiler is broken, or we cross compile. 1870 echo "$as_me:$LINENO: checking whether the C compiler works" >&51871 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2339 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2340 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 1872 2341 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1873 2342 # If not cross compiling, check that we can run a simple program. 1874 2343 if test "$cross_compiling" != yes; then 1875 2344 if { ac_try='./$ac_file' 1876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1877 (eval $ac_try) 2>&5 2345 { (case "(($ac_try" in 2346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2347 *) ac_try_echo=$ac_try;; 2348 esac 2349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2350 (eval "$ac_try") 2>&5 1878 2351 ac_status=$? 1879 2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1894 2367 fi 1895 2368 fi 1896 echo "$as_me:$LINENO: result: yes" >&51897 echo "${ECHO_T}yes" >&6 2369 { echo "$as_me:$LINENO: result: yes" >&5 2370 echo "${ECHO_T}yes" >&6; } 1898 2371 1899 2372 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1900 2373 ac_clean_files=$ac_clean_files_save 1901 # Check th e compiler produces executables we can run. If not, either2374 # Check that the compiler produces executables we can run. If not, either 1902 2375 # the compiler is broken, or we cross compile. 1903 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1904 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1905 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1906 echo "${ECHO_T}$cross_compiling" >&6 1907 1908 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1909 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1911 (eval $ac_link) 2>&5 2376 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2377 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2378 { echo "$as_me:$LINENO: result: $cross_compiling" >&5 2379 echo "${ECHO_T}$cross_compiling" >&6; } 2380 2381 { echo "$as_me:$LINENO: checking for suffix of executables" >&5 2382 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2383 if { (ac_try="$ac_link" 2384 case "(($ac_try" in 2385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2386 *) ac_try_echo=$ac_try;; 2387 esac 2388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2389 (eval "$ac_link") 2>&5 1912 2390 ac_status=$? 1913 2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 1920 2398 test -f "$ac_file" || continue 1921 2399 case $ac_file in 1922 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *. o | *.obj ) ;;2400 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 1923 2401 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1924 export ac_cv_exeext1925 2402 break;; 1926 2403 * ) break;; … … 1936 2413 1937 2414 rm -f conftest$ac_cv_exeext 1938 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&51939 echo "${ECHO_T}$ac_cv_exeext" >&6 2415 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2416 echo "${ECHO_T}$ac_cv_exeext" >&6; } 1940 2417 1941 2418 rm -f conftest.$ac_ext 1942 2419 EXEEXT=$ac_cv_exeext 1943 2420 ac_exeext=$EXEEXT 1944 echo "$as_me:$LINENO: checking for suffix of object files" >&51945 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2421 { echo "$as_me:$LINENO: checking for suffix of object files" >&5 2422 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 1946 2423 if test "${ac_cv_objext+set}" = set; then 1947 2424 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 1963 2440 _ACEOF 1964 2441 rm -f conftest.o conftest.obj 1965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1966 (eval $ac_compile) 2>&5 2442 if { (ac_try="$ac_compile" 2443 case "(($ac_try" in 2444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2445 *) ac_try_echo=$ac_try;; 2446 esac 2447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2448 (eval "$ac_compile") 2>&5 1967 2449 ac_status=$? 1968 2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1969 2451 (exit $ac_status); }; then 1970 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2452 for ac_file in conftest.o conftest.obj conftest.*; do 2453 test -f "$ac_file" || continue; 1971 2454 case $ac_file in 1972 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;2455 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 1973 2456 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1974 2457 break;; … … 1988 2471 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1989 2472 fi 1990 echo "$as_me:$LINENO: result: $ac_cv_objext" >&51991 echo "${ECHO_T}$ac_cv_objext" >&6 2473 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2474 echo "${ECHO_T}$ac_cv_objext" >&6; } 1992 2475 OBJEXT=$ac_cv_objext 1993 2476 ac_objext=$OBJEXT 1994 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&51995 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2477 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2478 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 1996 2479 if test "${ac_cv_c_compiler_gnu+set}" = set; then 1997 2480 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2016 2499 _ACEOF 2017 2500 rm -f conftest.$ac_objext 2018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2019 (eval $ac_compile) 2>conftest.er1 2501 if { (ac_try="$ac_compile" 2502 case "(($ac_try" in 2503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2504 *) ac_try_echo=$ac_try;; 2505 esac 2506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2507 (eval "$ac_compile") 2>conftest.er1 2020 2508 ac_status=$? 2021 2509 grep -v '^ *+' conftest.er1 >conftest.err … … 2023 2511 cat conftest.err >&5 2024 2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2025 (exit $ac_status); } && 2026 { ac_try='test -z "$ac_c_werror_flag" 2027 || test ! -s conftest.err' 2028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2029 (eval $ac_try) 2>&5 2030 ac_status=$? 2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2032 (exit $ac_status); }; } && 2033 { ac_try='test -s conftest.$ac_objext' 2034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2035 (eval $ac_try) 2>&5 2036 ac_status=$? 2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2038 (exit $ac_status); }; }; then 2513 (exit $ac_status); } && { 2514 test -z "$ac_c_werror_flag" || 2515 test ! -s conftest.err 2516 } && test -s conftest.$ac_objext; then 2039 2517 ac_compiler_gnu=yes 2040 2518 else … … 2042 2520 sed 's/^/| /' conftest.$ac_ext >&5 2043 2521 2044 ac_compiler_gnu=no 2045 fi 2046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2522 ac_compiler_gnu=no 2523 fi 2524 2525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2047 2526 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2048 2527 2049 2528 fi 2050 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&52051 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2529 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2530 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2052 2531 GCC=`test $ac_compiler_gnu = yes && echo yes` 2053 2532 ac_test_CFLAGS=${CFLAGS+set} 2054 2533 ac_save_CFLAGS=$CFLAGS 2055 CFLAGS="-g" 2056 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2057 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2534 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2535 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2058 2536 if test "${ac_cv_prog_cc_g+set}" = set; then 2059 2537 echo $ECHO_N "(cached) $ECHO_C" >&6 2060 2538 else 2061 cat >conftest.$ac_ext <<_ACEOF 2539 ac_save_c_werror_flag=$ac_c_werror_flag 2540 ac_c_werror_flag=yes 2541 ac_cv_prog_cc_g=no 2542 CFLAGS="-g" 2543 cat >conftest.$ac_ext <<_ACEOF 2062 2544 /* confdefs.h. */ 2063 2545 _ACEOF … … 2075 2557 _ACEOF 2076 2558 rm -f conftest.$ac_objext 2077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2078 (eval $ac_compile) 2>conftest.er1 2559 if { (ac_try="$ac_compile" 2560 case "(($ac_try" in 2561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2562 *) ac_try_echo=$ac_try;; 2563 esac 2564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2565 (eval "$ac_compile") 2>conftest.er1 2079 2566 ac_status=$? 2080 2567 grep -v '^ *+' conftest.er1 >conftest.err … … 2082 2569 cat conftest.err >&5 2083 2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2084 (exit $ac_status); } && 2085 { ac_try='test -z "$ac_c_werror_flag" 2086 || test ! -s conftest.err' 2087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2088 (eval $ac_try) 2>&5 2089 ac_status=$? 2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2091 (exit $ac_status); }; } && 2092 { ac_try='test -s conftest.$ac_objext' 2093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2094 (eval $ac_try) 2>&5 2095 ac_status=$? 2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2097 (exit $ac_status); }; }; then 2571 (exit $ac_status); } && { 2572 test -z "$ac_c_werror_flag" || 2573 test ! -s conftest.err 2574 } && test -s conftest.$ac_objext; then 2098 2575 ac_cv_prog_cc_g=yes 2099 2576 else … … 2101 2578 sed 's/^/| /' conftest.$ac_ext >&5 2102 2579 2103 ac_cv_prog_cc_g=no 2104 fi 2105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2106 fi 2107 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2108 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2580 CFLAGS="" 2581 cat >conftest.$ac_ext <<_ACEOF 2582 /* confdefs.h. */ 2583 _ACEOF 2584 cat confdefs.h >>conftest.$ac_ext 2585 cat >>conftest.$ac_ext <<_ACEOF 2586 /* end confdefs.h. */ 2587 2588 int 2589 main () 2590 { 2591 2592 ; 2593 return 0; 2594 } 2595 _ACEOF 2596 rm -f conftest.$ac_objext 2597 if { (ac_try="$ac_compile" 2598 case "(($ac_try" in 2599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2600 *) ac_try_echo=$ac_try;; 2601 esac 2602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2603 (eval "$ac_compile") 2>conftest.er1 2604 ac_status=$? 2605 grep -v '^ *+' conftest.er1 >conftest.err 2606 rm -f conftest.er1 2607 cat conftest.err >&5 2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2609 (exit $ac_status); } && { 2610 test -z "$ac_c_werror_flag" || 2611 test ! -s conftest.err 2612 } && test -s conftest.$ac_objext; then 2613 : 2614 else 2615 echo "$as_me: failed program was:" >&5 2616 sed 's/^/| /' conftest.$ac_ext >&5 2617 2618 ac_c_werror_flag=$ac_save_c_werror_flag 2619 CFLAGS="-g" 2620 cat >conftest.$ac_ext <<_ACEOF 2621 /* confdefs.h. */ 2622 _ACEOF 2623 cat confdefs.h >>conftest.$ac_ext 2624 cat >>conftest.$ac_ext <<_ACEOF 2625 /* end confdefs.h. */ 2626 2627 int 2628 main () 2629 { 2630 2631 ; 2632 return 0; 2633 } 2634 _ACEOF 2635 rm -f conftest.$ac_objext 2636 if { (ac_try="$ac_compile" 2637 case "(($ac_try" in 2638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2639 *) ac_try_echo=$ac_try;; 2640 esac 2641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2642 (eval "$ac_compile") 2>conftest.er1 2643 ac_status=$? 2644 grep -v '^ *+' conftest.er1 >conftest.err 2645 rm -f conftest.er1 2646 cat conftest.err >&5 2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2648 (exit $ac_status); } && { 2649 test -z "$ac_c_werror_flag" || 2650 test ! -s conftest.err 2651 } && test -s conftest.$ac_objext; then 2652 ac_cv_prog_cc_g=yes 2653 else 2654 echo "$as_me: failed program was:" >&5 2655 sed 's/^/| /' conftest.$ac_ext >&5 2656 2657 2658 fi 2659 2660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2661 fi 2662 2663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2664 fi 2665 2666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2667 ac_c_werror_flag=$ac_save_c_werror_flag 2668 fi 2669 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2670 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2109 2671 if test "$ac_test_CFLAGS" = set; then 2110 2672 CFLAGS=$ac_save_CFLAGS … … 2122 2684 fi 2123 2685 fi 2124 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&52125 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&62126 if test "${ac_cv_prog_cc_ stdc+set}" = set; then2686 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2687 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2688 if test "${ac_cv_prog_cc_c89+set}" = set; then 2127 2689 echo $ECHO_N "(cached) $ECHO_C" >&6 2128 2690 else 2129 ac_cv_prog_cc_ stdc=no2691 ac_cv_prog_cc_c89=no 2130 2692 ac_save_CC=$CC 2131 2693 cat >conftest.$ac_ext <<_ACEOF … … 2161 2723 function prototypes and stuff, but not '\xHH' hex character constants. 2162 2724 These don't provoke an error unfortunately, instead are silently treated 2163 as 'x'. The following induces an error, until -std 1is added to get2725 as 'x'. The following induces an error, until -std is added to get 2164 2726 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2165 2727 array size at least. It's necessary to write '\x00'==0 to get something 2166 that's true only with -std 1. */2728 that's true only with -std. */ 2167 2729 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2730 2731 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2732 inside strings and character constants. */ 2733 #define FOO(x) 'x' 2734 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2168 2735 2169 2736 int test (int i, double x); … … 2181 2748 } 2182 2749 _ACEOF 2183 # Don't try gcc -ansi; that turns off useful extensions and 2184 # breaks some systems' header files. 2185 # AIX -qlanglvl=ansi 2186 # Ultrix and OSF/1 -std1 2187 # HP-UX 10.20 and later -Ae 2188 # HP-UX older versions -Aa -D_HPUX_SOURCE 2189 # SVR4 -Xc -D__EXTENSIONS__ 2190 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2750 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2751 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2191 2752 do 2192 2753 CC="$ac_save_CC $ac_arg" 2193 2754 rm -f conftest.$ac_objext 2194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2195 (eval $ac_compile) 2>conftest.er1 2755 if { (ac_try="$ac_compile" 2756 case "(($ac_try" in 2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2758 *) ac_try_echo=$ac_try;; 2759 esac 2760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2761 (eval "$ac_compile") 2>conftest.er1 2196 2762 ac_status=$? 2197 2763 grep -v '^ *+' conftest.er1 >conftest.err … … 2199 2765 cat conftest.err >&5 2200 2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2201 (exit $ac_status); } && 2202 { ac_try='test -z "$ac_c_werror_flag" 2203 || test ! -s conftest.err' 2204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2205 (eval $ac_try) 2>&5 2206 ac_status=$? 2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2208 (exit $ac_status); }; } && 2209 { ac_try='test -s conftest.$ac_objext' 2210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2211 (eval $ac_try) 2>&5 2212 ac_status=$? 2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2214 (exit $ac_status); }; }; then 2215 ac_cv_prog_cc_stdc=$ac_arg 2216 break 2767 (exit $ac_status); } && { 2768 test -z "$ac_c_werror_flag" || 2769 test ! -s conftest.err 2770 } && test -s conftest.$ac_objext; then 2771 ac_cv_prog_cc_c89=$ac_arg 2217 2772 else 2218 2773 echo "$as_me: failed program was:" >&5 2219 2774 sed 's/^/| /' conftest.$ac_ext >&5 2220 2775 2221 fi 2222 rm -f conftest.err conftest.$ac_objext 2776 2777 fi 2778 2779 rm -f core conftest.err conftest.$ac_objext 2780 test "x$ac_cv_prog_cc_c89" != "xno" && break 2223 2781 done 2224 rm -f conftest.$ac_ext conftest.$ac_objext2782 rm -f conftest.$ac_ext 2225 2783 CC=$ac_save_CC 2226 2784 2227 2785 fi 2228 2229 case "x$ac_cv_prog_cc_stdc" in 2230 x|xno) 2231 echo "$as_me:$LINENO: result: none needed" >&5 2232 echo "${ECHO_T}none needed" >&6 ;; 2786 # AC_CACHE_VAL 2787 case "x$ac_cv_prog_cc_c89" in 2788 x) 2789 { echo "$as_me:$LINENO: result: none needed" >&5 2790 echo "${ECHO_T}none needed" >&6; } ;; 2791 xno) 2792 { echo "$as_me:$LINENO: result: unsupported" >&5 2793 echo "${ECHO_T}unsupported" >&6; } ;; 2233 2794 *) 2234 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2235 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2236 CC="$CC $ac_cv_prog_cc_stdc" ;; 2237 esac 2238 2239 # Some people use a C++ compiler to compile C. Since we use `exit', 2240 # in C++ we need to declare it. In case someone uses the same compiler 2241 # for both compiling C and C++ we need to have the C++ compiler decide 2242 # the declaration of exit, since it's the most demanding environment. 2243 cat >conftest.$ac_ext <<_ACEOF 2244 #ifndef __cplusplus 2245 choke me 2246 #endif 2247 _ACEOF 2248 rm -f conftest.$ac_objext 2249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2250 (eval $ac_compile) 2>conftest.er1 2251 ac_status=$? 2252 grep -v '^ *+' conftest.er1 >conftest.err 2253 rm -f conftest.er1 2254 cat conftest.err >&5 2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2256 (exit $ac_status); } && 2257 { ac_try='test -z "$ac_c_werror_flag" 2258 || test ! -s conftest.err' 2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2260 (eval $ac_try) 2>&5 2261 ac_status=$? 2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2263 (exit $ac_status); }; } && 2264 { ac_try='test -s conftest.$ac_objext' 2265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2266 (eval $ac_try) 2>&5 2267 ac_status=$? 2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2269 (exit $ac_status); }; }; then 2270 for ac_declaration in \ 2271 '' \ 2272 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2273 'extern "C" void std::exit (int); using std::exit;' \ 2274 'extern "C" void exit (int) throw ();' \ 2275 'extern "C" void exit (int);' \ 2276 'void exit (int);' 2277 do 2278 cat >conftest.$ac_ext <<_ACEOF 2279 /* confdefs.h. */ 2280 _ACEOF 2281 cat confdefs.h >>conftest.$ac_ext 2282 cat >>conftest.$ac_ext <<_ACEOF 2283 /* end confdefs.h. */ 2284 $ac_declaration 2285 #include <stdlib.h> 2286 int 2287 main () 2288 { 2289 exit (42); 2290 ; 2291 return 0; 2292 } 2293 _ACEOF 2294 rm -f conftest.$ac_objext 2295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2296 (eval $ac_compile) 2>conftest.er1 2297 ac_status=$? 2298 grep -v '^ *+' conftest.er1 >conftest.err 2299 rm -f conftest.er1 2300 cat conftest.err >&5 2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2302 (exit $ac_status); } && 2303 { ac_try='test -z "$ac_c_werror_flag" 2304 || test ! -s conftest.err' 2305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2306 (eval $ac_try) 2>&5 2307 ac_status=$? 2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2309 (exit $ac_status); }; } && 2310 { ac_try='test -s conftest.$ac_objext' 2311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2312 (eval $ac_try) 2>&5 2313 ac_status=$? 2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2315 (exit $ac_status); }; }; then 2316 : 2317 else 2318 echo "$as_me: failed program was:" >&5 2319 sed 's/^/| /' conftest.$ac_ext >&5 2320 2321 continue 2322 fi 2323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2324 cat >conftest.$ac_ext <<_ACEOF 2325 /* confdefs.h. */ 2326 _ACEOF 2327 cat confdefs.h >>conftest.$ac_ext 2328 cat >>conftest.$ac_ext <<_ACEOF 2329 /* end confdefs.h. */ 2330 $ac_declaration 2331 int 2332 main () 2333 { 2334 exit (42); 2335 ; 2336 return 0; 2337 } 2338 _ACEOF 2339 rm -f conftest.$ac_objext 2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2341 (eval $ac_compile) 2>conftest.er1 2342 ac_status=$? 2343 grep -v '^ *+' conftest.er1 >conftest.err 2344 rm -f conftest.er1 2345 cat conftest.err >&5 2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2347 (exit $ac_status); } && 2348 { ac_try='test -z "$ac_c_werror_flag" 2349 || test ! -s conftest.err' 2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2351 (eval $ac_try) 2>&5 2352 ac_status=$? 2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2354 (exit $ac_status); }; } && 2355 { ac_try='test -s conftest.$ac_objext' 2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2357 (eval $ac_try) 2>&5 2358 ac_status=$? 2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2360 (exit $ac_status); }; }; then 2361 break 2362 else 2363 echo "$as_me: failed program was:" >&5 2364 sed 's/^/| /' conftest.$ac_ext >&5 2365 2366 fi 2367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2368 done 2369 rm -f conftest* 2370 if test -n "$ac_declaration"; then 2371 echo '#ifdef __cplusplus' >>confdefs.h 2372 echo $ac_declaration >>confdefs.h 2373 echo '#endif' >>confdefs.h 2374 fi 2375 2376 else 2377 echo "$as_me: failed program was:" >&5 2378 sed 's/^/| /' conftest.$ac_ext >&5 2379 2380 fi 2381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2795 CC="$CC $ac_cv_prog_cc_c89" 2796 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2797 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2798 esac 2799 2800 2382 2801 ac_ext=c 2383 2802 ac_cpp='$CPP $CPPFLAGS' … … 2386 2805 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2387 2806 2388 ac_ext=c c2807 ac_ext=cpp 2389 2808 ac_cpp='$CXXCPP $CPPFLAGS' 2390 2809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2391 2810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2392 2811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2393 if test -n "$ac_tool_prefix"; then 2394 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2812 if test -z "$CXX"; then 2813 if test -n "$CCC"; then 2814 CXX=$CCC 2815 else 2816 if test -n "$ac_tool_prefix"; then 2817 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2395 2818 do 2396 2819 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2397 2820 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2398 echo "$as_me:$LINENO: checking for $ac_word" >&52399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2821 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2400 2823 if test "${ac_cv_prog_CXX+set}" = set; then 2401 2824 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2410 2833 test -z "$as_dir" && as_dir=. 2411 2834 for ac_exec_ext in '' $ac_executable_extensions; do 2412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2413 2836 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2414 2837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2417 2840 done 2418 2841 done 2842 IFS=$as_save_IFS 2419 2843 2420 2844 fi … … 2422 2846 CXX=$ac_cv_prog_CXX 2423 2847 if test -n "$CXX"; then 2424 echo "$as_me:$LINENO: result: $CXX" >&5 2425 echo "${ECHO_T}$CXX" >&6 2426 else 2427 echo "$as_me:$LINENO: result: no" >&5 2428 echo "${ECHO_T}no" >&6 2429 fi 2848 { echo "$as_me:$LINENO: result: $CXX" >&5 2849 echo "${ECHO_T}$CXX" >&6; } 2850 else 2851 { echo "$as_me:$LINENO: result: no" >&5 2852 echo "${ECHO_T}no" >&6; } 2853 fi 2854 2430 2855 2431 2856 test -n "$CXX" && break … … 2434 2859 if test -z "$CXX"; then 2435 2860 ac_ct_CXX=$CXX 2436 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC2861 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2437 2862 do 2438 2863 # Extract the first word of "$ac_prog", so it can be a program name with args. 2439 2864 set dummy $ac_prog; ac_word=$2 2440 echo "$as_me:$LINENO: checking for $ac_word" >&52441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2865 { echo "$as_me:$LINENO: checking for $ac_word" >&5 2866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2442 2867 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2443 2868 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2452 2877 test -z "$as_dir" && as_dir=. 2453 2878 for ac_exec_ext in '' $ac_executable_extensions; do 2454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then2879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2455 2880 ac_cv_prog_ac_ct_CXX="$ac_prog" 2456 2881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2459 2884 done 2460 2885 done 2886 IFS=$as_save_IFS 2461 2887 2462 2888 fi … … 2464 2890 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2465 2891 if test -n "$ac_ct_CXX"; then 2466 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2467 echo "${ECHO_T}$ac_ct_CXX" >&6 2468 else 2469 echo "$as_me:$LINENO: result: no" >&5 2470 echo "${ECHO_T}no" >&6 2471 fi 2892 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2893 echo "${ECHO_T}$ac_ct_CXX" >&6; } 2894 else 2895 { echo "$as_me:$LINENO: result: no" >&5 2896 echo "${ECHO_T}no" >&6; } 2897 fi 2898 2472 2899 2473 2900 test -n "$ac_ct_CXX" && break 2474 2901 done 2475 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2476 2477 CXX=$ac_ct_CXX 2478 fi 2479 2480 2902 2903 if test "x$ac_ct_CXX" = x; then 2904 CXX="g++" 2905 else 2906 case $cross_compiling:$ac_tool_warned in 2907 yes:) 2908 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2909 whose name does not start with the host triplet. If you think this 2910 configuration is useful to you, please write to [email protected]." >&5 2911 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2912 whose name does not start with the host triplet. If you think this 2913 configuration is useful to you, please write to [email protected]." >&2;} 2914 ac_tool_warned=yes ;; 2915 esac 2916 CXX=$ac_ct_CXX 2917 fi 2918 fi 2919 2920 fi 2921 fi 2481 2922 # Provide some information about the compiler. 2482 echo "$as_me:$LINENO:" \ 2483 "checking for C++ compiler version" >&5 2923 echo "$as_me:$LINENO: checking for C++ compiler version" >&5 2484 2924 ac_compiler=`set X $ac_compile; echo $2` 2485 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2486 (eval $ac_compiler --version </dev/null >&5) 2>&5 2925 { (ac_try="$ac_compiler --version >&5" 2926 case "(($ac_try" in 2927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2928 *) ac_try_echo=$ac_try;; 2929 esac 2930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2931 (eval "$ac_compiler --version >&5") 2>&5 2487 2932 ac_status=$? 2488 2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2489 2934 (exit $ac_status); } 2490 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2491 (eval $ac_compiler -v </dev/null >&5) 2>&5 2935 { (ac_try="$ac_compiler -v >&5" 2936 case "(($ac_try" in 2937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2938 *) ac_try_echo=$ac_try;; 2939 esac 2940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2941 (eval "$ac_compiler -v >&5") 2>&5 2492 2942 ac_status=$? 2493 2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2494 2944 (exit $ac_status); } 2495 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2496 (eval $ac_compiler -V </dev/null >&5) 2>&5 2945 { (ac_try="$ac_compiler -V >&5" 2946 case "(($ac_try" in 2947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2948 *) ac_try_echo=$ac_try;; 2949 esac 2950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2951 (eval "$ac_compiler -V >&5") 2>&5 2497 2952 ac_status=$? 2498 2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2499 2954 (exit $ac_status); } 2500 2955 2501 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&52502 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2956 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2957 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; } 2503 2958 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2504 2959 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2523 2978 _ACEOF 2524 2979 rm -f conftest.$ac_objext 2525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2526 (eval $ac_compile) 2>conftest.er1 2980 if { (ac_try="$ac_compile" 2981 case "(($ac_try" in 2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2983 *) ac_try_echo=$ac_try;; 2984 esac 2985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2986 (eval "$ac_compile") 2>conftest.er1 2527 2987 ac_status=$? 2528 2988 grep -v '^ *+' conftest.er1 >conftest.err … … 2530 2990 cat conftest.err >&5 2531 2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2532 (exit $ac_status); } && 2533 { ac_try='test -z "$ac_cxx_werror_flag" 2534 || test ! -s conftest.err' 2535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2536 (eval $ac_try) 2>&5 2537 ac_status=$? 2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2539 (exit $ac_status); }; } && 2540 { ac_try='test -s conftest.$ac_objext' 2541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2542 (eval $ac_try) 2>&5 2543 ac_status=$? 2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2545 (exit $ac_status); }; }; then 2992 (exit $ac_status); } && { 2993 test -z "$ac_cxx_werror_flag" || 2994 test ! -s conftest.err 2995 } && test -s conftest.$ac_objext; then 2546 2996 ac_compiler_gnu=yes 2547 2997 else … … 2549 2999 sed 's/^/| /' conftest.$ac_ext >&5 2550 3000 2551 ac_compiler_gnu=no 2552 fi 2553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3001 ac_compiler_gnu=no 3002 fi 3003 3004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2554 3005 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2555 3006 2556 3007 fi 2557 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&52558 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 3008 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 3009 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } 2559 3010 GXX=`test $ac_compiler_gnu = yes && echo yes` 2560 3011 ac_test_CXXFLAGS=${CXXFLAGS+set} 2561 3012 ac_save_CXXFLAGS=$CXXFLAGS 2562 CXXFLAGS="-g" 2563 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2564 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 3013 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 3014 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } 2565 3015 if test "${ac_cv_prog_cxx_g+set}" = set; then 2566 3016 echo $ECHO_N "(cached) $ECHO_C" >&6 2567 3017 else 2568 cat >conftest.$ac_ext <<_ACEOF 3018 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3019 ac_cxx_werror_flag=yes 3020 ac_cv_prog_cxx_g=no 3021 CXXFLAGS="-g" 3022 cat >conftest.$ac_ext <<_ACEOF 2569 3023 /* confdefs.h. */ 2570 3024 _ACEOF … … 2582 3036 _ACEOF 2583 3037 rm -f conftest.$ac_objext 2584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2585 (eval $ac_compile) 2>conftest.er1 3038 if { (ac_try="$ac_compile" 3039 case "(($ac_try" in 3040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3041 *) ac_try_echo=$ac_try;; 3042 esac 3043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3044 (eval "$ac_compile") 2>conftest.er1 2586 3045 ac_status=$? 2587 3046 grep -v '^ *+' conftest.er1 >conftest.err … … 2589 3048 cat conftest.err >&5 2590 3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2591 (exit $ac_status); } && 2592 { ac_try='test -z "$ac_cxx_werror_flag" 2593 || test ! -s conftest.err' 2594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2595 (eval $ac_try) 2>&5 2596 ac_status=$? 2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2598 (exit $ac_status); }; } && 2599 { ac_try='test -s conftest.$ac_objext' 2600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2601 (eval $ac_try) 2>&5 2602 ac_status=$? 2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2604 (exit $ac_status); }; }; then 3050 (exit $ac_status); } && { 3051 test -z "$ac_cxx_werror_flag" || 3052 test ! -s conftest.err 3053 } && test -s conftest.$ac_objext; then 2605 3054 ac_cv_prog_cxx_g=yes 2606 3055 else … … 2608 3057 sed 's/^/| /' conftest.$ac_ext >&5 2609 3058 2610 ac_cv_prog_cxx_g=no 2611 fi 2612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2613 fi 2614 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2615 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3059 CXXFLAGS="" 3060 cat >conftest.$ac_ext <<_ACEOF 3061 /* confdefs.h. */ 3062 _ACEOF 3063 cat confdefs.h >>conftest.$ac_ext 3064 cat >>conftest.$ac_ext <<_ACEOF 3065 /* end confdefs.h. */ 3066 3067 int 3068 main () 3069 { 3070 3071 ; 3072 return 0; 3073 } 3074 _ACEOF 3075 rm -f conftest.$ac_objext 3076 if { (ac_try="$ac_compile" 3077 case "(($ac_try" in 3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3079 *) ac_try_echo=$ac_try;; 3080 esac 3081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3082 (eval "$ac_compile") 2>conftest.er1 3083 ac_status=$? 3084 grep -v '^ *+' conftest.er1 >conftest.err 3085 rm -f conftest.er1 3086 cat conftest.err >&5 3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3088 (exit $ac_status); } && { 3089 test -z "$ac_cxx_werror_flag" || 3090 test ! -s conftest.err 3091 } && test -s conftest.$ac_objext; then 3092 : 3093 else 3094 echo "$as_me: failed program was:" >&5 3095 sed 's/^/| /' conftest.$ac_ext >&5 3096 3097 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3098 CXXFLAGS="-g" 3099 cat >conftest.$ac_ext <<_ACEOF 3100 /* confdefs.h. */ 3101 _ACEOF 3102 cat confdefs.h >>conftest.$ac_ext 3103 cat >>conftest.$ac_ext <<_ACEOF 3104 /* end confdefs.h. */ 3105 3106 int 3107 main () 3108 { 3109 3110 ; 3111 return 0; 3112 } 3113 _ACEOF 3114 rm -f conftest.$ac_objext 3115 if { (ac_try="$ac_compile" 3116 case "(($ac_try" in 3117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3118 *) ac_try_echo=$ac_try;; 3119 esac 3120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3121 (eval "$ac_compile") 2>conftest.er1 3122 ac_status=$? 3123 grep -v '^ *+' conftest.er1 >conftest.err 3124 rm -f conftest.er1 3125 cat conftest.err >&5 3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3127 (exit $ac_status); } && { 3128 test -z "$ac_cxx_werror_flag" || 3129 test ! -s conftest.err 3130 } && test -s conftest.$ac_objext; then 3131 ac_cv_prog_cxx_g=yes 3132 else 3133 echo "$as_me: failed program was:" >&5 3134 sed 's/^/| /' conftest.$ac_ext >&5 3135 3136 3137 fi 3138 3139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3140 fi 3141 3142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3143 fi 3144 3145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3146 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3147 fi 3148 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 3149 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } 2616 3150 if test "$ac_test_CXXFLAGS" = set; then 2617 3151 CXXFLAGS=$ac_save_CXXFLAGS … … 2629 3163 fi 2630 3164 fi 2631 for ac_declaration in \2632 '' \2633 'extern "C" void std::exit (int) throw (); using std::exit;' \2634 'extern "C" void std::exit (int); using std::exit;' \2635 'extern "C" void exit (int) throw ();' \2636 'extern "C" void exit (int);' \2637 'void exit (int);'2638 do2639 cat >conftest.$ac_ext <<_ACEOF2640 /* confdefs.h. */2641 _ACEOF2642 cat confdefs.h >>conftest.$ac_ext2643 cat >>conftest.$ac_ext <<_ACEOF2644 /* end confdefs.h. */2645 $ac_declaration2646 #include <stdlib.h>2647 int2648 main ()2649 {2650 exit (42);2651 ;2652 return 0;2653 }2654 _ACEOF2655 rm -f conftest.$ac_objext2656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52657 (eval $ac_compile) 2>conftest.er12658 ac_status=$?2659 grep -v '^ *+' conftest.er1 >conftest.err2660 rm -f conftest.er12661 cat conftest.err >&52662 echo "$as_me:$LINENO: \$? = $ac_status" >&52663 (exit $ac_status); } &&2664 { ac_try='test -z "$ac_cxx_werror_flag"2665 || test ! -s conftest.err'2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52667 (eval $ac_try) 2>&52668 ac_status=$?2669 echo "$as_me:$LINENO: \$? = $ac_status" >&52670 (exit $ac_status); }; } &&2671 { ac_try='test -s conftest.$ac_objext'2672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52673 (eval $ac_try) 2>&52674 ac_status=$?2675 echo "$as_me:$LINENO: \$? = $ac_status" >&52676 (exit $ac_status); }; }; then2677 :2678 else2679 echo "$as_me: failed program was:" >&52680 sed 's/^/| /' conftest.$ac_ext >&52681 2682 continue2683 fi2684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2685 cat >conftest.$ac_ext <<_ACEOF2686 /* confdefs.h. */2687 _ACEOF2688 cat confdefs.h >>conftest.$ac_ext2689 cat >>conftest.$ac_ext <<_ACEOF2690 /* end confdefs.h. */2691 $ac_declaration2692 int2693 main ()2694 {2695 exit (42);2696 ;2697 return 0;2698 }2699 _ACEOF2700 rm -f conftest.$ac_objext2701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52702 (eval $ac_compile) 2>conftest.er12703 ac_status=$?2704 grep -v '^ *+' conftest.er1 >conftest.err2705 rm -f conftest.er12706 cat conftest.err >&52707 echo "$as_me:$LINENO: \$? = $ac_status" >&52708 (exit $ac_status); } &&2709 { ac_try='test -z "$ac_cxx_werror_flag"2710 || test ! -s conftest.err'2711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52712 (eval $ac_try) 2>&52713 ac_status=$?2714 echo "$as_me:$LINENO: \$? = $ac_status" >&52715 (exit $ac_status); }; } &&2716 { ac_try='test -s conftest.$ac_objext'2717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52718 (eval $ac_try) 2>&52719 ac_status=$?2720 echo "$as_me:$LINENO: \$? = $ac_status" >&52721 (exit $ac_status); }; }; then2722 break2723 else2724 echo "$as_me: failed program was:" >&52725 sed 's/^/| /' conftest.$ac_ext >&52726 2727 fi2728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext2729 done2730 rm -f conftest*2731 if test -n "$ac_declaration"; then2732 echo '#ifdef __cplusplus' >>confdefs.h2733 echo $ac_declaration >>confdefs.h2734 echo '#endif' >>confdefs.h2735 fi2736 2737 3165 ac_ext=c 2738 3166 ac_cpp='$CPP $CPPFLAGS' … … 2745 3173 # Extract the first word of "$ac_prog", so it can be a program name with args. 2746 3174 set dummy $ac_prog; ac_word=$2 2747 echo "$as_me:$LINENO: checking for $ac_word" >&52748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3175 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2749 3177 if test "${ac_cv_prog_AWK+set}" = set; then 2750 3178 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2759 3187 test -z "$as_dir" && as_dir=. 2760 3188 for ac_exec_ext in '' $ac_executable_extensions; do 2761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2762 3190 ac_cv_prog_AWK="$ac_prog" 2763 3191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2766 3194 done 2767 3195 done 3196 IFS=$as_save_IFS 2768 3197 2769 3198 fi … … 2771 3200 AWK=$ac_cv_prog_AWK 2772 3201 if test -n "$AWK"; then 2773 echo "$as_me:$LINENO: result: $AWK" >&5 2774 echo "${ECHO_T}$AWK" >&6 2775 else 2776 echo "$as_me:$LINENO: result: no" >&5 2777 echo "${ECHO_T}no" >&6 2778 fi 3202 { echo "$as_me:$LINENO: result: $AWK" >&5 3203 echo "${ECHO_T}$AWK" >&6; } 3204 else 3205 { echo "$as_me:$LINENO: result: no" >&5 3206 echo "${ECHO_T}no" >&6; } 3207 fi 3208 2779 3209 2780 3210 test -n "$AWK" && break … … 2785 3215 # Extract the first word of "$ac_prog", so it can be a program name with args. 2786 3216 set dummy $ac_prog; ac_word=$2 2787 echo "$as_me:$LINENO: checking for $ac_word" >&52788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3217 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2789 3219 if test "${ac_cv_prog_YACC+set}" = set; then 2790 3220 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 2799 3229 test -z "$as_dir" && as_dir=. 2800 3230 for ac_exec_ext in '' $ac_executable_extensions; do 2801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2802 3232 ac_cv_prog_YACC="$ac_prog" 2803 3233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 2806 3236 done 2807 3237 done 3238 IFS=$as_save_IFS 2808 3239 2809 3240 fi … … 2811 3242 YACC=$ac_cv_prog_YACC 2812 3243 if test -n "$YACC"; then 2813 echo "$as_me:$LINENO: result: $YACC" >&5 2814 echo "${ECHO_T}$YACC" >&6 2815 else 2816 echo "$as_me:$LINENO: result: no" >&5 2817 echo "${ECHO_T}no" >&6 2818 fi 3244 { echo "$as_me:$LINENO: result: $YACC" >&5 3245 echo "${ECHO_T}$YACC" >&6; } 3246 else 3247 { echo "$as_me:$LINENO: result: no" >&5 3248 echo "${ECHO_T}no" >&6; } 3249 fi 3250 2819 3251 2820 3252 test -n "$YACC" && break … … 2823 3255 2824 3256 ac_aux_dir= 2825 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do2826 if test -f $ac_dir/install-sh; then3257 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3258 if test -f "$ac_dir/install-sh"; then 2827 3259 ac_aux_dir=$ac_dir 2828 3260 ac_install_sh="$ac_aux_dir/install-sh -c" 2829 3261 break 2830 elif test -f $ac_dir/install.sh; then3262 elif test -f "$ac_dir/install.sh"; then 2831 3263 ac_aux_dir=$ac_dir 2832 3264 ac_install_sh="$ac_aux_dir/install.sh -c" 2833 3265 break 2834 elif test -f $ac_dir/shtool; then3266 elif test -f "$ac_dir/shtool"; then 2835 3267 ac_aux_dir=$ac_dir 2836 3268 ac_install_sh="$ac_aux_dir/shtool install -c" … … 2839 3271 done 2840 3272 if test -z "$ac_aux_dir"; then 2841 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&52842 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}3273 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 3274 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2843 3275 { (exit 1); exit 1; }; } 2844 3276 fi 2845 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2846 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2847 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 3277 3278 # These three variables are undocumented and unsupported, 3279 # and are intended to be withdrawn in a future Autoconf release. 3280 # They can cause serious problems if a builder's source tree is in a directory 3281 # whose full name contains unusual characters. 3282 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3283 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3284 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3285 2848 3286 2849 3287 # Make sure we can run config.sub. 2850 $ ac_config_subsun4 >/dev/null 2>&1 ||2851 { { echo "$as_me:$LINENO: error: cannot run $ ac_config_sub" >&52852 echo "$as_me: error: cannot run $ ac_config_sub" >&2;}3288 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3289 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 3290 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 2853 3291 { (exit 1); exit 1; }; } 2854 3292 2855 echo "$as_me:$LINENO: checking build system type" >&52856 echo $ECHO_N "checking build system type... $ECHO_C" >&6 3293 { echo "$as_me:$LINENO: checking build system type" >&5 3294 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 2857 3295 if test "${ac_cv_build+set}" = set; then 2858 3296 echo $ECHO_N "(cached) $ECHO_C" >&6 2859 3297 else 2860 ac_ cv_build_alias=$build_alias2861 test -z "$ac_cv_build_alias"&&2862 ac_ cv_build_alias=`$ac_config_guess`2863 test -z "$ac_cv_build_alias"&&3298 ac_build_alias=$build_alias 3299 test "x$ac_build_alias" = x && 3300 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3301 test "x$ac_build_alias" = x && 2864 3302 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2865 3303 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2866 3304 { (exit 1); exit 1; }; } 2867 ac_cv_build=`$ ac_config_sub $ac_cv_build_alias` ||2868 { { echo "$as_me:$LINENO: error: $ ac_config_sub $ac_cv_build_alias failed" >&52869 echo "$as_me: error: $ ac_config_sub $ac_cv_build_alias failed" >&2;}3305 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3306 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 3307 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 2870 3308 { (exit 1); exit 1; }; } 2871 3309 2872 3310 fi 2873 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2874 echo "${ECHO_T}$ac_cv_build" >&6 3311 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 3312 echo "${ECHO_T}$ac_cv_build" >&6; } 3313 case $ac_cv_build in 3314 *-*-*) ;; 3315 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 3316 echo "$as_me: error: invalid value of canonical build" >&2;} 3317 { (exit 1); exit 1; }; };; 3318 esac 2875 3319 build=$ac_cv_build 2876 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2877 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2878 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2879 2880 2881 echo "$as_me:$LINENO: checking host system type" >&5 2882 echo $ECHO_N "checking host system type... $ECHO_C" >&6 3320 ac_save_IFS=$IFS; IFS='-' 3321 set x $ac_cv_build 3322 shift 3323 build_cpu=$1 3324 build_vendor=$2 3325 shift; shift 3326 # Remember, the first character of IFS is used to create $*, 3327 # except with old shells: 3328 build_os=$* 3329 IFS=$ac_save_IFS 3330 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3331 3332 3333 { echo "$as_me:$LINENO: checking host system type" >&5 3334 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 2883 3335 if test "${ac_cv_host+set}" = set; then 2884 3336 echo $ECHO_N "(cached) $ECHO_C" >&6 2885 3337 else 2886 ac_cv_host_alias=$host_alias2887 test -z "$ac_cv_host_alias" && 2888 ac_cv_host_alias=$ac_cv_build_alias 2889 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||2890 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&52891 echo "$as_me: error: $ ac_config_sub $ac_cv_host_alias failed" >&2;}3338 if test "x$host_alias" = x; then 3339 ac_cv_host=$ac_cv_build 3340 else 3341 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3342 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 3343 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 2892 3344 { (exit 1); exit 1; }; } 2893 2894 fi 2895 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2896 echo "${ECHO_T}$ac_cv_host" >&6 3345 fi 3346 3347 fi 3348 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 3349 echo "${ECHO_T}$ac_cv_host" >&6; } 3350 case $ac_cv_host in 3351 *-*-*) ;; 3352 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 3353 echo "$as_me: error: invalid value of canonical host" >&2;} 3354 { (exit 1); exit 1; }; };; 3355 esac 2897 3356 host=$ac_cv_host 2898 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2899 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2900 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2901 2902 2903 echo "$as_me:$LINENO: checking target system type" >&5 2904 echo $ECHO_N "checking target system type... $ECHO_C" >&6 3357 ac_save_IFS=$IFS; IFS='-' 3358 set x $ac_cv_host 3359 shift 3360 host_cpu=$1 3361 host_vendor=$2 3362 shift; shift 3363 # Remember, the first character of IFS is used to create $*, 3364 # except with old shells: 3365 host_os=$* 3366 IFS=$ac_save_IFS 3367 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3368 3369 3370 { echo "$as_me:$LINENO: checking target system type" >&5 3371 echo $ECHO_N "checking target system type... $ECHO_C" >&6; } 2905 3372 if test "${ac_cv_target+set}" = set; then 2906 3373 echo $ECHO_N "(cached) $ECHO_C" >&6 2907 3374 else 2908 ac_cv_target_alias=$target_alias2909 test "x$ac_cv_target_alias" = "x" && 2910 ac_cv_target_alias=$ac_cv_host_alias 2911 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||2912 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&52913 echo "$as_me: error: $ ac_config_sub $ac_cv_target_alias failed" >&2;}3375 if test "x$target_alias" = x; then 3376 ac_cv_target=$ac_cv_host 3377 else 3378 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 3379 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 3380 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} 2914 3381 { (exit 1); exit 1; }; } 2915 2916 fi 2917 echo "$as_me:$LINENO: result: $ac_cv_target" >&5 2918 echo "${ECHO_T}$ac_cv_target" >&6 3382 fi 3383 3384 fi 3385 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5 3386 echo "${ECHO_T}$ac_cv_target" >&6; } 3387 case $ac_cv_target in 3388 *-*-*) ;; 3389 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 3390 echo "$as_me: error: invalid value of canonical target" >&2;} 3391 { (exit 1); exit 1; }; };; 3392 esac 2919 3393 target=$ac_cv_target 2920 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2921 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2922 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 3394 ac_save_IFS=$IFS; IFS='-' 3395 set x $ac_cv_target 3396 shift 3397 target_cpu=$1 3398 target_vendor=$2 3399 shift; shift 3400 # Remember, the first character of IFS is used to create $*, 3401 # except with old shells: 3402 target_os=$* 3403 IFS=$ac_save_IFS 3404 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2923 3405 2924 3406 … … 2942 3424 # OS/2's system install, which has a completely different semantic 2943 3425 # ./install, which can be erroneously created by make from ./install.sh. 2944 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&52945 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3426 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3427 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 2946 3428 if test -z "$INSTALL"; then 2947 3429 if test "${ac_cv_path_install+set}" = set; then … … 2965 3447 for ac_prog in ginstall scoinst install; do 2966 3448 for ac_exec_ext in '' $ac_executable_extensions; do 2967 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then3449 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2968 3450 if test $ac_prog = install && 2969 3451 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then … … 2984 3466 esac 2985 3467 done 3468 IFS=$as_save_IFS 2986 3469 2987 3470 … … 2990 3473 INSTALL=$ac_cv_path_install 2991 3474 else 2992 # As a last resort, use the slow shell script. We don't cache a2993 # pathfor INSTALL within a source directory, because that will3475 # As a last resort, use the slow shell script. Don't cache a 3476 # value for INSTALL within a source directory, because that will 2994 3477 # break other packages using the cache if that directory is 2995 # removed, or if the path is relative.3478 # removed, or if the value is a relative name. 2996 3479 INSTALL=$ac_install_sh 2997 3480 fi 2998 3481 fi 2999 echo "$as_me:$LINENO: result: $INSTALL" >&53000 echo "${ECHO_T}$INSTALL" >&6 3482 { echo "$as_me:$LINENO: result: $INSTALL" >&5 3483 echo "${ECHO_T}$INSTALL" >&6; } 3001 3484 3002 3485 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 3008 3491 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3009 3492 3010 echo "$as_me:$LINENO: checking whether ln -s works" >&53011 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3493 { echo "$as_me:$LINENO: checking whether ln -s works" >&5 3494 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } 3012 3495 LN_S=$as_ln_s 3013 3496 if test "$LN_S" = "ln -s"; then 3014 echo "$as_me:$LINENO: result: yes" >&53015 echo "${ECHO_T}yes" >&6 3016 else 3017 echo "$as_me:$LINENO: result: no, using $LN_S" >&53018 echo "${ECHO_T}no, using $LN_S" >&6 3019 fi 3020 3021 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&53022 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3023 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`3024 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then3497 { echo "$as_me:$LINENO: result: yes" >&5 3498 echo "${ECHO_T}yes" >&6; } 3499 else 3500 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3501 echo "${ECHO_T}no, using $LN_S" >&6; } 3502 fi 3503 3504 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3505 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } 3506 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3507 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then 3025 3508 echo $ECHO_N "(cached) $ECHO_C" >&6 3026 3509 else 3027 3510 cat >conftest.make <<\_ACEOF 3511 SHELL = /bin/sh 3028 3512 all: 3029 @echo ' ac_maketemp="$(MAKE)"'3513 @echo '@@@%%%=$(MAKE)=@@@%%%' 3030 3514 _ACEOF 3031 3515 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3032 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3033 if test -n "$ac_maketemp"; then 3034 eval ac_cv_prog_make_${ac_make}_set=yes3035 else 3036 eval ac_cv_prog_make_${ac_make}_set=no3037 fi 3516 case `${MAKE-make} -f conftest.make 2>/dev/null` in 3517 *@@@%%%=?*=@@@%%%*) 3518 eval ac_cv_prog_make_${ac_make}_set=yes;; 3519 *) 3520 eval ac_cv_prog_make_${ac_make}_set=no;; 3521 esac 3038 3522 rm -f conftest.make 3039 3523 fi 3040 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then3041 echo "$as_me:$LINENO: result: yes" >&53042 echo "${ECHO_T}yes" >&6 3524 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3525 { echo "$as_me:$LINENO: result: yes" >&5 3526 echo "${ECHO_T}yes" >&6; } 3043 3527 SET_MAKE= 3044 3528 else 3045 echo "$as_me:$LINENO: result: no" >&53046 echo "${ECHO_T}no" >&6 3529 { echo "$as_me:$LINENO: result: no" >&5 3530 echo "${ECHO_T}no" >&6; } 3047 3531 SET_MAKE="MAKE=${MAKE-make}" 3048 3532 fi … … 3051 3535 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3052 3536 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3053 echo "$as_me:$LINENO: checking for $ac_word" >&53054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3537 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3055 3539 if test "${ac_cv_prog_RANLIB+set}" = set; then 3056 3540 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3065 3549 test -z "$as_dir" && as_dir=. 3066 3550 for ac_exec_ext in '' $ac_executable_extensions; do 3067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3068 3552 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3069 3553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3072 3556 done 3073 3557 done 3558 IFS=$as_save_IFS 3074 3559 3075 3560 fi … … 3077 3562 RANLIB=$ac_cv_prog_RANLIB 3078 3563 if test -n "$RANLIB"; then 3079 echo "$as_me:$LINENO: result: $RANLIB" >&5 3080 echo "${ECHO_T}$RANLIB" >&6 3081 else 3082 echo "$as_me:$LINENO: result: no" >&5 3083 echo "${ECHO_T}no" >&6 3084 fi 3564 { echo "$as_me:$LINENO: result: $RANLIB" >&5 3565 echo "${ECHO_T}$RANLIB" >&6; } 3566 else 3567 { echo "$as_me:$LINENO: result: no" >&5 3568 echo "${ECHO_T}no" >&6; } 3569 fi 3570 3085 3571 3086 3572 fi … … 3089 3575 # Extract the first word of "ranlib", so it can be a program name with args. 3090 3576 set dummy ranlib; ac_word=$2 3091 echo "$as_me:$LINENO: checking for $ac_word" >&53092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3577 { echo "$as_me:$LINENO: checking for $ac_word" >&5 3578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 3093 3579 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 3094 3580 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3103 3589 test -z "$as_dir" && as_dir=. 3104 3590 for ac_exec_ext in '' $ac_executable_extensions; do 3105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then3591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3106 3592 ac_cv_prog_ac_ct_RANLIB="ranlib" 3107 3593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 … … 3110 3596 done 3111 3597 done 3112 3113 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 3598 IFS=$as_save_IFS 3599 3114 3600 fi 3115 3601 fi 3116 3602 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3117 3603 if test -n "$ac_ct_RANLIB"; then 3118 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3119 echo "${ECHO_T}$ac_ct_RANLIB" >&6 3120 else 3121 echo "$as_me:$LINENO: result: no" >&5 3122 echo "${ECHO_T}no" >&6 3123 fi 3124 3125 RANLIB=$ac_ct_RANLIB 3604 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 3605 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 3606 else 3607 { echo "$as_me:$LINENO: result: no" >&5 3608 echo "${ECHO_T}no" >&6; } 3609 fi 3610 3611 if test "x$ac_ct_RANLIB" = x; then 3612 RANLIB=":" 3613 else 3614 case $cross_compiling:$ac_tool_warned in 3615 yes:) 3616 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 3617 whose name does not start with the host triplet. If you think this 3618 configuration is useful to you, please write to [email protected]." >&5 3619 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 3620 whose name does not start with the host triplet. If you think this 3621 configuration is useful to you, please write to [email protected]." >&2;} 3622 ac_tool_warned=yes ;; 3623 esac 3624 RANLIB=$ac_ct_RANLIB 3625 fi 3126 3626 else 3127 3627 RANLIB="$ac_cv_prog_RANLIB" … … 3129 3629 3130 3630 3131 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&53132 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6 3631 { echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5 3632 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; } 3133 3633 arch_64bit=no 3134 3634 case "$host_cpu" in … … 3137 3637 3138 3638 if test "$arch_64bit" = yes; then 3139 echo "$as_me:$LINENO: result: yes" >&53140 echo "${ECHO_T}yes" >&6 3639 { echo "$as_me:$LINENO: result: yes" >&5 3640 echo "${ECHO_T}yes" >&6; } 3141 3641 if test -z "$COMPAT32BITFLAGS" ; then 3142 3642 COMPAT32BITFLAGS="-m32" 3143 3643 fi 3144 3644 else 3145 echo "$as_me:$LINENO: result: no" >&53146 echo "${ECHO_T}no" >&6 3645 { echo "$as_me:$LINENO: result: no" >&5 3646 echo "${ECHO_T}no" >&6; } 3147 3647 if test -z "$COMPAT32BITFLAGS" ; then 3148 3648 COMPAT32BITFLAGS= … … 3191 3691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3192 3692 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3193 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&53194 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 3693 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3694 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3195 3695 # On Suns, sometimes $CPP names a directory. 3196 3696 if test -n "$CPP" && test -d "$CPP"; then … … 3226 3726 Syntax error 3227 3727 _ACEOF 3228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3728 if { (ac_try="$ac_cpp conftest.$ac_ext" 3729 case "(($ac_try" in 3730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3731 *) ac_try_echo=$ac_try;; 3732 esac 3733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3734 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3230 3735 ac_status=$? 3231 3736 grep -v '^ *+' conftest.er1 >conftest.err … … 3233 3738 cat conftest.err >&5 3234 3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3235 (exit $ac_status); } >/dev/null; then 3236 if test -s conftest.err; then 3237 ac_cpp_err=$ac_c_preproc_warn_flag 3238 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3239 else 3240 ac_cpp_err= 3241 fi 3242 else 3243 ac_cpp_err=yes 3244 fi 3245 if test -z "$ac_cpp_err"; then 3740 (exit $ac_status); } >/dev/null && { 3741 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3742 test ! -s conftest.err 3743 }; then 3246 3744 : 3247 3745 else … … 3252 3750 continue 3253 3751 fi 3752 3254 3753 rm -f conftest.err conftest.$ac_ext 3255 3754 3256 # OK, works on sane cases. Now check whether non -existent headers3755 # OK, works on sane cases. Now check whether nonexistent headers 3257 3756 # can be detected and how. 3258 3757 cat >conftest.$ac_ext <<_ACEOF … … 3264 3763 #include <ac_nonexistent.h> 3265 3764 _ACEOF 3266 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3267 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3765 if { (ac_try="$ac_cpp conftest.$ac_ext" 3766 case "(($ac_try" in 3767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3768 *) ac_try_echo=$ac_try;; 3769 esac 3770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3771 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3268 3772 ac_status=$? 3269 3773 grep -v '^ *+' conftest.er1 >conftest.err … … 3271 3775 cat conftest.err >&5 3272 3776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3273 (exit $ac_status); } >/dev/null; then 3274 if test -s conftest.err; then 3275 ac_cpp_err=$ac_c_preproc_warn_flag 3276 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3277 else 3278 ac_cpp_err= 3279 fi 3280 else 3281 ac_cpp_err=yes 3282 fi 3283 if test -z "$ac_cpp_err"; then 3777 (exit $ac_status); } >/dev/null && { 3778 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3779 test ! -s conftest.err 3780 }; then 3284 3781 # Broken: success on invalid input. 3285 3782 continue … … 3292 3789 break 3293 3790 fi 3791 3294 3792 rm -f conftest.err conftest.$ac_ext 3295 3793 … … 3309 3807 ac_cv_prog_CPP=$CPP 3310 3808 fi 3311 echo "$as_me:$LINENO: result: $CPP" >&53312 echo "${ECHO_T}$CPP" >&6 3809 { echo "$as_me:$LINENO: result: $CPP" >&5 3810 echo "${ECHO_T}$CPP" >&6; } 3313 3811 ac_preproc_ok=false 3314 3812 for ac_c_preproc_warn_flag in '' yes … … 3333 3831 Syntax error 3334 3832 _ACEOF 3335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3336 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3833 if { (ac_try="$ac_cpp conftest.$ac_ext" 3834 case "(($ac_try" in 3835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3836 *) ac_try_echo=$ac_try;; 3837 esac 3838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3839 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3337 3840 ac_status=$? 3338 3841 grep -v '^ *+' conftest.er1 >conftest.err … … 3340 3843 cat conftest.err >&5 3341 3844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3342 (exit $ac_status); } >/dev/null; then 3343 if test -s conftest.err; then 3344 ac_cpp_err=$ac_c_preproc_warn_flag 3345 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3346 else 3347 ac_cpp_err= 3348 fi 3349 else 3350 ac_cpp_err=yes 3351 fi 3352 if test -z "$ac_cpp_err"; then 3845 (exit $ac_status); } >/dev/null && { 3846 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3847 test ! -s conftest.err 3848 }; then 3353 3849 : 3354 3850 else … … 3359 3855 continue 3360 3856 fi 3857 3361 3858 rm -f conftest.err conftest.$ac_ext 3362 3859 3363 # OK, works on sane cases. Now check whether non -existent headers3860 # OK, works on sane cases. Now check whether nonexistent headers 3364 3861 # can be detected and how. 3365 3862 cat >conftest.$ac_ext <<_ACEOF … … 3371 3868 #include <ac_nonexistent.h> 3372 3869 _ACEOF 3373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3374 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3870 if { (ac_try="$ac_cpp conftest.$ac_ext" 3871 case "(($ac_try" in 3872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3873 *) ac_try_echo=$ac_try;; 3874 esac 3875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3375 3877 ac_status=$? 3376 3878 grep -v '^ *+' conftest.er1 >conftest.err … … 3378 3880 cat conftest.err >&5 3379 3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3380 (exit $ac_status); } >/dev/null; then 3381 if test -s conftest.err; then 3382 ac_cpp_err=$ac_c_preproc_warn_flag 3383 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3384 else 3385 ac_cpp_err= 3386 fi 3387 else 3388 ac_cpp_err=yes 3389 fi 3390 if test -z "$ac_cpp_err"; then 3882 (exit $ac_status); } >/dev/null && { 3883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3884 test ! -s conftest.err 3885 }; then 3391 3886 # Broken: success on invalid input. 3392 3887 continue … … 3399 3894 break 3400 3895 fi 3896 3401 3897 rm -f conftest.err conftest.$ac_ext 3402 3898 … … 3421 3917 3422 3918 3423 echo "$as_me:$LINENO: checking for egrep" >&53424 echo $ECHO_N "checking for egrep... $ECHO_C" >&63425 if test "${ac_cv_p rog_egrep+set}" = set; then3919 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3920 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3921 if test "${ac_cv_path_GREP+set}" = set; then 3426 3922 echo $ECHO_N "(cached) $ECHO_C" >&6 3427 3923 else 3428 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3429 then ac_cv_prog_egrep='grep -E' 3430 else ac_cv_prog_egrep='egrep' 3924 # Extract the first word of "grep ggrep" to use in msg output 3925 if test -z "$GREP"; then 3926 set dummy grep ggrep; ac_prog_name=$2 3927 if test "${ac_cv_path_GREP+set}" = set; then 3928 echo $ECHO_N "(cached) $ECHO_C" >&6 3929 else 3930 ac_path_GREP_found=false 3931 # Loop through the user's path and test for each of PROGNAME-LIST 3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3933 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3934 do 3935 IFS=$as_save_IFS 3936 test -z "$as_dir" && as_dir=. 3937 for ac_prog in grep ggrep; do 3938 for ac_exec_ext in '' $ac_executable_extensions; do 3939 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3940 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3941 # Check for GNU ac_path_GREP and select it if it is found. 3942 # Check for GNU $ac_path_GREP 3943 case `"$ac_path_GREP" --version 2>&1` in 3944 *GNU*) 3945 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3946 *) 3947 ac_count=0 3948 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3949 while : 3950 do 3951 cat "conftest.in" "conftest.in" >"conftest.tmp" 3952 mv "conftest.tmp" "conftest.in" 3953 cp "conftest.in" "conftest.nl" 3954 echo 'GREP' >> "conftest.nl" 3955 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3956 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3957 ac_count=`expr $ac_count + 1` 3958 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3959 # Best one so far, save it but keep looking for a better one 3960 ac_cv_path_GREP="$ac_path_GREP" 3961 ac_path_GREP_max=$ac_count 3431 3962 fi 3432 fi 3433 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3434 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3435 EGREP=$ac_cv_prog_egrep 3436 3437 3438 3439 echo "$as_me:$LINENO: checking for AIX" >&5 3440 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3963 # 10*(2^10) chars as input seems more than enough 3964 test $ac_count -gt 10 && break 3965 done 3966 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3967 esac 3968 3969 3970 $ac_path_GREP_found && break 3 3971 done 3972 done 3973 3974 done 3975 IFS=$as_save_IFS 3976 3977 3978 fi 3979 3980 GREP="$ac_cv_path_GREP" 3981 if test -z "$GREP"; then 3982 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 3983 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 3984 { (exit 1); exit 1; }; } 3985 fi 3986 3987 else 3988 ac_cv_path_GREP=$GREP 3989 fi 3990 3991 3992 fi 3993 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3994 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3995 GREP="$ac_cv_path_GREP" 3996 3997 3998 { echo "$as_me:$LINENO: checking for egrep" >&5 3999 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4000 if test "${ac_cv_path_EGREP+set}" = set; then 4001 echo $ECHO_N "(cached) $ECHO_C" >&6 4002 else 4003 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4004 then ac_cv_path_EGREP="$GREP -E" 4005 else 4006 # Extract the first word of "egrep" to use in msg output 4007 if test -z "$EGREP"; then 4008 set dummy egrep; ac_prog_name=$2 4009 if test "${ac_cv_path_EGREP+set}" = set; then 4010 echo $ECHO_N "(cached) $ECHO_C" >&6 4011 else 4012 ac_path_EGREP_found=false 4013 # Loop through the user's path and test for each of PROGNAME-LIST 4014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4015 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4016 do 4017 IFS=$as_save_IFS 4018 test -z "$as_dir" && as_dir=. 4019 for ac_prog in egrep; do 4020 for ac_exec_ext in '' $ac_executable_extensions; do 4021 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4022 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4023 # Check for GNU ac_path_EGREP and select it if it is found. 4024 # Check for GNU $ac_path_EGREP 4025 case `"$ac_path_EGREP" --version 2>&1` in 4026 *GNU*) 4027 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4028 *) 4029 ac_count=0 4030 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4031 while : 4032 do 4033 cat "conftest.in" "conftest.in" >"conftest.tmp" 4034 mv "conftest.tmp" "conftest.in" 4035 cp "conftest.in" "conftest.nl" 4036 echo 'EGREP' >> "conftest.nl" 4037 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4038 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4039 ac_count=`expr $ac_count + 1` 4040 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4041 # Best one so far, save it but keep looking for a better one 4042 ac_cv_path_EGREP="$ac_path_EGREP" 4043 ac_path_EGREP_max=$ac_count 4044 fi 4045 # 10*(2^10) chars as input seems more than enough 4046 test $ac_count -gt 10 && break 4047 done 4048 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4049 esac 4050 4051 4052 $ac_path_EGREP_found && break 3 4053 done 4054 done 4055 4056 done 4057 IFS=$as_save_IFS 4058 4059 4060 fi 4061 4062 EGREP="$ac_cv_path_EGREP" 4063 if test -z "$EGREP"; then 4064 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 4065 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} 4066 { (exit 1); exit 1; }; } 4067 fi 4068 4069 else 4070 ac_cv_path_EGREP=$EGREP 4071 fi 4072 4073 4074 fi 4075 fi 4076 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4077 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4078 EGREP="$ac_cv_path_EGREP" 4079 4080 4081 4082 { echo "$as_me:$LINENO: checking for AIX" >&5 4083 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; } 3441 4084 cat >conftest.$ac_ext <<_ACEOF 3442 4085 /* confdefs.h. */ … … 3452 4095 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3453 4096 $EGREP "yes" >/dev/null 2>&1; then 3454 echo "$as_me:$LINENO: result: yes" >&53455 echo "${ECHO_T}yes" >&6 4097 { echo "$as_me:$LINENO: result: yes" >&5 4098 echo "${ECHO_T}yes" >&6; } 3456 4099 cat >>confdefs.h <<\_ACEOF 3457 4100 #define _ALL_SOURCE 1 … … 3459 4102 3460 4103 else 3461 echo "$as_me:$LINENO: result: no" >&53462 echo "${ECHO_T}no" >&6 4104 { echo "$as_me:$LINENO: result: no" >&5 4105 echo "${ECHO_T}no" >&6; } 3463 4106 fi 3464 4107 rm -f conftest* 3465 4108 3466 4109 3467 echo "$as_me:$LINENO: checking for library containing strerror" >&53468 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6 4110 { echo "$as_me:$LINENO: checking for library containing strerror" >&5 4111 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } 3469 4112 if test "${ac_cv_search_strerror+set}" = set; then 3470 4113 echo $ECHO_N "(cached) $ECHO_C" >&6 3471 4114 else 3472 4115 ac_func_search_save_LIBS=$LIBS 3473 ac_cv_search_strerror=no3474 4116 cat >conftest.$ac_ext <<_ACEOF 3475 4117 /* confdefs.h. */ … … 3479 4121 /* end confdefs.h. */ 3480 4122 3481 /* Override any gcc2 internal prototype to avoid an error. */ 4123 /* Override any GCC internal prototype to avoid an error. 4124 Use char because int might match the return type of a GCC 4125 builtin and then its argument prototype would still apply. */ 3482 4126 #ifdef __cplusplus 3483 4127 extern "C" 3484 4128 #endif 3485 /* We use char because int might match the return type of a gcc23486 builtin and then its argument prototype would still apply. */3487 4129 char strerror (); 3488 4130 int 3489 4131 main () 3490 4132 { 3491 strerror ();4133 return strerror (); 3492 4134 ; 3493 4135 return 0; 3494 4136 } 3495 4137 _ACEOF 3496 rm -f conftest.$ac_objext conftest$ac_exeext 3497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3498 (eval $ac_link) 2>conftest.er1 4138 for ac_lib in '' cposix; do 4139 if test -z "$ac_lib"; then 4140 ac_res="none required" 4141 else 4142 ac_res=-l$ac_lib 4143 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4144 fi 4145 rm -f conftest.$ac_objext conftest$ac_exeext 4146 if { (ac_try="$ac_link" 4147 case "(($ac_try" in 4148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4149 *) ac_try_echo=$ac_try;; 4150 esac 4151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4152 (eval "$ac_link") 2>conftest.er1 3499 4153 ac_status=$? 3500 4154 grep -v '^ *+' conftest.er1 >conftest.err … … 3502 4156 cat conftest.err >&5 3503 4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3504 (exit $ac_status); } && 3505 { ac_try='test -z "$ac_c_werror_flag" 3506 || test ! -s conftest.err' 3507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3508 (eval $ac_try) 2>&5 3509 ac_status=$? 3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3511 (exit $ac_status); }; } && 3512 { ac_try='test -s conftest$ac_exeext' 3513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3514 (eval $ac_try) 2>&5 3515 ac_status=$? 3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3517 (exit $ac_status); }; }; then 3518 ac_cv_search_strerror="none required" 4158 (exit $ac_status); } && { 4159 test -z "$ac_c_werror_flag" || 4160 test ! -s conftest.err 4161 } && test -s conftest$ac_exeext && 4162 $as_test_x conftest$ac_exeext; then 4163 ac_cv_search_strerror=$ac_res 3519 4164 else 3520 4165 echo "$as_me: failed program was:" >&5 3521 4166 sed 's/^/| /' conftest.$ac_ext >&5 3522 4167 3523 fi 3524 rm -f conftest.err conftest.$ac_objext \ 3525 conftest$ac_exeext conftest.$ac_ext 3526 if test "$ac_cv_search_strerror" = no; then 3527 for ac_lib in cposix; do 3528 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3529 cat >conftest.$ac_ext <<_ACEOF 3530 /* confdefs.h. */ 3531 _ACEOF 3532 cat confdefs.h >>conftest.$ac_ext 3533 cat >>conftest.$ac_ext <<_ACEOF 3534 /* end confdefs.h. */ 3535 3536 /* Override any gcc2 internal prototype to avoid an error. */ 3537 #ifdef __cplusplus 3538 extern "C" 3539 #endif 3540 /* We use char because int might match the return type of a gcc2 3541 builtin and then its argument prototype would still apply. */ 3542 char strerror (); 3543 int 3544 main () 3545 { 3546 strerror (); 3547 ; 3548 return 0; 3549 } 3550 _ACEOF 3551 rm -f conftest.$ac_objext conftest$ac_exeext 3552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3553 (eval $ac_link) 2>conftest.er1 3554 ac_status=$? 3555 grep -v '^ *+' conftest.er1 >conftest.err 3556 rm -f conftest.er1 3557 cat conftest.err >&5 3558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3559 (exit $ac_status); } && 3560 { ac_try='test -z "$ac_c_werror_flag" 3561 || test ! -s conftest.err' 3562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3563 (eval $ac_try) 2>&5 3564 ac_status=$? 3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3566 (exit $ac_status); }; } && 3567 { ac_try='test -s conftest$ac_exeext' 3568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3569 (eval $ac_try) 2>&5 3570 ac_status=$? 3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3572 (exit $ac_status); }; }; then 3573 ac_cv_search_strerror="-l$ac_lib" 3574 break 3575 else 3576 echo "$as_me: failed program was:" >&5 3577 sed 's/^/| /' conftest.$ac_ext >&5 3578 3579 fi 3580 rm -f conftest.err conftest.$ac_objext \ 3581 conftest$ac_exeext conftest.$ac_ext 3582 done 3583 fi 4168 4169 fi 4170 4171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4172 conftest$ac_exeext 4173 if test "${ac_cv_search_strerror+set}" = set; then 4174 break 4175 fi 4176 done 4177 if test "${ac_cv_search_strerror+set}" = set; then 4178 : 4179 else 4180 ac_cv_search_strerror=no 4181 fi 4182 rm conftest.$ac_ext 3584 4183 LIBS=$ac_func_search_save_LIBS 3585 4184 fi 3586 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 3587 echo "${ECHO_T}$ac_cv_search_strerror" >&6 3588 if test "$ac_cv_search_strerror" != no; then 3589 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS" 3590 3591 fi 3592 3593 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3594 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4185 { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 4186 echo "${ECHO_T}$ac_cv_search_strerror" >&6; } 4187 ac_res=$ac_cv_search_strerror 4188 if test "$ac_res" != no; then 4189 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4190 4191 fi 4192 4193 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4194 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3595 4195 if test "${ac_cv_header_stdc+set}" = set; then 3596 4196 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3616 4216 _ACEOF 3617 4217 rm -f conftest.$ac_objext 3618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3619 (eval $ac_compile) 2>conftest.er1 4218 if { (ac_try="$ac_compile" 4219 case "(($ac_try" in 4220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4221 *) ac_try_echo=$ac_try;; 4222 esac 4223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4224 (eval "$ac_compile") 2>conftest.er1 3620 4225 ac_status=$? 3621 4226 grep -v '^ *+' conftest.er1 >conftest.err … … 3623 4228 cat conftest.err >&5 3624 4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3625 (exit $ac_status); } && 3626 { ac_try='test -z "$ac_c_werror_flag" 3627 || test ! -s conftest.err' 3628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3629 (eval $ac_try) 2>&5 3630 ac_status=$? 3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3632 (exit $ac_status); }; } && 3633 { ac_try='test -s conftest.$ac_objext' 3634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3635 (eval $ac_try) 2>&5 3636 ac_status=$? 3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3638 (exit $ac_status); }; }; then 4230 (exit $ac_status); } && { 4231 test -z "$ac_c_werror_flag" || 4232 test ! -s conftest.err 4233 } && test -s conftest.$ac_objext; then 3639 4234 ac_cv_header_stdc=yes 3640 4235 else … … 3642 4237 sed 's/^/| /' conftest.$ac_ext >&5 3643 4238 3644 ac_cv_header_stdc=no 3645 fi 3646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4239 ac_cv_header_stdc=no 4240 fi 4241 4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3647 4243 3648 4244 if test $ac_cv_header_stdc = yes; then … … 3700 4296 /* end confdefs.h. */ 3701 4297 #include <ctype.h> 4298 #include <stdlib.h> 3702 4299 #if ((' ' & 0x0FF) == 0x020) 3703 4300 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 3719 4316 if (XOR (islower (i), ISLOWER (i)) 3720 4317 || toupper (i) != TOUPPER (i)) 3721 exit(2);3722 exit (0);4318 return 2; 4319 return 0; 3723 4320 } 3724 4321 _ACEOF 3725 4322 rm -f conftest$ac_exeext 3726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3727 (eval $ac_link) 2>&5 4323 if { (ac_try="$ac_link" 4324 case "(($ac_try" in 4325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4326 *) ac_try_echo=$ac_try;; 4327 esac 4328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4329 (eval "$ac_link") 2>&5 3728 4330 ac_status=$? 3729 4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3730 4332 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3732 (eval $ac_try) 2>&5 4333 { (case "(($ac_try" in 4334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4335 *) ac_try_echo=$ac_try;; 4336 esac 4337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4338 (eval "$ac_try") 2>&5 3733 4339 ac_status=$? 3734 4340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 3743 4349 ac_cv_header_stdc=no 3744 4350 fi 3745 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3746 fi 3747 fi 3748 fi 3749 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3750 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4352 fi 4353 4354 4355 fi 4356 fi 4357 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4358 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 3751 4359 if test $ac_cv_header_stdc = yes; then 3752 4360 … … 3771 4379 do 3772 4380 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3773 echo "$as_me:$LINENO: checking for $ac_header" >&53774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3775 if eval "test \"\${$as_ac_Header+set}\" = set"; then4381 { echo "$as_me:$LINENO: checking for $ac_header" >&5 4382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 4383 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3776 4384 echo $ECHO_N "(cached) $ECHO_C" >&6 3777 4385 else … … 3787 4395 _ACEOF 3788 4396 rm -f conftest.$ac_objext 3789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3790 (eval $ac_compile) 2>conftest.er1 4397 if { (ac_try="$ac_compile" 4398 case "(($ac_try" in 4399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4400 *) ac_try_echo=$ac_try;; 4401 esac 4402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4403 (eval "$ac_compile") 2>conftest.er1 3791 4404 ac_status=$? 3792 4405 grep -v '^ *+' conftest.er1 >conftest.err … … 3794 4407 cat conftest.err >&5 3795 4408 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3796 (exit $ac_status); } && 3797 { ac_try='test -z "$ac_c_werror_flag" 3798 || test ! -s conftest.err' 3799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3800 (eval $ac_try) 2>&5 3801 ac_status=$? 3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3803 (exit $ac_status); }; } && 3804 { ac_try='test -s conftest.$ac_objext' 3805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3806 (eval $ac_try) 2>&5 3807 ac_status=$? 3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3809 (exit $ac_status); }; }; then 4409 (exit $ac_status); } && { 4410 test -z "$ac_c_werror_flag" || 4411 test ! -s conftest.err 4412 } && test -s conftest.$ac_objext; then 3810 4413 eval "$as_ac_Header=yes" 3811 4414 else … … 3813 4416 sed 's/^/| /' conftest.$ac_ext >&5 3814 4417 3815 eval "$as_ac_Header=no" 3816 fi 3817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3818 fi 3819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4418 eval "$as_ac_Header=no" 4419 fi 4420 4421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4422 fi 4423 ac_res=`eval echo '${'$as_ac_Header'}'` 4424 { echo "$as_me:$LINENO: result: $ac_res" >&5 4425 echo "${ECHO_T}$ac_res" >&6; } 3821 4426 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3822 4427 cat >>confdefs.h <<_ACEOF … … 3830 4435 3831 4436 if test "${ac_cv_header_minix_config_h+set}" = set; then 3832 echo "$as_me:$LINENO: checking for minix/config.h" >&53833 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4437 { echo "$as_me:$LINENO: checking for minix/config.h" >&5 4438 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } 3834 4439 if test "${ac_cv_header_minix_config_h+set}" = set; then 3835 4440 echo $ECHO_N "(cached) $ECHO_C" >&6 3836 4441 fi 3837 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&53838 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4442 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4443 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; } 3839 4444 else 3840 4445 # Is the header compilable? 3841 echo "$as_me:$LINENO: checking minix/config.h usability" >&53842 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 4446 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5 4447 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; } 3843 4448 cat >conftest.$ac_ext <<_ACEOF 3844 4449 /* confdefs.h. */ … … 3851 4456 _ACEOF 3852 4457 rm -f conftest.$ac_objext 3853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3854 (eval $ac_compile) 2>conftest.er1 4458 if { (ac_try="$ac_compile" 4459 case "(($ac_try" in 4460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4461 *) ac_try_echo=$ac_try;; 4462 esac 4463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4464 (eval "$ac_compile") 2>conftest.er1 3855 4465 ac_status=$? 3856 4466 grep -v '^ *+' conftest.er1 >conftest.err … … 3858 4468 cat conftest.err >&5 3859 4469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3860 (exit $ac_status); } && 3861 { ac_try='test -z "$ac_c_werror_flag" 3862 || test ! -s conftest.err' 3863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3864 (eval $ac_try) 2>&5 3865 ac_status=$? 3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3867 (exit $ac_status); }; } && 3868 { ac_try='test -s conftest.$ac_objext' 3869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3870 (eval $ac_try) 2>&5 3871 ac_status=$? 3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3873 (exit $ac_status); }; }; then 4470 (exit $ac_status); } && { 4471 test -z "$ac_c_werror_flag" || 4472 test ! -s conftest.err 4473 } && test -s conftest.$ac_objext; then 3874 4474 ac_header_compiler=yes 3875 4475 else … … 3877 4477 sed 's/^/| /' conftest.$ac_ext >&5 3878 4478 3879 ac_header_compiler=no 3880 fi 3881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3882 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3883 echo "${ECHO_T}$ac_header_compiler" >&6 4479 ac_header_compiler=no 4480 fi 4481 4482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4483 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4484 echo "${ECHO_T}$ac_header_compiler" >&6; } 3884 4485 3885 4486 # Is the header present? 3886 echo "$as_me:$LINENO: checking minix/config.h presence" >&53887 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 4487 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5 4488 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; } 3888 4489 cat >conftest.$ac_ext <<_ACEOF 3889 4490 /* confdefs.h. */ … … 3894 4495 #include <minix/config.h> 3895 4496 _ACEOF 3896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4497 if { (ac_try="$ac_cpp conftest.$ac_ext" 4498 case "(($ac_try" in 4499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4500 *) ac_try_echo=$ac_try;; 4501 esac 4502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4503 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3898 4504 ac_status=$? 3899 4505 grep -v '^ *+' conftest.er1 >conftest.err … … 3901 4507 cat conftest.err >&5 3902 4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3903 (exit $ac_status); } >/dev/null; then 3904 if test -s conftest.err; then 3905 ac_cpp_err=$ac_c_preproc_warn_flag 3906 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3907 else 3908 ac_cpp_err= 3909 fi 3910 else 3911 ac_cpp_err=yes 3912 fi 3913 if test -z "$ac_cpp_err"; then 4509 (exit $ac_status); } >/dev/null && { 4510 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4511 test ! -s conftest.err 4512 }; then 3914 4513 ac_header_preproc=yes 3915 4514 else … … 3919 4518 ac_header_preproc=no 3920 4519 fi 4520 3921 4521 rm -f conftest.err conftest.$ac_ext 3922 echo "$as_me:$LINENO: result: $ac_header_preproc" >&53923 echo "${ECHO_T}$ac_header_preproc" >&6 4522 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4523 echo "${ECHO_T}$ac_header_preproc" >&6; } 3924 4524 3925 4525 # So? What about this header? … … 3945 4545 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 3946 4546 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} 3947 ( 3948 cat <<\_ASBOX 3949 ## ------------------------------------------ ## 3950 ## Report this to the AC_PACKAGE_NAME lists. ## 3951 ## ------------------------------------------ ## 3952 _ASBOX 3953 ) | 3954 sed "s/^/$as_me: WARNING: /" >&2 4547 3955 4548 ;; 3956 4549 esac 3957 echo "$as_me:$LINENO: checking for minix/config.h" >&53958 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 4550 { echo "$as_me:$LINENO: checking for minix/config.h" >&5 4551 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } 3959 4552 if test "${ac_cv_header_minix_config_h+set}" = set; then 3960 4553 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 3962 4555 ac_cv_header_minix_config_h=$ac_header_preproc 3963 4556 fi 3964 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&53965 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 4557 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 4558 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; } 3966 4559 3967 4560 fi … … 3991 4584 fi 3992 4585 3993 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&53994 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6 4586 { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5 4587 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; } 3995 4588 if test "${ac_cv_prog_cc_stdc+set}" = set; then 3996 4589 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4028 4621 _ACEOF 4029 4622 rm -f conftest.$ac_objext 4030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4031 (eval $ac_compile) 2>conftest.er1 4623 if { (ac_try="$ac_compile" 4624 case "(($ac_try" in 4625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4626 *) ac_try_echo=$ac_try;; 4627 esac 4628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4629 (eval "$ac_compile") 2>conftest.er1 4032 4630 ac_status=$? 4033 4631 grep -v '^ *+' conftest.er1 >conftest.err … … 4035 4633 cat conftest.err >&5 4036 4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4037 (exit $ac_status); } && 4038 { ac_try='test -z "$ac_c_werror_flag" 4039 || test ! -s conftest.err' 4040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4041 (eval $ac_try) 2>&5 4042 ac_status=$? 4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4044 (exit $ac_status); }; } && 4045 { ac_try='test -s conftest.$ac_objext' 4046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4047 (eval $ac_try) 2>&5 4048 ac_status=$? 4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4050 (exit $ac_status); }; }; then 4635 (exit $ac_status); } && { 4636 test -z "$ac_c_werror_flag" || 4637 test ! -s conftest.err 4638 } && test -s conftest.$ac_objext; then 4051 4639 ac_cv_prog_cc_stdc="$ac_arg"; break 4052 4640 else … … 4054 4642 sed 's/^/| /' conftest.$ac_ext >&5 4055 4643 4056 fi 4057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4644 4645 fi 4646 4647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4058 4648 done 4059 4649 CFLAGS="$ac_save_CFLAGS" … … 4061 4651 fi 4062 4652 4063 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&54064 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 4653 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 4654 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } 4065 4655 case "x$ac_cv_prog_cc_stdc" in 4066 4656 x|xno) ;; … … 4069 4659 4070 4660 4071 echo "$as_me:$LINENO: checking for function prototypes" >&54072 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6 4661 { echo "$as_me:$LINENO: checking for function prototypes" >&5 4662 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; } 4073 4663 if test "$ac_cv_prog_cc_stdc" != no; then 4074 echo "$as_me:$LINENO: result: yes" >&54075 echo "${ECHO_T}yes" >&6 4664 { echo "$as_me:$LINENO: result: yes" >&5 4665 echo "${ECHO_T}yes" >&6; } 4076 4666 cat >>confdefs.h <<\_ACEOF 4077 4667 #define PROTOTYPES 1 … … 4080 4670 U= ANSI2KNR= 4081 4671 else 4082 echo "$as_me:$LINENO: result: no" >&54083 echo "${ECHO_T}no" >&6 4672 { echo "$as_me:$LINENO: result: no" >&5 4673 echo "${ECHO_T}no" >&6; } 4084 4674 U=_ ANSI2KNR=ansi2knr 4085 4675 fi 4086 4676 4087 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&54088 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4677 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4678 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } 4089 4679 if test "${ac_cv_c_const+set}" = set; then 4090 4680 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4104 4694 /* Ultrix mips cc rejects this. */ 4105 4695 typedef int charset[2]; 4106 const charset x;4696 const charset cs; 4107 4697 /* SunOS 4.1.1 cc rejects this. */ 4108 char const *const * ccp;4109 char **p ;4698 char const *const *pcpcc; 4699 char **ppc; 4110 4700 /* NEC SVR4.0.2 mips cc rejects this. */ 4111 4701 struct point {int x, y;}; … … 4116 4706 expression */ 4117 4707 const char *g = "string"; 4118 ccp= &g + (g ? g-g : 0);4708 pcpcc = &g + (g ? g-g : 0); 4119 4709 /* HPUX 7.0 cc rejects these. */ 4120 ++ ccp;4121 p = (char**) ccp;4122 ccp = (char const *const *) p;4710 ++pcpcc; 4711 ppc = (char**) pcpcc; 4712 pcpcc = (char const *const *) ppc; 4123 4713 { /* SCO 3.2v4 cc rejects this. */ 4124 4714 char *t; … … 4126 4716 4127 4717 *t++ = 0; 4718 if (s) return 0; 4128 4719 } 4129 4720 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 4144 4735 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4145 4736 const int foo = 10; 4737 if (!foo) return 0; 4146 4738 } 4739 return !cs[0] && !zero.x; 4147 4740 #endif 4148 4741 … … 4152 4745 _ACEOF 4153 4746 rm -f conftest.$ac_objext 4154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4155 (eval $ac_compile) 2>conftest.er1 4747 if { (ac_try="$ac_compile" 4748 case "(($ac_try" in 4749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4750 *) ac_try_echo=$ac_try;; 4751 esac 4752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4753 (eval "$ac_compile") 2>conftest.er1 4156 4754 ac_status=$? 4157 4755 grep -v '^ *+' conftest.er1 >conftest.err … … 4159 4757 cat conftest.err >&5 4160 4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4161 (exit $ac_status); } && 4162 { ac_try='test -z "$ac_c_werror_flag" 4163 || test ! -s conftest.err' 4164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4165 (eval $ac_try) 2>&5 4166 ac_status=$? 4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4168 (exit $ac_status); }; } && 4169 { ac_try='test -s conftest.$ac_objext' 4170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4171 (eval $ac_try) 2>&5 4172 ac_status=$? 4173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4174 (exit $ac_status); }; }; then 4759 (exit $ac_status); } && { 4760 test -z "$ac_c_werror_flag" || 4761 test ! -s conftest.err 4762 } && test -s conftest.$ac_objext; then 4175 4763 ac_cv_c_const=yes 4176 4764 else … … 4178 4766 sed 's/^/| /' conftest.$ac_ext >&5 4179 4767 4180 ac_cv_c_const=no 4181 fi 4182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4183 fi 4184 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4185 echo "${ECHO_T}$ac_cv_c_const" >&6 4768 ac_cv_c_const=no 4769 fi 4770 4771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4772 fi 4773 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4774 echo "${ECHO_T}$ac_cv_c_const" >&6; } 4186 4775 if test $ac_cv_c_const = no; then 4187 4776 … … 4192 4781 fi 4193 4782 4194 echo "$as_me:$LINENO: checking for off_t" >&54195 echo $ECHO_N "checking for off_t... $ECHO_C" >&6 4783 { echo "$as_me:$LINENO: checking for off_t" >&5 4784 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; } 4196 4785 if test "${ac_cv_type_off_t+set}" = set; then 4197 4786 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4204 4793 /* end confdefs.h. */ 4205 4794 $ac_includes_default 4795 typedef off_t ac__type_new_; 4206 4796 int 4207 4797 main () 4208 4798 { 4209 if (( off_t*) 0)4799 if ((ac__type_new_ *) 0) 4210 4800 return 0; 4211 if (sizeof ( off_t))4801 if (sizeof (ac__type_new_)) 4212 4802 return 0; 4213 4803 ; … … 4216 4806 _ACEOF 4217 4807 rm -f conftest.$ac_objext 4218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4219 (eval $ac_compile) 2>conftest.er1 4808 if { (ac_try="$ac_compile" 4809 case "(($ac_try" in 4810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4811 *) ac_try_echo=$ac_try;; 4812 esac 4813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4814 (eval "$ac_compile") 2>conftest.er1 4220 4815 ac_status=$? 4221 4816 grep -v '^ *+' conftest.er1 >conftest.err … … 4223 4818 cat conftest.err >&5 4224 4819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4225 (exit $ac_status); } && 4226 { ac_try='test -z "$ac_c_werror_flag" 4227 || test ! -s conftest.err' 4228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4229 (eval $ac_try) 2>&5 4230 ac_status=$? 4231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4232 (exit $ac_status); }; } && 4233 { ac_try='test -s conftest.$ac_objext' 4234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4235 (eval $ac_try) 2>&5 4236 ac_status=$? 4237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4238 (exit $ac_status); }; }; then 4820 (exit $ac_status); } && { 4821 test -z "$ac_c_werror_flag" || 4822 test ! -s conftest.err 4823 } && test -s conftest.$ac_objext; then 4239 4824 ac_cv_type_off_t=yes 4240 4825 else … … 4242 4827 sed 's/^/| /' conftest.$ac_ext >&5 4243 4828 4244 ac_cv_type_off_t=no 4245 fi 4246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4247 fi 4248 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4249 echo "${ECHO_T}$ac_cv_type_off_t" >&6 4829 ac_cv_type_off_t=no 4830 fi 4831 4832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4833 fi 4834 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 4835 echo "${ECHO_T}$ac_cv_type_off_t" >&6; } 4250 4836 if test $ac_cv_type_off_t = yes; then 4251 4837 : … … 4253 4839 4254 4840 cat >>confdefs.h <<_ACEOF 4255 #define off_t long 4256 _ACEOF 4257 4258 fi 4259 4260 echo "$as_me:$LINENO: checking for size_t" >&54261 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4841 #define off_t long int 4842 _ACEOF 4843 4844 fi 4845 4846 { echo "$as_me:$LINENO: checking for size_t" >&5 4847 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 4262 4848 if test "${ac_cv_type_size_t+set}" = set; then 4263 4849 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4270 4856 /* end confdefs.h. */ 4271 4857 $ac_includes_default 4858 typedef size_t ac__type_new_; 4272 4859 int 4273 4860 main () 4274 4861 { 4275 if (( size_t*) 0)4862 if ((ac__type_new_ *) 0) 4276 4863 return 0; 4277 if (sizeof ( size_t))4864 if (sizeof (ac__type_new_)) 4278 4865 return 0; 4279 4866 ; … … 4282 4869 _ACEOF 4283 4870 rm -f conftest.$ac_objext 4284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4285 (eval $ac_compile) 2>conftest.er1 4871 if { (ac_try="$ac_compile" 4872 case "(($ac_try" in 4873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4874 *) ac_try_echo=$ac_try;; 4875 esac 4876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4877 (eval "$ac_compile") 2>conftest.er1 4286 4878 ac_status=$? 4287 4879 grep -v '^ *+' conftest.er1 >conftest.err … … 4289 4881 cat conftest.err >&5 4290 4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4291 (exit $ac_status); } && 4292 { ac_try='test -z "$ac_c_werror_flag" 4293 || test ! -s conftest.err' 4294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4295 (eval $ac_try) 2>&5 4296 ac_status=$? 4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4298 (exit $ac_status); }; } && 4299 { ac_try='test -s conftest.$ac_objext' 4300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4301 (eval $ac_try) 2>&5 4302 ac_status=$? 4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4304 (exit $ac_status); }; }; then 4883 (exit $ac_status); } && { 4884 test -z "$ac_c_werror_flag" || 4885 test ! -s conftest.err 4886 } && test -s conftest.$ac_objext; then 4305 4887 ac_cv_type_size_t=yes 4306 4888 else … … 4308 4890 sed 's/^/| /' conftest.$ac_ext >&5 4309 4891 4310 ac_cv_type_size_t=no 4311 fi 4312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4313 fi 4314 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4315 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4892 ac_cv_type_size_t=no 4893 fi 4894 4895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4896 fi 4897 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4898 echo "${ECHO_T}$ac_cv_type_size_t" >&6; } 4316 4899 if test $ac_cv_type_size_t = yes; then 4317 4900 : … … 4319 4902 4320 4903 cat >>confdefs.h <<_ACEOF 4321 #define size_t unsigned 4322 _ACEOF 4323 4324 fi 4325 4326 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&54327 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4904 #define size_t unsigned int 4905 _ACEOF 4906 4907 fi 4908 4909 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 4910 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } 4328 4911 if test "${ac_cv_header_time+set}" = set; then 4329 4912 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4349 4932 _ACEOF 4350 4933 rm -f conftest.$ac_objext 4351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4352 (eval $ac_compile) 2>conftest.er1 4934 if { (ac_try="$ac_compile" 4935 case "(($ac_try" in 4936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4937 *) ac_try_echo=$ac_try;; 4938 esac 4939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4940 (eval "$ac_compile") 2>conftest.er1 4353 4941 ac_status=$? 4354 4942 grep -v '^ *+' conftest.er1 >conftest.err … … 4356 4944 cat conftest.err >&5 4357 4945 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4358 (exit $ac_status); } && 4359 { ac_try='test -z "$ac_c_werror_flag" 4360 || test ! -s conftest.err' 4361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4362 (eval $ac_try) 2>&5 4363 ac_status=$? 4364 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4365 (exit $ac_status); }; } && 4366 { ac_try='test -s conftest.$ac_objext' 4367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4368 (eval $ac_try) 2>&5 4369 ac_status=$? 4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4371 (exit $ac_status); }; }; then 4946 (exit $ac_status); } && { 4947 test -z "$ac_c_werror_flag" || 4948 test ! -s conftest.err 4949 } && test -s conftest.$ac_objext; then 4372 4950 ac_cv_header_time=yes 4373 4951 else … … 4375 4953 sed 's/^/| /' conftest.$ac_ext >&5 4376 4954 4377 ac_cv_header_time=no 4378 fi 4379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4380 fi 4381 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4382 echo "${ECHO_T}$ac_cv_header_time" >&6 4955 ac_cv_header_time=no 4956 fi 4957 4958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4959 fi 4960 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4961 echo "${ECHO_T}$ac_cv_header_time" >&6; } 4383 4962 if test $ac_cv_header_time = yes; then 4384 4963 … … 4389 4968 fi 4390 4969 4391 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&54392 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4970 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 4971 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } 4393 4972 if test "${ac_cv_struct_tm+set}" = set; then 4394 4973 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4406 4985 main () 4407 4986 { 4408 struct tm *tp; tp->tm_sec; 4987 struct tm tm; 4988 int *p = &tm.tm_sec; 4989 return !p; 4409 4990 ; 4410 4991 return 0; … … 4412 4993 _ACEOF 4413 4994 rm -f conftest.$ac_objext 4414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4415 (eval $ac_compile) 2>conftest.er1 4995 if { (ac_try="$ac_compile" 4996 case "(($ac_try" in 4997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4998 *) ac_try_echo=$ac_try;; 4999 esac 5000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5001 (eval "$ac_compile") 2>conftest.er1 4416 5002 ac_status=$? 4417 5003 grep -v '^ *+' conftest.er1 >conftest.err … … 4419 5005 cat conftest.err >&5 4420 5006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4421 (exit $ac_status); } && 4422 { ac_try='test -z "$ac_c_werror_flag" 4423 || test ! -s conftest.err' 4424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4425 (eval $ac_try) 2>&5 4426 ac_status=$? 4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4428 (exit $ac_status); }; } && 4429 { ac_try='test -s conftest.$ac_objext' 4430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4431 (eval $ac_try) 2>&5 4432 ac_status=$? 4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4434 (exit $ac_status); }; }; then 5007 (exit $ac_status); } && { 5008 test -z "$ac_c_werror_flag" || 5009 test ! -s conftest.err 5010 } && test -s conftest.$ac_objext; then 4435 5011 ac_cv_struct_tm=time.h 4436 5012 else … … 4438 5014 sed 's/^/| /' conftest.$ac_ext >&5 4439 5015 4440 ac_cv_struct_tm=sys/time.h 4441 fi 4442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4443 fi 4444 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 4445 echo "${ECHO_T}$ac_cv_struct_tm" >&6 5016 ac_cv_struct_tm=sys/time.h 5017 fi 5018 5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5020 fi 5021 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 5022 echo "${ECHO_T}$ac_cv_struct_tm" >&6; } 4446 5023 if test $ac_cv_struct_tm = sys/time.h; then 4447 5024 … … 4471 5048 _ACEOF 4472 5049 rm -f conftest.$ac_objext 4473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4474 (eval $ac_compile) 2>conftest.er1 5050 if { (ac_try="$ac_compile" 5051 case "(($ac_try" in 5052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5053 *) ac_try_echo=$ac_try;; 5054 esac 5055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5056 (eval "$ac_compile") 2>conftest.er1 4475 5057 ac_status=$? 4476 5058 grep -v '^ *+' conftest.er1 >conftest.err … … 4478 5060 cat conftest.err >&5 4479 5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4480 (exit $ac_status); } && 4481 { ac_try='test -z "$ac_c_werror_flag" 4482 || test ! -s conftest.err' 4483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4484 (eval $ac_try) 2>&5 4485 ac_status=$? 4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4487 (exit $ac_status); }; } && 4488 { ac_try='test -s conftest.$ac_objext' 4489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4490 (eval $ac_try) 2>&5 4491 ac_status=$? 4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4493 (exit $ac_status); }; }; then 5062 (exit $ac_status); } && { 5063 test -z "$ac_c_werror_flag" || 5064 test ! -s conftest.err 5065 } && test -s conftest.$ac_objext; then 4494 5066 : 4495 5067 else … … 4497 5069 sed 's/^/| /' conftest.$ac_ext >&5 4498 5070 4499 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 4500 fi 4501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4502 fi 4503 4504 4505 4506 echo "$as_me:$LINENO: checking for main in -lg" >&5 4507 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6 5071 CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa' 5072 fi 5073 5074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5075 fi 5076 5077 5078 5079 { echo "$as_me:$LINENO: checking for main in -lg" >&5 5080 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; } 4508 5081 if test "${ac_cv_lib_g_main+set}" = set; then 4509 5082 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4522 5095 main () 4523 5096 { 4524 main ();5097 return main (); 4525 5098 ; 4526 5099 return 0; … … 4528 5101 _ACEOF 4529 5102 rm -f conftest.$ac_objext conftest$ac_exeext 4530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4531 (eval $ac_link) 2>conftest.er1 5103 if { (ac_try="$ac_link" 5104 case "(($ac_try" in 5105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5106 *) ac_try_echo=$ac_try;; 5107 esac 5108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5109 (eval "$ac_link") 2>conftest.er1 4532 5110 ac_status=$? 4533 5111 grep -v '^ *+' conftest.er1 >conftest.err … … 4535 5113 cat conftest.err >&5 4536 5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4537 (exit $ac_status); } && 4538 { ac_try='test -z "$ac_c_werror_flag" 4539 || test ! -s conftest.err' 4540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4541 (eval $ac_try) 2>&5 4542 ac_status=$? 4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4544 (exit $ac_status); }; } && 4545 { ac_try='test -s conftest$ac_exeext' 4546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4547 (eval $ac_try) 2>&5 4548 ac_status=$? 4549 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4550 (exit $ac_status); }; }; then 5115 (exit $ac_status); } && { 5116 test -z "$ac_c_werror_flag" || 5117 test ! -s conftest.err 5118 } && test -s conftest$ac_exeext && 5119 $as_test_x conftest$ac_exeext; then 4551 5120 ac_cv_lib_g_main=yes 4552 5121 else … … 4554 5123 sed 's/^/| /' conftest.$ac_ext >&5 4555 5124 4556 ac_cv_lib_g_main=no 4557 fi 4558 rm -f conftest.err conftest.$ac_objext \ 5125 ac_cv_lib_g_main=no 5126 fi 5127 5128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4559 5129 conftest$ac_exeext conftest.$ac_ext 4560 5130 LIBS=$ac_check_lib_save_LIBS 4561 5131 fi 4562 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&54563 echo "${ECHO_T}$ac_cv_lib_g_main" >&6 5132 { echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5 5133 echo "${ECHO_T}$ac_cv_lib_g_main" >&6; } 4564 5134 if test $ac_cv_lib_g_main = yes; then 4565 5135 cat >>confdefs.h <<_ACEOF … … 4573 5143 4574 5144 4575 echo "$as_me:$LINENO: checking for main in -lm" >&54576 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 5145 { echo "$as_me:$LINENO: checking for main in -lm" >&5 5146 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 4577 5147 if test "${ac_cv_lib_m_main+set}" = set; then 4578 5148 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4591 5161 main () 4592 5162 { 4593 main ();5163 return main (); 4594 5164 ; 4595 5165 return 0; … … 4597 5167 _ACEOF 4598 5168 rm -f conftest.$ac_objext conftest$ac_exeext 4599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4600 (eval $ac_link) 2>conftest.er1 5169 if { (ac_try="$ac_link" 5170 case "(($ac_try" in 5171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5172 *) ac_try_echo=$ac_try;; 5173 esac 5174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5175 (eval "$ac_link") 2>conftest.er1 4601 5176 ac_status=$? 4602 5177 grep -v '^ *+' conftest.er1 >conftest.err … … 4604 5179 cat conftest.err >&5 4605 5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4606 (exit $ac_status); } && 4607 { ac_try='test -z "$ac_c_werror_flag" 4608 || test ! -s conftest.err' 4609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4610 (eval $ac_try) 2>&5 4611 ac_status=$? 4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4613 (exit $ac_status); }; } && 4614 { ac_try='test -s conftest$ac_exeext' 4615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4616 (eval $ac_try) 2>&5 4617 ac_status=$? 4618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4619 (exit $ac_status); }; }; then 5181 (exit $ac_status); } && { 5182 test -z "$ac_c_werror_flag" || 5183 test ! -s conftest.err 5184 } && test -s conftest$ac_exeext && 5185 $as_test_x conftest$ac_exeext; then 4620 5186 ac_cv_lib_m_main=yes 4621 5187 else … … 4623 5189 sed 's/^/| /' conftest.$ac_ext >&5 4624 5190 4625 ac_cv_lib_m_main=no 4626 fi 4627 rm -f conftest.err conftest.$ac_objext \ 5191 ac_cv_lib_m_main=no 5192 fi 5193 5194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4628 5195 conftest$ac_exeext conftest.$ac_ext 4629 5196 LIBS=$ac_check_lib_save_LIBS 4630 5197 fi 4631 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&54632 echo "${ECHO_T}$ac_cv_lib_m_main" >&6 5198 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 5199 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; } 4633 5200 if test $ac_cv_lib_m_main = yes; then 4634 5201 cat >>confdefs.h <<_ACEOF … … 4642 5209 4643 5210 4644 echo "$as_me:$LINENO: checking for main in -lcrypt" >&54645 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6 5211 { echo "$as_me:$LINENO: checking for main in -lcrypt" >&5 5212 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; } 4646 5213 if test "${ac_cv_lib_crypt_main+set}" = set; then 4647 5214 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 4660 5227 main () 4661 5228 { 4662 main ();5229 return main (); 4663 5230 ; 4664 5231 return 0; … … 4666 5233 _ACEOF 4667 5234 rm -f conftest.$ac_objext conftest$ac_exeext 4668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4669 (eval $ac_link) 2>conftest.er1 5235 if { (ac_try="$ac_link" 5236 case "(($ac_try" in 5237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5238 *) ac_try_echo=$ac_try;; 5239 esac 5240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5241 (eval "$ac_link") 2>conftest.er1 4670 5242 ac_status=$? 4671 5243 grep -v '^ *+' conftest.er1 >conftest.err … … 4673 5245 cat conftest.err >&5 4674 5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4675 (exit $ac_status); } && 4676 { ac_try='test -z "$ac_c_werror_flag" 4677 || test ! -s conftest.err' 4678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4679 (eval $ac_try) 2>&5 4680 ac_status=$? 4681 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4682 (exit $ac_status); }; } && 4683 { ac_try='test -s conftest$ac_exeext' 4684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4685 (eval $ac_try) 2>&5 4686 ac_status=$? 4687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4688 (exit $ac_status); }; }; then 5247 (exit $ac_status); } && { 5248 test -z "$ac_c_werror_flag" || 5249 test ! -s conftest.err 5250 } && test -s conftest$ac_exeext && 5251 $as_test_x conftest$ac_exeext; then 4689 5252 ac_cv_lib_crypt_main=yes 4690 5253 else … … 4692 5255 sed 's/^/| /' conftest.$ac_ext >&5 4693 5256 4694 ac_cv_lib_crypt_main=no 4695 fi 4696 rm -f conftest.err conftest.$ac_objext \ 5257 ac_cv_lib_crypt_main=no 5258 fi 5259 5260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4697 5261 conftest$ac_exeext conftest.$ac_ext 4698 5262 LIBS=$ac_check_lib_save_LIBS 4699 5263 fi 4700 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&54701 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6 5264 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5 5265 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; } 4702 5266 if test $ac_cv_lib_crypt_main = yes; then 4703 5267 cat >>confdefs.h <<_ACEOF … … 4710 5274 ac_cv_lib_crypt=ac_cv_lib_crypt_main 4711 5275 4712 if test $ENABLE_ACCENTFOLD = 1; then 4713 4714 echo "$as_me:$LINENO: checking for main in -liconv" >&5 4715 echo $ECHO_N "checking for main in -liconv... $ECHO_C" >&6 4716 if test "${ac_cv_lib_iconv_main+set}" = set; then 4717 echo $ECHO_N "(cached) $ECHO_C" >&6 4718 else 4719 ac_check_lib_save_LIBS=$LIBS 4720 LIBS="-liconv $LIBS" 4721 cat >conftest.$ac_ext <<_ACEOF 4722 /* confdefs.h. */ 4723 _ACEOF 4724 cat confdefs.h >>conftest.$ac_ext 4725 cat >>conftest.$ac_ext <<_ACEOF 4726 /* end confdefs.h. */ 4727 4728 4729 int 4730 main () 4731 { 4732 main (); 4733 ; 4734 return 0; 4735 } 4736 _ACEOF 4737 rm -f conftest.$ac_objext conftest$ac_exeext 4738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4739 (eval $ac_link) 2>conftest.er1 4740 ac_status=$? 4741 grep -v '^ *+' conftest.er1 >conftest.err 4742 rm -f conftest.er1 4743 cat conftest.err >&5 4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4745 (exit $ac_status); } && 4746 { ac_try='test -z "$ac_c_werror_flag" 4747 || test ! -s conftest.err' 4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4749 (eval $ac_try) 2>&5 4750 ac_status=$? 4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4752 (exit $ac_status); }; } && 4753 { ac_try='test -s conftest$ac_exeext' 4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4755 (eval $ac_try) 2>&5 4756 ac_status=$? 4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4758 (exit $ac_status); }; }; then 4759 ac_cv_lib_iconv_main=yes 4760 else 4761 echo "$as_me: failed program was:" >&5 4762 sed 's/^/| /' conftest.$ac_ext >&5 4763 4764 ac_cv_lib_iconv_main=no 4765 fi 4766 rm -f conftest.err conftest.$ac_objext \ 4767 conftest$ac_exeext conftest.$ac_ext 4768 LIBS=$ac_check_lib_save_LIBS 4769 fi 4770 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_main" >&5 4771 echo "${ECHO_T}$ac_cv_lib_iconv_main" >&6 4772 if test $ac_cv_lib_iconv_main = yes; then 4773 cat >>confdefs.h <<_ACEOF 4774 #define HAVE_LIBICONV 1 4775 _ACEOF 4776 4777 LIBS="-liconv $LIBS" 4778 4779 fi 4780 ac_cv_lib_iconv=ac_cv_lib_iconv_main 4781 4782 fi 5276 #if test $ENABLE_ACCENTFOLD = 1; then 5277 #AC_HAVE_LIBRARY(iconv) 5278 #fi 4783 5279 4784 5280 … … 4790 5286 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 4791 5287 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 4792 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&54793 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 4794 if eval "test \"\${$as_ac_Header+set}\" = set"; then5288 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 5289 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } 5290 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 4795 5291 echo $ECHO_N "(cached) $ECHO_C" >&6 4796 5292 else … … 4814 5310 _ACEOF 4815 5311 rm -f conftest.$ac_objext 4816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4817 (eval $ac_compile) 2>conftest.er1 5312 if { (ac_try="$ac_compile" 5313 case "(($ac_try" in 5314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5315 *) ac_try_echo=$ac_try;; 5316 esac 5317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5318 (eval "$ac_compile") 2>conftest.er1 4818 5319 ac_status=$? 4819 5320 grep -v '^ *+' conftest.er1 >conftest.err … … 4821 5322 cat conftest.err >&5 4822 5323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4823 (exit $ac_status); } && 4824 { ac_try='test -z "$ac_c_werror_flag" 4825 || test ! -s conftest.err' 4826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4827 (eval $ac_try) 2>&5 4828 ac_status=$? 4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4830 (exit $ac_status); }; } && 4831 { ac_try='test -s conftest.$ac_objext' 4832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4833 (eval $ac_try) 2>&5 4834 ac_status=$? 4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4836 (exit $ac_status); }; }; then 5324 (exit $ac_status); } && { 5325 test -z "$ac_c_werror_flag" || 5326 test ! -s conftest.err 5327 } && test -s conftest.$ac_objext; then 4837 5328 eval "$as_ac_Header=yes" 4838 5329 else … … 4840 5331 sed 's/^/| /' conftest.$ac_ext >&5 4841 5332 4842 eval "$as_ac_Header=no" 4843 fi 4844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4845 fi 4846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5333 eval "$as_ac_Header=no" 5334 fi 5335 5336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5337 fi 5338 ac_res=`eval echo '${'$as_ac_Header'}'` 5339 { echo "$as_me:$LINENO: result: $ac_res" >&5 5340 echo "${ECHO_T}$ac_res" >&6; } 4848 5341 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4849 5342 cat >>confdefs.h <<_ACEOF … … 4857 5350 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 4858 5351 if test $ac_header_dirent = dirent.h; then 4859 echo "$as_me:$LINENO: checking for library containing opendir" >&54860 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 5352 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 5353 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } 4861 5354 if test "${ac_cv_search_opendir+set}" = set; then 4862 5355 echo $ECHO_N "(cached) $ECHO_C" >&6 4863 5356 else 4864 5357 ac_func_search_save_LIBS=$LIBS 4865 ac_cv_search_opendir=no4866 5358 cat >conftest.$ac_ext <<_ACEOF 4867 5359 /* confdefs.h. */ … … 4871 5363 /* end confdefs.h. */ 4872 5364 4873 /* Override any gcc2 internal prototype to avoid an error. */ 5365 /* Override any GCC internal prototype to avoid an error. 5366 Use char because int might match the return type of a GCC 5367 builtin and then its argument prototype would still apply. */ 4874 5368 #ifdef __cplusplus 4875 5369 extern "C" 4876 5370 #endif 4877 /* We use char because int might match the return type of a gcc24878 builtin and then its argument prototype would still apply. */4879 5371 char opendir (); 4880 5372 int 4881 5373 main () 4882 5374 { 4883 opendir ();5375 return opendir (); 4884 5376 ; 4885 5377 return 0; 4886 5378 } 4887 5379 _ACEOF 4888 rm -f conftest.$ac_objext conftest$ac_exeext 4889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4890 (eval $ac_link) 2>conftest.er1 5380 for ac_lib in '' dir; do 5381 if test -z "$ac_lib"; then 5382 ac_res="none required" 5383 else 5384 ac_res=-l$ac_lib 5385 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5386 fi 5387 rm -f conftest.$ac_objext conftest$ac_exeext 5388 if { (ac_try="$ac_link" 5389 case "(($ac_try" in 5390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5391 *) ac_try_echo=$ac_try;; 5392 esac 5393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5394 (eval "$ac_link") 2>conftest.er1 4891 5395 ac_status=$? 4892 5396 grep -v '^ *+' conftest.er1 >conftest.err … … 4894 5398 cat conftest.err >&5 4895 5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4896 (exit $ac_status); } && 4897 { ac_try='test -z "$ac_c_werror_flag" 4898 || test ! -s conftest.err' 4899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4900 (eval $ac_try) 2>&5 4901 ac_status=$? 4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4903 (exit $ac_status); }; } && 4904 { ac_try='test -s conftest$ac_exeext' 4905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4906 (eval $ac_try) 2>&5 4907 ac_status=$? 4908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4909 (exit $ac_status); }; }; then 4910 ac_cv_search_opendir="none required" 5400 (exit $ac_status); } && { 5401 test -z "$ac_c_werror_flag" || 5402 test ! -s conftest.err 5403 } && test -s conftest$ac_exeext && 5404 $as_test_x conftest$ac_exeext; then 5405 ac_cv_search_opendir=$ac_res 4911 5406 else 4912 5407 echo "$as_me: failed program was:" >&5 4913 5408 sed 's/^/| /' conftest.$ac_ext >&5 4914 5409 4915 fi 4916 rm -f conftest.err conftest.$ac_objext \ 4917 conftest$ac_exeext conftest.$ac_ext 4918 if test "$ac_cv_search_opendir" = no; then 4919 for ac_lib in dir; do 4920 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4921 cat >conftest.$ac_ext <<_ACEOF 5410 5411 fi 5412 5413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5414 conftest$ac_exeext 5415 if test "${ac_cv_search_opendir+set}" = set; then 5416 break 5417 fi 5418 done 5419 if test "${ac_cv_search_opendir+set}" = set; then 5420 : 5421 else 5422 ac_cv_search_opendir=no 5423 fi 5424 rm conftest.$ac_ext 5425 LIBS=$ac_func_search_save_LIBS 5426 fi 5427 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5428 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 5429 ac_res=$ac_cv_search_opendir 5430 if test "$ac_res" != no; then 5431 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5432 5433 fi 5434 5435 else 5436 { echo "$as_me:$LINENO: checking for library containing opendir" >&5 5437 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } 5438 if test "${ac_cv_search_opendir+set}" = set; then 5439 echo $ECHO_N "(cached) $ECHO_C" >&6 5440 else 5441 ac_func_search_save_LIBS=$LIBS 5442 cat >conftest.$ac_ext <<_ACEOF 4922 5443 /* confdefs.h. */ 4923 5444 _ACEOF … … 4926 5447 /* end confdefs.h. */ 4927 5448 4928 /* Override any gcc2 internal prototype to avoid an error. */ 5449 /* Override any GCC internal prototype to avoid an error. 5450 Use char because int might match the return type of a GCC 5451 builtin and then its argument prototype would still apply. */ 4929 5452 #ifdef __cplusplus 4930 5453 extern "C" 4931 5454 #endif 4932 /* We use char because int might match the return type of a gcc24933 builtin and then its argument prototype would still apply. */4934 5455 char opendir (); 4935 5456 int 4936 5457 main () 4937 5458 { 4938 opendir ();5459 return opendir (); 4939 5460 ; 4940 5461 return 0; 4941 5462 } 4942 5463 _ACEOF 4943 rm -f conftest.$ac_objext conftest$ac_exeext 4944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4945 (eval $ac_link) 2>conftest.er1 5464 for ac_lib in '' x; do 5465 if test -z "$ac_lib"; then 5466 ac_res="none required" 5467 else 5468 ac_res=-l$ac_lib 5469 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5470 fi 5471 rm -f conftest.$ac_objext conftest$ac_exeext 5472 if { (ac_try="$ac_link" 5473 case "(($ac_try" in 5474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5475 *) ac_try_echo=$ac_try;; 5476 esac 5477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5478 (eval "$ac_link") 2>conftest.er1 4946 5479 ac_status=$? 4947 5480 grep -v '^ *+' conftest.er1 >conftest.err … … 4949 5482 cat conftest.err >&5 4950 5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4951 (exit $ac_status); } && 4952 { ac_try='test -z "$ac_c_werror_flag" 4953 || test ! -s conftest.err' 4954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4955 (eval $ac_try) 2>&5 4956 ac_status=$? 4957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4958 (exit $ac_status); }; } && 4959 { ac_try='test -s conftest$ac_exeext' 4960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4961 (eval $ac_try) 2>&5 4962 ac_status=$? 4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4964 (exit $ac_status); }; }; then 4965 ac_cv_search_opendir="-l$ac_lib" 4966 break 5484 (exit $ac_status); } && { 5485 test -z "$ac_c_werror_flag" || 5486 test ! -s conftest.err 5487 } && test -s conftest$ac_exeext && 5488 $as_test_x conftest$ac_exeext; then 5489 ac_cv_search_opendir=$ac_res 4967 5490 else 4968 5491 echo "$as_me: failed program was:" >&5 4969 5492 sed 's/^/| /' conftest.$ac_ext >&5 4970 5493 4971 fi 4972 rm -f conftest.err conftest.$ac_objext \ 4973 conftest$ac_exeext conftest.$ac_ext 4974 done 4975 fi 5494 5495 fi 5496 5497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5498 conftest$ac_exeext 5499 if test "${ac_cv_search_opendir+set}" = set; then 5500 break 5501 fi 5502 done 5503 if test "${ac_cv_search_opendir+set}" = set; then 5504 : 5505 else 5506 ac_cv_search_opendir=no 5507 fi 5508 rm conftest.$ac_ext 4976 5509 LIBS=$ac_func_search_save_LIBS 4977 5510 fi 4978 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 4979 echo "${ECHO_T}$ac_cv_search_opendir" >&6 4980 if test "$ac_cv_search_opendir" != no; then 4981 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 4982 4983 fi 4984 4985 else 4986 echo "$as_me:$LINENO: checking for library containing opendir" >&5 4987 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 4988 if test "${ac_cv_search_opendir+set}" = set; then 4989 echo $ECHO_N "(cached) $ECHO_C" >&6 4990 else 4991 ac_func_search_save_LIBS=$LIBS 4992 ac_cv_search_opendir=no 4993 cat >conftest.$ac_ext <<_ACEOF 4994 /* confdefs.h. */ 4995 _ACEOF 4996 cat confdefs.h >>conftest.$ac_ext 4997 cat >>conftest.$ac_ext <<_ACEOF 4998 /* end confdefs.h. */ 4999 5000 /* Override any gcc2 internal prototype to avoid an error. */ 5001 #ifdef __cplusplus 5002 extern "C" 5003 #endif 5004 /* We use char because int might match the return type of a gcc2 5005 builtin and then its argument prototype would still apply. */ 5006 char opendir (); 5007 int 5008 main () 5009 { 5010 opendir (); 5011 ; 5012 return 0; 5013 } 5014 _ACEOF 5015 rm -f conftest.$ac_objext conftest$ac_exeext 5016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5017 (eval $ac_link) 2>conftest.er1 5018 ac_status=$? 5019 grep -v '^ *+' conftest.er1 >conftest.err 5020 rm -f conftest.er1 5021 cat conftest.err >&5 5022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5023 (exit $ac_status); } && 5024 { ac_try='test -z "$ac_c_werror_flag" 5025 || test ! -s conftest.err' 5026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5027 (eval $ac_try) 2>&5 5028 ac_status=$? 5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5030 (exit $ac_status); }; } && 5031 { ac_try='test -s conftest$ac_exeext' 5032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5033 (eval $ac_try) 2>&5 5034 ac_status=$? 5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5036 (exit $ac_status); }; }; then 5037 ac_cv_search_opendir="none required" 5038 else 5039 echo "$as_me: failed program was:" >&5 5040 sed 's/^/| /' conftest.$ac_ext >&5 5041 5042 fi 5043 rm -f conftest.err conftest.$ac_objext \ 5044 conftest$ac_exeext conftest.$ac_ext 5045 if test "$ac_cv_search_opendir" = no; then 5046 for ac_lib in x; do 5047 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5048 cat >conftest.$ac_ext <<_ACEOF 5049 /* confdefs.h. */ 5050 _ACEOF 5051 cat confdefs.h >>conftest.$ac_ext 5052 cat >>conftest.$ac_ext <<_ACEOF 5053 /* end confdefs.h. */ 5054 5055 /* Override any gcc2 internal prototype to avoid an error. */ 5056 #ifdef __cplusplus 5057 extern "C" 5058 #endif 5059 /* We use char because int might match the return type of a gcc2 5060 builtin and then its argument prototype would still apply. */ 5061 char opendir (); 5062 int 5063 main () 5064 { 5065 opendir (); 5066 ; 5067 return 0; 5068 } 5069 _ACEOF 5070 rm -f conftest.$ac_objext conftest$ac_exeext 5071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5072 (eval $ac_link) 2>conftest.er1 5073 ac_status=$? 5074 grep -v '^ *+' conftest.er1 >conftest.err 5075 rm -f conftest.er1 5076 cat conftest.err >&5 5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5078 (exit $ac_status); } && 5079 { ac_try='test -z "$ac_c_werror_flag" 5080 || test ! -s conftest.err' 5081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5082 (eval $ac_try) 2>&5 5083 ac_status=$? 5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5085 (exit $ac_status); }; } && 5086 { ac_try='test -s conftest$ac_exeext' 5087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5088 (eval $ac_try) 2>&5 5089 ac_status=$? 5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5091 (exit $ac_status); }; }; then 5092 ac_cv_search_opendir="-l$ac_lib" 5093 break 5094 else 5095 echo "$as_me: failed program was:" >&5 5096 sed 's/^/| /' conftest.$ac_ext >&5 5097 5098 fi 5099 rm -f conftest.err conftest.$ac_objext \ 5100 conftest$ac_exeext conftest.$ac_ext 5101 done 5102 fi 5103 LIBS=$ac_func_search_save_LIBS 5104 fi 5105 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5106 echo "${ECHO_T}$ac_cv_search_opendir" >&6 5107 if test "$ac_cv_search_opendir" != no; then 5108 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 5109 5110 fi 5111 5112 fi 5113 5114 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5115 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 5511 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 5512 echo "${ECHO_T}$ac_cv_search_opendir" >&6; } 5513 ac_res=$ac_cv_search_opendir 5514 if test "$ac_res" != no; then 5515 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5516 5517 fi 5518 5519 fi 5520 5521 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 5522 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 5116 5523 if test "${ac_cv_header_stdc+set}" = set; then 5117 5524 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5137 5544 _ACEOF 5138 5545 rm -f conftest.$ac_objext 5139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5140 (eval $ac_compile) 2>conftest.er1 5546 if { (ac_try="$ac_compile" 5547 case "(($ac_try" in 5548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5549 *) ac_try_echo=$ac_try;; 5550 esac 5551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5552 (eval "$ac_compile") 2>conftest.er1 5141 5553 ac_status=$? 5142 5554 grep -v '^ *+' conftest.er1 >conftest.err … … 5144 5556 cat conftest.err >&5 5145 5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5146 (exit $ac_status); } && 5147 { ac_try='test -z "$ac_c_werror_flag" 5148 || test ! -s conftest.err' 5149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5150 (eval $ac_try) 2>&5 5151 ac_status=$? 5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5153 (exit $ac_status); }; } && 5154 { ac_try='test -s conftest.$ac_objext' 5155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5156 (eval $ac_try) 2>&5 5157 ac_status=$? 5158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5159 (exit $ac_status); }; }; then 5558 (exit $ac_status); } && { 5559 test -z "$ac_c_werror_flag" || 5560 test ! -s conftest.err 5561 } && test -s conftest.$ac_objext; then 5160 5562 ac_cv_header_stdc=yes 5161 5563 else … … 5163 5565 sed 's/^/| /' conftest.$ac_ext >&5 5164 5566 5165 ac_cv_header_stdc=no 5166 fi 5167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5567 ac_cv_header_stdc=no 5568 fi 5569 5570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5168 5571 5169 5572 if test $ac_cv_header_stdc = yes; then … … 5221 5624 /* end confdefs.h. */ 5222 5625 #include <ctype.h> 5626 #include <stdlib.h> 5223 5627 #if ((' ' & 0x0FF) == 0x020) 5224 5628 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') … … 5240 5644 if (XOR (islower (i), ISLOWER (i)) 5241 5645 || toupper (i) != TOUPPER (i)) 5242 exit(2);5243 exit (0);5646 return 2; 5647 return 0; 5244 5648 } 5245 5649 _ACEOF 5246 5650 rm -f conftest$ac_exeext 5247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5248 (eval $ac_link) 2>&5 5651 if { (ac_try="$ac_link" 5652 case "(($ac_try" in 5653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5654 *) ac_try_echo=$ac_try;; 5655 esac 5656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5657 (eval "$ac_link") 2>&5 5249 5658 ac_status=$? 5250 5659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5251 5660 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5253 (eval $ac_try) 2>&5 5661 { (case "(($ac_try" in 5662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5663 *) ac_try_echo=$ac_try;; 5664 esac 5665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5666 (eval "$ac_try") 2>&5 5254 5667 ac_status=$? 5255 5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 5264 5677 ac_cv_header_stdc=no 5265 5678 fi 5266 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5267 fi 5268 fi 5269 fi 5270 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5271 echo "${ECHO_T}$ac_cv_header_stdc" >&6 5679 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5680 fi 5681 5682 5683 fi 5684 fi 5685 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 5686 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 5272 5687 if test $ac_cv_header_stdc = yes; then 5273 5688 … … 5290 5705 do 5291 5706 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5292 if eval "test \"\${$as_ac_Header+set}\" = set"; then5293 echo "$as_me:$LINENO: checking for $ac_header" >&55294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5295 if eval "test \"\${$as_ac_Header+set}\" = set"; then5707 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5708 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5710 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5296 5711 echo $ECHO_N "(cached) $ECHO_C" >&6 5297 5712 fi 5298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5713 ac_res=`eval echo '${'$as_ac_Header'}'` 5714 { echo "$as_me:$LINENO: result: $ac_res" >&5 5715 echo "${ECHO_T}$ac_res" >&6; } 5300 5716 else 5301 5717 # Is the header compilable? 5302 echo "$as_me:$LINENO: checking $ac_header usability" >&55303 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5718 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5719 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5304 5720 cat >conftest.$ac_ext <<_ACEOF 5305 5721 /* confdefs.h. */ … … 5312 5728 _ACEOF 5313 5729 rm -f conftest.$ac_objext 5314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5315 (eval $ac_compile) 2>conftest.er1 5730 if { (ac_try="$ac_compile" 5731 case "(($ac_try" in 5732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5733 *) ac_try_echo=$ac_try;; 5734 esac 5735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5736 (eval "$ac_compile") 2>conftest.er1 5316 5737 ac_status=$? 5317 5738 grep -v '^ *+' conftest.er1 >conftest.err … … 5319 5740 cat conftest.err >&5 5320 5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5321 (exit $ac_status); } && 5322 { ac_try='test -z "$ac_c_werror_flag" 5323 || test ! -s conftest.err' 5324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5325 (eval $ac_try) 2>&5 5326 ac_status=$? 5327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5328 (exit $ac_status); }; } && 5329 { ac_try='test -s conftest.$ac_objext' 5330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5331 (eval $ac_try) 2>&5 5332 ac_status=$? 5333 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5334 (exit $ac_status); }; }; then 5742 (exit $ac_status); } && { 5743 test -z "$ac_c_werror_flag" || 5744 test ! -s conftest.err 5745 } && test -s conftest.$ac_objext; then 5335 5746 ac_header_compiler=yes 5336 5747 else … … 5338 5749 sed 's/^/| /' conftest.$ac_ext >&5 5339 5750 5340 ac_header_compiler=no 5341 fi 5342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5344 echo "${ECHO_T}$ac_header_compiler" >&6 5751 ac_header_compiler=no 5752 fi 5753 5754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5755 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5756 echo "${ECHO_T}$ac_header_compiler" >&6; } 5345 5757 5346 5758 # Is the header present? 5347 echo "$as_me:$LINENO: checking $ac_header presence" >&55348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5759 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5760 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5349 5761 cat >conftest.$ac_ext <<_ACEOF 5350 5762 /* confdefs.h. */ … … 5355 5767 #include <$ac_header> 5356 5768 _ACEOF 5357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5358 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5769 if { (ac_try="$ac_cpp conftest.$ac_ext" 5770 case "(($ac_try" in 5771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5772 *) ac_try_echo=$ac_try;; 5773 esac 5774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5775 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5359 5776 ac_status=$? 5360 5777 grep -v '^ *+' conftest.er1 >conftest.err … … 5362 5779 cat conftest.err >&5 5363 5780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5364 (exit $ac_status); } >/dev/null; then 5365 if test -s conftest.err; then 5366 ac_cpp_err=$ac_c_preproc_warn_flag 5367 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5368 else 5369 ac_cpp_err= 5370 fi 5371 else 5372 ac_cpp_err=yes 5373 fi 5374 if test -z "$ac_cpp_err"; then 5781 (exit $ac_status); } >/dev/null && { 5782 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 5783 test ! -s conftest.err 5784 }; then 5375 5785 ac_header_preproc=yes 5376 5786 else … … 5380 5790 ac_header_preproc=no 5381 5791 fi 5792 5382 5793 rm -f conftest.err conftest.$ac_ext 5383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&55384 echo "${ECHO_T}$ac_header_preproc" >&6 5794 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5795 echo "${ECHO_T}$ac_header_preproc" >&6; } 5385 5796 5386 5797 # So? What about this header? … … 5406 5817 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5407 5818 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5408 ( 5409 cat <<\_ASBOX 5410 ## ------------------------------------------ ## 5411 ## Report this to the AC_PACKAGE_NAME lists. ## 5412 ## ------------------------------------------ ## 5413 _ASBOX 5414 ) | 5415 sed "s/^/$as_me: WARNING: /" >&2 5819 5416 5820 ;; 5417 5821 esac 5418 echo "$as_me:$LINENO: checking for $ac_header" >&55419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5420 if eval "test \"\${$as_ac_Header+set}\" = set"; then5822 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5824 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5421 5825 echo $ECHO_N "(cached) $ECHO_C" >&6 5422 5826 else 5423 5827 eval "$as_ac_Header=\$ac_header_preproc" 5424 5828 fi 5425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5829 ac_res=`eval echo '${'$as_ac_Header'}'` 5830 { echo "$as_me:$LINENO: result: $ac_res" >&5 5831 echo "${ECHO_T}$ac_res" >&6; } 5427 5832 5428 5833 fi … … 5493 5898 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 5494 5899 # for constant arguments. Useless! 5495 echo "$as_me:$LINENO: checking for working alloca.h" >&55496 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 5900 { echo "$as_me:$LINENO: checking for working alloca.h" >&5 5901 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; } 5497 5902 if test "${ac_cv_working_alloca_h+set}" = set; then 5498 5903 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5509 5914 { 5510 5915 char *p = (char *) alloca (2 * sizeof (int)); 5916 if (p) return 0; 5511 5917 ; 5512 5918 return 0; … … 5514 5920 _ACEOF 5515 5921 rm -f conftest.$ac_objext conftest$ac_exeext 5516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5517 (eval $ac_link) 2>conftest.er1 5922 if { (ac_try="$ac_link" 5923 case "(($ac_try" in 5924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5925 *) ac_try_echo=$ac_try;; 5926 esac 5927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5928 (eval "$ac_link") 2>conftest.er1 5518 5929 ac_status=$? 5519 5930 grep -v '^ *+' conftest.er1 >conftest.err … … 5521 5932 cat conftest.err >&5 5522 5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5523 (exit $ac_status); } && 5524 { ac_try='test -z "$ac_c_werror_flag" 5525 || test ! -s conftest.err' 5526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5527 (eval $ac_try) 2>&5 5528 ac_status=$? 5529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5530 (exit $ac_status); }; } && 5531 { ac_try='test -s conftest$ac_exeext' 5532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5533 (eval $ac_try) 2>&5 5534 ac_status=$? 5535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5536 (exit $ac_status); }; }; then 5934 (exit $ac_status); } && { 5935 test -z "$ac_c_werror_flag" || 5936 test ! -s conftest.err 5937 } && test -s conftest$ac_exeext && 5938 $as_test_x conftest$ac_exeext; then 5537 5939 ac_cv_working_alloca_h=yes 5538 5940 else … … 5540 5942 sed 's/^/| /' conftest.$ac_ext >&5 5541 5943 5542 ac_cv_working_alloca_h=no 5543 fi 5544 rm -f conftest.err conftest.$ac_objext \ 5944 ac_cv_working_alloca_h=no 5945 fi 5946 5947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5545 5948 conftest$ac_exeext conftest.$ac_ext 5546 5949 fi 5547 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&55548 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 5950 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 5951 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; } 5549 5952 if test $ac_cv_working_alloca_h = yes; then 5550 5953 … … 5555 5958 fi 5556 5959 5557 echo "$as_me:$LINENO: checking for alloca" >&55558 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 5960 { echo "$as_me:$LINENO: checking for alloca" >&5 5961 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; } 5559 5962 if test "${ac_cv_func_alloca_works+set}" = set; then 5560 5963 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5573 5976 # define alloca _alloca 5574 5977 # else 5575 # if HAVE_ALLOCA_H5978 # ifdef HAVE_ALLOCA_H 5576 5979 # include <alloca.h> 5577 5980 # else … … 5591 5994 { 5592 5995 char *p = (char *) alloca (1); 5996 if (p) return 0; 5593 5997 ; 5594 5998 return 0; … … 5596 6000 _ACEOF 5597 6001 rm -f conftest.$ac_objext conftest$ac_exeext 5598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5599 (eval $ac_link) 2>conftest.er1 6002 if { (ac_try="$ac_link" 6003 case "(($ac_try" in 6004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6005 *) ac_try_echo=$ac_try;; 6006 esac 6007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6008 (eval "$ac_link") 2>conftest.er1 5600 6009 ac_status=$? 5601 6010 grep -v '^ *+' conftest.er1 >conftest.err … … 5603 6012 cat conftest.err >&5 5604 6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5605 (exit $ac_status); } && 5606 { ac_try='test -z "$ac_c_werror_flag" 5607 || test ! -s conftest.err' 5608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5609 (eval $ac_try) 2>&5 5610 ac_status=$? 5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5612 (exit $ac_status); }; } && 5613 { ac_try='test -s conftest$ac_exeext' 5614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5615 (eval $ac_try) 2>&5 5616 ac_status=$? 5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5618 (exit $ac_status); }; }; then 6014 (exit $ac_status); } && { 6015 test -z "$ac_c_werror_flag" || 6016 test ! -s conftest.err 6017 } && test -s conftest$ac_exeext && 6018 $as_test_x conftest$ac_exeext; then 5619 6019 ac_cv_func_alloca_works=yes 5620 6020 else … … 5622 6022 sed 's/^/| /' conftest.$ac_ext >&5 5623 6023 5624 ac_cv_func_alloca_works=no 5625 fi 5626 rm -f conftest.err conftest.$ac_objext \ 6024 ac_cv_func_alloca_works=no 6025 fi 6026 6027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5627 6028 conftest$ac_exeext conftest.$ac_ext 5628 6029 fi 5629 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&55630 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 6030 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 6031 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; } 5631 6032 5632 6033 if test $ac_cv_func_alloca_works = yes; then … … 5642 6043 # use ar to extract alloca.o from them instead of compiling alloca.c. 5643 6044 5644 ALLOCA= alloca.$ac_objext6045 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext 5645 6046 5646 6047 cat >>confdefs.h <<\_ACEOF … … 5649 6050 5650 6051 5651 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&55652 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 6052 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 6053 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; } 5653 6054 if test "${ac_cv_os_cray+set}" = set; then 5654 6055 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5660 6061 cat >>conftest.$ac_ext <<_ACEOF 5661 6062 /* end confdefs.h. */ 5662 #if defined (CRAY) && ! defined(CRAY2)6063 #if defined CRAY && ! defined CRAY2 5663 6064 webecray 5664 6065 #else … … 5676 6077 5677 6078 fi 5678 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&55679 echo "${ECHO_T}$ac_cv_os_cray" >&6 6079 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 6080 echo "${ECHO_T}$ac_cv_os_cray" >&6; } 5680 6081 if test $ac_cv_os_cray = yes; then 5681 6082 for ac_func in _getb67 GETB67 getb67; do 5682 6083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5683 echo "$as_me:$LINENO: checking for $ac_func" >&55684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5685 if eval "test \"\${$as_ac_var+set}\" = set"; then6084 { echo "$as_me:$LINENO: checking for $ac_func" >&5 6085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6086 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5686 6087 echo $ECHO_N "(cached) $ECHO_C" >&6 5687 6088 else … … 5709 6110 #undef $ac_func 5710 6111 5711 /* Override any gcc2 internal prototype to avoid an error. */ 6112 /* Override any GCC internal prototype to avoid an error. 6113 Use char because int might match the return type of a GCC 6114 builtin and then its argument prototype would still apply. */ 5712 6115 #ifdef __cplusplus 5713 6116 extern "C" 5714 {5715 6117 #endif 5716 /* We use char because int might match the return type of a gcc25717 builtin and then its argument prototype would still apply. */5718 6118 char $ac_func (); 5719 6119 /* The GNU C library defines this for functions which it implements 5720 6120 to always fail with ENOSYS. Some functions are actually named 5721 6121 something starting with __ and the normal name is an alias. */ 5722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6122 #if defined __stub_$ac_func || defined __stub___$ac_func 5723 6123 choke me 5724 #else5725 char (*f) () = $ac_func;5726 #endif5727 #ifdef __cplusplus5728 }5729 6124 #endif 5730 6125 … … 5732 6127 main () 5733 6128 { 5734 return f != $ac_func;6129 return $ac_func (); 5735 6130 ; 5736 6131 return 0; … … 5738 6133 _ACEOF 5739 6134 rm -f conftest.$ac_objext conftest$ac_exeext 5740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5741 (eval $ac_link) 2>conftest.er1 6135 if { (ac_try="$ac_link" 6136 case "(($ac_try" in 6137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6138 *) ac_try_echo=$ac_try;; 6139 esac 6140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6141 (eval "$ac_link") 2>conftest.er1 5742 6142 ac_status=$? 5743 6143 grep -v '^ *+' conftest.er1 >conftest.err … … 5745 6145 cat conftest.err >&5 5746 6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5747 (exit $ac_status); } && 5748 { ac_try='test -z "$ac_c_werror_flag" 5749 || test ! -s conftest.err' 5750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5751 (eval $ac_try) 2>&5 5752 ac_status=$? 5753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5754 (exit $ac_status); }; } && 5755 { ac_try='test -s conftest$ac_exeext' 5756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5757 (eval $ac_try) 2>&5 5758 ac_status=$? 5759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5760 (exit $ac_status); }; }; then 6147 (exit $ac_status); } && { 6148 test -z "$ac_c_werror_flag" || 6149 test ! -s conftest.err 6150 } && test -s conftest$ac_exeext && 6151 $as_test_x conftest$ac_exeext; then 5761 6152 eval "$as_ac_var=yes" 5762 6153 else … … 5764 6155 sed 's/^/| /' conftest.$ac_ext >&5 5765 6156 5766 eval "$as_ac_var=no" 5767 fi 5768 rm -f conftest.err conftest.$ac_objext \ 6157 eval "$as_ac_var=no" 6158 fi 6159 6160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5769 6161 conftest$ac_exeext conftest.$ac_ext 5770 6162 fi 5771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 5772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6163 ac_res=`eval echo '${'$as_ac_var'}'` 6164 { echo "$as_me:$LINENO: result: $ac_res" >&5 6165 echo "${ECHO_T}$ac_res" >&6; } 5773 6166 if test `eval echo '${'$as_ac_var'}'` = yes; then 5774 6167 … … 5783 6176 fi 5784 6177 5785 echo "$as_me:$LINENO: checking stack direction for C alloca" >&55786 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 6178 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 6179 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; } 5787 6180 if test "${ac_cv_c_stack_direction+set}" = set; then 5788 6181 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5797 6190 cat >>conftest.$ac_ext <<_ACEOF 5798 6191 /* end confdefs.h. */ 6192 $ac_includes_default 5799 6193 int 5800 6194 find_stack_direction () … … 5814 6208 main () 5815 6209 { 5816 exit (find_stack_direction () < 0);6210 return find_stack_direction () < 0; 5817 6211 } 5818 6212 _ACEOF 5819 6213 rm -f conftest$ac_exeext 5820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5821 (eval $ac_link) 2>&5 6214 if { (ac_try="$ac_link" 6215 case "(($ac_try" in 6216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6217 *) ac_try_echo=$ac_try;; 6218 esac 6219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6220 (eval "$ac_link") 2>&5 5822 6221 ac_status=$? 5823 6222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5824 6223 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5826 (eval $ac_try) 2>&5 6224 { (case "(($ac_try" in 6225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6226 *) ac_try_echo=$ac_try;; 6227 esac 6228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6229 (eval "$ac_try") 2>&5 5827 6230 ac_status=$? 5828 6231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 5837 6240 ac_cv_c_stack_direction=-1 5838 6241 fi 5839 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5840 fi 5841 fi 5842 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 5843 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 6242 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6243 fi 6244 6245 6246 fi 6247 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 6248 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; } 5844 6249 5845 6250 cat >>confdefs.h <<_ACEOF … … 5851 6256 5852 6257 if test $ac_cv_c_compiler_gnu = yes; then 5853 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&55854 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 6258 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 6259 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; } 5855 6260 if test "${ac_cv_prog_gcc_traditional+set}" = set; then 5856 6261 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5893 6298 fi 5894 6299 fi 5895 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&55896 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 6300 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 6301 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; } 5897 6302 if test $ac_cv_prog_gcc_traditional = yes; then 5898 6303 CC="$CC -traditional" … … 5900 6305 fi 5901 6306 5902 echo "$as_me:$LINENO: checking return type of signal handlers" >&55903 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 6307 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5 6308 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } 5904 6309 if test "${ac_cv_type_signal+set}" = set; then 5905 6310 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 5913 6318 #include <sys/types.h> 5914 6319 #include <signal.h> 5915 #ifdef signal5916 # undef signal5917 #endif5918 #ifdef __cplusplus5919 extern "C" void (*signal (int, void (*)(int)))(int);5920 #else5921 void (*signal ()) ();5922 #endif5923 6320 5924 6321 int 5925 6322 main () 5926 6323 { 5927 int i;6324 return *(signal (0, 0)) (0) == 1; 5928 6325 ; 5929 6326 return 0; … … 5931 6328 _ACEOF 5932 6329 rm -f conftest.$ac_objext 5933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5934 (eval $ac_compile) 2>conftest.er1 6330 if { (ac_try="$ac_compile" 6331 case "(($ac_try" in 6332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6333 *) ac_try_echo=$ac_try;; 6334 esac 6335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6336 (eval "$ac_compile") 2>conftest.er1 5935 6337 ac_status=$? 5936 6338 grep -v '^ *+' conftest.er1 >conftest.err … … 5938 6340 cat conftest.err >&5 5939 6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5940 (exit $ac_status); } && 5941 { ac_try='test -z "$ac_c_werror_flag" 5942 || test ! -s conftest.err' 5943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5944 (eval $ac_try) 2>&5 5945 ac_status=$? 5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5947 (exit $ac_status); }; } && 5948 { ac_try='test -s conftest.$ac_objext' 5949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5950 (eval $ac_try) 2>&5 5951 ac_status=$? 5952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5953 (exit $ac_status); }; }; then 5954 ac_cv_type_signal=void 6342 (exit $ac_status); } && { 6343 test -z "$ac_c_werror_flag" || 6344 test ! -s conftest.err 6345 } && test -s conftest.$ac_objext; then 6346 ac_cv_type_signal=int 5955 6347 else 5956 6348 echo "$as_me: failed program was:" >&5 5957 6349 sed 's/^/| /' conftest.$ac_ext >&5 5958 6350 5959 ac_cv_type_signal=int 5960 fi 5961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5962 fi 5963 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 5964 echo "${ECHO_T}$ac_cv_type_signal" >&6 6351 ac_cv_type_signal=void 6352 fi 6353 6354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6355 fi 6356 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 6357 echo "${ECHO_T}$ac_cv_type_signal" >&6; } 5965 6358 5966 6359 cat >>confdefs.h <<_ACEOF … … 5973 6366 do 5974 6367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5975 echo "$as_me:$LINENO: checking for $ac_func" >&55976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5977 if eval "test \"\${$as_ac_var+set}\" = set"; then6368 { echo "$as_me:$LINENO: checking for $ac_func" >&5 6369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6370 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5978 6371 echo $ECHO_N "(cached) $ECHO_C" >&6 5979 6372 else … … 6001 6394 #undef $ac_func 6002 6395 6003 /* Override any gcc2 internal prototype to avoid an error. */ 6396 /* Override any GCC internal prototype to avoid an error. 6397 Use char because int might match the return type of a GCC 6398 builtin and then its argument prototype would still apply. */ 6004 6399 #ifdef __cplusplus 6005 6400 extern "C" 6006 {6007 6401 #endif 6008 /* We use char because int might match the return type of a gcc26009 builtin and then its argument prototype would still apply. */6010 6402 char $ac_func (); 6011 6403 /* The GNU C library defines this for functions which it implements 6012 6404 to always fail with ENOSYS. Some functions are actually named 6013 6405 something starting with __ and the normal name is an alias. */ 6014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6406 #if defined __stub_$ac_func || defined __stub___$ac_func 6015 6407 choke me 6016 #else6017 char (*f) () = $ac_func;6018 #endif6019 #ifdef __cplusplus6020 }6021 6408 #endif 6022 6409 … … 6024 6411 main () 6025 6412 { 6026 return f != $ac_func;6413 return $ac_func (); 6027 6414 ; 6028 6415 return 0; … … 6030 6417 _ACEOF 6031 6418 rm -f conftest.$ac_objext conftest$ac_exeext 6032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6033 (eval $ac_link) 2>conftest.er1 6419 if { (ac_try="$ac_link" 6420 case "(($ac_try" in 6421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6422 *) ac_try_echo=$ac_try;; 6423 esac 6424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6425 (eval "$ac_link") 2>conftest.er1 6034 6426 ac_status=$? 6035 6427 grep -v '^ *+' conftest.er1 >conftest.err … … 6037 6429 cat conftest.err >&5 6038 6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6039 (exit $ac_status); } && 6040 { ac_try='test -z "$ac_c_werror_flag" 6041 || test ! -s conftest.err' 6042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6043 (eval $ac_try) 2>&5 6044 ac_status=$? 6045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6046 (exit $ac_status); }; } && 6047 { ac_try='test -s conftest$ac_exeext' 6048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6049 (eval $ac_try) 2>&5 6050 ac_status=$? 6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6052 (exit $ac_status); }; }; then 6431 (exit $ac_status); } && { 6432 test -z "$ac_c_werror_flag" || 6433 test ! -s conftest.err 6434 } && test -s conftest$ac_exeext && 6435 $as_test_x conftest$ac_exeext; then 6053 6436 eval "$as_ac_var=yes" 6054 6437 else … … 6056 6439 sed 's/^/| /' conftest.$ac_ext >&5 6057 6440 6058 eval "$as_ac_var=no" 6059 fi 6060 rm -f conftest.err conftest.$ac_objext \ 6441 eval "$as_ac_var=no" 6442 fi 6443 6444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6061 6445 conftest$ac_exeext conftest.$ac_ext 6062 6446 fi 6063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6447 ac_res=`eval echo '${'$as_ac_var'}'` 6448 { echo "$as_me:$LINENO: result: $ac_res" >&5 6449 echo "${ECHO_T}$ac_res" >&6; } 6065 6450 if test `eval echo '${'$as_ac_var'}'` = yes; then 6066 6451 cat >>confdefs.h <<_ACEOF … … 6068 6453 _ACEOF 6069 6454 6070 echo "$as_me:$LINENO: checking for _doprnt" >&56071 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6 6455 { echo "$as_me:$LINENO: checking for _doprnt" >&5 6456 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; } 6072 6457 if test "${ac_cv_func__doprnt+set}" = set; then 6073 6458 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6096 6481 #undef _doprnt 6097 6482 6098 /* Override any gcc2 internal prototype to avoid an error. */ 6483 /* Override any GCC internal prototype to avoid an error. 6484 Use char because int might match the return type of a GCC 6485 builtin and then its argument prototype would still apply. */ 6099 6486 #ifdef __cplusplus 6100 6487 extern "C" 6101 {6102 6488 #endif 6103 /* We use char because int might match the return type of a gcc26104 builtin and then its argument prototype would still apply. */6105 6489 char _doprnt (); 6106 6490 /* The GNU C library defines this for functions which it implements 6107 6491 to always fail with ENOSYS. Some functions are actually named 6108 6492 something starting with __ and the normal name is an alias. */ 6109 #if defined (__stub__doprnt) || defined (__stub____doprnt)6493 #if defined __stub__doprnt || defined __stub____doprnt 6110 6494 choke me 6111 #else6112 char (*f) () = _doprnt;6113 #endif6114 #ifdef __cplusplus6115 }6116 6495 #endif 6117 6496 … … 6119 6498 main () 6120 6499 { 6121 return f != _doprnt;6500 return _doprnt (); 6122 6501 ; 6123 6502 return 0; … … 6125 6504 _ACEOF 6126 6505 rm -f conftest.$ac_objext conftest$ac_exeext 6127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6128 (eval $ac_link) 2>conftest.er1 6506 if { (ac_try="$ac_link" 6507 case "(($ac_try" in 6508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6509 *) ac_try_echo=$ac_try;; 6510 esac 6511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6512 (eval "$ac_link") 2>conftest.er1 6129 6513 ac_status=$? 6130 6514 grep -v '^ *+' conftest.er1 >conftest.err … … 6132 6516 cat conftest.err >&5 6133 6517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6134 (exit $ac_status); } && 6135 { ac_try='test -z "$ac_c_werror_flag" 6136 || test ! -s conftest.err' 6137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6138 (eval $ac_try) 2>&5 6139 ac_status=$? 6140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6141 (exit $ac_status); }; } && 6142 { ac_try='test -s conftest$ac_exeext' 6143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6144 (eval $ac_try) 2>&5 6145 ac_status=$? 6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6147 (exit $ac_status); }; }; then 6518 (exit $ac_status); } && { 6519 test -z "$ac_c_werror_flag" || 6520 test ! -s conftest.err 6521 } && test -s conftest$ac_exeext && 6522 $as_test_x conftest$ac_exeext; then 6148 6523 ac_cv_func__doprnt=yes 6149 6524 else … … 6151 6526 sed 's/^/| /' conftest.$ac_ext >&5 6152 6527 6153 ac_cv_func__doprnt=no 6154 fi 6155 rm -f conftest.err conftest.$ac_objext \ 6528 ac_cv_func__doprnt=no 6529 fi 6530 6531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6156 6532 conftest$ac_exeext conftest.$ac_ext 6157 6533 fi 6158 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&56159 echo "${ECHO_T}$ac_cv_func__doprnt" >&6 6534 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5 6535 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; } 6160 6536 if test $ac_cv_func__doprnt = yes; then 6161 6537 … … 6183 6559 do 6184 6560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6185 echo "$as_me:$LINENO: checking for $ac_func" >&56186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6187 if eval "test \"\${$as_ac_var+set}\" = set"; then6561 { echo "$as_me:$LINENO: checking for $ac_func" >&5 6562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6563 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6188 6564 echo $ECHO_N "(cached) $ECHO_C" >&6 6189 6565 else … … 6211 6587 #undef $ac_func 6212 6588 6213 /* Override any gcc2 internal prototype to avoid an error. */ 6589 /* Override any GCC internal prototype to avoid an error. 6590 Use char because int might match the return type of a GCC 6591 builtin and then its argument prototype would still apply. */ 6214 6592 #ifdef __cplusplus 6215 6593 extern "C" 6216 {6217 6594 #endif 6218 /* We use char because int might match the return type of a gcc26219 builtin and then its argument prototype would still apply. */6220 6595 char $ac_func (); 6221 6596 /* The GNU C library defines this for functions which it implements 6222 6597 to always fail with ENOSYS. Some functions are actually named 6223 6598 something starting with __ and the normal name is an alias. */ 6224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6599 #if defined __stub_$ac_func || defined __stub___$ac_func 6225 6600 choke me 6226 #else6227 char (*f) () = $ac_func;6228 #endif6229 #ifdef __cplusplus6230 }6231 6601 #endif 6232 6602 … … 6234 6604 main () 6235 6605 { 6236 return f != $ac_func;6606 return $ac_func (); 6237 6607 ; 6238 6608 return 0; … … 6240 6610 _ACEOF 6241 6611 rm -f conftest.$ac_objext conftest$ac_exeext 6242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6243 (eval $ac_link) 2>conftest.er1 6612 if { (ac_try="$ac_link" 6613 case "(($ac_try" in 6614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6615 *) ac_try_echo=$ac_try;; 6616 esac 6617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6618 (eval "$ac_link") 2>conftest.er1 6244 6619 ac_status=$? 6245 6620 grep -v '^ *+' conftest.er1 >conftest.err … … 6247 6622 cat conftest.err >&5 6248 6623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6249 (exit $ac_status); } && 6250 { ac_try='test -z "$ac_c_werror_flag" 6251 || test ! -s conftest.err' 6252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6253 (eval $ac_try) 2>&5 6254 ac_status=$? 6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6256 (exit $ac_status); }; } && 6257 { ac_try='test -s conftest$ac_exeext' 6258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6259 (eval $ac_try) 2>&5 6260 ac_status=$? 6261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6262 (exit $ac_status); }; }; then 6624 (exit $ac_status); } && { 6625 test -z "$ac_c_werror_flag" || 6626 test ! -s conftest.err 6627 } && test -s conftest$ac_exeext && 6628 $as_test_x conftest$ac_exeext; then 6263 6629 eval "$as_ac_var=yes" 6264 6630 else … … 6266 6632 sed 's/^/| /' conftest.$ac_ext >&5 6267 6633 6268 eval "$as_ac_var=no" 6269 fi 6270 rm -f conftest.err conftest.$ac_objext \ 6634 eval "$as_ac_var=no" 6635 fi 6636 6637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6271 6638 conftest$ac_exeext conftest.$ac_ext 6272 6639 fi 6273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6640 ac_res=`eval echo '${'$as_ac_var'}'` 6641 { echo "$as_me:$LINENO: result: $ac_res" >&5 6642 echo "${ECHO_T}$ac_res" >&6; } 6275 6643 if test `eval echo '${'$as_ac_var'}'` = yes; then 6276 6644 cat >>confdefs.h <<_ACEOF … … 6287 6655 do 6288 6656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6289 echo "$as_me:$LINENO: checking for $ac_func" >&56290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6291 if eval "test \"\${$as_ac_var+set}\" = set"; then6657 { echo "$as_me:$LINENO: checking for $ac_func" >&5 6658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6659 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6292 6660 echo $ECHO_N "(cached) $ECHO_C" >&6 6293 6661 else … … 6315 6683 #undef $ac_func 6316 6684 6317 /* Override any gcc2 internal prototype to avoid an error. */ 6685 /* Override any GCC internal prototype to avoid an error. 6686 Use char because int might match the return type of a GCC 6687 builtin and then its argument prototype would still apply. */ 6318 6688 #ifdef __cplusplus 6319 6689 extern "C" 6320 {6321 6690 #endif 6322 /* We use char because int might match the return type of a gcc26323 builtin and then its argument prototype would still apply. */6324 6691 char $ac_func (); 6325 6692 /* The GNU C library defines this for functions which it implements 6326 6693 to always fail with ENOSYS. Some functions are actually named 6327 6694 something starting with __ and the normal name is an alias. */ 6328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6695 #if defined __stub_$ac_func || defined __stub___$ac_func 6329 6696 choke me 6330 #else6331 char (*f) () = $ac_func;6332 #endif6333 #ifdef __cplusplus6334 }6335 6697 #endif 6336 6698 … … 6338 6700 main () 6339 6701 { 6340 return f != $ac_func;6702 return $ac_func (); 6341 6703 ; 6342 6704 return 0; … … 6344 6706 _ACEOF 6345 6707 rm -f conftest.$ac_objext conftest$ac_exeext 6346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6347 (eval $ac_link) 2>conftest.er1 6708 if { (ac_try="$ac_link" 6709 case "(($ac_try" in 6710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6711 *) ac_try_echo=$ac_try;; 6712 esac 6713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6714 (eval "$ac_link") 2>conftest.er1 6348 6715 ac_status=$? 6349 6716 grep -v '^ *+' conftest.er1 >conftest.err … … 6351 6718 cat conftest.err >&5 6352 6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6353 (exit $ac_status); } && 6354 { ac_try='test -z "$ac_c_werror_flag" 6355 || test ! -s conftest.err' 6356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6357 (eval $ac_try) 2>&5 6358 ac_status=$? 6359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6360 (exit $ac_status); }; } && 6361 { ac_try='test -s conftest$ac_exeext' 6362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6363 (eval $ac_try) 2>&5 6364 ac_status=$? 6365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6366 (exit $ac_status); }; }; then 6720 (exit $ac_status); } && { 6721 test -z "$ac_c_werror_flag" || 6722 test ! -s conftest.err 6723 } && test -s conftest$ac_exeext && 6724 $as_test_x conftest$ac_exeext; then 6367 6725 eval "$as_ac_var=yes" 6368 6726 else … … 6370 6728 sed 's/^/| /' conftest.$ac_ext >&5 6371 6729 6372 eval "$as_ac_var=no" 6373 fi 6374 rm -f conftest.err conftest.$ac_objext \ 6730 eval "$as_ac_var=no" 6731 fi 6732 6733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6375 6734 conftest$ac_exeext conftest.$ac_ext 6376 6735 fi 6377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6736 ac_res=`eval echo '${'$as_ac_var'}'` 6737 { echo "$as_me:$LINENO: result: $ac_res" >&5 6738 echo "${ECHO_T}$ac_res" >&6; } 6379 6739 if test `eval echo '${'$as_ac_var'}'` = yes; then 6380 6740 cat >>confdefs.h <<_ACEOF … … 6383 6743 6384 6744 else 6385 case $LIBOBJS in 6386 "$ac_func.$ac_objext" | \ 6387 *" $ac_func.$ac_objext" | \ 6388 "$ac_func.$ac_objext "* | \ 6745 case " $LIBOBJS " in 6389 6746 *" $ac_func.$ac_objext "* ) ;; 6390 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;; 6747 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" 6748 ;; 6391 6749 esac 6392 6750 … … 6396 6754 6397 6755 6398 echo "$as_me:$LINENO: checking for textdomain" >&56399 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6 6756 { echo "$as_me:$LINENO: checking for textdomain" >&5 6757 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6; } 6400 6758 if test "${ac_cv_func_textdomain+set}" = set; then 6401 6759 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6424 6782 #undef textdomain 6425 6783 6426 /* Override any gcc2 internal prototype to avoid an error. */ 6784 /* Override any GCC internal prototype to avoid an error. 6785 Use char because int might match the return type of a GCC 6786 builtin and then its argument prototype would still apply. */ 6427 6787 #ifdef __cplusplus 6428 6788 extern "C" 6429 {6430 6789 #endif 6431 /* We use char because int might match the return type of a gcc26432 builtin and then its argument prototype would still apply. */6433 6790 char textdomain (); 6434 6791 /* The GNU C library defines this for functions which it implements 6435 6792 to always fail with ENOSYS. Some functions are actually named 6436 6793 something starting with __ and the normal name is an alias. */ 6437 #if defined (__stub_textdomain) || defined (__stub___textdomain)6794 #if defined __stub_textdomain || defined __stub___textdomain 6438 6795 choke me 6439 #else6440 char (*f) () = textdomain;6441 #endif6442 #ifdef __cplusplus6443 }6444 6796 #endif 6445 6797 … … 6447 6799 main () 6448 6800 { 6449 return f != textdomain;6801 return textdomain (); 6450 6802 ; 6451 6803 return 0; … … 6453 6805 _ACEOF 6454 6806 rm -f conftest.$ac_objext conftest$ac_exeext 6455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6456 (eval $ac_link) 2>conftest.er1 6807 if { (ac_try="$ac_link" 6808 case "(($ac_try" in 6809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6810 *) ac_try_echo=$ac_try;; 6811 esac 6812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6813 (eval "$ac_link") 2>conftest.er1 6457 6814 ac_status=$? 6458 6815 grep -v '^ *+' conftest.er1 >conftest.err … … 6460 6817 cat conftest.err >&5 6461 6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6462 (exit $ac_status); } && 6463 { ac_try='test -z "$ac_c_werror_flag" 6464 || test ! -s conftest.err' 6465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6466 (eval $ac_try) 2>&5 6467 ac_status=$? 6468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6469 (exit $ac_status); }; } && 6470 { ac_try='test -s conftest$ac_exeext' 6471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6472 (eval $ac_try) 2>&5 6473 ac_status=$? 6474 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6475 (exit $ac_status); }; }; then 6819 (exit $ac_status); } && { 6820 test -z "$ac_c_werror_flag" || 6821 test ! -s conftest.err 6822 } && test -s conftest$ac_exeext && 6823 $as_test_x conftest$ac_exeext; then 6476 6824 ac_cv_func_textdomain=yes 6477 6825 else … … 6479 6827 sed 's/^/| /' conftest.$ac_ext >&5 6480 6828 6481 ac_cv_func_textdomain=no 6482 fi 6483 rm -f conftest.err conftest.$ac_objext \ 6829 ac_cv_func_textdomain=no 6830 fi 6831 6832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6484 6833 conftest$ac_exeext conftest.$ac_ext 6485 6834 fi 6486 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&56487 echo "${ECHO_T}$ac_cv_func_textdomain" >&6 6835 { echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5 6836 echo "${ECHO_T}$ac_cv_func_textdomain" >&6; } 6488 6837 if test $ac_cv_func_textdomain = yes; then 6489 6838 cat >>confdefs.h <<\_ACEOF … … 6496 6845 # *** Custom checking (based on GNU tar configure.in) *** 6497 6846 # --------------------------------------------------------------------------- 6498 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&56499 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6 6847 { echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5 6848 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6; } 6500 6849 if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then 6501 echo "$as_me:$LINENO: result: yes" >&5 6502 echo "${ECHO_T}yes" >&6 6503 case $LIBOBJS in 6504 "gmalloc.$ac_objext" | \ 6505 *" gmalloc.$ac_objext" | \ 6506 "gmalloc.$ac_objext "* | \ 6850 { echo "$as_me:$LINENO: result: yes" >&5 6851 echo "${ECHO_T}yes" >&6; } 6852 case " $LIBOBJS " in 6507 6853 *" gmalloc.$ac_objext "* ) ;; 6508 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;; 6854 *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" 6855 ;; 6509 6856 esac 6510 6857 … … 6514 6861 6515 6862 else 6516 echo "$as_me:$LINENO: result: no" >&56517 echo "${ECHO_T}no" >&6 6863 { echo "$as_me:$LINENO: result: no" >&5 6864 echo "${ECHO_T}no" >&6; } 6518 6865 6519 6866 for ac_func in valloc 6520 6867 do 6521 6868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 6522 echo "$as_me:$LINENO: checking for $ac_func" >&56523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 6524 if eval "test \"\${$as_ac_var+set}\" = set"; then6869 { echo "$as_me:$LINENO: checking for $ac_func" >&5 6870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 6871 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 6525 6872 echo $ECHO_N "(cached) $ECHO_C" >&6 6526 6873 else … … 6548 6895 #undef $ac_func 6549 6896 6550 /* Override any gcc2 internal prototype to avoid an error. */ 6897 /* Override any GCC internal prototype to avoid an error. 6898 Use char because int might match the return type of a GCC 6899 builtin and then its argument prototype would still apply. */ 6551 6900 #ifdef __cplusplus 6552 6901 extern "C" 6553 {6554 6902 #endif 6555 /* We use char because int might match the return type of a gcc26556 builtin and then its argument prototype would still apply. */6557 6903 char $ac_func (); 6558 6904 /* The GNU C library defines this for functions which it implements 6559 6905 to always fail with ENOSYS. Some functions are actually named 6560 6906 something starting with __ and the normal name is an alias. */ 6561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)6907 #if defined __stub_$ac_func || defined __stub___$ac_func 6562 6908 choke me 6563 #else6564 char (*f) () = $ac_func;6565 #endif6566 #ifdef __cplusplus6567 }6568 6909 #endif 6569 6910 … … 6571 6912 main () 6572 6913 { 6573 return f != $ac_func;6914 return $ac_func (); 6574 6915 ; 6575 6916 return 0; … … 6577 6918 _ACEOF 6578 6919 rm -f conftest.$ac_objext conftest$ac_exeext 6579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6580 (eval $ac_link) 2>conftest.er1 6920 if { (ac_try="$ac_link" 6921 case "(($ac_try" in 6922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6923 *) ac_try_echo=$ac_try;; 6924 esac 6925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6926 (eval "$ac_link") 2>conftest.er1 6581 6927 ac_status=$? 6582 6928 grep -v '^ *+' conftest.er1 >conftest.err … … 6584 6930 cat conftest.err >&5 6585 6931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6586 (exit $ac_status); } && 6587 { ac_try='test -z "$ac_c_werror_flag" 6588 || test ! -s conftest.err' 6589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6590 (eval $ac_try) 2>&5 6591 ac_status=$? 6592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6593 (exit $ac_status); }; } && 6594 { ac_try='test -s conftest$ac_exeext' 6595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6596 (eval $ac_try) 2>&5 6597 ac_status=$? 6598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6599 (exit $ac_status); }; }; then 6932 (exit $ac_status); } && { 6933 test -z "$ac_c_werror_flag" || 6934 test ! -s conftest.err 6935 } && test -s conftest$ac_exeext && 6936 $as_test_x conftest$ac_exeext; then 6600 6937 eval "$as_ac_var=yes" 6601 6938 else … … 6603 6940 sed 's/^/| /' conftest.$ac_ext >&5 6604 6941 6605 eval "$as_ac_var=no" 6606 fi 6607 rm -f conftest.err conftest.$ac_objext \ 6942 eval "$as_ac_var=no" 6943 fi 6944 6945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6608 6946 conftest$ac_exeext conftest.$ac_ext 6609 6947 fi 6610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 6611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 6948 ac_res=`eval echo '${'$as_ac_var'}'` 6949 { echo "$as_me:$LINENO: result: $ac_res" >&5 6950 echo "${ECHO_T}$ac_res" >&6; } 6612 6951 if test `eval echo '${'$as_ac_var'}'` = yes; then 6613 6952 cat >>confdefs.h <<_ACEOF … … 6621 6960 6622 6961 # we cannot generate static libraries under Darwin 6623 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&56624 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6 6962 { echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5 6963 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6; } 6625 6964 if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then 6626 echo "$as_me:$LINENO: result: yes" >&56627 echo "${ECHO_T}yes" >&6 6965 { echo "$as_me:$LINENO: result: yes" >&5 6966 echo "${ECHO_T}yes" >&6; } 6628 6967 STATIC="" 6629 6968 else 6630 echo "$as_me:$LINENO: result: no" >&56631 echo "${ECHO_T}no" >&6 6969 { echo "$as_me:$LINENO: result: no" >&5 6970 echo "${ECHO_T}no" >&6; } 6632 6971 STATIC="-static " 6633 6972 fi 6634 6973 6635 6974 6636 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&56637 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6 6638 6639 # Check whether --with-dmalloc or --without-dmallocwas given.6975 { echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5 6976 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6; } 6977 6978 # Check whether --with-dmalloc was given. 6640 6979 if test "${with_dmalloc+set}" = set; then 6641 withval="$with_dmalloc" 6642 if test "$withval" = yes; then 6643 echo "$as_me:$LINENO: result: yes" >&5 6644 echo "${ECHO_T}yes" >&6 6980 withval=$with_dmalloc; if test "$withval" = yes; then 6981 { echo "$as_me:$LINENO: result: yes" >&5 6982 echo "${ECHO_T}yes" >&6; } 6645 6983 cat >>confdefs.h <<\_ACEOF 6646 6984 #define WITH_DMALLOC 1 … … 6650 6988 LDFLAGS="$LDFLAGS -g" 6651 6989 else 6652 echo "$as_me:$LINENO: result: no" >&5 6653 echo "${ECHO_T}no" >&6 6654 fi 6655 else 6656 echo "$as_me:$LINENO: result: no" >&5 6657 echo "${ECHO_T}no" >&6 6658 fi; 6659 6660 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 6661 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6 6662 6663 # Check whether --with-regex or --without-regex was given. 6990 { echo "$as_me:$LINENO: result: no" >&5 6991 echo "${ECHO_T}no" >&6; } 6992 fi 6993 else 6994 { echo "$as_me:$LINENO: result: no" >&5 6995 echo "${ECHO_T}no" >&6; } 6996 fi 6997 6998 6999 { echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5 7000 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6; } 7001 7002 # Check whether --with-regex was given. 6664 7003 if test "${with_regex+set}" = set; then 6665 withval="$with_regex" 6666 if test "$withval" = yes; then 7004 withval=$with_regex; if test "$withval" = yes; then 6667 7005 ac_with_regex=1 6668 echo "$as_me:$LINENO: result: regex" >&56669 echo "${ECHO_T}regex" >&6 7006 { echo "$as_me:$LINENO: result: regex" >&5 7007 echo "${ECHO_T}regex" >&6; } 6670 7008 cat >>confdefs.h <<\_ACEOF 6671 7009 #define WITH_REGEX 1 6672 7010 _ACEOF 6673 7011 6674 case $LIBOBJS in 6675 "regex.$ac_objext" | \ 6676 *" regex.$ac_objext" | \ 6677 "regex.$ac_objext "* | \ 7012 case " $LIBOBJS " in 6678 7013 *" regex.$ac_objext "* ) ;; 6679 *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;; 6680 esac 6681 6682 fi 6683 fi; 7014 *) LIBOBJS="$LIBOBJS regex.$ac_objext" 7015 ;; 7016 esac 7017 7018 fi 7019 fi 7020 6684 7021 if test -z "$ac_with_regex"; then 6685 echo "$as_me:$LINENO: result: rx" >&56686 echo "${ECHO_T}rx" >&6 6687 echo "$as_me:$LINENO: checking for re_rx_search" >&56688 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6 7022 { echo "$as_me:$LINENO: result: rx" >&5 7023 echo "${ECHO_T}rx" >&6; } 7024 { echo "$as_me:$LINENO: checking for re_rx_search" >&5 7025 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6; } 6689 7026 if test "${ac_cv_func_re_rx_search+set}" = set; then 6690 7027 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 6713 7050 #undef re_rx_search 6714 7051 6715 /* Override any gcc2 internal prototype to avoid an error. */ 7052 /* Override any GCC internal prototype to avoid an error. 7053 Use char because int might match the return type of a GCC 7054 builtin and then its argument prototype would still apply. */ 6716 7055 #ifdef __cplusplus 6717 7056 extern "C" 6718 {6719 7057 #endif 6720 /* We use char because int might match the return type of a gcc26721 builtin and then its argument prototype would still apply. */6722 7058 char re_rx_search (); 6723 7059 /* The GNU C library defines this for functions which it implements 6724 7060 to always fail with ENOSYS. Some functions are actually named 6725 7061 something starting with __ and the normal name is an alias. */ 6726 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)7062 #if defined __stub_re_rx_search || defined __stub___re_rx_search 6727 7063 choke me 6728 #else6729 char (*f) () = re_rx_search;6730 #endif6731 #ifdef __cplusplus6732 }6733 7064 #endif 6734 7065 … … 6736 7067 main () 6737 7068 { 6738 return f != re_rx_search;7069 return re_rx_search (); 6739 7070 ; 6740 7071 return 0; … … 6742 7073 _ACEOF 6743 7074 rm -f conftest.$ac_objext conftest$ac_exeext 6744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6745 (eval $ac_link) 2>conftest.er1 7075 if { (ac_try="$ac_link" 7076 case "(($ac_try" in 7077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7078 *) ac_try_echo=$ac_try;; 7079 esac 7080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7081 (eval "$ac_link") 2>conftest.er1 6746 7082 ac_status=$? 6747 7083 grep -v '^ *+' conftest.er1 >conftest.err … … 6749 7085 cat conftest.err >&5 6750 7086 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6751 (exit $ac_status); } && 6752 { ac_try='test -z "$ac_c_werror_flag" 6753 || test ! -s conftest.err' 6754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6755 (eval $ac_try) 2>&5 6756 ac_status=$? 6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6758 (exit $ac_status); }; } && 6759 { ac_try='test -s conftest$ac_exeext' 6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6761 (eval $ac_try) 2>&5 6762 ac_status=$? 6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6764 (exit $ac_status); }; }; then 7087 (exit $ac_status); } && { 7088 test -z "$ac_c_werror_flag" || 7089 test ! -s conftest.err 7090 } && test -s conftest$ac_exeext && 7091 $as_test_x conftest$ac_exeext; then 6765 7092 ac_cv_func_re_rx_search=yes 6766 7093 else … … 6768 7095 sed 's/^/| /' conftest.$ac_ext >&5 6769 7096 6770 ac_cv_func_re_rx_search=no 6771 fi 6772 rm -f conftest.err conftest.$ac_objext \ 7097 ac_cv_func_re_rx_search=no 7098 fi 7099 7100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6773 7101 conftest$ac_exeext conftest.$ac_ext 6774 7102 fi 6775 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&56776 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6 7103 { echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5 7104 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6; } 6777 7105 if test $ac_cv_func_re_rx_search = yes; then 6778 7106 : 6779 7107 else 6780 case $LIBOBJS in 6781 "rx.$ac_objext" | \ 6782 *" rx.$ac_objext" | \ 6783 "rx.$ac_objext "* | \ 7108 case " $LIBOBJS " in 6784 7109 *" rx.$ac_objext "* ) ;; 6785 *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;; 7110 *) LIBOBJS="$LIBOBJS rx.$ac_objext" 7111 ;; 6786 7112 esac 6787 7113 … … 6793 7119 # --------------------------------------------------------------------------- 6794 7120 if test "$ac_cv_func_alloca" = 'no'; then 6795 case $LIBOBJS in 6796 "xmalloc.$ac_objext" | \ 6797 *" xmalloc.$ac_objext" | \ 6798 "xmalloc.$ac_objext "* | \ 7121 case " $LIBOBJS " in 6799 7122 *" xmalloc.$ac_objext "* ) ;; 6800 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;; 6801 esac 6802 6803 case $LIBOBJS in 6804 "error.$ac_objext" | \ 6805 *" error.$ac_objext" | \ 6806 "error.$ac_objext "* | \ 7123 *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" 7124 ;; 7125 esac 7126 7127 case " $LIBOBJS " in 6807 7128 *" error.$ac_objext "* ) ;; 6808 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 7129 *) LIBOBJS="$LIBOBJS error.$ac_objext" 7130 ;; 6809 7131 esac 6810 7132 … … 6814 7136 # --------------------------------------------------------------------------- 6815 7137 6816 ac_ext=c c7138 ac_ext=cpp 6817 7139 ac_cpp='$CXXCPP $CPPFLAGS' 6818 7140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 6821 7143 6822 7144 6823 echo "$as_me:$LINENO: checking that Perl 5 is available" >&56824 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6 7145 { echo "$as_me:$LINENO: checking that Perl 5 is available" >&5 7146 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6; } 6825 7147 success="no" 6826 7148 pl_path="$PATH" … … 6836 7158 6837 7159 success=no 6838 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&56839 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6 7160 { echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5 7161 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6; } 6840 7162 6841 7163 … … 6857 7179 _ACEOF 6858 7180 rm -f conftest.$ac_objext 6859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6860 (eval $ac_compile) 2>conftest.er1 7181 if { (ac_try="$ac_compile" 7182 case "(($ac_try" in 7183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7184 *) ac_try_echo=$ac_try;; 7185 esac 7186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7187 (eval "$ac_compile") 2>conftest.er1 6861 7188 ac_status=$? 6862 7189 grep -v '^ *+' conftest.er1 >conftest.err … … 6864 7191 cat conftest.err >&5 6865 7192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6866 (exit $ac_status); } && 6867 { ac_try='test -z "$ac_cxx_werror_flag" 6868 || test ! -s conftest.err' 6869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6870 (eval $ac_try) 2>&5 6871 ac_status=$? 6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6873 (exit $ac_status); }; } && 6874 { ac_try='test -s conftest.$ac_objext' 6875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6876 (eval $ac_try) 2>&5 6877 ac_status=$? 6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6879 (exit $ac_status); }; }; then 7193 (exit $ac_status); } && { 7194 test -z "$ac_cxx_werror_flag" || 7195 test ! -s conftest.err 7196 } && test -s conftest.$ac_objext; then 6880 7197 success=yes 6881 7198 else … … 6883 7200 sed 's/^/| /' conftest.$ac_ext >&5 6884 7201 6885 fi 6886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7202 7203 fi 7204 7205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6887 7206 6888 7207 if test $success = "no"; then … … 6904 7223 _ACEOF 6905 7224 rm -f conftest.$ac_objext 6906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6907 (eval $ac_compile) 2>conftest.er1 7225 if { (ac_try="$ac_compile" 7226 case "(($ac_try" in 7227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7228 *) ac_try_echo=$ac_try;; 7229 esac 7230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7231 (eval "$ac_compile") 2>conftest.er1 6908 7232 ac_status=$? 6909 7233 grep -v '^ *+' conftest.er1 >conftest.err … … 6911 7235 cat conftest.err >&5 6912 7236 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6913 (exit $ac_status); } && 6914 { ac_try='test -z "$ac_cxx_werror_flag" 6915 || test ! -s conftest.err' 6916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6917 (eval $ac_try) 2>&5 6918 ac_status=$? 6919 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6920 (exit $ac_status); }; } && 6921 { ac_try='test -s conftest.$ac_objext' 6922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6923 (eval $ac_try) 2>&5 6924 ac_status=$? 6925 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6926 (exit $ac_status); }; }; then 7237 (exit $ac_status); } && { 7238 test -z "$ac_cxx_werror_flag" || 7239 test ! -s conftest.err 7240 } && test -s conftest.$ac_objext; then 6927 7241 success="yes" 6928 7242 else … … 6930 7244 sed 's/^/| /' conftest.$ac_ext >&5 6931 7245 6932 fi 6933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7246 7247 fi 7248 7249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6934 7250 fi 6935 7251 … … 6952 7268 _ACEOF 6953 7269 rm -f conftest.$ac_objext 6954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6955 (eval $ac_compile) 2>conftest.er1 7270 if { (ac_try="$ac_compile" 7271 case "(($ac_try" in 7272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7273 *) ac_try_echo=$ac_try;; 7274 esac 7275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7276 (eval "$ac_compile") 2>conftest.er1 6956 7277 ac_status=$? 6957 7278 grep -v '^ *+' conftest.er1 >conftest.err … … 6959 7280 cat conftest.err >&5 6960 7281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6961 (exit $ac_status); } && 6962 { ac_try='test -z "$ac_cxx_werror_flag" 6963 || test ! -s conftest.err' 6964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6965 (eval $ac_try) 2>&5 6966 ac_status=$? 6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6968 (exit $ac_status); }; } && 6969 { ac_try='test -s conftest.$ac_objext' 6970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6971 (eval $ac_try) 2>&5 6972 ac_status=$? 6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6974 (exit $ac_status); }; }; then 7282 (exit $ac_status); } && { 7283 test -z "$ac_cxx_werror_flag" || 7284 test ! -s conftest.err 7285 } && test -s conftest.$ac_objext; then 6975 7286 success="yes" 6976 7287 else … … 6978 7289 sed 's/^/| /' conftest.$ac_ext >&5 6979 7290 6980 fi 6981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7291 7292 fi 7293 7294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6982 7295 fi 6983 7296 6984 7297 if test $success = yes; then 6985 echo "$as_me:$LINENO: result: \"no\"" >&56986 echo "${ECHO_T}\"no\"" >&6 6987 else 6988 echo "$as_me:$LINENO: result: \"yes\"" >&56989 echo "${ECHO_T}\"yes\"" >&6 7298 { echo "$as_me:$LINENO: result: \"no\"" >&5 7299 echo "${ECHO_T}\"no\"" >&6; } 7300 else 7301 { echo "$as_me:$LINENO: result: \"yes\"" >&5 7302 echo "${ECHO_T}\"yes\"" >&6; } 6990 7303 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5 6991 7304 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;} … … 7002 7315 7003 7316 # check for endianness 7004 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&57005 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 7317 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 7318 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 7006 7319 if test "${ac_cv_c_bigendian+set}" = set; then 7007 7320 echo $ECHO_N "(cached) $ECHO_C" >&6 … … 7020 7333 main () 7021 7334 { 7022 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 7335 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 7336 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 7023 7337 bogus endian macros 7024 7338 #endif … … 7029 7343 _ACEOF 7030 7344 rm -f conftest.$ac_objext 7031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7032 (eval $ac_compile) 2>conftest.er1 7345 if { (ac_try="$ac_compile" 7346 case "(($ac_try" in 7347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7348 *) ac_try_echo=$ac_try;; 7349 esac 7350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7351 (eval "$ac_compile") 2>conftest.er1 7033 7352 ac_status=$? 7034 7353 grep -v '^ *+' conftest.er1 >conftest.err … … 7036 7355 cat conftest.err >&5 7037 7356 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7038 (exit $ac_status); } && 7039 { ac_try='test -z "$ac_cxx_werror_flag" 7040 || test ! -s conftest.err' 7041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7042 (eval $ac_try) 2>&5 7043 ac_status=$? 7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7045 (exit $ac_status); }; } && 7046 { ac_try='test -s conftest.$ac_objext' 7047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7048 (eval $ac_try) 2>&5 7049 ac_status=$? 7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7051 (exit $ac_status); }; }; then 7357 (exit $ac_status); } && { 7358 test -z "$ac_cxx_werror_flag" || 7359 test ! -s conftest.err 7360 } && test -s conftest.$ac_objext; then 7052 7361 # It does; now see whether it defined to BIG_ENDIAN or not. 7053 7362 cat >conftest.$ac_ext <<_ACEOF … … 7072 7381 _ACEOF 7073 7382 rm -f conftest.$ac_objext 7074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7075 (eval $ac_compile) 2>conftest.er1 7383 if { (ac_try="$ac_compile" 7384 case "(($ac_try" in 7385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7386 *) ac_try_echo=$ac_try;; 7387 esac 7388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7389 (eval "$ac_compile") 2>conftest.er1 7076 7390 ac_status=$? 7077 7391 grep -v '^ *+' conftest.er1 >conftest.err … … 7079 7393 cat conftest.err >&5 7080 7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7081 (exit $ac_status); } && 7082 { ac_try='test -z "$ac_cxx_werror_flag" 7083 || test ! -s conftest.err' 7084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7085 (eval $ac_try) 2>&5 7086 ac_status=$? 7087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7088 (exit $ac_status); }; } && 7089 { ac_try='test -s conftest.$ac_objext' 7090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7091 (eval $ac_try) 2>&5 7092 ac_status=$? 7093 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7094 (exit $ac_status); }; }; then 7395 (exit $ac_status); } && { 7396 test -z "$ac_cxx_werror_flag" || 7397 test ! -s conftest.err 7398 } && test -s conftest.$ac_objext; then 7095 7399 ac_cv_c_bigendian=yes 7096 7400 else … … 7098 7402 sed 's/^/| /' conftest.$ac_ext >&5 7099 7403 7100 ac_cv_c_bigendian=no 7101 fi 7102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7404 ac_cv_c_bigendian=no 7405 fi 7406 7407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7103 7408 else 7104 7409 echo "$as_me: failed program was:" >&5 7105 7410 sed 's/^/| /' conftest.$ac_ext >&5 7106 7411 7107 # It does not; compile a test program.7412 # It does not; compile a test program. 7108 7413 if test "$cross_compiling" = yes; then 7109 7414 # try to guess the endianness by grepping values into an object file … … 7115 7420 cat >>conftest.$ac_ext <<_ACEOF 7116 7421 /* end confdefs.h. */ 7117 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };7118 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };7422 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 7423 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 7119 7424 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 7120 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };7121 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };7425 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 7426 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 7122 7427 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 7123 7428 int … … 7130 7435 _ACEOF 7131 7436 rm -f conftest.$ac_objext 7132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7133 (eval $ac_compile) 2>conftest.er1 7437 if { (ac_try="$ac_compile" 7438 case "(($ac_try" in 7439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7440 *) ac_try_echo=$ac_try;; 7441 esac 7442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7443 (eval "$ac_compile") 2>conftest.er1 7134 7444 ac_status=$? 7135 7445 grep -v '^ *+' conftest.er1 >conftest.err … … 7137 7447 cat conftest.err >&5 7138 7448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7139 (exit $ac_status); } && 7140 { ac_try='test -z "$ac_cxx_werror_flag" 7141 || test ! -s conftest.err' 7142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7143 (eval $ac_try) 2>&5 7144 ac_status=$? 7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7146 (exit $ac_status); }; } && 7147 { ac_try='test -s conftest.$ac_objext' 7148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7149 (eval $ac_try) 2>&5 7150 ac_status=$? 7151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7152 (exit $ac_status); }; }; then 7449 (exit $ac_status); } && { 7450 test -z "$ac_cxx_werror_flag" || 7451 test ! -s conftest.err 7452 } && test -s conftest.$ac_objext; then 7153 7453 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 7154 7454 ac_cv_c_bigendian=yes … … 7166 7466 sed 's/^/| /' conftest.$ac_ext >&5 7167 7467 7168 fi 7169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7468 7469 fi 7470 7471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7170 7472 else 7171 7473 cat >conftest.$ac_ext <<_ACEOF … … 7175 7477 cat >>conftest.$ac_ext <<_ACEOF 7176 7478 /* end confdefs.h. */ 7479 $ac_includes_default 7177 7480 int 7178 7481 main () 7179 7482 { 7483 7180 7484 /* Are we little or big endian? From Harbison&Steele. */ 7181 7485 union 7182 7486 { 7183 long l;7184 char c[sizeof (long )];7487 long int l; 7488 char c[sizeof (long int)]; 7185 7489 } u; 7186 7490 u.l = 1; 7187 exit (u.c[sizeof (long) - 1] == 1); 7491 return u.c[sizeof (long int) - 1] == 1; 7492 7493 ; 7494 return 0; 7188 7495 } 7189 7496 _ACEOF 7190 7497 rm -f conftest$ac_exeext 7191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 7192 (eval $ac_link) 2>&5 7498 if { (ac_try="$ac_link" 7499 case "(($ac_try" in 7500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7501 *) ac_try_echo=$ac_try;; 7502 esac 7503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7504 (eval "$ac_link") 2>&5 7193 7505 ac_status=$? 7194 7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7195 7507 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7197 (eval $ac_try) 2>&5 7508 { (case "(($ac_try" in 7509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7510 *) ac_try_echo=$ac_try;; 7511 esac 7512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7513 (eval "$ac_try") 2>&5 7198 7514 ac_status=$? 7199 7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5 … … 7208 7524 ac_cv_c_bigendian=yes 7209 7525 fi 7210 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7211 fi 7212 fi 7213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 7214 fi 7215 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7216 echo "${ECHO_T}$ac_cv_c_bigendian" >&6 7526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7527 fi 7528 7529 7530 fi 7531 7532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7533 fi 7534 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 7535 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 7217 7536 case $ac_cv_c_bigendian in 7218 7537 yes) … … 7234 7553 # --------------------------------------------------------------------------- 7235 7554 if test "$ac_cv_func_alloca" = 'no'; then 7236 case $LIBOBJS in 7237 "xmalloc.o.$ac_objext" | \ 7238 *" xmalloc.o.$ac_objext" | \ 7239 "xmalloc.o.$ac_objext "* | \ 7555 case " $LIBOBJS " in 7240 7556 *" xmalloc.o.$ac_objext "* ) ;; 7241 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;; 7242 esac 7243 7244 case $LIBOBJS in 7245 "error.$ac_objext" | \ 7246 *" error.$ac_objext" | \ 7247 "error.$ac_objext "* | \ 7557 *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" 7558 ;; 7559 esac 7560 7561 case " $LIBOBJS " in 7248 7562 *" error.$ac_objext "* ) ;; 7249 *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; 7563 *) LIBOBJS="$LIBOBJS error.$ac_objext" 7564 ;; 7250 7565 esac 7251 7566 … … 7272 7587 7273 7588 7274 7275 7276 7589 subdirs="$subdirs packages" 7277 7590 … … 7285 7598 src/z3950/Makefile" 7286 7599 7287 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 7600 ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs" 7601 7288 7602 cat >confcache <<\_ACEOF 7289 7603 # This file is a shell script that caches the results of configure … … 7304 7618 # The following way of writing the cache mishandles newlines in values, 7305 7619 # but we know of no workaround that is simple, portable, and efficient. 7306 # So, don't put newlines in cache variables' values.7620 # So, we kill variables containing newlines. 7307 7621 # Ultrix sh set writes to stderr and can't be redirected directly, 7308 7622 # and sets the high bit in the cache file unless we assign to the vars. 7309 { 7623 ( 7624 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 7625 eval ac_val=\$$ac_var 7626 case $ac_val in #( 7627 *${as_nl}*) 7628 case $ac_var in #( 7629 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 7630 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 7631 esac 7632 case $ac_var in #( 7633 _ | IFS | as_nl) ;; #( 7634 *) $as_unset $ac_var ;; 7635 esac ;; 7636 esac 7637 done 7638 7310 7639 (set) 2>&1 | 7311 case `(ac_space=' '; set | grep ac_space) 2>&1` in7312 * ac_space=\ *)7640 case $as_nl`(ac_space=' '; set) 2>&1` in #( 7641 *${as_nl}ac_space=\ *) 7313 7642 # `set' does not quote correctly, so add quotes (double-quote 7314 7643 # substitution turns \\\\ into \\, and sed turns \\ into \). … … 7316 7645 "s/'/'\\\\''/g; 7317 7646 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7318 ;; 7647 ;; #( 7319 7648 *) 7320 7649 # `set' quotes correctly as required by POSIX, so do not add quotes. 7321 sed -n \ 7322 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 7650 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7323 7651 ;; 7324 esac; 7325 } | 7652 esac | 7653 sort 7654 ) | 7326 7655 sed ' 7656 /^ac_cv_env_/b end 7327 7657 t clear 7328 : 7658 :clear 7329 7659 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7330 7660 t end 7331 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7332 : end' >>confcache 7333 if diff $cache_file confcache >/dev/null 2>&1; then :; else 7334 if test -w $cache_file; then 7335 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 7661 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7662 :end' >>confcache 7663 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7664 if test -w "$cache_file"; then 7665 test "x$cache_file" != "x/dev/null" && 7666 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 7667 echo "$as_me: updating cache $cache_file" >&6;} 7336 7668 cat confcache >$cache_file 7337 7669 else 7338 echo "not updating unwritable cache $cache_file" 7670 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 7671 echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7339 7672 fi 7340 7673 fi … … 7344 7677 # Let make expand exec_prefix. 7345 7678 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7346 7347 # VPATH may cause trouble with some makes, so we remove $(srcdir),7348 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and7349 # trailing colons and then remove the whole line if VPATH becomes empty7350 # (actually we leave an empty line to preserve line numbers).7351 if test "x$srcdir" = x.; then7352 ac_vpsub='/^[ ]*VPATH[ ]*=/{7353 s/:*\$(srcdir):*/:/;7354 s/:*\${srcdir}:*/:/;7355 s/:*@srcdir@:*/:/;7356 s/^\([^=]*=[ ]*\):*/\1/;7357 s/:*$//;7358 s/^[^=]*=[ ]*$//;7359 }'7360 fi7361 7679 7362 7680 DEFS=-DHAVE_CONFIG_H … … 7366 7684 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7367 7685 # 1. Remove the extension, and $U if already installed. 7368 ac_i=`echo "$ac_i" | 7369 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 7370 # 2. Add them. 7371 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7372 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 7686 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 7687 ac_i=`echo "$ac_i" | sed "$ac_script"` 7688 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 7689 # will be set to the directory where LIBOBJS objects are built. 7690 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 7691 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 7373 7692 done 7374 7693 LIBOBJS=$ac_libobjs … … 7401 7720 ## --------------------- ## 7402 7721 7403 # Be Bourne compatible 7722 # Be more Bourne compatible 7723 DUALCASE=1; export DUALCASE # for MKS sh 7404 7724 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 7405 7725 emulate sh … … 7408 7728 # is contrary to our usage. Disable this feature. 7409 7729 alias -g '${1+"$@"}'='"$@"' 7410 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 7411 set -o posix 7412 fi 7413 DUALCASE=1; export DUALCASE # for MKS sh 7414 7415 # Support unset when possible. 7416 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7417 as_unset=unset 7418 else 7419 as_unset=false 7420 fi 7421 7422 7423 # Work around bugs in pre-3.0 UWIN ksh. 7424 $as_unset ENV MAIL MAILPATH 7425 PS1='$ ' 7426 PS2='> ' 7427 PS4='+ ' 7428 7429 # NLS nuisances. 7430 for as_var in \ 7431 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 7432 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 7433 LC_TELEPHONE LC_TIME 7434 do 7435 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 7436 eval $as_var=C; export $as_var 7437 else 7438 $as_unset $as_var 7439 fi 7440 done 7441 7442 # Required to use basename. 7443 if expr a : '\(a\)' >/dev/null 2>&1; then 7444 as_expr=expr 7445 else 7446 as_expr=false 7447 fi 7448 7449 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 7450 as_basename=basename 7451 else 7452 as_basename=false 7453 fi 7454 7455 7456 # Name of the executable. 7457 as_me=`$as_basename "$0" || 7458 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7459 X"$0" : 'X\(//\)$' \| \ 7460 X"$0" : 'X\(/\)$' \| \ 7461 . : '\(.\)' 2>/dev/null || 7462 echo X/"$0" | 7463 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 7464 /^X\/\(\/\/\)$/{ s//\1/; q; } 7465 /^X\/\(\/\).*/{ s//\1/; q; } 7466 s/.*/./; q'` 7467 7468 7469 # PATH needs CR, and LINENO needs CR and PATH. 7730 setopt NO_GLOB_SUBST 7731 else 7732 case `(set -o) 2>/dev/null` in 7733 *posix*) set -o posix ;; 7734 esac 7735 7736 fi 7737 7738 7739 7740 7741 # PATH needs CR 7470 7742 # Avoid depending upon Character Ranges. 7471 7743 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 7488 7760 fi 7489 7761 7490 7491 as_lineno_1=$LINENO 7492 as_lineno_2=$LINENO 7493 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 7494 test "x$as_lineno_1" != "x$as_lineno_2" && 7495 test "x$as_lineno_3" = "x$as_lineno_2" || { 7496 # Find who we are. Look in the path if we contain no path at all 7497 # relative or not. 7498 case $0 in 7499 *[\\/]* ) as_myself=$0 ;; 7500 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7762 # Support unset when possible. 7763 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 7764 as_unset=unset 7765 else 7766 as_unset=false 7767 fi 7768 7769 7770 # IFS 7771 # We need space, tab and new line, in precisely that order. Quoting is 7772 # there to prevent editors from complaining about space-tab. 7773 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 7774 # splitting by setting IFS to empty value.) 7775 as_nl=' 7776 ' 7777 IFS=" "" $as_nl" 7778 7779 # Find who we are. Look in the path if we contain no directory separator. 7780 case $0 in 7781 *[\\/]* ) as_myself=$0 ;; 7782 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7501 7783 for as_dir in $PATH 7502 7784 do … … 7505 7787 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7506 7788 done 7507 7508 ;; 7509 esac 7510 # We did not find ourselves, most probably we were run as `sh COMMAND' 7511 # in which case we are not to be found in the path. 7512 if test "x$as_myself" = x; then 7513 as_myself=$0 7789 IFS=$as_save_IFS 7790 7791 ;; 7792 esac 7793 # We did not find ourselves, most probably we were run as `sh COMMAND' 7794 # in which case we are not to be found in the path. 7795 if test "x$as_myself" = x; then 7796 as_myself=$0 7797 fi 7798 if test ! -f "$as_myself"; then 7799 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 7800 { (exit 1); exit 1; } 7801 fi 7802 7803 # Work around bugs in pre-3.0 UWIN ksh. 7804 for as_var in ENV MAIL MAILPATH 7805 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 7806 done 7807 PS1='$ ' 7808 PS2='> ' 7809 PS4='+ ' 7810 7811 # NLS nuisances. 7812 for as_var in \ 7813 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 7814 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 7815 LC_TELEPHONE LC_TIME 7816 do 7817 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 7818 eval $as_var=C; export $as_var 7819 else 7820 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 7514 7821 fi 7515 if test ! -f "$as_myself"; then 7516 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 7517 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 7518 { (exit 1); exit 1; }; } 7519 fi 7520 case $CONFIG_SHELL in 7521 '') 7522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7523 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 7524 do 7525 IFS=$as_save_IFS 7526 test -z "$as_dir" && as_dir=. 7527 for as_base in sh bash ksh sh5; do 7528 case $as_dir in 7529 /*) 7530 if ("$as_dir/$as_base" -c ' 7822 done 7823 7824 # Required to use basename. 7825 if expr a : '\(a\)' >/dev/null 2>&1 && 7826 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7827 as_expr=expr 7828 else 7829 as_expr=false 7830 fi 7831 7832 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 7833 as_basename=basename 7834 else 7835 as_basename=false 7836 fi 7837 7838 7839 # Name of the executable. 7840 as_me=`$as_basename -- "$0" || 7841 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7842 X"$0" : 'X\(//\)$' \| \ 7843 X"$0" : 'X\(/\)' \| . 2>/dev/null || 7844 echo X/"$0" | 7845 sed '/^.*\/\([^/][^/]*\)\/*$/{ 7846 s//\1/ 7847 q 7848 } 7849 /^X\/\(\/\/\)$/{ 7850 s//\1/ 7851 q 7852 } 7853 /^X\/\(\/\).*/{ 7854 s//\1/ 7855 q 7856 } 7857 s/.*/./; q'` 7858 7859 # CDPATH. 7860 $as_unset CDPATH 7861 7862 7863 7531 7864 as_lineno_1=$LINENO 7532 7865 as_lineno_2=$LINENO 7533 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`7534 7866 test "x$as_lineno_1" != "x$as_lineno_2" && 7535 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 7536 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 7537 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 7538 CONFIG_SHELL=$as_dir/$as_base 7539 export CONFIG_SHELL 7540 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 7541 fi;; 7542 esac 7543 done 7544 done 7545 ;; 7546 esac 7867 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 7547 7868 7548 7869 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 7549 7870 # uniformly replaced by the line number. The first 'sed' inserts a 7550 # line-number line before each line; the second 'sed' does the real 7551 # work. The second script uses 'N' to pair each line-number line 7552 # with the numbered line, and appends trailing '-' during 7553 # substitution so that $LINENO is not a special case at line end. 7871 # line-number line after each line using $LINENO; the second 'sed' 7872 # does the real work. The second script uses 'N' to pair each 7873 # line-number line with the line containing $LINENO, and appends 7874 # trailing '-' during substitution so that $LINENO is not a special 7875 # case at line end. 7554 7876 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 7555 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 7556 sed '=' <$as_myself | 7877 # scripts with optimization help from Paolo Bonzini. Blame Lee 7878 # E. McMahon (1931-1989) for sed's syntax. :-) 7879 sed -n ' 7880 p 7881 /[$]LINENO/= 7882 ' <$as_myself | 7557 7883 sed ' 7884 s/[$]LINENO.*/&-/ 7885 t lineno 7886 b 7887 :lineno 7558 7888 N 7559 s,$,-, 7560 : loop 7561 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 7889 :loop 7890 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 7562 7891 t loop 7563 s,-$,, 7564 s,^['$as_cr_digits']*\n,, 7892 s/-\n.*// 7565 7893 ' >$as_me.lineno && 7566 chmod +x $as_me.lineno || 7567 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 7568 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 7894 chmod +x "$as_me.lineno" || 7895 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 7569 7896 { (exit 1); exit 1; }; } 7570 7897 7571 7898 # Don't try to exec as it changes $[0], causing all sort of problems 7572 7899 # (the dirname of $[0] is not the place where we might find the 7573 # original and so on. Autoconf is especially sensi ble to this).7574 . ./$as_me.lineno7900 # original and so on. Autoconf is especially sensitive to this). 7901 . "./$as_me.lineno" 7575 7902 # Exit status is that of the last command. 7576 7903 exit … … 7578 7905 7579 7906 7580 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 7581 *c*,-n*) ECHO_N= ECHO_C=' 7582 ' ECHO_T=' ' ;; 7583 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 7584 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 7585 esac 7586 7587 if expr a : '\(a\)' >/dev/null 2>&1; then 7907 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7908 as_dirname=dirname 7909 else 7910 as_dirname=false 7911 fi 7912 7913 ECHO_C= ECHO_N= ECHO_T= 7914 case `echo -n x` in 7915 -n*) 7916 case `echo 'x\c'` in 7917 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7918 *) ECHO_C='\c';; 7919 esac;; 7920 *) 7921 ECHO_N='-n';; 7922 esac 7923 7924 if expr a : '\(a\)' >/dev/null 2>&1 && 7925 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7588 7926 as_expr=expr 7589 7927 else … … 7592 7930 7593 7931 rm -f conf$$ conf$$.exe conf$$.file 7932 if test -d conf$$.dir; then 7933 rm -f conf$$.dir/conf$$.file 7934 else 7935 rm -f conf$$.dir 7936 mkdir conf$$.dir 7937 fi 7594 7938 echo >conf$$.file 7595 7939 if ln -s conf$$.file conf$$ 2>/dev/null; then 7596 # We could just check for DJGPP; but this test a) works b) is more generic 7597 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 7598 if test -f conf$$.exe; then 7599 # Don't use ln at all; we don't have any links 7940 as_ln_s='ln -s' 7941 # ... but there are two gotchas: 7942 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7943 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7944 # In both cases, we have to default to `cp -p'. 7945 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7600 7946 as_ln_s='cp -p' 7601 else7602 as_ln_s='ln -s'7603 fi7604 7947 elif ln conf$$.file conf$$ 2>/dev/null; then 7605 7948 as_ln_s=ln … … 7607 7950 as_ln_s='cp -p' 7608 7951 fi 7609 rm -f conf$$ conf$$.exe conf$$.file 7952 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 7953 rmdir conf$$.dir 2>/dev/null 7610 7954 7611 7955 if mkdir -p . 2>/dev/null; then … … 7616 7960 fi 7617 7961 7618 as_executable_p="test -f" 7962 if test -x / >/dev/null 2>&1; then 7963 as_test_x='test -x' 7964 else 7965 if ls -dL / >/dev/null 2>&1; then 7966 as_ls_L_option=L 7967 else 7968 as_ls_L_option= 7969 fi 7970 as_test_x=' 7971 eval sh -c '\'' 7972 if test -d "$1"; then 7973 test -d "$1/."; 7974 else 7975 case $1 in 7976 -*)set "./$1";; 7977 esac; 7978 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 7979 ???[sx]*):;;*)false;;esac;fi 7980 '\'' sh 7981 ' 7982 fi 7983 as_executable_p=$as_test_x 7619 7984 7620 7985 # Sed expression to map a string onto a valid CPP name. … … 7625 7990 7626 7991 7627 # IFS7628 # We need space, tab and new line, in precisely that order.7629 as_nl='7630 '7631 IFS=" $as_nl"7632 7633 # CDPATH.7634 $as_unset CDPATH7635 7636 7992 exec 6>&1 7637 7993 7638 # Open the log real soon, to keep \$[0] and so on meaningful, and to7994 # Save the log message, to keep $[0] and so on meaningful, and to 7639 7995 # report actual input values of CONFIG_FILES etc. instead of their 7640 # values after options handling. Logging --version etc. is OK. 7641 exec 5>>config.log 7642 { 7643 echo 7644 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7645 ## Running $as_me. ## 7646 _ASBOX 7647 } >&5 7648 cat >&5 <<_CSEOF 7649 7996 # values after options handling. 7997 ac_log=" 7650 7998 This file was extended by $as_me, which was 7651 generated by GNU Autoconf 2. 59. Invocation command line was7999 generated by GNU Autoconf 2.61. Invocation command line was 7652 8000 7653 8001 CONFIG_FILES = $CONFIG_FILES … … 7657 8005 $ $0 $@ 7658 8006 7659 _CSEOF 7660 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 7661 echo >&5 7662 _ACEOF 7663 8007 on `(hostname || uname -n) 2>/dev/null | sed 1q` 8008 " 8009 8010 _ACEOF 8011 8012 cat >>$CONFIG_STATUS <<_ACEOF 7664 8013 # Files that config.status was made for. 7665 if test -n "$ac_config_files"; then 7666 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 7667 fi 7668 7669 if test -n "$ac_config_headers"; then 7670 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 7671 fi 7672 7673 if test -n "$ac_config_links"; then 7674 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 7675 fi 7676 7677 if test -n "$ac_config_commands"; then 7678 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 7679 fi 8014 config_files="$ac_config_files" 8015 config_headers="$ac_config_headers" 8016 8017 _ACEOF 7680 8018 7681 8019 cat >>$CONFIG_STATUS <<\_ACEOF 7682 7683 8020 ac_cs_usage="\ 7684 8021 \`$as_me' instantiates files from templates according to the … … 7688 8025 7689 8026 -h, --help print this help, then exit 7690 -V, --version print version number , then exit8027 -V, --version print version number and configuration settings, then exit 7691 8028 -q, --quiet do not print progress messages 7692 8029 -d, --debug don't remove temporary files … … 7704 8041 7705 8042 Report bugs to <[email protected]>." 7706 _ACEOF 7707 8043 8044 _ACEOF 7708 8045 cat >>$CONFIG_STATUS <<_ACEOF 7709 8046 ac_cs_version="\\ 7710 8047 config.status 7711 configured by $0, generated by GNU Autoconf 2. 59,7712 with options \\"`echo "$ac_configure_args" | sed 's/ [\\""\`\$]/\\\\&/g'`\\"7713 7714 Copyright (C) 200 3Free Software Foundation, Inc.8048 configured by $0, generated by GNU Autoconf 2.61, 8049 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 8050 8051 Copyright (C) 2006 Free Software Foundation, Inc. 7715 8052 This config.status script is free software; the Free Software Foundation 7716 8053 gives unlimited permission to copy, distribute and modify it." 7717 srcdir=$srcdir 7718 INSTALL="$INSTALL" 8054 8055 ac_pwd='$ac_pwd' 8056 srcdir='$srcdir' 8057 INSTALL='$INSTALL' 7719 8058 _ACEOF 7720 8059 … … 7727 8066 case $1 in 7728 8067 --*=*) 7729 ac_option=`expr " x$1" : 'x\([^=]*\)='`7730 ac_optarg=`expr " x$1" : 'x[^=]*=\(.*\)'`8068 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8069 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7731 8070 ac_shift=: 7732 8071 ;; 7733 -*)8072 *) 7734 8073 ac_option=$1 7735 8074 ac_optarg=$2 7736 8075 ac_shift=shift 7737 8076 ;; 7738 *) # This is not an option, so the user has probably given explicit7739 # arguments.7740 ac_option=$17741 ac_need_defaults=false;;7742 8077 esac 7743 8078 7744 8079 case $ac_option in 7745 8080 # Handling of the options. 7746 _ACEOF7747 cat >>$CONFIG_STATUS <<\_ACEOF7748 8081 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7749 8082 ac_cs_recheck=: ;; 7750 --version | --vers* | -V ) 7751 echo "$ac_cs_version"; exit 0 ;; 7752 --he | --h) 7753 # Conflict between --help and --header 7754 { { echo "$as_me:$LINENO: error: ambiguous option: $1 7755 Try \`$0 --help' for more information." >&5 7756 echo "$as_me: error: ambiguous option: $1 7757 Try \`$0 --help' for more information." >&2;} 7758 { (exit 1); exit 1; }; };; 7759 --help | --hel | -h ) 7760 echo "$ac_cs_usage"; exit 0 ;; 7761 --debug | --d* | -d ) 8083 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8084 echo "$ac_cs_version"; exit ;; 8085 --debug | --debu | --deb | --de | --d | -d ) 7762 8086 debug=: ;; 7763 8087 --file | --fil | --fi | --f ) … … 7769 8093 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 7770 8094 ac_need_defaults=false;; 8095 --he | --h) 8096 # Conflict between --help and --header 8097 { echo "$as_me: error: ambiguous option: $1 8098 Try \`$0 --help' for more information." >&2 8099 { (exit 1); exit 1; }; };; 8100 --help | --hel | -h ) 8101 echo "$ac_cs_usage"; exit ;; 7771 8102 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7772 8103 | -silent | --silent | --silen | --sile | --sil | --si | --s) … … 7774 8105 7775 8106 # This is an error. 7776 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 7777 Try \`$0 --help' for more information." >&5 7778 echo "$as_me: error: unrecognized option: $1 7779 Try \`$0 --help' for more information." >&2;} 8107 -*) { echo "$as_me: error: unrecognized option: $1 8108 Try \`$0 --help' for more information." >&2 7780 8109 { (exit 1); exit 1; }; } ;; 7781 8110 7782 *) ac_config_targets="$ac_config_targets $1" ;; 8111 *) ac_config_targets="$ac_config_targets $1" 8112 ac_need_defaults=false ;; 7783 8113 7784 8114 esac … … 7796 8126 cat >>$CONFIG_STATUS <<_ACEOF 7797 8127 if \$ac_cs_recheck; then 7798 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 7799 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7800 fi 7801 7802 _ACEOF 7803 7804 7805 7806 7807 8128 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 8129 CONFIG_SHELL=$SHELL 8130 export CONFIG_SHELL 8131 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8132 fi 8133 8134 _ACEOF 7808 8135 cat >>$CONFIG_STATUS <<\_ACEOF 8136 exec 5>>config.log 8137 { 8138 echo 8139 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 8140 ## Running $as_me. ## 8141 _ASBOX 8142 echo "$ac_log" 8143 } >&5 8144 8145 _ACEOF 8146 cat >>$CONFIG_STATUS <<_ACEOF 8147 _ACEOF 8148 8149 cat >>$CONFIG_STATUS <<\_ACEOF 8150 8151 # Handling of arguments. 7809 8152 for ac_config_target in $ac_config_targets 7810 8153 do 7811 case "$ac_config_target"in7812 # Handling of arguments.7813 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;7814 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;7815 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;7816 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;7817 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8154 case $ac_config_target in 8155 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8156 "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;; 8157 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8158 "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;; 8159 "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;; 8160 7818 8161 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 7819 8162 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} … … 7821 8164 esac 7822 8165 done 8166 7823 8167 7824 8168 # If the user did not use the arguments to specify the items to instantiate, … … 7832 8176 7833 8177 # Have a temporary directory for convenience. Make it in the build tree 7834 # simply because there is no reason to putit here, and in addition,8178 # simply because there is no reason against having it here, and in addition, 7835 8179 # creating and moving files from /tmp can sometimes cause problems. 7836 # Create a temporary directory, and hook for its removal unless debugging. 8180 # Hook for its removal unless debugging. 8181 # Note that there is a small window in which the directory will not be cleaned: 8182 # after its creation but before its name has been assigned to `$tmp'. 7837 8183 $debug || 7838 8184 { 7839 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 8185 tmp= 8186 trap 'exit_status=$? 8187 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 8188 ' 0 7840 8189 trap '{ (exit 1); exit 1; }' 1 2 13 15 7841 8190 } 7842 7843 8191 # Create a (secure) tmp directory for tmp files. 7844 8192 7845 8193 { 7846 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&8194 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7847 8195 test -n "$tmp" && test -d "$tmp" 7848 8196 } || 7849 8197 { 7850 tmp=./conf stat$$-$RANDOM7851 (umask 077 && mkdir $tmp)8198 tmp=./conf$$-$RANDOM 8199 (umask 077 && mkdir "$tmp") 7852 8200 } || 7853 8201 { … … 7856 8204 } 7857 8205 7858 _ACEOF7859 7860 cat >>$CONFIG_STATUS <<_ACEOF7861 7862 8206 # 7863 # CONFIG_FILES section.8207 # Set up the sed scripts for CONFIG_FILES section. 7864 8208 # 7865 8209 7866 8210 # No need to generate the scripts if there are no CONFIG_FILES. 7867 8211 # This happens for instance when ./config.status config.h 7868 if test -n "\$CONFIG_FILES"; then 7869 # Protect against being on the right side of a sed subst in config.status. 7870 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 7871 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 7872 s,@SHELL@,$SHELL,;t t 7873 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 7874 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 7875 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 7876 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 7877 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 7878 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 7879 s,@exec_prefix@,$exec_prefix,;t t 7880 s,@prefix@,$prefix,;t t 7881 s,@program_transform_name@,$program_transform_name,;t t 7882 s,@bindir@,$bindir,;t t 7883 s,@sbindir@,$sbindir,;t t 7884 s,@libexecdir@,$libexecdir,;t t 7885 s,@datadir@,$datadir,;t t 7886 s,@sysconfdir@,$sysconfdir,;t t 7887 s,@sharedstatedir@,$sharedstatedir,;t t 7888 s,@localstatedir@,$localstatedir,;t t 7889 s,@libdir@,$libdir,;t t 7890 s,@includedir@,$includedir,;t t 7891 s,@oldincludedir@,$oldincludedir,;t t 7892 s,@infodir@,$infodir,;t t 7893 s,@mandir@,$mandir,;t t 7894 s,@build_alias@,$build_alias,;t t 7895 s,@host_alias@,$host_alias,;t t 7896 s,@target_alias@,$target_alias,;t t 7897 s,@DEFS@,$DEFS,;t t 7898 s,@ECHO_C@,$ECHO_C,;t t 7899 s,@ECHO_N@,$ECHO_N,;t t 7900 s,@ECHO_T@,$ECHO_T,;t t 7901 s,@LIBS@,$LIBS,;t t 7902 s,@PACKAGE@,$PACKAGE,;t t 7903 s,@VERSION@,$VERSION,;t t 7904 s,@USE_FASTCGI@,$USE_FASTCGI,;t t 7905 s,@USE_LANGACTION@,$USE_LANGACTION,;t t 7906 s,@USE_CORBA@,$USE_CORBA,;t t 7907 s,@MICO_DIR@,$MICO_DIR,;t t 7908 s,@USE_Z3950@,$USE_Z3950,;t t 7909 s,@USE_YAZ@,$USE_YAZ,;t t 7910 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t 7911 s,@USE_SQLITE@,$USE_SQLITE,;t t 7912 s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t 7913 s,@LDFLAGS@,$LDFLAGS,;t t 7914 s,@CFLAGS@,$CFLAGS,;t t 7915 s,@CC@,$CC,;t t 7916 s,@CPPFLAGS@,$CPPFLAGS,;t t 7917 s,@ac_ct_CC@,$ac_ct_CC,;t t 7918 s,@EXEEXT@,$EXEEXT,;t t 7919 s,@OBJEXT@,$OBJEXT,;t t 7920 s,@CXX@,$CXX,;t t 7921 s,@CXXFLAGS@,$CXXFLAGS,;t t 7922 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 7923 s,@AWK@,$AWK,;t t 7924 s,@YACC@,$YACC,;t t 7925 s,@build@,$build,;t t 7926 s,@build_cpu@,$build_cpu,;t t 7927 s,@build_vendor@,$build_vendor,;t t 7928 s,@build_os@,$build_os,;t t 7929 s,@host@,$host,;t t 7930 s,@host_cpu@,$host_cpu,;t t 7931 s,@host_vendor@,$host_vendor,;t t 7932 s,@host_os@,$host_os,;t t 7933 s,@target@,$target,;t t 7934 s,@target_cpu@,$target_cpu,;t t 7935 s,@target_vendor@,$target_vendor,;t t 7936 s,@target_os@,$target_os,;t t 7937 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 7938 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 7939 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 7940 s,@LN_S@,$LN_S,;t t 7941 s,@SET_MAKE@,$SET_MAKE,;t t 7942 s,@RANLIB@,$RANLIB,;t t 7943 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 7944 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t 7945 s,@MICO_VER@,$MICO_VER,;t t 7946 s,@CPP@,$CPP,;t t 7947 s,@EGREP@,$EGREP,;t t 7948 s,@U@,$U,;t t 7949 s,@ANSI2KNR@,$ANSI2KNR,;t t 7950 s,@ALLOCA@,$ALLOCA,;t t 7951 s,@LIBOBJS@,$LIBOBJS,;t t 7952 s,@STATIC@,$STATIC,;t t 7953 s,@gsdlos@,$gsdlos,;t t 7954 s,@MODULEDIRS@,$MODULEDIRS,;t t 7955 s,@subdirs@,$subdirs,;t t 7956 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 7957 CEOF 7958 7959 _ACEOF 7960 7961 cat >>$CONFIG_STATUS <<\_ACEOF 7962 # Split the substitutions into bite-sized pieces for seds with 7963 # small command number limits, like on Digital OSF/1 and HP-UX. 7964 ac_max_sed_lines=48 7965 ac_sed_frag=1 # Number of current file. 7966 ac_beg=1 # First line for current file. 7967 ac_end=$ac_max_sed_lines # Line after last line for current file. 7968 ac_more_lines=: 7969 ac_sed_cmds= 7970 while $ac_more_lines; do 7971 if test $ac_beg -gt 1; then 7972 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 7973 else 7974 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 8212 if test -n "$CONFIG_FILES"; then 8213 8214 _ACEOF 8215 8216 8217 8218 ac_delim='%!_!# ' 8219 for ac_last_try in false false false false false :; do 8220 cat >conf$$subs.sed <<_ACEOF 8221 SHELL!$SHELL$ac_delim 8222 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 8223 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 8224 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 8225 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 8226 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 8227 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 8228 exec_prefix!$exec_prefix$ac_delim 8229 prefix!$prefix$ac_delim 8230 program_transform_name!$program_transform_name$ac_delim 8231 bindir!$bindir$ac_delim 8232 sbindir!$sbindir$ac_delim 8233 libexecdir!$libexecdir$ac_delim 8234 datarootdir!$datarootdir$ac_delim 8235 datadir!$datadir$ac_delim 8236 sysconfdir!$sysconfdir$ac_delim 8237 sharedstatedir!$sharedstatedir$ac_delim 8238 localstatedir!$localstatedir$ac_delim 8239 includedir!$includedir$ac_delim 8240 oldincludedir!$oldincludedir$ac_delim 8241 docdir!$docdir$ac_delim 8242 infodir!$infodir$ac_delim 8243 htmldir!$htmldir$ac_delim 8244 dvidir!$dvidir$ac_delim 8245 pdfdir!$pdfdir$ac_delim 8246 psdir!$psdir$ac_delim 8247 libdir!$libdir$ac_delim 8248 localedir!$localedir$ac_delim 8249 mandir!$mandir$ac_delim 8250 DEFS!$DEFS$ac_delim 8251 ECHO_C!$ECHO_C$ac_delim 8252 ECHO_N!$ECHO_N$ac_delim 8253 ECHO_T!$ECHO_T$ac_delim 8254 LIBS!$LIBS$ac_delim 8255 build_alias!$build_alias$ac_delim 8256 host_alias!$host_alias$ac_delim 8257 target_alias!$target_alias$ac_delim 8258 PACKAGE!$PACKAGE$ac_delim 8259 VERSION!$VERSION$ac_delim 8260 USE_FASTCGI!$USE_FASTCGI$ac_delim 8261 USE_LANGACTION!$USE_LANGACTION$ac_delim 8262 USE_CORBA!$USE_CORBA$ac_delim 8263 MICO_DIR!$MICO_DIR$ac_delim 8264 USE_Z3950!$USE_Z3950$ac_delim 8265 USE_YAZ!$USE_YAZ$ac_delim 8266 ENABLE_ACCENTFOLD!$ENABLE_ACCENTFOLD$ac_delim 8267 USE_SQLITE!$USE_SQLITE$ac_delim 8268 USE_APACHE_HTTPD!$USE_APACHE_HTTPD$ac_delim 8269 LDFLAGS!$LDFLAGS$ac_delim 8270 CFLAGS!$CFLAGS$ac_delim 8271 CC!$CC$ac_delim 8272 CPPFLAGS!$CPPFLAGS$ac_delim 8273 ac_ct_CC!$ac_ct_CC$ac_delim 8274 EXEEXT!$EXEEXT$ac_delim 8275 OBJEXT!$OBJEXT$ac_delim 8276 CXX!$CXX$ac_delim 8277 CXXFLAGS!$CXXFLAGS$ac_delim 8278 ac_ct_CXX!$ac_ct_CXX$ac_delim 8279 AWK!$AWK$ac_delim 8280 YACC!$YACC$ac_delim 8281 YFLAGS!$YFLAGS$ac_delim 8282 build!$build$ac_delim 8283 build_cpu!$build_cpu$ac_delim 8284 build_vendor!$build_vendor$ac_delim 8285 build_os!$build_os$ac_delim 8286 host!$host$ac_delim 8287 host_cpu!$host_cpu$ac_delim 8288 host_vendor!$host_vendor$ac_delim 8289 host_os!$host_os$ac_delim 8290 target!$target$ac_delim 8291 target_cpu!$target_cpu$ac_delim 8292 target_vendor!$target_vendor$ac_delim 8293 target_os!$target_os$ac_delim 8294 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim 8295 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 8296 INSTALL_DATA!$INSTALL_DATA$ac_delim 8297 LN_S!$LN_S$ac_delim 8298 SET_MAKE!$SET_MAKE$ac_delim 8299 RANLIB!$RANLIB$ac_delim 8300 COMPAT32BITFLAGS!$COMPAT32BITFLAGS$ac_delim 8301 MICO_VER!$MICO_VER$ac_delim 8302 CPP!$CPP$ac_delim 8303 GREP!$GREP$ac_delim 8304 EGREP!$EGREP$ac_delim 8305 U!$U$ac_delim 8306 ANSI2KNR!$ANSI2KNR$ac_delim 8307 ALLOCA!$ALLOCA$ac_delim 8308 LIBOBJS!$LIBOBJS$ac_delim 8309 STATIC!$STATIC$ac_delim 8310 gsdlos!$gsdlos$ac_delim 8311 MODULEDIRS!$MODULEDIRS$ac_delim 8312 subdirs!$subdirs$ac_delim 8313 LTLIBOBJS!$LTLIBOBJS$ac_delim 8314 _ACEOF 8315 8316 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 93; then 8317 break 8318 elif $ac_last_try; then 8319 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 8320 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 8321 { (exit 1); exit 1; }; } 8322 else 8323 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8324 fi 8325 done 8326 8327 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 8328 if test -n "$ac_eof"; then 8329 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 8330 ac_eof=`expr $ac_eof + 1` 8331 fi 8332 8333 cat >>$CONFIG_STATUS <<_ACEOF 8334 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 8335 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 8336 _ACEOF 8337 sed ' 8338 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 8339 s/^/s,@/; s/!/@,|#_!!_#|/ 8340 :n 8341 t n 8342 s/'"$ac_delim"'$/,g/; t 8343 s/$/\\/; p 8344 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 8345 ' >>$CONFIG_STATUS <conf$$subs.sed 8346 rm -f conf$$subs.sed 8347 cat >>$CONFIG_STATUS <<_ACEOF 8348 :end 8349 s/|#_!!_#|//g 8350 CEOF$ac_eof 8351 _ACEOF 8352 8353 8354 # VPATH may cause trouble with some makes, so we remove $(srcdir), 8355 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 8356 # trailing colons and then remove the whole line if VPATH becomes empty 8357 # (actually we leave an empty line to preserve line numbers). 8358 if test "x$srcdir" = x.; then 8359 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 8360 s/:*\$(srcdir):*/:/ 8361 s/:*\${srcdir}:*/:/ 8362 s/:*@srcdir@:*/:/ 8363 s/^\([^=]*=[ ]*\):*/\1/ 8364 s/:*$// 8365 s/^[^=]*=[ ]*$// 8366 }' 8367 fi 8368 8369 cat >>$CONFIG_STATUS <<\_ACEOF 8370 fi # test -n "$CONFIG_FILES" 8371 8372 8373 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 8374 do 8375 case $ac_tag in 8376 :[FHLC]) ac_mode=$ac_tag; continue;; 8377 esac 8378 case $ac_mode$ac_tag in 8379 :[FHL]*:*);; 8380 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 8381 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 8382 { (exit 1); exit 1; }; };; 8383 :[FH]-) ac_tag=-:-;; 8384 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 8385 esac 8386 ac_save_IFS=$IFS 8387 IFS=: 8388 set x $ac_tag 8389 IFS=$ac_save_IFS 8390 shift 8391 ac_file=$1 8392 shift 8393 8394 case $ac_mode in 8395 :L) ac_source=$1;; 8396 :[FH]) 8397 ac_file_inputs= 8398 for ac_f 8399 do 8400 case $ac_f in 8401 -) ac_f="$tmp/stdin";; 8402 *) # Look for the file first in the build tree, then in the source tree 8403 # (if the path is not absolute). The absolute path cannot be DOS-style, 8404 # because $ac_f cannot contain `:'. 8405 test -f "$ac_f" || 8406 case $ac_f in 8407 [\\/$]*) false;; 8408 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8409 esac || 8410 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 8411 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 8412 { (exit 1); exit 1; }; };; 8413 esac 8414 ac_file_inputs="$ac_file_inputs $ac_f" 8415 done 8416 8417 # Let's still pretend it is `configure' which instantiates (i.e., don't 8418 # use $as_me), people would be surprised to read: 8419 # /* config.h. Generated by config.status. */ 8420 configure_input="Generated from "`IFS=: 8421 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 8422 if test x"$ac_file" != x-; then 8423 configure_input="$ac_file. $configure_input" 8424 { echo "$as_me:$LINENO: creating $ac_file" >&5 8425 echo "$as_me: creating $ac_file" >&6;} 7975 8426 fi 7976 if test ! -s $tmp/subs.frag; then 7977 ac_more_lines=false 7978 else 7979 # The purpose of the label and of the branching condition is to 7980 # speed up the sed processing (if there are no `@' at all, there 7981 # is no need to browse any of the substitutions). 7982 # These are the two extra sed commands mentioned above. 7983 (echo ':t 7984 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 7985 if test -z "$ac_sed_cmds"; then 7986 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 7987 else 7988 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 7989 fi 7990 ac_sed_frag=`expr $ac_sed_frag + 1` 7991 ac_beg=$ac_end 7992 ac_end=`expr $ac_end + $ac_max_sed_lines` 7993 fi 7994 done 7995 if test -z "$ac_sed_cmds"; then 7996 ac_sed_cmds=cat 7997 fi 7998 fi # test -n "$CONFIG_FILES" 7999 8000 _ACEOF 8001 cat >>$CONFIG_STATUS <<\_ACEOF 8002 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8003 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8004 case $ac_file in 8005 - | *:- | *:-:* ) # input from stdin 8006 cat >$tmp/stdin 8007 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8008 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8009 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8010 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8011 * ) ac_file_in=$ac_file.in ;; 8427 8428 case $ac_tag in 8429 *:-:* | *:-) cat >"$tmp/stdin";; 8430 esac 8431 ;; 8012 8432 esac 8013 8433 8014 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8015 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8434 ac_dir=`$as_dirname -- "$ac_file" || 8016 8435 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8017 8436 X"$ac_file" : 'X\(//\)[^/]' \| \ 8018 8437 X"$ac_file" : 'X\(//\)$' \| \ 8019 X"$ac_file" : 'X\(/\)' \| \ 8020 . : '\(.\)' 2>/dev/null || 8438 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 8021 8439 echo X"$ac_file" | 8022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8023 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8024 /^X\(\/\/\)$/{ s//\1/; q; } 8025 /^X\(\/\).*/{ s//\1/; q; } 8026 s/.*/./; q'` 8027 { if $as_mkdir_p; then 8028 mkdir -p "$ac_dir" 8029 else 8030 as_dir="$ac_dir" 8440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8441 s//\1/ 8442 q 8443 } 8444 /^X\(\/\/\)[^/].*/{ 8445 s//\1/ 8446 q 8447 } 8448 /^X\(\/\/\)$/{ 8449 s//\1/ 8450 q 8451 } 8452 /^X\(\/\).*/{ 8453 s//\1/ 8454 q 8455 } 8456 s/.*/./; q'` 8457 { as_dir="$ac_dir" 8458 case $as_dir in #( 8459 -*) as_dir=./$as_dir;; 8460 esac 8461 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8031 8462 as_dirs= 8032 while test ! -d "$as_dir"; do 8033 as_dirs="$as_dir $as_dirs" 8034 as_dir=`(dirname "$as_dir") 2>/dev/null || 8463 while :; do 8464 case $as_dir in #( 8465 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 8466 *) as_qdir=$as_dir;; 8467 esac 8468 as_dirs="'$as_qdir' $as_dirs" 8469 as_dir=`$as_dirname -- "$as_dir" || 8035 8470 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8036 8471 X"$as_dir" : 'X\(//\)[^/]' \| \ 8037 8472 X"$as_dir" : 'X\(//\)$' \| \ 8038 X"$as_dir" : 'X\(/\)' \| \ 8039 . : '\(.\)' 2>/dev/null || 8473 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8040 8474 echo X"$as_dir" | 8041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8042 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8043 /^X\(\/\/\)$/{ s//\1/; q; } 8044 /^X\(\/\).*/{ s//\1/; q; } 8045 s/.*/./; q'` 8475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8476 s//\1/ 8477 q 8478 } 8479 /^X\(\/\/\)[^/].*/{ 8480 s//\1/ 8481 q 8482 } 8483 /^X\(\/\/\)$/{ 8484 s//\1/ 8485 q 8486 } 8487 /^X\(\/\).*/{ 8488 s//\1/ 8489 q 8490 } 8491 s/.*/./; q'` 8492 test -d "$as_dir" && break 8046 8493 done 8047 test ! -n "$as_dirs" || mkdir $as_dirs8048 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58049 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}8494 test -z "$as_dirs" || eval "mkdir $as_dirs" 8495 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 8496 echo "$as_me: error: cannot create directory $as_dir" >&2;} 8050 8497 { (exit 1); exit 1; }; }; } 8051 8052 8498 ac_builddir=. 8053 8499 8054 if test "$ac_dir" != .; then 8500 case "$ac_dir" in 8501 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8502 *) 8055 8503 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8056 # A "../" for each directory in $ac_dir_suffix. 8057 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8058 else 8059 ac_dir_suffix= ac_top_builddir= 8060 fi 8504 # A ".." for each directory in $ac_dir_suffix. 8505 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 8506 case $ac_top_builddir_sub in 8507 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8508 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8509 esac ;; 8510 esac 8511 ac_abs_top_builddir=$ac_pwd 8512 ac_abs_builddir=$ac_pwd$ac_dir_suffix 8513 # for backward compatibility: 8514 ac_top_builddir=$ac_top_build_prefix 8061 8515 8062 8516 case $srcdir in 8063 .) # No --srcdir option.We are building in place.8517 .) # We are building in place. 8064 8518 ac_srcdir=. 8065 if test -z "$ac_top_builddir"; then 8066 ac_top_srcdir=. 8067 else 8068 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8069 fi ;; 8070 [\\/]* | ?:[\\/]* ) # Absolute path. 8519 ac_top_srcdir=$ac_top_builddir_sub 8520 ac_abs_top_srcdir=$ac_pwd ;; 8521 [\\/]* | ?:[\\/]* ) # Absolute name. 8071 8522 ac_srcdir=$srcdir$ac_dir_suffix; 8072 ac_top_srcdir=$srcdir ;; 8073 *) # Relative path. 8074 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8075 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8076 esac 8077 8078 # Do not use `cd foo && pwd` to compute absolute paths, because 8079 # the directories may not exist. 8080 case `pwd` in 8081 .) ac_abs_builddir="$ac_dir";; 8082 *) 8083 case "$ac_dir" in 8084 .) ac_abs_builddir=`pwd`;; 8085 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8086 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8087 esac;; 8088 esac 8089 case $ac_abs_builddir in 8090 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8091 *) 8092 case ${ac_top_builddir}. in 8093 .) ac_abs_top_builddir=$ac_abs_builddir;; 8094 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8095 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8096 esac;; 8097 esac 8098 case $ac_abs_builddir in 8099 .) ac_abs_srcdir=$ac_srcdir;; 8100 *) 8101 case $ac_srcdir in 8102 .) ac_abs_srcdir=$ac_abs_builddir;; 8103 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8104 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8105 esac;; 8106 esac 8107 case $ac_abs_builddir in 8108 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8109 *) 8110 case $ac_top_srcdir in 8111 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8112 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8113 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8114 esac;; 8115 esac 8116 8523 ac_top_srcdir=$srcdir 8524 ac_abs_top_srcdir=$srcdir ;; 8525 *) # Relative name. 8526 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8527 ac_top_srcdir=$ac_top_build_prefix$srcdir 8528 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8529 esac 8530 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8531 8532 8533 case $ac_mode in 8534 :F) 8535 # 8536 # CONFIG_FILE 8537 # 8117 8538 8118 8539 case $INSTALL in 8119 8540 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8120 *) ac_INSTALL=$ac_top_build dir$INSTALL ;;8541 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8121 8542 esac 8122 8123 if test x"$ac_file" != x-; then 8124 { echo "$as_me:$LINENO: creating $ac_file" >&5 8125 echo "$as_me: creating $ac_file" >&6;} 8126 rm -f "$ac_file" 8127 fi 8128 # Let's still pretend it is `configure' which instantiates (i.e., don't 8129 # use $as_me), people would be surprised to read: 8130 # /* config.h. Generated by config.status. */ 8131 if test x"$ac_file" = x-; then 8132 configure_input= 8133 else 8134 configure_input="$ac_file. " 8135 fi 8136 configure_input=$configure_input"Generated from `echo $ac_file_in | 8137 sed 's,.*/,,'` by configure." 8138 8139 # First look for the input files in the build tree, otherwise in the 8140 # src tree. 8141 ac_file_inputs=`IFS=: 8142 for f in $ac_file_in; do 8143 case $f in 8144 -) echo $tmp/stdin ;; 8145 [\\/$]*) 8146 # Absolute (can't be DOS-style, as IFS=:) 8147 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8148 echo "$as_me: error: cannot find input file: $f" >&2;} 8149 { (exit 1); exit 1; }; } 8150 echo "$f";; 8151 *) # Relative 8152 if test -f "$f"; then 8153 # Build tree 8154 echo "$f" 8155 elif test -f "$srcdir/$f"; then 8156 # Source tree 8157 echo "$srcdir/$f" 8158 else 8159 # /dev/null tree 8160 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8161 echo "$as_me: error: cannot find input file: $f" >&2;} 8162 { (exit 1); exit 1; }; } 8163 fi;; 8164 esac 8165 done` || { (exit 1); exit 1; } 8166 _ACEOF 8543 _ACEOF 8544 8545 cat >>$CONFIG_STATUS <<\_ACEOF 8546 # If the template does not know about datarootdir, expand it. 8547 # FIXME: This hack should be removed a few years after 2.60. 8548 ac_datarootdir_hack=; ac_datarootdir_seen= 8549 8550 case `sed -n '/datarootdir/ { 8551 p 8552 q 8553 } 8554 /@datadir@/p 8555 /@docdir@/p 8556 /@infodir@/p 8557 /@localedir@/p 8558 /@mandir@/p 8559 ' $ac_file_inputs` in 8560 *datarootdir*) ac_datarootdir_seen=yes;; 8561 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 8562 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 8563 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 8564 _ACEOF 8565 cat >>$CONFIG_STATUS <<_ACEOF 8566 ac_datarootdir_hack=' 8567 s&@datadir@&$datadir&g 8568 s&@docdir@&$docdir&g 8569 s&@infodir@&$infodir&g 8570 s&@localedir@&$localedir&g 8571 s&@mandir@&$mandir&g 8572 s&\\\${datarootdir}&$datarootdir&g' ;; 8573 esac 8574 _ACEOF 8575 8576 # Neutralize VPATH when `$srcdir' = `.'. 8577 # Shell code in configure.ac might set extrasub. 8578 # FIXME: do we really want to maintain this feature? 8167 8579 cat >>$CONFIG_STATUS <<_ACEOF 8168 8580 sed "$ac_vpsub … … 8172 8584 :t 8173 8585 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8174 s,@configure_input@,$configure_input,;t t 8175 s,@srcdir@,$ac_srcdir,;t t 8176 s,@abs_srcdir@,$ac_abs_srcdir,;t t 8177 s,@top_srcdir@,$ac_top_srcdir,;t t 8178 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 8179 s,@builddir@,$ac_builddir,;t t 8180 s,@abs_builddir@,$ac_abs_builddir,;t t 8181 s,@top_builddir@,$ac_top_builddir,;t t 8182 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 8183 s,@INSTALL@,$ac_INSTALL,;t t 8184 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 8185 rm -f $tmp/stdin 8186 if test x"$ac_file" != x-; then 8187 mv $tmp/out $ac_file 8188 else 8189 cat $tmp/out 8190 rm -f $tmp/out 8191 fi 8192 8193 done 8194 _ACEOF 8195 cat >>$CONFIG_STATUS <<\_ACEOF 8196 8197 # 8198 # CONFIG_HEADER section. 8199 # 8200 8201 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 8202 # NAME is the cpp macro being defined and VALUE is the value it is being given. 8203 # 8204 # ac_d sets the value in "#define NAME VALUE" lines. 8205 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 8206 ac_dB='[ ].*$,\1#\2' 8586 s&@configure_input@&$configure_input&;t t 8587 s&@top_builddir@&$ac_top_builddir_sub&;t t 8588 s&@srcdir@&$ac_srcdir&;t t 8589 s&@abs_srcdir@&$ac_abs_srcdir&;t t 8590 s&@top_srcdir@&$ac_top_srcdir&;t t 8591 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 8592 s&@builddir@&$ac_builddir&;t t 8593 s&@abs_builddir@&$ac_abs_builddir&;t t 8594 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 8595 s&@INSTALL@&$ac_INSTALL&;t t 8596 $ac_datarootdir_hack 8597 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 8598 8599 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 8600 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 8601 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 8602 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8603 which seems to be undefined. Please make sure it is defined." >&5 8604 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8605 which seems to be undefined. Please make sure it is defined." >&2;} 8606 8607 rm -f "$tmp/stdin" 8608 case $ac_file in 8609 -) cat "$tmp/out"; rm -f "$tmp/out";; 8610 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 8611 esac 8612 ;; 8613 :H) 8614 # 8615 # CONFIG_HEADER 8616 # 8617 _ACEOF 8618 8619 # Transform confdefs.h into a sed script `conftest.defines', that 8620 # substitutes the proper values into config.h.in to produce config.h. 8621 rm -f conftest.defines conftest.tail 8622 # First, append a space to every undef/define line, to ease matching. 8623 echo 's/$/ /' >conftest.defines 8624 # Then, protect against being on the right side of a sed subst, or in 8625 # an unquoted here document, in config.status. If some macros were 8626 # called several times there might be several #defines for the same 8627 # symbol, which is useless. But do not sort them, since the last 8628 # AC_DEFINE must be honored. 8629 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 8630 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where 8631 # NAME is the cpp macro being defined, VALUE is the value it is being given. 8632 # PARAMS is the parameter list in the macro definition--in most cases, it's 8633 # just an empty string. 8634 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' 8635 ac_dB='\\)[ (].*,\\1define\\2' 8207 8636 ac_dC=' ' 8208 ac_dD=',;t' 8209 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 8210 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 8211 ac_uB='$,\1#\2define\3' 8212 ac_uC=' ' 8213 ac_uD=',;t' 8214 8215 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 8216 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8217 case $ac_file in 8218 - | *:- | *:-:* ) # input from stdin 8219 cat >$tmp/stdin 8220 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8221 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8222 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8223 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 8224 * ) ac_file_in=$ac_file.in ;; 8225 esac 8226 8227 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 8228 echo "$as_me: creating $ac_file" >&6;} 8229 8230 # First look for the input files in the build tree, otherwise in the 8231 # src tree. 8232 ac_file_inputs=`IFS=: 8233 for f in $ac_file_in; do 8234 case $f in 8235 -) echo $tmp/stdin ;; 8236 [\\/$]*) 8237 # Absolute (can't be DOS-style, as IFS=:) 8238 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8239 echo "$as_me: error: cannot find input file: $f" >&2;} 8240 { (exit 1); exit 1; }; } 8241 # Do quote $f, to prevent DOS paths from being IFS'd. 8242 echo "$f";; 8243 *) # Relative 8244 if test -f "$f"; then 8245 # Build tree 8246 echo "$f" 8247 elif test -f "$srcdir/$f"; then 8248 # Source tree 8249 echo "$srcdir/$f" 8250 else 8251 # /dev/null tree 8252 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 8253 echo "$as_me: error: cannot find input file: $f" >&2;} 8254 { (exit 1); exit 1; }; } 8255 fi;; 8256 esac 8257 done` || { (exit 1); exit 1; } 8258 # Remove the trailing spaces. 8259 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 8260 8261 _ACEOF 8262 8263 # Transform confdefs.h into two sed scripts, `conftest.defines' and 8264 # `conftest.undefs', that substitutes the proper values into 8265 # config.h.in to produce config.h. The first handles `#define' 8266 # templates, and the second `#undef' templates. 8267 # And first: Protect against being on the right side of a sed subst in 8268 # config.status. Protect against being in an unquoted here document 8269 # in config.status. 8270 rm -f conftest.defines conftest.undefs 8271 # Using a here document instead of a string reduces the quoting nightmare. 8272 # Putting comments in sed scripts is not portable. 8273 # 8274 # `end' is used to avoid that the second main sed command (meant for 8275 # 0-ary CPP macros) applies to n-ary macro definitions. 8276 # See the Autoconf documentation for `clear'. 8277 cat >confdef2sed.sed <<\_ACEOF 8278 s/[\\&,]/\\&/g 8279 s,[\\$`],\\&,g 8280 t clear 8281 : clear 8282 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 8283 t end 8284 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 8285 : end 8286 _ACEOF 8287 # If some macros were called several times there might be several times 8288 # the same #defines, which is useless. Nevertheless, we may not want to 8289 # sort them, since we want the *last* AC-DEFINE to be honored. 8290 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 8291 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 8292 rm -f confdef2sed.sed 8293 8294 # This sed command replaces #undef with comments. This is necessary, for 8637 ac_dD=' ,' 8638 8639 uniq confdefs.h | 8640 sed -n ' 8641 t rset 8642 :rset 8643 s/^[ ]*#[ ]*define[ ][ ]*// 8644 t ok 8645 d 8646 :ok 8647 s/[\\&,]/\\&/g 8648 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p 8649 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p 8650 ' >>conftest.defines 8651 8652 # Remove the space that was appended to ease matching. 8653 # Then replace #undef with comments. This is necessary, for 8295 8654 # example, in the case of _POSIX_SOURCE, which is predefined and required 8296 8655 # on some systems where configure will not decide to define it. 8297 cat >>conftest.undefs <<\_ACEOF 8298 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 8299 _ACEOF 8300 8301 # Break up conftest.defines because some shells have a limit on the size 8302 # of here documents, and old seds have small limits too (100 cmds). 8303 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 8304 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 8305 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 8306 echo ' :' >>$CONFIG_STATUS 8307 rm -f conftest.tail 8308 while grep . conftest.defines >/dev/null 8656 # (The regexp can be short, since the line contains either #define or #undef.) 8657 echo 's/ $// 8658 s,^[ #]*u.*,/* & */,' >>conftest.defines 8659 8660 # Break up conftest.defines: 8661 ac_max_sed_lines=50 8662 8663 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" 8664 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" 8665 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" 8666 # et cetera. 8667 ac_in='$ac_file_inputs' 8668 ac_out='"$tmp/out1"' 8669 ac_nxt='"$tmp/out2"' 8670 8671 while : 8309 8672 do 8310 # Write a limited-size here document to $tmp/defines.sed. 8311 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 8312 # Speed up: don't consider the non `#define' lines. 8313 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 8314 # Work around the forget-to-reset-the-flag bug. 8315 echo 't clr' >>$CONFIG_STATUS 8316 echo ': clr' >>$CONFIG_STATUS 8317 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 8673 # Write a here document: 8674 cat >>$CONFIG_STATUS <<_ACEOF 8675 # First, check the format of the line: 8676 cat >"\$tmp/defines.sed" <<\\CEOF 8677 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def 8678 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def 8679 b 8680 :def 8681 _ACEOF 8682 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS 8318 8683 echo 'CEOF 8319 sed -f $tmp/defines.sed $tmp/in >$tmp/out 8320 rm -f $tmp/in 8321 mv $tmp/out $tmp/in 8322 ' >>$CONFIG_STATUS 8323 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 8684 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS 8685 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in 8686 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail 8687 grep . conftest.tail >/dev/null || break 8324 8688 rm -f conftest.defines 8325 8689 mv conftest.tail conftest.defines 8326 8690 done 8327 rm -f conftest.defines 8328 echo ' fi # grep' >>$CONFIG_STATUS 8329 echo >>$CONFIG_STATUS 8330 8331 # Break up conftest.undefs because some shells have a limit on the size 8332 # of here documents, and old seds have small limits too (100 cmds). 8333 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 8334 rm -f conftest.tail 8335 while grep . conftest.undefs >/dev/null 8336 do 8337 # Write a limited-size here document to $tmp/undefs.sed. 8338 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 8339 # Speed up: don't consider the non `#undef' 8340 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 8341 # Work around the forget-to-reset-the-flag bug. 8342 echo 't clr' >>$CONFIG_STATUS 8343 echo ': clr' >>$CONFIG_STATUS 8344 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 8345 echo 'CEOF 8346 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 8347 rm -f $tmp/in 8348 mv $tmp/out $tmp/in 8349 ' >>$CONFIG_STATUS 8350 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 8351 rm -f conftest.undefs 8352 mv conftest.tail conftest.undefs 8353 done 8354 rm -f conftest.undefs 8355 8691 rm -f conftest.defines conftest.tail 8692 8693 echo "ac_result=$ac_in" >>$CONFIG_STATUS 8356 8694 cat >>$CONFIG_STATUS <<\_ACEOF 8357 # Let's still pretend it is `configure' which instantiates (i.e., don't8358 # use $as_me), people would be surprised to read:8359 # /* config.h. Generated by config.status. */8360 if test x"$ac_file" = x-; then8361 echo "/* Generated by configure. */" >$tmp/config.h8362 else8363 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h8364 fi8365 cat $tmp/in >>$tmp/config.h8366 rm -f $tmp/in8367 8695 if test x"$ac_file" != x-; then 8368 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 8696 echo "/* $configure_input */" >"$tmp/config.h" 8697 cat "$ac_result" >>"$tmp/config.h" 8698 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 8369 8699 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 8370 8700 echo "$as_me: $ac_file is unchanged" >&6;} 8371 8701 else 8372 ac_dir=`(dirname "$ac_file") 2>/dev/null ||8373 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8374 X"$ac_file" : 'X\(//\)[^/]' \| \8375 X"$ac_file" : 'X\(//\)$' \| \8376 X"$ac_file" : 'X\(/\)' \| \8377 . : '\(.\)' 2>/dev/null ||8378 echo X"$ac_file" |8379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }8380 /^X\(\/\/\)[^/].*/{ s//\1/; q; }8381 /^X\(\/\/\)$/{ s//\1/; q; }8382 /^X\(\/\).*/{ s//\1/; q; }8383 s/.*/./; q'`8384 { if $as_mkdir_p; then8385 mkdir -p "$ac_dir"8386 else8387 as_dir="$ac_dir"8388 as_dirs=8389 while test ! -d "$as_dir"; do8390 as_dirs="$as_dir $as_dirs"8391 as_dir=`(dirname "$as_dir") 2>/dev/null ||8392 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \8393 X"$as_dir" : 'X\(//\)[^/]' \| \8394 X"$as_dir" : 'X\(//\)$' \| \8395 X"$as_dir" : 'X\(/\)' \| \8396 . : '\(.\)' 2>/dev/null ||8397 echo X"$as_dir" |8398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }8399 /^X\(\/\/\)[^/].*/{ s//\1/; q; }8400 /^X\(\/\/\)$/{ s//\1/; q; }8401 /^X\(\/\).*/{ s//\1/; q; }8402 s/.*/./; q'`8403 done8404 test ! -n "$as_dirs" || mkdir $as_dirs8405 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58406 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}8407 { (exit 1); exit 1; }; }; }8408 8409 8702 rm -f $ac_file 8410 mv $tmp/config.h$ac_file8703 mv "$tmp/config.h" $ac_file 8411 8704 fi 8412 8705 else 8413 cat $tmp/config.h8414 rm -f $tmp/config.h8706 echo "/* $configure_input */" 8707 cat "$ac_result" 8415 8708 fi 8416 done 8417 _ACEOF 8418 8419 cat >>$CONFIG_STATUS <<\_ACEOF 8709 rm -f "$tmp/out12" 8710 ;; 8711 8712 8713 esac 8714 8715 done # for ac_tag 8716 8420 8717 8421 8718 { (exit 0); exit 0; } … … 8454 8751 ac_sub_configure_args= 8455 8752 ac_prev= 8456 for ac_arg in $ac_configure_args; do 8753 eval "set x $ac_configure_args" 8754 shift 8755 for ac_arg 8756 do 8457 8757 if test -n "$ac_prev"; then 8458 8758 ac_prev= … … 8477 8777 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 8478 8778 ;; 8479 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 8779 *) 8780 case $ac_arg in 8781 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 8782 esac 8783 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;; 8480 8784 esac 8481 8785 done … … 8483 8787 # Always prepend --prefix to ensure using the same prefix 8484 8788 # in subdir configurations. 8485 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 8789 ac_arg="--prefix=$prefix" 8790 case $ac_arg in 8791 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 8792 esac 8793 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 8794 8795 # Pass --silent 8796 if test "$silent" = yes; then 8797 ac_sub_configure_args="--silent $ac_sub_configure_args" 8798 fi 8486 8799 8487 8800 ac_popdir=`pwd` … … 8490 8803 # Do not complain, so a configure script can configure whichever 8491 8804 # parts of a large source tree are present. 8492 test -d $srcdir/$ac_dir || continue 8493 8494 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 8495 echo "$as_me: configuring in $ac_dir" >&6;} 8496 { if $as_mkdir_p; then 8497 mkdir -p "$ac_dir" 8498 else 8499 as_dir="$ac_dir" 8805 test -d "$srcdir/$ac_dir" || continue 8806 8807 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 8808 echo "$as_me:$LINENO: $ac_msg" >&5 8809 echo "$ac_msg" >&6 8810 { as_dir="$ac_dir" 8811 case $as_dir in #( 8812 -*) as_dir=./$as_dir;; 8813 esac 8814 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 8500 8815 as_dirs= 8501 while test ! -d "$as_dir"; do 8502 as_dirs="$as_dir $as_dirs" 8503 as_dir=`(dirname "$as_dir") 2>/dev/null || 8816 while :; do 8817 case $as_dir in #( 8818 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 8819 *) as_qdir=$as_dir;; 8820 esac 8821 as_dirs="'$as_qdir' $as_dirs" 8822 as_dir=`$as_dirname -- "$as_dir" || 8504 8823 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8505 8824 X"$as_dir" : 'X\(//\)[^/]' \| \ 8506 8825 X"$as_dir" : 'X\(//\)$' \| \ 8507 X"$as_dir" : 'X\(/\)' \| \ 8508 . : '\(.\)' 2>/dev/null || 8826 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8509 8827 echo X"$as_dir" | 8510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8511 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8512 /^X\(\/\/\)$/{ s//\1/; q; } 8513 /^X\(\/\).*/{ s//\1/; q; } 8514 s/.*/./; q'` 8828 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8829 s//\1/ 8830 q 8831 } 8832 /^X\(\/\/\)[^/].*/{ 8833 s//\1/ 8834 q 8835 } 8836 /^X\(\/\/\)$/{ 8837 s//\1/ 8838 q 8839 } 8840 /^X\(\/\).*/{ 8841 s//\1/ 8842 q 8843 } 8844 s/.*/./; q'` 8845 test -d "$as_dir" && break 8515 8846 done 8516 test ! -n "$as_dirs" || mkdir $as_dirs8517 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&58518 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}8847 test -z "$as_dirs" || eval "mkdir $as_dirs" 8848 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 8849 echo "$as_me: error: cannot create directory $as_dir" >&2;} 8519 8850 { (exit 1); exit 1; }; }; } 8520 8521 8851 ac_builddir=. 8522 8852 8523 if test "$ac_dir" != .; then 8853 case "$ac_dir" in 8854 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8855 *) 8524 8856 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8525 # A "../" for each directory in $ac_dir_suffix. 8526 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8527 else 8528 ac_dir_suffix= ac_top_builddir= 8529 fi 8857 # A ".." for each directory in $ac_dir_suffix. 8858 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 8859 case $ac_top_builddir_sub in 8860 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8861 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8862 esac ;; 8863 esac 8864 ac_abs_top_builddir=$ac_pwd 8865 ac_abs_builddir=$ac_pwd$ac_dir_suffix 8866 # for backward compatibility: 8867 ac_top_builddir=$ac_top_build_prefix 8530 8868 8531 8869 case $srcdir in 8532 .) # No --srcdir option.We are building in place.8870 .) # We are building in place. 8533 8871 ac_srcdir=. 8534 if test -z "$ac_top_builddir"; then 8535 ac_top_srcdir=. 8536 else 8537 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 8538 fi ;; 8539 [\\/]* | ?:[\\/]* ) # Absolute path. 8872 ac_top_srcdir=$ac_top_builddir_sub 8873 ac_abs_top_srcdir=$ac_pwd ;; 8874 [\\/]* | ?:[\\/]* ) # Absolute name. 8540 8875 ac_srcdir=$srcdir$ac_dir_suffix; 8541 ac_top_srcdir=$srcdir ;; 8542 *) # Relative path. 8543 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8544 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8545 esac 8546 8547 # Do not use `cd foo && pwd` to compute absolute paths, because 8548 # the directories may not exist. 8549 case `pwd` in 8550 .) ac_abs_builddir="$ac_dir";; 8551 *) 8552 case "$ac_dir" in 8553 .) ac_abs_builddir=`pwd`;; 8554 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8555 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8556 esac;; 8557 esac 8558 case $ac_abs_builddir in 8559 .) ac_abs_top_builddir=${ac_top_builddir}.;; 8560 *) 8561 case ${ac_top_builddir}. in 8562 .) ac_abs_top_builddir=$ac_abs_builddir;; 8563 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8564 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8565 esac;; 8566 esac 8567 case $ac_abs_builddir in 8568 .) ac_abs_srcdir=$ac_srcdir;; 8569 *) 8570 case $ac_srcdir in 8571 .) ac_abs_srcdir=$ac_abs_builddir;; 8572 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8573 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8574 esac;; 8575 esac 8576 case $ac_abs_builddir in 8577 .) ac_abs_top_srcdir=$ac_top_srcdir;; 8578 *) 8579 case $ac_top_srcdir in 8580 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8581 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8582 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8583 esac;; 8584 esac 8585 8586 8587 cd $ac_dir 8876 ac_top_srcdir=$srcdir 8877 ac_abs_top_srcdir=$srcdir ;; 8878 *) # Relative name. 8879 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8880 ac_top_srcdir=$ac_top_build_prefix$srcdir 8881 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8882 esac 8883 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8884 8885 8886 cd "$ac_dir" 8588 8887 8589 8888 # Check for guested configure; otherwise get Cygnus style configure. 8590 if test -f $ac_srcdir/configure.gnu; then 8591 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 8592 elif test -f $ac_srcdir/configure; then 8593 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 8594 elif test -f $ac_srcdir/configure.in; then 8595 ac_sub_configure=$ac_configure 8889 if test -f "$ac_srcdir/configure.gnu"; then 8890 ac_sub_configure=$ac_srcdir/configure.gnu 8891 elif test -f "$ac_srcdir/configure"; then 8892 ac_sub_configure=$ac_srcdir/configure 8893 elif test -f "$ac_srcdir/configure.in"; then 8894 # This should be Cygnus configure. 8895 ac_sub_configure=$ac_aux_dir/configure 8596 8896 else 8597 8897 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 … … 8605 8905 case $cache_file in 8606 8906 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 8607 *) # Relative path.8608 ac_sub_cache_file=$ac_top_build dir$cache_file ;;8907 *) # Relative name. 8908 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 8609 8909 esac 8610 8910 8611 { echo "$as_me:$LINENO: running $ ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&58612 echo "$as_me: running $ ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}8911 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 8912 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 8613 8913 # The eval makes quoting arguments work. 8614 eval $ac_sub_configure$ac_sub_configure_args \8615 --cache-file= $ac_sub_cache_file --srcdir=$ac_srcdir||8914 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 8915 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 8616 8916 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 8617 8917 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} … … 8619 8919 fi 8620 8920 8621 cd $ac_popdir8921 cd "$ac_popdir" 8622 8922 done 8623 8923 fi -
gsdl/trunk/runtime-src/configure.in
r19825 r20848 190 190 dnl check for -lcrypt: 191 191 AC_HAVE_LIBRARY(crypt) 192 if test $ENABLE_ACCENTFOLD = 1; then193 AC_HAVE_LIBRARY(iconv)194 fi192 #if test $ENABLE_ACCENTFOLD = 1; then 193 #AC_HAVE_LIBRARY(iconv) 194 #fi 195 195 196 196 dnl Checks for header files. -
gsdl/trunk/runtime-src/src/recpt/Makefile.in
r20841 r20848 41 41 ENABLE_ACCENTFOLD = @ENABLE_ACCENTFOLD@ 42 42 ifeq ($(ENABLE_ACCENTFOLD), 1) 43 ACCENTFOLD_LIBS = $(INDEXERS_DIR)/packages/unac/libunac.a 43 ACCENTFOLD_LIBS = $(INDEXERS_DIR)/packages/unac/libunac.a $(COMMON_PACKAGES_DIR)/packages/iconv/lib/libiconv.a 44 44 else 45 45 ACCENTFOLD_LIBS = … … 110 110 LIBS = @LIBS@ $(COMMON_PACKAGES_DIR)/gdbm/lib/libgdbm.a \ 111 111 $(COMMON_PACKAGES_DIR)/expat/lib/libexpat.a \ 112 $(COMMON_PACKAGES_DIR)/iconv/lib/libiconv.a \113 112 $(ACCENTFOLD_LIBS) $(FASTCGI_LIBS) $(SQLITE_LIBS) $(Z3950_LIBS) 114 113 RANLIB = @RANLIB@
Note:
See TracChangeset
for help on using the changeset viewer.