Annotation of libaitwww/configure, revision 1.9.2.2
1.1 misho 1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
1.9.2.2 ! misho 3: # Generated by GNU Autoconf 2.63 for libaitwww 3.3.
1.1 misho 4: #
5: # Report bugs to <misho@elwix.org>.
6: #
1.9.2.2 ! misho 7: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
! 8: # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1.1 misho 9: # This configure script is free software; the Free Software Foundation
10: # gives unlimited permission to copy, distribute and modify it.
1.9.2.2 ! misho 11: ## --------------------- ##
! 12: ## M4sh Initialization. ##
! 13: ## --------------------- ##
1.1 misho 14:
15: # Be more Bourne compatible
16: DUALCASE=1; export DUALCASE # for MKS sh
1.9.2.2 ! misho 17: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1.1 misho 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
1.9.2.2 ! misho 25: case `(set -o) 2>/dev/null` in
! 26: *posix*) set -o posix ;;
1.1 misho 27: esac
1.9.2.2 ! misho 28:
1.1 misho 29: fi
30:
31:
1.9.2.2 ! misho 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:
1.1 misho 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
1.9.2.2 ! misho 49: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1.1 misho 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;
1.9.2.2 ! misho 60: case $arg in
1.1 misho 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:
1.9.2.2 ! misho 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:
1.1 misho 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.
1.9.2.2 ! misho 99: case $0 in
1.1 misho 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=.
1.9.2.2 ! misho 106: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 107: done
1.1 misho 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
1.9.2.2 ! misho 119: { (exit 1); exit 1; }
1.1 misho 120: fi
121:
1.9.2.2 ! misho 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
1.1 misho 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:
1.9.2.2 ! misho 136: # Required to use basename.
1.1 misho 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:
1.9.2.2 ! misho 151: # Name of the executable.
1.1 misho 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:
1.9.2.2 ! misho 171: # CDPATH.
! 172: $as_unset CDPATH
1.1 misho 173:
174:
1.9.2.2 ! misho 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
1.1 misho 181:
1.9.2.2 ! misho 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
1.1 misho 197: }
198:
1.9.2.2 ! misho 199: exitcode=0
! 200: if as_func_success; then
! 201: :
1.1 misho 202: else
1.9.2.2 ! misho 203: exitcode=1
! 204: echo as_func_success failed.
1.1 misho 205: fi
1.9.2.2 ! misho 206:
! 207: if as_func_failure; then
! 208: exitcode=1
! 209: echo as_func_failure succeeded.
1.1 misho 210: fi
211:
1.9.2.2 ! misho 212: if as_func_ret_success; then
! 213: :
1.1 misho 214: else
1.9.2.2 ! misho 215: exitcode=1
! 216: echo as_func_ret_success failed.
1.1 misho 217: fi
218:
1.9.2.2 ! misho 219: if as_func_ret_failure; then
! 220: exitcode=1
! 221: echo as_func_ret_failure succeeded.
! 222: fi
1.1 misho 223:
1.9.2.2 ! misho 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
1.1 misho 230:
1.9.2.2 ! misho 231: test \$exitcode = 0) || { (exit 1); exit 1; }
1.1 misho 232:
1.9.2.2 ! misho 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
1.1 misho 255:
256:
1.9.2.2 ! misho 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
1.1 misho 272:
1.9.2.2 ! misho 273: fi
1.1 misho 274:
1.9.2.2 ! misho 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='libaitwww'
! 598: PACKAGE_TARNAME='libaitwww'
! 599: PACKAGE_VERSION='3.3'
1.9.2.1 misho 600: PACKAGE_STRING='libaitwww 3.3'
1.1 misho 601: PACKAGE_BUGREPORT='misho@elwix.org'
602:
603: ac_unique_file="src/aitwww.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='LTLIBOBJS
641: LIBOBJS
642: EGREP
643: GREP
644: CPP
645: MKDEP
646: target_os
647: target_vendor
648: target_cpu
649: target
650: host_os
651: host_vendor
652: host_cpu
653: host
654: build_os
655: build_vendor
656: build_cpu
657: build
1.9.2.2 ! misho 658: RANLIB
1.1 misho 659: INSTALL_DATA
660: INSTALL_SCRIPT
661: INSTALL_PROGRAM
662: OBJEXT
663: EXEEXT
664: ac_ct_CC
665: CPPFLAGS
666: LDFLAGS
667: CFLAGS
668: CC
669: target_alias
670: host_alias
671: build_alias
672: LIBS
673: ECHO_T
674: ECHO_N
675: ECHO_C
676: DEFS
677: mandir
678: localedir
679: libdir
680: psdir
681: pdfdir
682: dvidir
683: htmldir
684: infodir
685: docdir
686: oldincludedir
687: includedir
688: localstatedir
689: sharedstatedir
690: sysconfdir
691: datadir
692: datarootdir
693: libexecdir
694: sbindir
695: bindir
696: program_transform_name
697: prefix
698: exec_prefix
699: PACKAGE_BUGREPORT
700: PACKAGE_STRING
701: PACKAGE_VERSION
702: PACKAGE_TARNAME
703: PACKAGE_NAME
704: PATH_SEPARATOR
705: SHELL'
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
1.9.2.2 ! misho 782: *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
! 783: *) ac_optarg=yes ;;
1.1 misho 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 &&
1.9.2.2 ! misho 828: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
! 829: { (exit 1); exit 1; }; }
1.1 misho 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 &&
1.9.2.2 ! misho 855: { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
! 856: { (exit 1); exit 1; }; }
1.1 misho 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 &&
1.9.2.2 ! misho 1060: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
! 1061: { (exit 1); exit 1; }; }
1.1 misho 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 &&
1.9.2.2 ! misho 1077: { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
! 1078: { (exit 1); exit 1; }; }
1.1 misho 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:
1.9.2.2 ! misho 1108: -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
! 1109: Try \`$0 --help' for more information." >&2
! 1110: { (exit 1); exit 1; }; }
1.1 misho 1111: ;;
1112:
1113: *=*)
1114: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1115: # Reject names that are not valid shell variable names.
1.9.2.2 ! misho 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; }; }
1.1 misho 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
1.9.2.2 ! misho 1127: : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1 misho 1128: ;;
1129:
1130: esac
1131: done
1132:
1133: if test -n "$ac_prev"; then
1134: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.9.2.2 ! misho 1135: { $as_echo "$as_me: error: missing argument to $ac_option" >&2
! 1136: { (exit 1); exit 1; }; }
1.1 misho 1137: fi
1138:
1139: if test -n "$ac_unrecognized_opts"; then
1140: case $enable_option_checking in
1141: no) ;;
1.9.2.2 ! misho 1142: fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
! 1143: { (exit 1); exit 1; }; } ;;
1.1 misho 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
1.9.2.2 ! misho 1166: { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
! 1167: { (exit 1); exit 1; }; }
1.1 misho 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
1.9.2.2 ! misho 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
1.1 misho 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 .` ||
1.9.2.2 ! misho 1197: { $as_echo "$as_me: error: working directory cannot be determined" >&2
! 1198: { (exit 1); exit 1; }; }
1.1 misho 1199: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1.9.2.2 ! misho 1200: { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
! 1201: { (exit 1); exit 1; }; }
1.1 misho 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 .."
1.9.2.2 ! misho 1240: { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
! 1241: { (exit 1); exit 1; }; }
1.1 misho 1242: fi
1243: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1244: ac_abs_confdir=`(
1.9.2.2 ! misho 1245: cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
! 1246: { (exit 1); exit 1; }; }
1.1 misho 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
1.9.2.1 misho 1272: \`configure' configures libaitwww 3.3 to adapt to many kinds of systems.
1.1 misho 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
1.9.2.2 ! misho 1286: -q, --quiet, --silent do not print \`checking...' messages
1.1 misho 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/libaitwww]
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
1.9.2.1 misho 1338: short | recursive ) echo "Configuration of libaitwww 3.3:";;
1.1 misho 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>
1.9.2.2 ! misho 1354: CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1.1 misho 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@elwix.org>.
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
1.9.2.1 misho 1424: libaitwww configure 3.3
1.9.2.2 ! misho 1425: generated by GNU Autoconf 2.63
1.1 misho 1426:
1.9.2.2 ! misho 1427: Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
! 1428: 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1.1 misho 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
1.9.2.2 ! misho 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.
1.1 misho 1437:
1.9.2.2 ! misho 1438: It was created by libaitwww $as_me 3.3, which was
! 1439: generated by GNU Autoconf 2.63. Invocation command line was
1.1 misho 1440:
1.9.2.2 ! misho 1441: $ $0 $@
1.1 misho 1442:
1.9.2.2 ! misho 1443: _ACEOF
! 1444: exec 5>>config.log
1.4 misho 1445: {
1.9.2.2 ! misho 1446: cat <<_ASUNAME
! 1447: ## --------- ##
! 1448: ## Platform. ##
! 1449: ## --------- ##
1.4 misho 1450:
1.9.2.2 ! misho 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`
1.1 misho 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=.
1.9.2.2 ! misho 1475: $as_echo "PATH: $as_dir"
! 1476: done
1.1 misho 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
1.9.2.2 ! misho 1513: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1.1 misho 1514: 2)
1.9.2.2 ! misho 1515: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1.1 misho 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
1.9.2.2 ! misho 1531: ac_configure_args="$ac_configure_args '$ac_arg'"
1.1 misho 1532: ;;
1533: esac
1534: done
1535: done
1.9.2.2 ! misho 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; }
1.1 misho 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:
1.9.2.2 ! misho 1549: cat <<\_ASBOX
! 1550: ## ---------------- ##
1.1 misho 1551: ## Cache variables. ##
1.9.2.2 ! misho 1552: ## ---------------- ##
! 1553: _ASBOX
1.1 misho 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 #(
1.9.2.2 ! misho 1562: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1.1 misho 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= ;; #(
1.9.2.2 ! misho 1568: *) $as_unset $ac_var ;;
1.1 misho 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:
1.9.2.2 ! misho 1587: cat <<\_ASBOX
! 1588: ## ----------------- ##
1.1 misho 1589: ## Output variables. ##
1.9.2.2 ! misho 1590: ## ----------------- ##
! 1591: _ASBOX
1.1 misho 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
1.9.2.2 ! misho 1604: cat <<\_ASBOX
! 1605: ## ------------------- ##
1.1 misho 1606: ## File substitutions. ##
1.9.2.2 ! misho 1607: ## ------------------- ##
! 1608: _ASBOX
1.1 misho 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
1.9.2.2 ! misho 1622: cat <<\_ASBOX
! 1623: ## ----------- ##
1.1 misho 1624: ## confdefs.h. ##
1.9.2.2 ! misho 1625: ## ----------- ##
! 1626: _ASBOX
1.1 misho 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
1.9.2.2 ! misho 1640: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1.1 misho 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:
1.9.2.2 ! misho 1653:
1.1 misho 1654: cat >>confdefs.h <<_ACEOF
1655: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1656: _ACEOF
1657:
1.9.2.2 ! misho 1658:
1.1 misho 1659: cat >>confdefs.h <<_ACEOF
1660: #define PACKAGE_VERSION "$PACKAGE_VERSION"
1661: _ACEOF
1662:
1.9.2.2 ! misho 1663:
1.1 misho 1664: cat >>confdefs.h <<_ACEOF
1665: #define PACKAGE_STRING "$PACKAGE_STRING"
1666: _ACEOF
1667:
1668:
1669: cat >>confdefs.h <<_ACEOF
1.9.2.2 ! misho 1670: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1.1 misho 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
1.9.2.2 ! misho 1679: ac_site_file1=$CONFIG_SITE
1.1 misho 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
1.9.2.2 ! misho 1690: if test -r "$ac_site_file"; then
! 1691: { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1.1 misho 1692: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1693: sed 's/^/| /' "$ac_site_file" >&5
1.9.2.2 ! misho 1694: . "$ac_site_file"
1.1 misho 1695: fi
1696: done
1697:
1698: if test -r "$cache_file"; then
1.9.2.2 ! misho 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
1.1 misho 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
1.9.2.2 ! misho 1710: { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1.1 misho 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,)
1.9.2.2 ! misho 1725: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1.1 misho 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)
1.9.2.2 ! misho 1729: { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1.1 misho 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
1.9.2.2 ! misho 1739: { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1.1 misho 1740: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1741: ac_cache_corrupted=:
1742: else
1.9.2.2 ! misho 1743: { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1.1 misho 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
1.9.2.2 ! misho 1747: { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1.1 misho 1748: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1.9.2.2 ! misho 1749: { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1.1 misho 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.
1.9.2.2 ! misho 1761: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1.1 misho 1762: esac
1763: fi
1764: done
1765: if $ac_cache_corrupted; then
1.9.2.2 ! misho 1766: { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1.1 misho 1767: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.9.2.2 ! misho 1768: { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1.1 misho 1769: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1.9.2.2 ! misho 1770: { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
! 1771: $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
! 1772: { (exit 1); exit 1; }; }
1.1 misho 1773: fi
1.9.2.2 ! misho 1774:
! 1775:
! 1776:
! 1777:
! 1778:
! 1779:
! 1780:
! 1781:
! 1782:
! 1783:
! 1784:
! 1785:
! 1786:
! 1787:
! 1788:
! 1789:
! 1790:
! 1791:
! 1792:
! 1793:
! 1794:
! 1795:
! 1796:
! 1797:
1.1 misho 1798:
1799: ac_ext=c
1800: ac_cpp='$CPP $CPPFLAGS'
1801: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1802: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1803: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1804:
1805:
1806:
1807: ac_config_headers="$ac_config_headers inc/config.h"
1808:
1809:
1.7 misho 1810: ac_cv_func_malloc_0_nonnull="yes"
1811: ac_cv_func_realloc_0_nonnull="yes"
1812:
1.1 misho 1813: # Checks for programs.
1814: ac_ext=c
1815: ac_cpp='$CPP $CPPFLAGS'
1816: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1817: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1818: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1819: if test -n "$ac_tool_prefix"; then
1820: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1821: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.9.2.2 ! misho 1822: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1 misho 1823: $as_echo_n "checking for $ac_word... " >&6; }
1.9.2.2 ! misho 1824: if test "${ac_cv_prog_CC+set}" = set; then
1.1 misho 1825: $as_echo_n "(cached) " >&6
1826: else
1827: if test -n "$CC"; then
1828: ac_cv_prog_CC="$CC" # Let the user override the test.
1829: else
1830: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1831: for as_dir in $PATH
1832: do
1833: IFS=$as_save_IFS
1834: test -z "$as_dir" && as_dir=.
1.9.2.2 ! misho 1835: for ac_exec_ext in '' $ac_executable_extensions; do
! 1836: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1 misho 1837: ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.9.2.2 ! misho 1838: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 misho 1839: break 2
1840: fi
1841: done
1.9.2.2 ! misho 1842: done
1.1 misho 1843: IFS=$as_save_IFS
1844:
1845: fi
1846: fi
1847: CC=$ac_cv_prog_CC
1848: if test -n "$CC"; then
1.9.2.2 ! misho 1849: { $as_echo "$as_me:$LINENO: result: $CC" >&5
1.1 misho 1850: $as_echo "$CC" >&6; }
1851: else
1.9.2.2 ! misho 1852: { $as_echo "$as_me:$LINENO: result: no" >&5
1.1 misho 1853: $as_echo "no" >&6; }
1854: fi
1855:
1856:
1857: fi
1858: if test -z "$ac_cv_prog_CC"; then
1859: ac_ct_CC=$CC
1860: # Extract the first word of "gcc", so it can be a program name with args.
1861: set dummy gcc; ac_word=$2
1.9.2.2 ! misho 1862: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1 misho 1863: $as_echo_n "checking for $ac_word... " >&6; }
1.9.2.2 ! misho 1864: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.1 misho 1865: $as_echo_n "(cached) " >&6
1866: else
1867: if test -n "$ac_ct_CC"; then
1868: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1869: else
1870: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1871: for as_dir in $PATH
1872: do
1873: IFS=$as_save_IFS
1874: test -z "$as_dir" && as_dir=.
1.9.2.2 ! misho 1875: for ac_exec_ext in '' $ac_executable_extensions; do
! 1876: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1 misho 1877: ac_cv_prog_ac_ct_CC="gcc"
1.9.2.2 ! misho 1878: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 misho 1879: break 2
1880: fi
1881: done
1.9.2.2 ! misho 1882: done
1.1 misho 1883: IFS=$as_save_IFS
1884:
1885: fi
1886: fi
1887: ac_ct_CC=$ac_cv_prog_ac_ct_CC
1888: if test -n "$ac_ct_CC"; then
1.9.2.2 ! misho 1889: { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.1 misho 1890: $as_echo "$ac_ct_CC" >&6; }
1891: else
1.9.2.2 ! misho 1892: { $as_echo "$as_me:$LINENO: result: no" >&5
1.1 misho 1893: $as_echo "no" >&6; }
1894: fi
1895:
1896: if test "x$ac_ct_CC" = x; then
1897: CC=""
1898: else
1899: case $cross_compiling:$ac_tool_warned in
1900: yes:)
1.9.2.2 ! misho 1901: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
1.1 misho 1902: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1903: ac_tool_warned=yes ;;
1904: esac
1905: CC=$ac_ct_CC
1906: fi
1907: else
1908: CC="$ac_cv_prog_CC"
1909: fi
1910:
1911: if test -z "$CC"; then
1912: if test -n "$ac_tool_prefix"; then
1913: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1914: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.9.2.2 ! misho 1915: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1 misho 1916: $as_echo_n "checking for $ac_word... " >&6; }
1.9.2.2 ! misho 1917: if test "${ac_cv_prog_CC+set}" = set; then
1.1 misho 1918: $as_echo_n "(cached) " >&6
1919: else
1920: if test -n "$CC"; then
1921: ac_cv_prog_CC="$CC" # Let the user override the test.
1922: else
1923: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1924: for as_dir in $PATH
1925: do
1926: IFS=$as_save_IFS
1927: test -z "$as_dir" && as_dir=.
1.9.2.2 ! misho 1928: for ac_exec_ext in '' $ac_executable_extensions; do
! 1929: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1 misho 1930: ac_cv_prog_CC="${ac_tool_prefix}cc"
1.9.2.2 ! misho 1931: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 misho 1932: break 2
1933: fi
1934: done
1.9.2.2 ! misho 1935: done
1.1 misho 1936: IFS=$as_save_IFS
1937:
1938: fi
1939: fi
1940: CC=$ac_cv_prog_CC
1941: if test -n "$CC"; then
1.9.2.2 ! misho 1942: { $as_echo "$as_me:$LINENO: result: $CC" >&5
1.1 misho 1943: $as_echo "$CC" >&6; }
1944: else
1.9.2.2 ! misho 1945: { $as_echo "$as_me:$LINENO: result: no" >&5
1.1 misho 1946: $as_echo "no" >&6; }
1947: fi
1948:
1949:
1950: fi
1951: fi
1952: if test -z "$CC"; then
1953: # Extract the first word of "cc", so it can be a program name with args.
1954: set dummy cc; ac_word=$2
1.9.2.2 ! misho 1955: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1 misho 1956: $as_echo_n "checking for $ac_word... " >&6; }
1.9.2.2 ! misho 1957: if test "${ac_cv_prog_CC+set}" = set; then
1.1 misho 1958: $as_echo_n "(cached) " >&6
1959: else
1960: if test -n "$CC"; then
1961: ac_cv_prog_CC="$CC" # Let the user override the test.
1962: else
1963: ac_prog_rejected=no
1964: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1965: for as_dir in $PATH
1966: do
1967: IFS=$as_save_IFS
1968: test -z "$as_dir" && as_dir=.
1.9.2.2 ! misho 1969: for ac_exec_ext in '' $ac_executable_extensions; do
! 1970: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1 misho 1971: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1972: ac_prog_rejected=yes
1973: continue
1974: fi
1975: ac_cv_prog_CC="cc"
1.9.2.2 ! misho 1976: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 misho 1977: break 2
1978: fi
1979: done
1.9.2.2 ! misho 1980: done
1.1 misho 1981: IFS=$as_save_IFS
1982:
1983: if test $ac_prog_rejected = yes; then
1984: # We found a bogon in the path, so make sure we never use it.
1985: set dummy $ac_cv_prog_CC
1986: shift
1987: if test $# != 0; then
1988: # We chose a different compiler from the bogus one.
1989: # However, it has the same basename, so the bogon will be chosen
1990: # first if we set CC to just the basename; use the full file name.
1991: shift
1992: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1993: fi
1994: fi
1995: fi
1996: fi
1997: CC=$ac_cv_prog_CC
1998: if test -n "$CC"; then
1.9.2.2 ! misho 1999: { $as_echo "$as_me:$LINENO: result: $CC" >&5
1.1 misho 2000: $as_echo "$CC" >&6; }
2001: else
1.9.2.2 ! misho 2002: { $as_echo "$as_me:$LINENO: result: no" >&5
1.1 misho 2003: $as_echo "no" >&6; }
2004: fi
2005:
2006:
2007: fi
2008: if test -z "$CC"; then
2009: if test -n "$ac_tool_prefix"; then
2010: for ac_prog in cl.exe
2011: do
2012: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2013: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.9.2.2 ! misho 2014: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1 misho 2015: $as_echo_n "checking for $ac_word... " >&6; }
1.9.2.2 ! misho 2016: if test "${ac_cv_prog_CC+set}" = set; then
1.1 misho 2017: $as_echo_n "(cached) " >&6
2018: else
2019: if test -n "$CC"; then
2020: ac_cv_prog_CC="$CC" # Let the user override the test.
2021: else
2022: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2023: for as_dir in $PATH
2024: do
2025: IFS=$as_save_IFS
2026: test -z "$as_dir" && as_dir=.
1.9.2.2 ! misho 2027: for ac_exec_ext in '' $ac_executable_extensions; do
! 2028: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1 misho 2029: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.9.2.2 ! misho 2030: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 misho 2031: break 2
2032: fi
2033: done
1.9.2.2 ! misho 2034: done
1.1 misho 2035: IFS=$as_save_IFS
2036:
2037: fi
2038: fi
2039: CC=$ac_cv_prog_CC
2040: if test -n "$CC"; then
1.9.2.2 ! misho 2041: { $as_echo "$as_me:$LINENO: result: $CC" >&5
1.1 misho 2042: $as_echo "$CC" >&6; }
2043: else
1.9.2.2 ! misho 2044: { $as_echo "$as_me:$LINENO: result: no" >&5
1.1 misho 2045: $as_echo "no" >&6; }
2046: fi
2047:
2048:
2049: test -n "$CC" && break
2050: done
2051: fi
2052: if test -z "$CC"; then
2053: ac_ct_CC=$CC
2054: for ac_prog in cl.exe
2055: do
2056: # Extract the first word of "$ac_prog", so it can be a program name with args.
2057: set dummy $ac_prog; ac_word=$2
1.9.2.2 ! misho 2058: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1 misho 2059: $as_echo_n "checking for $ac_word... " >&6; }
1.9.2.2 ! misho 2060: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1.1 misho 2061: $as_echo_n "(cached) " >&6
2062: else
2063: if test -n "$ac_ct_CC"; then
2064: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2065: else
2066: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2067: for as_dir in $PATH
2068: do
2069: IFS=$as_save_IFS
2070: test -z "$as_dir" && as_dir=.
1.9.2.2 ! misho 2071: for ac_exec_ext in '' $ac_executable_extensions; do
! 2072: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1 misho 2073: ac_cv_prog_ac_ct_CC="$ac_prog"
1.9.2.2 ! misho 2074: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 misho 2075: break 2
2076: fi
2077: done
1.9.2.2 ! misho 2078: done
1.1 misho 2079: IFS=$as_save_IFS
2080:
2081: fi
2082: fi
2083: ac_ct_CC=$ac_cv_prog_ac_ct_CC
2084: if test -n "$ac_ct_CC"; then
1.9.2.2 ! misho 2085: { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1.1 misho 2086: $as_echo "$ac_ct_CC" >&6; }
2087: else
1.9.2.2 ! misho 2088: { $as_echo "$as_me:$LINENO: result: no" >&5
1.1 misho 2089: $as_echo "no" >&6; }
2090: fi
2091:
2092:
2093: test -n "$ac_ct_CC" && break
2094: done
2095:
2096: if test "x$ac_ct_CC" = x; then
2097: CC=""
2098: else
2099: case $cross_compiling:$ac_tool_warned in
2100: yes:)
1.9.2.2 ! misho 2101: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
1.1 misho 2102: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2103: ac_tool_warned=yes ;;
2104: esac
2105: CC=$ac_ct_CC
2106: fi
2107: fi
2108:
2109: fi
2110:
2111:
1.9.2.2 ! misho 2112: test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1.1 misho 2113: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.9.2.2 ! misho 2114: { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
! 2115: See \`config.log' for more details." >&5
! 2116: $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
! 2117: See \`config.log' for more details." >&2;}
! 2118: { (exit 1); exit 1; }; }; }
1.1 misho 2119:
2120: # Provide some information about the compiler.
1.9.2.2 ! misho 2121: $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
1.1 misho 2122: set X $ac_compile
2123: ac_compiler=$2
1.9.2.2 ! misho 2124: { (ac_try="$ac_compiler --version >&5"
1.1 misho 2125: case "(($ac_try" in
2126: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2127: *) ac_try_echo=$ac_try;;
2128: esac
1.9.2.2 ! misho 2129: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2130: $as_echo "$ac_try_echo") >&5
! 2131: (eval "$ac_compiler --version >&5") 2>&5
1.1 misho 2132: ac_status=$?
1.9.2.2 ! misho 2133: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2134: (exit $ac_status); }
! 2135: { (ac_try="$ac_compiler -v >&5"
! 2136: case "(($ac_try" in
! 2137: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2138: *) ac_try_echo=$ac_try;;
! 2139: esac
! 2140: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2141: $as_echo "$ac_try_echo") >&5
! 2142: (eval "$ac_compiler -v >&5") 2>&5
! 2143: ac_status=$?
! 2144: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2145: (exit $ac_status); }
! 2146: { (ac_try="$ac_compiler -V >&5"
! 2147: case "(($ac_try" in
! 2148: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2149: *) ac_try_echo=$ac_try;;
! 2150: esac
! 2151: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2152: $as_echo "$ac_try_echo") >&5
! 2153: (eval "$ac_compiler -V >&5") 2>&5
! 2154: ac_status=$?
! 2155: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2156: (exit $ac_status); }
1.1 misho 2157:
1.9.2.2 ! misho 2158: cat >conftest.$ac_ext <<_ACEOF
! 2159: /* confdefs.h. */
! 2160: _ACEOF
! 2161: cat confdefs.h >>conftest.$ac_ext
! 2162: cat >>conftest.$ac_ext <<_ACEOF
1.1 misho 2163: /* end confdefs.h. */
2164:
2165: int
2166: main ()
2167: {
2168:
2169: ;
2170: return 0;
2171: }
2172: _ACEOF
2173: ac_clean_files_save=$ac_clean_files
2174: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2175: # Try to create an executable without -o first, disregard a.out.
2176: # It will help us diagnose broken compilers, and finding out an intuition
2177: # of exeext.
1.9.2.2 ! misho 2178: { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
! 2179: $as_echo_n "checking for C compiler default output file name... " >&6; }
1.1 misho 2180: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2181:
2182: # The possible output files:
2183: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2184:
2185: ac_rmfiles=
2186: for ac_file in $ac_files
2187: do
2188: case $ac_file in
2189: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2190: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2191: esac
2192: done
2193: rm -f $ac_rmfiles
2194:
1.9.2.2 ! misho 2195: if { (ac_try="$ac_link_default"
1.1 misho 2196: case "(($ac_try" in
2197: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2198: *) ac_try_echo=$ac_try;;
2199: esac
1.9.2.2 ! misho 2200: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2201: $as_echo "$ac_try_echo") >&5
1.1 misho 2202: (eval "$ac_link_default") 2>&5
2203: ac_status=$?
1.9.2.2 ! misho 2204: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2205: (exit $ac_status); }; then
1.1 misho 2206: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2207: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2208: # in a Makefile. We should not override ac_cv_exeext if it was cached,
2209: # so that the user can short-circuit this test for compilers unknown to
2210: # Autoconf.
2211: for ac_file in $ac_files ''
2212: do
2213: test -f "$ac_file" || continue
2214: case $ac_file in
2215: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2216: ;;
2217: [ab].out )
2218: # We found the default executable, but exeext='' is most
2219: # certainly right.
2220: break;;
2221: *.* )
1.9.2.2 ! misho 2222: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
1.1 misho 2223: then :; else
2224: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2225: fi
2226: # We set ac_cv_exeext here because the later test for it is not
2227: # safe: cross compilers may not add the suffix if given an `-o'
2228: # argument, so we may need to know it at that point already.
2229: # Even if this section looks crufty: it has the advantage of
2230: # actually working.
2231: break;;
2232: * )
2233: break;;
2234: esac
2235: done
2236: test "$ac_cv_exeext" = no && ac_cv_exeext=
2237:
2238: else
2239: ac_file=''
2240: fi
1.9.2.2 ! misho 2241:
! 2242: { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
! 2243: $as_echo "$ac_file" >&6; }
! 2244: if test -z "$ac_file"; then
! 2245: $as_echo "$as_me: failed program was:" >&5
1.1 misho 2246: sed 's/^/| /' conftest.$ac_ext >&5
2247:
1.9.2.2 ! misho 2248: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1.1 misho 2249: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.9.2.2 ! misho 2250: { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
! 2251: See \`config.log' for more details." >&5
! 2252: $as_echo "$as_me: error: C compiler cannot create executables
! 2253: See \`config.log' for more details." >&2;}
! 2254: { (exit 77); exit 77; }; }; }
1.1 misho 2255: fi
1.9.2.2 ! misho 2256:
1.1 misho 2257: ac_exeext=$ac_cv_exeext
2258:
1.9.2.2 ! misho 2259: # Check that the compiler produces executables we can run. If not, either
! 2260: # the compiler is broken, or we cross compile.
! 2261: { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
! 2262: $as_echo_n "checking whether the C compiler works... " >&6; }
! 2263: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
! 2264: # If not cross compiling, check that we can run a simple program.
! 2265: if test "$cross_compiling" != yes; then
! 2266: if { ac_try='./$ac_file'
! 2267: { (case "(($ac_try" in
1.1 misho 2268: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2269: *) ac_try_echo=$ac_try;;
2270: esac
1.9.2.2 ! misho 2271: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2272: $as_echo "$ac_try_echo") >&5
! 2273: (eval "$ac_try") 2>&5
! 2274: ac_status=$?
! 2275: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2276: (exit $ac_status); }; }; then
! 2277: cross_compiling=no
! 2278: else
! 2279: if test "$cross_compiling" = maybe; then
! 2280: cross_compiling=yes
! 2281: else
! 2282: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
! 2283: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 2284: { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
! 2285: If you meant to cross compile, use \`--host'.
! 2286: See \`config.log' for more details." >&5
! 2287: $as_echo "$as_me: error: cannot run C compiled programs.
! 2288: If you meant to cross compile, use \`--host'.
! 2289: See \`config.log' for more details." >&2;}
! 2290: { (exit 1); exit 1; }; }; }
! 2291: fi
! 2292: fi
! 2293: fi
! 2294: { $as_echo "$as_me:$LINENO: result: yes" >&5
! 2295: $as_echo "yes" >&6; }
! 2296:
! 2297: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
! 2298: ac_clean_files=$ac_clean_files_save
! 2299: # Check that the compiler produces executables we can run. If not, either
! 2300: # the compiler is broken, or we cross compile.
! 2301: { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
! 2302: $as_echo_n "checking whether we are cross compiling... " >&6; }
! 2303: { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
! 2304: $as_echo "$cross_compiling" >&6; }
! 2305:
! 2306: { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
! 2307: $as_echo_n "checking for suffix of executables... " >&6; }
! 2308: if { (ac_try="$ac_link"
! 2309: case "(($ac_try" in
! 2310: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2311: *) ac_try_echo=$ac_try;;
! 2312: esac
! 2313: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2314: $as_echo "$ac_try_echo") >&5
! 2315: (eval "$ac_link") 2>&5
1.1 misho 2316: ac_status=$?
1.9.2.2 ! misho 2317: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2318: (exit $ac_status); }; then
1.1 misho 2319: # If both `conftest.exe' and `conftest' are `present' (well, observable)
2320: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2321: # work properly (i.e., refer to `conftest.exe'), while it won't with
2322: # `rm'.
2323: for ac_file in conftest.exe conftest conftest.*; do
2324: test -f "$ac_file" || continue
2325: case $ac_file in
2326: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2327: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2328: break;;
2329: * ) break;;
2330: esac
2331: done
2332: else
1.9.2.2 ! misho 2333: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1.1 misho 2334: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.9.2.2 ! misho 2335: { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
! 2336: See \`config.log' for more details." >&5
! 2337: $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
! 2338: See \`config.log' for more details." >&2;}
! 2339: { (exit 1); exit 1; }; }; }
1.1 misho 2340: fi
1.9.2.2 ! misho 2341:
! 2342: rm -f conftest$ac_cv_exeext
! 2343: { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1.1 misho 2344: $as_echo "$ac_cv_exeext" >&6; }
2345:
2346: rm -f conftest.$ac_ext
2347: EXEEXT=$ac_cv_exeext
2348: ac_exeext=$EXEEXT
1.9.2.2 ! misho 2349: { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
1.1 misho 2350: $as_echo_n "checking for suffix of object files... " >&6; }
1.9.2.2 ! misho 2351: if test "${ac_cv_objext+set}" = set; then
1.1 misho 2352: $as_echo_n "(cached) " >&6
2353: else
1.9.2.2 ! misho 2354: cat >conftest.$ac_ext <<_ACEOF
! 2355: /* confdefs.h. */
! 2356: _ACEOF
! 2357: cat confdefs.h >>conftest.$ac_ext
! 2358: cat >>conftest.$ac_ext <<_ACEOF
1.1 misho 2359: /* end confdefs.h. */
2360:
2361: int
2362: main ()
2363: {
2364:
2365: ;
2366: return 0;
2367: }
2368: _ACEOF
2369: rm -f conftest.o conftest.obj
1.9.2.2 ! misho 2370: if { (ac_try="$ac_compile"
1.1 misho 2371: case "(($ac_try" in
2372: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2373: *) ac_try_echo=$ac_try;;
2374: esac
1.9.2.2 ! misho 2375: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2376: $as_echo "$ac_try_echo") >&5
1.1 misho 2377: (eval "$ac_compile") 2>&5
2378: ac_status=$?
1.9.2.2 ! misho 2379: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2380: (exit $ac_status); }; then
1.1 misho 2381: for ac_file in conftest.o conftest.obj conftest.*; do
2382: test -f "$ac_file" || continue;
2383: case $ac_file in
2384: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2385: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2386: break;;
2387: esac
2388: done
2389: else
2390: $as_echo "$as_me: failed program was:" >&5
2391: sed 's/^/| /' conftest.$ac_ext >&5
2392:
1.9.2.2 ! misho 2393: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1.1 misho 2394: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.9.2.2 ! misho 2395: { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
! 2396: See \`config.log' for more details." >&5
! 2397: $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
! 2398: See \`config.log' for more details." >&2;}
! 2399: { (exit 1); exit 1; }; }; }
1.1 misho 2400: fi
1.9.2.2 ! misho 2401:
1.1 misho 2402: rm -f conftest.$ac_cv_objext conftest.$ac_ext
2403: fi
1.9.2.2 ! misho 2404: { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1.1 misho 2405: $as_echo "$ac_cv_objext" >&6; }
2406: OBJEXT=$ac_cv_objext
2407: ac_objext=$OBJEXT
1.9.2.2 ! misho 2408: { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1.1 misho 2409: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
1.9.2.2 ! misho 2410: if test "${ac_cv_c_compiler_gnu+set}" = set; then
1.1 misho 2411: $as_echo_n "(cached) " >&6
2412: else
1.9.2.2 ! misho 2413: cat >conftest.$ac_ext <<_ACEOF
! 2414: /* confdefs.h. */
! 2415: _ACEOF
! 2416: cat confdefs.h >>conftest.$ac_ext
! 2417: cat >>conftest.$ac_ext <<_ACEOF
1.1 misho 2418: /* end confdefs.h. */
2419:
2420: int
2421: main ()
2422: {
2423: #ifndef __GNUC__
2424: choke me
2425: #endif
2426:
2427: ;
2428: return 0;
2429: }
2430: _ACEOF
1.9.2.2 ! misho 2431: rm -f conftest.$ac_objext
! 2432: if { (ac_try="$ac_compile"
! 2433: case "(($ac_try" in
! 2434: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2435: *) ac_try_echo=$ac_try;;
! 2436: esac
! 2437: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2438: $as_echo "$ac_try_echo") >&5
! 2439: (eval "$ac_compile") 2>conftest.er1
! 2440: ac_status=$?
! 2441: grep -v '^ *+' conftest.er1 >conftest.err
! 2442: rm -f conftest.er1
! 2443: cat conftest.err >&5
! 2444: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2445: (exit $ac_status); } && {
! 2446: test -z "$ac_c_werror_flag" ||
! 2447: test ! -s conftest.err
! 2448: } && test -s conftest.$ac_objext; then
1.1 misho 2449: ac_compiler_gnu=yes
2450: else
1.9.2.2 ! misho 2451: $as_echo "$as_me: failed program was:" >&5
! 2452: sed 's/^/| /' conftest.$ac_ext >&5
! 2453:
! 2454: ac_compiler_gnu=no
1.1 misho 2455: fi
1.9.2.2 ! misho 2456:
1.1 misho 2457: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2458: ac_cv_c_compiler_gnu=$ac_compiler_gnu
2459:
2460: fi
1.9.2.2 ! misho 2461: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1.1 misho 2462: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2463: if test $ac_compiler_gnu = yes; then
2464: GCC=yes
2465: else
2466: GCC=
2467: fi
2468: ac_test_CFLAGS=${CFLAGS+set}
2469: ac_save_CFLAGS=$CFLAGS
1.9.2.2 ! misho 2470: { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1.1 misho 2471: $as_echo_n "checking whether $CC accepts -g... " >&6; }
1.9.2.2 ! misho 2472: if test "${ac_cv_prog_cc_g+set}" = set; then
1.1 misho 2473: $as_echo_n "(cached) " >&6
2474: else
2475: ac_save_c_werror_flag=$ac_c_werror_flag
2476: ac_c_werror_flag=yes
2477: ac_cv_prog_cc_g=no
2478: CFLAGS="-g"
1.9.2.2 ! misho 2479: cat >conftest.$ac_ext <<_ACEOF
! 2480: /* confdefs.h. */
! 2481: _ACEOF
! 2482: cat confdefs.h >>conftest.$ac_ext
! 2483: cat >>conftest.$ac_ext <<_ACEOF
1.1 misho 2484: /* end confdefs.h. */
2485:
2486: int
2487: main ()
2488: {
2489:
2490: ;
2491: return 0;
2492: }
2493: _ACEOF
1.9.2.2 ! misho 2494: rm -f conftest.$ac_objext
! 2495: if { (ac_try="$ac_compile"
! 2496: case "(($ac_try" in
! 2497: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2498: *) ac_try_echo=$ac_try;;
! 2499: esac
! 2500: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2501: $as_echo "$ac_try_echo") >&5
! 2502: (eval "$ac_compile") 2>conftest.er1
! 2503: ac_status=$?
! 2504: grep -v '^ *+' conftest.er1 >conftest.err
! 2505: rm -f conftest.er1
! 2506: cat conftest.err >&5
! 2507: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2508: (exit $ac_status); } && {
! 2509: test -z "$ac_c_werror_flag" ||
! 2510: test ! -s conftest.err
! 2511: } && test -s conftest.$ac_objext; then
1.1 misho 2512: ac_cv_prog_cc_g=yes
2513: else
1.9.2.2 ! misho 2514: $as_echo "$as_me: failed program was:" >&5
! 2515: sed 's/^/| /' conftest.$ac_ext >&5
! 2516:
! 2517: CFLAGS=""
! 2518: cat >conftest.$ac_ext <<_ACEOF
! 2519: /* confdefs.h. */
! 2520: _ACEOF
! 2521: cat confdefs.h >>conftest.$ac_ext
! 2522: cat >>conftest.$ac_ext <<_ACEOF
1.1 misho 2523: /* end confdefs.h. */
2524:
2525: int
2526: main ()
2527: {
2528:
2529: ;
2530: return 0;
2531: }
2532: _ACEOF
1.9.2.2 ! misho 2533: rm -f conftest.$ac_objext
! 2534: if { (ac_try="$ac_compile"
! 2535: case "(($ac_try" in
! 2536: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2537: *) ac_try_echo=$ac_try;;
! 2538: esac
! 2539: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2540: $as_echo "$ac_try_echo") >&5
! 2541: (eval "$ac_compile") 2>conftest.er1
! 2542: ac_status=$?
! 2543: grep -v '^ *+' conftest.er1 >conftest.err
! 2544: rm -f conftest.er1
! 2545: cat conftest.err >&5
! 2546: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2547: (exit $ac_status); } && {
! 2548: test -z "$ac_c_werror_flag" ||
! 2549: test ! -s conftest.err
! 2550: } && test -s conftest.$ac_objext; then
! 2551: :
1.1 misho 2552: else
1.9.2.2 ! misho 2553: $as_echo "$as_me: failed program was:" >&5
! 2554: sed 's/^/| /' conftest.$ac_ext >&5
! 2555:
! 2556: ac_c_werror_flag=$ac_save_c_werror_flag
1.1 misho 2557: CFLAGS="-g"
1.9.2.2 ! misho 2558: cat >conftest.$ac_ext <<_ACEOF
! 2559: /* confdefs.h. */
! 2560: _ACEOF
! 2561: cat confdefs.h >>conftest.$ac_ext
! 2562: cat >>conftest.$ac_ext <<_ACEOF
1.1 misho 2563: /* end confdefs.h. */
2564:
2565: int
2566: main ()
2567: {
2568:
2569: ;
2570: return 0;
2571: }
2572: _ACEOF
1.9.2.2 ! misho 2573: rm -f conftest.$ac_objext
! 2574: if { (ac_try="$ac_compile"
! 2575: case "(($ac_try" in
! 2576: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2577: *) ac_try_echo=$ac_try;;
! 2578: esac
! 2579: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2580: $as_echo "$ac_try_echo") >&5
! 2581: (eval "$ac_compile") 2>conftest.er1
! 2582: ac_status=$?
! 2583: grep -v '^ *+' conftest.er1 >conftest.err
! 2584: rm -f conftest.er1
! 2585: cat conftest.err >&5
! 2586: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2587: (exit $ac_status); } && {
! 2588: test -z "$ac_c_werror_flag" ||
! 2589: test ! -s conftest.err
! 2590: } && test -s conftest.$ac_objext; then
1.1 misho 2591: ac_cv_prog_cc_g=yes
1.9.2.2 ! misho 2592: else
! 2593: $as_echo "$as_me: failed program was:" >&5
! 2594: sed 's/^/| /' conftest.$ac_ext >&5
! 2595:
! 2596:
1.1 misho 2597: fi
1.9.2.2 ! misho 2598:
1.1 misho 2599: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2600: fi
1.9.2.2 ! misho 2601:
1.1 misho 2602: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2603: fi
1.9.2.2 ! misho 2604:
1.1 misho 2605: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2606: ac_c_werror_flag=$ac_save_c_werror_flag
2607: fi
1.9.2.2 ! misho 2608: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1.1 misho 2609: $as_echo "$ac_cv_prog_cc_g" >&6; }
2610: if test "$ac_test_CFLAGS" = set; then
2611: CFLAGS=$ac_save_CFLAGS
2612: elif test $ac_cv_prog_cc_g = yes; then
2613: if test "$GCC" = yes; then
2614: CFLAGS="-g -O2"
2615: else
2616: CFLAGS="-g"
2617: fi
2618: else
2619: if test "$GCC" = yes; then
2620: CFLAGS="-O2"
2621: else
2622: CFLAGS=
2623: fi
2624: fi
1.9.2.2 ! misho 2625: { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
1.1 misho 2626: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
1.9.2.2 ! misho 2627: if test "${ac_cv_prog_cc_c89+set}" = set; then
1.1 misho 2628: $as_echo_n "(cached) " >&6
2629: else
2630: ac_cv_prog_cc_c89=no
2631: ac_save_CC=$CC
1.9.2.2 ! misho 2632: cat >conftest.$ac_ext <<_ACEOF
! 2633: /* confdefs.h. */
! 2634: _ACEOF
! 2635: cat confdefs.h >>conftest.$ac_ext
! 2636: cat >>conftest.$ac_ext <<_ACEOF
1.1 misho 2637: /* end confdefs.h. */
2638: #include <stdarg.h>
2639: #include <stdio.h>
1.9.2.2 ! misho 2640: #include <sys/types.h>
! 2641: #include <sys/stat.h>
1.1 misho 2642: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2643: struct buf { int x; };
2644: FILE * (*rcsopen) (struct buf *, struct stat *, int);
2645: static char *e (p, i)
2646: char **p;
2647: int i;
2648: {
2649: return p[i];
2650: }
2651: static char *f (char * (*g) (char **, int), char **p, ...)
2652: {
2653: char *s;
2654: va_list v;
2655: va_start (v,p);
2656: s = g (p, va_arg (v,int));
2657: va_end (v);
2658: return s;
2659: }
2660:
2661: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2662: function prototypes and stuff, but not '\xHH' hex character constants.
2663: These don't provoke an error unfortunately, instead are silently treated
2664: as 'x'. The following induces an error, until -std is added to get
2665: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2666: array size at least. It's necessary to write '\x00'==0 to get something
2667: that's true only with -std. */
2668: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2669:
2670: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2671: inside strings and character constants. */
2672: #define FOO(x) 'x'
2673: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2674:
2675: int test (int i, double x);
2676: struct s1 {int (*f) (int a);};
2677: struct s2 {int (*f) (double a);};
2678: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2679: int argc;
2680: char **argv;
2681: int
2682: main ()
2683: {
2684: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2685: ;
2686: return 0;
2687: }
2688: _ACEOF
2689: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2690: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2691: do
2692: CC="$ac_save_CC $ac_arg"
1.9.2.2 ! misho 2693: rm -f conftest.$ac_objext
! 2694: if { (ac_try="$ac_compile"
! 2695: case "(($ac_try" in
! 2696: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 2697: *) ac_try_echo=$ac_try;;
! 2698: esac
! 2699: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 2700: $as_echo "$ac_try_echo") >&5
! 2701: (eval "$ac_compile") 2>conftest.er1
! 2702: ac_status=$?
! 2703: grep -v '^ *+' conftest.er1 >conftest.err
! 2704: rm -f conftest.er1
! 2705: cat conftest.err >&5
! 2706: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2707: (exit $ac_status); } && {
! 2708: test -z "$ac_c_werror_flag" ||
! 2709: test ! -s conftest.err
! 2710: } && test -s conftest.$ac_objext; then
1.1 misho 2711: ac_cv_prog_cc_c89=$ac_arg
1.9.2.2 ! misho 2712: else
! 2713: $as_echo "$as_me: failed program was:" >&5
! 2714: sed 's/^/| /' conftest.$ac_ext >&5
! 2715:
! 2716:
1.1 misho 2717: fi
1.9.2.2 ! misho 2718:
1.1 misho 2719: rm -f core conftest.err conftest.$ac_objext
2720: test "x$ac_cv_prog_cc_c89" != "xno" && break
2721: done
2722: rm -f conftest.$ac_ext
2723: CC=$ac_save_CC
2724:
2725: fi
2726: # AC_CACHE_VAL
2727: case "x$ac_cv_prog_cc_c89" in
2728: x)
1.9.2.2 ! misho 2729: { $as_echo "$as_me:$LINENO: result: none needed" >&5
1.1 misho 2730: $as_echo "none needed" >&6; } ;;
2731: xno)
1.9.2.2 ! misho 2732: { $as_echo "$as_me:$LINENO: result: unsupported" >&5
1.1 misho 2733: $as_echo "unsupported" >&6; } ;;
2734: *)
2735: CC="$CC $ac_cv_prog_cc_c89"
1.9.2.2 ! misho 2736: { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
1.1 misho 2737: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2738: esac
2739:
2740:
2741: ac_ext=c
2742: ac_cpp='$CPP $CPPFLAGS'
2743: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2744: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2745: ac_compiler_gnu=$ac_cv_c_compiler_gnu
2746:
2747: ac_aux_dir=
2748: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2749: if test -f "$ac_dir/install-sh"; then
2750: ac_aux_dir=$ac_dir
2751: ac_install_sh="$ac_aux_dir/install-sh -c"
2752: break
2753: elif test -f "$ac_dir/install.sh"; then
2754: ac_aux_dir=$ac_dir
2755: ac_install_sh="$ac_aux_dir/install.sh -c"
2756: break
2757: elif test -f "$ac_dir/shtool"; then
2758: ac_aux_dir=$ac_dir
2759: ac_install_sh="$ac_aux_dir/shtool install -c"
2760: break
2761: fi
2762: done
2763: if test -z "$ac_aux_dir"; then
1.9.2.2 ! misho 2764: { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
! 2765: $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
! 2766: { (exit 1); exit 1; }; }
1.1 misho 2767: fi
2768:
2769: # These three variables are undocumented and unsupported,
2770: # and are intended to be withdrawn in a future Autoconf release.
2771: # They can cause serious problems if a builder's source tree is in a directory
2772: # whose full name contains unusual characters.
2773: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2774: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2775: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2776:
2777:
2778: # Find a good install program. We prefer a C program (faster),
2779: # so one script is as good as another. But avoid the broken or
2780: # incompatible versions:
2781: # SysV /etc/install, /usr/sbin/install
2782: # SunOS /usr/etc/install
2783: # IRIX /sbin/install
2784: # AIX /bin/install
2785: # AmigaOS /C/install, which installs bootblocks on floppy discs
2786: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2787: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2788: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2789: # OS/2's system install, which has a completely different semantic
2790: # ./install, which can be erroneously created by make from ./install.sh.
2791: # Reject install programs that cannot install multiple files.
1.9.2.2 ! misho 2792: { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1.1 misho 2793: $as_echo_n "checking for a BSD-compatible install... " >&6; }
2794: if test -z "$INSTALL"; then
1.9.2.2 ! misho 2795: if test "${ac_cv_path_install+set}" = set; then
1.1 misho 2796: $as_echo_n "(cached) " >&6
2797: else
2798: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2799: for as_dir in $PATH
2800: do
2801: IFS=$as_save_IFS
2802: test -z "$as_dir" && as_dir=.
1.9.2.2 ! misho 2803: # Account for people who put trailing slashes in PATH elements.
! 2804: case $as_dir/ in
! 2805: ./ | .// | /cC/* | \
1.1 misho 2806: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.9.2.2 ! misho 2807: ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.1 misho 2808: /usr/ucb/* ) ;;
2809: *)
2810: # OSF1 and SCO ODT 3.0 have their own names for install.
2811: # Don't use installbsd from OSF since it installs stuff as root
2812: # by default.
2813: for ac_prog in ginstall scoinst install; do
2814: for ac_exec_ext in '' $ac_executable_extensions; do
1.9.2.2 ! misho 2815: if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1.1 misho 2816: if test $ac_prog = install &&
2817: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2818: # AIX install. It has an incompatible calling convention.
2819: :
2820: elif test $ac_prog = install &&
2821: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2822: # program-specific install script used by HP pwplus--don't use.
2823: :
2824: else
2825: rm -rf conftest.one conftest.two conftest.dir
2826: echo one > conftest.one
2827: echo two > conftest.two
2828: mkdir conftest.dir
2829: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2830: test -s conftest.one && test -s conftest.two &&
2831: test -s conftest.dir/conftest.one &&
2832: test -s conftest.dir/conftest.two
2833: then
2834: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2835: break 3
2836: fi
2837: fi
2838: fi
2839: done
2840: done
2841: ;;
2842: esac
2843:
1.9.2.2 ! misho 2844: done
1.1 misho 2845: IFS=$as_save_IFS
2846:
2847: rm -rf conftest.one conftest.two conftest.dir
2848:
2849: fi
2850: if test "${ac_cv_path_install+set}" = set; then
2851: INSTALL=$ac_cv_path_install
2852: else
2853: # As a last resort, use the slow shell script. Don't cache a
2854: # value for INSTALL within a source directory, because that will
2855: # break other packages using the cache if that directory is
2856: # removed, or if the value is a relative name.
2857: INSTALL=$ac_install_sh
2858: fi
2859: fi
1.9.2.2 ! misho 2860: { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1.1 misho 2861: $as_echo "$INSTALL" >&6; }
2862:
2863: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2864: # It thinks the first close brace ends the variable substitution.
2865: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2866:
2867: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2868:
2869: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2870:
1.9.2.2 ! misho 2871: if test -n "$ac_tool_prefix"; then
! 2872: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 2873: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 2874: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2875: $as_echo_n "checking for $ac_word... " >&6; }
! 2876: if test "${ac_cv_prog_RANLIB+set}" = set; then
! 2877: $as_echo_n "(cached) " >&6
! 2878: else
! 2879: if test -n "$RANLIB"; then
! 2880: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
! 2881: else
! 2882: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2883: for as_dir in $PATH
! 2884: do
! 2885: IFS=$as_save_IFS
! 2886: test -z "$as_dir" && as_dir=.
! 2887: for ac_exec_ext in '' $ac_executable_extensions; do
! 2888: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2889: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 2890: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2891: break 2
! 2892: fi
! 2893: done
! 2894: done
! 2895: IFS=$as_save_IFS
! 2896:
! 2897: fi
! 2898: fi
! 2899: RANLIB=$ac_cv_prog_RANLIB
! 2900: if test -n "$RANLIB"; then
! 2901: { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
! 2902: $as_echo "$RANLIB" >&6; }
! 2903: else
! 2904: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2905: $as_echo "no" >&6; }
! 2906: fi
! 2907:
! 2908:
! 2909: fi
! 2910: if test -z "$ac_cv_prog_RANLIB"; then
! 2911: ac_ct_RANLIB=$RANLIB
! 2912: # Extract the first word of "ranlib", so it can be a program name with args.
! 2913: set dummy ranlib; ac_word=$2
! 2914: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
! 2915: $as_echo_n "checking for $ac_word... " >&6; }
! 2916: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
! 2917: $as_echo_n "(cached) " >&6
! 2918: else
! 2919: if test -n "$ac_ct_RANLIB"; then
! 2920: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
! 2921: else
! 2922: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 2923: for as_dir in $PATH
! 2924: do
! 2925: IFS=$as_save_IFS
! 2926: test -z "$as_dir" && as_dir=.
! 2927: for ac_exec_ext in '' $ac_executable_extensions; do
! 2928: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
! 2929: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 2930: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 2931: break 2
! 2932: fi
! 2933: done
! 2934: done
! 2935: IFS=$as_save_IFS
! 2936:
! 2937: fi
! 2938: fi
! 2939: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 2940: if test -n "$ac_ct_RANLIB"; then
! 2941: { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
! 2942: $as_echo "$ac_ct_RANLIB" >&6; }
! 2943: else
! 2944: { $as_echo "$as_me:$LINENO: result: no" >&5
! 2945: $as_echo "no" >&6; }
! 2946: fi
! 2947:
! 2948: if test "x$ac_ct_RANLIB" = x; then
! 2949: RANLIB=":"
! 2950: else
! 2951: case $cross_compiling:$ac_tool_warned in
! 2952: yes:)
! 2953: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
! 2954: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
! 2955: ac_tool_warned=yes ;;
! 2956: esac
! 2957: RANLIB=$ac_ct_RANLIB
! 2958: fi
! 2959: else
! 2960: RANLIB="$ac_cv_prog_RANLIB"
! 2961: fi
! 2962:
1.1 misho 2963:
2964: # Checks for libraries.
2965: # Make sure we can run config.sub.
2966: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1.9.2.2 ! misho 2967: { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
! 2968: $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
! 2969: { (exit 1); exit 1; }; }
1.1 misho 2970:
1.9.2.2 ! misho 2971: { $as_echo "$as_me:$LINENO: checking build system type" >&5
1.1 misho 2972: $as_echo_n "checking build system type... " >&6; }
1.9.2.2 ! misho 2973: if test "${ac_cv_build+set}" = set; then
1.1 misho 2974: $as_echo_n "(cached) " >&6
2975: else
2976: ac_build_alias=$build_alias
2977: test "x$ac_build_alias" = x &&
2978: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2979: test "x$ac_build_alias" = x &&
1.9.2.2 ! misho 2980: { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
! 2981: $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
! 2982: { (exit 1); exit 1; }; }
1.1 misho 2983: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1.9.2.2 ! misho 2984: { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
! 2985: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
! 2986: { (exit 1); exit 1; }; }
1.1 misho 2987:
2988: fi
1.9.2.2 ! misho 2989: { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1.1 misho 2990: $as_echo "$ac_cv_build" >&6; }
2991: case $ac_cv_build in
2992: *-*-*) ;;
1.9.2.2 ! misho 2993: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
! 2994: $as_echo "$as_me: error: invalid value of canonical build" >&2;}
! 2995: { (exit 1); exit 1; }; };;
1.1 misho 2996: esac
2997: build=$ac_cv_build
2998: ac_save_IFS=$IFS; IFS='-'
2999: set x $ac_cv_build
3000: shift
3001: build_cpu=$1
3002: build_vendor=$2
3003: shift; shift
3004: # Remember, the first character of IFS is used to create $*,
3005: # except with old shells:
3006: build_os=$*
3007: IFS=$ac_save_IFS
3008: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3009:
3010:
1.9.2.2 ! misho 3011: { $as_echo "$as_me:$LINENO: checking host system type" >&5
1.1 misho 3012: $as_echo_n "checking host system type... " >&6; }
1.9.2.2 ! misho 3013: if test "${ac_cv_host+set}" = set; then
1.1 misho 3014: $as_echo_n "(cached) " >&6
3015: else
3016: if test "x$host_alias" = x; then
3017: ac_cv_host=$ac_cv_build
3018: else
3019: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1.9.2.2 ! misho 3020: { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
! 3021: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
! 3022: { (exit 1); exit 1; }; }
1.1 misho 3023: fi
3024:
3025: fi
1.9.2.2 ! misho 3026: { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1.1 misho 3027: $as_echo "$ac_cv_host" >&6; }
3028: case $ac_cv_host in
3029: *-*-*) ;;
1.9.2.2 ! misho 3030: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
! 3031: $as_echo "$as_me: error: invalid value of canonical host" >&2;}
! 3032: { (exit 1); exit 1; }; };;
1.1 misho 3033: esac
3034: host=$ac_cv_host
3035: ac_save_IFS=$IFS; IFS='-'
3036: set x $ac_cv_host
3037: shift
3038: host_cpu=$1
3039: host_vendor=$2
3040: shift; shift
3041: # Remember, the first character of IFS is used to create $*,
3042: # except with old shells:
3043: host_os=$*
3044: IFS=$ac_save_IFS
3045: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3046:
3047:
1.9.2.2 ! misho 3048: { $as_echo "$as_me:$LINENO: checking target system type" >&5
1.1 misho 3049: $as_echo_n "checking target system type... " >&6; }
1.9.2.2 ! misho 3050: if test "${ac_cv_target+set}" = set; then
1.1 misho 3051: $as_echo_n "(cached) " >&6
3052: else
3053: if test "x$target_alias" = x; then
3054: ac_cv_target=$ac_cv_host
3055: else
3056: ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1.9.2.2 ! misho 3057: { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
! 3058: $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
! 3059: { (exit 1); exit 1; }; }
1.1 misho 3060: fi
3061:
3062: fi
1.9.2.2 ! misho 3063: { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1.1 misho 3064: $as_echo "$ac_cv_target" >&6; }
3065: case $ac_cv_target in
3066: *-*-*) ;;
1.9.2.2 ! misho 3067: *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
! 3068: $as_echo "$as_me: error: invalid value of canonical target" >&2;}
! 3069: { (exit 1); exit 1; }; };;
1.1 misho 3070: esac
3071: target=$ac_cv_target
3072: ac_save_IFS=$IFS; IFS='-'
3073: set x $ac_cv_target
3074: shift
3075: target_cpu=$1
3076: target_vendor=$2
3077: shift; shift
3078: # Remember, the first character of IFS is used to create $*,
3079: # except with old shells:
3080: target_os=$*
3081: IFS=$ac_save_IFS
3082: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3083:
3084:
3085: # The aliases save the names the user supplied, while $host etc.
3086: # will get canonicalized.
3087: test -n "$target_alias" &&
3088: test "$program_prefix$program_suffix$program_transform_name" = \
3089: NONENONEs,x,x, &&
3090: program_prefix=${target_alias}-
3091:
3092: if test -n "$ac_tool_prefix"; then
3093: # Extract the first word of "${ac_tool_prefix}mkdep", so it can be a program name with args.
3094: set dummy ${ac_tool_prefix}mkdep; ac_word=$2
1.9.2.2 ! misho 3095: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1 misho 3096: $as_echo_n "checking for $ac_word... " >&6; }
1.9.2.2 ! misho 3097: if test "${ac_cv_prog_MKDEP+set}" = set; then
1.1 misho 3098: $as_echo_n "(cached) " >&6
3099: else
3100: if test -n "$MKDEP"; then
3101: ac_cv_prog_MKDEP="$MKDEP" # Let the user override the test.
3102: else
3103: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104: for as_dir in $PATH
3105: do
3106: IFS=$as_save_IFS
3107: test -z "$as_dir" && as_dir=.
1.9.2.2 ! misho 3108: for ac_exec_ext in '' $ac_executable_extensions; do
! 3109: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1 misho 3110: ac_cv_prog_MKDEP="${ac_tool_prefix}mkdep"
1.9.2.2 ! misho 3111: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 misho 3112: break 2
3113: fi
3114: done
1.9.2.2 ! misho 3115: done
1.1 misho 3116: IFS=$as_save_IFS
3117:
3118: fi
3119: fi
3120: MKDEP=$ac_cv_prog_MKDEP
3121: if test -n "$MKDEP"; then
1.9.2.2 ! misho 3122: { $as_echo "$as_me:$LINENO: result: $MKDEP" >&5
1.1 misho 3123: $as_echo "$MKDEP" >&6; }
3124: else
1.9.2.2 ! misho 3125: { $as_echo "$as_me:$LINENO: result: no" >&5
1.1 misho 3126: $as_echo "no" >&6; }
3127: fi
3128:
3129:
3130: fi
3131: if test -z "$ac_cv_prog_MKDEP"; then
3132: ac_ct_MKDEP=$MKDEP
3133: # Extract the first word of "mkdep", so it can be a program name with args.
3134: set dummy mkdep; ac_word=$2
1.9.2.2 ! misho 3135: { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1.1 misho 3136: $as_echo_n "checking for $ac_word... " >&6; }
1.9.2.2 ! misho 3137: if test "${ac_cv_prog_ac_ct_MKDEP+set}" = set; then
1.1 misho 3138: $as_echo_n "(cached) " >&6
3139: else
3140: if test -n "$ac_ct_MKDEP"; then
3141: ac_cv_prog_ac_ct_MKDEP="$ac_ct_MKDEP" # Let the user override the test.
3142: else
3143: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3144: for as_dir in $PATH
3145: do
3146: IFS=$as_save_IFS
3147: test -z "$as_dir" && as_dir=.
1.9.2.2 ! misho 3148: for ac_exec_ext in '' $ac_executable_extensions; do
! 3149: if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1 misho 3150: ac_cv_prog_ac_ct_MKDEP="mkdep"
1.9.2.2 ! misho 3151: $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1 misho 3152: break 2
3153: fi
3154: done
1.9.2.2 ! misho 3155: done
1.1 misho 3156: IFS=$as_save_IFS
3157:
3158: fi
3159: fi
3160: ac_ct_MKDEP=$ac_cv_prog_ac_ct_MKDEP
3161: if test -n "$ac_ct_MKDEP"; then
1.9.2.2 ! misho 3162: { $as_echo "$as_me:$LINENO: result: $ac_ct_MKDEP" >&5
1.1 misho 3163: $as_echo "$ac_ct_MKDEP" >&6; }
3164: else
1.9.2.2 ! misho 3165: { $as_echo "$as_me:$LINENO: result: no" >&5
1.1 misho 3166: $as_echo "no" >&6; }
3167: fi
3168:
3169: if test "x$ac_ct_MKDEP" = x; then
1.9.2.2 ! misho 3170: MKDEP="../mkdep"
1.1 misho 3171: else
3172: case $cross_compiling:$ac_tool_warned in
3173: yes:)
1.9.2.2 ! misho 3174: { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
1.1 misho 3175: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&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:
1.8 misho 3186: CFLAGS="-Wall -O2 -fPIC ${CFLAGS}"
3187: LDFLAGS="${LDFLAGS}"
1.1 misho 3188:
3189:
1.4 misho 3190:
1.9.2.2 ! misho 3191:
! 3192: { $as_echo "$as_me:$LINENO: checking for mpool_malloc in -lelwix" >&5
1.7 misho 3193: $as_echo_n "checking for mpool_malloc in -lelwix... " >&6; }
1.9.2.2 ! misho 3194: if test "${ac_cv_lib_elwix_mpool_malloc+set}" = set; then
1.4 misho 3195: $as_echo_n "(cached) " >&6
3196: else
3197: ac_check_lib_save_LIBS=$LIBS
1.7 misho 3198: LIBS="-lelwix $LIBS"
1.9.2.2 ! misho 3199: cat >conftest.$ac_ext <<_ACEOF
! 3200: /* confdefs.h. */
! 3201: _ACEOF
! 3202: cat confdefs.h >>conftest.$ac_ext
! 3203: cat >>conftest.$ac_ext <<_ACEOF
1.4 misho 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 mpool_malloc ();
3213: int
3214: main ()
3215: {
3216: return mpool_malloc ();
3217: ;
3218: return 0;
3219: }
3220: _ACEOF
1.9.2.2 ! misho 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
1.7 misho 3242: ac_cv_lib_elwix_mpool_malloc=yes
1.4 misho 3243: else
1.9.2.2 ! misho 3244: $as_echo "$as_me: failed program was:" >&5
! 3245: sed 's/^/| /' conftest.$ac_ext >&5
! 3246:
! 3247: ac_cv_lib_elwix_mpool_malloc=no
1.4 misho 3248: fi
1.9.2.2 ! misho 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
1.4 misho 3253: LIBS=$ac_check_lib_save_LIBS
3254: fi
1.9.2.2 ! misho 3255: { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elwix_mpool_malloc" >&5
1.7 misho 3256: $as_echo "$ac_cv_lib_elwix_mpool_malloc" >&6; }
1.9.2.2 ! misho 3257: if test "x$ac_cv_lib_elwix_mpool_malloc" = x""yes; then
1.4 misho 3258: cat >>confdefs.h <<_ACEOF
1.7 misho 3259: #define HAVE_LIBELWIX 1
1.4 misho 3260: _ACEOF
3261:
1.7 misho 3262: LIBS="-lelwix $LIBS"
1.4 misho 3263:
3264: fi
3265:
3266:
1.1 misho 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
1.9.2.2 ! misho 3273: { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1.1 misho 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
1.9.2.2 ! misho 3280: if test "${ac_cv_prog_CPP+set}" = set; then
1.1 misho 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.
1.9.2.2 ! misho 3295: cat >conftest.$ac_ext <<_ACEOF
! 3296: /* confdefs.h. */
! 3297: _ACEOF
! 3298: cat confdefs.h >>conftest.$ac_ext
! 3299: cat >>conftest.$ac_ext <<_ACEOF
1.1 misho 3300: /* end confdefs.h. */
3301: #ifdef __STDC__
3302: # include <limits.h>
3303: #else
3304: # include <assert.h>
3305: #endif
3306: Syntax error
3307: _ACEOF
1.9.2.2 ! misho 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: :
1.1 misho 3326: else
1.9.2.2 ! misho 3327: $as_echo "$as_me: failed program was:" >&5
! 3328: sed 's/^/| /' conftest.$ac_ext >&5
! 3329:
1.1 misho 3330: # Broken: fails on valid input.
3331: continue
3332: fi
1.9.2.2 ! misho 3333:
! 3334: rm -f conftest.err conftest.$ac_ext
1.1 misho 3335:
3336: # OK, works on sane cases. Now check whether nonexistent headers
3337: # can be detected and how.
1.9.2.2 ! misho 3338: cat >conftest.$ac_ext <<_ACEOF
! 3339: /* confdefs.h. */
! 3340: _ACEOF
! 3341: cat confdefs.h >>conftest.$ac_ext
! 3342: cat >>conftest.$ac_ext <<_ACEOF
1.1 misho 3343: /* end confdefs.h. */
3344: #include <ac_nonexistent.h>
3345: _ACEOF
1.9.2.2 ! misho 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
1.1 misho 3363: # Broken: success on invalid input.
3364: continue
3365: else
1.9.2.2 ! misho 3366: $as_echo "$as_me: failed program was:" >&5
! 3367: sed 's/^/| /' conftest.$ac_ext >&5
! 3368:
1.1 misho 3369: # Passes both tests.
3370: ac_preproc_ok=:
3371: break
3372: fi
1.9.2.2 ! misho 3373:
! 3374: rm -f conftest.err conftest.$ac_ext
1.1 misho 3375:
3376: done
3377: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.9.2.2 ! misho 3378: rm -f conftest.err conftest.$ac_ext
! 3379: if $ac_preproc_ok; then
1.1 misho 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
1.9.2.2 ! misho 3391: { $as_echo "$as_me:$LINENO: result: $CPP" >&5
1.1 misho 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.
1.9.2.2 ! misho 3402: cat >conftest.$ac_ext <<_ACEOF
! 3403: /* confdefs.h. */
! 3404: _ACEOF
! 3405: cat confdefs.h >>conftest.$ac_ext
! 3406: cat >>conftest.$ac_ext <<_ACEOF
1.1 misho 3407: /* end confdefs.h. */
3408: #ifdef __STDC__
3409: # include <limits.h>
3410: #else
3411: # include <assert.h>
3412: #endif
3413: Syntax error
3414: _ACEOF
1.9.2.2 ! misho 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: :
1.1 misho 3433: else
1.9.2.2 ! misho 3434: $as_echo "$as_me: failed program was:" >&5
! 3435: sed 's/^/| /' conftest.$ac_ext >&5
! 3436:
1.1 misho 3437: # Broken: fails on valid input.
3438: continue
3439: fi
1.9.2.2 ! misho 3440:
! 3441: rm -f conftest.err conftest.$ac_ext
1.1 misho 3442:
3443: # OK, works on sane cases. Now check whether nonexistent headers
3444: # can be detected and how.
1.9.2.2 ! misho 3445: cat >conftest.$ac_ext <<_ACEOF
! 3446: /* confdefs.h. */
! 3447: _ACEOF
! 3448: cat confdefs.h >>conftest.$ac_ext
! 3449: cat >>conftest.$ac_ext <<_ACEOF
1.1 misho 3450: /* end confdefs.h. */
3451: #include <ac_nonexistent.h>
3452: _ACEOF
1.9.2.2 ! misho 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
1.1 misho 3470: # Broken: success on invalid input.
3471: continue
3472: else
1.9.2.2 ! misho 3473: $as_echo "$as_me: failed program was:" >&5
! 3474: sed 's/^/| /' conftest.$ac_ext >&5
! 3475:
1.1 misho 3476: # Passes both tests.
3477: ac_preproc_ok=:
3478: break
3479: fi
1.9.2.2 ! misho 3480:
! 3481: rm -f conftest.err conftest.$ac_ext
1.1 misho 3482:
3483: done
3484: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.9.2.2 ! misho 3485: rm -f conftest.err conftest.$ac_ext
! 3486: if $ac_preproc_ok; then
! 3487: :
1.1 misho 3488: else
1.9.2.2 ! misho 3489: { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1.1 misho 3490: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.9.2.2 ! misho 3491: { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
! 3492: See \`config.log' for more details." >&5
! 3493: $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
! 3494: See \`config.log' for more details." >&2;}
! 3495: { (exit 1); exit 1; }; }; }
1.1 misho 3496: fi
3497:
3498: ac_ext=c
3499: ac_cpp='$CPP $CPPFLAGS'
3500: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3501: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3502: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3503:
3504:
1.9.2.2 ! misho 3505: { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
1.1 misho 3506: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
1.9.2.2 ! misho 3507: if test "${ac_cv_path_GREP+set}" = set; then
1.1 misho 3508: $as_echo_n "(cached) " >&6
3509: else
3510: if test -z "$GREP"; then
3511: ac_path_GREP_found=false
3512: # Loop through the user's path and test for each of PROGNAME-LIST
3513: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3514: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3515: do
3516: IFS=$as_save_IFS
3517: test -z "$as_dir" && as_dir=.
1.9.2.2 ! misho 3518: for ac_prog in grep ggrep; do
1.1 misho 3519: for ac_exec_ext in '' $ac_executable_extensions; do
3520: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.9.2.2 ! misho 3521: { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
1.1 misho 3522: # Check for GNU ac_path_GREP and select it if it is found.
3523: # Check for GNU $ac_path_GREP
3524: case `"$ac_path_GREP" --version 2>&1` in
3525: *GNU*)
3526: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3527: *)
3528: ac_count=0
3529: $as_echo_n 0123456789 >"conftest.in"
3530: while :
3531: do
3532: cat "conftest.in" "conftest.in" >"conftest.tmp"
3533: mv "conftest.tmp" "conftest.in"
3534: cp "conftest.in" "conftest.nl"
3535: $as_echo 'GREP' >> "conftest.nl"
3536: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3537: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.9.2.2 ! misho 3538: ac_count=`expr $ac_count + 1`
1.1 misho 3539: if test $ac_count -gt ${ac_path_GREP_max-0}; then
3540: # Best one so far, save it but keep looking for a better one
3541: ac_cv_path_GREP="$ac_path_GREP"
3542: ac_path_GREP_max=$ac_count
3543: fi
3544: # 10*(2^10) chars as input seems more than enough
3545: test $ac_count -gt 10 && break
3546: done
3547: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3548: esac
3549:
3550: $ac_path_GREP_found && break 3
3551: done
3552: done
1.9.2.2 ! misho 3553: done
1.1 misho 3554: IFS=$as_save_IFS
3555: if test -z "$ac_cv_path_GREP"; then
1.9.2.2 ! misho 3556: { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
! 3557: $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
! 3558: { (exit 1); exit 1; }; }
1.1 misho 3559: fi
3560: else
3561: ac_cv_path_GREP=$GREP
3562: fi
3563:
3564: fi
1.9.2.2 ! misho 3565: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
1.1 misho 3566: $as_echo "$ac_cv_path_GREP" >&6; }
3567: GREP="$ac_cv_path_GREP"
3568:
3569:
1.9.2.2 ! misho 3570: { $as_echo "$as_me:$LINENO: checking for egrep" >&5
1.1 misho 3571: $as_echo_n "checking for egrep... " >&6; }
1.9.2.2 ! misho 3572: if test "${ac_cv_path_EGREP+set}" = set; then
1.1 misho 3573: $as_echo_n "(cached) " >&6
3574: else
3575: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3576: then ac_cv_path_EGREP="$GREP -E"
3577: else
3578: if test -z "$EGREP"; then
3579: ac_path_EGREP_found=false
3580: # Loop through the user's path and test for each of PROGNAME-LIST
3581: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3582: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3583: do
3584: IFS=$as_save_IFS
3585: test -z "$as_dir" && as_dir=.
1.9.2.2 ! misho 3586: for ac_prog in egrep; do
1.1 misho 3587: for ac_exec_ext in '' $ac_executable_extensions; do
3588: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.9.2.2 ! misho 3589: { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
1.1 misho 3590: # Check for GNU ac_path_EGREP and select it if it is found.
3591: # Check for GNU $ac_path_EGREP
3592: case `"$ac_path_EGREP" --version 2>&1` in
3593: *GNU*)
3594: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3595: *)
3596: ac_count=0
3597: $as_echo_n 0123456789 >"conftest.in"
3598: while :
3599: do
3600: cat "conftest.in" "conftest.in" >"conftest.tmp"
3601: mv "conftest.tmp" "conftest.in"
3602: cp "conftest.in" "conftest.nl"
3603: $as_echo 'EGREP' >> "conftest.nl"
3604: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3605: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.9.2.2 ! misho 3606: ac_count=`expr $ac_count + 1`
1.1 misho 3607: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3608: # Best one so far, save it but keep looking for a better one
3609: ac_cv_path_EGREP="$ac_path_EGREP"
3610: ac_path_EGREP_max=$ac_count
3611: fi
3612: # 10*(2^10) chars as input seems more than enough
3613: test $ac_count -gt 10 && break
3614: done
3615: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3616: esac
3617:
3618: $ac_path_EGREP_found && break 3
3619: done
3620: done
1.9.2.2 ! misho 3621: done
1.1 misho 3622: IFS=$as_save_IFS
3623: if test -z "$ac_cv_path_EGREP"; then
1.9.2.2 ! misho 3624: { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
! 3625: $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
! 3626: { (exit 1); exit 1; }; }
1.1 misho 3627: fi
3628: else
3629: ac_cv_path_EGREP=$EGREP
3630: fi
3631:
3632: fi
3633: fi
1.9.2.2 ! misho 3634: { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
1.1 misho 3635: $as_echo "$ac_cv_path_EGREP" >&6; }
3636: EGREP="$ac_cv_path_EGREP"
3637:
3638:
1.9.2.2 ! misho 3639: { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
1.1 misho 3640: $as_echo_n "checking for ANSI C header files... " >&6; }
1.9.2.2 ! misho 3641: if test "${ac_cv_header_stdc+set}" = set; then
1.1 misho 3642: $as_echo_n "(cached) " >&6
3643: else
1.9.2.2 ! misho 3644: cat >conftest.$ac_ext <<_ACEOF
! 3645: /* confdefs.h. */
! 3646: _ACEOF
! 3647: cat confdefs.h >>conftest.$ac_ext
! 3648: cat >>conftest.$ac_ext <<_ACEOF
1.1 misho 3649: /* end confdefs.h. */
3650: #include <stdlib.h>
3651: #include <stdarg.h>
3652: #include <string.h>
3653: #include <float.h>
3654:
3655: int
3656: main ()
3657: {
3658:
3659: ;
3660: return 0;
3661: }
3662: _ACEOF
1.9.2.2 ! misho 3663: rm -f conftest.$ac_objext
! 3664: if { (ac_try="$ac_compile"
! 3665: case "(($ac_try" in
! 3666: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3667: *) ac_try_echo=$ac_try;;
! 3668: esac
! 3669: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3670: $as_echo "$ac_try_echo") >&5
! 3671: (eval "$ac_compile") 2>conftest.er1
! 3672: ac_status=$?
! 3673: grep -v '^ *+' conftest.er1 >conftest.err
! 3674: rm -f conftest.er1
! 3675: cat conftest.err >&5
! 3676: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3677: (exit $ac_status); } && {
! 3678: test -z "$ac_c_werror_flag" ||
! 3679: test ! -s conftest.err
! 3680: } && test -s conftest.$ac_objext; then
1.1 misho 3681: ac_cv_header_stdc=yes
3682: else
1.9.2.2 ! misho 3683: $as_echo "$as_me: failed program was:" >&5
! 3684: sed 's/^/| /' conftest.$ac_ext >&5
! 3685:
! 3686: ac_cv_header_stdc=no
1.1 misho 3687: fi
1.9.2.2 ! misho 3688:
1.1 misho 3689: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3690:
3691: if test $ac_cv_header_stdc = yes; then
3692: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.9.2.2 ! misho 3693: cat >conftest.$ac_ext <<_ACEOF
! 3694: /* confdefs.h. */
! 3695: _ACEOF
! 3696: cat confdefs.h >>conftest.$ac_ext
! 3697: cat >>conftest.$ac_ext <<_ACEOF
1.1 misho 3698: /* end confdefs.h. */
3699: #include <string.h>
3700:
3701: _ACEOF
3702: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.9.2.2 ! misho 3703: $EGREP "memchr" >/dev/null 2>&1; then
! 3704: :
1.1 misho 3705: else
3706: ac_cv_header_stdc=no
3707: fi
3708: rm -f conftest*
3709:
3710: fi
3711:
3712: if test $ac_cv_header_stdc = yes; then
3713: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.9.2.2 ! misho 3714: cat >conftest.$ac_ext <<_ACEOF
! 3715: /* confdefs.h. */
! 3716: _ACEOF
! 3717: cat confdefs.h >>conftest.$ac_ext
! 3718: cat >>conftest.$ac_ext <<_ACEOF
1.1 misho 3719: /* end confdefs.h. */
3720: #include <stdlib.h>
3721:
3722: _ACEOF
3723: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.9.2.2 ! misho 3724: $EGREP "free" >/dev/null 2>&1; then
! 3725: :
1.1 misho 3726: else
3727: ac_cv_header_stdc=no
3728: fi
3729: rm -f conftest*
3730:
3731: fi
3732:
3733: if test $ac_cv_header_stdc = yes; then
3734: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.9.2.2 ! misho 3735: if test "$cross_compiling" = yes; then
1.1 misho 3736: :
3737: else
1.9.2.2 ! misho 3738: cat >conftest.$ac_ext <<_ACEOF
! 3739: /* confdefs.h. */
! 3740: _ACEOF
! 3741: cat confdefs.h >>conftest.$ac_ext
! 3742: cat >>conftest.$ac_ext <<_ACEOF
1.1 misho 3743: /* end confdefs.h. */
3744: #include <ctype.h>
3745: #include <stdlib.h>
3746: #if ((' ' & 0x0FF) == 0x020)
3747: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3748: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3749: #else
3750: # define ISLOWER(c) \
3751: (('a' <= (c) && (c) <= 'i') \
3752: || ('j' <= (c) && (c) <= 'r') \
3753: || ('s' <= (c) && (c) <= 'z'))
3754: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3755: #endif
3756:
3757: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3758: int
3759: main ()
3760: {
3761: int i;
3762: for (i = 0; i < 256; i++)
3763: if (XOR (islower (i), ISLOWER (i))
3764: || toupper (i) != TOUPPER (i))
3765: return 2;
3766: return 0;
3767: }
3768: _ACEOF
1.9.2.2 ! misho 3769: rm -f conftest$ac_exeext
! 3770: if { (ac_try="$ac_link"
! 3771: case "(($ac_try" in
! 3772: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3773: *) ac_try_echo=$ac_try;;
! 3774: esac
! 3775: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3776: $as_echo "$ac_try_echo") >&5
! 3777: (eval "$ac_link") 2>&5
! 3778: ac_status=$?
! 3779: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3780: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 3781: { (case "(($ac_try" in
! 3782: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3783: *) ac_try_echo=$ac_try;;
! 3784: esac
! 3785: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3786: $as_echo "$ac_try_echo") >&5
! 3787: (eval "$ac_try") 2>&5
! 3788: ac_status=$?
! 3789: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3790: (exit $ac_status); }; }; then
! 3791: :
1.1 misho 3792: else
1.9.2.2 ! misho 3793: $as_echo "$as_me: program exited with status $ac_status" >&5
! 3794: $as_echo "$as_me: failed program was:" >&5
! 3795: sed 's/^/| /' conftest.$ac_ext >&5
! 3796:
! 3797: ( exit $ac_status )
! 3798: ac_cv_header_stdc=no
1.1 misho 3799: fi
1.9.2.2 ! misho 3800: rm -rf conftest.dSYM
! 3801: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1 misho 3802: fi
3803:
1.9.2.2 ! misho 3804:
1.1 misho 3805: fi
3806: fi
1.9.2.2 ! misho 3807: { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
1.1 misho 3808: $as_echo "$ac_cv_header_stdc" >&6; }
3809: if test $ac_cv_header_stdc = yes; then
3810:
1.9.2.2 ! misho 3811: cat >>confdefs.h <<\_ACEOF
! 3812: #define STDC_HEADERS 1
! 3813: _ACEOF
1.1 misho 3814:
3815: fi
3816:
3817: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.9.2.2 ! misho 3818:
! 3819:
! 3820:
! 3821:
! 3822:
! 3823:
! 3824:
! 3825:
! 3826:
1.1 misho 3827: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3828: inttypes.h stdint.h unistd.h
1.9.2.2 ! misho 3829: do
! 3830: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 3831: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 3832: $as_echo_n "checking for $ac_header... " >&6; }
! 3833: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 3834: $as_echo_n "(cached) " >&6
! 3835: else
! 3836: cat >conftest.$ac_ext <<_ACEOF
! 3837: /* confdefs.h. */
! 3838: _ACEOF
! 3839: cat confdefs.h >>conftest.$ac_ext
! 3840: cat >>conftest.$ac_ext <<_ACEOF
! 3841: /* end confdefs.h. */
! 3842: $ac_includes_default
! 3843:
! 3844: #include <$ac_header>
! 3845: _ACEOF
! 3846: rm -f conftest.$ac_objext
! 3847: if { (ac_try="$ac_compile"
! 3848: case "(($ac_try" in
! 3849: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3850: *) ac_try_echo=$ac_try;;
! 3851: esac
! 3852: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3853: $as_echo "$ac_try_echo") >&5
! 3854: (eval "$ac_compile") 2>conftest.er1
! 3855: ac_status=$?
! 3856: grep -v '^ *+' conftest.er1 >conftest.err
! 3857: rm -f conftest.er1
! 3858: cat conftest.err >&5
! 3859: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3860: (exit $ac_status); } && {
! 3861: test -z "$ac_c_werror_flag" ||
! 3862: test ! -s conftest.err
! 3863: } && test -s conftest.$ac_objext; then
! 3864: eval "$as_ac_Header=yes"
! 3865: else
! 3866: $as_echo "$as_me: failed program was:" >&5
! 3867: sed 's/^/| /' conftest.$ac_ext >&5
! 3868:
! 3869: eval "$as_ac_Header=no"
! 3870: fi
! 3871:
! 3872: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3873: fi
! 3874: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 3875: $as_echo "$as_val"'`
! 3876: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 3877: $as_echo "$ac_res" >&6; }
! 3878: as_val=`eval 'as_val=${'$as_ac_Header'}
! 3879: $as_echo "$as_val"'`
! 3880: if test "x$as_val" = x""yes; then
1.1 misho 3881: cat >>confdefs.h <<_ACEOF
3882: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3883: _ACEOF
3884:
3885: fi
3886:
3887: done
3888:
3889:
1.9.2.2 ! misho 3890:
! 3891:
! 3892:
! 3893:
! 3894:
! 3895:
1.4 misho 3896: for ac_header in fcntl.h stdlib.h string.h sys/socket.h unistd.h aitio.h
1.9.2.2 ! misho 3897: do
! 3898: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 3899: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 3900: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 3901: $as_echo_n "checking for $ac_header... " >&6; }
! 3902: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 3903: $as_echo_n "(cached) " >&6
! 3904: fi
! 3905: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 3906: $as_echo "$as_val"'`
! 3907: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 3908: $as_echo "$ac_res" >&6; }
! 3909: else
! 3910: # Is the header compilable?
! 3911: { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 3912: $as_echo_n "checking $ac_header usability... " >&6; }
! 3913: cat >conftest.$ac_ext <<_ACEOF
! 3914: /* confdefs.h. */
! 3915: _ACEOF
! 3916: cat confdefs.h >>conftest.$ac_ext
! 3917: cat >>conftest.$ac_ext <<_ACEOF
! 3918: /* end confdefs.h. */
! 3919: $ac_includes_default
! 3920: #include <$ac_header>
! 3921: _ACEOF
! 3922: rm -f conftest.$ac_objext
! 3923: if { (ac_try="$ac_compile"
! 3924: case "(($ac_try" in
! 3925: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3926: *) ac_try_echo=$ac_try;;
! 3927: esac
! 3928: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3929: $as_echo "$ac_try_echo") >&5
! 3930: (eval "$ac_compile") 2>conftest.er1
! 3931: ac_status=$?
! 3932: grep -v '^ *+' conftest.er1 >conftest.err
! 3933: rm -f conftest.er1
! 3934: cat conftest.err >&5
! 3935: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3936: (exit $ac_status); } && {
! 3937: test -z "$ac_c_werror_flag" ||
! 3938: test ! -s conftest.err
! 3939: } && test -s conftest.$ac_objext; then
! 3940: ac_header_compiler=yes
! 3941: else
! 3942: $as_echo "$as_me: failed program was:" >&5
! 3943: sed 's/^/| /' conftest.$ac_ext >&5
! 3944:
! 3945: ac_header_compiler=no
! 3946: fi
! 3947:
! 3948: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 3949: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 3950: $as_echo "$ac_header_compiler" >&6; }
! 3951:
! 3952: # Is the header present?
! 3953: { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 3954: $as_echo_n "checking $ac_header presence... " >&6; }
! 3955: cat >conftest.$ac_ext <<_ACEOF
! 3956: /* confdefs.h. */
! 3957: _ACEOF
! 3958: cat confdefs.h >>conftest.$ac_ext
! 3959: cat >>conftest.$ac_ext <<_ACEOF
! 3960: /* end confdefs.h. */
! 3961: #include <$ac_header>
! 3962: _ACEOF
! 3963: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 3964: case "(($ac_try" in
! 3965: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 3966: *) ac_try_echo=$ac_try;;
! 3967: esac
! 3968: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 3969: $as_echo "$ac_try_echo") >&5
! 3970: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 3971: ac_status=$?
! 3972: grep -v '^ *+' conftest.er1 >conftest.err
! 3973: rm -f conftest.er1
! 3974: cat conftest.err >&5
! 3975: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3976: (exit $ac_status); } >/dev/null && {
! 3977: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 3978: test ! -s conftest.err
! 3979: }; then
! 3980: ac_header_preproc=yes
! 3981: else
! 3982: $as_echo "$as_me: failed program was:" >&5
! 3983: sed 's/^/| /' conftest.$ac_ext >&5
! 3984:
! 3985: ac_header_preproc=no
! 3986: fi
! 3987:
! 3988: rm -f conftest.err conftest.$ac_ext
! 3989: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 3990: $as_echo "$ac_header_preproc" >&6; }
! 3991:
! 3992: # So? What about this header?
! 3993: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 3994: yes:no: )
! 3995: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 3996: $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 3997: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 3998: $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 3999: ac_header_preproc=yes
! 4000: ;;
! 4001: no:yes:* )
! 4002: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 4003: $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 4004: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 4005: $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 4006: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 4007: $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 4008: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 4009: $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 4010: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 4011: $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 4012: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 4013: $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 4014: ( cat <<\_ASBOX
! 4015: ## ------------------------------ ##
! 4016: ## Report this to misho@elwix.org ##
! 4017: ## ------------------------------ ##
! 4018: _ASBOX
! 4019: ) | sed "s/^/$as_me: WARNING: /" >&2
! 4020: ;;
! 4021: esac
! 4022: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4023: $as_echo_n "checking for $ac_header... " >&6; }
! 4024: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 4025: $as_echo_n "(cached) " >&6
! 4026: else
! 4027: eval "$as_ac_Header=\$ac_header_preproc"
! 4028: fi
! 4029: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 4030: $as_echo "$as_val"'`
! 4031: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 4032: $as_echo "$ac_res" >&6; }
! 4033:
! 4034: fi
! 4035: as_val=`eval 'as_val=${'$as_ac_Header'}
! 4036: $as_echo "$as_val"'`
! 4037: if test "x$as_val" = x""yes; then
1.1 misho 4038: cat >>confdefs.h <<_ACEOF
4039: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4040: _ACEOF
4041:
4042: fi
4043:
4044: done
4045:
4046:
4047: # Checks for typedefs, structures, and compiler characteristics.
1.9.2.2 ! misho 4048: { $as_echo "$as_me:$LINENO: checking for inline" >&5
1.1 misho 4049: $as_echo_n "checking for inline... " >&6; }
1.9.2.2 ! misho 4050: if test "${ac_cv_c_inline+set}" = set; then
1.1 misho 4051: $as_echo_n "(cached) " >&6
4052: else
4053: ac_cv_c_inline=no
4054: for ac_kw in inline __inline__ __inline; do
1.9.2.2 ! misho 4055: cat >conftest.$ac_ext <<_ACEOF
! 4056: /* confdefs.h. */
! 4057: _ACEOF
! 4058: cat confdefs.h >>conftest.$ac_ext
! 4059: cat >>conftest.$ac_ext <<_ACEOF
1.1 misho 4060: /* end confdefs.h. */
4061: #ifndef __cplusplus
4062: typedef int foo_t;
4063: static $ac_kw foo_t static_foo () {return 0; }
4064: $ac_kw foo_t foo () {return 0; }
4065: #endif
4066:
4067: _ACEOF
1.9.2.2 ! misho 4068: rm -f conftest.$ac_objext
! 4069: if { (ac_try="$ac_compile"
! 4070: case "(($ac_try" in
! 4071: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4072: *) ac_try_echo=$ac_try;;
! 4073: esac
! 4074: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4075: $as_echo "$ac_try_echo") >&5
! 4076: (eval "$ac_compile") 2>conftest.er1
! 4077: ac_status=$?
! 4078: grep -v '^ *+' conftest.er1 >conftest.err
! 4079: rm -f conftest.er1
! 4080: cat conftest.err >&5
! 4081: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4082: (exit $ac_status); } && {
! 4083: test -z "$ac_c_werror_flag" ||
! 4084: test ! -s conftest.err
! 4085: } && test -s conftest.$ac_objext; then
1.1 misho 4086: ac_cv_c_inline=$ac_kw
1.9.2.2 ! misho 4087: else
! 4088: $as_echo "$as_me: failed program was:" >&5
! 4089: sed 's/^/| /' conftest.$ac_ext >&5
! 4090:
! 4091:
1.1 misho 4092: fi
1.9.2.2 ! misho 4093:
1.1 misho 4094: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4095: test "$ac_cv_c_inline" != no && break
4096: done
4097:
4098: fi
1.9.2.2 ! misho 4099: { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
1.1 misho 4100: $as_echo "$ac_cv_c_inline" >&6; }
4101:
1.9.2.2 ! misho 4102:
1.1 misho 4103: case $ac_cv_c_inline in
4104: inline | yes) ;;
4105: *)
4106: case $ac_cv_c_inline in
4107: no) ac_val=;;
4108: *) ac_val=$ac_cv_c_inline;;
4109: esac
4110: cat >>confdefs.h <<_ACEOF
4111: #ifndef __cplusplus
4112: #define inline $ac_val
4113: #endif
4114: _ACEOF
4115: ;;
4116: esac
4117:
1.9.2.2 ! misho 4118: { $as_echo "$as_me:$LINENO: checking for size_t" >&5
! 4119: $as_echo_n "checking for size_t... " >&6; }
! 4120: if test "${ac_cv_type_size_t+set}" = set; then
! 4121: $as_echo_n "(cached) " >&6
! 4122: else
! 4123: ac_cv_type_size_t=no
! 4124: cat >conftest.$ac_ext <<_ACEOF
! 4125: /* confdefs.h. */
! 4126: _ACEOF
! 4127: cat confdefs.h >>conftest.$ac_ext
! 4128: cat >>conftest.$ac_ext <<_ACEOF
! 4129: /* end confdefs.h. */
! 4130: $ac_includes_default
! 4131: int
! 4132: main ()
! 4133: {
! 4134: if (sizeof (size_t))
! 4135: return 0;
! 4136: ;
! 4137: return 0;
! 4138: }
! 4139: _ACEOF
! 4140: rm -f conftest.$ac_objext
! 4141: if { (ac_try="$ac_compile"
! 4142: case "(($ac_try" in
! 4143: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4144: *) ac_try_echo=$ac_try;;
! 4145: esac
! 4146: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4147: $as_echo "$ac_try_echo") >&5
! 4148: (eval "$ac_compile") 2>conftest.er1
! 4149: ac_status=$?
! 4150: grep -v '^ *+' conftest.er1 >conftest.err
! 4151: rm -f conftest.er1
! 4152: cat conftest.err >&5
! 4153: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4154: (exit $ac_status); } && {
! 4155: test -z "$ac_c_werror_flag" ||
! 4156: test ! -s conftest.err
! 4157: } && test -s conftest.$ac_objext; then
! 4158: cat >conftest.$ac_ext <<_ACEOF
! 4159: /* confdefs.h. */
! 4160: _ACEOF
! 4161: cat confdefs.h >>conftest.$ac_ext
! 4162: cat >>conftest.$ac_ext <<_ACEOF
! 4163: /* end confdefs.h. */
! 4164: $ac_includes_default
! 4165: int
! 4166: main ()
! 4167: {
! 4168: if (sizeof ((size_t)))
! 4169: return 0;
! 4170: ;
! 4171: return 0;
! 4172: }
! 4173: _ACEOF
! 4174: rm -f conftest.$ac_objext
! 4175: if { (ac_try="$ac_compile"
! 4176: case "(($ac_try" in
! 4177: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4178: *) ac_try_echo=$ac_try;;
! 4179: esac
! 4180: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4181: $as_echo "$ac_try_echo") >&5
! 4182: (eval "$ac_compile") 2>conftest.er1
! 4183: ac_status=$?
! 4184: grep -v '^ *+' conftest.er1 >conftest.err
! 4185: rm -f conftest.er1
! 4186: cat conftest.err >&5
! 4187: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4188: (exit $ac_status); } && {
! 4189: test -z "$ac_c_werror_flag" ||
! 4190: test ! -s conftest.err
! 4191: } && test -s conftest.$ac_objext; then
! 4192: :
! 4193: else
! 4194: $as_echo "$as_me: failed program was:" >&5
! 4195: sed 's/^/| /' conftest.$ac_ext >&5
! 4196:
! 4197: ac_cv_type_size_t=yes
! 4198: fi
! 4199:
! 4200: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4201: else
! 4202: $as_echo "$as_me: failed program was:" >&5
! 4203: sed 's/^/| /' conftest.$ac_ext >&5
! 4204:
! 4205:
! 4206: fi
1.1 misho 4207:
1.9.2.2 ! misho 4208: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4209: fi
! 4210: { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
! 4211: $as_echo "$ac_cv_type_size_t" >&6; }
! 4212: if test "x$ac_cv_type_size_t" = x""yes; then
! 4213: :
1.1 misho 4214: else
4215:
4216: cat >>confdefs.h <<_ACEOF
4217: #define size_t unsigned int
4218: _ACEOF
4219:
4220: fi
4221:
4222:
4223: # Checks for library functions.
1.9.2.2 ! misho 4224:
1.1 misho 4225: for ac_header in stdlib.h
1.9.2.2 ! misho 4226: do
! 4227: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 4228: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 4229: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4230: $as_echo_n "checking for $ac_header... " >&6; }
! 4231: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 4232: $as_echo_n "(cached) " >&6
! 4233: fi
! 4234: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 4235: $as_echo "$as_val"'`
! 4236: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 4237: $as_echo "$ac_res" >&6; }
! 4238: else
! 4239: # Is the header compilable?
! 4240: { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 4241: $as_echo_n "checking $ac_header usability... " >&6; }
! 4242: cat >conftest.$ac_ext <<_ACEOF
! 4243: /* confdefs.h. */
! 4244: _ACEOF
! 4245: cat confdefs.h >>conftest.$ac_ext
! 4246: cat >>conftest.$ac_ext <<_ACEOF
! 4247: /* end confdefs.h. */
! 4248: $ac_includes_default
! 4249: #include <$ac_header>
! 4250: _ACEOF
! 4251: rm -f conftest.$ac_objext
! 4252: if { (ac_try="$ac_compile"
! 4253: case "(($ac_try" in
! 4254: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4255: *) ac_try_echo=$ac_try;;
! 4256: esac
! 4257: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4258: $as_echo "$ac_try_echo") >&5
! 4259: (eval "$ac_compile") 2>conftest.er1
! 4260: ac_status=$?
! 4261: grep -v '^ *+' conftest.er1 >conftest.err
! 4262: rm -f conftest.er1
! 4263: cat conftest.err >&5
! 4264: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4265: (exit $ac_status); } && {
! 4266: test -z "$ac_c_werror_flag" ||
! 4267: test ! -s conftest.err
! 4268: } && test -s conftest.$ac_objext; then
! 4269: ac_header_compiler=yes
! 4270: else
! 4271: $as_echo "$as_me: failed program was:" >&5
! 4272: sed 's/^/| /' conftest.$ac_ext >&5
! 4273:
! 4274: ac_header_compiler=no
! 4275: fi
! 4276:
! 4277: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4278: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 4279: $as_echo "$ac_header_compiler" >&6; }
! 4280:
! 4281: # Is the header present?
! 4282: { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 4283: $as_echo_n "checking $ac_header presence... " >&6; }
! 4284: cat >conftest.$ac_ext <<_ACEOF
! 4285: /* confdefs.h. */
! 4286: _ACEOF
! 4287: cat confdefs.h >>conftest.$ac_ext
! 4288: cat >>conftest.$ac_ext <<_ACEOF
! 4289: /* end confdefs.h. */
! 4290: #include <$ac_header>
! 4291: _ACEOF
! 4292: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 4293: case "(($ac_try" in
! 4294: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4295: *) ac_try_echo=$ac_try;;
! 4296: esac
! 4297: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4298: $as_echo "$ac_try_echo") >&5
! 4299: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 4300: ac_status=$?
! 4301: grep -v '^ *+' conftest.er1 >conftest.err
! 4302: rm -f conftest.er1
! 4303: cat conftest.err >&5
! 4304: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4305: (exit $ac_status); } >/dev/null && {
! 4306: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 4307: test ! -s conftest.err
! 4308: }; then
! 4309: ac_header_preproc=yes
! 4310: else
! 4311: $as_echo "$as_me: failed program was:" >&5
! 4312: sed 's/^/| /' conftest.$ac_ext >&5
! 4313:
! 4314: ac_header_preproc=no
! 4315: fi
! 4316:
! 4317: rm -f conftest.err conftest.$ac_ext
! 4318: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 4319: $as_echo "$ac_header_preproc" >&6; }
! 4320:
! 4321: # So? What about this header?
! 4322: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 4323: yes:no: )
! 4324: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 4325: $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 4326: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 4327: $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 4328: ac_header_preproc=yes
! 4329: ;;
! 4330: no:yes:* )
! 4331: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 4332: $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 4333: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 4334: $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 4335: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 4336: $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 4337: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 4338: $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 4339: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 4340: $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 4341: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 4342: $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 4343: ( cat <<\_ASBOX
! 4344: ## ------------------------------ ##
! 4345: ## Report this to misho@elwix.org ##
! 4346: ## ------------------------------ ##
! 4347: _ASBOX
! 4348: ) | sed "s/^/$as_me: WARNING: /" >&2
! 4349: ;;
! 4350: esac
! 4351: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4352: $as_echo_n "checking for $ac_header... " >&6; }
! 4353: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 4354: $as_echo_n "(cached) " >&6
! 4355: else
! 4356: eval "$as_ac_Header=\$ac_header_preproc"
! 4357: fi
! 4358: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 4359: $as_echo "$as_val"'`
! 4360: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 4361: $as_echo "$ac_res" >&6; }
! 4362:
! 4363: fi
! 4364: as_val=`eval 'as_val=${'$as_ac_Header'}
! 4365: $as_echo "$as_val"'`
! 4366: if test "x$as_val" = x""yes; then
1.1 misho 4367: cat >>confdefs.h <<_ACEOF
1.9.2.2 ! misho 4368: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1 misho 4369: _ACEOF
4370:
4371: fi
4372:
4373: done
4374:
1.9.2.2 ! misho 4375: { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
1.1 misho 4376: $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
1.9.2.2 ! misho 4377: if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
1.1 misho 4378: $as_echo_n "(cached) " >&6
4379: else
1.9.2.2 ! misho 4380: if test "$cross_compiling" = yes; then
1.1 misho 4381: ac_cv_func_malloc_0_nonnull=no
4382: else
1.9.2.2 ! misho 4383: cat >conftest.$ac_ext <<_ACEOF
! 4384: /* confdefs.h. */
! 4385: _ACEOF
! 4386: cat confdefs.h >>conftest.$ac_ext
! 4387: cat >>conftest.$ac_ext <<_ACEOF
1.1 misho 4388: /* end confdefs.h. */
4389: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
4390: # include <stdlib.h>
4391: #else
4392: char *malloc ();
4393: #endif
4394:
4395: int
4396: main ()
4397: {
4398: return ! malloc (0);
4399: ;
4400: return 0;
4401: }
4402: _ACEOF
1.9.2.2 ! misho 4403: rm -f conftest$ac_exeext
! 4404: if { (ac_try="$ac_link"
! 4405: case "(($ac_try" in
! 4406: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4407: *) ac_try_echo=$ac_try;;
! 4408: esac
! 4409: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4410: $as_echo "$ac_try_echo") >&5
! 4411: (eval "$ac_link") 2>&5
! 4412: ac_status=$?
! 4413: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4414: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 4415: { (case "(($ac_try" in
! 4416: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4417: *) ac_try_echo=$ac_try;;
! 4418: esac
! 4419: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4420: $as_echo "$ac_try_echo") >&5
! 4421: (eval "$ac_try") 2>&5
! 4422: ac_status=$?
! 4423: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4424: (exit $ac_status); }; }; then
1.1 misho 4425: ac_cv_func_malloc_0_nonnull=yes
4426: else
1.9.2.2 ! misho 4427: $as_echo "$as_me: program exited with status $ac_status" >&5
! 4428: $as_echo "$as_me: failed program was:" >&5
! 4429: sed 's/^/| /' conftest.$ac_ext >&5
! 4430:
! 4431: ( exit $ac_status )
! 4432: ac_cv_func_malloc_0_nonnull=no
1.1 misho 4433: fi
1.9.2.2 ! misho 4434: rm -rf conftest.dSYM
! 4435: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1 misho 4436: fi
4437:
1.9.2.2 ! misho 4438:
1.1 misho 4439: fi
1.9.2.2 ! misho 4440: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
1.1 misho 4441: $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
1.9.2.2 ! misho 4442: if test $ac_cv_func_malloc_0_nonnull = yes; then
1.1 misho 4443:
1.9.2.2 ! misho 4444: cat >>confdefs.h <<\_ACEOF
! 4445: #define HAVE_MALLOC 1
! 4446: _ACEOF
1.1 misho 4447:
4448: else
1.9.2.2 ! misho 4449: cat >>confdefs.h <<\_ACEOF
! 4450: #define HAVE_MALLOC 0
! 4451: _ACEOF
1.1 misho 4452:
4453: case " $LIBOBJS " in
4454: *" malloc.$ac_objext "* ) ;;
4455: *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
4456: ;;
4457: esac
4458:
4459:
1.9.2.2 ! misho 4460: cat >>confdefs.h <<\_ACEOF
! 4461: #define malloc rpl_malloc
! 4462: _ACEOF
1.1 misho 4463:
4464: fi
4465:
4466:
1.9.2.2 ! misho 4467:
! 4468:
1.1 misho 4469: for ac_header in stdlib.h
1.9.2.2 ! misho 4470: do
! 4471: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 4472: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 4473: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4474: $as_echo_n "checking for $ac_header... " >&6; }
! 4475: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 4476: $as_echo_n "(cached) " >&6
! 4477: fi
! 4478: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 4479: $as_echo "$as_val"'`
! 4480: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 4481: $as_echo "$ac_res" >&6; }
! 4482: else
! 4483: # Is the header compilable?
! 4484: { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 4485: $as_echo_n "checking $ac_header usability... " >&6; }
! 4486: cat >conftest.$ac_ext <<_ACEOF
! 4487: /* confdefs.h. */
! 4488: _ACEOF
! 4489: cat confdefs.h >>conftest.$ac_ext
! 4490: cat >>conftest.$ac_ext <<_ACEOF
! 4491: /* end confdefs.h. */
! 4492: $ac_includes_default
! 4493: #include <$ac_header>
! 4494: _ACEOF
! 4495: rm -f conftest.$ac_objext
! 4496: if { (ac_try="$ac_compile"
! 4497: case "(($ac_try" in
! 4498: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4499: *) ac_try_echo=$ac_try;;
! 4500: esac
! 4501: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4502: $as_echo "$ac_try_echo") >&5
! 4503: (eval "$ac_compile") 2>conftest.er1
! 4504: ac_status=$?
! 4505: grep -v '^ *+' conftest.er1 >conftest.err
! 4506: rm -f conftest.er1
! 4507: cat conftest.err >&5
! 4508: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4509: (exit $ac_status); } && {
! 4510: test -z "$ac_c_werror_flag" ||
! 4511: test ! -s conftest.err
! 4512: } && test -s conftest.$ac_objext; then
! 4513: ac_header_compiler=yes
! 4514: else
! 4515: $as_echo "$as_me: failed program was:" >&5
! 4516: sed 's/^/| /' conftest.$ac_ext >&5
! 4517:
! 4518: ac_header_compiler=no
! 4519: fi
! 4520:
! 4521: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
! 4522: { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 4523: $as_echo "$ac_header_compiler" >&6; }
! 4524:
! 4525: # Is the header present?
! 4526: { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 4527: $as_echo_n "checking $ac_header presence... " >&6; }
! 4528: cat >conftest.$ac_ext <<_ACEOF
! 4529: /* confdefs.h. */
! 4530: _ACEOF
! 4531: cat confdefs.h >>conftest.$ac_ext
! 4532: cat >>conftest.$ac_ext <<_ACEOF
! 4533: /* end confdefs.h. */
! 4534: #include <$ac_header>
! 4535: _ACEOF
! 4536: if { (ac_try="$ac_cpp conftest.$ac_ext"
! 4537: case "(($ac_try" in
! 4538: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4539: *) ac_try_echo=$ac_try;;
! 4540: esac
! 4541: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4542: $as_echo "$ac_try_echo") >&5
! 4543: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
! 4544: ac_status=$?
! 4545: grep -v '^ *+' conftest.er1 >conftest.err
! 4546: rm -f conftest.er1
! 4547: cat conftest.err >&5
! 4548: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4549: (exit $ac_status); } >/dev/null && {
! 4550: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
! 4551: test ! -s conftest.err
! 4552: }; then
! 4553: ac_header_preproc=yes
! 4554: else
! 4555: $as_echo "$as_me: failed program was:" >&5
! 4556: sed 's/^/| /' conftest.$ac_ext >&5
! 4557:
! 4558: ac_header_preproc=no
! 4559: fi
! 4560:
! 4561: rm -f conftest.err conftest.$ac_ext
! 4562: { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 4563: $as_echo "$ac_header_preproc" >&6; }
! 4564:
! 4565: # So? What about this header?
! 4566: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
! 4567: yes:no: )
! 4568: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 4569: $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 4570: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
! 4571: $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
! 4572: ac_header_preproc=yes
! 4573: ;;
! 4574: no:yes:* )
! 4575: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 4576: $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 4577: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 4578: $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 4579: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
! 4580: $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
! 4581: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
! 4582: $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
! 4583: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 4584: $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 4585: { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
! 4586: $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
! 4587: ( cat <<\_ASBOX
! 4588: ## ------------------------------ ##
! 4589: ## Report this to misho@elwix.org ##
! 4590: ## ------------------------------ ##
! 4591: _ASBOX
! 4592: ) | sed "s/^/$as_me: WARNING: /" >&2
! 4593: ;;
! 4594: esac
! 4595: { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4596: $as_echo_n "checking for $ac_header... " >&6; }
! 4597: if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
! 4598: $as_echo_n "(cached) " >&6
! 4599: else
! 4600: eval "$as_ac_Header=\$ac_header_preproc"
! 4601: fi
! 4602: ac_res=`eval 'as_val=${'$as_ac_Header'}
! 4603: $as_echo "$as_val"'`
! 4604: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 4605: $as_echo "$ac_res" >&6; }
! 4606:
! 4607: fi
! 4608: as_val=`eval 'as_val=${'$as_ac_Header'}
! 4609: $as_echo "$as_val"'`
! 4610: if test "x$as_val" = x""yes; then
1.1 misho 4611: cat >>confdefs.h <<_ACEOF
1.9.2.2 ! misho 4612: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1 misho 4613: _ACEOF
4614:
4615: fi
4616:
4617: done
4618:
1.9.2.2 ! misho 4619: { $as_echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
1.1 misho 4620: $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
1.9.2.2 ! misho 4621: if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
1.1 misho 4622: $as_echo_n "(cached) " >&6
4623: else
1.9.2.2 ! misho 4624: if test "$cross_compiling" = yes; then
1.1 misho 4625: ac_cv_func_realloc_0_nonnull=no
4626: else
1.9.2.2 ! misho 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: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
! 4634: # include <stdlib.h>
! 4635: #else
! 4636: char *realloc ();
! 4637: #endif
! 4638:
! 4639: int
! 4640: main ()
! 4641: {
! 4642: return ! realloc (0, 0);
! 4643: ;
! 4644: return 0;
! 4645: }
! 4646: _ACEOF
! 4647: rm -f conftest$ac_exeext
! 4648: if { (ac_try="$ac_link"
! 4649: case "(($ac_try" in
! 4650: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4651: *) ac_try_echo=$ac_try;;
! 4652: esac
! 4653: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4654: $as_echo "$ac_try_echo") >&5
! 4655: (eval "$ac_link") 2>&5
! 4656: ac_status=$?
! 4657: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4658: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 4659: { (case "(($ac_try" in
! 4660: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4661: *) ac_try_echo=$ac_try;;
! 4662: esac
! 4663: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4664: $as_echo "$ac_try_echo") >&5
! 4665: (eval "$ac_try") 2>&5
! 4666: ac_status=$?
! 4667: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4668: (exit $ac_status); }; }; then
! 4669: ac_cv_func_realloc_0_nonnull=yes
! 4670: else
! 4671: $as_echo "$as_me: program exited with status $ac_status" >&5
! 4672: $as_echo "$as_me: failed program was:" >&5
! 4673: sed 's/^/| /' conftest.$ac_ext >&5
! 4674:
! 4675: ( exit $ac_status )
! 4676: ac_cv_func_realloc_0_nonnull=no
! 4677: fi
! 4678: rm -rf conftest.dSYM
! 4679: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
! 4680: fi
! 4681:
! 4682:
! 4683: fi
! 4684: { $as_echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
! 4685: $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
! 4686: if test $ac_cv_func_realloc_0_nonnull = yes; then
! 4687:
! 4688: cat >>confdefs.h <<\_ACEOF
! 4689: #define HAVE_REALLOC 1
! 4690: _ACEOF
! 4691:
! 4692: else
! 4693: cat >>confdefs.h <<\_ACEOF
! 4694: #define HAVE_REALLOC 0
! 4695: _ACEOF
! 4696:
! 4697: case " $LIBOBJS " in
! 4698: *" realloc.$ac_objext "* ) ;;
! 4699: *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
! 4700: ;;
! 4701: esac
! 4702:
! 4703:
! 4704: cat >>confdefs.h <<\_ACEOF
! 4705: #define realloc rpl_realloc
! 4706: _ACEOF
! 4707:
! 4708: fi
! 4709:
! 4710:
! 4711:
! 4712:
! 4713:
! 4714:
! 4715:
! 4716:
! 4717:
! 4718:
! 4719:
! 4720:
! 4721:
! 4722:
! 4723: for ac_func in memchr memset strcasecmp strchr strcspn strdup strerror strncasecmp strspn strstr strtol
! 4724: do
! 4725: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 4726: { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
! 4727: $as_echo_n "checking for $ac_func... " >&6; }
! 4728: if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
! 4729: $as_echo_n "(cached) " >&6
! 4730: else
! 4731: cat >conftest.$ac_ext <<_ACEOF
! 4732: /* confdefs.h. */
! 4733: _ACEOF
! 4734: cat confdefs.h >>conftest.$ac_ext
! 4735: cat >>conftest.$ac_ext <<_ACEOF
1.1 misho 4736: /* end confdefs.h. */
1.9.2.2 ! misho 4737: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
! 4738: For example, HP-UX 11i <limits.h> declares gettimeofday. */
! 4739: #define $ac_func innocuous_$ac_func
! 4740:
! 4741: /* System header to define __stub macros and hopefully few prototypes,
! 4742: which can conflict with char $ac_func (); below.
! 4743: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 4744: <limits.h> exists even on freestanding compilers. */
! 4745:
! 4746: #ifdef __STDC__
! 4747: # include <limits.h>
1.1 misho 4748: #else
1.9.2.2 ! misho 4749: # include <assert.h>
! 4750: #endif
! 4751:
! 4752: #undef $ac_func
! 4753:
! 4754: /* Override any GCC internal prototype to avoid an error.
! 4755: Use char because int might match the return type of a GCC
! 4756: builtin and then its argument prototype would still apply. */
! 4757: #ifdef __cplusplus
! 4758: extern "C"
! 4759: #endif
! 4760: char $ac_func ();
! 4761: /* The GNU C library defines this for functions which it implements
! 4762: to always fail with ENOSYS. Some functions are actually named
! 4763: something starting with __ and the normal name is an alias. */
! 4764: #if defined __stub_$ac_func || defined __stub___$ac_func
! 4765: choke me
1.1 misho 4766: #endif
4767:
4768: int
4769: main ()
4770: {
1.9.2.2 ! misho 4771: return $ac_func ();
1.1 misho 4772: ;
4773: return 0;
4774: }
4775: _ACEOF
1.9.2.2 ! misho 4776: rm -f conftest.$ac_objext conftest$ac_exeext
! 4777: if { (ac_try="$ac_link"
! 4778: case "(($ac_try" in
! 4779: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
! 4780: *) ac_try_echo=$ac_try;;
! 4781: esac
! 4782: eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
! 4783: $as_echo "$ac_try_echo") >&5
! 4784: (eval "$ac_link") 2>conftest.er1
! 4785: ac_status=$?
! 4786: grep -v '^ *+' conftest.er1 >conftest.err
! 4787: rm -f conftest.er1
! 4788: cat conftest.err >&5
! 4789: $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4790: (exit $ac_status); } && {
! 4791: test -z "$ac_c_werror_flag" ||
! 4792: test ! -s conftest.err
! 4793: } && test -s conftest$ac_exeext && {
! 4794: test "$cross_compiling" = yes ||
! 4795: $as_test_x conftest$ac_exeext
! 4796: }; then
! 4797: eval "$as_ac_var=yes"
1.1 misho 4798: else
1.9.2.2 ! misho 4799: $as_echo "$as_me: failed program was:" >&5
! 4800: sed 's/^/| /' conftest.$ac_ext >&5
1.1 misho 4801:
1.9.2.2 ! misho 4802: eval "$as_ac_var=no"
1.1 misho 4803: fi
4804:
1.9.2.2 ! misho 4805: rm -rf conftest.dSYM
! 4806: rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
! 4807: conftest$ac_exeext conftest.$ac_ext
1.1 misho 4808: fi
1.9.2.2 ! misho 4809: ac_res=`eval 'as_val=${'$as_ac_var'}
! 4810: $as_echo "$as_val"'`
! 4811: { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
! 4812: $as_echo "$ac_res" >&6; }
! 4813: as_val=`eval 'as_val=${'$as_ac_var'}
! 4814: $as_echo "$as_val"'`
! 4815: if test "x$as_val" = x""yes; then
1.1 misho 4816: cat >>confdefs.h <<_ACEOF
4817: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4818: _ACEOF
4819:
4820: fi
4821: done
4822:
4823:
4824: DEBUG=no
1.9.2.2 ! misho 4825: { $as_echo "$as_me:$LINENO: checking Debug Build" >&5
1.1 misho 4826: $as_echo_n "checking Debug Build... " >&6; }
4827: # Check whether --enable-debug was given.
1.9.2.2 ! misho 4828: if test "${enable_debug+set}" = set; then
1.1 misho 4829: enableval=$enable_debug; DEBUG=$enableval
4830: case "$enableval" in
4831: yes)
4832:
1.9.2.2 ! misho 4833: cat >>confdefs.h <<\_ACEOF
! 4834: #define __DEBUG /**/
! 4835: _ACEOF
1.1 misho 4836:
4837: CFLAGS="-g ${CFLAGS}"
4838: ;;
4839: *)
4840:
1.9.2.2 ! misho 4841: cat >>confdefs.h <<\_ACEOF
! 4842: #define NDEBUG /**/
! 4843: _ACEOF
1.1 misho 4844:
4845: ;;
4846: esac
4847: fi
4848:
1.9.2.2 ! misho 4849: { $as_echo "$as_me:$LINENO: result: $DEBUG" >&5
1.1 misho 4850: $as_echo "$DEBUG" >&6; }
4851:
4852:
4853: ac_config_files="$ac_config_files Makefile inc/Makefile lib/Makefile src/Makefile"
4854:
4855: cat >confcache <<\_ACEOF
4856: # This file is a shell script that caches the results of configure
4857: # tests run on this system so they can be shared between configure
4858: # scripts and configure runs, see configure's option --config-cache.
4859: # It is not useful on other systems. If it contains results you don't
4860: # want to keep, you may remove or edit it.
4861: #
4862: # config.status only pays attention to the cache file if you give it
4863: # the --recheck option to rerun configure.
4864: #
4865: # `ac_cv_env_foo' variables (set or unset) will be overridden when
4866: # loading this file, other *unset* `ac_cv_foo' will be assigned the
4867: # following values.
4868:
4869: _ACEOF
4870:
4871: # The following way of writing the cache mishandles newlines in values,
4872: # but we know of no workaround that is simple, portable, and efficient.
4873: # So, we kill variables containing newlines.
4874: # Ultrix sh set writes to stderr and can't be redirected directly,
4875: # and sets the high bit in the cache file unless we assign to the vars.
4876: (
4877: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4878: eval ac_val=\$$ac_var
4879: case $ac_val in #(
4880: *${as_nl}*)
4881: case $ac_var in #(
1.9.2.2 ! misho 4882: *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1.1 misho 4883: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4884: esac
4885: case $ac_var in #(
4886: _ | IFS | as_nl) ;; #(
4887: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1.9.2.2 ! misho 4888: *) $as_unset $ac_var ;;
1.1 misho 4889: esac ;;
4890: esac
4891: done
4892:
4893: (set) 2>&1 |
4894: case $as_nl`(ac_space=' '; set) 2>&1` in #(
4895: *${as_nl}ac_space=\ *)
1.9.2.2 ! misho 4896: # `set' does not quote correctly, so add quotes (double-quote
! 4897: # substitution turns \\\\ into \\, and sed turns \\ into \).
1.1 misho 4898: sed -n \
4899: "s/'/'\\\\''/g;
4900: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4901: ;; #(
4902: *)
4903: # `set' quotes correctly as required by POSIX, so do not add quotes.
4904: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4905: ;;
4906: esac |
4907: sort
4908: ) |
4909: sed '
4910: /^ac_cv_env_/b end
4911: t clear
4912: :clear
4913: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4914: t end
4915: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4916: :end' >>confcache
4917: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4918: if test -w "$cache_file"; then
1.9.2.2 ! misho 4919: test "x$cache_file" != "x/dev/null" &&
! 4920: { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
1.1 misho 4921: $as_echo "$as_me: updating cache $cache_file" >&6;}
1.9.2.2 ! misho 4922: cat confcache >$cache_file
1.1 misho 4923: else
1.9.2.2 ! misho 4924: { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1.1 misho 4925: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4926: fi
4927: fi
4928: rm -f confcache
4929:
4930: test "x$prefix" = xNONE && prefix=$ac_default_prefix
4931: # Let make expand exec_prefix.
4932: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4933:
4934: DEFS=-DHAVE_CONFIG_H
4935:
4936: ac_libobjs=
4937: ac_ltlibobjs=
4938: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4939: # 1. Remove the extension, and $U if already installed.
4940: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4941: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4942: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4943: # will be set to the directory where LIBOBJS objects are built.
1.9.2.2 ! misho 4944: ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
! 4945: ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1.1 misho 4946: done
4947: LIBOBJS=$ac_libobjs
4948:
4949: LTLIBOBJS=$ac_ltlibobjs
4950:
4951:
4952:
1.9.2.2 ! misho 4953: : ${CONFIG_STATUS=./config.status}
1.1 misho 4954: ac_write_fail=0
4955: ac_clean_files_save=$ac_clean_files
4956: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.9.2.2 ! misho 4957: { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1.1 misho 4958: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1.9.2.2 ! misho 4959: cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1 misho 4960: #! $SHELL
4961: # Generated by $as_me.
4962: # Run this file to recreate the current configuration.
4963: # Compiler output produced by configure, useful for debugging
4964: # configure, is in config.log if it exists.
4965:
4966: debug=false
4967: ac_cs_recheck=false
4968: ac_cs_silent=false
4969: SHELL=\${CONFIG_SHELL-$SHELL}
1.9.2.2 ! misho 4970: _ACEOF
! 4971:
! 4972: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
! 4973: ## --------------------- ##
! 4974: ## M4sh Initialization. ##
! 4975: ## --------------------- ##
1.1 misho 4976:
4977: # Be more Bourne compatible
4978: DUALCASE=1; export DUALCASE # for MKS sh
1.9.2.2 ! misho 4979: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1.1 misho 4980: emulate sh
4981: NULLCMD=:
4982: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4983: # is contrary to our usage. Disable this feature.
4984: alias -g '${1+"$@"}'='"$@"'
4985: setopt NO_GLOB_SUBST
4986: else
1.9.2.2 ! misho 4987: case `(set -o) 2>/dev/null` in
! 4988: *posix*) set -o posix ;;
1.1 misho 4989: esac
1.9.2.2 ! misho 4990:
1.1 misho 4991: fi
4992:
4993:
1.9.2.2 ! misho 4994:
! 4995:
! 4996: # PATH needs CR
! 4997: # Avoid depending upon Character Ranges.
! 4998: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 4999: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 5000: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 5001: as_cr_digits='0123456789'
! 5002: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 5003:
1.1 misho 5004: as_nl='
5005: '
5006: export as_nl
5007: # Printing a long string crashes Solaris 7 /usr/bin/printf.
5008: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5009: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5010: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1.9.2.2 ! misho 5011: if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1.1 misho 5012: as_echo='printf %s\n'
5013: as_echo_n='printf %s'
5014: else
5015: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5016: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5017: as_echo_n='/usr/ucb/echo -n'
5018: else
5019: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5020: as_echo_n_body='eval
5021: arg=$1;
1.9.2.2 ! misho 5022: case $arg in
1.1 misho 5023: *"$as_nl"*)
5024: expr "X$arg" : "X\\(.*\\)$as_nl";
5025: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5026: esac;
5027: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5028: '
5029: export as_echo_n_body
5030: as_echo_n='sh -c $as_echo_n_body as_echo'
5031: fi
5032: export as_echo_body
5033: as_echo='sh -c $as_echo_body as_echo'
5034: fi
5035:
5036: # The user is always right.
5037: if test "${PATH_SEPARATOR+set}" != set; then
5038: PATH_SEPARATOR=:
5039: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5040: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5041: PATH_SEPARATOR=';'
5042: }
5043: fi
5044:
1.9.2.2 ! misho 5045: # Support unset when possible.
! 5046: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
! 5047: as_unset=unset
! 5048: else
! 5049: as_unset=false
! 5050: fi
! 5051:
1.1 misho 5052:
5053: # IFS
5054: # We need space, tab and new line, in precisely that order. Quoting is
5055: # there to prevent editors from complaining about space-tab.
5056: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5057: # splitting by setting IFS to empty value.)
5058: IFS=" "" $as_nl"
5059:
5060: # Find who we are. Look in the path if we contain no directory separator.
1.9.2.2 ! misho 5061: case $0 in
1.1 misho 5062: *[\\/]* ) as_myself=$0 ;;
5063: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064: for as_dir in $PATH
5065: do
5066: IFS=$as_save_IFS
5067: test -z "$as_dir" && as_dir=.
1.9.2.2 ! misho 5068: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 5069: done
1.1 misho 5070: IFS=$as_save_IFS
5071:
5072: ;;
5073: esac
5074: # We did not find ourselves, most probably we were run as `sh COMMAND'
5075: # in which case we are not to be found in the path.
5076: if test "x$as_myself" = x; then
5077: as_myself=$0
5078: fi
5079: if test ! -f "$as_myself"; then
5080: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.9.2.2 ! misho 5081: { (exit 1); exit 1; }
1.1 misho 5082: fi
5083:
1.9.2.2 ! misho 5084: # Work around bugs in pre-3.0 UWIN ksh.
! 5085: for as_var in ENV MAIL MAILPATH
! 5086: do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
1.1 misho 5087: done
5088: PS1='$ '
5089: PS2='> '
5090: PS4='+ '
5091:
5092: # NLS nuisances.
5093: LC_ALL=C
5094: export LC_ALL
5095: LANGUAGE=C
5096: export LANGUAGE
5097:
1.9.2.2 ! misho 5098: # Required to use basename.
1.1 misho 5099: if expr a : '\(a\)' >/dev/null 2>&1 &&
5100: test "X`expr 00001 : '.*\(...\)'`" = X001; then
5101: as_expr=expr
5102: else
5103: as_expr=false
5104: fi
5105:
5106: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5107: as_basename=basename
5108: else
5109: as_basename=false
5110: fi
5111:
5112:
1.9.2.2 ! misho 5113: # Name of the executable.
1.1 misho 5114: as_me=`$as_basename -- "$0" ||
5115: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5116: X"$0" : 'X\(//\)$' \| \
5117: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5118: $as_echo X/"$0" |
5119: sed '/^.*\/\([^/][^/]*\)\/*$/{
5120: s//\1/
5121: q
5122: }
5123: /^X\/\(\/\/\)$/{
5124: s//\1/
5125: q
5126: }
5127: /^X\/\(\/\).*/{
5128: s//\1/
5129: q
5130: }
5131: s/.*/./; q'`
5132:
1.9.2.2 ! misho 5133: # CDPATH.
! 5134: $as_unset CDPATH
! 5135:
! 5136:
! 5137:
! 5138: as_lineno_1=$LINENO
! 5139: as_lineno_2=$LINENO
! 5140: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 5141: test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
! 5142:
! 5143: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 5144: # uniformly replaced by the line number. The first 'sed' inserts a
! 5145: # line-number line after each line using $LINENO; the second 'sed'
! 5146: # does the real work. The second script uses 'N' to pair each
! 5147: # line-number line with the line containing $LINENO, and appends
! 5148: # trailing '-' during substitution so that $LINENO is not a special
! 5149: # case at line end.
! 5150: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 5151: # scripts with optimization help from Paolo Bonzini. Blame Lee
! 5152: # E. McMahon (1931-1989) for sed's syntax. :-)
! 5153: sed -n '
! 5154: p
! 5155: /[$]LINENO/=
! 5156: ' <$as_myself |
! 5157: sed '
! 5158: s/[$]LINENO.*/&-/
! 5159: t lineno
! 5160: b
! 5161: :lineno
! 5162: N
! 5163: :loop
! 5164: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
! 5165: t loop
! 5166: s/-\n.*//
! 5167: ' >$as_me.lineno &&
! 5168: chmod +x "$as_me.lineno" ||
! 5169: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
! 5170: { (exit 1); exit 1; }; }
! 5171:
! 5172: # Don't try to exec as it changes $[0], causing all sort of problems
! 5173: # (the dirname of $[0] is not the place where we might find the
! 5174: # original and so on. Autoconf is especially sensitive to this).
! 5175: . "./$as_me.lineno"
! 5176: # Exit status is that of the last command.
! 5177: exit
! 5178: }
! 5179:
! 5180:
! 5181: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
! 5182: as_dirname=dirname
! 5183: else
! 5184: as_dirname=false
! 5185: fi
1.1 misho 5186:
5187: ECHO_C= ECHO_N= ECHO_T=
1.9.2.2 ! misho 5188: case `echo -n x` in
1.1 misho 5189: -n*)
1.9.2.2 ! misho 5190: case `echo 'x\c'` in
1.1 misho 5191: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
1.9.2.2 ! misho 5192: *) ECHO_C='\c';;
1.1 misho 5193: esac;;
5194: *)
5195: ECHO_N='-n';;
5196: esac
1.9.2.2 ! misho 5197: if expr a : '\(a\)' >/dev/null 2>&1 &&
! 5198: test "X`expr 00001 : '.*\(...\)'`" = X001; then
! 5199: as_expr=expr
! 5200: else
! 5201: as_expr=false
! 5202: fi
1.1 misho 5203:
5204: rm -f conf$$ conf$$.exe conf$$.file
5205: if test -d conf$$.dir; then
5206: rm -f conf$$.dir/conf$$.file
5207: else
5208: rm -f conf$$.dir
5209: mkdir conf$$.dir 2>/dev/null
5210: fi
5211: if (echo >conf$$.file) 2>/dev/null; then
5212: if ln -s conf$$.file conf$$ 2>/dev/null; then
5213: as_ln_s='ln -s'
5214: # ... but there are two gotchas:
5215: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5216: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.9.2.2 ! misho 5217: # In both cases, we have to default to `cp -p'.
1.1 misho 5218: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.9.2.2 ! misho 5219: as_ln_s='cp -p'
1.1 misho 5220: elif ln conf$$.file conf$$ 2>/dev/null; then
5221: as_ln_s=ln
5222: else
1.9.2.2 ! misho 5223: as_ln_s='cp -p'
1.1 misho 5224: fi
5225: else
1.9.2.2 ! misho 5226: as_ln_s='cp -p'
1.1 misho 5227: fi
5228: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5229: rmdir conf$$.dir 2>/dev/null
5230:
5231: if mkdir -p . 2>/dev/null; then
1.9.2.2 ! misho 5232: as_mkdir_p=:
1.1 misho 5233: else
5234: test -d ./-p && rmdir ./-p
5235: as_mkdir_p=false
5236: fi
5237:
1.9.2.2 ! misho 5238: if test -x / >/dev/null 2>&1; then
! 5239: as_test_x='test -x'
! 5240: else
! 5241: if ls -dL / >/dev/null 2>&1; then
! 5242: as_ls_L_option=L
! 5243: else
! 5244: as_ls_L_option=
! 5245: fi
! 5246: as_test_x='
! 5247: eval sh -c '\''
! 5248: if test -d "$1"; then
! 5249: test -d "$1/.";
! 5250: else
! 5251: case $1 in
! 5252: -*)set "./$1";;
! 5253: esac;
! 5254: case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
! 5255: ???[sx]*):;;*)false;;esac;fi
! 5256: '\'' sh
! 5257: '
! 5258: fi
! 5259: as_executable_p=$as_test_x
1.1 misho 5260:
5261: # Sed expression to map a string onto a valid CPP name.
5262: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5263:
5264: # Sed expression to map a string onto a valid variable name.
5265: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5266:
5267:
5268: exec 6>&1
5269:
1.9.2.2 ! misho 5270: # Save the log message, to keep $[0] and so on meaningful, and to
1.1 misho 5271: # report actual input values of CONFIG_FILES etc. instead of their
5272: # values after options handling.
5273: ac_log="
1.9.2.1 misho 5274: This file was extended by libaitwww $as_me 3.3, which was
1.9.2.2 ! misho 5275: generated by GNU Autoconf 2.63. Invocation command line was
1.1 misho 5276:
5277: CONFIG_FILES = $CONFIG_FILES
5278: CONFIG_HEADERS = $CONFIG_HEADERS
5279: CONFIG_LINKS = $CONFIG_LINKS
5280: CONFIG_COMMANDS = $CONFIG_COMMANDS
5281: $ $0 $@
5282:
5283: on `(hostname || uname -n) 2>/dev/null | sed 1q`
5284: "
5285:
5286: _ACEOF
5287:
5288: case $ac_config_files in *"
5289: "*) set x $ac_config_files; shift; ac_config_files=$*;;
5290: esac
5291:
5292: case $ac_config_headers in *"
5293: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5294: esac
5295:
5296:
5297: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5298: # Files that config.status was made for.
5299: config_files="$ac_config_files"
5300: config_headers="$ac_config_headers"
5301:
5302: _ACEOF
5303:
5304: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5305: ac_cs_usage="\
1.9.2.2 ! misho 5306: \`$as_me' instantiates files from templates according to the
! 5307: current configuration.
1.1 misho 5308:
1.9.2.2 ! misho 5309: Usage: $0 [OPTION]... [FILE]...
1.1 misho 5310:
5311: -h, --help print this help, then exit
5312: -V, --version print version number and configuration settings, then exit
5313: -q, --quiet, --silent
5314: do not print progress messages
5315: -d, --debug don't remove temporary files
5316: --recheck update $as_me by reconfiguring in the same conditions
5317: --file=FILE[:TEMPLATE]
5318: instantiate the configuration file FILE
5319: --header=FILE[:TEMPLATE]
5320: instantiate the configuration header FILE
5321:
5322: Configuration files:
5323: $config_files
5324:
5325: Configuration headers:
5326: $config_headers
5327:
1.9.2.2 ! misho 5328: Report bugs to <bug-autoconf@gnu.org>."
1.1 misho 5329:
5330: _ACEOF
5331: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5332: ac_cs_version="\\
1.9.2.1 misho 5333: libaitwww config.status 3.3
1.9.2.2 ! misho 5334: configured by $0, generated by GNU Autoconf 2.63,
! 5335: with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
1.1 misho 5336:
1.9.2.2 ! misho 5337: Copyright (C) 2008 Free Software Foundation, Inc.
1.1 misho 5338: This config.status script is free software; the Free Software Foundation
5339: gives unlimited permission to copy, distribute and modify it."
5340:
5341: ac_pwd='$ac_pwd'
5342: srcdir='$srcdir'
5343: INSTALL='$INSTALL'
5344: test -n "\$AWK" || AWK=awk
5345: _ACEOF
5346:
5347: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5348: # The default lists apply if the user does not specify any file.
5349: ac_need_defaults=:
5350: while test $# != 0
5351: do
5352: case $1 in
1.9.2.2 ! misho 5353: --*=*)
1.1 misho 5354: ac_option=`expr "X$1" : 'X\([^=]*\)='`
5355: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5356: ac_shift=:
5357: ;;
5358: *)
5359: ac_option=$1
5360: ac_optarg=$2
5361: ac_shift=shift
5362: ;;
5363: esac
5364:
5365: case $ac_option in
5366: # Handling of the options.
5367: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5368: ac_cs_recheck=: ;;
5369: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5370: $as_echo "$ac_cs_version"; exit ;;
5371: --debug | --debu | --deb | --de | --d | -d )
5372: debug=: ;;
5373: --file | --fil | --fi | --f )
5374: $ac_shift
5375: case $ac_optarg in
5376: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5377: esac
1.9.2.2 ! misho 5378: CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
1.1 misho 5379: ac_need_defaults=false;;
5380: --header | --heade | --head | --hea )
5381: $ac_shift
5382: case $ac_optarg in
5383: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5384: esac
1.9.2.2 ! misho 5385: CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
1.1 misho 5386: ac_need_defaults=false;;
5387: --he | --h)
5388: # Conflict between --help and --header
1.9.2.2 ! misho 5389: { $as_echo "$as_me: error: ambiguous option: $1
! 5390: Try \`$0 --help' for more information." >&2
! 5391: { (exit 1); exit 1; }; };;
1.1 misho 5392: --help | --hel | -h )
5393: $as_echo "$ac_cs_usage"; exit ;;
5394: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5395: | -silent | --silent | --silen | --sile | --sil | --si | --s)
5396: ac_cs_silent=: ;;
5397:
5398: # This is an error.
1.9.2.2 ! misho 5399: -*) { $as_echo "$as_me: error: unrecognized option: $1
! 5400: Try \`$0 --help' for more information." >&2
! 5401: { (exit 1); exit 1; }; } ;;
1.1 misho 5402:
1.9.2.2 ! misho 5403: *) ac_config_targets="$ac_config_targets $1"
1.1 misho 5404: ac_need_defaults=false ;;
5405:
5406: esac
5407: shift
5408: done
5409:
5410: ac_configure_extra_args=
5411:
5412: if $ac_cs_silent; then
5413: exec 6>/dev/null
5414: ac_configure_extra_args="$ac_configure_extra_args --silent"
5415: fi
5416:
5417: _ACEOF
5418: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5419: if \$ac_cs_recheck; then
1.9.2.2 ! misho 5420: set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.1 misho 5421: shift
5422: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5423: CONFIG_SHELL='$SHELL'
5424: export CONFIG_SHELL
5425: exec "\$@"
5426: fi
5427:
5428: _ACEOF
5429: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5430: exec 5>>config.log
5431: {
5432: echo
5433: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5434: ## Running $as_me. ##
5435: _ASBOX
5436: $as_echo "$ac_log"
5437: } >&5
5438:
5439: _ACEOF
5440: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5441: _ACEOF
5442:
5443: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5444:
5445: # Handling of arguments.
5446: for ac_config_target in $ac_config_targets
5447: do
5448: case $ac_config_target in
5449: "inc/config.h") CONFIG_HEADERS="$CONFIG_HEADERS inc/config.h" ;;
5450: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5451: "inc/Makefile") CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;;
5452: "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
5453: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5454:
1.9.2.2 ! misho 5455: *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
! 5456: $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
! 5457: { (exit 1); exit 1; }; };;
1.1 misho 5458: esac
5459: done
5460:
5461:
5462: # If the user did not use the arguments to specify the items to instantiate,
5463: # then the envvar interface is used. Set only those that are not.
5464: # We use the long form for the default assignment because of an extremely
5465: # bizarre bug on SunOS 4.1.3.
5466: if $ac_need_defaults; then
5467: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5468: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5469: fi
5470:
5471: # Have a temporary directory for convenience. Make it in the build tree
5472: # simply because there is no reason against having it here, and in addition,
5473: # creating and moving files from /tmp can sometimes cause problems.
5474: # Hook for its removal unless debugging.
5475: # Note that there is a small window in which the directory will not be cleaned:
5476: # after its creation but before its name has been assigned to `$tmp'.
5477: $debug ||
5478: {
1.9.2.2 ! misho 5479: tmp=
1.1 misho 5480: trap 'exit_status=$?
1.9.2.2 ! misho 5481: { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
1.1 misho 5482: ' 0
1.9.2.2 ! misho 5483: trap '{ (exit 1); exit 1; }' 1 2 13 15
1.1 misho 5484: }
5485: # Create a (secure) tmp directory for tmp files.
5486:
5487: {
5488: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.9.2.2 ! misho 5489: test -n "$tmp" && test -d "$tmp"
1.1 misho 5490: } ||
5491: {
5492: tmp=./conf$$-$RANDOM
5493: (umask 077 && mkdir "$tmp")
1.9.2.2 ! misho 5494: } ||
! 5495: {
! 5496: $as_echo "$as_me: cannot create a temporary directory in ." >&2
! 5497: { (exit 1); exit 1; }
! 5498: }
1.1 misho 5499:
5500: # Set up the scripts for CONFIG_FILES section.
5501: # No need to generate them if there are no CONFIG_FILES.
5502: # This happens for instance with `./config.status config.h'.
5503: if test -n "$CONFIG_FILES"; then
5504:
5505:
1.9.2.2 ! misho 5506: ac_cr='
'
1.1 misho 5507: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5508: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5509: ac_cs_awk_cr='\\r'
5510: else
5511: ac_cs_awk_cr=$ac_cr
5512: fi
5513:
1.9.2.2 ! misho 5514: echo 'BEGIN {' >"$tmp/subs1.awk" &&
1.1 misho 5515: _ACEOF
5516:
5517:
5518: {
5519: echo "cat >conf$$subs.awk <<_ACEOF" &&
5520: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5521: echo "_ACEOF"
5522: } >conf$$subs.sh ||
1.9.2.2 ! misho 5523: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 5524: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 5525: { (exit 1); exit 1; }; }
! 5526: ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
1.1 misho 5527: ac_delim='%!_!# '
5528: for ac_last_try in false false false false false :; do
5529: . ./conf$$subs.sh ||
1.9.2.2 ! misho 5530: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 5531: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 5532: { (exit 1); exit 1; }; }
1.1 misho 5533:
5534: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5535: if test $ac_delim_n = $ac_delim_num; then
5536: break
5537: elif $ac_last_try; then
1.9.2.2 ! misho 5538: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
! 5539: $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
! 5540: { (exit 1); exit 1; }; }
1.1 misho 5541: else
5542: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5543: fi
5544: done
5545: rm -f conf$$subs.sh
5546:
5547: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.9.2.2 ! misho 5548: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
1.1 misho 5549: _ACEOF
5550: sed -n '
5551: h
5552: s/^/S["/; s/!.*/"]=/
5553: p
5554: g
5555: s/^[^!]*!//
5556: :repl
5557: t repl
5558: s/'"$ac_delim"'$//
5559: t delim
5560: :nl
5561: h
1.9.2.2 ! misho 5562: s/\(.\{148\}\).*/\1/
1.1 misho 5563: t more1
5564: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5565: p
5566: n
5567: b repl
5568: :more1
5569: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5570: p
5571: g
5572: s/.\{148\}//
5573: t nl
5574: :delim
5575: h
1.9.2.2 ! misho 5576: s/\(.\{148\}\).*/\1/
1.1 misho 5577: t more2
5578: s/["\\]/\\&/g; s/^/"/; s/$/"/
5579: p
5580: b
5581: :more2
5582: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5583: p
5584: g
5585: s/.\{148\}//
5586: t delim
5587: ' <conf$$subs.awk | sed '
5588: /^[^""]/{
5589: N
5590: s/\n//
5591: }
5592: ' >>$CONFIG_STATUS || ac_write_fail=1
5593: rm -f conf$$subs.awk
5594: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5595: _ACAWK
1.9.2.2 ! misho 5596: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
1.1 misho 5597: for (key in S) S_is_set[key] = 1
5598: FS = ""
5599:
5600: }
5601: {
5602: line = $ 0
5603: nfields = split(line, field, "@")
5604: substed = 0
5605: len = length(field[1])
5606: for (i = 2; i < nfields; i++) {
5607: key = field[i]
5608: keylen = length(key)
5609: if (S_is_set[key]) {
5610: value = S[key]
5611: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5612: len += length(value) + length(field[++i])
5613: substed = 1
5614: } else
5615: len += 1 + keylen
5616: }
5617:
5618: print line
5619: }
5620:
5621: _ACAWK
5622: _ACEOF
5623: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5624: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5625: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5626: else
5627: cat
1.9.2.2 ! misho 5628: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
! 5629: || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
! 5630: $as_echo "$as_me: error: could not setup config files machinery" >&2;}
! 5631: { (exit 1); exit 1; }; }
1.1 misho 5632: _ACEOF
5633:
1.9.2.2 ! misho 5634: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 5635: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1.1 misho 5636: # trailing colons and then remove the whole line if VPATH becomes empty
5637: # (actually we leave an empty line to preserve line numbers).
5638: if test "x$srcdir" = x.; then
1.9.2.2 ! misho 5639: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 5640: s/:*\$(srcdir):*/:/
! 5641: s/:*\${srcdir}:*/:/
! 5642: s/:*@srcdir@:*/:/
! 5643: s/^\([^=]*=[ ]*\):*/\1/
1.1 misho 5644: s/:*$//
5645: s/^[^=]*=[ ]*$//
5646: }'
5647: fi
5648:
5649: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5650: fi # test -n "$CONFIG_FILES"
5651:
5652: # Set up the scripts for CONFIG_HEADERS section.
5653: # No need to generate them if there are no CONFIG_HEADERS.
5654: # This happens for instance with `./config.status Makefile'.
5655: if test -n "$CONFIG_HEADERS"; then
1.9.2.2 ! misho 5656: cat >"$tmp/defines.awk" <<\_ACAWK ||
1.1 misho 5657: BEGIN {
5658: _ACEOF
5659:
5660: # Transform confdefs.h into an awk script `defines.awk', embedded as
5661: # here-document in config.status, that substitutes the proper values into
5662: # config.h.in to produce config.h.
5663:
5664: # Create a delimiter string that does not exist in confdefs.h, to ease
5665: # handling of long lines.
5666: ac_delim='%!_!# '
5667: for ac_last_try in false false :; do
1.9.2.2 ! misho 5668: ac_t=`sed -n "/$ac_delim/p" confdefs.h`
! 5669: if test -z "$ac_t"; then
1.1 misho 5670: break
5671: elif $ac_last_try; then
1.9.2.2 ! misho 5672: { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
! 5673: $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
! 5674: { (exit 1); exit 1; }; }
1.1 misho 5675: else
5676: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5677: fi
5678: done
5679:
5680: # For the awk script, D is an array of macro values keyed by name,
5681: # likewise P contains macro parameters if any. Preserve backslash
5682: # newline sequences.
5683:
5684: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5685: sed -n '
5686: s/.\{148\}/&'"$ac_delim"'/g
5687: t rset
5688: :rset
5689: s/^[ ]*#[ ]*define[ ][ ]*/ /
5690: t def
5691: d
5692: :def
5693: s/\\$//
5694: t bsnl
5695: s/["\\]/\\&/g
5696: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5697: D["\1"]=" \3"/p
5698: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5699: d
5700: :bsnl
5701: s/["\\]/\\&/g
5702: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5703: D["\1"]=" \3\\\\\\n"\\/p
5704: t cont
5705: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5706: t cont
5707: d
5708: :cont
5709: n
5710: s/.\{148\}/&'"$ac_delim"'/g
5711: t clear
5712: :clear
5713: s/\\$//
5714: t bsnlc
5715: s/["\\]/\\&/g; s/^/"/; s/$/"/p
5716: d
5717: :bsnlc
5718: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5719: b cont
5720: ' <confdefs.h | sed '
5721: s/'"$ac_delim"'/"\\\
5722: "/g' >>$CONFIG_STATUS || ac_write_fail=1
5723:
5724: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5725: for (key in D) D_is_set[key] = 1
5726: FS = ""
5727: }
5728: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5729: line = \$ 0
5730: split(line, arg, " ")
5731: if (arg[1] == "#") {
5732: defundef = arg[2]
5733: mac1 = arg[3]
5734: } else {
5735: defundef = substr(arg[1], 2)
5736: mac1 = arg[2]
5737: }
5738: split(mac1, mac2, "(") #)
5739: macro = mac2[1]
5740: prefix = substr(line, 1, index(line, defundef) - 1)
5741: if (D_is_set[macro]) {
5742: # Preserve the white space surrounding the "#".
5743: print prefix "define", macro P[macro] D[macro]
5744: next
5745: } else {
5746: # Replace #undef with comments. This is necessary, for example,
5747: # in the case of _POSIX_SOURCE, which is predefined and required
5748: # on some systems where configure will not decide to define it.
5749: if (defundef == "undef") {
5750: print "/*", prefix defundef, macro, "*/"
5751: next
5752: }
5753: }
5754: }
5755: { print }
5756: _ACAWK
5757: _ACEOF
5758: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.9.2.2 ! misho 5759: { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
! 5760: $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
! 5761: { (exit 1); exit 1; }; }
1.1 misho 5762: fi # test -n "$CONFIG_HEADERS"
5763:
5764:
5765: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
5766: shift
5767: for ac_tag
5768: do
5769: case $ac_tag in
5770: :[FHLC]) ac_mode=$ac_tag; continue;;
5771: esac
5772: case $ac_mode$ac_tag in
5773: :[FHL]*:*);;
1.9.2.2 ! misho 5774: :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
! 5775: $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
! 5776: { (exit 1); exit 1; }; };;
1.1 misho 5777: :[FH]-) ac_tag=-:-;;
5778: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5779: esac
5780: ac_save_IFS=$IFS
5781: IFS=:
5782: set x $ac_tag
5783: IFS=$ac_save_IFS
5784: shift
5785: ac_file=$1
5786: shift
5787:
5788: case $ac_mode in
5789: :L) ac_source=$1;;
5790: :[FH])
5791: ac_file_inputs=
5792: for ac_f
5793: do
5794: case $ac_f in
1.9.2.2 ! misho 5795: -) ac_f="$tmp/stdin";;
1.1 misho 5796: *) # Look for the file first in the build tree, then in the source tree
5797: # (if the path is not absolute). The absolute path cannot be DOS-style,
5798: # because $ac_f cannot contain `:'.
5799: test -f "$ac_f" ||
5800: case $ac_f in
5801: [\\/$]*) false;;
5802: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5803: esac ||
1.9.2.2 ! misho 5804: { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
! 5805: $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
! 5806: { (exit 1); exit 1; }; };;
1.1 misho 5807: esac
5808: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1.9.2.2 ! misho 5809: ac_file_inputs="$ac_file_inputs '$ac_f'"
1.1 misho 5810: done
5811:
5812: # Let's still pretend it is `configure' which instantiates (i.e., don't
5813: # use $as_me), people would be surprised to read:
5814: # /* config.h. Generated by config.status. */
5815: configure_input='Generated from '`
5816: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5817: `' by configure.'
5818: if test x"$ac_file" != x-; then
5819: configure_input="$ac_file. $configure_input"
1.9.2.2 ! misho 5820: { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
1.1 misho 5821: $as_echo "$as_me: creating $ac_file" >&6;}
5822: fi
5823: # Neutralize special characters interpreted by sed in replacement strings.
5824: case $configure_input in #(
5825: *\&* | *\|* | *\\* )
5826: ac_sed_conf_input=`$as_echo "$configure_input" |
5827: sed 's/[\\\\&|]/\\\\&/g'`;; #(
5828: *) ac_sed_conf_input=$configure_input;;
5829: esac
5830:
5831: case $ac_tag in
1.9.2.2 ! misho 5832: *:-:* | *:-) cat >"$tmp/stdin" \
! 5833: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 5834: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 5835: { (exit 1); exit 1; }; } ;;
1.1 misho 5836: esac
5837: ;;
5838: esac
5839:
5840: ac_dir=`$as_dirname -- "$ac_file" ||
5841: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5842: X"$ac_file" : 'X\(//\)[^/]' \| \
5843: X"$ac_file" : 'X\(//\)$' \| \
5844: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5845: $as_echo X"$ac_file" |
5846: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5847: s//\1/
5848: q
5849: }
5850: /^X\(\/\/\)[^/].*/{
5851: s//\1/
5852: q
5853: }
5854: /^X\(\/\/\)$/{
5855: s//\1/
5856: q
5857: }
5858: /^X\(\/\).*/{
5859: s//\1/
5860: q
5861: }
5862: s/.*/./; q'`
1.9.2.2 ! misho 5863: { as_dir="$ac_dir"
! 5864: case $as_dir in #(
! 5865: -*) as_dir=./$as_dir;;
! 5866: esac
! 5867: test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
! 5868: as_dirs=
! 5869: while :; do
! 5870: case $as_dir in #(
! 5871: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
! 5872: *) as_qdir=$as_dir;;
! 5873: esac
! 5874: as_dirs="'$as_qdir' $as_dirs"
! 5875: as_dir=`$as_dirname -- "$as_dir" ||
! 5876: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 5877: X"$as_dir" : 'X\(//\)[^/]' \| \
! 5878: X"$as_dir" : 'X\(//\)$' \| \
! 5879: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
! 5880: $as_echo X"$as_dir" |
! 5881: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
! 5882: s//\1/
! 5883: q
! 5884: }
! 5885: /^X\(\/\/\)[^/].*/{
! 5886: s//\1/
! 5887: q
! 5888: }
! 5889: /^X\(\/\/\)$/{
! 5890: s//\1/
! 5891: q
! 5892: }
! 5893: /^X\(\/\).*/{
! 5894: s//\1/
! 5895: q
! 5896: }
! 5897: s/.*/./; q'`
! 5898: test -d "$as_dir" && break
! 5899: done
! 5900: test -z "$as_dirs" || eval "mkdir $as_dirs"
! 5901: } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
! 5902: $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
! 5903: { (exit 1); exit 1; }; }; }
1.1 misho 5904: ac_builddir=.
5905:
5906: case "$ac_dir" in
5907: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5908: *)
5909: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5910: # A ".." for each directory in $ac_dir_suffix.
5911: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5912: case $ac_top_builddir_sub in
5913: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5914: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5915: esac ;;
5916: esac
5917: ac_abs_top_builddir=$ac_pwd
5918: ac_abs_builddir=$ac_pwd$ac_dir_suffix
5919: # for backward compatibility:
5920: ac_top_builddir=$ac_top_build_prefix
5921:
5922: case $srcdir in
5923: .) # We are building in place.
5924: ac_srcdir=.
5925: ac_top_srcdir=$ac_top_builddir_sub
5926: ac_abs_top_srcdir=$ac_pwd ;;
5927: [\\/]* | ?:[\\/]* ) # Absolute name.
5928: ac_srcdir=$srcdir$ac_dir_suffix;
5929: ac_top_srcdir=$srcdir
5930: ac_abs_top_srcdir=$srcdir ;;
5931: *) # Relative name.
5932: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5933: ac_top_srcdir=$ac_top_build_prefix$srcdir
5934: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5935: esac
5936: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5937:
5938:
5939: case $ac_mode in
5940: :F)
5941: #
5942: # CONFIG_FILE
5943: #
5944:
5945: case $INSTALL in
5946: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5947: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5948: esac
5949: _ACEOF
5950:
5951: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5952: # If the template does not know about datarootdir, expand it.
5953: # FIXME: This hack should be removed a few years after 2.60.
5954: ac_datarootdir_hack=; ac_datarootdir_seen=
1.9.2.2 ! misho 5955:
1.1 misho 5956: ac_sed_dataroot='
5957: /datarootdir/ {
5958: p
5959: q
5960: }
5961: /@datadir@/p
5962: /@docdir@/p
5963: /@infodir@/p
5964: /@localedir@/p
1.9.2.2 ! misho 5965: /@mandir@/p
! 5966: '
1.1 misho 5967: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5968: *datarootdir*) ac_datarootdir_seen=yes;;
5969: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.9.2.2 ! misho 5970: { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1.1 misho 5971: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5972: _ACEOF
5973: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5974: ac_datarootdir_hack='
5975: s&@datadir@&$datadir&g
5976: s&@docdir@&$docdir&g
5977: s&@infodir@&$infodir&g
5978: s&@localedir@&$localedir&g
5979: s&@mandir@&$mandir&g
1.9.2.2 ! misho 5980: s&\\\${datarootdir}&$datarootdir&g' ;;
1.1 misho 5981: esac
5982: _ACEOF
5983:
5984: # Neutralize VPATH when `$srcdir' = `.'.
5985: # Shell code in configure.ac might set extrasub.
5986: # FIXME: do we really want to maintain this feature?
5987: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5988: ac_sed_extra="$ac_vpsub
5989: $extrasub
5990: _ACEOF
5991: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5992: :t
5993: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5994: s|@configure_input@|$ac_sed_conf_input|;t t
5995: s&@top_builddir@&$ac_top_builddir_sub&;t t
5996: s&@top_build_prefix@&$ac_top_build_prefix&;t t
5997: s&@srcdir@&$ac_srcdir&;t t
5998: s&@abs_srcdir@&$ac_abs_srcdir&;t t
5999: s&@top_srcdir@&$ac_top_srcdir&;t t
6000: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6001: s&@builddir@&$ac_builddir&;t t
6002: s&@abs_builddir@&$ac_abs_builddir&;t t
6003: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6004: s&@INSTALL@&$ac_INSTALL&;t t
6005: $ac_datarootdir_hack
6006: "
1.9.2.2 ! misho 6007: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
! 6008: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 6009: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 6010: { (exit 1); exit 1; }; }
1.1 misho 6011:
6012: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.9.2.2 ! misho 6013: { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
! 6014: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
! 6015: { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
! 6016: which seems to be undefined. Please make sure it is defined." >&5
1.1 misho 6017: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.9.2.2 ! misho 6018: which seems to be undefined. Please make sure it is defined." >&2;}
1.1 misho 6019:
1.9.2.2 ! misho 6020: rm -f "$tmp/stdin"
1.1 misho 6021: case $ac_file in
1.9.2.2 ! misho 6022: -) cat "$tmp/out" && rm -f "$tmp/out";;
! 6023: *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
1.1 misho 6024: esac \
1.9.2.2 ! misho 6025: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 6026: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 6027: { (exit 1); exit 1; }; }
1.1 misho 6028: ;;
6029: :H)
6030: #
6031: # CONFIG_HEADER
6032: #
6033: if test x"$ac_file" != x-; then
6034: {
6035: $as_echo "/* $configure_input */" \
1.9.2.2 ! misho 6036: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
! 6037: } >"$tmp/config.h" \
! 6038: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 6039: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 6040: { (exit 1); exit 1; }; }
! 6041: if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
! 6042: { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
1.1 misho 6043: $as_echo "$as_me: $ac_file is unchanged" >&6;}
6044: else
6045: rm -f "$ac_file"
1.9.2.2 ! misho 6046: mv "$tmp/config.h" "$ac_file" \
! 6047: || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
! 6048: $as_echo "$as_me: error: could not create $ac_file" >&2;}
! 6049: { (exit 1); exit 1; }; }
1.1 misho 6050: fi
6051: else
6052: $as_echo "/* $configure_input */" \
1.9.2.2 ! misho 6053: && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
! 6054: || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
! 6055: $as_echo "$as_me: error: could not create -" >&2;}
! 6056: { (exit 1); exit 1; }; }
1.1 misho 6057: fi
6058: ;;
6059:
6060:
6061: esac
6062:
6063: done # for ac_tag
6064:
6065:
1.9.2.2 ! misho 6066: { (exit 0); exit 0; }
1.1 misho 6067: _ACEOF
1.9.2.2 ! misho 6068: chmod +x $CONFIG_STATUS
1.1 misho 6069: ac_clean_files=$ac_clean_files_save
6070:
6071: test $ac_write_fail = 0 ||
1.9.2.2 ! misho 6072: { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
! 6073: $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
! 6074: { (exit 1); exit 1; }; }
1.1 misho 6075:
6076:
6077: # configure is writing to config.log, and then calls config.status.
6078: # config.status does its own redirection, appending to config.log.
6079: # Unfortunately, on DOS this fails, as config.log is still kept open
6080: # by configure, so config.status won't be able to write to it; its
6081: # output is simply discarded. So we exec the FD to /dev/null,
6082: # effectively closing config.log, so it can be properly (re)opened and
6083: # appended to by config.status. When coming back to configure, we
6084: # need to make the FD available again.
6085: if test "$no_create" != yes; then
6086: ac_cs_success=:
6087: ac_config_status_args=
6088: test "$silent" = yes &&
6089: ac_config_status_args="$ac_config_status_args --quiet"
6090: exec 5>/dev/null
6091: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6092: exec 5>>config.log
6093: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6094: # would make configure fail if this is the last instruction.
1.9.2.2 ! misho 6095: $ac_cs_success || { (exit 1); exit 1; }
1.1 misho 6096: fi
6097: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1.9.2.2 ! misho 6098: { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
1.1 misho 6099: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6100: fi
6101:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>