Annotation of libaitsync/configure, revision 1.1
1.1 ! misho 1: #! /bin/sh
! 2: # Guess values for system-dependent variables and create Makefiles.
! 3: # Generated by GNU Autoconf 2.62 for libaitsync 1.0.
! 4: #
! 5: # Report bugs to <misho@aitbg.com>.
! 6: #
! 7: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
! 8: # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
! 9: # This configure script is free software; the Free Software Foundation
! 10: # gives unlimited permission to copy, distribute and modify it.
! 11: ## --------------------- ##
! 12: ## M4sh Initialization. ##
! 13: ## --------------------- ##
! 14:
! 15: # Be more Bourne compatible
! 16: DUALCASE=1; export DUALCASE # for MKS sh
! 17: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 18: emulate sh
! 19: NULLCMD=:
! 20: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 21: # is contrary to our usage. Disable this feature.
! 22: alias -g '${1+"$@"}'='"$@"'
! 23: setopt NO_GLOB_SUBST
! 24: else
! 25: case `(set -o) 2>/dev/null` in
! 26: *posix*) set -o posix ;;
! 27: esac
! 28:
! 29: fi
! 30:
! 31:
! 32:
! 33:
! 34: # PATH needs CR
! 35: # Avoid depending upon Character Ranges.
! 36: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 37: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 38: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 39: as_cr_digits='0123456789'
! 40: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 41:
! 42: as_nl='
! 43: '
! 44: export as_nl
! 45: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 46: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 47: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 48: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 49: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 50: as_echo='printf %s\n'
! 51: as_echo_n='printf %s'
! 52: else
! 53: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 54: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 55: as_echo_n='/usr/ucb/echo -n'
! 56: else
! 57: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 58: as_echo_n_body='eval
! 59: arg=$1;
! 60: case $arg in
! 61: *"$as_nl"*)
! 62: expr "X$arg" : "X\\(.*\\)$as_nl";
! 63: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 64: esac;
! 65: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 66: '
! 67: export as_echo_n_body
! 68: as_echo_n='sh -c $as_echo_n_body as_echo'
! 69: fi
! 70: export as_echo_body
! 71: as_echo='sh -c $as_echo_body as_echo'
! 72: fi
! 73:
! 74: # The user is always right.
! 75: if test "${PATH_SEPARATOR+set}" != set; then
! 76: PATH_SEPARATOR=:
! 77: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 78: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 79: PATH_SEPARATOR=';'
! 80: }
! 81: fi
! 82:
! 83: # Support unset when possible.
! 84: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 85: as_unset=unset
! 86: else
! 87: as_unset=false
! 88: fi
! 89:
! 90:
! 91: # IFS
! 92: # We need space, tab and new line, in precisely that order. Quoting is
! 93: # there to prevent editors from complaining about space-tab.
! 94: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 95: # splitting by setting IFS to empty value.)
! 96: IFS=" "" $as_nl"
! 97:
! 98: # Find who we are. Look in the path if we contain no directory separator.
! 99: case $0 in
! 100: *[\\/]* ) as_myself=$0 ;;
! 101: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 102: for as_dir in $PATH
! 103: do
! 104: IFS=$as_save_IFS
! 105: test -z "$as_dir" && as_dir=.
! 106: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 107: done
! 108: IFS=$as_save_IFS
! 109:
! 110: ;;
! 111: esac
! 112: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 113: # in which case we are not to be found in the path.
! 114: if test "x$as_myself" = x; then
! 115: as_myself=$0
! 116: fi
! 117: if test ! -f "$as_myself"; then
! 118: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 119: { (exit 1); exit 1; }
! 120: fi
! 121:
! 122: # Work around bugs in pre-3.0 UWIN ksh.
! 123: for as_var in ENV MAIL MAILPATH
! 124: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 125: done
! 126: PS1='$ '
! 127: PS2='> '
! 128: PS4='+ '
! 129:
! 130: # NLS nuisances.
! 131: LC_ALL=C
! 132: export LC_ALL
! 133: LANGUAGE=C
! 134: export LANGUAGE
! 135:
! 136: # Required to use basename.
! 137: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 138: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 139: as_expr=expr
! 140: else
! 141: as_expr=false
! 142: fi
! 143:
! 144: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 145: as_basename=basename
! 146: else
! 147: as_basename=false
! 148: fi
! 149:
! 150:
! 151: # Name of the executable.
! 152: as_me=`$as_basename -- "$0" ||
! 153: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 154: X"$0" : 'X\(//\)$' \| \
! 155: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 156: $as_echo X/"$0" |
! 157: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 158: s//\1/
! 159: q
! 160: }
! 161: /^X\/\(\/\/\)$/{
! 162: s//\1/
! 163: q
! 164: }
! 165: /^X\/\(\/\).*/{
! 166: s//\1/
! 167: q
! 168: }
! 169: s/.*/./; q'`
! 170:
! 171: # CDPATH.
! 172: $as_unset CDPATH
! 173:
! 174:
! 175: if test "x$CONFIG_SHELL" = x; then
! 176: if (eval ":") 2>/dev/null; then
! 177: as_have_required=yes
! 178: else
! 179: as_have_required=no
! 180: fi
! 181:
! 182: if test $as_have_required = yes && (eval ":
! 183: (as_func_return () {
! 184: (exit \$1)
! 185: }
! 186: as_func_success () {
! 187: as_func_return 0
! 188: }
! 189: as_func_failure () {
! 190: as_func_return 1
! 191: }
! 192: as_func_ret_success () {
! 193: return 0
! 194: }
! 195: as_func_ret_failure () {
! 196: return 1
! 197: }
! 198:
! 199: exitcode=0
! 200: if as_func_success; then
! 201: :
! 202: else
! 203: exitcode=1
! 204: echo as_func_success failed.
! 205: fi
! 206:
! 207: if as_func_failure; then
! 208: exitcode=1
! 209: echo as_func_failure succeeded.
! 210: fi
! 211:
! 212: if as_func_ret_success; then
! 213: :
! 214: else
! 215: exitcode=1
! 216: echo as_func_ret_success failed.
! 217: fi
! 218:
! 219: if as_func_ret_failure; then
! 220: exitcode=1
! 221: echo as_func_ret_failure succeeded.
! 222: fi
! 223:
! 224: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
! 225: :
! 226: else
! 227: exitcode=1
! 228: echo positional parameters were not saved.
! 229: fi
! 230:
! 231: test \$exitcode = 0) || { (exit 1); exit 1; }
! 232:
! 233: (
! 234: as_lineno_1=\$LINENO
! 235: as_lineno_2=\$LINENO
! 236: test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
! 237: test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
! 238: ") 2> /dev/null; then
! 239: :
! 240: else
! 241: as_candidate_shells=
! 242: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 243: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 244: do
! 245: IFS=$as_save_IFS
! 246: test -z "$as_dir" && as_dir=.
! 247: case $as_dir in
! 248: /*)
! 249: for as_base in sh bash ksh sh5; do
! 250: as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
! 251: done;;
! 252: esac
! 253: done
! 254: IFS=$as_save_IFS
! 255:
! 256:
! 257: for as_shell in $as_candidate_shells $SHELL; do
! 258: # Try only shells that exist, to save several forks.
! 259: if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
! 260: { ("$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: # Pre-4.2 versions of Zsh do 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: _ASEOF
! 278: }; then
! 279: CONFIG_SHELL=$as_shell
! 280: as_have_required=yes
! 281: if { "$as_shell" 2> /dev/null <<\_ASEOF
! 282: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 283: emulate sh
! 284: NULLCMD=:
! 285: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 286: # is contrary to our usage. Disable this feature.
! 287: alias -g '${1+"$@"}'='"$@"'
! 288: setopt NO_GLOB_SUBST
! 289: else
! 290: case `(set -o) 2>/dev/null` in
! 291: *posix*) set -o posix ;;
! 292: esac
! 293:
! 294: fi
! 295:
! 296:
! 297: :
! 298: (as_func_return () {
! 299: (exit $1)
! 300: }
! 301: as_func_success () {
! 302: as_func_return 0
! 303: }
! 304: as_func_failure () {
! 305: as_func_return 1
! 306: }
! 307: as_func_ret_success () {
! 308: return 0
! 309: }
! 310: as_func_ret_failure () {
! 311: return 1
! 312: }
! 313:
! 314: exitcode=0
! 315: if as_func_success; then
! 316: :
! 317: else
! 318: exitcode=1
! 319: echo as_func_success failed.
! 320: fi
! 321:
! 322: if as_func_failure; then
! 323: exitcode=1
! 324: echo as_func_failure succeeded.
! 325: fi
! 326:
! 327: if as_func_ret_success; then
! 328: :
! 329: else
! 330: exitcode=1
! 331: echo as_func_ret_success failed.
! 332: fi
! 333:
! 334: if as_func_ret_failure; then
! 335: exitcode=1
! 336: echo as_func_ret_failure succeeded.
! 337: fi
! 338:
! 339: if ( set x; as_func_ret_success y && test x = "$1" ); then
! 340: :
! 341: else
! 342: exitcode=1
! 343: echo positional parameters were not saved.
! 344: fi
! 345:
! 346: test $exitcode = 0) || { (exit 1); exit 1; }
! 347:
! 348: (
! 349: as_lineno_1=$LINENO
! 350: as_lineno_2=$LINENO
! 351: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 352: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
! 353:
! 354: _ASEOF
! 355: }; then
! 356: break
! 357: fi
! 358:
! 359: fi
! 360:
! 361: done
! 362:
! 363: if test "x$CONFIG_SHELL" != x; then
! 364: for as_var in BASH_ENV ENV
! 365: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 366: done
! 367: export CONFIG_SHELL
! 368: exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
! 369: fi
! 370:
! 371:
! 372: if test $as_have_required = no; then
! 373: echo This script requires a shell more modern than all the
! 374: echo shells that I found on your system. Please install a
! 375: echo modern shell, or manually run the script under such a
! 376: echo shell if you do have one.
! 377: { (exit 1); exit 1; }
! 378: fi
! 379:
! 380:
! 381: fi
! 382:
! 383: fi
! 384:
! 385:
! 386:
! 387: (eval "as_func_return () {
! 388: (exit \$1)
! 389: }
! 390: as_func_success () {
! 391: as_func_return 0
! 392: }
! 393: as_func_failure () {
! 394: as_func_return 1
! 395: }
! 396: as_func_ret_success () {
! 397: return 0
! 398: }
! 399: as_func_ret_failure () {
! 400: return 1
! 401: }
! 402:
! 403: exitcode=0
! 404: if as_func_success; then
! 405: :
! 406: else
! 407: exitcode=1
! 408: echo as_func_success failed.
! 409: fi
! 410:
! 411: if as_func_failure; then
! 412: exitcode=1
! 413: echo as_func_failure succeeded.
! 414: fi
! 415:
! 416: if as_func_ret_success; then
! 417: :
! 418: else
! 419: exitcode=1
! 420: echo as_func_ret_success failed.
! 421: fi
! 422:
! 423: if as_func_ret_failure; then
! 424: exitcode=1
! 425: echo as_func_ret_failure succeeded.
! 426: fi
! 427:
! 428: if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
! 429: :
! 430: else
! 431: exitcode=1
! 432: echo positional parameters were not saved.
! 433: fi
! 434:
! 435: test \$exitcode = 0") || {
! 436: echo No shell found that supports shell functions.
! 437: echo Please tell bug-autoconf@gnu.org about your system,
! 438: echo including any error possibly output before this message.
! 439: echo This can help us improve future autoconf versions.
! 440: echo Configuration will now proceed without shell functions.
! 441: }
! 442:
! 443:
! 444:
! 445: as_lineno_1=$LINENO
! 446: as_lineno_2=$LINENO
! 447: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 448: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
! 449:
! 450: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 451: # uniformly replaced by the line number. The first 'sed' inserts a
! 452: # line-number line after each line using $LINENO; the second 'sed'
! 453: # does the real work. The second script uses 'N' to pair each
! 454: # line-number line with the line containing $LINENO, and appends
! 455: # trailing '-' during substitution so that $LINENO is not a special
! 456: # case at line end.
! 457: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 458: # scripts with optimization help from Paolo Bonzini. Blame Lee
! 459: # E. McMahon (1931-1989) for sed's syntax. :-)
! 460: sed -n '
! 461: p
! 462: /[$]LINENO/=
! 463: ' <$as_myself |
! 464: sed '
! 465: s/[$]LINENO.*/&-/
! 466: t lineno
! 467: b
! 468: :lineno
! 469: N
! 470: :loop
! 471: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
! 472: t loop
! 473: s/-\n.*//
! 474: ' >$as_me.lineno &&
! 475: chmod +x "$as_me.lineno" ||
! 476: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
! 477: { (exit 1); exit 1; }; }
! 478:
! 479: # Don't try to exec as it changes $[0], causing all sort of problems
! 480: # (the dirname of $[0] is not the place where we might find the
! 481: # original and so on. Autoconf is especially sensitive to this).
! 482: . "./$as_me.lineno"
! 483: # Exit status is that of the last command.
! 484: exit
! 485: }
! 486:
! 487:
! 488: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 489: as_dirname=dirname
! 490: else
! 491: as_dirname=false
! 492: fi
! 493:
! 494: ECHO_C= ECHO_N= ECHO_T=
! 495: case `echo -n x` in
! 496: -n*)
! 497: case `echo 'x\c'` in
! 498: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 499: *) ECHO_C='\c';;
! 500: esac;;
! 501: *)
! 502: ECHO_N='-n';;
! 503: esac
! 504: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 505: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 506: as_expr=expr
! 507: else
! 508: as_expr=false
! 509: fi
! 510:
! 511: rm -f conf$$ conf$$.exe conf$$.file
! 512: if test -d conf$$.dir; then
! 513: rm -f conf$$.dir/conf$$.file
! 514: else
! 515: rm -f conf$$.dir
! 516: mkdir conf$$.dir 2>/dev/null
! 517: fi
! 518: if (echo >conf$$.file) 2>/dev/null; then
! 519: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 520: as_ln_s='ln -s'
! 521: # ... but there are two gotchas:
! 522: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 523: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 524: # In both cases, we have to default to `cp -p'.
! 525: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 526: as_ln_s='cp -p'
! 527: elif ln conf$$.file conf$$ 2>/dev/null; then
! 528: as_ln_s=ln
! 529: else
! 530: as_ln_s='cp -p'
! 531: fi
! 532: else
! 533: as_ln_s='cp -p'
! 534: fi
! 535: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 536: rmdir conf$$.dir 2>/dev/null
! 537:
! 538: if mkdir -p . 2>/dev/null; then
! 539: as_mkdir_p=:
! 540: else
! 541: test -d ./-p && rmdir ./-p
! 542: as_mkdir_p=false
! 543: fi
! 544:
! 545: if test -x / >/dev/null 2>&1; then
! 546: as_test_x='test -x'
! 547: else
! 548: if ls -dL / >/dev/null 2>&1; then
! 549: as_ls_L_option=L
! 550: else
! 551: as_ls_L_option=
! 552: fi
! 553: as_test_x='
! 554: eval sh -c '\''
! 555: if test -d "$1"; then
! 556: test -d "$1/.";
! 557: else
! 558: case $1 in
! 559: -*)set "./$1";;
! 560: esac;
! 561: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
! 562: ???[sx]*):;;*)false;;esac;fi
! 563: '\'' sh
! 564: '
! 565: fi
! 566: as_executable_p=$as_test_x
! 567:
! 568: # Sed expression to map a string onto a valid CPP name.
! 569: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 570:
! 571: # Sed expression to map a string onto a valid variable name.
! 572: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 573:
! 574:
! 575:
! 576: exec 7<&0 </dev/null 6>&1
! 577:
! 578: # Name of the host.
! 579: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
! 580: # so uname gets run too.
! 581: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
! 582:
! 583: #
! 584: # Initializations.
! 585: #
! 586: ac_default_prefix=/usr/local
! 587: ac_clean_files=
! 588: ac_config_libobj_dir=.
! 589: LIBOBJS=
! 590: cross_compiling=no
! 591: subdirs=
! 592: MFLAGS=
! 593: MAKEFLAGS=
! 594: SHELL=${CONFIG_SHELL-/bin/sh}
! 595:
! 596: # Identity of this package.
! 597: PACKAGE_NAME='libaitsync'
! 598: PACKAGE_TARNAME='libaitsync'
! 599: PACKAGE_VERSION='1.0'
! 600: PACKAGE_STRING='libaitsync 1.0'
! 601: PACKAGE_BUGREPORT='misho@aitbg.com'
! 602:
! 603: ac_unique_file="src/aitsync.c"
! 604: # Factoring default headers for most tests.
! 605: ac_includes_default="\
! 606: #include <stdio.h>
! 607: #ifdef HAVE_SYS_TYPES_H
! 608: # include <sys/types.h>
! 609: #endif
! 610: #ifdef HAVE_SYS_STAT_H
! 611: # include <sys/stat.h>
! 612: #endif
! 613: #ifdef STDC_HEADERS
! 614: # include <stdlib.h>
! 615: # include <stddef.h>
! 616: #else
! 617: # ifdef HAVE_STDLIB_H
! 618: # include <stdlib.h>
! 619: # endif
! 620: #endif
! 621: #ifdef HAVE_STRING_H
! 622: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
! 623: # include <memory.h>
! 624: # endif
! 625: # include <string.h>
! 626: #endif
! 627: #ifdef HAVE_STRINGS_H
! 628: # include <strings.h>
! 629: #endif
! 630: #ifdef HAVE_INTTYPES_H
! 631: # include <inttypes.h>
! 632: #endif
! 633: #ifdef HAVE_STDINT_H
! 634: # include <stdint.h>
! 635: #endif
! 636: #ifdef HAVE_UNISTD_H
! 637: # include <unistd.h>
! 638: #endif"
! 639:
! 640: ac_subst_vars='SHELL
! 641: PATH_SEPARATOR
! 642: PACKAGE_NAME
! 643: PACKAGE_TARNAME
! 644: PACKAGE_VERSION
! 645: PACKAGE_STRING
! 646: PACKAGE_BUGREPORT
! 647: exec_prefix
! 648: prefix
! 649: program_transform_name
! 650: bindir
! 651: sbindir
! 652: libexecdir
! 653: datarootdir
! 654: datadir
! 655: sysconfdir
! 656: sharedstatedir
! 657: localstatedir
! 658: includedir
! 659: oldincludedir
! 660: docdir
! 661: infodir
! 662: htmldir
! 663: dvidir
! 664: pdfdir
! 665: psdir
! 666: libdir
! 667: localedir
! 668: mandir
! 669: DEFS
! 670: ECHO_C
! 671: ECHO_N
! 672: ECHO_T
! 673: LIBS
! 674: build_alias
! 675: host_alias
! 676: target_alias
! 677: CC
! 678: CFLAGS
! 679: LDFLAGS
! 680: CPPFLAGS
! 681: ac_ct_CC
! 682: EXEEXT
! 683: OBJEXT
! 684: RANLIB
! 685: INSTALL_PROGRAM
! 686: INSTALL_SCRIPT
! 687: INSTALL_DATA
! 688: build
! 689: build_cpu
! 690: build_vendor
! 691: build_os
! 692: host
! 693: host_cpu
! 694: host_vendor
! 695: host_os
! 696: target
! 697: target_cpu
! 698: target_vendor
! 699: target_os
! 700: MKDEP
! 701: CPP
! 702: GREP
! 703: EGREP
! 704: LIBOBJS
! 705: LTLIBOBJS'
! 706: ac_subst_files=''
! 707: ac_user_opts='
! 708: enable_option_checking
! 709: enable_debug
! 710: '
! 711: ac_precious_vars='build_alias
! 712: host_alias
! 713: target_alias
! 714: CC
! 715: CFLAGS
! 716: LDFLAGS
! 717: LIBS
! 718: CPPFLAGS
! 719: CPP'
! 720:
! 721:
! 722: # Initialize some variables set by options.
! 723: ac_init_help=
! 724: ac_init_version=false
! 725: ac_unrecognized_opts=
! 726: ac_unrecognized_sep=
! 727: # The variables have the same names as the options, with
! 728: # dashes changed to underlines.
! 729: cache_file=/dev/null
! 730: exec_prefix=NONE
! 731: no_create=
! 732: no_recursion=
! 733: prefix=NONE
! 734: program_prefix=NONE
! 735: program_suffix=NONE
! 736: program_transform_name=s,x,x,
! 737: silent=
! 738: site=
! 739: srcdir=
! 740: verbose=
! 741: x_includes=NONE
! 742: x_libraries=NONE
! 743:
! 744: # Installation directory options.
! 745: # These are left unexpanded so users can "make install exec_prefix=/foo"
! 746: # and all the variables that are supposed to be based on exec_prefix
! 747: # by default will actually change.
! 748: # Use braces instead of parens because sh, perl, etc. also accept them.
! 749: # (The list follows the same order as the GNU Coding Standards.)
! 750: bindir='${exec_prefix}/bin'
! 751: sbindir='${exec_prefix}/sbin'
! 752: libexecdir='${exec_prefix}/libexec'
! 753: datarootdir='${prefix}/share'
! 754: datadir='${datarootdir}'
! 755: sysconfdir='${prefix}/etc'
! 756: sharedstatedir='${prefix}/com'
! 757: localstatedir='${prefix}/var'
! 758: includedir='${prefix}/include'
! 759: oldincludedir='/usr/include'
! 760: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
! 761: infodir='${datarootdir}/info'
! 762: htmldir='${docdir}'
! 763: dvidir='${docdir}'
! 764: pdfdir='${docdir}'
! 765: psdir='${docdir}'
! 766: libdir='${exec_prefix}/lib'
! 767: localedir='${datarootdir}/locale'
! 768: mandir='${datarootdir}/man'
! 769:
! 770: ac_prev=
! 771: ac_dashdash=
! 772: for ac_option
! 773: do
! 774: # If the previous option needs an argument, assign it.
! 775: if test -n "$ac_prev"; then
! 776: eval $ac_prev=\$ac_option
! 777: ac_prev=
! 778: continue
! 779: fi
! 780:
! 781: case $ac_option in
! 782: *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
! 783: *) ac_optarg=yes ;;
! 784: esac
! 785:
! 786: # Accept the important Cygnus configure options, so we can diagnose typos.
! 787:
! 788: case $ac_dashdash$ac_option in
! 789: --)
! 790: ac_dashdash=yes ;;
! 791:
! 792: -bindir | --bindir | --bindi | --bind | --bin | --bi)
! 793: ac_prev=bindir ;;
! 794: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
! 795: bindir=$ac_optarg ;;
! 796:
! 797: -build | --build | --buil | --bui | --bu)
! 798: ac_prev=build_alias ;;
! 799: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
! 800: build_alias=$ac_optarg ;;
! 801:
! 802: -cache-file | --cache-file | --cache-fil | --cache-fi \
! 803: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
! 804: ac_prev=cache_file ;;
! 805: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
! 806: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
! 807: cache_file=$ac_optarg ;;
! 808:
! 809: --config-cache | -C)
! 810: cache_file=config.cache ;;
! 811:
! 812: -datadir | --datadir | --datadi | --datad)
! 813: ac_prev=datadir ;;
! 814: -datadir=* | --datadir=* | --datadi=* | --datad=*)
! 815: datadir=$ac_optarg ;;
! 816:
! 817: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
! 818: | --dataroo | --dataro | --datar)
! 819: ac_prev=datarootdir ;;
! 820: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
! 821: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
! 822: datarootdir=$ac_optarg ;;
! 823:
! 824: -disable-* | --disable-*)
! 825: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
! 826: # Reject names that are not valid shell variable names.
! 827: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 828: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
! 829: { (exit 1); exit 1; }; }
! 830: ac_useropt_orig=$ac_useropt
! 831: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 832: case $ac_user_opts in
! 833: *"
! 834: "enable_$ac_useropt"
! 835: "*) ;;
! 836: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
! 837: ac_unrecognized_sep=', ';;
! 838: esac
! 839: eval enable_$ac_useropt=no ;;
! 840:
! 841: -docdir | --docdir | --docdi | --doc | --do)
! 842: ac_prev=docdir ;;
! 843: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
! 844: docdir=$ac_optarg ;;
! 845:
! 846: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
! 847: ac_prev=dvidir ;;
! 848: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
! 849: dvidir=$ac_optarg ;;
! 850:
! 851: -enable-* | --enable-*)
! 852: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
! 853: # Reject names that are not valid shell variable names.
! 854: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 855: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
! 856: { (exit 1); exit 1; }; }
! 857: ac_useropt_orig=$ac_useropt
! 858: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 859: case $ac_user_opts in
! 860: *"
! 861: "enable_$ac_useropt"
! 862: "*) ;;
! 863: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
! 864: ac_unrecognized_sep=', ';;
! 865: esac
! 866: eval enable_$ac_useropt=\$ac_optarg ;;
! 867:
! 868: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
! 869: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
! 870: | --exec | --exe | --ex)
! 871: ac_prev=exec_prefix ;;
! 872: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
! 873: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
! 874: | --exec=* | --exe=* | --ex=*)
! 875: exec_prefix=$ac_optarg ;;
! 876:
! 877: -gas | --gas | --ga | --g)
! 878: # Obsolete; use --with-gas.
! 879: with_gas=yes ;;
! 880:
! 881: -help | --help | --hel | --he | -h)
! 882: ac_init_help=long ;;
! 883: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
! 884: ac_init_help=recursive ;;
! 885: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
! 886: ac_init_help=short ;;
! 887:
! 888: -host | --host | --hos | --ho)
! 889: ac_prev=host_alias ;;
! 890: -host=* | --host=* | --hos=* | --ho=*)
! 891: host_alias=$ac_optarg ;;
! 892:
! 893: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
! 894: ac_prev=htmldir ;;
! 895: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
! 896: | --ht=*)
! 897: htmldir=$ac_optarg ;;
! 898:
! 899: -includedir | --includedir | --includedi | --included | --include \
! 900: | --includ | --inclu | --incl | --inc)
! 901: ac_prev=includedir ;;
! 902: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
! 903: | --includ=* | --inclu=* | --incl=* | --inc=*)
! 904: includedir=$ac_optarg ;;
! 905:
! 906: -infodir | --infodir | --infodi | --infod | --info | --inf)
! 907: ac_prev=infodir ;;
! 908: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
! 909: infodir=$ac_optarg ;;
! 910:
! 911: -libdir | --libdir | --libdi | --libd)
! 912: ac_prev=libdir ;;
! 913: -libdir=* | --libdir=* | --libdi=* | --libd=*)
! 914: libdir=$ac_optarg ;;
! 915:
! 916: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
! 917: | --libexe | --libex | --libe)
! 918: ac_prev=libexecdir ;;
! 919: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
! 920: | --libexe=* | --libex=* | --libe=*)
! 921: libexecdir=$ac_optarg ;;
! 922:
! 923: -localedir | --localedir | --localedi | --localed | --locale)
! 924: ac_prev=localedir ;;
! 925: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
! 926: localedir=$ac_optarg ;;
! 927:
! 928: -localstatedir | --localstatedir | --localstatedi | --localstated \
! 929: | --localstate | --localstat | --localsta | --localst | --locals)
! 930: ac_prev=localstatedir ;;
! 931: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
! 932: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
! 933: localstatedir=$ac_optarg ;;
! 934:
! 935: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
! 936: ac_prev=mandir ;;
! 937: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
! 938: mandir=$ac_optarg ;;
! 939:
! 940: -nfp | --nfp | --nf)
! 941: # Obsolete; use --without-fp.
! 942: with_fp=no ;;
! 943:
! 944: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
! 945: | --no-cr | --no-c | -n)
! 946: no_create=yes ;;
! 947:
! 948: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
! 949: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
! 950: no_recursion=yes ;;
! 951:
! 952: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
! 953: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
! 954: | --oldin | --oldi | --old | --ol | --o)
! 955: ac_prev=oldincludedir ;;
! 956: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
! 957: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
! 958: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
! 959: oldincludedir=$ac_optarg ;;
! 960:
! 961: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
! 962: ac_prev=prefix ;;
! 963: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
! 964: prefix=$ac_optarg ;;
! 965:
! 966: -program-prefix | --program-prefix | --program-prefi | --program-pref \
! 967: | --program-pre | --program-pr | --program-p)
! 968: ac_prev=program_prefix ;;
! 969: -program-prefix=* | --program-prefix=* | --program-prefi=* \
! 970: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
! 971: program_prefix=$ac_optarg ;;
! 972:
! 973: -program-suffix | --program-suffix | --program-suffi | --program-suff \
! 974: | --program-suf | --program-su | --program-s)
! 975: ac_prev=program_suffix ;;
! 976: -program-suffix=* | --program-suffix=* | --program-suffi=* \
! 977: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
! 978: program_suffix=$ac_optarg ;;
! 979:
! 980: -program-transform-name | --program-transform-name \
! 981: | --program-transform-nam | --program-transform-na \
! 982: | --program-transform-n | --program-transform- \
! 983: | --program-transform | --program-transfor \
! 984: | --program-transfo | --program-transf \
! 985: | --program-trans | --program-tran \
! 986: | --progr-tra | --program-tr | --program-t)
! 987: ac_prev=program_transform_name ;;
! 988: -program-transform-name=* | --program-transform-name=* \
! 989: | --program-transform-nam=* | --program-transform-na=* \
! 990: | --program-transform-n=* | --program-transform-=* \
! 991: | --program-transform=* | --program-transfor=* \
! 992: | --program-transfo=* | --program-transf=* \
! 993: | --program-trans=* | --program-tran=* \
! 994: | --progr-tra=* | --program-tr=* | --program-t=*)
! 995: program_transform_name=$ac_optarg ;;
! 996:
! 997: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
! 998: ac_prev=pdfdir ;;
! 999: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
! 1000: pdfdir=$ac_optarg ;;
! 1001:
! 1002: -psdir | --psdir | --psdi | --psd | --ps)
! 1003: ac_prev=psdir ;;
! 1004: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
! 1005: psdir=$ac_optarg ;;
! 1006:
! 1007: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1008: | -silent | --silent | --silen | --sile | --sil)
! 1009: silent=yes ;;
! 1010:
! 1011: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
! 1012: ac_prev=sbindir ;;
! 1013: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
! 1014: | --sbi=* | --sb=*)
! 1015: sbindir=$ac_optarg ;;
! 1016:
! 1017: -sharedstatedir | --sharedstatedir | --sharedstatedi \
! 1018: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
! 1019: | --sharedst | --shareds | --shared | --share | --shar \
! 1020: | --sha | --sh)
! 1021: ac_prev=sharedstatedir ;;
! 1022: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
! 1023: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
! 1024: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
! 1025: | --sha=* | --sh=*)
! 1026: sharedstatedir=$ac_optarg ;;
! 1027:
! 1028: -site | --site | --sit)
! 1029: ac_prev=site ;;
! 1030: -site=* | --site=* | --sit=*)
! 1031: site=$ac_optarg ;;
! 1032:
! 1033: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
! 1034: ac_prev=srcdir ;;
! 1035: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
! 1036: srcdir=$ac_optarg ;;
! 1037:
! 1038: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
! 1039: | --syscon | --sysco | --sysc | --sys | --sy)
! 1040: ac_prev=sysconfdir ;;
! 1041: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
! 1042: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
! 1043: sysconfdir=$ac_optarg ;;
! 1044:
! 1045: -target | --target | --targe | --targ | --tar | --ta | --t)
! 1046: ac_prev=target_alias ;;
! 1047: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
! 1048: target_alias=$ac_optarg ;;
! 1049:
! 1050: -v | -verbose | --verbose | --verbos | --verbo | --verb)
! 1051: verbose=yes ;;
! 1052:
! 1053: -version | --version | --versio | --versi | --vers | -V)
! 1054: ac_init_version=: ;;
! 1055:
! 1056: -with-* | --with-*)
! 1057: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
! 1058: # Reject names that are not valid shell variable names.
! 1059: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1060: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
! 1061: { (exit 1); exit 1; }; }
! 1062: ac_useropt_orig=$ac_useropt
! 1063: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1064: case $ac_user_opts in
! 1065: *"
! 1066: "with_$ac_useropt"
! 1067: "*) ;;
! 1068: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
! 1069: ac_unrecognized_sep=', ';;
! 1070: esac
! 1071: eval with_$ac_useropt=\$ac_optarg ;;
! 1072:
! 1073: -without-* | --without-*)
! 1074: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
! 1075: # Reject names that are not valid shell variable names.
! 1076: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
! 1077: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
! 1078: { (exit 1); exit 1; }; }
! 1079: ac_useropt_orig=$ac_useropt
! 1080: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
! 1081: case $ac_user_opts in
! 1082: *"
! 1083: "with_$ac_useropt"
! 1084: "*) ;;
! 1085: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
! 1086: ac_unrecognized_sep=', ';;
! 1087: esac
! 1088: eval with_$ac_useropt=no ;;
! 1089:
! 1090: --x)
! 1091: # Obsolete; use --with-x.
! 1092: with_x=yes ;;
! 1093:
! 1094: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
! 1095: | --x-incl | --x-inc | --x-in | --x-i)
! 1096: ac_prev=x_includes ;;
! 1097: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
! 1098: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
! 1099: x_includes=$ac_optarg ;;
! 1100:
! 1101: -x-libraries | --x-libraries | --x-librarie | --x-librari \
! 1102: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
! 1103: ac_prev=x_libraries ;;
! 1104: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
! 1105: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
! 1106: x_libraries=$ac_optarg ;;
! 1107:
! 1108: -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
! 1109: Try \`$0 --help' for more information." >&2
! 1110: { (exit 1); exit 1; }; }
! 1111: ;;
! 1112:
! 1113: *=*)
! 1114: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
! 1115: # Reject names that are not valid shell variable names.
! 1116: expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
! 1117: { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
! 1118: { (exit 1); exit 1; }; }
! 1119: eval $ac_envvar=\$ac_optarg
! 1120: export $ac_envvar ;;
! 1121:
! 1122: *)
! 1123: # FIXME: should be removed in autoconf 3.0.
! 1124: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
! 1125: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
! 1126: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
! 1127: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
! 1128: ;;
! 1129:
! 1130: esac
! 1131: done
! 1132:
! 1133: if test -n "$ac_prev"; then
! 1134: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
! 1135: { $as_echo "$as_me: error: missing argument to $ac_option" >&2
! 1136: { (exit 1); exit 1; }; }
! 1137: fi
! 1138:
! 1139: if test -n "$ac_unrecognized_opts"; then
! 1140: case $enable_option_checking in
! 1141: no) ;;
! 1142: fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
! 1143: { (exit 1); exit 1; }; } ;;
! 1144: *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
! 1145: esac
! 1146: fi
! 1147:
! 1148: # Check all directory arguments for consistency.
! 1149: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
! 1150: datadir sysconfdir sharedstatedir localstatedir includedir \
! 1151: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
! 1152: libdir localedir mandir
! 1153: do
! 1154: eval ac_val=\$$ac_var
! 1155: # Remove trailing slashes.
! 1156: case $ac_val in
! 1157: */ )
! 1158: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
! 1159: eval $ac_var=\$ac_val;;
! 1160: esac
! 1161: # Be sure to have absolute directory names.
! 1162: case $ac_val in
! 1163: [\\/$]* | ?:[\\/]* ) continue;;
! 1164: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
! 1165: esac
! 1166: { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
! 1167: { (exit 1); exit 1; }; }
! 1168: done
! 1169:
! 1170: # There might be people who depend on the old broken behavior: `$host'
! 1171: # used to hold the argument of --host etc.
! 1172: # FIXME: To remove some day.
! 1173: build=$build_alias
! 1174: host=$host_alias
! 1175: target=$target_alias
! 1176:
! 1177: # FIXME: To remove some day.
! 1178: if test "x$host_alias" != x; then
! 1179: if test "x$build_alias" = x; then
! 1180: cross_compiling=maybe
! 1181: $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
! 1182: If a cross compiler is detected then cross compile mode will be used." >&2
! 1183: elif test "x$build_alias" != "x$host_alias"; then
! 1184: cross_compiling=yes
! 1185: fi
! 1186: fi
! 1187:
! 1188: ac_tool_prefix=
! 1189: test -n "$host_alias" && ac_tool_prefix=$host_alias-
! 1190:
! 1191: test "$silent" = yes && exec 6>/dev/null
! 1192:
! 1193:
! 1194: ac_pwd=`pwd` && test -n "$ac_pwd" &&
! 1195: ac_ls_di=`ls -di .` &&
! 1196: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
! 1197: { $as_echo "$as_me: error: Working directory cannot be determined" >&2
! 1198: { (exit 1); exit 1; }; }
! 1199: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
! 1200: { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
! 1201: { (exit 1); exit 1; }; }
! 1202:
! 1203:
! 1204: # Find the source files, if location was not specified.
! 1205: if test -z "$srcdir"; then
! 1206: ac_srcdir_defaulted=yes
! 1207: # Try the directory containing this script, then the parent directory.
! 1208: ac_confdir=`$as_dirname -- "$as_myself" ||
! 1209: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 1210: X"$as_myself" : 'X\(//\)[^/]' \| \
! 1211: X"$as_myself" : 'X\(//\)$' \| \
! 1212: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
! 1213: $as_echo X"$as_myself" |
! 1214: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 1215: s//\1/
! 1216: q
! 1217: }
! 1218: /^X\(\/\/\)[^/].*/{
! 1219: s//\1/
! 1220: q
! 1221: }
! 1222: /^X\(\/\/\)$/{
! 1223: s//\1/
! 1224: q
! 1225: }
! 1226: /^X\(\/\).*/{
! 1227: s//\1/
! 1228: q
! 1229: }
! 1230: s/.*/./; q'`
! 1231: srcdir=$ac_confdir
! 1232: if test ! -r "$srcdir/$ac_unique_file"; then
! 1233: srcdir=..
! 1234: fi
! 1235: else
! 1236: ac_srcdir_defaulted=no
! 1237: fi
! 1238: if test ! -r "$srcdir/$ac_unique_file"; then
! 1239: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
! 1240: { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
! 1241: { (exit 1); exit 1; }; }
! 1242: fi
! 1243: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
! 1244: ac_abs_confdir=`(
! 1245: cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
! 1246: { (exit 1); exit 1; }; }
! 1247: pwd)`
! 1248: # When building in place, set srcdir=.
! 1249: if test "$ac_abs_confdir" = "$ac_pwd"; then
! 1250: srcdir=.
! 1251: fi
! 1252: # Remove unnecessary trailing slashes from srcdir.
! 1253: # Double slashes in file names in object file debugging info
! 1254: # mess up M-x gdb in Emacs.
! 1255: case $srcdir in
! 1256: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
! 1257: esac
! 1258: for ac_var in $ac_precious_vars; do
! 1259: eval ac_env_${ac_var}_set=\${${ac_var}+set}
! 1260: eval ac_env_${ac_var}_value=\$${ac_var}
! 1261: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
! 1262: eval ac_cv_env_${ac_var}_value=\$${ac_var}
! 1263: done
! 1264:
! 1265: #
! 1266: # Report the --help message.
! 1267: #
! 1268: if test "$ac_init_help" = "long"; then
! 1269: # Omit some internal or obsolete options to make the list less imposing.
! 1270: # This message is too long to be a string in the A/UX 3.1 sh.
! 1271: cat <<_ACEOF
! 1272: \`configure' configures libaitsync 1.0 to adapt to many kinds of systems.
! 1273:
! 1274: Usage: $0 [OPTION]... [VAR=VALUE]...
! 1275:
! 1276: To assign environment variables (e.g., CC, CFLAGS...), specify them as
! 1277: VAR=VALUE. See below for descriptions of some of the useful variables.
! 1278:
! 1279: Defaults for the options are specified in brackets.
! 1280:
! 1281: Configuration:
! 1282: -h, --help display this help and exit
! 1283: --help=short display options specific to this package
! 1284: --help=recursive display the short help of all the included packages
! 1285: -V, --version display version information and exit
! 1286: -q, --quiet, --silent do not print \`checking...' messages
! 1287: --cache-file=FILE cache test results in FILE [disabled]
! 1288: -C, --config-cache alias for \`--cache-file=config.cache'
! 1289: -n, --no-create do not create output files
! 1290: --srcdir=DIR find the sources in DIR [configure dir or \`..']
! 1291:
! 1292: Installation directories:
! 1293: --prefix=PREFIX install architecture-independent files in PREFIX
! 1294: [$ac_default_prefix]
! 1295: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
! 1296: [PREFIX]
! 1297:
! 1298: By default, \`make install' will install all the files in
! 1299: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
! 1300: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
! 1301: for instance \`--prefix=\$HOME'.
! 1302:
! 1303: For better control, use the options below.
! 1304:
! 1305: Fine tuning of the installation directories:
! 1306: --bindir=DIR user executables [EPREFIX/bin]
! 1307: --sbindir=DIR system admin executables [EPREFIX/sbin]
! 1308: --libexecdir=DIR program executables [EPREFIX/libexec]
! 1309: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
! 1310: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
! 1311: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
! 1312: --libdir=DIR object code libraries [EPREFIX/lib]
! 1313: --includedir=DIR C header files [PREFIX/include]
! 1314: --oldincludedir=DIR C header files for non-gcc [/usr/include]
! 1315: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
! 1316: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
! 1317: --infodir=DIR info documentation [DATAROOTDIR/info]
! 1318: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
! 1319: --mandir=DIR man documentation [DATAROOTDIR/man]
! 1320: --docdir=DIR documentation root [DATAROOTDIR/doc/libaitsync]
! 1321: --htmldir=DIR html documentation [DOCDIR]
! 1322: --dvidir=DIR dvi documentation [DOCDIR]
! 1323: --pdfdir=DIR pdf documentation [DOCDIR]
! 1324: --psdir=DIR ps documentation [DOCDIR]
! 1325: _ACEOF
! 1326:
! 1327: cat <<\_ACEOF
! 1328:
! 1329: System types:
! 1330: --build=BUILD configure for building on BUILD [guessed]
! 1331: --host=HOST cross-compile to build programs to run on HOST [BUILD]
! 1332: --target=TARGET configure for building compilers for TARGET [HOST]
! 1333: _ACEOF
! 1334: fi
! 1335:
! 1336: if test -n "$ac_init_help"; then
! 1337: case $ac_init_help in
! 1338: short | recursive ) echo "Configuration of libaitsync 1.0:";;
! 1339: esac
! 1340: cat <<\_ACEOF
! 1341:
! 1342: Optional Features:
! 1343: --disable-option-checking ignore unrecognized --enable/--with options
! 1344: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
! 1345: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
! 1346: --enable-debug Build library with debug information and additional messages
! 1347:
! 1348: Some influential environment variables:
! 1349: CC C compiler command
! 1350: CFLAGS C compiler flags
! 1351: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 1352: nonstandard directory <lib dir>
! 1353: LIBS libraries to pass to the linker, e.g. -l<library>
! 1354: CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
! 1355: you have headers in a nonstandard directory <include dir>
! 1356: CPP C preprocessor
! 1357:
! 1358: Use these variables to override the choices made by `configure' or to help
! 1359: it to find libraries and programs with nonstandard names/locations.
! 1360:
! 1361: Report bugs to <misho@aitbg.com>.
! 1362: _ACEOF
! 1363: ac_status=$?
! 1364: fi
! 1365:
! 1366: if test "$ac_init_help" = "recursive"; then
! 1367: # If there are subdirs, report their specific --help.
! 1368: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! 1369: test -d "$ac_dir" ||
! 1370: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
! 1371: continue
! 1372: ac_builddir=.
! 1373:
! 1374: case "$ac_dir" in
! 1375: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1376: *)
! 1377: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 1378: # A ".." for each directory in $ac_dir_suffix.
! 1379: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 1380: case $ac_top_builddir_sub in
! 1381: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 1382: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 1383: esac ;;
! 1384: esac
! 1385: ac_abs_top_builddir=$ac_pwd
! 1386: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 1387: # for backward compatibility:
! 1388: ac_top_builddir=$ac_top_build_prefix
! 1389:
! 1390: case $srcdir in
! 1391: .) # We are building in place.
! 1392: ac_srcdir=.
! 1393: ac_top_srcdir=$ac_top_builddir_sub
! 1394: ac_abs_top_srcdir=$ac_pwd ;;
! 1395: [\\/]* | ?:[\\/]* ) # Absolute name.
! 1396: ac_srcdir=$srcdir$ac_dir_suffix;
! 1397: ac_top_srcdir=$srcdir
! 1398: ac_abs_top_srcdir=$srcdir ;;
! 1399: *) # Relative name.
! 1400: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 1401: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 1402: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 1403: esac
! 1404: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 1405:
! 1406: cd "$ac_dir" || { ac_status=$?; continue; }
! 1407: # Check for guested configure.
! 1408: if test -f "$ac_srcdir/configure.gnu"; then
! 1409: echo &&
! 1410: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
! 1411: elif test -f "$ac_srcdir/configure"; then
! 1412: echo &&
! 1413: $SHELL "$ac_srcdir/configure" --help=recursive
! 1414: else
! 1415: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 1416: fi || ac_status=$?
! 1417: cd "$ac_pwd" || { ac_status=$?; break; }
! 1418: done
! 1419: fi
! 1420:
! 1421: test -n "$ac_init_help" && exit $ac_status
! 1422: if $ac_init_version; then
! 1423: cat <<\_ACEOF
! 1424: libaitsync configure 1.0
! 1425: generated by GNU Autoconf 2.62
! 1426:
! 1427: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
! 1428: 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
! 1429: This configure script is free software; the Free Software Foundation
! 1430: gives unlimited permission to copy, distribute and modify it.
! 1431: _ACEOF
! 1432: exit
! 1433: fi
! 1434: cat >config.log <<_ACEOF
! 1435: This file contains any messages produced by compilers while
! 1436: running configure, to aid debugging if configure makes a mistake.
! 1437:
! 1438: It was created by libaitsync $as_me 1.0, which was
! 1439: generated by GNU Autoconf 2.62. Invocation command line was
! 1440:
! 1441: $ $0 $@
! 1442:
! 1443: _ACEOF
! 1444: exec 5>>config.log
! 1445: {
! 1446: cat <<_ASUNAME
! 1447: ## --------- ##
! 1448: ## Platform. ##
! 1449: ## --------- ##
! 1450:
! 1451: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! 1452: uname -m = `(uname -m) 2>/dev/null || echo unknown`
! 1453: uname -r = `(uname -r) 2>/dev/null || echo unknown`
! 1454: uname -s = `(uname -s) 2>/dev/null || echo unknown`
! 1455: uname -v = `(uname -v) 2>/dev/null || echo unknown`
! 1456:
! 1457: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! 1458: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
! 1459:
! 1460: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
! 1461: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
! 1462: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
! 1463: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
! 1464: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
! 1465: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
! 1466: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
! 1467:
! 1468: _ASUNAME
! 1469:
! 1470: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1471: for as_dir in $PATH
! 1472: do
! 1473: IFS=$as_save_IFS
! 1474: test -z "$as_dir" && as_dir=.
! 1475: $as_echo "PATH: $as_dir"
! 1476: done
! 1477: IFS=$as_save_IFS
! 1478:
! 1479: } >&5
! 1480:
! 1481: cat >&5 <<_ACEOF
! 1482:
! 1483:
! 1484: ## ----------- ##
! 1485: ## Core tests. ##
! 1486: ## ----------- ##
! 1487:
! 1488: _ACEOF
! 1489:
! 1490:
! 1491: # Keep a trace of the command line.
! 1492: # Strip out --no-create and --no-recursion so they do not pile up.
! 1493: # Strip out --silent because we don't want to record it for future runs.
! 1494: # Also quote any args containing shell meta-characters.
! 1495: # Make two passes to allow for proper duplicate-argument suppression.
! 1496: ac_configure_args=
! 1497: ac_configure_args0=
! 1498: ac_configure_args1=
! 1499: ac_must_keep_next=false
! 1500: for ac_pass in 1 2
! 1501: do
! 1502: for ac_arg
! 1503: do
! 1504: case $ac_arg in
! 1505: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
! 1506: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1507: | -silent | --silent | --silen | --sile | --sil)
! 1508: continue ;;
! 1509: *\'*)
! 1510: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1511: esac
! 1512: case $ac_pass in
! 1513: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
! 1514: 2)
! 1515: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
! 1516: if test $ac_must_keep_next = true; then
! 1517: ac_must_keep_next=false # Got value, back to normal.
! 1518: else
! 1519: case $ac_arg in
! 1520: *=* | --config-cache | -C | -disable-* | --disable-* \
! 1521: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
! 1522: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
! 1523: | -with-* | --with-* | -without-* | --without-* | --x)
! 1524: case "$ac_configure_args0 " in
! 1525: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
! 1526: esac
! 1527: ;;
! 1528: -* ) ac_must_keep_next=true ;;
! 1529: esac
! 1530: fi
! 1531: ac_configure_args="$ac_configure_args '$ac_arg'"
! 1532: ;;
! 1533: esac
! 1534: done
! 1535: done
! 1536: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
! 1537: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
! 1538:
! 1539: # When interrupted or exit'd, cleanup temporary files, and complete
! 1540: # config.log. We remove comments because anyway the quotes in there
! 1541: # would cause problems or look ugly.
! 1542: # WARNING: Use '\'' to represent an apostrophe within the trap.
! 1543: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
! 1544: trap 'exit_status=$?
! 1545: # Save into config.log some information that might help in debugging.
! 1546: {
! 1547: echo
! 1548:
! 1549: cat <<\_ASBOX
! 1550: ## ---------------- ##
! 1551: ## Cache variables. ##
! 1552: ## ---------------- ##
! 1553: _ASBOX
! 1554: echo
! 1555: # The following way of writing the cache mishandles newlines in values,
! 1556: (
! 1557: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
! 1558: eval ac_val=\$$ac_var
! 1559: case $ac_val in #(
! 1560: *${as_nl}*)
! 1561: case $ac_var in #(
! 1562: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
! 1563: $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
! 1564: esac
! 1565: case $ac_var in #(
! 1566: _ | IFS | as_nl) ;; #(
! 1567: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 1568: *) $as_unset $ac_var ;;
! 1569: esac ;;
! 1570: esac
! 1571: done
! 1572: (set) 2>&1 |
! 1573: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
! 1574: *${as_nl}ac_space=\ *)
! 1575: sed -n \
! 1576: "s/'\''/'\''\\\\'\'''\''/g;
! 1577: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
! 1578: ;; #(
! 1579: *)
! 1580: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 1581: ;;
! 1582: esac |
! 1583: sort
! 1584: )
! 1585: echo
! 1586:
! 1587: cat <<\_ASBOX
! 1588: ## ----------------- ##
! 1589: ## Output variables. ##
! 1590: ## ----------------- ##
! 1591: _ASBOX
! 1592: echo
! 1593: for ac_var in $ac_subst_vars
! 1594: do
! 1595: eval ac_val=\$$ac_var
! 1596: case $ac_val in
! 1597: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 1598: esac
! 1599: $as_echo "$ac_var='\''$ac_val'\''"
! 1600: done | sort
! 1601: echo
! 1602:
! 1603: if test -n "$ac_subst_files"; then
! 1604: cat <<\_ASBOX
! 1605: ## ------------------- ##
! 1606: ## File substitutions. ##
! 1607: ## ------------------- ##
! 1608: _ASBOX
! 1609: echo
! 1610: for ac_var in $ac_subst_files
! 1611: do
! 1612: eval ac_val=\$$ac_var
! 1613: case $ac_val in
! 1614: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
! 1615: esac
! 1616: $as_echo "$ac_var='\''$ac_val'\''"
! 1617: done | sort
! 1618: echo
! 1619: fi
! 1620:
! 1621: if test -s confdefs.h; then
! 1622: cat <<\_ASBOX
! 1623: ## ----------- ##
! 1624: ## confdefs.h. ##
! 1625: ## ----------- ##
! 1626: _ASBOX
! 1627: echo
! 1628: cat confdefs.h
! 1629: echo
! 1630: fi
! 1631: test "$ac_signal" != 0 &&
! 1632: $as_echo "$as_me: caught signal $ac_signal"
! 1633: $as_echo "$as_me: exit $exit_status"
! 1634: } >&5
! 1635: rm -f core *.core core.conftest.* &&
! 1636: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
! 1637: exit $exit_status
! 1638: ' 0
! 1639: for ac_signal in 1 2 13 15; do
! 1640: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
! 1641: done
! 1642: ac_signal=0
! 1643:
! 1644: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 1645: rm -f -r conftest* confdefs.h
! 1646:
! 1647: # Predefined preprocessor variables.
! 1648:
! 1649: cat >>confdefs.h <<_ACEOF
! 1650: #define PACKAGE_NAME "$PACKAGE_NAME"
! 1651: _ACEOF
! 1652:
! 1653:
! 1654: cat >>confdefs.h <<_ACEOF
! 1655: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
! 1656: _ACEOF
! 1657:
! 1658:
! 1659: cat >>confdefs.h <<_ACEOF
! 1660: #define PACKAGE_VERSION "$PACKAGE_VERSION"
! 1661: _ACEOF
! 1662:
! 1663:
! 1664: cat >>confdefs.h <<_ACEOF
! 1665: #define PACKAGE_STRING "$PACKAGE_STRING"
! 1666: _ACEOF
! 1667:
! 1668:
! 1669: cat >>confdefs.h <<_ACEOF
! 1670: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! 1671: _ACEOF
! 1672:
! 1673:
! 1674: # Let the site file select an alternate cache file if it wants to.
! 1675: # Prefer an explicitly selected file to automatically selected ones.
! 1676: ac_site_file1=NONE
! 1677: ac_site_file2=NONE
! 1678: if test -n "$CONFIG_SITE"; then
! 1679: ac_site_file1=$CONFIG_SITE
! 1680: elif test "x$prefix" != xNONE; then
! 1681: ac_site_file1=$prefix/share/config.site
! 1682: ac_site_file2=$prefix/etc/config.site
! 1683: else
! 1684: ac_site_file1=$ac_default_prefix/share/config.site
! 1685: ac_site_file2=$ac_default_prefix/etc/config.site
! 1686: fi
! 1687: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
! 1688: do
! 1689: test "x$ac_site_file" = xNONE && continue
! 1690: if test -r "$ac_site_file"; then
! 1691: { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
! 1692: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
! 1693: sed 's/^/| /' "$ac_site_file" >&5
! 1694: . "$ac_site_file"
! 1695: fi
! 1696: done
! 1697:
! 1698: if test -r "$cache_file"; then
! 1699: # Some versions of bash will fail to source /dev/null (special
! 1700: # files actually), so we avoid doing that.
! 1701: if test -f "$cache_file"; then
! 1702: { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
! 1703: $as_echo "$as_me: loading cache $cache_file" >&6;}
! 1704: case $cache_file in
! 1705: [\\/]* | ?:[\\/]* ) . "$cache_file";;
! 1706: *) . "./$cache_file";;
! 1707: esac
! 1708: fi
! 1709: else
! 1710: { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
! 1711: $as_echo "$as_me: creating cache $cache_file" >&6;}
! 1712: >$cache_file
! 1713: fi
! 1714:
! 1715: # Check that the precious variables saved in the cache have kept the same
! 1716: # value.
! 1717: ac_cache_corrupted=false
! 1718: for ac_var in $ac_precious_vars; do
! 1719: eval ac_old_set=\$ac_cv_env_${ac_var}_set
! 1720: eval ac_new_set=\$ac_env_${ac_var}_set
! 1721: eval ac_old_val=\$ac_cv_env_${ac_var}_value
! 1722: eval ac_new_val=\$ac_env_${ac_var}_value
! 1723: case $ac_old_set,$ac_new_set in
! 1724: set,)
! 1725: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 1726: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
! 1727: ac_cache_corrupted=: ;;
! 1728: ,set)
! 1729: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
! 1730: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! 1731: ac_cache_corrupted=: ;;
! 1732: ,);;
! 1733: *)
! 1734: if test "x$ac_old_val" != "x$ac_new_val"; then
! 1735: # differences in whitespace do not lead to failure.
! 1736: ac_old_val_w=`echo x $ac_old_val`
! 1737: ac_new_val_w=`echo x $ac_new_val`
! 1738: if test "$ac_old_val_w" != "$ac_new_val_w"; then
! 1739: { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
! 1740: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 1741: ac_cache_corrupted=:
! 1742: else
! 1743: { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
! 1744: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
! 1745: eval $ac_var=\$ac_old_val
! 1746: fi
! 1747: { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
! 1748: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
! 1749: { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
! 1750: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
! 1751: fi;;
! 1752: esac
! 1753: # Pass precious variables to config.status.
! 1754: if test "$ac_new_set" = set; then
! 1755: case $ac_new_val in
! 1756: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1757: *) ac_arg=$ac_var=$ac_new_val ;;
! 1758: esac
! 1759: case " $ac_configure_args " in
! 1760: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! 1761: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
! 1762: esac
! 1763: fi
! 1764: done
! 1765: if $ac_cache_corrupted; then
! 1766: { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
! 1767: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 1768: { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
! 1769: $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
! 1770: { (exit 1); exit 1; }; }
! 1771: fi
! 1772:
! 1773:
! 1774:
! 1775:
! 1776:
! 1777:
! 1778:
! 1779:
! 1780:
! 1781:
! 1782:
! 1783:
! 1784:
! 1785:
! 1786:
! 1787:
! 1788:
! 1789:
! 1790:
! 1791:
! 1792:
! 1793:
! 1794:
! 1795:
! 1796:
! 1797: ac_ext=c
! 1798: ac_cpp='$CPP $CPPFLAGS'
! 1799: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1800: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1801: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1802:
! 1803:
! 1804:
! 1805: ac_config_headers="$ac_config_headers inc/config.h"
! 1806:
! 1807:
! 1808: # Checks for programs.
! 1809: ac_ext=c
! 1810: ac_cpp='$CPP $CPPFLAGS'
! 1811: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1812: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1813: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1814: if test -n "$ac_tool_prefix"; then
! 1815: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 1816: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 1817: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1818: $as_echo_n "checking for $ac_word... " >&6; }
! 1819: if test "${ac_cv_prog_CC+set}" = set; then
! 1820: $as_echo_n "(cached) " >&6
! 1821: else
! 1822: if test -n "$CC"; then
! 1823: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1824: else
! 1825: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1826: for as_dir in $PATH
! 1827: do
! 1828: IFS=$as_save_IFS
! 1829: test -z "$as_dir" && as_dir=.
! 1830: for ac_exec_ext in '' $ac_executable_extensions; do
! 1831: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 1832: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 1833: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1834: break 2
! 1835: fi
! 1836: done
! 1837: done
! 1838: IFS=$as_save_IFS
! 1839:
! 1840: fi
! 1841: fi
! 1842: CC=$ac_cv_prog_CC
! 1843: if test -n "$CC"; then
! 1844: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 1845: $as_echo "$CC" >&6; }
! 1846: else
! 1847: { $as_echo "$as_me:$LINENO: result: no" >&5
! 1848: $as_echo "no" >&6; }
! 1849: fi
! 1850:
! 1851:
! 1852: fi
! 1853: if test -z "$ac_cv_prog_CC"; then
! 1854: ac_ct_CC=$CC
! 1855: # Extract the first word of "gcc", so it can be a program name with args.
! 1856: set dummy gcc; ac_word=$2
! 1857: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1858: $as_echo_n "checking for $ac_word... " >&6; }
! 1859: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 1860: $as_echo_n "(cached) " >&6
! 1861: else
! 1862: if test -n "$ac_ct_CC"; then
! 1863: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 1864: else
! 1865: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1866: for as_dir in $PATH
! 1867: do
! 1868: IFS=$as_save_IFS
! 1869: test -z "$as_dir" && as_dir=.
! 1870: for ac_exec_ext in '' $ac_executable_extensions; do
! 1871: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 1872: ac_cv_prog_ac_ct_CC="gcc"
! 1873: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1874: break 2
! 1875: fi
! 1876: done
! 1877: done
! 1878: IFS=$as_save_IFS
! 1879:
! 1880: fi
! 1881: fi
! 1882: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 1883: if test -n "$ac_ct_CC"; then
! 1884: { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 1885: $as_echo "$ac_ct_CC" >&6; }
! 1886: else
! 1887: { $as_echo "$as_me:$LINENO: result: no" >&5
! 1888: $as_echo "no" >&6; }
! 1889: fi
! 1890:
! 1891: if test "x$ac_ct_CC" = x; then
! 1892: CC=""
! 1893: else
! 1894: case $cross_compiling:$ac_tool_warned in
! 1895: yes:)
! 1896: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
! 1897: whose name does not start with the host triplet. If you think this
! 1898: configuration is useful to you, please write to autoconf@gnu.org." >&5
! 1899: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
! 1900: whose name does not start with the host triplet. If you think this
! 1901: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
! 1902: ac_tool_warned=yes ;;
! 1903: esac
! 1904: CC=$ac_ct_CC
! 1905: fi
! 1906: else
! 1907: CC="$ac_cv_prog_CC"
! 1908: fi
! 1909:
! 1910: if test -z "$CC"; then
! 1911: if test -n "$ac_tool_prefix"; then
! 1912: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 1913: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 1914: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1915: $as_echo_n "checking for $ac_word... " >&6; }
! 1916: if test "${ac_cv_prog_CC+set}" = set; then
! 1917: $as_echo_n "(cached) " >&6
! 1918: else
! 1919: if test -n "$CC"; then
! 1920: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1921: else
! 1922: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1923: for as_dir in $PATH
! 1924: do
! 1925: IFS=$as_save_IFS
! 1926: test -z "$as_dir" && as_dir=.
! 1927: for ac_exec_ext in '' $ac_executable_extensions; do
! 1928: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 1929: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 1930: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1931: break 2
! 1932: fi
! 1933: done
! 1934: done
! 1935: IFS=$as_save_IFS
! 1936:
! 1937: fi
! 1938: fi
! 1939: CC=$ac_cv_prog_CC
! 1940: if test -n "$CC"; then
! 1941: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 1942: $as_echo "$CC" >&6; }
! 1943: else
! 1944: { $as_echo "$as_me:$LINENO: result: no" >&5
! 1945: $as_echo "no" >&6; }
! 1946: fi
! 1947:
! 1948:
! 1949: fi
! 1950: fi
! 1951: if test -z "$CC"; then
! 1952: # Extract the first word of "cc", so it can be a program name with args.
! 1953: set dummy cc; ac_word=$2
! 1954: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1955: $as_echo_n "checking for $ac_word... " >&6; }
! 1956: if test "${ac_cv_prog_CC+set}" = set; then
! 1957: $as_echo_n "(cached) " >&6
! 1958: else
! 1959: if test -n "$CC"; then
! 1960: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1961: else
! 1962: ac_prog_rejected=no
! 1963: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1964: for as_dir in $PATH
! 1965: do
! 1966: IFS=$as_save_IFS
! 1967: test -z "$as_dir" && as_dir=.
! 1968: for ac_exec_ext in '' $ac_executable_extensions; do
! 1969: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 1970: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 1971: ac_prog_rejected=yes
! 1972: continue
! 1973: fi
! 1974: ac_cv_prog_CC="cc"
! 1975: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1976: break 2
! 1977: fi
! 1978: done
! 1979: done
! 1980: IFS=$as_save_IFS
! 1981:
! 1982: if test $ac_prog_rejected = yes; then
! 1983: # We found a bogon in the path, so make sure we never use it.
! 1984: set dummy $ac_cv_prog_CC
! 1985: shift
! 1986: if test $# != 0; then
! 1987: # We chose a different compiler from the bogus one.
! 1988: # However, it has the same basename, so the bogon will be chosen
! 1989: # first if we set CC to just the basename; use the full file name.
! 1990: shift
! 1991: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
! 1992: fi
! 1993: fi
! 1994: fi
! 1995: fi
! 1996: CC=$ac_cv_prog_CC
! 1997: if test -n "$CC"; then
! 1998: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 1999: $as_echo "$CC" >&6; }
! 2000: else
! 2001: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2002: $as_echo "no" >&6; }
! 2003: fi
! 2004:
! 2005:
! 2006: fi
! 2007: if test -z "$CC"; then
! 2008: if test -n "$ac_tool_prefix"; then
! 2009: for ac_prog in cl.exe
! 2010: do
! 2011: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 2012: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 2013: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2014: $as_echo_n "checking for $ac_word... " >&6; }
! 2015: if test "${ac_cv_prog_CC+set}" = set; then
! 2016: $as_echo_n "(cached) " >&6
! 2017: else
! 2018: if test -n "$CC"; then
! 2019: ac_cv_prog_CC="$CC" # Let the user override the test.
! 2020: else
! 2021: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2022: for as_dir in $PATH
! 2023: do
! 2024: IFS=$as_save_IFS
! 2025: test -z "$as_dir" && as_dir=.
! 2026: for ac_exec_ext in '' $ac_executable_extensions; do
! 2027: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2028: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 2029: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2030: break 2
! 2031: fi
! 2032: done
! 2033: done
! 2034: IFS=$as_save_IFS
! 2035:
! 2036: fi
! 2037: fi
! 2038: CC=$ac_cv_prog_CC
! 2039: if test -n "$CC"; then
! 2040: { $as_echo "$as_me:$LINENO: result: $CC" >&5
! 2041: $as_echo "$CC" >&6; }
! 2042: else
! 2043: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2044: $as_echo "no" >&6; }
! 2045: fi
! 2046:
! 2047:
! 2048: test -n "$CC" && break
! 2049: done
! 2050: fi
! 2051: if test -z "$CC"; then
! 2052: ac_ct_CC=$CC
! 2053: for ac_prog in cl.exe
! 2054: do
! 2055: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 2056: set dummy $ac_prog; ac_word=$2
! 2057: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2058: $as_echo_n "checking for $ac_word... " >&6; }
! 2059: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 2060: $as_echo_n "(cached) " >&6
! 2061: else
! 2062: if test -n "$ac_ct_CC"; then
! 2063: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 2064: else
! 2065: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2066: for as_dir in $PATH
! 2067: do
! 2068: IFS=$as_save_IFS
! 2069: test -z "$as_dir" && as_dir=.
! 2070: for ac_exec_ext in '' $ac_executable_extensions; do
! 2071: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2072: ac_cv_prog_ac_ct_CC="$ac_prog"
! 2073: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2074: break 2
! 2075: fi
! 2076: done
! 2077: done
! 2078: IFS=$as_save_IFS
! 2079:
! 2080: fi
! 2081: fi
! 2082: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 2083: if test -n "$ac_ct_CC"; then
! 2084: { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 2085: $as_echo "$ac_ct_CC" >&6; }
! 2086: else
! 2087: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2088: $as_echo "no" >&6; }
! 2089: fi
! 2090:
! 2091:
! 2092: test -n "$ac_ct_CC" && break
! 2093: done
! 2094:
! 2095: if test "x$ac_ct_CC" = x; then
! 2096: CC=""
! 2097: else
! 2098: case $cross_compiling:$ac_tool_warned in
! 2099: yes:)
! 2100: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
! 2101: whose name does not start with the host triplet. If you think this
! 2102: configuration is useful to you, please write to autoconf@gnu.org." >&5
! 2103: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
! 2104: whose name does not start with the host triplet. If you think this
! 2105: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
! 2106: ac_tool_warned=yes ;;
! 2107: esac
! 2108: CC=$ac_ct_CC
! 2109: fi
! 2110: fi
! 2111:
! 2112: fi
! 2113:
! 2114:
! 2115: test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
! 2116: See \`config.log' for more details." >&5
! 2117: $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
! 2118: See \`config.log' for more details." >&2;}
! 2119: { (exit 1); exit 1; }; }
! 2120:
! 2121: # Provide some information about the compiler.
! 2122: $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
! 2123: set X $ac_compile
! 2124: ac_compiler=$2
! 2125: { (ac_try="$ac_compiler --version >&5"
! 2126: case "(($ac_try" in
! 2127: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2128: *) ac_try_echo=$ac_try;;
! 2129: esac
! 2130: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2131: $as_echo "$ac_try_echo") >&5
! 2132: (eval "$ac_compiler --version >&5") 2>&5
! 2133: ac_status=$?
! 2134: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2135: (exit $ac_status); }
! 2136: { (ac_try="$ac_compiler -v >&5"
! 2137: case "(($ac_try" in
! 2138: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2139: *) ac_try_echo=$ac_try;;
! 2140: esac
! 2141: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2142: $as_echo "$ac_try_echo") >&5
! 2143: (eval "$ac_compiler -v >&5") 2>&5
! 2144: ac_status=$?
! 2145: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2146: (exit $ac_status); }
! 2147: { (ac_try="$ac_compiler -V >&5"
! 2148: case "(($ac_try" in
! 2149: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2150: *) ac_try_echo=$ac_try;;
! 2151: esac
! 2152: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2153: $as_echo "$ac_try_echo") >&5
! 2154: (eval "$ac_compiler -V >&5") 2>&5
! 2155: ac_status=$?
! 2156: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2157: (exit $ac_status); }
! 2158:
! 2159: cat >conftest.$ac_ext <<_ACEOF
! 2160: /* confdefs.h. */
! 2161: _ACEOF
! 2162: cat confdefs.h >>conftest.$ac_ext
! 2163: cat >>conftest.$ac_ext <<_ACEOF
! 2164: /* end confdefs.h. */
! 2165:
! 2166: int
! 2167: main ()
! 2168: {
! 2169:
! 2170: ;
! 2171: return 0;
! 2172: }
! 2173: _ACEOF
! 2174: ac_clean_files_save=$ac_clean_files
! 2175: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
! 2176: # Try to create an executable without -o first, disregard a.out.
! 2177: # It will help us diagnose broken compilers, and finding out an intuition
! 2178: # of exeext.
! 2179: { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
! 2180: $as_echo_n "checking for C compiler default output file name... " >&6; }
! 2181: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 2182:
! 2183: # The possible output files:
! 2184: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
! 2185:
! 2186: ac_rmfiles=
! 2187: for ac_file in $ac_files
! 2188: do
! 2189: case $ac_file in
! 2190: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 2191: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
! 2192: esac
! 2193: done
! 2194: rm -f $ac_rmfiles
! 2195:
! 2196: if { (ac_try="$ac_link_default"
! 2197: case "(($ac_try" in
! 2198: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2199: *) ac_try_echo=$ac_try;;
! 2200: esac
! 2201: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2202: $as_echo "$ac_try_echo") >&5
! 2203: (eval "$ac_link_default") 2>&5
! 2204: ac_status=$?
! 2205: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2206: (exit $ac_status); }; then
! 2207: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
! 2208: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
! 2209: # in a Makefile. We should not override ac_cv_exeext if it was cached,
! 2210: # so that the user can short-circuit this test for compilers unknown to
! 2211: # Autoconf.
! 2212: for ac_file in $ac_files ''
! 2213: do
! 2214: test -f "$ac_file" || continue
! 2215: case $ac_file in
! 2216: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
! 2217: ;;
! 2218: [ab].out )
! 2219: # We found the default executable, but exeext='' is most
! 2220: # certainly right.
! 2221: break;;
! 2222: *.* )
! 2223: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
! 2224: then :; else
! 2225: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2226: fi
! 2227: # We set ac_cv_exeext here because the later test for it is not
! 2228: # safe: cross compilers may not add the suffix if given an `-o'
! 2229: # argument, so we may need to know it at that point already.
! 2230: # Even if this section looks crufty: it has the advantage of
! 2231: # actually working.
! 2232: break;;
! 2233: * )
! 2234: break;;
! 2235: esac
! 2236: done
! 2237: test "$ac_cv_exeext" = no && ac_cv_exeext=
! 2238:
! 2239: else
! 2240: ac_file=''
! 2241: fi
! 2242:
! 2243: { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
! 2244: $as_echo "$ac_file" >&6; }
! 2245: if test -z "$ac_file"; then
! 2246: $as_echo "$as_me: failed program was:" >&5
! 2247: sed 's/^/| /' conftest.$ac_ext >&5
! 2248:
! 2249: { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
! 2250: See \`config.log' for more details." >&5
! 2251: $as_echo "$as_me: error: C compiler cannot create executables
! 2252: See \`config.log' for more details." >&2;}
! 2253: { (exit 77); exit 77; }; }
! 2254: fi
! 2255:
! 2256: ac_exeext=$ac_cv_exeext
! 2257:
! 2258: # Check that the compiler produces executables we can run. If not, either
! 2259: # the compiler is broken, or we cross compile.
! 2260: { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
! 2261: $as_echo_n "checking whether the C compiler works... " >&6; }
! 2262: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
! 2263: # If not cross compiling, check that we can run a simple program.
! 2264: if test "$cross_compiling" != yes; then
! 2265: if { ac_try='./$ac_file'
! 2266: { (case "(($ac_try" in
! 2267: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2268: *) ac_try_echo=$ac_try;;
! 2269: esac
! 2270: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2271: $as_echo "$ac_try_echo") >&5
! 2272: (eval "$ac_try") 2>&5
! 2273: ac_status=$?
! 2274: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2275: (exit $ac_status); }; }; then
! 2276: cross_compiling=no
! 2277: else
! 2278: if test "$cross_compiling" = maybe; then
! 2279: cross_compiling=yes
! 2280: else
! 2281: { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
! 2282: If you meant to cross compile, use \`--host'.
! 2283: See \`config.log' for more details." >&5
! 2284: $as_echo "$as_me: error: cannot run C compiled programs.
! 2285: If you meant to cross compile, use \`--host'.
! 2286: See \`config.log' for more details." >&2;}
! 2287: { (exit 1); exit 1; }; }
! 2288: fi
! 2289: fi
! 2290: fi
! 2291: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 2292: $as_echo "yes" >&6; }
! 2293:
! 2294: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
! 2295: ac_clean_files=$ac_clean_files_save
! 2296: # Check that the compiler produces executables we can run. If not, either
! 2297: # the compiler is broken, or we cross compile.
! 2298: { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
! 2299: $as_echo_n "checking whether we are cross compiling... " >&6; }
! 2300: { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
! 2301: $as_echo "$cross_compiling" >&6; }
! 2302:
! 2303: { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
! 2304: $as_echo_n "checking for suffix of executables... " >&6; }
! 2305: if { (ac_try="$ac_link"
! 2306: case "(($ac_try" in
! 2307: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2308: *) ac_try_echo=$ac_try;;
! 2309: esac
! 2310: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2311: $as_echo "$ac_try_echo") >&5
! 2312: (eval "$ac_link") 2>&5
! 2313: ac_status=$?
! 2314: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2315: (exit $ac_status); }; then
! 2316: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 2317: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 2318: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 2319: # `rm'.
! 2320: for ac_file in conftest.exe conftest conftest.*; do
! 2321: test -f "$ac_file" || continue
! 2322: case $ac_file in
! 2323: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
! 2324: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2325: break;;
! 2326: * ) break;;
! 2327: esac
! 2328: done
! 2329: else
! 2330: { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
! 2331: See \`config.log' for more details." >&5
! 2332: $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
! 2333: See \`config.log' for more details." >&2;}
! 2334: { (exit 1); exit 1; }; }
! 2335: fi
! 2336:
! 2337: rm -f conftest$ac_cv_exeext
! 2338: { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
! 2339: $as_echo "$ac_cv_exeext" >&6; }
! 2340:
! 2341: rm -f conftest.$ac_ext
! 2342: EXEEXT=$ac_cv_exeext
! 2343: ac_exeext=$EXEEXT
! 2344: { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
! 2345: $as_echo_n "checking for suffix of object files... " >&6; }
! 2346: if test "${ac_cv_objext+set}" = set; then
! 2347: $as_echo_n "(cached) " >&6
! 2348: else
! 2349: cat >conftest.$ac_ext <<_ACEOF
! 2350: /* confdefs.h. */
! 2351: _ACEOF
! 2352: cat confdefs.h >>conftest.$ac_ext
! 2353: cat >>conftest.$ac_ext <<_ACEOF
! 2354: /* end confdefs.h. */
! 2355:
! 2356: int
! 2357: main ()
! 2358: {
! 2359:
! 2360: ;
! 2361: return 0;
! 2362: }
! 2363: _ACEOF
! 2364: rm -f conftest.o conftest.obj
! 2365: if { (ac_try="$ac_compile"
! 2366: case "(($ac_try" in
! 2367: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2368: *) ac_try_echo=$ac_try;;
! 2369: esac
! 2370: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2371: $as_echo "$ac_try_echo") >&5
! 2372: (eval "$ac_compile") 2>&5
! 2373: ac_status=$?
! 2374: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2375: (exit $ac_status); }; then
! 2376: for ac_file in conftest.o conftest.obj conftest.*; do
! 2377: test -f "$ac_file" || continue;
! 2378: case $ac_file in
! 2379: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
! 2380: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 2381: break;;
! 2382: esac
! 2383: done
! 2384: else
! 2385: $as_echo "$as_me: failed program was:" >&5
! 2386: sed 's/^/| /' conftest.$ac_ext >&5
! 2387:
! 2388: { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
! 2389: See \`config.log' for more details." >&5
! 2390: $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
! 2391: See \`config.log' for more details." >&2;}
! 2392: { (exit 1); exit 1; }; }
! 2393: fi
! 2394:
! 2395: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 2396: fi
! 2397: { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
! 2398: $as_echo "$ac_cv_objext" >&6; }
! 2399: OBJEXT=$ac_cv_objext
! 2400: ac_objext=$OBJEXT
! 2401: { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
! 2402: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
! 2403: if test "${ac_cv_c_compiler_gnu+set}" = set; then
! 2404: $as_echo_n "(cached) " >&6
! 2405: else
! 2406: cat >conftest.$ac_ext <<_ACEOF
! 2407: /* confdefs.h. */
! 2408: _ACEOF
! 2409: cat confdefs.h >>conftest.$ac_ext
! 2410: cat >>conftest.$ac_ext <<_ACEOF
! 2411: /* end confdefs.h. */
! 2412:
! 2413: int
! 2414: main ()
! 2415: {
! 2416: #ifndef __GNUC__
! 2417: choke me
! 2418: #endif
! 2419:
! 2420: ;
! 2421: return 0;
! 2422: }
! 2423: _ACEOF
! 2424: rm -f conftest.$ac_objext
! 2425: if { (ac_try="$ac_compile"
! 2426: case "(($ac_try" in
! 2427: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2428: *) ac_try_echo=$ac_try;;
! 2429: esac
! 2430: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2431: $as_echo "$ac_try_echo") >&5
! 2432: (eval "$ac_compile") 2>conftest.er1
! 2433: ac_status=$?
! 2434: grep -v '^ *+' conftest.er1 >conftest.err
! 2435: rm -f conftest.er1
! 2436: cat conftest.err >&5
! 2437: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2438: (exit $ac_status); } && {
! 2439: test -z "$ac_c_werror_flag" ||
! 2440: test ! -s conftest.err
! 2441: } && test -s conftest.$ac_objext; then
! 2442: ac_compiler_gnu=yes
! 2443: else
! 2444: $as_echo "$as_me: failed program was:" >&5
! 2445: sed 's/^/| /' conftest.$ac_ext >&5
! 2446:
! 2447: ac_compiler_gnu=no
! 2448: fi
! 2449:
! 2450: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2451: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 2452:
! 2453: fi
! 2454: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
! 2455: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
! 2456: if test $ac_compiler_gnu = yes; then
! 2457: GCC=yes
! 2458: else
! 2459: GCC=
! 2460: fi
! 2461: ac_test_CFLAGS=${CFLAGS+set}
! 2462: ac_save_CFLAGS=$CFLAGS
! 2463: { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
! 2464: $as_echo_n "checking whether $CC accepts -g... " >&6; }
! 2465: if test "${ac_cv_prog_cc_g+set}" = set; then
! 2466: $as_echo_n "(cached) " >&6
! 2467: else
! 2468: ac_save_c_werror_flag=$ac_c_werror_flag
! 2469: ac_c_werror_flag=yes
! 2470: ac_cv_prog_cc_g=no
! 2471: CFLAGS="-g"
! 2472: cat >conftest.$ac_ext <<_ACEOF
! 2473: /* confdefs.h. */
! 2474: _ACEOF
! 2475: cat confdefs.h >>conftest.$ac_ext
! 2476: cat >>conftest.$ac_ext <<_ACEOF
! 2477: /* end confdefs.h. */
! 2478:
! 2479: int
! 2480: main ()
! 2481: {
! 2482:
! 2483: ;
! 2484: return 0;
! 2485: }
! 2486: _ACEOF
! 2487: rm -f conftest.$ac_objext
! 2488: if { (ac_try="$ac_compile"
! 2489: case "(($ac_try" in
! 2490: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2491: *) ac_try_echo=$ac_try;;
! 2492: esac
! 2493: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2494: $as_echo "$ac_try_echo") >&5
! 2495: (eval "$ac_compile") 2>conftest.er1
! 2496: ac_status=$?
! 2497: grep -v '^ *+' conftest.er1 >conftest.err
! 2498: rm -f conftest.er1
! 2499: cat conftest.err >&5
! 2500: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2501: (exit $ac_status); } && {
! 2502: test -z "$ac_c_werror_flag" ||
! 2503: test ! -s conftest.err
! 2504: } && test -s conftest.$ac_objext; then
! 2505: ac_cv_prog_cc_g=yes
! 2506: else
! 2507: $as_echo "$as_me: failed program was:" >&5
! 2508: sed 's/^/| /' conftest.$ac_ext >&5
! 2509:
! 2510: CFLAGS=""
! 2511: cat >conftest.$ac_ext <<_ACEOF
! 2512: /* confdefs.h. */
! 2513: _ACEOF
! 2514: cat confdefs.h >>conftest.$ac_ext
! 2515: cat >>conftest.$ac_ext <<_ACEOF
! 2516: /* end confdefs.h. */
! 2517:
! 2518: int
! 2519: main ()
! 2520: {
! 2521:
! 2522: ;
! 2523: return 0;
! 2524: }
! 2525: _ACEOF
! 2526: rm -f conftest.$ac_objext
! 2527: if { (ac_try="$ac_compile"
! 2528: case "(($ac_try" in
! 2529: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2530: *) ac_try_echo=$ac_try;;
! 2531: esac
! 2532: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2533: $as_echo "$ac_try_echo") >&5
! 2534: (eval "$ac_compile") 2>conftest.er1
! 2535: ac_status=$?
! 2536: grep -v '^ *+' conftest.er1 >conftest.err
! 2537: rm -f conftest.er1
! 2538: cat conftest.err >&5
! 2539: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2540: (exit $ac_status); } && {
! 2541: test -z "$ac_c_werror_flag" ||
! 2542: test ! -s conftest.err
! 2543: } && test -s conftest.$ac_objext; then
! 2544: :
! 2545: else
! 2546: $as_echo "$as_me: failed program was:" >&5
! 2547: sed 's/^/| /' conftest.$ac_ext >&5
! 2548:
! 2549: ac_c_werror_flag=$ac_save_c_werror_flag
! 2550: CFLAGS="-g"
! 2551: cat >conftest.$ac_ext <<_ACEOF
! 2552: /* confdefs.h. */
! 2553: _ACEOF
! 2554: cat confdefs.h >>conftest.$ac_ext
! 2555: cat >>conftest.$ac_ext <<_ACEOF
! 2556: /* end confdefs.h. */
! 2557:
! 2558: int
! 2559: main ()
! 2560: {
! 2561:
! 2562: ;
! 2563: return 0;
! 2564: }
! 2565: _ACEOF
! 2566: rm -f conftest.$ac_objext
! 2567: if { (ac_try="$ac_compile"
! 2568: case "(($ac_try" in
! 2569: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2570: *) ac_try_echo=$ac_try;;
! 2571: esac
! 2572: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2573: $as_echo "$ac_try_echo") >&5
! 2574: (eval "$ac_compile") 2>conftest.er1
! 2575: ac_status=$?
! 2576: grep -v '^ *+' conftest.er1 >conftest.err
! 2577: rm -f conftest.er1
! 2578: cat conftest.err >&5
! 2579: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2580: (exit $ac_status); } && {
! 2581: test -z "$ac_c_werror_flag" ||
! 2582: test ! -s conftest.err
! 2583: } && test -s conftest.$ac_objext; then
! 2584: ac_cv_prog_cc_g=yes
! 2585: else
! 2586: $as_echo "$as_me: failed program was:" >&5
! 2587: sed 's/^/| /' conftest.$ac_ext >&5
! 2588:
! 2589:
! 2590: fi
! 2591:
! 2592: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2593: fi
! 2594:
! 2595: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2596: fi
! 2597:
! 2598: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 2599: ac_c_werror_flag=$ac_save_c_werror_flag
! 2600: fi
! 2601: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
! 2602: $as_echo "$ac_cv_prog_cc_g" >&6; }
! 2603: if test "$ac_test_CFLAGS" = set; then
! 2604: CFLAGS=$ac_save_CFLAGS
! 2605: elif test $ac_cv_prog_cc_g = yes; then
! 2606: if test "$GCC" = yes; then
! 2607: CFLAGS="-g -O2"
! 2608: else
! 2609: CFLAGS="-g"
! 2610: fi
! 2611: else
! 2612: if test "$GCC" = yes; then
! 2613: CFLAGS="-O2"
! 2614: else
! 2615: CFLAGS=
! 2616: fi
! 2617: fi
! 2618: { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
! 2619: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
! 2620: if test "${ac_cv_prog_cc_c89+set}" = set; then
! 2621: $as_echo_n "(cached) " >&6
! 2622: else
! 2623: ac_cv_prog_cc_c89=no
! 2624: ac_save_CC=$CC
! 2625: cat >conftest.$ac_ext <<_ACEOF
! 2626: /* confdefs.h. */
! 2627: _ACEOF
! 2628: cat confdefs.h >>conftest.$ac_ext
! 2629: cat >>conftest.$ac_ext <<_ACEOF
! 2630: /* end confdefs.h. */
! 2631: #include <stdarg.h>
! 2632: #include <stdio.h>
! 2633: #include <sys/types.h>
! 2634: #include <sys/stat.h>
! 2635: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 2636: struct buf { int x; };
! 2637: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 2638: static char *e (p, i)
! 2639: char **p;
! 2640: int i;
! 2641: {
! 2642: return p[i];
! 2643: }
! 2644: static char *f (char * (*g) (char **, int), char **p, ...)
! 2645: {
! 2646: char *s;
! 2647: va_list v;
! 2648: va_start (v,p);
! 2649: s = g (p, va_arg (v,int));
! 2650: va_end (v);
! 2651: return s;
! 2652: }
! 2653:
! 2654: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
! 2655: function prototypes and stuff, but not '\xHH' hex character constants.
! 2656: These don't provoke an error unfortunately, instead are silently treated
! 2657: as 'x'. The following induces an error, until -std is added to get
! 2658: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
! 2659: array size at least. It's necessary to write '\x00'==0 to get something
! 2660: that's true only with -std. */
! 2661: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
! 2662:
! 2663: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
! 2664: inside strings and character constants. */
! 2665: #define FOO(x) 'x'
! 2666: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
! 2667:
! 2668: int test (int i, double x);
! 2669: struct s1 {int (*f) (int a);};
! 2670: struct s2 {int (*f) (double a);};
! 2671: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 2672: int argc;
! 2673: char **argv;
! 2674: int
! 2675: main ()
! 2676: {
! 2677: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 2678: ;
! 2679: return 0;
! 2680: }
! 2681: _ACEOF
! 2682: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
! 2683: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 2684: do
! 2685: CC="$ac_save_CC $ac_arg"
! 2686: rm -f conftest.$ac_objext
! 2687: if { (ac_try="$ac_compile"
! 2688: case "(($ac_try" in
! 2689: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2690: *) ac_try_echo=$ac_try;;
! 2691: esac
! 2692: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2693: $as_echo "$ac_try_echo") >&5
! 2694: (eval "$ac_compile") 2>conftest.er1
! 2695: ac_status=$?
! 2696: grep -v '^ *+' conftest.er1 >conftest.err
! 2697: rm -f conftest.er1
! 2698: cat conftest.err >&5
! 2699: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2700: (exit $ac_status); } && {
! 2701: test -z "$ac_c_werror_flag" ||
! 2702: test ! -s conftest.err
! 2703: } && test -s conftest.$ac_objext; then
! 2704: ac_cv_prog_cc_c89=$ac_arg
! 2705: else
! 2706: $as_echo "$as_me: failed program was:" >&5
! 2707: sed 's/^/| /' conftest.$ac_ext >&5
! 2708:
! 2709:
! 2710: fi
! 2711:
! 2712: rm -f core conftest.err conftest.$ac_objext
! 2713: test "x$ac_cv_prog_cc_c89" != "xno" && break
! 2714: done
! 2715: rm -f conftest.$ac_ext
! 2716: CC=$ac_save_CC
! 2717:
! 2718: fi
! 2719: # AC_CACHE_VAL
! 2720: case "x$ac_cv_prog_cc_c89" in
! 2721: x)
! 2722: { $as_echo "$as_me:$LINENO: result: none needed" >&5
! 2723: $as_echo "none needed" >&6; } ;;
! 2724: xno)
! 2725: { $as_echo "$as_me:$LINENO: result: unsupported" >&5
! 2726: $as_echo "unsupported" >&6; } ;;
! 2727: *)
! 2728: CC="$CC $ac_cv_prog_cc_c89"
! 2729: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
! 2730: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
! 2731: esac
! 2732:
! 2733:
! 2734: ac_ext=c
! 2735: ac_cpp='$CPP $CPPFLAGS'
! 2736: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2737: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2738: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2739:
! 2740: if test -n "$ac_tool_prefix"; then
! 2741: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 2742: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 2743: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2744: $as_echo_n "checking for $ac_word... " >&6; }
! 2745: if test "${ac_cv_prog_RANLIB+set}" = set; then
! 2746: $as_echo_n "(cached) " >&6
! 2747: else
! 2748: if test -n "$RANLIB"; then
! 2749: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
! 2750: else
! 2751: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2752: for as_dir in $PATH
! 2753: do
! 2754: IFS=$as_save_IFS
! 2755: test -z "$as_dir" && as_dir=.
! 2756: for ac_exec_ext in '' $ac_executable_extensions; do
! 2757: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2758: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 2759: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2760: break 2
! 2761: fi
! 2762: done
! 2763: done
! 2764: IFS=$as_save_IFS
! 2765:
! 2766: fi
! 2767: fi
! 2768: RANLIB=$ac_cv_prog_RANLIB
! 2769: if test -n "$RANLIB"; then
! 2770: { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
! 2771: $as_echo "$RANLIB" >&6; }
! 2772: else
! 2773: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2774: $as_echo "no" >&6; }
! 2775: fi
! 2776:
! 2777:
! 2778: fi
! 2779: if test -z "$ac_cv_prog_RANLIB"; then
! 2780: ac_ct_RANLIB=$RANLIB
! 2781: # Extract the first word of "ranlib", so it can be a program name with args.
! 2782: set dummy ranlib; ac_word=$2
! 2783: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2784: $as_echo_n "checking for $ac_word... " >&6; }
! 2785: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
! 2786: $as_echo_n "(cached) " >&6
! 2787: else
! 2788: if test -n "$ac_ct_RANLIB"; then
! 2789: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 2790: else
! 2791: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2792: for as_dir in $PATH
! 2793: do
! 2794: IFS=$as_save_IFS
! 2795: test -z "$as_dir" && as_dir=.
! 2796: for ac_exec_ext in '' $ac_executable_extensions; do
! 2797: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2798: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 2799: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2800: break 2
! 2801: fi
! 2802: done
! 2803: done
! 2804: IFS=$as_save_IFS
! 2805:
! 2806: fi
! 2807: fi
! 2808: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 2809: if test -n "$ac_ct_RANLIB"; then
! 2810: { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
! 2811: $as_echo "$ac_ct_RANLIB" >&6; }
! 2812: else
! 2813: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2814: $as_echo "no" >&6; }
! 2815: fi
! 2816:
! 2817: if test "x$ac_ct_RANLIB" = x; then
! 2818: RANLIB=":"
! 2819: else
! 2820: case $cross_compiling:$ac_tool_warned in
! 2821: yes:)
! 2822: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
! 2823: whose name does not start with the host triplet. If you think this
! 2824: configuration is useful to you, please write to autoconf@gnu.org." >&5
! 2825: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
! 2826: whose name does not start with the host triplet. If you think this
! 2827: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
! 2828: ac_tool_warned=yes ;;
! 2829: esac
! 2830: RANLIB=$ac_ct_RANLIB
! 2831: fi
! 2832: else
! 2833: RANLIB="$ac_cv_prog_RANLIB"
! 2834: fi
! 2835:
! 2836: ac_aux_dir=
! 2837: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
! 2838: if test -f "$ac_dir/install-sh"; then
! 2839: ac_aux_dir=$ac_dir
! 2840: ac_install_sh="$ac_aux_dir/install-sh -c"
! 2841: break
! 2842: elif test -f "$ac_dir/install.sh"; then
! 2843: ac_aux_dir=$ac_dir
! 2844: ac_install_sh="$ac_aux_dir/install.sh -c"
! 2845: break
! 2846: elif test -f "$ac_dir/shtool"; then
! 2847: ac_aux_dir=$ac_dir
! 2848: ac_install_sh="$ac_aux_dir/shtool install -c"
! 2849: break
! 2850: fi
! 2851: done
! 2852: if test -z "$ac_aux_dir"; then
! 2853: { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
! 2854: $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
! 2855: { (exit 1); exit 1; }; }
! 2856: fi
! 2857:
! 2858: # These three variables are undocumented and unsupported,
! 2859: # and are intended to be withdrawn in a future Autoconf release.
! 2860: # They can cause serious problems if a builder's source tree is in a directory
! 2861: # whose full name contains unusual characters.
! 2862: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
! 2863: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
! 2864: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
! 2865:
! 2866:
! 2867: # Find a good install program. We prefer a C program (faster),
! 2868: # so one script is as good as another. But avoid the broken or
! 2869: # incompatible versions:
! 2870: # SysV /etc/install, /usr/sbin/install
! 2871: # SunOS /usr/etc/install
! 2872: # IRIX /sbin/install
! 2873: # AIX /bin/install
! 2874: # AmigaOS /C/install, which installs bootblocks on floppy discs
! 2875: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
! 2876: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
! 2877: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
! 2878: # OS/2's system install, which has a completely different semantic
! 2879: # ./install, which can be erroneously created by make from ./install.sh.
! 2880: # Reject install programs that cannot install multiple files.
! 2881: { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
! 2882: $as_echo_n "checking for a BSD-compatible install... " >&6; }
! 2883: if test -z "$INSTALL"; then
! 2884: if test "${ac_cv_path_install+set}" = set; then
! 2885: $as_echo_n "(cached) " >&6
! 2886: else
! 2887: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2888: for as_dir in $PATH
! 2889: do
! 2890: IFS=$as_save_IFS
! 2891: test -z "$as_dir" && as_dir=.
! 2892: # Account for people who put trailing slashes in PATH elements.
! 2893: case $as_dir/ in
! 2894: ./ | .// | /cC/* | \
! 2895: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
! 2896: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
! 2897: /usr/ucb/* ) ;;
! 2898: *)
! 2899: # OSF1 and SCO ODT 3.0 have their own names for install.
! 2900: # Don't use installbsd from OSF since it installs stuff as root
! 2901: # by default.
! 2902: for ac_prog in ginstall scoinst install; do
! 2903: for ac_exec_ext in '' $ac_executable_extensions; do
! 2904: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
! 2905: if test $ac_prog = install &&
! 2906: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 2907: # AIX install. It has an incompatible calling convention.
! 2908: :
! 2909: elif test $ac_prog = install &&
! 2910: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
! 2911: # program-specific install script used by HP pwplus--don't use.
! 2912: :
! 2913: else
! 2914: rm -rf conftest.one conftest.two conftest.dir
! 2915: echo one > conftest.one
! 2916: echo two > conftest.two
! 2917: mkdir conftest.dir
! 2918: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
! 2919: test -s conftest.one && test -s conftest.two &&
! 2920: test -s conftest.dir/conftest.one &&
! 2921: test -s conftest.dir/conftest.two
! 2922: then
! 2923: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
! 2924: break 3
! 2925: fi
! 2926: fi
! 2927: fi
! 2928: done
! 2929: done
! 2930: ;;
! 2931: esac
! 2932:
! 2933: done
! 2934: IFS=$as_save_IFS
! 2935:
! 2936: rm -rf conftest.one conftest.two conftest.dir
! 2937:
! 2938: fi
! 2939: if test "${ac_cv_path_install+set}" = set; then
! 2940: INSTALL=$ac_cv_path_install
! 2941: else
! 2942: # As a last resort, use the slow shell script. Don't cache a
! 2943: # value for INSTALL within a source directory, because that will
! 2944: # break other packages using the cache if that directory is
! 2945: # removed, or if the value is a relative name.
! 2946: INSTALL=$ac_install_sh
! 2947: fi
! 2948: fi
! 2949: { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
! 2950: $as_echo "$INSTALL" >&6; }
! 2951:
! 2952: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
! 2953: # It thinks the first close brace ends the variable substitution.
! 2954: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
! 2955:
! 2956: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
! 2957:
! 2958: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
! 2959:
! 2960:
! 2961: # Make sure we can run config.sub.
! 2962: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
! 2963: { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
! 2964: $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
! 2965: { (exit 1); exit 1; }; }
! 2966:
! 2967: { $as_echo "$as_me:$LINENO: checking build system type" >&5
! 2968: $as_echo_n "checking build system type... " >&6; }
! 2969: if test "${ac_cv_build+set}" = set; then
! 2970: $as_echo_n "(cached) " >&6
! 2971: else
! 2972: ac_build_alias=$build_alias
! 2973: test "x$ac_build_alias" = x &&
! 2974: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
! 2975: test "x$ac_build_alias" = x &&
! 2976: { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
! 2977: $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
! 2978: { (exit 1); exit 1; }; }
! 2979: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
! 2980: { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
! 2981: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
! 2982: { (exit 1); exit 1; }; }
! 2983:
! 2984: fi
! 2985: { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
! 2986: $as_echo "$ac_cv_build" >&6; }
! 2987: case $ac_cv_build in
! 2988: *-*-*) ;;
! 2989: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
! 2990: $as_echo "$as_me: error: invalid value of canonical build" >&2;}
! 2991: { (exit 1); exit 1; }; };;
! 2992: esac
! 2993: build=$ac_cv_build
! 2994: ac_save_IFS=$IFS; IFS='-'
! 2995: set x $ac_cv_build
! 2996: shift
! 2997: build_cpu=$1
! 2998: build_vendor=$2
! 2999: shift; shift
! 3000: # Remember, the first character of IFS is used to create $*,
! 3001: # except with old shells:
! 3002: build_os=$*
! 3003: IFS=$ac_save_IFS
! 3004: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
! 3005:
! 3006:
! 3007: { $as_echo "$as_me:$LINENO: checking host system type" >&5
! 3008: $as_echo_n "checking host system type... " >&6; }
! 3009: if test "${ac_cv_host+set}" = set; then
! 3010: $as_echo_n "(cached) " >&6
! 3011: else
! 3012: if test "x$host_alias" = x; then
! 3013: ac_cv_host=$ac_cv_build
! 3014: else
! 3015: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
! 3016: { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
! 3017: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
! 3018: { (exit 1); exit 1; }; }
! 3019: fi
! 3020:
! 3021: fi
! 3022: { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
! 3023: $as_echo "$ac_cv_host" >&6; }
! 3024: case $ac_cv_host in
! 3025: *-*-*) ;;
! 3026: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
! 3027: $as_echo "$as_me: error: invalid value of canonical host" >&2;}
! 3028: { (exit 1); exit 1; }; };;
! 3029: esac
! 3030: host=$ac_cv_host
! 3031: ac_save_IFS=$IFS; IFS='-'
! 3032: set x $ac_cv_host
! 3033: shift
! 3034: host_cpu=$1
! 3035: host_vendor=$2
! 3036: shift; shift
! 3037: # Remember, the first character of IFS is used to create $*,
! 3038: # except with old shells:
! 3039: host_os=$*
! 3040: IFS=$ac_save_IFS
! 3041: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
! 3042:
! 3043:
! 3044: { $as_echo "$as_me:$LINENO: checking target system type" >&5
! 3045: $as_echo_n "checking target system type... " >&6; }
! 3046: if test "${ac_cv_target+set}" = set; then
! 3047: $as_echo_n "(cached) " >&6
! 3048: else
! 3049: if test "x$target_alias" = x; then
! 3050: ac_cv_target=$ac_cv_host
! 3051: else
! 3052: ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
! 3053: { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
! 3054: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
! 3055: { (exit 1); exit 1; }; }
! 3056: fi
! 3057:
! 3058: fi
! 3059: { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
! 3060: $as_echo "$ac_cv_target" >&6; }
! 3061: case $ac_cv_target in
! 3062: *-*-*) ;;
! 3063: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
! 3064: $as_echo "$as_me: error: invalid value of canonical target" >&2;}
! 3065: { (exit 1); exit 1; }; };;
! 3066: esac
! 3067: target=$ac_cv_target
! 3068: ac_save_IFS=$IFS; IFS='-'
! 3069: set x $ac_cv_target
! 3070: shift
! 3071: target_cpu=$1
! 3072: target_vendor=$2
! 3073: shift; shift
! 3074: # Remember, the first character of IFS is used to create $*,
! 3075: # except with old shells:
! 3076: target_os=$*
! 3077: IFS=$ac_save_IFS
! 3078: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
! 3079:
! 3080:
! 3081: # The aliases save the names the user supplied, while $host etc.
! 3082: # will get canonicalized.
! 3083: test -n "$target_alias" &&
! 3084: test "$program_prefix$program_suffix$program_transform_name" = \
! 3085: NONENONEs,x,x, &&
! 3086: program_prefix=${target_alias}-
! 3087:
! 3088: if test -n "$ac_tool_prefix"; then
! 3089: # Extract the first word of "${ac_tool_prefix}mkdep", so it can be a program name with args.
! 3090: set dummy ${ac_tool_prefix}mkdep; ac_word=$2
! 3091: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 3092: $as_echo_n "checking for $ac_word... " >&6; }
! 3093: if test "${ac_cv_prog_MKDEP+set}" = set; then
! 3094: $as_echo_n "(cached) " >&6
! 3095: else
! 3096: if test -n "$MKDEP"; then
! 3097: ac_cv_prog_MKDEP="$MKDEP" # Let the user override the test.
! 3098: else
! 3099: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3100: for as_dir in $PATH
! 3101: do
! 3102: IFS=$as_save_IFS
! 3103: test -z "$as_dir" && as_dir=.
! 3104: for ac_exec_ext in '' $ac_executable_extensions; do
! 3105: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 3106: ac_cv_prog_MKDEP="${ac_tool_prefix}mkdep"
! 3107: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3108: break 2
! 3109: fi
! 3110: done
! 3111: done
! 3112: IFS=$as_save_IFS
! 3113:
! 3114: fi
! 3115: fi
! 3116: MKDEP=$ac_cv_prog_MKDEP
! 3117: if test -n "$MKDEP"; then
! 3118: { $as_echo "$as_me:$LINENO: result: $MKDEP" >&5
! 3119: $as_echo "$MKDEP" >&6; }
! 3120: else
! 3121: { $as_echo "$as_me:$LINENO: result: no" >&5
! 3122: $as_echo "no" >&6; }
! 3123: fi
! 3124:
! 3125:
! 3126: fi
! 3127: if test -z "$ac_cv_prog_MKDEP"; then
! 3128: ac_ct_MKDEP=$MKDEP
! 3129: # Extract the first word of "mkdep", so it can be a program name with args.
! 3130: set dummy mkdep; ac_word=$2
! 3131: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 3132: $as_echo_n "checking for $ac_word... " >&6; }
! 3133: if test "${ac_cv_prog_ac_ct_MKDEP+set}" = set; then
! 3134: $as_echo_n "(cached) " >&6
! 3135: else
! 3136: if test -n "$ac_ct_MKDEP"; then
! 3137: ac_cv_prog_ac_ct_MKDEP="$ac_ct_MKDEP" # Let the user override the test.
! 3138: else
! 3139: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3140: for as_dir in $PATH
! 3141: do
! 3142: IFS=$as_save_IFS
! 3143: test -z "$as_dir" && as_dir=.
! 3144: for ac_exec_ext in '' $ac_executable_extensions; do
! 3145: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 3146: ac_cv_prog_ac_ct_MKDEP="mkdep"
! 3147: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3148: break 2
! 3149: fi
! 3150: done
! 3151: done
! 3152: IFS=$as_save_IFS
! 3153:
! 3154: fi
! 3155: fi
! 3156: ac_ct_MKDEP=$ac_cv_prog_ac_ct_MKDEP
! 3157: if test -n "$ac_ct_MKDEP"; then
! 3158: { $as_echo "$as_me:$LINENO: result: $ac_ct_MKDEP" >&5
! 3159: $as_echo "$ac_ct_MKDEP" >&6; }
! 3160: else
! 3161: { $as_echo "$as_me:$LINENO: result: no" >&5
! 3162: $as_echo "no" >&6; }
! 3163: fi
! 3164:
! 3165: if test "x$ac_ct_MKDEP" = x; then
! 3166: MKDEP="no"
! 3167: else
! 3168: case $cross_compiling:$ac_tool_warned in
! 3169: yes:)
! 3170: { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
! 3171: whose name does not start with the host triplet. If you think this
! 3172: configuration is useful to you, please write to autoconf@gnu.org." >&5
! 3173: $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
! 3174: whose name does not start with the host triplet. If you think this
! 3175: configuration is useful to you, please write to autoconf@gnu.org." >&2;}
! 3176: ac_tool_warned=yes ;;
! 3177: esac
! 3178: MKDEP=$ac_ct_MKDEP
! 3179: fi
! 3180: else
! 3181: MKDEP="$ac_cv_prog_MKDEP"
! 3182: fi
! 3183:
! 3184:
! 3185:
! 3186: CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}"
! 3187: LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
! 3188:
! 3189: # Checks for libraries.
! 3190:
! 3191:
! 3192: { $as_echo "$as_me:$LINENO: checking for deflate in -lz" >&5
! 3193: $as_echo_n "checking for deflate in -lz... " >&6; }
! 3194: if test "${ac_cv_lib_z_deflate+set}" = set; then
! 3195: $as_echo_n "(cached) " >&6
! 3196: else
! 3197: ac_check_lib_save_LIBS=$LIBS
! 3198: LIBS="-lz $LIBS"
! 3199: cat >conftest.$ac_ext <<_ACEOF
! 3200: /* confdefs.h. */
! 3201: _ACEOF
! 3202: cat confdefs.h >>conftest.$ac_ext
! 3203: cat >>conftest.$ac_ext <<_ACEOF
! 3204: /* end confdefs.h. */
! 3205:
! 3206: /* Override any GCC internal prototype to avoid an error.
! 3207: Use char because int might match the return type of a GCC
! 3208: builtin and then its argument prototype would still apply. */
! 3209: #ifdef __cplusplus
! 3210: extern "C"
! 3211: #endif
! 3212: char deflate ();
! 3213: int
! 3214: main ()
! 3215: {
! 3216: return deflate ();
! 3217: ;
! 3218: return 0;
! 3219: }
! 3220: _ACEOF
! 3221: rm -f conftest.$ac_objext conftest$ac_exeext
! 3222: if { (ac_try="$ac_link"
! 3223: case "(($ac_try" in
! 3224: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3225: *) ac_try_echo=$ac_try;;
! 3226: esac
! 3227: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3228: $as_echo "$ac_try_echo") >&5
! 3229: (eval "$ac_link") 2>conftest.er1
! 3230: ac_status=$?
! 3231: grep -v '^ *+' conftest.er1 >conftest.err
! 3232: rm -f conftest.er1
! 3233: cat conftest.err >&5
! 3234: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3235: (exit $ac_status); } && {
! 3236: test -z "$ac_c_werror_flag" ||
! 3237: test ! -s conftest.err
! 3238: } && test -s conftest$ac_exeext && {
! 3239: test "$cross_compiling" = yes ||
! 3240: $as_test_x conftest$ac_exeext
! 3241: }; then
! 3242: ac_cv_lib_z_deflate=yes
! 3243: else
! 3244: $as_echo "$as_me: failed program was:" >&5
! 3245: sed 's/^/| /' conftest.$ac_ext >&5
! 3246:
! 3247: ac_cv_lib_z_deflate=no
! 3248: fi
! 3249:
! 3250: rm -rf conftest.dSYM
! 3251: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 3252: conftest$ac_exeext conftest.$ac_ext
! 3253: LIBS=$ac_check_lib_save_LIBS
! 3254: fi
! 3255: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
! 3256: $as_echo "$ac_cv_lib_z_deflate" >&6; }
! 3257: if test $ac_cv_lib_z_deflate = yes; then
! 3258: cat >>confdefs.h <<_ACEOF
! 3259: #define HAVE_LIBZ 1
! 3260: _ACEOF
! 3261:
! 3262: LIBS="-lz $LIBS"
! 3263:
! 3264: fi
! 3265:
! 3266:
! 3267: # Checks for header files.
! 3268: ac_ext=c
! 3269: ac_cpp='$CPP $CPPFLAGS'
! 3270: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3271: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3272: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3273: { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
! 3274: $as_echo_n "checking how to run the C preprocessor... " >&6; }
! 3275: # On Suns, sometimes $CPP names a directory.
! 3276: if test -n "$CPP" && test -d "$CPP"; then
! 3277: CPP=
! 3278: fi
! 3279: if test -z "$CPP"; then
! 3280: if test "${ac_cv_prog_CPP+set}" = set; then
! 3281: $as_echo_n "(cached) " >&6
! 3282: else
! 3283: # Double quotes because CPP needs to be expanded
! 3284: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 3285: do
! 3286: ac_preproc_ok=false
! 3287: for ac_c_preproc_warn_flag in '' yes
! 3288: do
! 3289: # Use a header file that comes with gcc, so configuring glibc
! 3290: # with a fresh cross-compiler works.
! 3291: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 3292: # <limits.h> exists even on freestanding compilers.
! 3293: # On the NeXT, cc -E runs the code through the compiler's parser,
! 3294: # not just through cpp. "Syntax error" is here to catch this case.
! 3295: cat >conftest.$ac_ext <<_ACEOF
! 3296: /* confdefs.h. */
! 3297: _ACEOF
! 3298: cat confdefs.h >>conftest.$ac_ext
! 3299: cat >>conftest.$ac_ext <<_ACEOF
! 3300: /* end confdefs.h. */
! 3301: #ifdef __STDC__
! 3302: # include <limits.h>
! 3303: #else
! 3304: # include <assert.h>
! 3305: #endif
! 3306: Syntax error
! 3307: _ACEOF
! 3308: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3309: case "(($ac_try" in
! 3310: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3311: *) ac_try_echo=$ac_try;;
! 3312: esac
! 3313: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3314: $as_echo "$ac_try_echo") >&5
! 3315: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3316: ac_status=$?
! 3317: grep -v '^ *+' conftest.er1 >conftest.err
! 3318: rm -f conftest.er1
! 3319: cat conftest.err >&5
! 3320: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3321: (exit $ac_status); } >/dev/null && {
! 3322: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3323: test ! -s conftest.err
! 3324: }; then
! 3325: :
! 3326: else
! 3327: $as_echo "$as_me: failed program was:" >&5
! 3328: sed 's/^/| /' conftest.$ac_ext >&5
! 3329:
! 3330: # Broken: fails on valid input.
! 3331: continue
! 3332: fi
! 3333:
! 3334: rm -f conftest.err conftest.$ac_ext
! 3335:
! 3336: # OK, works on sane cases. Now check whether nonexistent headers
! 3337: # can be detected and how.
! 3338: cat >conftest.$ac_ext <<_ACEOF
! 3339: /* confdefs.h. */
! 3340: _ACEOF
! 3341: cat confdefs.h >>conftest.$ac_ext
! 3342: cat >>conftest.$ac_ext <<_ACEOF
! 3343: /* end confdefs.h. */
! 3344: #include <ac_nonexistent.h>
! 3345: _ACEOF
! 3346: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3347: case "(($ac_try" in
! 3348: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3349: *) ac_try_echo=$ac_try;;
! 3350: esac
! 3351: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3352: $as_echo "$ac_try_echo") >&5
! 3353: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3354: ac_status=$?
! 3355: grep -v '^ *+' conftest.er1 >conftest.err
! 3356: rm -f conftest.er1
! 3357: cat conftest.err >&5
! 3358: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3359: (exit $ac_status); } >/dev/null && {
! 3360: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3361: test ! -s conftest.err
! 3362: }; then
! 3363: # Broken: success on invalid input.
! 3364: continue
! 3365: else
! 3366: $as_echo "$as_me: failed program was:" >&5
! 3367: sed 's/^/| /' conftest.$ac_ext >&5
! 3368:
! 3369: # Passes both tests.
! 3370: ac_preproc_ok=:
! 3371: break
! 3372: fi
! 3373:
! 3374: rm -f conftest.err conftest.$ac_ext
! 3375:
! 3376: done
! 3377: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 3378: rm -f conftest.err conftest.$ac_ext
! 3379: if $ac_preproc_ok; then
! 3380: break
! 3381: fi
! 3382:
! 3383: done
! 3384: ac_cv_prog_CPP=$CPP
! 3385:
! 3386: fi
! 3387: CPP=$ac_cv_prog_CPP
! 3388: else
! 3389: ac_cv_prog_CPP=$CPP
! 3390: fi
! 3391: { $as_echo "$as_me:$LINENO: result: $CPP" >&5
! 3392: $as_echo "$CPP" >&6; }
! 3393: ac_preproc_ok=false
! 3394: for ac_c_preproc_warn_flag in '' yes
! 3395: do
! 3396: # Use a header file that comes with gcc, so configuring glibc
! 3397: # with a fresh cross-compiler works.
! 3398: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 3399: # <limits.h> exists even on freestanding compilers.
! 3400: # On the NeXT, cc -E runs the code through the compiler's parser,
! 3401: # not just through cpp. "Syntax error" is here to catch this case.
! 3402: cat >conftest.$ac_ext <<_ACEOF
! 3403: /* confdefs.h. */
! 3404: _ACEOF
! 3405: cat confdefs.h >>conftest.$ac_ext
! 3406: cat >>conftest.$ac_ext <<_ACEOF
! 3407: /* end confdefs.h. */
! 3408: #ifdef __STDC__
! 3409: # include <limits.h>
! 3410: #else
! 3411: # include <assert.h>
! 3412: #endif
! 3413: Syntax error
! 3414: _ACEOF
! 3415: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3416: case "(($ac_try" in
! 3417: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3418: *) ac_try_echo=$ac_try;;
! 3419: esac
! 3420: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3421: $as_echo "$ac_try_echo") >&5
! 3422: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3423: ac_status=$?
! 3424: grep -v '^ *+' conftest.er1 >conftest.err
! 3425: rm -f conftest.er1
! 3426: cat conftest.err >&5
! 3427: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3428: (exit $ac_status); } >/dev/null && {
! 3429: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3430: test ! -s conftest.err
! 3431: }; then
! 3432: :
! 3433: else
! 3434: $as_echo "$as_me: failed program was:" >&5
! 3435: sed 's/^/| /' conftest.$ac_ext >&5
! 3436:
! 3437: # Broken: fails on valid input.
! 3438: continue
! 3439: fi
! 3440:
! 3441: rm -f conftest.err conftest.$ac_ext
! 3442:
! 3443: # OK, works on sane cases. Now check whether nonexistent headers
! 3444: # can be detected and how.
! 3445: cat >conftest.$ac_ext <<_ACEOF
! 3446: /* confdefs.h. */
! 3447: _ACEOF
! 3448: cat confdefs.h >>conftest.$ac_ext
! 3449: cat >>conftest.$ac_ext <<_ACEOF
! 3450: /* end confdefs.h. */
! 3451: #include <ac_nonexistent.h>
! 3452: _ACEOF
! 3453: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3454: case "(($ac_try" in
! 3455: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3456: *) ac_try_echo=$ac_try;;
! 3457: esac
! 3458: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3459: $as_echo "$ac_try_echo") >&5
! 3460: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3461: ac_status=$?
! 3462: grep -v '^ *+' conftest.er1 >conftest.err
! 3463: rm -f conftest.er1
! 3464: cat conftest.err >&5
! 3465: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3466: (exit $ac_status); } >/dev/null && {
! 3467: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3468: test ! -s conftest.err
! 3469: }; then
! 3470: # Broken: success on invalid input.
! 3471: continue
! 3472: else
! 3473: $as_echo "$as_me: failed program was:" >&5
! 3474: sed 's/^/| /' conftest.$ac_ext >&5
! 3475:
! 3476: # Passes both tests.
! 3477: ac_preproc_ok=:
! 3478: break
! 3479: fi
! 3480:
! 3481: rm -f conftest.err conftest.$ac_ext
! 3482:
! 3483: done
! 3484: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 3485: rm -f conftest.err conftest.$ac_ext
! 3486: if $ac_preproc_ok; then
! 3487: :
! 3488: else
! 3489: { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
! 3490: See \`config.log' for more details." >&5
! 3491: $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
! 3492: See \`config.log' for more details." >&2;}
! 3493: { (exit 1); exit 1; }; }
! 3494: fi
! 3495:
! 3496: ac_ext=c
! 3497: ac_cpp='$CPP $CPPFLAGS'
! 3498: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3499: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3500: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3501:
! 3502:
! 3503: { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
! 3504: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
! 3505: if test "${ac_cv_path_GREP+set}" = set; then
! 3506: $as_echo_n "(cached) " >&6
! 3507: else
! 3508: if test -z "$GREP"; then
! 3509: ac_path_GREP_found=false
! 3510: # Loop through the user's path and test for each of PROGNAME-LIST
! 3511: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3512: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 3513: do
! 3514: IFS=$as_save_IFS
! 3515: test -z "$as_dir" && as_dir=.
! 3516: for ac_prog in grep ggrep; do
! 3517: for ac_exec_ext in '' $ac_executable_extensions; do
! 3518: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
! 3519: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
! 3520: # Check for GNU ac_path_GREP and select it if it is found.
! 3521: # Check for GNU $ac_path_GREP
! 3522: case `"$ac_path_GREP" --version 2>&1` in
! 3523: *GNU*)
! 3524: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
! 3525: *)
! 3526: ac_count=0
! 3527: $as_echo_n 0123456789 >"conftest.in"
! 3528: while :
! 3529: do
! 3530: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 3531: mv "conftest.tmp" "conftest.in"
! 3532: cp "conftest.in" "conftest.nl"
! 3533: $as_echo 'GREP' >> "conftest.nl"
! 3534: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 3535: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 3536: ac_count=`expr $ac_count + 1`
! 3537: if test $ac_count -gt ${ac_path_GREP_max-0}; then
! 3538: # Best one so far, save it but keep looking for a better one
! 3539: ac_cv_path_GREP="$ac_path_GREP"
! 3540: ac_path_GREP_max=$ac_count
! 3541: fi
! 3542: # 10*(2^10) chars as input seems more than enough
! 3543: test $ac_count -gt 10 && break
! 3544: done
! 3545: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 3546: esac
! 3547:
! 3548: $ac_path_GREP_found && break 3
! 3549: done
! 3550: done
! 3551: done
! 3552: IFS=$as_save_IFS
! 3553: if test -z "$ac_cv_path_GREP"; then
! 3554: { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
! 3555: $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
! 3556: { (exit 1); exit 1; }; }
! 3557: fi
! 3558: else
! 3559: ac_cv_path_GREP=$GREP
! 3560: fi
! 3561:
! 3562: fi
! 3563: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
! 3564: $as_echo "$ac_cv_path_GREP" >&6; }
! 3565: GREP="$ac_cv_path_GREP"
! 3566:
! 3567:
! 3568: { $as_echo "$as_me:$LINENO: checking for egrep" >&5
! 3569: $as_echo_n "checking for egrep... " >&6; }
! 3570: if test "${ac_cv_path_EGREP+set}" = set; then
! 3571: $as_echo_n "(cached) " >&6
! 3572: else
! 3573: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
! 3574: then ac_cv_path_EGREP="$GREP -E"
! 3575: else
! 3576: if test -z "$EGREP"; then
! 3577: ac_path_EGREP_found=false
! 3578: # Loop through the user's path and test for each of PROGNAME-LIST
! 3579: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3580: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
! 3581: do
! 3582: IFS=$as_save_IFS
! 3583: test -z "$as_dir" && as_dir=.
! 3584: for ac_prog in egrep; do
! 3585: for ac_exec_ext in '' $ac_executable_extensions; do
! 3586: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
! 3587: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
! 3588: # Check for GNU ac_path_EGREP and select it if it is found.
! 3589: # Check for GNU $ac_path_EGREP
! 3590: case `"$ac_path_EGREP" --version 2>&1` in
! 3591: *GNU*)
! 3592: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
! 3593: *)
! 3594: ac_count=0
! 3595: $as_echo_n 0123456789 >"conftest.in"
! 3596: while :
! 3597: do
! 3598: cat "conftest.in" "conftest.in" >"conftest.tmp"
! 3599: mv "conftest.tmp" "conftest.in"
! 3600: cp "conftest.in" "conftest.nl"
! 3601: $as_echo 'EGREP' >> "conftest.nl"
! 3602: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
! 3603: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
! 3604: ac_count=`expr $ac_count + 1`
! 3605: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
! 3606: # Best one so far, save it but keep looking for a better one
! 3607: ac_cv_path_EGREP="$ac_path_EGREP"
! 3608: ac_path_EGREP_max=$ac_count
! 3609: fi
! 3610: # 10*(2^10) chars as input seems more than enough
! 3611: test $ac_count -gt 10 && break
! 3612: done
! 3613: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
! 3614: esac
! 3615:
! 3616: $ac_path_EGREP_found && break 3
! 3617: done
! 3618: done
! 3619: done
! 3620: IFS=$as_save_IFS
! 3621: if test -z "$ac_cv_path_EGREP"; then
! 3622: { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
! 3623: $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
! 3624: { (exit 1); exit 1; }; }
! 3625: fi
! 3626: else
! 3627: ac_cv_path_EGREP=$EGREP
! 3628: fi
! 3629:
! 3630: fi
! 3631: fi
! 3632: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
! 3633: $as_echo "$ac_cv_path_EGREP" >&6; }
! 3634: EGREP="$ac_cv_path_EGREP"
! 3635:
! 3636:
! 3637: { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! 3638: $as_echo_n "checking for ANSI C header files... " >&6; }
! 3639: if test "${ac_cv_header_stdc+set}" = set; then
! 3640: $as_echo_n "(cached) " >&6
! 3641: else
! 3642: cat >conftest.$ac_ext <<_ACEOF
! 3643: /* confdefs.h. */
! 3644: _ACEOF
! 3645: cat confdefs.h >>conftest.$ac_ext
! 3646: cat >>conftest.$ac_ext <<_ACEOF
! 3647: /* end confdefs.h. */
! 3648: #include <stdlib.h>
! 3649: #include <stdarg.h>
! 3650: #include <string.h>
! 3651: #include <float.h>
! 3652:
! 3653: int
! 3654: main ()
! 3655: {
! 3656:
! 3657: ;
! 3658: return 0;
! 3659: }
! 3660: _ACEOF
! 3661: rm -f conftest.$ac_objext
! 3662: if { (ac_try="$ac_compile"
! 3663: case "(($ac_try" in
! 3664: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3665: *) ac_try_echo=$ac_try;;
! 3666: esac
! 3667: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3668: $as_echo "$ac_try_echo") >&5
! 3669: (eval "$ac_compile") 2>conftest.er1
! 3670: ac_status=$?
! 3671: grep -v '^ *+' conftest.er1 >conftest.err
! 3672: rm -f conftest.er1
! 3673: cat conftest.err >&5
! 3674: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3675: (exit $ac_status); } && {
! 3676: test -z "$ac_c_werror_flag" ||
! 3677: test ! -s conftest.err
! 3678: } && test -s conftest.$ac_objext; then
! 3679: ac_cv_header_stdc=yes
! 3680: else
! 3681: $as_echo "$as_me: failed program was:" >&5
! 3682: sed 's/^/| /' conftest.$ac_ext >&5
! 3683:
! 3684: ac_cv_header_stdc=no
! 3685: fi
! 3686:
! 3687: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3688:
! 3689: if test $ac_cv_header_stdc = yes; then
! 3690: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
! 3691: cat >conftest.$ac_ext <<_ACEOF
! 3692: /* confdefs.h. */
! 3693: _ACEOF
! 3694: cat confdefs.h >>conftest.$ac_ext
! 3695: cat >>conftest.$ac_ext <<_ACEOF
! 3696: /* end confdefs.h. */
! 3697: #include <string.h>
! 3698:
! 3699: _ACEOF
! 3700: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 3701: $EGREP "memchr" >/dev/null 2>&1; then
! 3702: :
! 3703: else
! 3704: ac_cv_header_stdc=no
! 3705: fi
! 3706: rm -f conftest*
! 3707:
! 3708: fi
! 3709:
! 3710: if test $ac_cv_header_stdc = yes; then
! 3711: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
! 3712: cat >conftest.$ac_ext <<_ACEOF
! 3713: /* confdefs.h. */
! 3714: _ACEOF
! 3715: cat confdefs.h >>conftest.$ac_ext
! 3716: cat >>conftest.$ac_ext <<_ACEOF
! 3717: /* end confdefs.h. */
! 3718: #include <stdlib.h>
! 3719:
! 3720: _ACEOF
! 3721: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! 3722: $EGREP "free" >/dev/null 2>&1; then
! 3723: :
! 3724: else
! 3725: ac_cv_header_stdc=no
! 3726: fi
! 3727: rm -f conftest*
! 3728:
! 3729: fi
! 3730:
! 3731: if test $ac_cv_header_stdc = yes; then
! 3732: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
! 3733: if test "$cross_compiling" = yes; then
! 3734: :
! 3735: else
! 3736: cat >conftest.$ac_ext <<_ACEOF
! 3737: /* confdefs.h. */
! 3738: _ACEOF
! 3739: cat confdefs.h >>conftest.$ac_ext
! 3740: cat >>conftest.$ac_ext <<_ACEOF
! 3741: /* end confdefs.h. */
! 3742: #include <ctype.h>
! 3743: #include <stdlib.h>
! 3744: #if ((' ' & 0x0FF) == 0x020)
! 3745: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 3746: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 3747: #else
! 3748: # define ISLOWER(c) \
! 3749: (('a' <= (c) && (c) <= 'i') \
! 3750: || ('j' <= (c) && (c) <= 'r') \
! 3751: || ('s' <= (c) && (c) <= 'z'))
! 3752: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 3753: #endif
! 3754:
! 3755: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
! 3756: int
! 3757: main ()
! 3758: {
! 3759: int i;
! 3760: for (i = 0; i < 256; i++)
! 3761: if (XOR (islower (i), ISLOWER (i))
! 3762: || toupper (i) != TOUPPER (i))
! 3763: return 2;
! 3764: return 0;
! 3765: }
! 3766: _ACEOF
! 3767: rm -f conftest$ac_exeext
! 3768: if { (ac_try="$ac_link"
! 3769: case "(($ac_try" in
! 3770: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3771: *) ac_try_echo=$ac_try;;
! 3772: esac
! 3773: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3774: $as_echo "$ac_try_echo") >&5
! 3775: (eval "$ac_link") 2>&5
! 3776: ac_status=$?
! 3777: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3778: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 3779: { (case "(($ac_try" in
! 3780: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3781: *) ac_try_echo=$ac_try;;
! 3782: esac
! 3783: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3784: $as_echo "$ac_try_echo") >&5
! 3785: (eval "$ac_try") 2>&5
! 3786: ac_status=$?
! 3787: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3788: (exit $ac_status); }; }; then
! 3789: :
! 3790: else
! 3791: $as_echo "$as_me: program exited with status $ac_status" >&5
! 3792: $as_echo "$as_me: failed program was:" >&5
! 3793: sed 's/^/| /' conftest.$ac_ext >&5
! 3794:
! 3795: ( exit $ac_status )
! 3796: ac_cv_header_stdc=no
! 3797: fi
! 3798: rm -rf conftest.dSYM
! 3799: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 3800: fi
! 3801:
! 3802:
! 3803: fi
! 3804: fi
! 3805: { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! 3806: $as_echo "$ac_cv_header_stdc" >&6; }
! 3807: if test $ac_cv_header_stdc = yes; then
! 3808:
! 3809: cat >>confdefs.h <<\_ACEOF
! 3810: #define STDC_HEADERS 1
! 3811: _ACEOF
! 3812:
! 3813: fi
! 3814:
! 3815: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
! 3816:
! 3817:
! 3818:
! 3819:
! 3820:
! 3821:
! 3822:
! 3823:
! 3824:
! 3825: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 3826: inttypes.h stdint.h unistd.h
! 3827: do
! 3828: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 3829: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 3830: $as_echo_n "checking for $ac_header... " >&6; }
! 3831: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 3832: $as_echo_n "(cached) " >&6
! 3833: else
! 3834: cat >conftest.$ac_ext <<_ACEOF
! 3835: /* confdefs.h. */
! 3836: _ACEOF
! 3837: cat confdefs.h >>conftest.$ac_ext
! 3838: cat >>conftest.$ac_ext <<_ACEOF
! 3839: /* end confdefs.h. */
! 3840: $ac_includes_default
! 3841:
! 3842: #include <$ac_header>
! 3843: _ACEOF
! 3844: rm -f conftest.$ac_objext
! 3845: if { (ac_try="$ac_compile"
! 3846: case "(($ac_try" in
! 3847: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3848: *) ac_try_echo=$ac_try;;
! 3849: esac
! 3850: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3851: $as_echo "$ac_try_echo") >&5
! 3852: (eval "$ac_compile") 2>conftest.er1
! 3853: ac_status=$?
! 3854: grep -v '^ *+' conftest.er1 >conftest.err
! 3855: rm -f conftest.er1
! 3856: cat conftest.err >&5
! 3857: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3858: (exit $ac_status); } && {
! 3859: test -z "$ac_c_werror_flag" ||
! 3860: test ! -s conftest.err
! 3861: } && test -s conftest.$ac_objext; then
! 3862: eval "$as_ac_Header=yes"
! 3863: else
! 3864: $as_echo "$as_me: failed program was:" >&5
! 3865: sed 's/^/| /' conftest.$ac_ext >&5
! 3866:
! 3867: eval "$as_ac_Header=no"
! 3868: fi
! 3869:
! 3870: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3871: fi
! 3872: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 3873: $as_echo "$as_val"'`
! 3874: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 3875: $as_echo "$ac_res" >&6; }
! 3876: if test `eval 'as_val=${'$as_ac_Header'}
! 3877: $as_echo "$as_val"'` = yes; then
! 3878: cat >>confdefs.h <<_ACEOF
! 3879: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 3880: _ACEOF
! 3881:
! 3882: fi
! 3883:
! 3884: done
! 3885:
! 3886:
! 3887:
! 3888:
! 3889:
! 3890:
! 3891:
! 3892: for ac_header in fcntl.h stdlib.h string.h sys/param.h unistd.h
! 3893: do
! 3894: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 3895: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 3896: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 3897: $as_echo_n "checking for $ac_header... " >&6; }
! 3898: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 3899: $as_echo_n "(cached) " >&6
! 3900: fi
! 3901: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 3902: $as_echo "$as_val"'`
! 3903: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 3904: $as_echo "$ac_res" >&6; }
! 3905: else
! 3906: # Is the header compilable?
! 3907: { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 3908: $as_echo_n "checking $ac_header usability... " >&6; }
! 3909: cat >conftest.$ac_ext <<_ACEOF
! 3910: /* confdefs.h. */
! 3911: _ACEOF
! 3912: cat confdefs.h >>conftest.$ac_ext
! 3913: cat >>conftest.$ac_ext <<_ACEOF
! 3914: /* end confdefs.h. */
! 3915: $ac_includes_default
! 3916: #include <$ac_header>
! 3917: _ACEOF
! 3918: rm -f conftest.$ac_objext
! 3919: if { (ac_try="$ac_compile"
! 3920: case "(($ac_try" in
! 3921: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3922: *) ac_try_echo=$ac_try;;
! 3923: esac
! 3924: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3925: $as_echo "$ac_try_echo") >&5
! 3926: (eval "$ac_compile") 2>conftest.er1
! 3927: ac_status=$?
! 3928: grep -v '^ *+' conftest.er1 >conftest.err
! 3929: rm -f conftest.er1
! 3930: cat conftest.err >&5
! 3931: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3932: (exit $ac_status); } && {
! 3933: test -z "$ac_c_werror_flag" ||
! 3934: test ! -s conftest.err
! 3935: } && test -s conftest.$ac_objext; then
! 3936: ac_header_compiler=yes
! 3937: else
! 3938: $as_echo "$as_me: failed program was:" >&5
! 3939: sed 's/^/| /' conftest.$ac_ext >&5
! 3940:
! 3941: ac_header_compiler=no
! 3942: fi
! 3943:
! 3944: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3945: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 3946: $as_echo "$ac_header_compiler" >&6; }
! 3947:
! 3948: # Is the header present?
! 3949: { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 3950: $as_echo_n "checking $ac_header presence... " >&6; }
! 3951: cat >conftest.$ac_ext <<_ACEOF
! 3952: /* confdefs.h. */
! 3953: _ACEOF
! 3954: cat confdefs.h >>conftest.$ac_ext
! 3955: cat >>conftest.$ac_ext <<_ACEOF
! 3956: /* end confdefs.h. */
! 3957: #include <$ac_header>
! 3958: _ACEOF
! 3959: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3960: case "(($ac_try" in
! 3961: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3962: *) ac_try_echo=$ac_try;;
! 3963: esac
! 3964: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3965: $as_echo "$ac_try_echo") >&5
! 3966: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3967: ac_status=$?
! 3968: grep -v '^ *+' conftest.er1 >conftest.err
! 3969: rm -f conftest.er1
! 3970: cat conftest.err >&5
! 3971: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3972: (exit $ac_status); } >/dev/null && {
! 3973: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3974: test ! -s conftest.err
! 3975: }; then
! 3976: ac_header_preproc=yes
! 3977: else
! 3978: $as_echo "$as_me: failed program was:" >&5
! 3979: sed 's/^/| /' conftest.$ac_ext >&5
! 3980:
! 3981: ac_header_preproc=no
! 3982: fi
! 3983:
! 3984: rm -f conftest.err conftest.$ac_ext
! 3985: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 3986: $as_echo "$ac_header_preproc" >&6; }
! 3987:
! 3988: # So? What about this header?
! 3989: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 3990: yes:no: )
! 3991: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 3992: $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 3993: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 3994: $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 3995: ac_header_preproc=yes
! 3996: ;;
! 3997: no:yes:* )
! 3998: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 3999: $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 4000: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 4001: $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 4002: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 4003: $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 4004: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 4005: $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 4006: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 4007: $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 4008: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 4009: $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 4010: ( cat <<\_ASBOX
! 4011: ## ------------------------------ ##
! 4012: ## Report this to misho@aitbg.com ##
! 4013: ## ------------------------------ ##
! 4014: _ASBOX
! 4015: ) | sed "s/^/$as_me: WARNING: /" >&2
! 4016: ;;
! 4017: esac
! 4018: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4019: $as_echo_n "checking for $ac_header... " >&6; }
! 4020: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 4021: $as_echo_n "(cached) " >&6
! 4022: else
! 4023: eval "$as_ac_Header=\$ac_header_preproc"
! 4024: fi
! 4025: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 4026: $as_echo "$as_val"'`
! 4027: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 4028: $as_echo "$ac_res" >&6; }
! 4029:
! 4030: fi
! 4031: if test `eval 'as_val=${'$as_ac_Header'}
! 4032: $as_echo "$as_val"'` = yes; then
! 4033: cat >>confdefs.h <<_ACEOF
! 4034: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 4035: _ACEOF
! 4036:
! 4037: fi
! 4038:
! 4039: done
! 4040:
! 4041:
! 4042: # Checks for typedefs, structures, and compiler characteristics.
! 4043: { $as_echo "$as_me:$LINENO: checking for inline" >&5
! 4044: $as_echo_n "checking for inline... " >&6; }
! 4045: if test "${ac_cv_c_inline+set}" = set; then
! 4046: $as_echo_n "(cached) " >&6
! 4047: else
! 4048: ac_cv_c_inline=no
! 4049: for ac_kw in inline __inline__ __inline; do
! 4050: cat >conftest.$ac_ext <<_ACEOF
! 4051: /* confdefs.h. */
! 4052: _ACEOF
! 4053: cat confdefs.h >>conftest.$ac_ext
! 4054: cat >>conftest.$ac_ext <<_ACEOF
! 4055: /* end confdefs.h. */
! 4056: #ifndef __cplusplus
! 4057: typedef int foo_t;
! 4058: static $ac_kw foo_t static_foo () {return 0; }
! 4059: $ac_kw foo_t foo () {return 0; }
! 4060: #endif
! 4061:
! 4062: _ACEOF
! 4063: rm -f conftest.$ac_objext
! 4064: if { (ac_try="$ac_compile"
! 4065: case "(($ac_try" in
! 4066: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4067: *) ac_try_echo=$ac_try;;
! 4068: esac
! 4069: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4070: $as_echo "$ac_try_echo") >&5
! 4071: (eval "$ac_compile") 2>conftest.er1
! 4072: ac_status=$?
! 4073: grep -v '^ *+' conftest.er1 >conftest.err
! 4074: rm -f conftest.er1
! 4075: cat conftest.err >&5
! 4076: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4077: (exit $ac_status); } && {
! 4078: test -z "$ac_c_werror_flag" ||
! 4079: test ! -s conftest.err
! 4080: } && test -s conftest.$ac_objext; then
! 4081: ac_cv_c_inline=$ac_kw
! 4082: else
! 4083: $as_echo "$as_me: failed program was:" >&5
! 4084: sed 's/^/| /' conftest.$ac_ext >&5
! 4085:
! 4086:
! 4087: fi
! 4088:
! 4089: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4090: test "$ac_cv_c_inline" != no && break
! 4091: done
! 4092:
! 4093: fi
! 4094: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
! 4095: $as_echo "$ac_cv_c_inline" >&6; }
! 4096:
! 4097:
! 4098: case $ac_cv_c_inline in
! 4099: inline | yes) ;;
! 4100: *)
! 4101: case $ac_cv_c_inline in
! 4102: no) ac_val=;;
! 4103: *) ac_val=$ac_cv_c_inline;;
! 4104: esac
! 4105: cat >>confdefs.h <<_ACEOF
! 4106: #ifndef __cplusplus
! 4107: #define inline $ac_val
! 4108: #endif
! 4109: _ACEOF
! 4110: ;;
! 4111: esac
! 4112:
! 4113: { $as_echo "$as_me:$LINENO: checking for off_t" >&5
! 4114: $as_echo_n "checking for off_t... " >&6; }
! 4115: if test "${ac_cv_type_off_t+set}" = set; then
! 4116: $as_echo_n "(cached) " >&6
! 4117: else
! 4118: ac_cv_type_off_t=no
! 4119: cat >conftest.$ac_ext <<_ACEOF
! 4120: /* confdefs.h. */
! 4121: _ACEOF
! 4122: cat confdefs.h >>conftest.$ac_ext
! 4123: cat >>conftest.$ac_ext <<_ACEOF
! 4124: /* end confdefs.h. */
! 4125: $ac_includes_default
! 4126: int
! 4127: main ()
! 4128: {
! 4129: if (sizeof (off_t))
! 4130: return 0;
! 4131: ;
! 4132: return 0;
! 4133: }
! 4134: _ACEOF
! 4135: rm -f conftest.$ac_objext
! 4136: if { (ac_try="$ac_compile"
! 4137: case "(($ac_try" in
! 4138: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4139: *) ac_try_echo=$ac_try;;
! 4140: esac
! 4141: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4142: $as_echo "$ac_try_echo") >&5
! 4143: (eval "$ac_compile") 2>conftest.er1
! 4144: ac_status=$?
! 4145: grep -v '^ *+' conftest.er1 >conftest.err
! 4146: rm -f conftest.er1
! 4147: cat conftest.err >&5
! 4148: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4149: (exit $ac_status); } && {
! 4150: test -z "$ac_c_werror_flag" ||
! 4151: test ! -s conftest.err
! 4152: } && test -s conftest.$ac_objext; then
! 4153: cat >conftest.$ac_ext <<_ACEOF
! 4154: /* confdefs.h. */
! 4155: _ACEOF
! 4156: cat confdefs.h >>conftest.$ac_ext
! 4157: cat >>conftest.$ac_ext <<_ACEOF
! 4158: /* end confdefs.h. */
! 4159: $ac_includes_default
! 4160: int
! 4161: main ()
! 4162: {
! 4163: if (sizeof ((off_t)))
! 4164: return 0;
! 4165: ;
! 4166: return 0;
! 4167: }
! 4168: _ACEOF
! 4169: rm -f conftest.$ac_objext
! 4170: if { (ac_try="$ac_compile"
! 4171: case "(($ac_try" in
! 4172: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4173: *) ac_try_echo=$ac_try;;
! 4174: esac
! 4175: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4176: $as_echo "$ac_try_echo") >&5
! 4177: (eval "$ac_compile") 2>conftest.er1
! 4178: ac_status=$?
! 4179: grep -v '^ *+' conftest.er1 >conftest.err
! 4180: rm -f conftest.er1
! 4181: cat conftest.err >&5
! 4182: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4183: (exit $ac_status); } && {
! 4184: test -z "$ac_c_werror_flag" ||
! 4185: test ! -s conftest.err
! 4186: } && test -s conftest.$ac_objext; then
! 4187: :
! 4188: else
! 4189: $as_echo "$as_me: failed program was:" >&5
! 4190: sed 's/^/| /' conftest.$ac_ext >&5
! 4191:
! 4192: ac_cv_type_off_t=yes
! 4193: fi
! 4194:
! 4195: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4196: else
! 4197: $as_echo "$as_me: failed program was:" >&5
! 4198: sed 's/^/| /' conftest.$ac_ext >&5
! 4199:
! 4200:
! 4201: fi
! 4202:
! 4203: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4204: fi
! 4205: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
! 4206: $as_echo "$ac_cv_type_off_t" >&6; }
! 4207: if test $ac_cv_type_off_t = yes; then
! 4208: :
! 4209: else
! 4210:
! 4211: cat >>confdefs.h <<_ACEOF
! 4212: #define off_t long int
! 4213: _ACEOF
! 4214:
! 4215: fi
! 4216:
! 4217: { $as_echo "$as_me:$LINENO: checking for size_t" >&5
! 4218: $as_echo_n "checking for size_t... " >&6; }
! 4219: if test "${ac_cv_type_size_t+set}" = set; then
! 4220: $as_echo_n "(cached) " >&6
! 4221: else
! 4222: ac_cv_type_size_t=no
! 4223: cat >conftest.$ac_ext <<_ACEOF
! 4224: /* confdefs.h. */
! 4225: _ACEOF
! 4226: cat confdefs.h >>conftest.$ac_ext
! 4227: cat >>conftest.$ac_ext <<_ACEOF
! 4228: /* end confdefs.h. */
! 4229: $ac_includes_default
! 4230: int
! 4231: main ()
! 4232: {
! 4233: if (sizeof (size_t))
! 4234: return 0;
! 4235: ;
! 4236: return 0;
! 4237: }
! 4238: _ACEOF
! 4239: rm -f conftest.$ac_objext
! 4240: if { (ac_try="$ac_compile"
! 4241: case "(($ac_try" in
! 4242: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4243: *) ac_try_echo=$ac_try;;
! 4244: esac
! 4245: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4246: $as_echo "$ac_try_echo") >&5
! 4247: (eval "$ac_compile") 2>conftest.er1
! 4248: ac_status=$?
! 4249: grep -v '^ *+' conftest.er1 >conftest.err
! 4250: rm -f conftest.er1
! 4251: cat conftest.err >&5
! 4252: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4253: (exit $ac_status); } && {
! 4254: test -z "$ac_c_werror_flag" ||
! 4255: test ! -s conftest.err
! 4256: } && test -s conftest.$ac_objext; then
! 4257: cat >conftest.$ac_ext <<_ACEOF
! 4258: /* confdefs.h. */
! 4259: _ACEOF
! 4260: cat confdefs.h >>conftest.$ac_ext
! 4261: cat >>conftest.$ac_ext <<_ACEOF
! 4262: /* end confdefs.h. */
! 4263: $ac_includes_default
! 4264: int
! 4265: main ()
! 4266: {
! 4267: if (sizeof ((size_t)))
! 4268: return 0;
! 4269: ;
! 4270: return 0;
! 4271: }
! 4272: _ACEOF
! 4273: rm -f conftest.$ac_objext
! 4274: if { (ac_try="$ac_compile"
! 4275: case "(($ac_try" in
! 4276: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4277: *) ac_try_echo=$ac_try;;
! 4278: esac
! 4279: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4280: $as_echo "$ac_try_echo") >&5
! 4281: (eval "$ac_compile") 2>conftest.er1
! 4282: ac_status=$?
! 4283: grep -v '^ *+' conftest.er1 >conftest.err
! 4284: rm -f conftest.er1
! 4285: cat conftest.err >&5
! 4286: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4287: (exit $ac_status); } && {
! 4288: test -z "$ac_c_werror_flag" ||
! 4289: test ! -s conftest.err
! 4290: } && test -s conftest.$ac_objext; then
! 4291: :
! 4292: else
! 4293: $as_echo "$as_me: failed program was:" >&5
! 4294: sed 's/^/| /' conftest.$ac_ext >&5
! 4295:
! 4296: ac_cv_type_size_t=yes
! 4297: fi
! 4298:
! 4299: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4300: else
! 4301: $as_echo "$as_me: failed program was:" >&5
! 4302: sed 's/^/| /' conftest.$ac_ext >&5
! 4303:
! 4304:
! 4305: fi
! 4306:
! 4307: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4308: fi
! 4309: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
! 4310: $as_echo "$ac_cv_type_size_t" >&6; }
! 4311: if test $ac_cv_type_size_t = yes; then
! 4312: :
! 4313: else
! 4314:
! 4315: cat >>confdefs.h <<_ACEOF
! 4316: #define size_t unsigned int
! 4317: _ACEOF
! 4318:
! 4319: fi
! 4320:
! 4321:
! 4322: # Checks for library functions.
! 4323:
! 4324: for ac_header in stdlib.h
! 4325: do
! 4326: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 4327: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 4328: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4329: $as_echo_n "checking for $ac_header... " >&6; }
! 4330: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 4331: $as_echo_n "(cached) " >&6
! 4332: fi
! 4333: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 4334: $as_echo "$as_val"'`
! 4335: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 4336: $as_echo "$ac_res" >&6; }
! 4337: else
! 4338: # Is the header compilable?
! 4339: { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 4340: $as_echo_n "checking $ac_header usability... " >&6; }
! 4341: cat >conftest.$ac_ext <<_ACEOF
! 4342: /* confdefs.h. */
! 4343: _ACEOF
! 4344: cat confdefs.h >>conftest.$ac_ext
! 4345: cat >>conftest.$ac_ext <<_ACEOF
! 4346: /* end confdefs.h. */
! 4347: $ac_includes_default
! 4348: #include <$ac_header>
! 4349: _ACEOF
! 4350: rm -f conftest.$ac_objext
! 4351: if { (ac_try="$ac_compile"
! 4352: case "(($ac_try" in
! 4353: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4354: *) ac_try_echo=$ac_try;;
! 4355: esac
! 4356: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4357: $as_echo "$ac_try_echo") >&5
! 4358: (eval "$ac_compile") 2>conftest.er1
! 4359: ac_status=$?
! 4360: grep -v '^ *+' conftest.er1 >conftest.err
! 4361: rm -f conftest.er1
! 4362: cat conftest.err >&5
! 4363: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4364: (exit $ac_status); } && {
! 4365: test -z "$ac_c_werror_flag" ||
! 4366: test ! -s conftest.err
! 4367: } && test -s conftest.$ac_objext; then
! 4368: ac_header_compiler=yes
! 4369: else
! 4370: $as_echo "$as_me: failed program was:" >&5
! 4371: sed 's/^/| /' conftest.$ac_ext >&5
! 4372:
! 4373: ac_header_compiler=no
! 4374: fi
! 4375:
! 4376: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4377: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 4378: $as_echo "$ac_header_compiler" >&6; }
! 4379:
! 4380: # Is the header present?
! 4381: { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 4382: $as_echo_n "checking $ac_header presence... " >&6; }
! 4383: cat >conftest.$ac_ext <<_ACEOF
! 4384: /* confdefs.h. */
! 4385: _ACEOF
! 4386: cat confdefs.h >>conftest.$ac_ext
! 4387: cat >>conftest.$ac_ext <<_ACEOF
! 4388: /* end confdefs.h. */
! 4389: #include <$ac_header>
! 4390: _ACEOF
! 4391: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 4392: case "(($ac_try" in
! 4393: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4394: *) ac_try_echo=$ac_try;;
! 4395: esac
! 4396: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4397: $as_echo "$ac_try_echo") >&5
! 4398: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 4399: ac_status=$?
! 4400: grep -v '^ *+' conftest.er1 >conftest.err
! 4401: rm -f conftest.er1
! 4402: cat conftest.err >&5
! 4403: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4404: (exit $ac_status); } >/dev/null && {
! 4405: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 4406: test ! -s conftest.err
! 4407: }; then
! 4408: ac_header_preproc=yes
! 4409: else
! 4410: $as_echo "$as_me: failed program was:" >&5
! 4411: sed 's/^/| /' conftest.$ac_ext >&5
! 4412:
! 4413: ac_header_preproc=no
! 4414: fi
! 4415:
! 4416: rm -f conftest.err conftest.$ac_ext
! 4417: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 4418: $as_echo "$ac_header_preproc" >&6; }
! 4419:
! 4420: # So? What about this header?
! 4421: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 4422: yes:no: )
! 4423: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 4424: $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 4425: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 4426: $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 4427: ac_header_preproc=yes
! 4428: ;;
! 4429: no:yes:* )
! 4430: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 4431: $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 4432: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 4433: $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 4434: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 4435: $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 4436: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 4437: $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 4438: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 4439: $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 4440: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 4441: $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 4442: ( cat <<\_ASBOX
! 4443: ## ------------------------------ ##
! 4444: ## Report this to misho@aitbg.com ##
! 4445: ## ------------------------------ ##
! 4446: _ASBOX
! 4447: ) | sed "s/^/$as_me: WARNING: /" >&2
! 4448: ;;
! 4449: esac
! 4450: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4451: $as_echo_n "checking for $ac_header... " >&6; }
! 4452: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 4453: $as_echo_n "(cached) " >&6
! 4454: else
! 4455: eval "$as_ac_Header=\$ac_header_preproc"
! 4456: fi
! 4457: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 4458: $as_echo "$as_val"'`
! 4459: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 4460: $as_echo "$ac_res" >&6; }
! 4461:
! 4462: fi
! 4463: if test `eval 'as_val=${'$as_ac_Header'}
! 4464: $as_echo "$as_val"'` = yes; then
! 4465: cat >>confdefs.h <<_ACEOF
! 4466: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 4467: _ACEOF
! 4468:
! 4469: fi
! 4470:
! 4471: done
! 4472:
! 4473: { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
! 4474: $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
! 4475: if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
! 4476: $as_echo_n "(cached) " >&6
! 4477: else
! 4478: if test "$cross_compiling" = yes; then
! 4479: ac_cv_func_malloc_0_nonnull=no
! 4480: else
! 4481: cat >conftest.$ac_ext <<_ACEOF
! 4482: /* confdefs.h. */
! 4483: _ACEOF
! 4484: cat confdefs.h >>conftest.$ac_ext
! 4485: cat >>conftest.$ac_ext <<_ACEOF
! 4486: /* end confdefs.h. */
! 4487: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
! 4488: # include <stdlib.h>
! 4489: #else
! 4490: char *malloc ();
! 4491: #endif
! 4492:
! 4493: int
! 4494: main ()
! 4495: {
! 4496: return ! malloc (0);
! 4497: ;
! 4498: return 0;
! 4499: }
! 4500: _ACEOF
! 4501: rm -f conftest$ac_exeext
! 4502: if { (ac_try="$ac_link"
! 4503: case "(($ac_try" in
! 4504: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4505: *) ac_try_echo=$ac_try;;
! 4506: esac
! 4507: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4508: $as_echo "$ac_try_echo") >&5
! 4509: (eval "$ac_link") 2>&5
! 4510: ac_status=$?
! 4511: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4512: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 4513: { (case "(($ac_try" in
! 4514: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4515: *) ac_try_echo=$ac_try;;
! 4516: esac
! 4517: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4518: $as_echo "$ac_try_echo") >&5
! 4519: (eval "$ac_try") 2>&5
! 4520: ac_status=$?
! 4521: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4522: (exit $ac_status); }; }; then
! 4523: ac_cv_func_malloc_0_nonnull=yes
! 4524: else
! 4525: $as_echo "$as_me: program exited with status $ac_status" >&5
! 4526: $as_echo "$as_me: failed program was:" >&5
! 4527: sed 's/^/| /' conftest.$ac_ext >&5
! 4528:
! 4529: ( exit $ac_status )
! 4530: ac_cv_func_malloc_0_nonnull=no
! 4531: fi
! 4532: rm -rf conftest.dSYM
! 4533: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 4534: fi
! 4535:
! 4536:
! 4537: fi
! 4538: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
! 4539: $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
! 4540: if test $ac_cv_func_malloc_0_nonnull = yes; then
! 4541:
! 4542: cat >>confdefs.h <<\_ACEOF
! 4543: #define HAVE_MALLOC 1
! 4544: _ACEOF
! 4545:
! 4546: else
! 4547: cat >>confdefs.h <<\_ACEOF
! 4548: #define HAVE_MALLOC 0
! 4549: _ACEOF
! 4550:
! 4551: case " $LIBOBJS " in
! 4552: *" malloc.$ac_objext "* ) ;;
! 4553: *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
! 4554: ;;
! 4555: esac
! 4556:
! 4557:
! 4558: cat >>confdefs.h <<\_ACEOF
! 4559: #define malloc rpl_malloc
! 4560: _ACEOF
! 4561:
! 4562: fi
! 4563:
! 4564:
! 4565:
! 4566:
! 4567:
! 4568: for ac_header in stdlib.h unistd.h
! 4569: do
! 4570: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 4571: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 4572: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4573: $as_echo_n "checking for $ac_header... " >&6; }
! 4574: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 4575: $as_echo_n "(cached) " >&6
! 4576: fi
! 4577: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 4578: $as_echo "$as_val"'`
! 4579: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 4580: $as_echo "$ac_res" >&6; }
! 4581: else
! 4582: # Is the header compilable?
! 4583: { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 4584: $as_echo_n "checking $ac_header usability... " >&6; }
! 4585: cat >conftest.$ac_ext <<_ACEOF
! 4586: /* confdefs.h. */
! 4587: _ACEOF
! 4588: cat confdefs.h >>conftest.$ac_ext
! 4589: cat >>conftest.$ac_ext <<_ACEOF
! 4590: /* end confdefs.h. */
! 4591: $ac_includes_default
! 4592: #include <$ac_header>
! 4593: _ACEOF
! 4594: rm -f conftest.$ac_objext
! 4595: if { (ac_try="$ac_compile"
! 4596: case "(($ac_try" in
! 4597: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4598: *) ac_try_echo=$ac_try;;
! 4599: esac
! 4600: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4601: $as_echo "$ac_try_echo") >&5
! 4602: (eval "$ac_compile") 2>conftest.er1
! 4603: ac_status=$?
! 4604: grep -v '^ *+' conftest.er1 >conftest.err
! 4605: rm -f conftest.er1
! 4606: cat conftest.err >&5
! 4607: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4608: (exit $ac_status); } && {
! 4609: test -z "$ac_c_werror_flag" ||
! 4610: test ! -s conftest.err
! 4611: } && test -s conftest.$ac_objext; then
! 4612: ac_header_compiler=yes
! 4613: else
! 4614: $as_echo "$as_me: failed program was:" >&5
! 4615: sed 's/^/| /' conftest.$ac_ext >&5
! 4616:
! 4617: ac_header_compiler=no
! 4618: fi
! 4619:
! 4620: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4621: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 4622: $as_echo "$ac_header_compiler" >&6; }
! 4623:
! 4624: # Is the header present?
! 4625: { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 4626: $as_echo_n "checking $ac_header presence... " >&6; }
! 4627: cat >conftest.$ac_ext <<_ACEOF
! 4628: /* confdefs.h. */
! 4629: _ACEOF
! 4630: cat confdefs.h >>conftest.$ac_ext
! 4631: cat >>conftest.$ac_ext <<_ACEOF
! 4632: /* end confdefs.h. */
! 4633: #include <$ac_header>
! 4634: _ACEOF
! 4635: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 4636: case "(($ac_try" in
! 4637: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4638: *) ac_try_echo=$ac_try;;
! 4639: esac
! 4640: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4641: $as_echo "$ac_try_echo") >&5
! 4642: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 4643: ac_status=$?
! 4644: grep -v '^ *+' conftest.er1 >conftest.err
! 4645: rm -f conftest.er1
! 4646: cat conftest.err >&5
! 4647: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4648: (exit $ac_status); } >/dev/null && {
! 4649: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 4650: test ! -s conftest.err
! 4651: }; then
! 4652: ac_header_preproc=yes
! 4653: else
! 4654: $as_echo "$as_me: failed program was:" >&5
! 4655: sed 's/^/| /' conftest.$ac_ext >&5
! 4656:
! 4657: ac_header_preproc=no
! 4658: fi
! 4659:
! 4660: rm -f conftest.err conftest.$ac_ext
! 4661: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 4662: $as_echo "$ac_header_preproc" >&6; }
! 4663:
! 4664: # So? What about this header?
! 4665: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 4666: yes:no: )
! 4667: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 4668: $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 4669: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 4670: $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 4671: ac_header_preproc=yes
! 4672: ;;
! 4673: no:yes:* )
! 4674: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 4675: $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 4676: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 4677: $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 4678: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 4679: $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 4680: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 4681: $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 4682: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 4683: $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 4684: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 4685: $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 4686: ( cat <<\_ASBOX
! 4687: ## ------------------------------ ##
! 4688: ## Report this to misho@aitbg.com ##
! 4689: ## ------------------------------ ##
! 4690: _ASBOX
! 4691: ) | sed "s/^/$as_me: WARNING: /" >&2
! 4692: ;;
! 4693: esac
! 4694: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4695: $as_echo_n "checking for $ac_header... " >&6; }
! 4696: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 4697: $as_echo_n "(cached) " >&6
! 4698: else
! 4699: eval "$as_ac_Header=\$ac_header_preproc"
! 4700: fi
! 4701: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 4702: $as_echo "$as_val"'`
! 4703: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 4704: $as_echo "$ac_res" >&6; }
! 4705:
! 4706: fi
! 4707: if test `eval 'as_val=${'$as_ac_Header'}
! 4708: $as_echo "$as_val"'` = yes; then
! 4709: cat >>confdefs.h <<_ACEOF
! 4710: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 4711: _ACEOF
! 4712:
! 4713: fi
! 4714:
! 4715: done
! 4716:
! 4717:
! 4718: for ac_func in getpagesize
! 4719: do
! 4720: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 4721: { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
! 4722: $as_echo_n "checking for $ac_func... " >&6; }
! 4723: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
! 4724: $as_echo_n "(cached) " >&6
! 4725: else
! 4726: cat >conftest.$ac_ext <<_ACEOF
! 4727: /* confdefs.h. */
! 4728: _ACEOF
! 4729: cat confdefs.h >>conftest.$ac_ext
! 4730: cat >>conftest.$ac_ext <<_ACEOF
! 4731: /* end confdefs.h. */
! 4732: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 4733: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 4734: #define $ac_func innocuous_$ac_func
! 4735:
! 4736: /* System header to define __stub macros and hopefully few prototypes,
! 4737: which can conflict with char $ac_func (); below.
! 4738: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 4739: <limits.h> exists even on freestanding compilers. */
! 4740:
! 4741: #ifdef __STDC__
! 4742: # include <limits.h>
! 4743: #else
! 4744: # include <assert.h>
! 4745: #endif
! 4746:
! 4747: #undef $ac_func
! 4748:
! 4749: /* Override any GCC internal prototype to avoid an error.
! 4750: Use char because int might match the return type of a GCC
! 4751: builtin and then its argument prototype would still apply. */
! 4752: #ifdef __cplusplus
! 4753: extern "C"
! 4754: #endif
! 4755: char $ac_func ();
! 4756: /* The GNU C library defines this for functions which it implements
! 4757: to always fail with ENOSYS. Some functions are actually named
! 4758: something starting with __ and the normal name is an alias. */
! 4759: #if defined __stub_$ac_func || defined __stub___$ac_func
! 4760: choke me
! 4761: #endif
! 4762:
! 4763: int
! 4764: main ()
! 4765: {
! 4766: return $ac_func ();
! 4767: ;
! 4768: return 0;
! 4769: }
! 4770: _ACEOF
! 4771: rm -f conftest.$ac_objext conftest$ac_exeext
! 4772: if { (ac_try="$ac_link"
! 4773: case "(($ac_try" in
! 4774: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4775: *) ac_try_echo=$ac_try;;
! 4776: esac
! 4777: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4778: $as_echo "$ac_try_echo") >&5
! 4779: (eval "$ac_link") 2>conftest.er1
! 4780: ac_status=$?
! 4781: grep -v '^ *+' conftest.er1 >conftest.err
! 4782: rm -f conftest.er1
! 4783: cat conftest.err >&5
! 4784: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4785: (exit $ac_status); } && {
! 4786: test -z "$ac_c_werror_flag" ||
! 4787: test ! -s conftest.err
! 4788: } && test -s conftest$ac_exeext && {
! 4789: test "$cross_compiling" = yes ||
! 4790: $as_test_x conftest$ac_exeext
! 4791: }; then
! 4792: eval "$as_ac_var=yes"
! 4793: else
! 4794: $as_echo "$as_me: failed program was:" >&5
! 4795: sed 's/^/| /' conftest.$ac_ext >&5
! 4796:
! 4797: eval "$as_ac_var=no"
! 4798: fi
! 4799:
! 4800: rm -rf conftest.dSYM
! 4801: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 4802: conftest$ac_exeext conftest.$ac_ext
! 4803: fi
! 4804: ac_res=`eval 'as_val=${'$as_ac_var'}
! 4805: $as_echo "$as_val"'`
! 4806: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 4807: $as_echo "$ac_res" >&6; }
! 4808: if test `eval 'as_val=${'$as_ac_var'}
! 4809: $as_echo "$as_val"'` = yes; then
! 4810: cat >>confdefs.h <<_ACEOF
! 4811: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 4812: _ACEOF
! 4813:
! 4814: fi
! 4815: done
! 4816:
! 4817: { $as_echo "$as_me:$LINENO: checking for working mmap" >&5
! 4818: $as_echo_n "checking for working mmap... " >&6; }
! 4819: if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
! 4820: $as_echo_n "(cached) " >&6
! 4821: else
! 4822: if test "$cross_compiling" = yes; then
! 4823: ac_cv_func_mmap_fixed_mapped=no
! 4824: else
! 4825: cat >conftest.$ac_ext <<_ACEOF
! 4826: /* confdefs.h. */
! 4827: _ACEOF
! 4828: cat confdefs.h >>conftest.$ac_ext
! 4829: cat >>conftest.$ac_ext <<_ACEOF
! 4830: /* end confdefs.h. */
! 4831: $ac_includes_default
! 4832: /* malloc might have been renamed as rpl_malloc. */
! 4833: #undef malloc
! 4834:
! 4835: /* Thanks to Mike Haertel and Jim Avera for this test.
! 4836: Here is a matrix of mmap possibilities:
! 4837: mmap private not fixed
! 4838: mmap private fixed at somewhere currently unmapped
! 4839: mmap private fixed at somewhere already mapped
! 4840: mmap shared not fixed
! 4841: mmap shared fixed at somewhere currently unmapped
! 4842: mmap shared fixed at somewhere already mapped
! 4843: For private mappings, we should verify that changes cannot be read()
! 4844: back from the file, nor mmap's back from the file at a different
! 4845: address. (There have been systems where private was not correctly
! 4846: implemented like the infamous i386 svr4.0, and systems where the
! 4847: VM page cache was not coherent with the file system buffer cache
! 4848: like early versions of FreeBSD and possibly contemporary NetBSD.)
! 4849: For shared mappings, we should conversely verify that changes get
! 4850: propagated back to all the places they're supposed to be.
! 4851:
! 4852: Grep wants private fixed already mapped.
! 4853: The main things grep needs to know about mmap are:
! 4854: * does it exist and is it safe to write into the mmap'd area
! 4855: * how to use it (BSD variants) */
! 4856:
! 4857: #include <fcntl.h>
! 4858: #include <sys/mman.h>
! 4859:
! 4860: #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
! 4861: char *malloc ();
! 4862: #endif
! 4863:
! 4864: /* This mess was copied from the GNU getpagesize.h. */
! 4865: #ifndef HAVE_GETPAGESIZE
! 4866: /* Assume that all systems that can run configure have sys/param.h. */
! 4867: # ifndef HAVE_SYS_PARAM_H
! 4868: # define HAVE_SYS_PARAM_H 1
! 4869: # endif
! 4870:
! 4871: # ifdef _SC_PAGESIZE
! 4872: # define getpagesize() sysconf(_SC_PAGESIZE)
! 4873: # else /* no _SC_PAGESIZE */
! 4874: # ifdef HAVE_SYS_PARAM_H
! 4875: # include <sys/param.h>
! 4876: # ifdef EXEC_PAGESIZE
! 4877: # define getpagesize() EXEC_PAGESIZE
! 4878: # else /* no EXEC_PAGESIZE */
! 4879: # ifdef NBPG
! 4880: # define getpagesize() NBPG * CLSIZE
! 4881: # ifndef CLSIZE
! 4882: # define CLSIZE 1
! 4883: # endif /* no CLSIZE */
! 4884: # else /* no NBPG */
! 4885: # ifdef NBPC
! 4886: # define getpagesize() NBPC
! 4887: # else /* no NBPC */
! 4888: # ifdef PAGESIZE
! 4889: # define getpagesize() PAGESIZE
! 4890: # endif /* PAGESIZE */
! 4891: # endif /* no NBPC */
! 4892: # endif /* no NBPG */
! 4893: # endif /* no EXEC_PAGESIZE */
! 4894: # else /* no HAVE_SYS_PARAM_H */
! 4895: # define getpagesize() 8192 /* punt totally */
! 4896: # endif /* no HAVE_SYS_PARAM_H */
! 4897: # endif /* no _SC_PAGESIZE */
! 4898:
! 4899: #endif /* no HAVE_GETPAGESIZE */
! 4900:
! 4901: int
! 4902: main ()
! 4903: {
! 4904: char *data, *data2, *data3;
! 4905: int i, pagesize;
! 4906: int fd;
! 4907:
! 4908: pagesize = getpagesize ();
! 4909:
! 4910: /* First, make a file with some known garbage in it. */
! 4911: data = (char *) malloc (pagesize);
! 4912: if (!data)
! 4913: return 1;
! 4914: for (i = 0; i < pagesize; ++i)
! 4915: *(data + i) = rand ();
! 4916: umask (0);
! 4917: fd = creat ("conftest.mmap", 0600);
! 4918: if (fd < 0)
! 4919: return 1;
! 4920: if (write (fd, data, pagesize) != pagesize)
! 4921: return 1;
! 4922: close (fd);
! 4923:
! 4924: /* Next, try to mmap the file at a fixed address which already has
! 4925: something else allocated at it. If we can, also make sure that
! 4926: we see the same garbage. */
! 4927: fd = open ("conftest.mmap", O_RDWR);
! 4928: if (fd < 0)
! 4929: return 1;
! 4930: data2 = (char *) malloc (2 * pagesize);
! 4931: if (!data2)
! 4932: return 1;
! 4933: data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
! 4934: if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
! 4935: MAP_PRIVATE | MAP_FIXED, fd, 0L))
! 4936: return 1;
! 4937: for (i = 0; i < pagesize; ++i)
! 4938: if (*(data + i) != *(data2 + i))
! 4939: return 1;
! 4940:
! 4941: /* Finally, make sure that changes to the mapped area do not
! 4942: percolate back to the file as seen by read(). (This is a bug on
! 4943: some variants of i386 svr4.0.) */
! 4944: for (i = 0; i < pagesize; ++i)
! 4945: *(data2 + i) = *(data2 + i) + 1;
! 4946: data3 = (char *) malloc (pagesize);
! 4947: if (!data3)
! 4948: return 1;
! 4949: if (read (fd, data3, pagesize) != pagesize)
! 4950: return 1;
! 4951: for (i = 0; i < pagesize; ++i)
! 4952: if (*(data + i) != *(data3 + i))
! 4953: return 1;
! 4954: close (fd);
! 4955: return 0;
! 4956: }
! 4957: _ACEOF
! 4958: rm -f conftest$ac_exeext
! 4959: if { (ac_try="$ac_link"
! 4960: case "(($ac_try" in
! 4961: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4962: *) ac_try_echo=$ac_try;;
! 4963: esac
! 4964: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4965: $as_echo "$ac_try_echo") >&5
! 4966: (eval "$ac_link") 2>&5
! 4967: ac_status=$?
! 4968: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4969: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 4970: { (case "(($ac_try" in
! 4971: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4972: *) ac_try_echo=$ac_try;;
! 4973: esac
! 4974: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4975: $as_echo "$ac_try_echo") >&5
! 4976: (eval "$ac_try") 2>&5
! 4977: ac_status=$?
! 4978: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4979: (exit $ac_status); }; }; then
! 4980: ac_cv_func_mmap_fixed_mapped=yes
! 4981: else
! 4982: $as_echo "$as_me: program exited with status $ac_status" >&5
! 4983: $as_echo "$as_me: failed program was:" >&5
! 4984: sed 's/^/| /' conftest.$ac_ext >&5
! 4985:
! 4986: ( exit $ac_status )
! 4987: ac_cv_func_mmap_fixed_mapped=no
! 4988: fi
! 4989: rm -rf conftest.dSYM
! 4990: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 4991: fi
! 4992:
! 4993:
! 4994: fi
! 4995: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
! 4996: $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
! 4997: if test $ac_cv_func_mmap_fixed_mapped = yes; then
! 4998:
! 4999: cat >>confdefs.h <<\_ACEOF
! 5000: #define HAVE_MMAP 1
! 5001: _ACEOF
! 5002:
! 5003: fi
! 5004: rm -f conftest.mmap
! 5005:
! 5006:
! 5007: for ac_header in stdlib.h
! 5008: do
! 5009: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 5010: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 5011: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 5012: $as_echo_n "checking for $ac_header... " >&6; }
! 5013: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 5014: $as_echo_n "(cached) " >&6
! 5015: fi
! 5016: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 5017: $as_echo "$as_val"'`
! 5018: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 5019: $as_echo "$ac_res" >&6; }
! 5020: else
! 5021: # Is the header compilable?
! 5022: { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 5023: $as_echo_n "checking $ac_header usability... " >&6; }
! 5024: cat >conftest.$ac_ext <<_ACEOF
! 5025: /* confdefs.h. */
! 5026: _ACEOF
! 5027: cat confdefs.h >>conftest.$ac_ext
! 5028: cat >>conftest.$ac_ext <<_ACEOF
! 5029: /* end confdefs.h. */
! 5030: $ac_includes_default
! 5031: #include <$ac_header>
! 5032: _ACEOF
! 5033: rm -f conftest.$ac_objext
! 5034: if { (ac_try="$ac_compile"
! 5035: case "(($ac_try" in
! 5036: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5037: *) ac_try_echo=$ac_try;;
! 5038: esac
! 5039: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5040: $as_echo "$ac_try_echo") >&5
! 5041: (eval "$ac_compile") 2>conftest.er1
! 5042: ac_status=$?
! 5043: grep -v '^ *+' conftest.er1 >conftest.err
! 5044: rm -f conftest.er1
! 5045: cat conftest.err >&5
! 5046: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5047: (exit $ac_status); } && {
! 5048: test -z "$ac_c_werror_flag" ||
! 5049: test ! -s conftest.err
! 5050: } && test -s conftest.$ac_objext; then
! 5051: ac_header_compiler=yes
! 5052: else
! 5053: $as_echo "$as_me: failed program was:" >&5
! 5054: sed 's/^/| /' conftest.$ac_ext >&5
! 5055:
! 5056: ac_header_compiler=no
! 5057: fi
! 5058:
! 5059: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 5060: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 5061: $as_echo "$ac_header_compiler" >&6; }
! 5062:
! 5063: # Is the header present?
! 5064: { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 5065: $as_echo_n "checking $ac_header presence... " >&6; }
! 5066: cat >conftest.$ac_ext <<_ACEOF
! 5067: /* confdefs.h. */
! 5068: _ACEOF
! 5069: cat confdefs.h >>conftest.$ac_ext
! 5070: cat >>conftest.$ac_ext <<_ACEOF
! 5071: /* end confdefs.h. */
! 5072: #include <$ac_header>
! 5073: _ACEOF
! 5074: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 5075: case "(($ac_try" in
! 5076: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5077: *) ac_try_echo=$ac_try;;
! 5078: esac
! 5079: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5080: $as_echo "$ac_try_echo") >&5
! 5081: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 5082: ac_status=$?
! 5083: grep -v '^ *+' conftest.er1 >conftest.err
! 5084: rm -f conftest.er1
! 5085: cat conftest.err >&5
! 5086: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5087: (exit $ac_status); } >/dev/null && {
! 5088: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 5089: test ! -s conftest.err
! 5090: }; then
! 5091: ac_header_preproc=yes
! 5092: else
! 5093: $as_echo "$as_me: failed program was:" >&5
! 5094: sed 's/^/| /' conftest.$ac_ext >&5
! 5095:
! 5096: ac_header_preproc=no
! 5097: fi
! 5098:
! 5099: rm -f conftest.err conftest.$ac_ext
! 5100: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 5101: $as_echo "$ac_header_preproc" >&6; }
! 5102:
! 5103: # So? What about this header?
! 5104: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 5105: yes:no: )
! 5106: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 5107: $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 5108: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 5109: $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 5110: ac_header_preproc=yes
! 5111: ;;
! 5112: no:yes:* )
! 5113: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 5114: $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 5115: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 5116: $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 5117: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 5118: $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 5119: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 5120: $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 5121: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 5122: $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 5123: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 5124: $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 5125: ( cat <<\_ASBOX
! 5126: ## ------------------------------ ##
! 5127: ## Report this to misho@aitbg.com ##
! 5128: ## ------------------------------ ##
! 5129: _ASBOX
! 5130: ) | sed "s/^/$as_me: WARNING: /" >&2
! 5131: ;;
! 5132: esac
! 5133: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 5134: $as_echo_n "checking for $ac_header... " >&6; }
! 5135: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 5136: $as_echo_n "(cached) " >&6
! 5137: else
! 5138: eval "$as_ac_Header=\$ac_header_preproc"
! 5139: fi
! 5140: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 5141: $as_echo "$as_val"'`
! 5142: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 5143: $as_echo "$ac_res" >&6; }
! 5144:
! 5145: fi
! 5146: if test `eval 'as_val=${'$as_ac_Header'}
! 5147: $as_echo "$as_val"'` = yes; then
! 5148: cat >>confdefs.h <<_ACEOF
! 5149: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 5150: _ACEOF
! 5151:
! 5152: fi
! 5153:
! 5154: done
! 5155:
! 5156: { $as_echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
! 5157: $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
! 5158: if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
! 5159: $as_echo_n "(cached) " >&6
! 5160: else
! 5161: if test "$cross_compiling" = yes; then
! 5162: ac_cv_func_realloc_0_nonnull=no
! 5163: else
! 5164: cat >conftest.$ac_ext <<_ACEOF
! 5165: /* confdefs.h. */
! 5166: _ACEOF
! 5167: cat confdefs.h >>conftest.$ac_ext
! 5168: cat >>conftest.$ac_ext <<_ACEOF
! 5169: /* end confdefs.h. */
! 5170: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
! 5171: # include <stdlib.h>
! 5172: #else
! 5173: char *realloc ();
! 5174: #endif
! 5175:
! 5176: int
! 5177: main ()
! 5178: {
! 5179: return ! realloc (0, 0);
! 5180: ;
! 5181: return 0;
! 5182: }
! 5183: _ACEOF
! 5184: rm -f conftest$ac_exeext
! 5185: if { (ac_try="$ac_link"
! 5186: case "(($ac_try" in
! 5187: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5188: *) ac_try_echo=$ac_try;;
! 5189: esac
! 5190: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5191: $as_echo "$ac_try_echo") >&5
! 5192: (eval "$ac_link") 2>&5
! 5193: ac_status=$?
! 5194: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5195: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 5196: { (case "(($ac_try" in
! 5197: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5198: *) ac_try_echo=$ac_try;;
! 5199: esac
! 5200: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5201: $as_echo "$ac_try_echo") >&5
! 5202: (eval "$ac_try") 2>&5
! 5203: ac_status=$?
! 5204: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5205: (exit $ac_status); }; }; then
! 5206: ac_cv_func_realloc_0_nonnull=yes
! 5207: else
! 5208: $as_echo "$as_me: program exited with status $ac_status" >&5
! 5209: $as_echo "$as_me: failed program was:" >&5
! 5210: sed 's/^/| /' conftest.$ac_ext >&5
! 5211:
! 5212: ( exit $ac_status )
! 5213: ac_cv_func_realloc_0_nonnull=no
! 5214: fi
! 5215: rm -rf conftest.dSYM
! 5216: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 5217: fi
! 5218:
! 5219:
! 5220: fi
! 5221: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
! 5222: $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
! 5223: if test $ac_cv_func_realloc_0_nonnull = yes; then
! 5224:
! 5225: cat >>confdefs.h <<\_ACEOF
! 5226: #define HAVE_REALLOC 1
! 5227: _ACEOF
! 5228:
! 5229: else
! 5230: cat >>confdefs.h <<\_ACEOF
! 5231: #define HAVE_REALLOC 0
! 5232: _ACEOF
! 5233:
! 5234: case " $LIBOBJS " in
! 5235: *" realloc.$ac_objext "* ) ;;
! 5236: *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
! 5237: ;;
! 5238: esac
! 5239:
! 5240:
! 5241: cat >>confdefs.h <<\_ACEOF
! 5242: #define realloc rpl_realloc
! 5243: _ACEOF
! 5244:
! 5245: fi
! 5246:
! 5247:
! 5248:
! 5249:
! 5250:
! 5251: for ac_func in memset munmap
! 5252: do
! 5253: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 5254: { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
! 5255: $as_echo_n "checking for $ac_func... " >&6; }
! 5256: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
! 5257: $as_echo_n "(cached) " >&6
! 5258: else
! 5259: cat >conftest.$ac_ext <<_ACEOF
! 5260: /* confdefs.h. */
! 5261: _ACEOF
! 5262: cat confdefs.h >>conftest.$ac_ext
! 5263: cat >>conftest.$ac_ext <<_ACEOF
! 5264: /* end confdefs.h. */
! 5265: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 5266: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 5267: #define $ac_func innocuous_$ac_func
! 5268:
! 5269: /* System header to define __stub macros and hopefully few prototypes,
! 5270: which can conflict with char $ac_func (); below.
! 5271: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 5272: <limits.h> exists even on freestanding compilers. */
! 5273:
! 5274: #ifdef __STDC__
! 5275: # include <limits.h>
! 5276: #else
! 5277: # include <assert.h>
! 5278: #endif
! 5279:
! 5280: #undef $ac_func
! 5281:
! 5282: /* Override any GCC internal prototype to avoid an error.
! 5283: Use char because int might match the return type of a GCC
! 5284: builtin and then its argument prototype would still apply. */
! 5285: #ifdef __cplusplus
! 5286: extern "C"
! 5287: #endif
! 5288: char $ac_func ();
! 5289: /* The GNU C library defines this for functions which it implements
! 5290: to always fail with ENOSYS. Some functions are actually named
! 5291: something starting with __ and the normal name is an alias. */
! 5292: #if defined __stub_$ac_func || defined __stub___$ac_func
! 5293: choke me
! 5294: #endif
! 5295:
! 5296: int
! 5297: main ()
! 5298: {
! 5299: return $ac_func ();
! 5300: ;
! 5301: return 0;
! 5302: }
! 5303: _ACEOF
! 5304: rm -f conftest.$ac_objext conftest$ac_exeext
! 5305: if { (ac_try="$ac_link"
! 5306: case "(($ac_try" in
! 5307: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 5308: *) ac_try_echo=$ac_try;;
! 5309: esac
! 5310: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 5311: $as_echo "$ac_try_echo") >&5
! 5312: (eval "$ac_link") 2>conftest.er1
! 5313: ac_status=$?
! 5314: grep -v '^ *+' conftest.er1 >conftest.err
! 5315: rm -f conftest.er1
! 5316: cat conftest.err >&5
! 5317: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5318: (exit $ac_status); } && {
! 5319: test -z "$ac_c_werror_flag" ||
! 5320: test ! -s conftest.err
! 5321: } && test -s conftest$ac_exeext && {
! 5322: test "$cross_compiling" = yes ||
! 5323: $as_test_x conftest$ac_exeext
! 5324: }; then
! 5325: eval "$as_ac_var=yes"
! 5326: else
! 5327: $as_echo "$as_me: failed program was:" >&5
! 5328: sed 's/^/| /' conftest.$ac_ext >&5
! 5329:
! 5330: eval "$as_ac_var=no"
! 5331: fi
! 5332:
! 5333: rm -rf conftest.dSYM
! 5334: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 5335: conftest$ac_exeext conftest.$ac_ext
! 5336: fi
! 5337: ac_res=`eval 'as_val=${'$as_ac_var'}
! 5338: $as_echo "$as_val"'`
! 5339: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 5340: $as_echo "$ac_res" >&6; }
! 5341: if test `eval 'as_val=${'$as_ac_var'}
! 5342: $as_echo "$as_val"'` = yes; then
! 5343: cat >>confdefs.h <<_ACEOF
! 5344: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 5345: _ACEOF
! 5346:
! 5347: fi
! 5348: done
! 5349:
! 5350:
! 5351: DEBUG=no
! 5352: { $as_echo "$as_me:$LINENO: checking Debug Build" >&5
! 5353: $as_echo_n "checking Debug Build... " >&6; }
! 5354: # Check whether --enable-debug was given.
! 5355: if test "${enable_debug+set}" = set; then
! 5356: enableval=$enable_debug; DEBUG=$enableval
! 5357: case "$enableval" in
! 5358: yes)
! 5359:
! 5360: cat >>confdefs.h <<\_ACEOF
! 5361: #define __DEBUG /**/
! 5362: _ACEOF
! 5363:
! 5364: CFLAGS="-g ${CFLAGS}"
! 5365: ;;
! 5366: *)
! 5367:
! 5368: cat >>confdefs.h <<\_ACEOF
! 5369: #define NDEBUG /**/
! 5370: _ACEOF
! 5371:
! 5372: ;;
! 5373: esac
! 5374: fi
! 5375:
! 5376: { $as_echo "$as_me:$LINENO: result: $DEBUG" >&5
! 5377: $as_echo "$DEBUG" >&6; }
! 5378:
! 5379: ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile"
! 5380:
! 5381: cat >confcache <<\_ACEOF
! 5382: # This file is a shell script that caches the results of configure
! 5383: # tests run on this system so they can be shared between configure
! 5384: # scripts and configure runs, see configure's option --config-cache.
! 5385: # It is not useful on other systems. If it contains results you don't
! 5386: # want to keep, you may remove or edit it.
! 5387: #
! 5388: # config.status only pays attention to the cache file if you give it
! 5389: # the --recheck option to rerun configure.
! 5390: #
! 5391: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 5392: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 5393: # following values.
! 5394:
! 5395: _ACEOF
! 5396:
! 5397: # The following way of writing the cache mishandles newlines in values,
! 5398: # but we know of no workaround that is simple, portable, and efficient.
! 5399: # So, we kill variables containing newlines.
! 5400: # Ultrix sh set writes to stderr and can't be redirected directly,
! 5401: # and sets the high bit in the cache file unless we assign to the vars.
! 5402: (
! 5403: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
! 5404: eval ac_val=\$$ac_var
! 5405: case $ac_val in #(
! 5406: *${as_nl}*)
! 5407: case $ac_var in #(
! 5408: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
! 5409: $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
! 5410: esac
! 5411: case $ac_var in #(
! 5412: _ | IFS | as_nl) ;; #(
! 5413: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
! 5414: *) $as_unset $ac_var ;;
! 5415: esac ;;
! 5416: esac
! 5417: done
! 5418:
! 5419: (set) 2>&1 |
! 5420: case $as_nl`(ac_space=' '; set) 2>&1` in #(
! 5421: *${as_nl}ac_space=\ *)
! 5422: # `set' does not quote correctly, so add quotes (double-quote
! 5423: # substitution turns \\\\ into \\, and sed turns \\ into \).
! 5424: sed -n \
! 5425: "s/'/'\\\\''/g;
! 5426: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 5427: ;; #(
! 5428: *)
! 5429: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 5430: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
! 5431: ;;
! 5432: esac |
! 5433: sort
! 5434: ) |
! 5435: sed '
! 5436: /^ac_cv_env_/b end
! 5437: t clear
! 5438: :clear
! 5439: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 5440: t end
! 5441: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 5442: :end' >>confcache
! 5443: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
! 5444: if test -w "$cache_file"; then
! 5445: test "x$cache_file" != "x/dev/null" &&
! 5446: { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
! 5447: $as_echo "$as_me: updating cache $cache_file" >&6;}
! 5448: cat confcache >$cache_file
! 5449: else
! 5450: { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
! 5451: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
! 5452: fi
! 5453: fi
! 5454: rm -f confcache
! 5455:
! 5456: test "x$prefix" = xNONE && prefix=$ac_default_prefix
! 5457: # Let make expand exec_prefix.
! 5458: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
! 5459:
! 5460: DEFS=-DHAVE_CONFIG_H
! 5461:
! 5462: ac_libobjs=
! 5463: ac_ltlibobjs=
! 5464: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 5465: # 1. Remove the extension, and $U if already installed.
! 5466: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
! 5467: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
! 5468: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
! 5469: # will be set to the directory where LIBOBJS objects are built.
! 5470: ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
! 5471: ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
! 5472: done
! 5473: LIBOBJS=$ac_libobjs
! 5474:
! 5475: LTLIBOBJS=$ac_ltlibobjs
! 5476:
! 5477:
! 5478:
! 5479: : ${CONFIG_STATUS=./config.status}
! 5480: ac_write_fail=0
! 5481: ac_clean_files_save=$ac_clean_files
! 5482: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 5483: { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
! 5484: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 5485: cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 5486: #! $SHELL
! 5487: # Generated by $as_me.
! 5488: # Run this file to recreate the current configuration.
! 5489: # Compiler output produced by configure, useful for debugging
! 5490: # configure, is in config.log if it exists.
! 5491:
! 5492: debug=false
! 5493: ac_cs_recheck=false
! 5494: ac_cs_silent=false
! 5495: SHELL=\${CONFIG_SHELL-$SHELL}
! 5496: _ACEOF
! 5497:
! 5498: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 5499: ## --------------------- ##
! 5500: ## M4sh Initialization. ##
! 5501: ## --------------------- ##
! 5502:
! 5503: # Be more Bourne compatible
! 5504: DUALCASE=1; export DUALCASE # for MKS sh
! 5505: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 5506: emulate sh
! 5507: NULLCMD=:
! 5508: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
! 5509: # is contrary to our usage. Disable this feature.
! 5510: alias -g '${1+"$@"}'='"$@"'
! 5511: setopt NO_GLOB_SUBST
! 5512: else
! 5513: case `(set -o) 2>/dev/null` in
! 5514: *posix*) set -o posix ;;
! 5515: esac
! 5516:
! 5517: fi
! 5518:
! 5519:
! 5520:
! 5521:
! 5522: # PATH needs CR
! 5523: # Avoid depending upon Character Ranges.
! 5524: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 5525: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 5526: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 5527: as_cr_digits='0123456789'
! 5528: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 5529:
! 5530: as_nl='
! 5531: '
! 5532: export as_nl
! 5533: # Printing a long string crashes Solaris 7 /usr/bin/printf.
! 5534: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
! 5535: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
! 5536: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
! 5537: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
! 5538: as_echo='printf %s\n'
! 5539: as_echo_n='printf %s'
! 5540: else
! 5541: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
! 5542: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
! 5543: as_echo_n='/usr/ucb/echo -n'
! 5544: else
! 5545: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
! 5546: as_echo_n_body='eval
! 5547: arg=$1;
! 5548: case $arg in
! 5549: *"$as_nl"*)
! 5550: expr "X$arg" : "X\\(.*\\)$as_nl";
! 5551: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
! 5552: esac;
! 5553: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
! 5554: '
! 5555: export as_echo_n_body
! 5556: as_echo_n='sh -c $as_echo_n_body as_echo'
! 5557: fi
! 5558: export as_echo_body
! 5559: as_echo='sh -c $as_echo_body as_echo'
! 5560: fi
! 5561:
! 5562: # The user is always right.
! 5563: if test "${PATH_SEPARATOR+set}" != set; then
! 5564: PATH_SEPARATOR=:
! 5565: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
! 5566: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
! 5567: PATH_SEPARATOR=';'
! 5568: }
! 5569: fi
! 5570:
! 5571: # Support unset when possible.
! 5572: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 5573: as_unset=unset
! 5574: else
! 5575: as_unset=false
! 5576: fi
! 5577:
! 5578:
! 5579: # IFS
! 5580: # We need space, tab and new line, in precisely that order. Quoting is
! 5581: # there to prevent editors from complaining about space-tab.
! 5582: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
! 5583: # splitting by setting IFS to empty value.)
! 5584: IFS=" "" $as_nl"
! 5585:
! 5586: # Find who we are. Look in the path if we contain no directory separator.
! 5587: case $0 in
! 5588: *[\\/]* ) as_myself=$0 ;;
! 5589: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5590: for as_dir in $PATH
! 5591: do
! 5592: IFS=$as_save_IFS
! 5593: test -z "$as_dir" && as_dir=.
! 5594: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 5595: done
! 5596: IFS=$as_save_IFS
! 5597:
! 5598: ;;
! 5599: esac
! 5600: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 5601: # in which case we are not to be found in the path.
! 5602: if test "x$as_myself" = x; then
! 5603: as_myself=$0
! 5604: fi
! 5605: if test ! -f "$as_myself"; then
! 5606: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
! 5607: { (exit 1); exit 1; }
! 5608: fi
! 5609:
! 5610: # Work around bugs in pre-3.0 UWIN ksh.
! 5611: for as_var in ENV MAIL MAILPATH
! 5612: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
! 5613: done
! 5614: PS1='$ '
! 5615: PS2='> '
! 5616: PS4='+ '
! 5617:
! 5618: # NLS nuisances.
! 5619: LC_ALL=C
! 5620: export LC_ALL
! 5621: LANGUAGE=C
! 5622: export LANGUAGE
! 5623:
! 5624: # Required to use basename.
! 5625: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 5626: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 5627: as_expr=expr
! 5628: else
! 5629: as_expr=false
! 5630: fi
! 5631:
! 5632: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
! 5633: as_basename=basename
! 5634: else
! 5635: as_basename=false
! 5636: fi
! 5637:
! 5638:
! 5639: # Name of the executable.
! 5640: as_me=`$as_basename -- "$0" ||
! 5641: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 5642: X"$0" : 'X\(//\)$' \| \
! 5643: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
! 5644: $as_echo X/"$0" |
! 5645: sed '/^.*\/\([^/][^/]*\)\/*$/{
! 5646: s//\1/
! 5647: q
! 5648: }
! 5649: /^X\/\(\/\/\)$/{
! 5650: s//\1/
! 5651: q
! 5652: }
! 5653: /^X\/\(\/\).*/{
! 5654: s//\1/
! 5655: q
! 5656: }
! 5657: s/.*/./; q'`
! 5658:
! 5659: # CDPATH.
! 5660: $as_unset CDPATH
! 5661:
! 5662:
! 5663:
! 5664: as_lineno_1=$LINENO
! 5665: as_lineno_2=$LINENO
! 5666: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 5667: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
! 5668:
! 5669: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 5670: # uniformly replaced by the line number. The first 'sed' inserts a
! 5671: # line-number line after each line using $LINENO; the second 'sed'
! 5672: # does the real work. The second script uses 'N' to pair each
! 5673: # line-number line with the line containing $LINENO, and appends
! 5674: # trailing '-' during substitution so that $LINENO is not a special
! 5675: # case at line end.
! 5676: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 5677: # scripts with optimization help from Paolo Bonzini. Blame Lee
! 5678: # E. McMahon (1931-1989) for sed's syntax. :-)
! 5679: sed -n '
! 5680: p
! 5681: /[$]LINENO/=
! 5682: ' <$as_myself |
! 5683: sed '
! 5684: s/[$]LINENO.*/&-/
! 5685: t lineno
! 5686: b
! 5687: :lineno
! 5688: N
! 5689: :loop
! 5690: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
! 5691: t loop
! 5692: s/-\n.*//
! 5693: ' >$as_me.lineno &&
! 5694: chmod +x "$as_me.lineno" ||
! 5695: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
! 5696: { (exit 1); exit 1; }; }
! 5697:
! 5698: # Don't try to exec as it changes $[0], causing all sort of problems
! 5699: # (the dirname of $[0] is not the place where we might find the
! 5700: # original and so on. Autoconf is especially sensitive to this).
! 5701: . "./$as_me.lineno"
! 5702: # Exit status is that of the last command.
! 5703: exit
! 5704: }
! 5705:
! 5706:
! 5707: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 5708: as_dirname=dirname
! 5709: else
! 5710: as_dirname=false
! 5711: fi
! 5712:
! 5713: ECHO_C= ECHO_N= ECHO_T=
! 5714: case `echo -n x` in
! 5715: -n*)
! 5716: case `echo 'x\c'` in
! 5717: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
! 5718: *) ECHO_C='\c';;
! 5719: esac;;
! 5720: *)
! 5721: ECHO_N='-n';;
! 5722: esac
! 5723: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 5724: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 5725: as_expr=expr
! 5726: else
! 5727: as_expr=false
! 5728: fi
! 5729:
! 5730: rm -f conf$$ conf$$.exe conf$$.file
! 5731: if test -d conf$$.dir; then
! 5732: rm -f conf$$.dir/conf$$.file
! 5733: else
! 5734: rm -f conf$$.dir
! 5735: mkdir conf$$.dir 2>/dev/null
! 5736: fi
! 5737: if (echo >conf$$.file) 2>/dev/null; then
! 5738: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 5739: as_ln_s='ln -s'
! 5740: # ... but there are two gotchas:
! 5741: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
! 5742: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
! 5743: # In both cases, we have to default to `cp -p'.
! 5744: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
! 5745: as_ln_s='cp -p'
! 5746: elif ln conf$$.file conf$$ 2>/dev/null; then
! 5747: as_ln_s=ln
! 5748: else
! 5749: as_ln_s='cp -p'
! 5750: fi
! 5751: else
! 5752: as_ln_s='cp -p'
! 5753: fi
! 5754: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
! 5755: rmdir conf$$.dir 2>/dev/null
! 5756:
! 5757: if mkdir -p . 2>/dev/null; then
! 5758: as_mkdir_p=:
! 5759: else
! 5760: test -d ./-p && rmdir ./-p
! 5761: as_mkdir_p=false
! 5762: fi
! 5763:
! 5764: if test -x / >/dev/null 2>&1; then
! 5765: as_test_x='test -x'
! 5766: else
! 5767: if ls -dL / >/dev/null 2>&1; then
! 5768: as_ls_L_option=L
! 5769: else
! 5770: as_ls_L_option=
! 5771: fi
! 5772: as_test_x='
! 5773: eval sh -c '\''
! 5774: if test -d "$1"; then
! 5775: test -d "$1/.";
! 5776: else
! 5777: case $1 in
! 5778: -*)set "./$1";;
! 5779: esac;
! 5780: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
! 5781: ???[sx]*):;;*)false;;esac;fi
! 5782: '\'' sh
! 5783: '
! 5784: fi
! 5785: as_executable_p=$as_test_x
! 5786:
! 5787: # Sed expression to map a string onto a valid CPP name.
! 5788: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
! 5789:
! 5790: # Sed expression to map a string onto a valid variable name.
! 5791: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
! 5792:
! 5793:
! 5794: exec 6>&1
! 5795:
! 5796: # Save the log message, to keep $[0] and so on meaningful, and to
! 5797: # report actual input values of CONFIG_FILES etc. instead of their
! 5798: # values after options handling.
! 5799: ac_log="
! 5800: This file was extended by libaitsync $as_me 1.0, which was
! 5801: generated by GNU Autoconf 2.62. Invocation command line was
! 5802:
! 5803: CONFIG_FILES = $CONFIG_FILES
! 5804: CONFIG_HEADERS = $CONFIG_HEADERS
! 5805: CONFIG_LINKS = $CONFIG_LINKS
! 5806: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 5807: $ $0 $@
! 5808:
! 5809: on `(hostname || uname -n) 2>/dev/null | sed 1q`
! 5810: "
! 5811:
! 5812: _ACEOF
! 5813:
! 5814: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 5815: # Files that config.status was made for.
! 5816: config_files="$ac_config_files"
! 5817: config_headers="$ac_config_headers"
! 5818:
! 5819: _ACEOF
! 5820:
! 5821: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 5822: ac_cs_usage="\
! 5823: \`$as_me' instantiates files from templates according to the
! 5824: current configuration.
! 5825:
! 5826: Usage: $0 [OPTIONS] [FILE]...
! 5827:
! 5828: -h, --help print this help, then exit
! 5829: -V, --version print version number and configuration settings, then exit
! 5830: -q, --quiet do not print progress messages
! 5831: -d, --debug don't remove temporary files
! 5832: --recheck update $as_me by reconfiguring in the same conditions
! 5833: --file=FILE[:TEMPLATE]
! 5834: instantiate the configuration file FILE
! 5835: --header=FILE[:TEMPLATE]
! 5836: instantiate the configuration header FILE
! 5837:
! 5838: Configuration files:
! 5839: $config_files
! 5840:
! 5841: Configuration headers:
! 5842: $config_headers
! 5843:
! 5844: Report bugs to <bug-autoconf@gnu.org>."
! 5845:
! 5846: _ACEOF
! 5847: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 5848: ac_cs_version="\\
! 5849: libaitsync config.status 1.0
! 5850: configured by $0, generated by GNU Autoconf 2.62,
! 5851: with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
! 5852:
! 5853: Copyright (C) 2008 Free Software Foundation, Inc.
! 5854: This config.status script is free software; the Free Software Foundation
! 5855: gives unlimited permission to copy, distribute and modify it."
! 5856:
! 5857: ac_pwd='$ac_pwd'
! 5858: srcdir='$srcdir'
! 5859: INSTALL='$INSTALL'
! 5860: test -n "\$AWK" || AWK=awk
! 5861: _ACEOF
! 5862:
! 5863: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 5864: # The default lists apply if the user does not specify any file.
! 5865: ac_need_defaults=:
! 5866: while test $# != 0
! 5867: do
! 5868: case $1 in
! 5869: --*=*)
! 5870: ac_option=`expr "X$1" : 'X\([^=]*\)='`
! 5871: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
! 5872: ac_shift=:
! 5873: ;;
! 5874: *)
! 5875: ac_option=$1
! 5876: ac_optarg=$2
! 5877: ac_shift=shift
! 5878: ;;
! 5879: esac
! 5880:
! 5881: case $ac_option in
! 5882: # Handling of the options.
! 5883: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 5884: ac_cs_recheck=: ;;
! 5885: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
! 5886: $as_echo "$ac_cs_version"; exit ;;
! 5887: --debug | --debu | --deb | --de | --d | -d )
! 5888: debug=: ;;
! 5889: --file | --fil | --fi | --f )
! 5890: $ac_shift
! 5891: case $ac_optarg in
! 5892: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 5893: esac
! 5894: CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
! 5895: ac_need_defaults=false;;
! 5896: --header | --heade | --head | --hea )
! 5897: $ac_shift
! 5898: case $ac_optarg in
! 5899: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 5900: esac
! 5901: CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
! 5902: ac_need_defaults=false;;
! 5903: --he | --h)
! 5904: # Conflict between --help and --header
! 5905: { $as_echo "$as_me: error: ambiguous option: $1
! 5906: Try \`$0 --help' for more information." >&2
! 5907: { (exit 1); exit 1; }; };;
! 5908: --help | --hel | -h )
! 5909: $as_echo "$ac_cs_usage"; exit ;;
! 5910: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 5911: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 5912: ac_cs_silent=: ;;
! 5913:
! 5914: # This is an error.
! 5915: -*) { $as_echo "$as_me: error: unrecognized option: $1
! 5916: Try \`$0 --help' for more information." >&2
! 5917: { (exit 1); exit 1; }; } ;;
! 5918:
! 5919: *) ac_config_targets="$ac_config_targets $1"
! 5920: ac_need_defaults=false ;;
! 5921:
! 5922: esac
! 5923: shift
! 5924: done
! 5925:
! 5926: ac_configure_extra_args=
! 5927:
! 5928: if $ac_cs_silent; then
! 5929: exec 6>/dev/null
! 5930: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 5931: fi
! 5932:
! 5933: _ACEOF
! 5934: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 5935: if \$ac_cs_recheck; then
! 5936: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 5937: shift
! 5938: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
! 5939: CONFIG_SHELL='$SHELL'
! 5940: export CONFIG_SHELL
! 5941: exec "\$@"
! 5942: fi
! 5943:
! 5944: _ACEOF
! 5945: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 5946: exec 5>>config.log
! 5947: {
! 5948: echo
! 5949: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 5950: ## Running $as_me. ##
! 5951: _ASBOX
! 5952: $as_echo "$ac_log"
! 5953: } >&5
! 5954:
! 5955: _ACEOF
! 5956: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 5957: _ACEOF
! 5958:
! 5959: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 5960:
! 5961: # Handling of arguments.
! 5962: for ac_config_target in $ac_config_targets
! 5963: do
! 5964: case $ac_config_target in
! 5965: "inc/config.h") CONFIG_HEADERS="$CONFIG_HEADERS inc/config.h" ;;
! 5966: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 5967: "inc/Makefile") CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;;
! 5968: "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
! 5969: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
! 5970:
! 5971: *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
! 5972: $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
! 5973: { (exit 1); exit 1; }; };;
! 5974: esac
! 5975: done
! 5976:
! 5977:
! 5978: # If the user did not use the arguments to specify the items to instantiate,
! 5979: # then the envvar interface is used. Set only those that are not.
! 5980: # We use the long form for the default assignment because of an extremely
! 5981: # bizarre bug on SunOS 4.1.3.
! 5982: if $ac_need_defaults; then
! 5983: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 5984: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 5985: fi
! 5986:
! 5987: # Have a temporary directory for convenience. Make it in the build tree
! 5988: # simply because there is no reason against having it here, and in addition,
! 5989: # creating and moving files from /tmp can sometimes cause problems.
! 5990: # Hook for its removal unless debugging.
! 5991: # Note that there is a small window in which the directory will not be cleaned:
! 5992: # after its creation but before its name has been assigned to `$tmp'.
! 5993: $debug ||
! 5994: {
! 5995: tmp=
! 5996: trap 'exit_status=$?
! 5997: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
! 5998: ' 0
! 5999: trap '{ (exit 1); exit 1; }' 1 2 13 15
! 6000: }
! 6001: # Create a (secure) tmp directory for tmp files.
! 6002:
! 6003: {
! 6004: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
! 6005: test -n "$tmp" && test -d "$tmp"
! 6006: } ||
! 6007: {
! 6008: tmp=./conf$$-$RANDOM
! 6009: (umask 077 && mkdir "$tmp")
! 6010: } ||
! 6011: {
! 6012: $as_echo "$as_me: cannot create a temporary directory in ." >&2
! 6013: { (exit 1); exit 1; }
! 6014: }
! 6015:
! 6016: # Set up the scripts for CONFIG_FILES section.
! 6017: # No need to generate them if there are no CONFIG_FILES.
! 6018: # This happens for instance with `./config.status config.h'.
! 6019: if test -n "$CONFIG_FILES"; then
! 6020:
! 6021:
! 6022: ac_cr='
'
! 6023: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
! 6024: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
! 6025: ac_cs_awk_cr='\\r'
! 6026: else
! 6027: ac_cs_awk_cr=$ac_cr
! 6028: fi
! 6029:
! 6030: echo 'BEGIN {' >"$tmp/subs1.awk" &&
! 6031: _ACEOF
! 6032:
! 6033:
! 6034: {
! 6035: echo "cat >conf$$subs.awk <<_ACEOF" &&
! 6036: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
! 6037: echo "_ACEOF"
! 6038: } >conf$$subs.sh ||
! 6039: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 6040: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 6041: { (exit 1); exit 1; }; }
! 6042: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
! 6043: ac_delim='%!_!# '
! 6044: for ac_last_try in false false false false false :; do
! 6045: . ./conf$$subs.sh ||
! 6046: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 6047: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 6048: { (exit 1); exit 1; }; }
! 6049:
! 6050: if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
! 6051: break
! 6052: elif $ac_last_try; then
! 6053: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 6054: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 6055: { (exit 1); exit 1; }; }
! 6056: else
! 6057: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 6058: fi
! 6059: done
! 6060: rm -f conf$$subs.sh
! 6061:
! 6062: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 6063: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
! 6064: _ACEOF
! 6065: sed -n '
! 6066: h
! 6067: s/^/S["/; s/!.*/"]=/
! 6068: p
! 6069: g
! 6070: s/^[^!]*!//
! 6071: :repl
! 6072: t repl
! 6073: s/'"$ac_delim"'$//
! 6074: t delim
! 6075: :nl
! 6076: h
! 6077: s/\(.\{148\}\).*/\1/
! 6078: t more1
! 6079: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
! 6080: p
! 6081: n
! 6082: b repl
! 6083: :more1
! 6084: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 6085: p
! 6086: g
! 6087: s/.\{148\}//
! 6088: t nl
! 6089: :delim
! 6090: h
! 6091: s/\(.\{148\}\).*/\1/
! 6092: t more2
! 6093: s/["\\]/\\&/g; s/^/"/; s/$/"/
! 6094: p
! 6095: b
! 6096: :more2
! 6097: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
! 6098: p
! 6099: g
! 6100: s/.\{148\}//
! 6101: t delim
! 6102: ' <conf$$subs.awk | sed '
! 6103: /^[^""]/{
! 6104: N
! 6105: s/\n//
! 6106: }
! 6107: ' >>$CONFIG_STATUS || ac_write_fail=1
! 6108: rm -f conf$$subs.awk
! 6109: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 6110: _ACAWK
! 6111: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
! 6112: for (key in S) S_is_set[key] = 1
! 6113: FS = ""
! 6114:
! 6115: }
! 6116: {
! 6117: line = $ 0
! 6118: nfields = split(line, field, "@")
! 6119: substed = 0
! 6120: len = length(field[1])
! 6121: for (i = 2; i < nfields; i++) {
! 6122: key = field[i]
! 6123: keylen = length(key)
! 6124: if (S_is_set[key]) {
! 6125: value = S[key]
! 6126: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
! 6127: len += length(value) + length(field[++i])
! 6128: substed = 1
! 6129: } else
! 6130: len += 1 + keylen
! 6131: }
! 6132:
! 6133: print line
! 6134: }
! 6135:
! 6136: _ACAWK
! 6137: _ACEOF
! 6138: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 6139: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
! 6140: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
! 6141: else
! 6142: cat
! 6143: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
! 6144: || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
! 6145: $as_echo "$as_me: error: could not setup config files machinery" >&2;}
! 6146: { (exit 1); exit 1; }; }
! 6147: _ACEOF
! 6148:
! 6149: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 6150: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! 6151: # trailing colons and then remove the whole line if VPATH becomes empty
! 6152: # (actually we leave an empty line to preserve line numbers).
! 6153: if test "x$srcdir" = x.; then
! 6154: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 6155: s/:*\$(srcdir):*/:/
! 6156: s/:*\${srcdir}:*/:/
! 6157: s/:*@srcdir@:*/:/
! 6158: s/^\([^=]*=[ ]*\):*/\1/
! 6159: s/:*$//
! 6160: s/^[^=]*=[ ]*$//
! 6161: }'
! 6162: fi
! 6163:
! 6164: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 6165: fi # test -n "$CONFIG_FILES"
! 6166:
! 6167: # Set up the scripts for CONFIG_HEADERS section.
! 6168: # No need to generate them if there are no CONFIG_HEADERS.
! 6169: # This happens for instance with `./config.status Makefile'.
! 6170: if test -n "$CONFIG_HEADERS"; then
! 6171: cat >"$tmp/defines.awk" <<\_ACAWK ||
! 6172: BEGIN {
! 6173: _ACEOF
! 6174:
! 6175: # Transform confdefs.h into an awk script `defines.awk', embedded as
! 6176: # here-document in config.status, that substitutes the proper values into
! 6177: # config.h.in to produce config.h.
! 6178:
! 6179: # Create a delimiter string that does not exist in confdefs.h, to ease
! 6180: # handling of long lines.
! 6181: ac_delim='%!_!# '
! 6182: for ac_last_try in false false :; do
! 6183: ac_t=`sed -n "/$ac_delim/p" confdefs.h`
! 6184: if test -z "$ac_t"; then
! 6185: break
! 6186: elif $ac_last_try; then
! 6187: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
! 6188: $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
! 6189: { (exit 1); exit 1; }; }
! 6190: else
! 6191: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
! 6192: fi
! 6193: done
! 6194:
! 6195: # For the awk script, D is an array of macro values keyed by name,
! 6196: # likewise P contains macro parameters if any. Preserve backslash
! 6197: # newline sequences.
! 6198:
! 6199: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
! 6200: sed -n '
! 6201: s/.\{148\}/&'"$ac_delim"'/g
! 6202: t rset
! 6203: :rset
! 6204: s/^[ ]*#[ ]*define[ ][ ]*/ /
! 6205: t def
! 6206: d
! 6207: :def
! 6208: s/\\$//
! 6209: t bsnl
! 6210: s/["\\]/\\&/g
! 6211: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
! 6212: D["\1"]=" \3"/p
! 6213: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
! 6214: d
! 6215: :bsnl
! 6216: s/["\\]/\\&/g
! 6217: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
! 6218: D["\1"]=" \3\\\\\\n"\\/p
! 6219: t cont
! 6220: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
! 6221: t cont
! 6222: d
! 6223: :cont
! 6224: n
! 6225: s/.\{148\}/&'"$ac_delim"'/g
! 6226: t clear
! 6227: :clear
! 6228: s/\\$//
! 6229: t bsnlc
! 6230: s/["\\]/\\&/g; s/^/"/; s/$/"/p
! 6231: d
! 6232: :bsnlc
! 6233: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
! 6234: b cont
! 6235: ' <confdefs.h | sed '
! 6236: s/'"$ac_delim"'/"\\\
! 6237: "/g' >>$CONFIG_STATUS || ac_write_fail=1
! 6238:
! 6239: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 6240: for (key in D) D_is_set[key] = 1
! 6241: FS = ""
! 6242: }
! 6243: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
! 6244: line = \$ 0
! 6245: split(line, arg, " ")
! 6246: if (arg[1] == "#") {
! 6247: defundef = arg[2]
! 6248: mac1 = arg[3]
! 6249: } else {
! 6250: defundef = substr(arg[1], 2)
! 6251: mac1 = arg[2]
! 6252: }
! 6253: split(mac1, mac2, "(") #)
! 6254: macro = mac2[1]
! 6255: if (D_is_set[macro]) {
! 6256: # Preserve the white space surrounding the "#".
! 6257: prefix = substr(line, 1, index(line, defundef) - 1)
! 6258: print prefix "define", macro P[macro] D[macro]
! 6259: next
! 6260: } else {
! 6261: # Replace #undef with comments. This is necessary, for example,
! 6262: # in the case of _POSIX_SOURCE, which is predefined and required
! 6263: # on some systems where configure will not decide to define it.
! 6264: if (defundef == "undef") {
! 6265: print "/*", line, "*/"
! 6266: next
! 6267: }
! 6268: }
! 6269: }
! 6270: { print }
! 6271: _ACAWK
! 6272: _ACEOF
! 6273: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 6274: { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
! 6275: $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
! 6276: { (exit 1); exit 1; }; }
! 6277: fi # test -n "$CONFIG_HEADERS"
! 6278:
! 6279:
! 6280: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
! 6281: shift
! 6282: for ac_tag
! 6283: do
! 6284: case $ac_tag in
! 6285: :[FHLC]) ac_mode=$ac_tag; continue;;
! 6286: esac
! 6287: case $ac_mode$ac_tag in
! 6288: :[FHL]*:*);;
! 6289: :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
! 6290: $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
! 6291: { (exit 1); exit 1; }; };;
! 6292: :[FH]-) ac_tag=-:-;;
! 6293: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
! 6294: esac
! 6295: ac_save_IFS=$IFS
! 6296: IFS=:
! 6297: set x $ac_tag
! 6298: IFS=$ac_save_IFS
! 6299: shift
! 6300: ac_file=$1
! 6301: shift
! 6302:
! 6303: case $ac_mode in
! 6304: :L) ac_source=$1;;
! 6305: :[FH])
! 6306: ac_file_inputs=
! 6307: for ac_f
! 6308: do
! 6309: case $ac_f in
! 6310: -) ac_f="$tmp/stdin";;
! 6311: *) # Look for the file first in the build tree, then in the source tree
! 6312: # (if the path is not absolute). The absolute path cannot be DOS-style,
! 6313: # because $ac_f cannot contain `:'.
! 6314: test -f "$ac_f" ||
! 6315: case $ac_f in
! 6316: [\\/$]*) false;;
! 6317: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
! 6318: esac ||
! 6319: { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
! 6320: $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
! 6321: { (exit 1); exit 1; }; };;
! 6322: esac
! 6323: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
! 6324: ac_file_inputs="$ac_file_inputs '$ac_f'"
! 6325: done
! 6326:
! 6327: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 6328: # use $as_me), people would be surprised to read:
! 6329: # /* config.h. Generated by config.status. */
! 6330: configure_input='Generated from '`
! 6331: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
! 6332: `' by configure.'
! 6333: if test x"$ac_file" != x-; then
! 6334: configure_input="$ac_file. $configure_input"
! 6335: { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
! 6336: $as_echo "$as_me: creating $ac_file" >&6;}
! 6337: fi
! 6338: # Neutralize special characters interpreted by sed in replacement strings.
! 6339: case $configure_input in #(
! 6340: *\&* | *\|* | *\\* )
! 6341: ac_sed_conf_input=`$as_echo "$configure_input" |
! 6342: sed 's/[\\\\&|]/\\\\&/g'`;; #(
! 6343: *) ac_sed_conf_input=$configure_input;;
! 6344: esac
! 6345:
! 6346: case $ac_tag in
! 6347: *:-:* | *:-) cat >"$tmp/stdin" \
! 6348: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 6349: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 6350: { (exit 1); exit 1; }; } ;;
! 6351: esac
! 6352: ;;
! 6353: esac
! 6354:
! 6355: ac_dir=`$as_dirname -- "$ac_file" ||
! 6356: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 6357: X"$ac_file" : 'X\(//\)[^/]' \| \
! 6358: X"$ac_file" : 'X\(//\)$' \| \
! 6359: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
! 6360: $as_echo X"$ac_file" |
! 6361: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 6362: s//\1/
! 6363: q
! 6364: }
! 6365: /^X\(\/\/\)[^/].*/{
! 6366: s//\1/
! 6367: q
! 6368: }
! 6369: /^X\(\/\/\)$/{
! 6370: s//\1/
! 6371: q
! 6372: }
! 6373: /^X\(\/\).*/{
! 6374: s//\1/
! 6375: q
! 6376: }
! 6377: s/.*/./; q'`
! 6378: { as_dir="$ac_dir"
! 6379: case $as_dir in #(
! 6380: -*) as_dir=./$as_dir;;
! 6381: esac
! 6382: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
! 6383: as_dirs=
! 6384: while :; do
! 6385: case $as_dir in #(
! 6386: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
! 6387: *) as_qdir=$as_dir;;
! 6388: esac
! 6389: as_dirs="'$as_qdir' $as_dirs"
! 6390: as_dir=`$as_dirname -- "$as_dir" ||
! 6391: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 6392: X"$as_dir" : 'X\(//\)[^/]' \| \
! 6393: X"$as_dir" : 'X\(//\)$' \| \
! 6394: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 6395: $as_echo X"$as_dir" |
! 6396: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 6397: s//\1/
! 6398: q
! 6399: }
! 6400: /^X\(\/\/\)[^/].*/{
! 6401: s//\1/
! 6402: q
! 6403: }
! 6404: /^X\(\/\/\)$/{
! 6405: s//\1/
! 6406: q
! 6407: }
! 6408: /^X\(\/\).*/{
! 6409: s//\1/
! 6410: q
! 6411: }
! 6412: s/.*/./; q'`
! 6413: test -d "$as_dir" && break
! 6414: done
! 6415: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 6416: } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
! 6417: $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
! 6418: { (exit 1); exit 1; }; }; }
! 6419: ac_builddir=.
! 6420:
! 6421: case "$ac_dir" in
! 6422: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 6423: *)
! 6424: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
! 6425: # A ".." for each directory in $ac_dir_suffix.
! 6426: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
! 6427: case $ac_top_builddir_sub in
! 6428: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
! 6429: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
! 6430: esac ;;
! 6431: esac
! 6432: ac_abs_top_builddir=$ac_pwd
! 6433: ac_abs_builddir=$ac_pwd$ac_dir_suffix
! 6434: # for backward compatibility:
! 6435: ac_top_builddir=$ac_top_build_prefix
! 6436:
! 6437: case $srcdir in
! 6438: .) # We are building in place.
! 6439: ac_srcdir=.
! 6440: ac_top_srcdir=$ac_top_builddir_sub
! 6441: ac_abs_top_srcdir=$ac_pwd ;;
! 6442: [\\/]* | ?:[\\/]* ) # Absolute name.
! 6443: ac_srcdir=$srcdir$ac_dir_suffix;
! 6444: ac_top_srcdir=$srcdir
! 6445: ac_abs_top_srcdir=$srcdir ;;
! 6446: *) # Relative name.
! 6447: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
! 6448: ac_top_srcdir=$ac_top_build_prefix$srcdir
! 6449: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
! 6450: esac
! 6451: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
! 6452:
! 6453:
! 6454: case $ac_mode in
! 6455: :F)
! 6456: #
! 6457: # CONFIG_FILE
! 6458: #
! 6459:
! 6460: case $INSTALL in
! 6461: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! 6462: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
! 6463: esac
! 6464: _ACEOF
! 6465:
! 6466: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 6467: # If the template does not know about datarootdir, expand it.
! 6468: # FIXME: This hack should be removed a few years after 2.60.
! 6469: ac_datarootdir_hack=; ac_datarootdir_seen=
! 6470:
! 6471: ac_sed_dataroot='
! 6472: /datarootdir/ {
! 6473: p
! 6474: q
! 6475: }
! 6476: /@datadir@/p
! 6477: /@docdir@/p
! 6478: /@infodir@/p
! 6479: /@localedir@/p
! 6480: /@mandir@/p
! 6481: '
! 6482: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
! 6483: *datarootdir*) ac_datarootdir_seen=yes;;
! 6484: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
! 6485: { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
! 6486: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
! 6487: _ACEOF
! 6488: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 6489: ac_datarootdir_hack='
! 6490: s&@datadir@&$datadir&g
! 6491: s&@docdir@&$docdir&g
! 6492: s&@infodir@&$infodir&g
! 6493: s&@localedir@&$localedir&g
! 6494: s&@mandir@&$mandir&g
! 6495: s&\\\${datarootdir}&$datarootdir&g' ;;
! 6496: esac
! 6497: _ACEOF
! 6498:
! 6499: # Neutralize VPATH when `$srcdir' = `.'.
! 6500: # Shell code in configure.ac might set extrasub.
! 6501: # FIXME: do we really want to maintain this feature?
! 6502: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
! 6503: ac_sed_extra="$ac_vpsub
! 6504: $extrasub
! 6505: _ACEOF
! 6506: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 6507: :t
! 6508: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 6509: s|@configure_input@|$ac_sed_conf_input|;t t
! 6510: s&@top_builddir@&$ac_top_builddir_sub&;t t
! 6511: s&@top_build_prefix@&$ac_top_build_prefix&;t t
! 6512: s&@srcdir@&$ac_srcdir&;t t
! 6513: s&@abs_srcdir@&$ac_abs_srcdir&;t t
! 6514: s&@top_srcdir@&$ac_top_srcdir&;t t
! 6515: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
! 6516: s&@builddir@&$ac_builddir&;t t
! 6517: s&@abs_builddir@&$ac_abs_builddir&;t t
! 6518: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
! 6519: s&@INSTALL@&$ac_INSTALL&;t t
! 6520: $ac_datarootdir_hack
! 6521: "
! 6522: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
! 6523: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 6524: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 6525: { (exit 1); exit 1; }; }
! 6526:
! 6527: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
! 6528: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
! 6529: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
! 6530: { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 6531: which seems to be undefined. Please make sure it is defined." >&5
! 6532: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 6533: which seems to be undefined. Please make sure it is defined." >&2;}
! 6534:
! 6535: rm -f "$tmp/stdin"
! 6536: case $ac_file in
! 6537: -) cat "$tmp/out" && rm -f "$tmp/out";;
! 6538: *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
! 6539: esac \
! 6540: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 6541: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 6542: { (exit 1); exit 1; }; }
! 6543: ;;
! 6544: :H)
! 6545: #
! 6546: # CONFIG_HEADER
! 6547: #
! 6548: if test x"$ac_file" != x-; then
! 6549: {
! 6550: $as_echo "/* $configure_input */" \
! 6551: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
! 6552: } >"$tmp/config.h" \
! 6553: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 6554: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 6555: { (exit 1); exit 1; }; }
! 6556: if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
! 6557: { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
! 6558: $as_echo "$as_me: $ac_file is unchanged" >&6;}
! 6559: else
! 6560: rm -f "$ac_file"
! 6561: mv "$tmp/config.h" "$ac_file" \
! 6562: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 6563: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 6564: { (exit 1); exit 1; }; }
! 6565: fi
! 6566: else
! 6567: $as_echo "/* $configure_input */" \
! 6568: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
! 6569: || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
! 6570: $as_echo "$as_me: error: could not create -" >&2;}
! 6571: { (exit 1); exit 1; }; }
! 6572: fi
! 6573: ;;
! 6574:
! 6575:
! 6576: esac
! 6577:
! 6578: done # for ac_tag
! 6579:
! 6580:
! 6581: { (exit 0); exit 0; }
! 6582: _ACEOF
! 6583: chmod +x $CONFIG_STATUS
! 6584: ac_clean_files=$ac_clean_files_save
! 6585:
! 6586: test $ac_write_fail = 0 ||
! 6587: { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
! 6588: $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
! 6589: { (exit 1); exit 1; }; }
! 6590:
! 6591:
! 6592: # configure is writing to config.log, and then calls config.status.
! 6593: # config.status does its own redirection, appending to config.log.
! 6594: # Unfortunately, on DOS this fails, as config.log is still kept open
! 6595: # by configure, so config.status won't be able to write to it; its
! 6596: # output is simply discarded. So we exec the FD to /dev/null,
! 6597: # effectively closing config.log, so it can be properly (re)opened and
! 6598: # appended to by config.status. When coming back to configure, we
! 6599: # need to make the FD available again.
! 6600: if test "$no_create" != yes; then
! 6601: ac_cs_success=:
! 6602: ac_config_status_args=
! 6603: test "$silent" = yes &&
! 6604: ac_config_status_args="$ac_config_status_args --quiet"
! 6605: exec 5>/dev/null
! 6606: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
! 6607: exec 5>>config.log
! 6608: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! 6609: # would make configure fail if this is the last instruction.
! 6610: $ac_cs_success || { (exit 1); exit 1; }
! 6611: fi
! 6612: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
! 6613: { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
! 6614: $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
! 6615: fi
! 6616:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>