2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 # Support unset when possible.
25 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
224 as_executable_p
="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix
=/usr
/local
254 ac_config_libobj_dir
=.
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file
="dump/dump.h"
274 # Factoring default headers for most tests.
275 ac_includes_default
="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS SET_MAKE LN_S CP MV RM AR ac_ct_AR RANLIB ac_ct_RANLIB PATCH ac_ct_PATCH CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CPP EGREP DUMPDEBUG RESTOREDEBUG STATIC RMTDIR ERMT CRYPTO OPTDEFS READLINE LD CCOPTS LDOPTS BINOWNER BINGRP BINMODE MANOWNER MANGRP MANMODE DUMPDATESPATH ZLIB BZLIB top_builddir LIBOBJS LTLIBOBJS'
312 ac_subst_files
='MCONFIG'
314 # Initialize some variables set by options.
316 ac_init_version
=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name
=s
,x
,x
,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir
='${exec_prefix}/bin'
340 sbindir
='${exec_prefix}/sbin'
341 libexecdir
='${exec_prefix}/libexec'
342 datadir
='${prefix}/share'
343 sysconfdir
='${prefix}/etc'
344 sharedstatedir
='${prefix}/com'
345 localstatedir
='${prefix}/var'
346 libdir
='${exec_prefix}/lib'
347 includedir
='${prefix}/include'
348 oldincludedir
='/usr/include'
349 infodir
='${prefix}/info'
350 mandir
='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
370 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
373 -build |
--build |
--buil |
--bui |
--bu)
374 ac_prev
=build_alias
;;
375 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
376 build_alias
=$ac_optarg ;;
378 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
379 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
380 ac_prev
=cache_file
;;
381 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
382 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
383 cache_file
=$ac_optarg ;;
386 cache_file
=config.cache
;;
388 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
390 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
392 datadir
=$ac_optarg ;;
394 -disable-* |
--disable-*)
395 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* |
--enable-*)
404 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
417 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
418 |
--exec |
--exe |
--ex)
419 ac_prev
=exec_prefix
;;
420 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
421 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
422 |
--exec=* |
--exe=* |
--ex=*)
423 exec_prefix
=$ac_optarg ;;
425 -gas |
--gas |
--ga |
--g)
426 # Obsolete; use --with-gas.
429 -help |
--help |
--hel |
--he |
-h)
431 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
432 ac_init_help
=recursive
;;
433 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
434 ac_init_help
=short
;;
436 -host |
--host |
--hos |
--ho)
437 ac_prev
=host_alias
;;
438 -host=* |
--host=* |
--hos=* |
--ho=*)
439 host_alias
=$ac_optarg ;;
441 -includedir |
--includedir |
--includedi |
--included |
--include \
442 |
--includ |
--inclu |
--incl |
--inc)
443 ac_prev
=includedir
;;
444 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
445 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
446 includedir
=$ac_optarg ;;
448 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
450 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
451 infodir
=$ac_optarg ;;
453 -libdir |
--libdir |
--libdi |
--libd)
455 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
458 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
459 |
--libexe |
--libex |
--libe)
460 ac_prev
=libexecdir
;;
461 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
462 |
--libexe=* |
--libex=* |
--libe=*)
463 libexecdir
=$ac_optarg ;;
465 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
466 |
--localstate |
--localstat |
--localsta |
--localst \
467 |
--locals |
--local |
--loca |
--loc |
--lo)
468 ac_prev
=localstatedir
;;
469 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
470 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
471 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
472 localstatedir
=$ac_optarg ;;
474 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
476 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
480 # Obsolete; use --without-fp.
483 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
484 |
--no-cr |
--no-c |
-n)
487 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
488 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
491 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
492 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
493 |
--oldin |
--oldi |
--old |
--ol |
--o)
494 ac_prev
=oldincludedir
;;
495 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
496 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
497 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
498 oldincludedir
=$ac_optarg ;;
500 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
502 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
505 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
506 |
--program-pre |
--program-pr |
--program-p)
507 ac_prev
=program_prefix
;;
508 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
509 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
510 program_prefix
=$ac_optarg ;;
512 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
513 |
--program-suf |
--program-su |
--program-s)
514 ac_prev
=program_suffix
;;
515 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
516 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
517 program_suffix
=$ac_optarg ;;
519 -program-transform-name |
--program-transform-name \
520 |
--program-transform-nam |
--program-transform-na \
521 |
--program-transform-n |
--program-transform- \
522 |
--program-transform |
--program-transfor \
523 |
--program-transfo |
--program-transf \
524 |
--program-trans |
--program-tran \
525 |
--progr-tra |
--program-tr |
--program-t)
526 ac_prev
=program_transform_name
;;
527 -program-transform-name=* |
--program-transform-name=* \
528 |
--program-transform-nam=* |
--program-transform-na=* \
529 |
--program-transform-n=* |
--program-transform-=* \
530 |
--program-transform=* |
--program-transfor=* \
531 |
--program-transfo=* |
--program-transf=* \
532 |
--program-trans=* |
--program-tran=* \
533 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
534 program_transform_name
=$ac_optarg ;;
536 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
537 |
-silent |
--silent |
--silen |
--sile |
--sil)
540 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
542 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
544 sbindir
=$ac_optarg ;;
546 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
547 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
548 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
550 ac_prev
=sharedstatedir
;;
551 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
552 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
553 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
555 sharedstatedir
=$ac_optarg ;;
557 -site |
--site |
--sit)
559 -site=* |
--site=* |
--sit=*)
562 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
564 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
567 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
568 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
569 ac_prev
=sysconfdir
;;
570 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
571 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
572 sysconfdir
=$ac_optarg ;;
574 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
575 ac_prev
=target_alias
;;
576 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
577 target_alias
=$ac_optarg ;;
579 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
582 -version |
--version |
--versio |
--versi |
--vers |
-V)
586 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package
=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* |
--without-*)
599 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package
=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
612 |
--x-incl |
--x-inc |
--x-in |
--x-i)
613 ac_prev
=x_includes
;;
614 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
615 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
616 x_includes
=$ac_optarg ;;
618 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
619 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
620 ac_prev
=x_libraries
;;
621 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
622 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
623 x_libraries
=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var
in exec_prefix prefix
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val
=$
`echo $ac_var`
674 [\\/$
]* | ?
:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x
; then
689 if test "x$build_alias" = x
; then
690 cross_compiling
=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
701 test "$silent" = yes && exec 6>/dev
/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted
=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir
=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted
=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set
=${build_alias+set}
741 ac_env_build_alias_value
=$build_alias
742 ac_cv_env_build_alias_set
=${build_alias+set}
743 ac_cv_env_build_alias_value
=$build_alias
744 ac_env_host_alias_set
=${host_alias+set}
745 ac_env_host_alias_value
=$host_alias
746 ac_cv_env_host_alias_set
=${host_alias+set}
747 ac_cv_env_host_alias_value
=$host_alias
748 ac_env_target_alias_set
=${target_alias+set}
749 ac_env_target_alias_value
=$target_alias
750 ac_cv_env_target_alias_set
=${target_alias+set}
751 ac_cv_env_target_alias_value
=$target_alias
752 ac_env_CC_set
=${CC+set}
754 ac_cv_env_CC_set
=${CC+set}
755 ac_cv_env_CC_value
=$CC
756 ac_env_CFLAGS_set
=${CFLAGS+set}
757 ac_env_CFLAGS_value
=$CFLAGS
758 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
759 ac_cv_env_CFLAGS_value
=$CFLAGS
760 ac_env_LDFLAGS_set
=${LDFLAGS+set}
761 ac_env_LDFLAGS_value
=$LDFLAGS
762 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value
=$LDFLAGS
764 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value
=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_env_CPP_set
=${CPP+set}
769 ac_env_CPP_value
=$CPP
770 ac_cv_env_CPP_set
=${CPP+set}
771 ac_cv_env_CPP_value
=$CPP
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures this package to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
835 if test -n "$ac_init_help"; then
840 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
841 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
842 --enable-debug include debugging code
(default is NO
)
843 --enable-static link dump and restore statically
(default is NO
)
844 --enable-rmt compile and
install rmt
(default is YES
)
845 --enable-ermt compile ermt
, an encrypting version of rmt
(default is NO
)
846 --enable-kerberos compile kerberos extensions
(default is NO
)
847 --enable-readline enable readline support
in restore
(default is YES
)
848 --enable-oldstylefscript enable old style F
script (no arguments
) (default is NO
)
849 --enable-largefile enable Large File System support
(default is YES
)
850 --enable-qfa enable Quick File Access support
(default is YES
)
851 --enable-qfadebug include Quick File Access debugging code
(default is NO
)
852 --enable-macosx include Mac OSX restore compatibility
(default is NO
)
855 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
856 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
857 --with-cc=COMPILER
select compiler to use
858 --with-linker=LINKER
select linker to use
859 --with-ccopts=CCOPTS
select compiler
command line options
860 --with-ldopts=LDOPTS
select linker
command line options
861 --with-binowner=USER
select owner
for binaries
862 --with-bingrp=GROUP
select group
for binaries
863 --with-binmode=MODE
select mode
for binaries
864 --with-manowner=USER
select owner
for manual pages
865 --with-mangrp=GROUP
select group
for manual pages
866 --with-manmode=MODE
select mode
for manual pages
867 --with-dumpdatespath=PATH
select path
for dumpdates
file
869 Some influential environment variables
:
870 CC C compiler
command
871 CFLAGS C compiler flags
872 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
873 nonstandard directory
<lib dir
>
874 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
875 headers
in a nonstandard directory
<include dir
>
878 Use these variables to override the choices made by
`configure' or to help
879 it to find libraries and programs with nonstandard names/locations.
884 if test "$ac_init_help" = "recursive"; then
885 # If there are subdirs, report their specific --help.
887 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
888 test -d $ac_dir || continue
891 if test "$ac_dir" != .; then
892 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
893 # A "../" for each directory in $ac_dir_suffix.
894 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
896 ac_dir_suffix= ac_top_builddir=
900 .) # No --srcdir option. We are building in place.
902 if test -z "$ac_top_builddir"; then
905 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
907 [\\/]* | ?:[\\/]* ) # Absolute path.
908 ac_srcdir=$srcdir$ac_dir_suffix;
909 ac_top_srcdir=$srcdir ;;
911 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
912 ac_top_srcdir=$ac_top_builddir$srcdir ;;
914 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
916 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
917 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
918 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
919 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
922 # Check for guested configure; otherwise get Cygnus style configure.
923 if test -f $ac_srcdir/configure.gnu; then
925 $SHELL $ac_srcdir/configure.gnu --help=recursive
926 elif test -f $ac_srcdir/configure; then
928 $SHELL $ac_srcdir/configure --help=recursive
929 elif test -f $ac_srcdir/configure.ac ||
930 test -f $ac_srcdir/configure.in; then
934 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
940 test -n "$ac_init_help" && exit 0
941 if $ac_init_version; then
944 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
945 Free Software Foundation, Inc.
946 This configure script is free software; the Free Software Foundation
947 gives unlimited permission to copy, distribute and modify it.
953 This file contains any messages produced by compilers while
954 running configure, to aid debugging if configure makes a mistake.
956 It was created by $as_me, which was
957 generated by GNU Autoconf 2.57. Invocation command line was
968 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
969 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
970 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
971 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
972 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
974 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
975 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
977 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
978 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
979 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
980 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
981 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
982 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
983 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
991 test -z "$as_dir" && as_dir=.
1007 # Keep a trace of the command line.
1008 # Strip out --no-create and --no-recursion so they do not pile up.
1009 # Strip out --silent because we don't want to record it for future runs.
1010 # Also quote any args containing shell meta-characters.
1011 # Make two passes to allow for proper duplicate-argument suppression.
1016 ac_must_keep_next=false
1022 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1023 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1024 | -silent | --silent | --silen | --sile | --sil)
1026 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1027 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1030 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1032 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1033 if test $ac_must_keep_next = true; then
1034 ac_must_keep_next=false # Got value, back to normal.
1037 *=* | --config-cache | -C | -disable-* | --disable-* \
1038 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1039 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1040 | -with-* | --with-* | -without-* | --without-* | --x)
1041 case "$ac_configure_args0 " in
1042 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1045 -* ) ac_must_keep_next=true ;;
1048 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1049 # Get rid of the leading space.
1055 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1056 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1058 # When interrupted or exit'd, cleanup temporary files, and complete
1059 # config.log. We remove comments because anyway the quotes in there
1060 # would cause problems or look ugly.
1061 # WARNING: Be sure not to use single quotes in there, as some shells,
1062 # such as our DU 5.0 friend, will then `close
' the trap.
1063 trap 'exit_status
=$?
1064 # Save into config.log some information that might help in debugging.
1069 ## ---------------- ##
1070 ## Cache variables. ##
1071 ## ---------------- ##
1074 # The following way of writing the cache mishandles newlines in values,
1077 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1080 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1081 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1085 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1092 ## ----------------- ##
1093 ## Output variables. ##
1094 ## ----------------- ##
1097 for ac_var
in $ac_subst_vars
1099 eval ac_val
=$
`echo $ac_var`
1100 echo "$ac_var='"'"'$ac_val'"'"'"
1104 if test -n "$ac_subst_files"; then
1111 for ac_var
in $ac_subst_files
1113 eval ac_val
=$
`echo $ac_var`
1114 echo "$ac_var='"'"'$ac_val'"'"'"
1119 if test -s confdefs.h
; then
1126 sed "/^$/d" confdefs.h |
sort
1129 test "$ac_signal" != 0 &&
1130 echo "$as_me: caught signal $ac_signal"
1131 echo "$as_me: exit $exit_status"
1133 rm -f core core.
* *.core
&&
1134 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1137 for ac_signal in 1 2 13 15; do
1138 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1142 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1143 rm -rf conftest* confdefs.h
1144 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1147 # Predefined preprocessor variables.
1149 cat >>confdefs.h <<_ACEOF
1150 #define PACKAGE_NAME "$PACKAGE_NAME"
1154 cat >>confdefs.h <<_ACEOF
1155 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1159 cat >>confdefs.h <<_ACEOF
1160 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1164 cat >>confdefs.h <<_ACEOF
1165 #define PACKAGE_STRING "$PACKAGE_STRING"
1169 cat >>confdefs.h <<_ACEOF
1170 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1174 # Let the site file select an alternate cache file if it wants to.
1175 # Prefer explicitly selected file to automatically selected ones.
1176 if test -z "$CONFIG_SITE"; then
1177 if test "x$prefix" != xNONE; then
1178 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1180 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1183 for ac_site_file in $CONFIG_SITE; do
1184 if test -r "$ac_site_file"; then
1185 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1186 echo "$as_me: loading site script $ac_site_file" >&6;}
1187 sed 's
/^
/|
/' "$ac_site_file" >&5
1192 if test -r "$cache_file"; then
1193 # Some versions of bash will fail to source /dev/null (special
1194 # files actually), so we avoid doing that.
1195 if test -f "$cache_file"; then
1196 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1197 echo "$as_me: loading cache $cache_file" >&6;}
1199 [\\/]* | ?:[\\/]* ) . $cache_file;;
1200 *) . ./$cache_file;;
1204 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1205 echo "$as_me: creating cache $cache_file" >&6;}
1209 # Check that the precious variables saved in the cache have kept the same
1211 ac_cache_corrupted=false
1212 for ac_var in `(set) 2>&1 |
1213 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1214 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1215 eval ac_new_set=\$ac_env_${ac_var}_set
1216 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1217 eval ac_new_val="\$ac_env_${ac_var}_value"
1218 case $ac_old_set,$ac_new_set in
1220 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1221 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1222 ac_cache_corrupted=: ;;
1224 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1225 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1226 ac_cache_corrupted=: ;;
1229 if test "x$ac_old_val" != "x$ac_new_val"; then
1230 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1231 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1232 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1233 echo "$as_me: former value: $ac_old_val" >&2;}
1234 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1235 echo "$as_me: current value: $ac_new_val" >&2;}
1236 ac_cache_corrupted=:
1239 # Pass precious variables to config.status.
1240 if test "$ac_new_set" = set; then
1242 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1243 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1244 *) ac_arg=$ac_var=$ac_new_val ;;
1246 case " $ac_configure_args " in
1247 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1248 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1252 if $ac_cache_corrupted; then
1253 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1254 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1255 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1256 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1257 { (exit 1); exit 1; }; }
1261 ac_cpp='$CPP $CPPFLAGS'
1262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1263 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1289 ac_config_headers="$ac_config_headers config.h"
1292 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1293 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1294 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y
,.
/+-,__p_
,'`
1295 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1296 echo $ECHO_N "(cached) $ECHO_C" >&6
1298 cat >conftest.make <<\_ACEOF
1300 @echo 'ac_maketemp
="$(MAKE)"'
1302 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1303 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1304 if test -n "$ac_maketemp"; then
1305 eval ac_cv_prog_make_${ac_make}_set=yes
1307 eval ac_cv_prog_make_${ac_make}_set=no
1311 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1312 echo "$as_me:$LINENO: result: yes" >&5
1313 echo "${ECHO_T}yes" >&6
1316 echo "$as_me:$LINENO: result: no" >&5
1317 echo "${ECHO_T}no" >&6
1318 SET_MAKE="MAKE=${MAKE-make}"
1321 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1322 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1324 if test "$LN_S" = "ln -s"; then
1325 echo "$as_me:$LINENO: result: yes" >&5
1326 echo "${ECHO_T}yes" >&6
1328 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1329 echo "${ECHO_T}no, using $LN_S" >&6
1332 # Extract the first word of "cp", so it can be a program name with args.
1333 set dummy cp; ac_word=$2
1334 echo "$as_me:$LINENO: checking for $ac_word" >&5
1335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1336 if test "${ac_cv_path_CP+set}" = set; then
1337 echo $ECHO_N "(cached) $ECHO_C" >&6
1341 ac_cv_path_CP="$CP" # Let the user override the test with a path.
1344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1348 test -z "$as_dir" && as_dir=.
1349 for ac_exec_ext in '' $ac_executable_extensions; do
1350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1351 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
1352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1358 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
1364 if test -n "$CP"; then
1365 echo "$as_me:$LINENO: result: $CP" >&5
1366 echo "${ECHO_T}$CP" >&6
1368 echo "$as_me:$LINENO: result: no" >&5
1369 echo "${ECHO_T}no" >&6
1372 # Extract the first word of "mv", so it can be a program name with args.
1373 set dummy mv; ac_word=$2
1374 echo "$as_me:$LINENO: checking for $ac_word" >&5
1375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1376 if test "${ac_cv_path_MV+set}" = set; then
1377 echo $ECHO_N "(cached) $ECHO_C" >&6
1381 ac_cv_path_MV="$MV" # Let the user override the test with a path.
1384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1388 test -z "$as_dir" && as_dir=.
1389 for ac_exec_ext in '' $ac_executable_extensions; do
1390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1391 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
1392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1398 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
1404 if test -n "$MV"; then
1405 echo "$as_me:$LINENO: result: $MV" >&5
1406 echo "${ECHO_T}$MV" >&6
1408 echo "$as_me:$LINENO: result: no" >&5
1409 echo "${ECHO_T}no" >&6
1412 # Extract the first word of "rm", so it can be a program name with args.
1413 set dummy rm; ac_word=$2
1414 echo "$as_me:$LINENO: checking for $ac_word" >&5
1415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1416 if test "${ac_cv_path_RM+set}" = set; then
1417 echo $ECHO_N "(cached) $ECHO_C" >&6
1421 ac_cv_path_RM="$RM" # Let the user override the test with a path.
1424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1428 test -z "$as_dir" && as_dir=.
1429 for ac_exec_ext in '' $ac_executable_extensions; do
1430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1431 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
1432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1438 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
1444 if test -n "$RM"; then
1445 echo "$as_me:$LINENO: result: $RM" >&5
1446 echo "${ECHO_T}$RM" >&6
1448 echo "$as_me:$LINENO: result: no" >&5
1449 echo "${ECHO_T}no" >&6
1452 if test -n "$ac_tool_prefix"; then
1453 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1454 set dummy ${ac_tool_prefix}ar; ac_word=$2
1455 echo "$as_me:$LINENO: checking for $ac_word" >&5
1456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1457 if test "${ac_cv_prog_AR+set}" = set; then
1458 echo $ECHO_N "(cached) $ECHO_C" >&6
1460 if test -n "$AR"; then
1461 ac_cv_prog_AR="$AR" # Let the user override the test.
1463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1467 test -z "$as_dir" && as_dir=.
1468 for ac_exec_ext in '' $ac_executable_extensions; do
1469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1470 ac_cv_prog_AR="${ac_tool_prefix}ar"
1471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1480 if test -n "$AR"; then
1481 echo "$as_me:$LINENO: result: $AR" >&5
1482 echo "${ECHO_T}$AR" >&6
1484 echo "$as_me:$LINENO: result: no" >&5
1485 echo "${ECHO_T}no" >&6
1489 if test -z "$ac_cv_prog_AR"; then
1491 # Extract the first word of "ar", so it can be a program name with args.
1492 set dummy ar; ac_word=$2
1493 echo "$as_me:$LINENO: checking for $ac_word" >&5
1494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1495 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
1496 echo $ECHO_N "(cached) $ECHO_C" >&6
1498 if test -n "$ac_ct_AR"; then
1499 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
1501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 test -z "$as_dir" && as_dir=.
1506 for ac_exec_ext in '' $ac_executable_extensions; do
1507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1508 ac_cv_prog_ac_ct_AR="ar"
1509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1515 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
1518 ac_ct_AR=$ac_cv_prog_ac_ct_AR
1519 if test -n "$ac_ct_AR"; then
1520 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
1521 echo "${ECHO_T}$ac_ct_AR" >&6
1523 echo "$as_me:$LINENO: result: no" >&5
1524 echo "${ECHO_T}no" >&6
1532 if test -n "$ac_tool_prefix"; then
1533 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1534 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1535 echo "$as_me:$LINENO: checking for $ac_word" >&5
1536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1537 if test "${ac_cv_prog_RANLIB+set}" = set; then
1538 echo $ECHO_N "(cached) $ECHO_C" >&6
1540 if test -n "$RANLIB"; then
1541 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1547 test -z "$as_dir" && as_dir=.
1548 for ac_exec_ext in '' $ac_executable_extensions; do
1549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1550 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1559 RANLIB=$ac_cv_prog_RANLIB
1560 if test -n "$RANLIB"; then
1561 echo "$as_me:$LINENO: result: $RANLIB" >&5
1562 echo "${ECHO_T}$RANLIB" >&6
1564 echo "$as_me:$LINENO: result: no" >&5
1565 echo "${ECHO_T}no" >&6
1569 if test -z "$ac_cv_prog_RANLIB"; then
1570 ac_ct_RANLIB=$RANLIB
1571 # Extract the first word of "ranlib", so it can be a program name with args.
1572 set dummy ranlib; ac_word=$2
1573 echo "$as_me:$LINENO: checking for $ac_word" >&5
1574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1575 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1576 echo $ECHO_N "(cached) $ECHO_C" >&6
1578 if test -n "$ac_ct_RANLIB"; then
1579 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1585 test -z "$as_dir" && as_dir=.
1586 for ac_exec_ext in '' $ac_executable_extensions; do
1587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1588 ac_cv_prog_ac_ct_RANLIB="ranlib"
1589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1595 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1598 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1599 if test -n "$ac_ct_RANLIB"; then
1600 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1601 echo "${ECHO_T}$ac_ct_RANLIB" >&6
1603 echo "$as_me:$LINENO: result: no" >&5
1604 echo "${ECHO_T}no" >&6
1607 RANLIB=$ac_ct_RANLIB
1609 RANLIB="$ac_cv_prog_RANLIB"
1612 if test -n "$ac_tool_prefix"; then
1613 # Extract the first word of "${ac_tool_prefix}patch", so it can be a program name with args.
1614 set dummy ${ac_tool_prefix}patch; ac_word=$2
1615 echo "$as_me:$LINENO: checking for $ac_word" >&5
1616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1617 if test "${ac_cv_prog_PATCH+set}" = set; then
1618 echo $ECHO_N "(cached) $ECHO_C" >&6
1620 if test -n "$PATCH"; then
1621 ac_cv_prog_PATCH="$PATCH" # Let the user override the test.
1623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1627 test -z "$as_dir" && as_dir=.
1628 for ac_exec_ext in '' $ac_executable_extensions; do
1629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1630 ac_cv_prog_PATCH="${ac_tool_prefix}patch"
1631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1639 PATCH=$ac_cv_prog_PATCH
1640 if test -n "$PATCH"; then
1641 echo "$as_me:$LINENO: result: $PATCH" >&5
1642 echo "${ECHO_T}$PATCH" >&6
1644 echo "$as_me:$LINENO: result: no" >&5
1645 echo "${ECHO_T}no" >&6
1649 if test -z "$ac_cv_prog_PATCH"; then
1651 # Extract the first word of "patch", so it can be a program name with args.
1652 set dummy patch; ac_word=$2
1653 echo "$as_me:$LINENO: checking for $ac_word" >&5
1654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1655 if test "${ac_cv_prog_ac_ct_PATCH+set}" = set; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1658 if test -n "$ac_ct_PATCH"; then
1659 ac_cv_prog_ac_ct_PATCH="$ac_ct_PATCH" # Let the user override the test.
1661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1665 test -z "$as_dir" && as_dir=.
1666 for ac_exec_ext in '' $ac_executable_extensions; do
1667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1668 ac_cv_prog_ac_ct_PATCH="patch"
1669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1675 test -z "$ac_cv_prog_ac_ct_PATCH" && ac_cv_prog_ac_ct_PATCH=":"
1678 ac_ct_PATCH=$ac_cv_prog_ac_ct_PATCH
1679 if test -n "$ac_ct_PATCH"; then
1680 echo "$as_me:$LINENO: result: $ac_ct_PATCH" >&5
1681 echo "${ECHO_T}$ac_ct_PATCH" >&6
1683 echo "$as_me:$LINENO: result: no" >&5
1684 echo "${ECHO_T}no" >&6
1689 PATCH="$ac_cv_prog_PATCH"
1693 ac_cpp='$CPP $CPPFLAGS'
1694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1695 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1697 if test -n "$ac_tool_prefix"; then
1698 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1699 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1700 echo "$as_me:$LINENO: checking for $ac_word" >&5
1701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1702 if test "${ac_cv_prog_CC+set}" = set; then
1703 echo $ECHO_N "(cached) $ECHO_C" >&6
1705 if test -n "$CC"; then
1706 ac_cv_prog_CC="$CC" # Let the user override the test.
1708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1712 test -z "$as_dir" && as_dir=.
1713 for ac_exec_ext in '' $ac_executable_extensions; do
1714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1715 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1725 if test -n "$CC"; then
1726 echo "$as_me:$LINENO: result: $CC" >&5
1727 echo "${ECHO_T}$CC" >&6
1729 echo "$as_me:$LINENO: result: no" >&5
1730 echo "${ECHO_T}no" >&6
1734 if test -z "$ac_cv_prog_CC"; then
1736 # Extract the first word of "gcc", so it can be a program name with args.
1737 set dummy gcc; ac_word=$2
1738 echo "$as_me:$LINENO: checking for $ac_word" >&5
1739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1740 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1741 echo $ECHO_N "(cached) $ECHO_C" >&6
1743 if test -n "$ac_ct_CC"; then
1744 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1750 test -z "$as_dir" && as_dir=.
1751 for ac_exec_ext in '' $ac_executable_extensions; do
1752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1753 ac_cv_prog_ac_ct_CC="gcc"
1754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1762 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1763 if test -n "$ac_ct_CC"; then
1764 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1765 echo "${ECHO_T}$ac_ct_CC" >&6
1767 echo "$as_me:$LINENO: result: no" >&5
1768 echo "${ECHO_T}no" >&6
1776 if test -z "$CC"; then
1777 if test -n "$ac_tool_prefix"; then
1778 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1779 set dummy ${ac_tool_prefix}cc; ac_word=$2
1780 echo "$as_me:$LINENO: checking for $ac_word" >&5
1781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1782 if test "${ac_cv_prog_CC+set}" = set; then
1783 echo $ECHO_N "(cached) $ECHO_C" >&6
1785 if test -n "$CC"; then
1786 ac_cv_prog_CC="$CC" # Let the user override the test.
1788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1792 test -z "$as_dir" && as_dir=.
1793 for ac_exec_ext in '' $ac_executable_extensions; do
1794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1795 ac_cv_prog_CC="${ac_tool_prefix}cc"
1796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1805 if test -n "$CC"; then
1806 echo "$as_me:$LINENO: result: $CC" >&5
1807 echo "${ECHO_T}$CC" >&6
1809 echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1814 if test -z "$ac_cv_prog_CC"; then
1816 # Extract the first word of "cc", so it can be a program name with args.
1817 set dummy cc; ac_word=$2
1818 echo "$as_me:$LINENO: checking for $ac_word" >&5
1819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1820 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1821 echo $ECHO_N "(cached) $ECHO_C" >&6
1823 if test -n "$ac_ct_CC"; then
1824 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1830 test -z "$as_dir" && as_dir=.
1831 for ac_exec_ext in '' $ac_executable_extensions; do
1832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1833 ac_cv_prog_ac_ct_CC="cc"
1834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1842 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1843 if test -n "$ac_ct_CC"; then
1844 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1845 echo "${ECHO_T}$ac_ct_CC" >&6
1847 echo "$as_me:$LINENO: result: no" >&5
1848 echo "${ECHO_T}no" >&6
1857 if test -z "$CC"; then
1858 # Extract the first word of "cc", so it can be a program name with args.
1859 set dummy cc; ac_word=$2
1860 echo "$as_me:$LINENO: checking for $ac_word" >&5
1861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1862 if test "${ac_cv_prog_CC+set}" = set; then
1863 echo $ECHO_N "(cached) $ECHO_C" >&6
1865 if test -n "$CC"; then
1866 ac_cv_prog_CC="$CC" # Let the user override the test.
1869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1873 test -z "$as_dir" && as_dir=.
1874 for ac_exec_ext in '' $ac_executable_extensions; do
1875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1876 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1877 ac_prog_rejected=yes
1881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1887 if test $ac_prog_rejected = yes; then
1888 # We found a bogon in the path, so make sure we never use it.
1889 set dummy $ac_cv_prog_CC
1891 if test $# != 0; then
1892 # We chose a different compiler from the bogus one.
1893 # However, it has the same basename, so the bogon will be chosen
1894 # first if we set CC to just the basename; use the full file name.
1896 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1902 if test -n "$CC"; then
1903 echo "$as_me:$LINENO: result: $CC" >&5
1904 echo "${ECHO_T}$CC" >&6
1906 echo "$as_me:$LINENO: result: no" >&5
1907 echo "${ECHO_T}no" >&6
1911 if test -z "$CC"; then
1912 if test -n "$ac_tool_prefix"; then
1915 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1916 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1917 echo "$as_me:$LINENO: checking for $ac_word" >&5
1918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1919 if test "${ac_cv_prog_CC+set}" = set; then
1920 echo $ECHO_N "(cached) $ECHO_C" >&6
1922 if test -n "$CC"; then
1923 ac_cv_prog_CC="$CC" # Let the user override the test.
1925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1929 test -z "$as_dir" && as_dir=.
1930 for ac_exec_ext in '' $ac_executable_extensions; do
1931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1932 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1942 if test -n "$CC"; then
1943 echo "$as_me:$LINENO: result: $CC" >&5
1944 echo "${ECHO_T}$CC" >&6
1946 echo "$as_me:$LINENO: result: no" >&5
1947 echo "${ECHO_T}no" >&6
1950 test -n "$CC" && break
1953 if test -z "$CC"; then
1957 # Extract the first word of "$ac_prog", so it can be a program name with args.
1958 set dummy $ac_prog; ac_word=$2
1959 echo "$as_me:$LINENO: checking for $ac_word" >&5
1960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1961 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1962 echo $ECHO_N "(cached) $ECHO_C" >&6
1964 if test -n "$ac_ct_CC"; then
1965 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1971 test -z "$as_dir" && as_dir=.
1972 for ac_exec_ext in '' $ac_executable_extensions; do
1973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1974 ac_cv_prog_ac_ct_CC="$ac_prog"
1975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1983 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1984 if test -n "$ac_ct_CC"; then
1985 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1986 echo "${ECHO_T}$ac_ct_CC" >&6
1988 echo "$as_me:$LINENO: result: no" >&5
1989 echo "${ECHO_T}no" >&6
1992 test -n "$ac_ct_CC" && break
2001 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2002 See \`config.log' for more details.
" >&5
2003 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2004 See \
`config.log' for more details." >&2;}
2005 { (exit 1); exit 1; }; }
2007 # Provide some information about the compiler.
2008 echo "$as_me:$LINENO:" \
2009 "checking for C compiler version" >&5
2010 ac_compiler=`set X
$ac_compile; echo $2`
2011 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2012 (eval $ac_compiler --version </dev/null >&5) 2>&5
2014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2015 (exit $ac_status); }
2016 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2017 (eval $ac_compiler -v </dev/null >&5) 2>&5
2019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2020 (exit $ac_status); }
2021 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2022 (eval $ac_compiler -V </dev/null >&5) 2>&5
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); }
2027 cat >conftest.$ac_ext <<_ACEOF
2028 #line $LINENO "configure"
2031 cat confdefs.h >>conftest.$ac_ext
2032 cat >>conftest.$ac_ext <<_ACEOF
2033 /* end confdefs.h. */
2043 ac_clean_files_save=$ac_clean_files
2044 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2045 # Try to create an executable without -o first, disregard a.out.
2046 # It will help us diagnose broken compilers, and finding out an intuition
2048 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2049 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2050 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2051 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2052 (eval $ac_link_default) 2>&5
2054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055 (exit $ac_status); }; then
2056 # Find the output, starting from the most likely. This scheme is
2057 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
2060 # Be careful to initialize this variable, since it used to be cached.
2061 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
2063 # b.out is created by i960 compilers.
2064 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2066 test -f "$ac_file" || continue
2068 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2071 # This is the source file.
2074 # We found the default executable, but exeext='' is most
2078 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2079 # FIXME: I believe we export ac_cv_exeext for Libtool,
2080 # but it would be cool to find out if it's true. Does anybody
2081 # maintain Libtool? --akim.
2089 echo "$as_me: failed program was:" >&5
2090 sed 's/^/| /' conftest.$ac_ext >&5
2092 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2093 See \`config.log
' for more details." >&5
2094 echo "$as_me: error: C compiler cannot create executables
2095 See \`config.log' for more details.
" >&2;}
2096 { (exit 77); exit 77; }; }
2099 ac_exeext=$ac_cv_exeext
2100 echo "$as_me:$LINENO: result
: $ac_file" >&5
2101 echo "${ECHO_T}$ac_file" >&6
2103 # Check the compiler produces executables we can run. If not, either
2104 # the compiler is broken, or we cross compile.
2105 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2106 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
2107 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2108 # If not cross compiling, check that we can run a simple program.
2109 if test "$cross_compiling" != yes; then
2110 if { ac_try='./$ac_file'
2111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2115 (exit $ac_status); }; }; then
2118 if test "$cross_compiling" = maybe; then
2121 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2122 If you meant to cross compile
, use \
`--host'.
2123 See \`config.log
' for more details." >&5
2124 echo "$as_me: error: cannot run C compiled programs.
2125 If you meant to cross compile, use \`--host'.
2126 See \
`config.log' for more details." >&2;}
2127 { (exit 1); exit 1; }; }
2131 echo "$as_me:$LINENO: result: yes" >&5
2132 echo "${ECHO_T}yes" >&6
2134 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2135 ac_clean_files=$ac_clean_files_save
2136 # Check the compiler produces executables we can run. If not, either
2137 # the compiler is broken, or we cross compile.
2138 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2139 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2140 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2141 echo "${ECHO_T}$cross_compiling" >&6
2143 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2144 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2146 (eval $ac_link) 2>&5
2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 (exit $ac_status); }; then
2150 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2151 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2152 # work properly (i.e., refer to `conftest.exe'), while it won't with
2154 for ac_file
in conftest.exe conftest conftest.
*; do
2155 test -f "$ac_file" ||
continue
2157 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2158 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2165 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2166 See \`config.log' for more details." >&5
2167 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2168 See \`config.log' for more details." >&2;}
2169 { (exit 1); exit 1; }; }
2172 rm -f conftest
$ac_cv_exeext
2173 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2174 echo "${ECHO_T}$ac_cv_exeext" >&6
2176 rm -f conftest.
$ac_ext
2177 EXEEXT
=$ac_cv_exeext
2179 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2180 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2181 if test "${ac_cv_objext+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2184 cat >conftest.
$ac_ext <<_ACEOF
2185 #line $LINENO "configure"
2188 cat confdefs.h
>>conftest.
$ac_ext
2189 cat >>conftest.
$ac_ext <<_ACEOF
2190 /* end confdefs.h. */
2200 rm -f conftest.o conftest.obj
2201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2202 (eval $ac_compile) 2>&5
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); }; then
2206 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2208 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2209 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2214 echo "$as_me: failed program was:" >&5
2215 sed 's/^/| /' conftest.
$ac_ext >&5
2217 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2218 See \`config.log' for more details." >&5
2219 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2220 See \`config.log' for more details." >&2;}
2221 { (exit 1); exit 1; }; }
2224 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2226 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2227 echo "${ECHO_T}$ac_cv_objext" >&6
2228 OBJEXT
=$ac_cv_objext
2230 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2231 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2232 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2233 echo $ECHO_N "(cached) $ECHO_C" >&6
2235 cat >conftest.
$ac_ext <<_ACEOF
2236 #line $LINENO "configure"
2239 cat confdefs.h
>>conftest.
$ac_ext
2240 cat >>conftest.
$ac_ext <<_ACEOF
2241 /* end confdefs.h. */
2254 rm -f conftest.
$ac_objext
2255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2256 (eval $ac_compile) 2>&5
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); } &&
2260 { ac_try
='test -s conftest.$ac_objext'
2261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }; }; then
2268 echo "$as_me: failed program was:" >&5
2269 sed 's/^/| /' conftest.
$ac_ext >&5
2273 rm -f conftest.
$ac_objext conftest.
$ac_ext
2274 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2277 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2278 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2279 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2280 ac_test_CFLAGS
=${CFLAGS+set}
2281 ac_save_CFLAGS
=$CFLAGS
2283 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2284 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2285 if test "${ac_cv_prog_cc_g+set}" = set; then
2286 echo $ECHO_N "(cached) $ECHO_C" >&6
2288 cat >conftest.
$ac_ext <<_ACEOF
2289 #line $LINENO "configure"
2292 cat confdefs.h
>>conftest.
$ac_ext
2293 cat >>conftest.
$ac_ext <<_ACEOF
2294 /* end confdefs.h. */
2304 rm -f conftest.
$ac_objext
2305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2306 (eval $ac_compile) 2>&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); } &&
2310 { ac_try
='test -s conftest.$ac_objext'
2311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); }; }; then
2318 echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.
$ac_ext >&5
2323 rm -f conftest.
$ac_objext conftest.
$ac_ext
2325 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2326 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2327 if test "$ac_test_CFLAGS" = set; then
2328 CFLAGS
=$ac_save_CFLAGS
2329 elif test $ac_cv_prog_cc_g = yes; then
2330 if test "$GCC" = yes; then
2336 if test "$GCC" = yes; then
2342 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2343 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2344 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2345 echo $ECHO_N "(cached) $ECHO_C" >&6
2347 ac_cv_prog_cc_stdc
=no
2349 cat >conftest.
$ac_ext <<_ACEOF
2350 #line $LINENO "configure"
2353 cat confdefs.h
>>conftest.
$ac_ext
2354 cat >>conftest.
$ac_ext <<_ACEOF
2355 /* end confdefs.h. */
2358 #include <sys/types.h>
2359 #include <sys/stat.h>
2360 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2361 struct buf { int x; };
2362 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2363 static char *e (p, i)
2369 static char *f (char * (*g) (char **, int), char **p, ...)
2374 s = g (p, va_arg (v,int));
2378 int test (int i, double x);
2379 struct s1 {int (*f) (int a);};
2380 struct s2 {int (*f) (double a);};
2381 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2387 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2392 # Don't try gcc -ansi; that turns off useful extensions and
2393 # breaks some systems' header files.
2394 # AIX -qlanglvl=ansi
2395 # Ultrix and OSF/1 -std1
2396 # HP-UX 10.20 and later -Ae
2397 # HP-UX older versions -Aa -D_HPUX_SOURCE
2398 # SVR4 -Xc -D__EXTENSIONS__
2399 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2401 CC
="$ac_save_CC $ac_arg"
2402 rm -f conftest.
$ac_objext
2403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2404 (eval $ac_compile) 2>&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); } &&
2408 { ac_try
='test -s conftest.$ac_objext'
2409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }; }; then
2414 ac_cv_prog_cc_stdc
=$ac_arg
2417 echo "$as_me: failed program was:" >&5
2418 sed 's/^/| /' conftest.
$ac_ext >&5
2421 rm -f conftest.
$ac_objext
2423 rm -f conftest.
$ac_ext conftest.
$ac_objext
2428 case "x$ac_cv_prog_cc_stdc" in
2430 echo "$as_me:$LINENO: result: none needed" >&5
2431 echo "${ECHO_T}none needed" >&6 ;;
2433 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2434 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2435 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2438 # Some people use a C++ compiler to compile C. Since we use `exit',
2439 # in C++ we need to declare it. In case someone uses the same compiler
2440 # for both compiling C and C++ we need to have the C++ compiler decide
2441 # the declaration of exit, since it's the most demanding environment.
2442 cat >conftest.
$ac_ext <<_ACEOF
2447 rm -f conftest.
$ac_objext
2448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2449 (eval $ac_compile) 2>&5
2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452 (exit $ac_status); } &&
2453 { ac_try
='test -s conftest.$ac_objext'
2454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458 (exit $ac_status); }; }; then
2459 for ac_declaration
in \
2461 '#include <stdlib.h>' \
2462 'extern "C" void std::exit (int) throw (); using std::exit;' \
2463 'extern "C" void std::exit (int); using std::exit;' \
2464 'extern "C" void exit (int) throw ();' \
2465 'extern "C" void exit (int);' \
2468 cat >conftest.
$ac_ext <<_ACEOF
2469 #line $LINENO "configure"
2472 cat confdefs.h
>>conftest.
$ac_ext
2473 cat >>conftest.
$ac_ext <<_ACEOF
2474 /* end confdefs.h. */
2485 rm -f conftest.
$ac_objext
2486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2487 (eval $ac_compile) 2>&5
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); } &&
2491 { ac_try
='test -s conftest.$ac_objext'
2492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); }; }; then
2499 echo "$as_me: failed program was:" >&5
2500 sed 's/^/| /' conftest.
$ac_ext >&5
2504 rm -f conftest.
$ac_objext conftest.
$ac_ext
2505 cat >conftest.
$ac_ext <<_ACEOF
2506 #line $LINENO "configure"
2509 cat confdefs.h
>>conftest.
$ac_ext
2510 cat >>conftest.
$ac_ext <<_ACEOF
2511 /* end confdefs.h. */
2521 rm -f conftest.
$ac_objext
2522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2523 (eval $ac_compile) 2>&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); } &&
2527 { ac_try
='test -s conftest.$ac_objext'
2528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 (exit $ac_status); }; }; then
2535 echo "$as_me: failed program was:" >&5
2536 sed 's/^/| /' conftest.
$ac_ext >&5
2539 rm -f conftest.
$ac_objext conftest.
$ac_ext
2542 if test -n "$ac_declaration"; then
2543 echo '#ifdef __cplusplus' >>confdefs.h
2544 echo $ac_declaration >>confdefs.h
2545 echo '#endif' >>confdefs.h
2549 echo "$as_me: failed program was:" >&5
2550 sed 's/^/| /' conftest.
$ac_ext >&5
2553 rm -f conftest.
$ac_objext conftest.
$ac_ext
2555 ac_cpp
='$CPP $CPPFLAGS'
2556 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2557 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2558 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2561 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
2562 if test -f $ac_dir/install-sh
; then
2564 ac_install_sh
="$ac_aux_dir/install-sh -c"
2566 elif test -f $ac_dir/install.sh
; then
2568 ac_install_sh
="$ac_aux_dir/install.sh -c"
2570 elif test -f $ac_dir/shtool
; then
2572 ac_install_sh
="$ac_aux_dir/shtool install -c"
2576 if test -z "$ac_aux_dir"; then
2577 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2578 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2579 { (exit 1); exit 1; }; }
2581 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2582 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2583 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2585 # Find a good install program. We prefer a C program (faster),
2586 # so one script is as good as another. But avoid the broken or
2587 # incompatible versions:
2588 # SysV /etc/install, /usr/sbin/install
2589 # SunOS /usr/etc/install
2590 # IRIX /sbin/install
2592 # AmigaOS /C/install, which installs bootblocks on floppy discs
2593 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2594 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2595 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2596 # ./install, which can be erroneously created by make from ./install.sh.
2597 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2598 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2599 if test -z "$INSTALL"; then
2600 if test "${ac_cv_path_install+set}" = set; then
2601 echo $ECHO_N "(cached) $ECHO_C" >&6
2603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2607 test -z "$as_dir" && as_dir
=.
2608 # Account for people who put trailing slashes in PATH elements.
2610 .
/ | .
// |
/cC
/* | \
2611 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2614 # OSF1 and SCO ODT 3.0 have their own names for install.
2615 # Don't use installbsd from OSF since it installs stuff as root
2617 for ac_prog
in ginstall scoinst
install; do
2618 for ac_exec_ext
in '' $ac_executable_extensions; do
2619 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2620 if test $ac_prog = install &&
2621 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2622 # AIX install. It has an incompatible calling convention.
2624 elif test $ac_prog = install &&
2625 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2626 # program-specific install script used by HP pwplus--don't use.
2629 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2641 if test "${ac_cv_path_install+set}" = set; then
2642 INSTALL
=$ac_cv_path_install
2644 # As a last resort, use the slow shell script. We don't cache a
2645 # path for INSTALL within a source directory, because that will
2646 # break other packages using the cache if that directory is
2647 # removed, or if the path is relative.
2648 INSTALL
=$ac_install_sh
2651 echo "$as_me:$LINENO: result: $INSTALL" >&5
2652 echo "${ECHO_T}$INSTALL" >&6
2654 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2655 # It thinks the first close brace ends the variable substitution.
2656 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2658 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2660 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2665 ac_cpp
='$CPP $CPPFLAGS'
2666 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2667 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2668 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2669 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2670 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2671 # On Suns, sometimes $CPP names a directory.
2672 if test -n "$CPP" && test -d "$CPP"; then
2675 if test -z "$CPP"; then
2676 if test "${ac_cv_prog_CPP+set}" = set; then
2677 echo $ECHO_N "(cached) $ECHO_C" >&6
2679 # Double quotes because CPP needs to be expanded
2680 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2683 for ac_c_preproc_warn_flag
in '' yes
2685 # Use a header file that comes with gcc, so configuring glibc
2686 # with a fresh cross-compiler works.
2687 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2688 # <limits.h> exists even on freestanding compilers.
2689 # On the NeXT, cc -E runs the code through the compiler's parser,
2690 # not just through cpp. "Syntax error" is here to catch this case.
2691 cat >conftest.
$ac_ext <<_ACEOF
2692 #line $LINENO "configure"
2695 cat confdefs.h
>>conftest.
$ac_ext
2696 cat >>conftest.
$ac_ext <<_ACEOF
2697 /* end confdefs.h. */
2699 # include <limits.h>
2701 # include <assert.h>
2705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2706 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2708 grep -v '^ *+' conftest.er1
>conftest.err
2710 cat conftest.err
>&5
2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); } >/dev
/null
; then
2713 if test -s conftest.err
; then
2714 ac_cpp_err
=$ac_c_preproc_warn_flag
2721 if test -z "$ac_cpp_err"; then
2724 echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.
$ac_ext >&5
2727 # Broken: fails on valid input.
2730 rm -f conftest.err conftest.
$ac_ext
2732 # OK, works on sane cases. Now check whether non-existent headers
2733 # can be detected and how.
2734 cat >conftest.
$ac_ext <<_ACEOF
2735 #line $LINENO "configure"
2738 cat confdefs.h
>>conftest.
$ac_ext
2739 cat >>conftest.
$ac_ext <<_ACEOF
2740 /* end confdefs.h. */
2741 #include <ac_nonexistent.h>
2743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2744 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2746 grep -v '^ *+' conftest.er1
>conftest.err
2748 cat conftest.err
>&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); } >/dev
/null
; then
2751 if test -s conftest.err
; then
2752 ac_cpp_err
=$ac_c_preproc_warn_flag
2759 if test -z "$ac_cpp_err"; then
2760 # Broken: success on invalid input.
2763 echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.
$ac_ext >&5
2766 # Passes both tests.
2770 rm -f conftest.err conftest.
$ac_ext
2773 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2774 rm -f conftest.err conftest.
$ac_ext
2775 if $ac_preproc_ok; then
2787 echo "$as_me:$LINENO: result: $CPP" >&5
2788 echo "${ECHO_T}$CPP" >&6
2790 for ac_c_preproc_warn_flag
in '' yes
2792 # Use a header file that comes with gcc, so configuring glibc
2793 # with a fresh cross-compiler works.
2794 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2795 # <limits.h> exists even on freestanding compilers.
2796 # On the NeXT, cc -E runs the code through the compiler's parser,
2797 # not just through cpp. "Syntax error" is here to catch this case.
2798 cat >conftest.
$ac_ext <<_ACEOF
2799 #line $LINENO "configure"
2802 cat confdefs.h
>>conftest.
$ac_ext
2803 cat >>conftest.
$ac_ext <<_ACEOF
2804 /* end confdefs.h. */
2806 # include <limits.h>
2808 # include <assert.h>
2812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2813 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2815 grep -v '^ *+' conftest.er1
>conftest.err
2817 cat conftest.err
>&5
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); } >/dev
/null
; then
2820 if test -s conftest.err
; then
2821 ac_cpp_err
=$ac_c_preproc_warn_flag
2828 if test -z "$ac_cpp_err"; then
2831 echo "$as_me: failed program was:" >&5
2832 sed 's/^/| /' conftest.
$ac_ext >&5
2834 # Broken: fails on valid input.
2837 rm -f conftest.err conftest.
$ac_ext
2839 # OK, works on sane cases. Now check whether non-existent headers
2840 # can be detected and how.
2841 cat >conftest.
$ac_ext <<_ACEOF
2842 #line $LINENO "configure"
2845 cat confdefs.h
>>conftest.
$ac_ext
2846 cat >>conftest.
$ac_ext <<_ACEOF
2847 /* end confdefs.h. */
2848 #include <ac_nonexistent.h>
2850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2851 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2853 grep -v '^ *+' conftest.er1
>conftest.err
2855 cat conftest.err
>&5
2856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857 (exit $ac_status); } >/dev
/null
; then
2858 if test -s conftest.err
; then
2859 ac_cpp_err
=$ac_c_preproc_warn_flag
2866 if test -z "$ac_cpp_err"; then
2867 # Broken: success on invalid input.
2870 echo "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.
$ac_ext >&5
2873 # Passes both tests.
2877 rm -f conftest.err conftest.
$ac_ext
2880 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2881 rm -f conftest.err conftest.
$ac_ext
2882 if $ac_preproc_ok; then
2885 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2886 See \`config.log' for more details." >&5
2887 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2888 See \`config.log' for more details." >&2;}
2889 { (exit 1); exit 1; }; }
2893 ac_cpp
='$CPP $CPPFLAGS'
2894 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2895 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2896 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2899 echo "$as_me:$LINENO: checking for egrep" >&5
2900 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2901 if test "${ac_cv_prog_egrep+set}" = set; then
2902 echo $ECHO_N "(cached) $ECHO_C" >&6
2904 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2905 then ac_cv_prog_egrep
='grep -E'
2906 else ac_cv_prog_egrep
='egrep'
2909 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2910 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2911 EGREP
=$ac_cv_prog_egrep
2914 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2915 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2916 if test "${ac_cv_header_stdc+set}" = set; then
2917 echo $ECHO_N "(cached) $ECHO_C" >&6
2919 cat >conftest.
$ac_ext <<_ACEOF
2920 #line $LINENO "configure"
2923 cat confdefs.h
>>conftest.
$ac_ext
2924 cat >>conftest.
$ac_ext <<_ACEOF
2925 /* end confdefs.h. */
2939 rm -f conftest.
$ac_objext
2940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2941 (eval $ac_compile) 2>&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 (exit $ac_status); } &&
2945 { ac_try
='test -s conftest.$ac_objext'
2946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); }; }; then
2951 ac_cv_header_stdc
=yes
2953 echo "$as_me: failed program was:" >&5
2954 sed 's/^/| /' conftest.
$ac_ext >&5
2956 ac_cv_header_stdc
=no
2958 rm -f conftest.
$ac_objext conftest.
$ac_ext
2960 if test $ac_cv_header_stdc = yes; then
2961 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2962 cat >conftest.
$ac_ext <<_ACEOF
2963 #line $LINENO "configure"
2966 cat confdefs.h
>>conftest.
$ac_ext
2967 cat >>conftest.
$ac_ext <<_ACEOF
2968 /* end confdefs.h. */
2972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2973 $EGREP "memchr" >/dev
/null
2>&1; then
2976 ac_cv_header_stdc
=no
2982 if test $ac_cv_header_stdc = yes; then
2983 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2984 cat >conftest.
$ac_ext <<_ACEOF
2985 #line $LINENO "configure"
2988 cat confdefs.h
>>conftest.
$ac_ext
2989 cat >>conftest.
$ac_ext <<_ACEOF
2990 /* end confdefs.h. */
2994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2995 $EGREP "free" >/dev
/null
2>&1; then
2998 ac_cv_header_stdc
=no
3004 if test $ac_cv_header_stdc = yes; then
3005 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3006 if test "$cross_compiling" = yes; then
3009 cat >conftest.
$ac_ext <<_ACEOF
3010 #line $LINENO "configure"
3013 cat confdefs.h
>>conftest.
$ac_ext
3014 cat >>conftest.
$ac_ext <<_ACEOF
3015 /* end confdefs.h. */
3017 #if ((' ' & 0x0FF) == 0x020)
3018 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3019 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3021 # define ISLOWER(c) \
3022 (('a' <= (c) && (c) <= 'i') \
3023 || ('j' <= (c) && (c) <= 'r') \
3024 || ('s' <= (c) && (c) <= 'z'))
3025 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3028 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3033 for (i = 0; i < 256; i++)
3034 if (XOR (islower (i), ISLOWER (i))
3035 || toupper (i) != TOUPPER (i))
3040 rm -f conftest
$ac_exeext
3041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3042 (eval $ac_link) 2>&5
3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); }; }; then
3053 echo "$as_me: program exited with status $ac_status" >&5
3054 echo "$as_me: failed program was:" >&5
3055 sed 's/^/| /' conftest.
$ac_ext >&5
3058 ac_cv_header_stdc
=no
3060 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3064 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3065 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3066 if test $ac_cv_header_stdc = yes; then
3068 cat >>confdefs.h
<<\_ACEOF
3069 #define STDC_HEADERS 1
3074 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3084 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3085 inttypes.h stdint.h unistd.h
3087 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3088 echo "$as_me:$LINENO: checking for $ac_header" >&5
3089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3091 echo $ECHO_N "(cached) $ECHO_C" >&6
3093 cat >conftest.
$ac_ext <<_ACEOF
3094 #line $LINENO "configure"
3097 cat confdefs.h
>>conftest.
$ac_ext
3098 cat >>conftest.
$ac_ext <<_ACEOF
3099 /* end confdefs.h. */
3100 $ac_includes_default
3102 #include <$ac_header>
3104 rm -f conftest.
$ac_objext
3105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3106 (eval $ac_compile) 2>&5
3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); } &&
3110 { ac_try
='test -s conftest.$ac_objext'
3111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }; }; then
3116 eval "$as_ac_Header=yes"
3118 echo "$as_me: failed program was:" >&5
3119 sed 's/^/| /' conftest.
$ac_ext >&5
3121 eval "$as_ac_Header=no"
3123 rm -f conftest.
$ac_objext conftest.
$ac_ext
3125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3128 cat >>confdefs.h
<<_ACEOF
3129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3138 for ac_header
in sys
/types.h
3140 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3142 echo "$as_me:$LINENO: checking for $ac_header" >&5
3143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3145 echo $ECHO_N "(cached) $ECHO_C" >&6
3147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3150 # Is the header compilable?
3151 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3152 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3153 cat >conftest.
$ac_ext <<_ACEOF
3154 #line $LINENO "configure"
3157 cat confdefs.h
>>conftest.
$ac_ext
3158 cat >>conftest.
$ac_ext <<_ACEOF
3159 /* end confdefs.h. */
3160 $ac_includes_default
3161 #include <$ac_header>
3163 rm -f conftest.
$ac_objext
3164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3165 (eval $ac_compile) 2>&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); } &&
3169 { ac_try
='test -s conftest.$ac_objext'
3170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); }; }; then
3175 ac_header_compiler
=yes
3177 echo "$as_me: failed program was:" >&5
3178 sed 's/^/| /' conftest.
$ac_ext >&5
3180 ac_header_compiler
=no
3182 rm -f conftest.
$ac_objext conftest.
$ac_ext
3183 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3184 echo "${ECHO_T}$ac_header_compiler" >&6
3186 # Is the header present?
3187 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3188 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3189 cat >conftest.
$ac_ext <<_ACEOF
3190 #line $LINENO "configure"
3193 cat confdefs.h
>>conftest.
$ac_ext
3194 cat >>conftest.
$ac_ext <<_ACEOF
3195 /* end confdefs.h. */
3196 #include <$ac_header>
3198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3199 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3201 grep -v '^ *+' conftest.er1
>conftest.err
3203 cat conftest.err
>&5
3204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205 (exit $ac_status); } >/dev
/null
; then
3206 if test -s conftest.err
; then
3207 ac_cpp_err
=$ac_c_preproc_warn_flag
3214 if test -z "$ac_cpp_err"; then
3215 ac_header_preproc
=yes
3217 echo "$as_me: failed program was:" >&5
3218 sed 's/^/| /' conftest.
$ac_ext >&5
3220 ac_header_preproc
=no
3222 rm -f conftest.err conftest.
$ac_ext
3223 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3224 echo "${ECHO_T}$ac_header_preproc" >&6
3226 # So? What about this header?
3227 case $ac_header_compiler:$ac_header_preproc in
3229 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3230 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3231 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3232 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3235 ## ------------------------------------ ##
3236 ## Report this to bug-autoconf@gnu.org. ##
3237 ## ------------------------------------ ##
3240 sed "s/^/$as_me: WARNING: /" >&2
3243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3248 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3251 ## ------------------------------------ ##
3252 ## Report this to bug-autoconf@gnu.org. ##
3253 ## ------------------------------------ ##
3256 sed "s/^/$as_me: WARNING: /" >&2
3259 echo "$as_me:$LINENO: checking for $ac_header" >&5
3260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3262 echo $ECHO_N "(cached) $ECHO_C" >&6
3264 eval "$as_ac_Header=$ac_header_preproc"
3266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3271 cat >>confdefs.h
<<_ACEOF
3272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3280 CPPFLAGS
="-D_BSD_SOURCE -D_USE_BSD_SIGNAL ${CPPFLAGS}"
3282 # Check whether --enable-debug or --disable-debug was given.
3283 if test "${enable_debug+set}" = set; then
3284 enableval
="$enable_debug"
3285 if test "$enableval" = "no"
3289 echo "Not including debugging code"
3291 DUMPDEBUG
="-DFDEBUG -DTDEBUG -DWRITEDEBUG -DDIRDEBUG"
3292 RESTOREDEBUG
="-DDIRDEBUG"
3293 echo "Including debugging code"
3298 echo "Not including debugging code by default"
3304 # Check whether --enable-static or --disable-static was given.
3305 if test "${enable_static+set}" = set; then
3306 enableval
="$enable_static"
3307 if test "$enableval" = "no"
3310 echo "Linking dump and restore dynamically"
3313 echo "Linking dump and restore statically"
3318 echo "Linking dump and restore dynamically by default"
3323 # Check whether --enable-rmt or --disable-rmt was given.
3324 if test "${enable_rmt+set}" = set; then
3325 enableval
="$enable_rmt"
3326 if test "$enableval" = "no"
3330 echo "Not compiling rmt"
3333 RMTMAKEFILE
="rmt/Makefile"
3334 echo "Compiling rmt"
3339 RMTMAKEFILE
="rmt/Makefile"
3340 echo "Compiling rmt by default"
3345 # Check whether --enable-ermt or --disable-ermt was given.
3346 if test "${enable_ermt+set}" = set; then
3347 enableval
="$enable_ermt"
3348 if test "$enableval" = "no"
3352 echo "Not compiling ermt"
3354 if test "$RMTDIR" = ""
3356 { { echo "$as_me:$LINENO: error: ermt requires --enable-rmt" >&5
3357 echo "$as_me: error: ermt requires --enable-rmt" >&2;}
3358 { (exit 1); exit 1; }; }
3362 echo "Compiling ermt"
3368 echo "Not compiling ermt by default"
3374 # Check whether --enable-kerberos or --disable-kerberos was given.
3375 if test "${enable_kerberos+set}" = set; then
3376 enableval
="$enable_kerberos"
3377 if test "$enableval" = "yes"
3379 OPTDEFS
="-DKERBEROS"
3380 echo "Compiling kerberos extensions"
3383 echo "Not compiling kerberos extensions"
3388 echo "Not compiling kerberos extensions by default"
3393 # Check whether --enable-readline or --disable-readline was given.
3394 if test "${enable_readline+set}" = set; then
3395 enableval
="$enable_readline"
3396 if test "$enableval" = "no"
3399 echo "Not including readline support"
3401 READLINE
="-lreadline -ltermcap"
3403 cat >>confdefs.h
<<\_ACEOF
3404 #define HAVE_READLINE 1
3407 echo "Including readline support"
3411 READLINE
="-lreadline -ltermcap"
3413 cat >>confdefs.h
<<\_ACEOF
3414 #define HAVE_READLINE 1
3417 echo "Including readline support by default"
3422 # Check whether --enable-oldstylefscript or --disable-oldstylefscript was given.
3423 if test "${enable_oldstylefscript+set}" = set; then
3424 enableval
="$enable_oldstylefscript"
3425 if test "$enableval" = "yes"
3428 cat >>confdefs.h
<<\_ACEOF
3429 #define OLD_STYLE_FSCRIPT 1
3432 echo "Using old style F script"
3434 echo "Using new style F script"
3438 echo "Using new style F script by default"
3442 # Check whether --enable-largefile or --disable-largefile was given.
3443 if test "${enable_largefile+set}" = set; then
3444 enableval
="$enable_largefile"
3445 if test "$enableval" = "yes"
3448 cat >>confdefs.h
<<\_ACEOF
3452 echo "Enabling Large File System support"
3454 echo "Not enabling Large File System support"
3459 cat >>confdefs.h
<<\_ACEOF
3463 echo "Enabling Large File System support by default"
3467 # Check whether --enable-qfa or --disable-qfa was given.
3468 if test "${enable_qfa+set}" = set; then
3469 enableval
="$enable_qfa"
3470 if test "$enableval" = "yes"
3473 cat >>confdefs.h
<<\_ACEOF
3477 echo "Enabling Quick File Access support"
3479 echo "Not enabling Quick File Access support"
3484 cat >>confdefs.h
<<\_ACEOF
3488 echo "Enabling Quick File Access support by default"
3492 # Check whether --enable-qfadebug or --disable-qfadebug was given.
3493 if test "${enable_qfadebug+set}" = set; then
3494 enableval
="$enable_qfadebug"
3495 if test "$enableval" = "yes"
3498 cat >>confdefs.h
<<\_ACEOF
3502 echo "Including Quick File Access debugging code"
3504 echo "Not including Quick File Access debugging code"
3508 echo "Not including Quick File Access debugging code by default"
3512 # Check whether --enable-macosx or --disable-macosx was given.
3513 if test "${enable_macosx+set}" = set; then
3514 enableval
="$enable_macosx"
3515 if test "$enableval" = "yes"
3518 cat >>confdefs.h
<<\_ACEOF
3519 #define DUMP_MACOSX 1
3522 echo "Including Mac OSX restore compatibility code"
3524 echo "Not including Mac OSX restore compatibility code"
3528 echo "Not including Mac OSX restore compatibility code by default"
3534 # Check whether --with-cc or --without-cc was given.
3535 if test "${with_cc+set}" = set; then
3537 echo "$as_me:$LINENO: result: CC=$withval" >&5
3538 echo "${ECHO_T}CC=$withval" >&6
3541 if test -z "$CC" ; then CC
=cc
; fi
3542 echo "$as_me:$LINENO: result: CC defaults to $CC" >&5
3543 echo "${ECHO_T}CC defaults to $CC" >&6
3548 # Check whether --with-linker or --without-linker was given.
3549 if test "${with_linker+set}" = set; then
3550 withval
="$with_linker"
3551 echo "$as_me:$LINENO: result: LD=$withval" >&5
3552 echo "${ECHO_T}LD=$withval" >&6
3555 if test -z "$LD" ; then LD
=$CC; fi
3556 echo "$as_me:$LINENO: result: LD defaults to $LD" >&5
3557 echo "${ECHO_T}LD defaults to $LD" >&6
3562 # Check whether --with-ccopts or --without-ccopts was given.
3563 if test "${with_ccopts+set}" = set; then
3564 withval
="$with_ccopts"
3565 echo "$as_me:$LINENO: result: CCOPTS is $withval" >&5
3566 echo "${ECHO_T}CCOPTS is $withval" >&6
3568 CFLAGS
="$CFLAGS $withval"
3574 # Check whether --with-ldopts or --without-ldopts was given.
3575 if test "${with_ldopts+set}" = set; then
3576 withval
="$with_ldopts"
3577 echo "$as_me:$LINENO: result: LDFLAGS is $withval" >&5
3578 echo "${ECHO_T}LDFLAGS is $withval" >&6
3580 LDFLAGS
="$LDFLAGS $withval"
3586 # Check whether --with-binowner or --without-binowner was given.
3587 if test "${with_binowner+set}" = set; then
3588 withval
="$with_binowner"
3589 echo "$as_me:$LINENO: result: BINOWNER is $withval" >&5
3590 echo "${ECHO_T}BINOWNER is $withval" >&6
3594 echo "BINOWNER defaults to $BINOWNER"
3599 # Check whether --with-bingrp or --without-bingrp was given.
3600 if test "${with_bingrp+set}" = set; then
3601 withval
="$with_bingrp"
3602 echo "$as_me:$LINENO: result: BINGRP is $withval" >&5
3603 echo "${ECHO_T}BINGRP is $withval" >&6
3607 echo "BINGRP defaults to $BINGRP"
3612 # Check whether --with-binmode or --without-binmode was given.
3613 if test "${with_binmode+set}" = set; then
3614 withval
="$with_binmode"
3615 echo "$as_me:$LINENO: result: BINMODE is $withval" >&5
3616 echo "${ECHO_T}BINMODE is $withval" >&6
3620 echo "BINMODE defaults to $BINMODE"
3625 # Check whether --with-manowner or --without-manowner was given.
3626 if test "${with_manowner+set}" = set; then
3627 withval
="$with_manowner"
3628 echo "$as_me:$LINENO: result: MANOWNER is $withval" >&5
3629 echo "${ECHO_T}MANOWNER is $withval" >&6
3633 echo "MANOWNER defaults to $MANOWNER"
3638 # Check whether --with-mangrp or --without-mangrp was given.
3639 if test "${with_mangrp+set}" = set; then
3640 withval
="$with_mangrp"
3641 echo "$as_me:$LINENO: result: MANGRP is $withval" >&5
3642 echo "${ECHO_T}MANGRP is $withval" >&6
3646 echo "MANGRP defaults to $MANGRP"
3651 # Check whether --with-manmode or --without-manmode was given.
3652 if test "${with_manmode+set}" = set; then
3653 withval
="$with_manmode"
3654 echo "$as_me:$LINENO: result: MANMODE is $withval" >&5
3655 echo "${ECHO_T}MANMODE is $withval" >&6
3659 echo "MANMODE defaults to $MANMODE"
3664 # Check whether --with-dumpdatespath or --without-dumpdatespath was given.
3665 if test "${with_dumpdatespath+set}" = set; then
3666 withval
="$with_dumpdatespath"
3667 echo "$as_me:$LINENO: result: DUMPDATESPATH is $withval" >&5
3668 echo "${ECHO_T}DUMPDATESPATH is $withval" >&6
3669 DUMPDATESPATH
=$withval
3671 DUMPDATESPATH
="${sysconfdir}/dumpdates"
3672 echo "DUMPDATESPATH defaults to $DUMPDATESPATH"
3676 echo "$as_me:$LINENO: checking for ext2fs/ext2fs.h" >&5
3677 echo $ECHO_N "checking for ext2fs/ext2fs.h... $ECHO_C" >&6
3678 if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then
3679 echo $ECHO_N "(cached) $ECHO_C" >&6
3681 cat >conftest.
$ac_ext <<_ACEOF
3682 #line $LINENO "configure"
3685 cat confdefs.h
>>conftest.
$ac_ext
3686 cat >>conftest.
$ac_ext <<_ACEOF
3687 /* end confdefs.h. */
3688 #include <ext2fs/ext2fs.h>
3690 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3691 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3693 grep -v '^ *+' conftest.er1
>conftest.err
3695 cat conftest.err
>&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); } >/dev
/null
; then
3698 if test -s conftest.err
; then
3699 ac_cpp_err
=$ac_c_preproc_warn_flag
3706 if test -z "$ac_cpp_err"; then
3707 ac_cv_header_ext2fs_ext2fs_h
=yes
3709 echo "$as_me: failed program was:" >&5
3710 sed 's/^/| /' conftest.
$ac_ext >&5
3712 ac_cv_header_ext2fs_ext2fs_h
=no
3714 rm -f conftest.err conftest.
$ac_ext
3716 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2fs_h" >&5
3717 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2fs_h" >&6
3718 if test $ac_cv_header_ext2fs_ext2fs_h = yes; then
3725 echo "$as_me:$LINENO: checking for ext2fs_open in -lext2fs" >&5
3726 echo $ECHO_N "checking for ext2fs_open in -lext2fs... $ECHO_C" >&6
3727 if test "${ac_cv_lib_ext2fs_ext2fs_open+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 ac_check_lib_save_LIBS
=$LIBS
3731 LIBS
="-lext2fs -lcom_err $LIBS"
3732 cat >conftest.
$ac_ext <<_ACEOF
3733 #line $LINENO "configure"
3736 cat confdefs.h
>>conftest.
$ac_ext
3737 cat >>conftest.
$ac_ext <<_ACEOF
3738 /* end confdefs.h. */
3740 /* Override any gcc2 internal prototype to avoid an error. */
3744 /* We use char because int might match the return type of a gcc2
3745 builtin and then its argument prototype would still apply. */
3746 char ext2fs_open ();
3755 rm -f conftest.
$ac_objext conftest
$ac_exeext
3756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3757 (eval $ac_link) 2>&5
3759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760 (exit $ac_status); } &&
3761 { ac_try
='test -s conftest$ac_exeext'
3762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); }; }; then
3767 ac_cv_lib_ext2fs_ext2fs_open
=yes
3769 echo "$as_me: failed program was:" >&5
3770 sed 's/^/| /' conftest.
$ac_ext >&5
3772 ac_cv_lib_ext2fs_ext2fs_open
=no
3774 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3775 LIBS
=$ac_check_lib_save_LIBS
3777 echo "$as_me:$LINENO: result: $ac_cv_lib_ext2fs_ext2fs_open" >&5
3778 echo "${ECHO_T}$ac_cv_lib_ext2fs_ext2fs_open" >&6
3779 if test $ac_cv_lib_ext2fs_ext2fs_open = yes; then
3785 if test "$ext2fs_h" = no
-o "$ext2fs_lib" = no
; then
3786 { { echo "$as_me:$LINENO: error: You need to install the Ext2fs libraries from the E2fsprogs distribution first - hint: make install-libs" >&5
3787 echo "$as_me: error: You need to install the Ext2fs libraries from the E2fsprogs distribution first - hint: make install-libs" >&2;}
3788 { (exit 1); exit 1; }; }
3792 for ac_header
in ext2fs
/ext2_fs.h
3794 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3795 echo "$as_me:$LINENO: checking for $ac_header" >&5
3796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3798 echo $ECHO_N "(cached) $ECHO_C" >&6
3800 cat >conftest.
$ac_ext <<_ACEOF
3801 #line $LINENO "configure"
3804 cat confdefs.h
>>conftest.
$ac_ext
3805 cat >>conftest.
$ac_ext <<_ACEOF
3806 /* end confdefs.h. */
3807 #include <$ac_header>
3809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3810 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3812 grep -v '^ *+' conftest.er1
>conftest.err
3814 cat conftest.err
>&5
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816 (exit $ac_status); } >/dev
/null
; then
3817 if test -s conftest.err
; then
3818 ac_cpp_err
=$ac_c_preproc_warn_flag
3825 if test -z "$ac_cpp_err"; then
3826 eval "$as_ac_Header=yes"
3828 echo "$as_me: failed program was:" >&5
3829 sed 's/^/| /' conftest.
$ac_ext >&5
3831 eval "$as_ac_Header=no"
3833 rm -f conftest.err conftest.
$ac_ext
3835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3837 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3838 cat >>confdefs.h
<<_ACEOF
3839 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3847 echo "$as_me:$LINENO: checking for ext2_ino_t type in libext2fs headers" >&5
3848 echo $ECHO_N "checking for ext2_ino_t type in libext2fs headers... $ECHO_C" >&6
3849 cat >conftest.
$ac_ext <<_ACEOF
3850 #line $LINENO "configure"
3853 cat confdefs.h
>>conftest.
$ac_ext
3854 cat >>conftest.
$ac_ext <<_ACEOF
3855 /* end confdefs.h. */
3857 #ifdef HAVE_EXT2FS_EXT2_FS_H
3858 #include <ext2fs/ext2_fs.h>
3860 #include <linux/ext2_fs.h>
3862 #include <ext2fs/ext2fs.h>
3871 rm -f conftest.
$ac_objext
3872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3873 (eval $ac_compile) 2>&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); } &&
3877 { ac_try
='test -s conftest.$ac_objext'
3878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); }; }; then
3884 cat >>confdefs.h
<<\_ACEOF
3885 #define HAVE_EXT2_INO_T 1
3888 echo "$as_me:$LINENO: result: yes" >&5
3889 echo "${ECHO_T}yes" >&6
3891 echo "$as_me: failed program was:" >&5
3892 sed 's/^/| /' conftest.
$ac_ext >&5
3894 echo "$as_me:$LINENO: result: no" >&5
3895 echo "${ECHO_T}no" >&6
3897 rm -f conftest.
$ac_objext conftest.
$ac_ext
3899 echo "$as_me:$LINENO: checking for s_journal_inum field in ext2_super_block struct" >&5
3900 echo $ECHO_N "checking for s_journal_inum field in ext2_super_block struct... $ECHO_C" >&6
3901 cat >conftest.
$ac_ext <<_ACEOF
3902 #line $LINENO "configure"
3905 cat confdefs.h
>>conftest.
$ac_ext
3906 cat >>conftest.
$ac_ext <<_ACEOF
3907 /* end confdefs.h. */
3909 #ifdef HAVE_EXT2FS_EXT2_FS_H
3910 #include <ext2fs/ext2_fs.h>
3912 #include <linux/ext2_fs.h>
3914 #include <ext2fs/ext2fs.h>
3918 struct ext2_super_block es; es.s_journal_inum = 0;
3923 rm -f conftest.
$ac_objext
3924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3925 (eval $ac_compile) 2>&5
3927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3928 (exit $ac_status); } &&
3929 { ac_try
='test -s conftest.$ac_objext'
3930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); }; }; then
3936 cat >>confdefs.h
<<\_ACEOF
3937 #define HAVE_EXT2_JOURNAL_INUM 1
3940 echo "$as_me:$LINENO: result: yes" >&5
3941 echo "${ECHO_T}yes" >&6
3943 echo "$as_me: failed program was:" >&5
3944 sed 's/^/| /' conftest.
$ac_ext >&5
3946 echo "$as_me:$LINENO: result: no" >&5
3947 echo "${ECHO_T}no" >&6
3949 rm -f conftest.
$ac_objext conftest.
$ac_ext
3951 echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5
3952 echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6
3953 if test "${ac_cv_lib_termcap_tgetent+set}" = set; then
3954 echo $ECHO_N "(cached) $ECHO_C" >&6
3956 ac_check_lib_save_LIBS
=$LIBS
3957 LIBS
="-ltermcap $LIBS"
3958 cat >conftest.
$ac_ext <<_ACEOF
3959 #line $LINENO "configure"
3962 cat confdefs.h
>>conftest.
$ac_ext
3963 cat >>conftest.
$ac_ext <<_ACEOF
3964 /* end confdefs.h. */
3966 /* Override any gcc2 internal prototype to avoid an error. */
3970 /* We use char because int might match the return type of a gcc2
3971 builtin and then its argument prototype would still apply. */
3981 rm -f conftest.
$ac_objext conftest
$ac_exeext
3982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3983 (eval $ac_link) 2>&5
3985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986 (exit $ac_status); } &&
3987 { ac_try
='test -s conftest$ac_exeext'
3988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); }; }; then
3993 ac_cv_lib_termcap_tgetent
=yes
3995 echo "$as_me: failed program was:" >&5
3996 sed 's/^/| /' conftest.
$ac_ext >&5
3998 ac_cv_lib_termcap_tgetent
=no
4000 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4001 LIBS
=$ac_check_lib_save_LIBS
4003 echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5
4004 echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6
4005 if test $ac_cv_lib_termcap_tgetent = yes; then
4011 if test "$termcap_lib" = no
; then
4012 if test "$READLINE" = "-lreadline -ltermcap"; then
4013 { { echo "$as_me:$LINENO: error: You need to install the GNU termcap library or configure without --enable-readline" >&5
4014 echo "$as_me: error: You need to install the GNU termcap library or configure without --enable-readline" >&2;}
4015 { (exit 1); exit 1; }; }
4019 echo "$as_me:$LINENO: checking for readline/readline.h" >&5
4020 echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6
4021 if test "${ac_cv_header_readline_readline_h+set}" = set; then
4022 echo $ECHO_N "(cached) $ECHO_C" >&6
4024 cat >conftest.
$ac_ext <<_ACEOF
4025 #line $LINENO "configure"
4028 cat confdefs.h
>>conftest.
$ac_ext
4029 cat >>conftest.
$ac_ext <<_ACEOF
4030 /* end confdefs.h. */
4031 #include <readline/readline.h>
4033 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4034 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4036 grep -v '^ *+' conftest.er1
>conftest.err
4038 cat conftest.err
>&5
4039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4040 (exit $ac_status); } >/dev
/null
; then
4041 if test -s conftest.err
; then
4042 ac_cpp_err
=$ac_c_preproc_warn_flag
4049 if test -z "$ac_cpp_err"; then
4050 ac_cv_header_readline_readline_h
=yes
4052 echo "$as_me: failed program was:" >&5
4053 sed 's/^/| /' conftest.
$ac_ext >&5
4055 ac_cv_header_readline_readline_h
=no
4057 rm -f conftest.err conftest.
$ac_ext
4059 echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
4060 echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6
4061 if test $ac_cv_header_readline_readline_h = yes; then
4068 echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
4069 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
4070 if test "${ac_cv_lib_readline_readline+set}" = set; then
4071 echo $ECHO_N "(cached) $ECHO_C" >&6
4073 ac_check_lib_save_LIBS
=$LIBS
4074 LIBS
="-lreadline "-ltermcap" $LIBS"
4075 cat >conftest.
$ac_ext <<_ACEOF
4076 #line $LINENO "configure"
4079 cat confdefs.h
>>conftest.
$ac_ext
4080 cat >>conftest.
$ac_ext <<_ACEOF
4081 /* end confdefs.h. */
4083 /* Override any gcc2 internal prototype to avoid an error. */
4087 /* We use char because int might match the return type of a gcc2
4088 builtin and then its argument prototype would still apply. */
4098 rm -f conftest.
$ac_objext conftest
$ac_exeext
4099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4100 (eval $ac_link) 2>&5
4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 (exit $ac_status); } &&
4104 { ac_try
='test -s conftest$ac_exeext'
4105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 (exit $ac_status); }; }; then
4110 ac_cv_lib_readline_readline
=yes
4112 echo "$as_me: failed program was:" >&5
4113 sed 's/^/| /' conftest.
$ac_ext >&5
4115 ac_cv_lib_readline_readline
=no
4117 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4118 LIBS
=$ac_check_lib_save_LIBS
4120 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
4121 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6
4122 if test $ac_cv_lib_readline_readline = yes; then
4128 if test "$readline_h" = no
-o "$readline_lib" = no
; then
4129 if test "$READLINE" = "-lreadline -ltermcap"; then
4130 { { echo "$as_me:$LINENO: error: You need to install the GNU readline library or configure without --enable-readline" >&5
4131 echo "$as_me: error: You need to install the GNU readline library or configure without --enable-readline" >&2;}
4132 { (exit 1); exit 1; }; }
4136 echo "$as_me:$LINENO: checking for rl_completion_matches in -lreadline" >&5
4137 echo $ECHO_N "checking for rl_completion_matches in -lreadline... $ECHO_C" >&6
4138 if test "${ac_cv_lib_readline_rl_completion_matches+set}" = set; then
4139 echo $ECHO_N "(cached) $ECHO_C" >&6
4141 ac_check_lib_save_LIBS
=$LIBS
4142 LIBS
="-lreadline "-ltermcap" $LIBS"
4143 cat >conftest.
$ac_ext <<_ACEOF
4144 #line $LINENO "configure"
4147 cat confdefs.h
>>conftest.
$ac_ext
4148 cat >>conftest.
$ac_ext <<_ACEOF
4149 /* end confdefs.h. */
4151 /* Override any gcc2 internal prototype to avoid an error. */
4155 /* We use char because int might match the return type of a gcc2
4156 builtin and then its argument prototype would still apply. */
4157 char rl_completion_matches ();
4161 rl_completion_matches ();
4166 rm -f conftest.
$ac_objext conftest
$ac_exeext
4167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4168 (eval $ac_link) 2>&5
4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 (exit $ac_status); } &&
4172 { ac_try
='test -s conftest$ac_exeext'
4173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); }; }; then
4178 ac_cv_lib_readline_rl_completion_matches
=yes
4180 echo "$as_me: failed program was:" >&5
4181 sed 's/^/| /' conftest.
$ac_ext >&5
4183 ac_cv_lib_readline_rl_completion_matches
=no
4185 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4186 LIBS
=$ac_check_lib_save_LIBS
4188 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_completion_matches" >&5
4189 echo "${ECHO_T}$ac_cv_lib_readline_rl_completion_matches" >&6
4190 if test $ac_cv_lib_readline_rl_completion_matches = yes; then
4196 if test "$rlcm" = yes; then
4198 cat >>confdefs.h
<<\_ACEOF
4199 #define HAVE_READLINE_RLCM 1
4204 echo "$as_me:$LINENO: checking for rl_completion_append_character in -lreadline" >&5
4205 echo $ECHO_N "checking for rl_completion_append_character in -lreadline... $ECHO_C" >&6
4206 if test "${ac_cv_lib_readline_rl_completion_append_character+set}" = set; then
4207 echo $ECHO_N "(cached) $ECHO_C" >&6
4209 ac_check_lib_save_LIBS
=$LIBS
4210 LIBS
="-lreadline "-ltermcap" $LIBS"
4211 cat >conftest.
$ac_ext <<_ACEOF
4212 #line $LINENO "configure"
4215 cat confdefs.h
>>conftest.
$ac_ext
4216 cat >>conftest.
$ac_ext <<_ACEOF
4217 /* end confdefs.h. */
4219 /* Override any gcc2 internal prototype to avoid an error. */
4223 /* We use char because int might match the return type of a gcc2
4224 builtin and then its argument prototype would still apply. */
4225 char rl_completion_append_character ();
4229 rl_completion_append_character ();
4234 rm -f conftest.
$ac_objext conftest
$ac_exeext
4235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4236 (eval $ac_link) 2>&5
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); } &&
4240 { ac_try
='test -s conftest$ac_exeext'
4241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4245 (exit $ac_status); }; }; then
4246 ac_cv_lib_readline_rl_completion_append_character
=yes
4248 echo "$as_me: failed program was:" >&5
4249 sed 's/^/| /' conftest.
$ac_ext >&5
4251 ac_cv_lib_readline_rl_completion_append_character
=no
4253 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4254 LIBS
=$ac_check_lib_save_LIBS
4256 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_completion_append_character" >&5
4257 echo "${ECHO_T}$ac_cv_lib_readline_rl_completion_append_character" >&6
4258 if test $ac_cv_lib_readline_rl_completion_append_character = yes; then
4264 if test "$rcac" = yes; then
4266 cat >>confdefs.h
<<\_ACEOF
4267 #define HAVE_READLINE_CAC 1
4272 echo "$as_me:$LINENO: checking for zlib.h" >&5
4273 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
4274 if test "${ac_cv_header_zlib_h+set}" = set; then
4275 echo $ECHO_N "(cached) $ECHO_C" >&6
4277 cat >conftest.
$ac_ext <<_ACEOF
4278 #line $LINENO "configure"
4281 cat confdefs.h
>>conftest.
$ac_ext
4282 cat >>conftest.
$ac_ext <<_ACEOF
4283 /* end confdefs.h. */
4286 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4287 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4289 grep -v '^ *+' conftest.er1
>conftest.err
4291 cat conftest.err
>&5
4292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4293 (exit $ac_status); } >/dev
/null
; then
4294 if test -s conftest.err
; then
4295 ac_cpp_err
=$ac_c_preproc_warn_flag
4302 if test -z "$ac_cpp_err"; then
4303 ac_cv_header_zlib_h
=yes
4305 echo "$as_me: failed program was:" >&5
4306 sed 's/^/| /' conftest.
$ac_ext >&5
4308 ac_cv_header_zlib_h
=no
4310 rm -f conftest.err conftest.
$ac_ext
4312 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
4313 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
4314 if test $ac_cv_header_zlib_h = yes; then
4321 echo "$as_me:$LINENO: checking for compress2 in -lz" >&5
4322 echo $ECHO_N "checking for compress2 in -lz... $ECHO_C" >&6
4323 if test "${ac_cv_lib_z_compress2+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 ac_check_lib_save_LIBS
=$LIBS
4328 cat >conftest.
$ac_ext <<_ACEOF
4329 #line $LINENO "configure"
4332 cat confdefs.h
>>conftest.
$ac_ext
4333 cat >>conftest.
$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4336 /* Override any gcc2 internal prototype to avoid an error. */
4340 /* We use char because int might match the return type of a gcc2
4341 builtin and then its argument prototype would still apply. */
4351 rm -f conftest.
$ac_objext conftest
$ac_exeext
4352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4353 (eval $ac_link) 2>&5
4355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 (exit $ac_status); } &&
4357 { ac_try
='test -s conftest$ac_exeext'
4358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4362 (exit $ac_status); }; }; then
4363 ac_cv_lib_z_compress2
=yes
4365 echo "$as_me: failed program was:" >&5
4366 sed 's/^/| /' conftest.
$ac_ext >&5
4368 ac_cv_lib_z_compress2
=no
4370 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4371 LIBS
=$ac_check_lib_save_LIBS
4373 echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress2" >&5
4374 echo "${ECHO_T}$ac_cv_lib_z_compress2" >&6
4375 if test $ac_cv_lib_z_compress2 = yes; then
4381 if test "$zlib_h" = yes -a "$zlib_lib" = yes; then
4384 cat >>confdefs.h
<<\_ACEOF
4393 echo "$as_me:$LINENO: checking for bzlib.h" >&5
4394 echo $ECHO_N "checking for bzlib.h... $ECHO_C" >&6
4395 if test "${ac_cv_header_bzlib_h+set}" = set; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4398 cat >conftest.
$ac_ext <<_ACEOF
4399 #line $LINENO "configure"
4402 cat confdefs.h
>>conftest.
$ac_ext
4403 cat >>conftest.
$ac_ext <<_ACEOF
4404 /* end confdefs.h. */
4407 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4408 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4410 grep -v '^ *+' conftest.er1
>conftest.err
4412 cat conftest.err
>&5
4413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414 (exit $ac_status); } >/dev
/null
; then
4415 if test -s conftest.err
; then
4416 ac_cpp_err
=$ac_c_preproc_warn_flag
4423 if test -z "$ac_cpp_err"; then
4424 ac_cv_header_bzlib_h
=yes
4426 echo "$as_me: failed program was:" >&5
4427 sed 's/^/| /' conftest.
$ac_ext >&5
4429 ac_cv_header_bzlib_h
=no
4431 rm -f conftest.err conftest.
$ac_ext
4433 echo "$as_me:$LINENO: result: $ac_cv_header_bzlib_h" >&5
4434 echo "${ECHO_T}$ac_cv_header_bzlib_h" >&6
4435 if test $ac_cv_header_bzlib_h = yes; then
4442 echo "$as_me:$LINENO: checking for BZ2_bzBuffToBuffCompress in -lbz2" >&5
4443 echo $ECHO_N "checking for BZ2_bzBuffToBuffCompress in -lbz2... $ECHO_C" >&6
4444 if test "${ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress+set}" = set; then
4445 echo $ECHO_N "(cached) $ECHO_C" >&6
4447 ac_check_lib_save_LIBS
=$LIBS
4449 cat >conftest.
$ac_ext <<_ACEOF
4450 #line $LINENO "configure"
4453 cat confdefs.h
>>conftest.
$ac_ext
4454 cat >>conftest.
$ac_ext <<_ACEOF
4455 /* end confdefs.h. */
4457 /* Override any gcc2 internal prototype to avoid an error. */
4461 /* We use char because int might match the return type of a gcc2
4462 builtin and then its argument prototype would still apply. */
4463 char BZ2_bzBuffToBuffCompress ();
4467 BZ2_bzBuffToBuffCompress ();
4472 rm -f conftest.
$ac_objext conftest
$ac_exeext
4473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4474 (eval $ac_link) 2>&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); } &&
4478 { ac_try
='test -s conftest$ac_exeext'
4479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); }; }; then
4484 ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress
=yes
4486 echo "$as_me: failed program was:" >&5
4487 sed 's/^/| /' conftest.
$ac_ext >&5
4489 ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress
=no
4491 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4492 LIBS
=$ac_check_lib_save_LIBS
4494 echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress" >&5
4495 echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress" >&6
4496 if test $ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress = yes; then
4502 if test "$bzlib_h" = yes -a "$bzlib_lib" = yes; then
4505 cat >>confdefs.h
<<\_ACEOF
4506 #define HAVE_BZLIB 1
4524 for ac_func
in err errx verr verrx vwarn vwarnx warn warnx realpath lchown
4526 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4527 echo "$as_me:$LINENO: checking for $ac_func" >&5
4528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4529 if eval "test \"\${$as_ac_var+set}\" = set"; then
4530 echo $ECHO_N "(cached) $ECHO_C" >&6
4532 cat >conftest.
$ac_ext <<_ACEOF
4533 #line $LINENO "configure"
4536 cat confdefs.h
>>conftest.
$ac_ext
4537 cat >>conftest.
$ac_ext <<_ACEOF
4538 /* end confdefs.h. */
4539 /* System header to define __stub macros and hopefully few prototypes,
4540 which can conflict with char $ac_func (); below.
4541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4542 <limits.h> exists even on freestanding compilers. */
4544 # include <limits.h>
4546 # include <assert.h>
4548 /* Override any gcc2 internal prototype to avoid an error. */
4553 /* We use char because int might match the return type of a gcc2
4554 builtin and then its argument prototype would still apply. */
4556 /* The GNU C library defines this for functions which it implements
4557 to always fail with ENOSYS. Some functions are actually named
4558 something starting with __ and the normal name is an alias. */
4559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4562 char (*f) () = $ac_func;
4571 return f != $ac_func;
4576 rm -f conftest.
$ac_objext conftest
$ac_exeext
4577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4578 (eval $ac_link) 2>&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); } &&
4582 { ac_try
='test -s conftest$ac_exeext'
4583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); }; }; then
4588 eval "$as_ac_var=yes"
4590 echo "$as_me: failed program was:" >&5
4591 sed 's/^/| /' conftest.
$ac_ext >&5
4593 eval "$as_ac_var=no"
4595 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4599 if test `eval echo '${'$as_ac_var'}'` = yes; then
4600 cat >>confdefs.h
<<_ACEOF
4601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4607 echo "$as_me:$LINENO: checking for glob" >&5
4608 echo $ECHO_N "checking for glob... $ECHO_C" >&6
4609 if test "${ac_cv_func_glob+set}" = set; then
4610 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 cat >conftest.
$ac_ext <<_ACEOF
4613 #line $LINENO "configure"
4616 cat confdefs.h
>>conftest.
$ac_ext
4617 cat >>conftest.
$ac_ext <<_ACEOF
4618 /* end confdefs.h. */
4619 /* System header to define __stub macros and hopefully few prototypes,
4620 which can conflict with char glob (); below.
4621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4622 <limits.h> exists even on freestanding compilers. */
4624 # include <limits.h>
4626 # include <assert.h>
4628 /* Override any gcc2 internal prototype to avoid an error. */
4633 /* We use char because int might match the return type of a gcc2
4634 builtin and then its argument prototype would still apply. */
4636 /* The GNU C library defines this for functions which it implements
4637 to always fail with ENOSYS. Some functions are actually named
4638 something starting with __ and the normal name is an alias. */
4639 #if defined (__stub_glob) || defined (__stub___glob)
4642 char (*f) () = glob;
4656 rm -f conftest.
$ac_objext conftest
$ac_exeext
4657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4658 (eval $ac_link) 2>&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); } &&
4662 { ac_try
='test -s conftest$ac_exeext'
4663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); }; }; then
4670 echo "$as_me: failed program was:" >&5
4671 sed 's/^/| /' conftest.
$ac_ext >&5
4675 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4677 echo "$as_me:$LINENO: result: $ac_cv_func_glob" >&5
4678 echo "${ECHO_T}$ac_cv_func_glob" >&6
4681 echo "$as_me:$LINENO: checking for extended glob routines" >&5
4682 echo $ECHO_N "checking for extended glob routines... $ECHO_C" >&6
4683 if test "$ac_cv_func_glob" = "yes"; then
4684 cat >conftest.
$ac_ext <<_ACEOF
4685 #line $LINENO "configure"
4688 cat confdefs.h
>>conftest.
$ac_ext
4689 cat >>conftest.
$ac_ext <<_ACEOF
4690 /* end confdefs.h. */
4693 # ifdef GLOB_ALTDIRFUNC
4698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4699 $EGREP "yes" >/dev
/null
2>&1; then
4702 cat >>confdefs.h
<<\_ACEOF
4706 echo "$as_me:$LINENO: result: yes" >&5
4707 echo "${ECHO_T}yes" >&6
4711 echo "$as_me:$LINENO: result: no" >&5
4712 echo "${ECHO_T}no" >&6
4713 echo "Your system does not support extended glob, will use the internal routines"
4720 if test "$ERMT" != ""; then
4721 if test "${ac_cv_header_openssl_evp_h+set}" = set; then
4722 echo "$as_me:$LINENO: checking for openssl/evp.h" >&5
4723 echo $ECHO_N "checking for openssl/evp.h... $ECHO_C" >&6
4724 if test "${ac_cv_header_openssl_evp_h+set}" = set; then
4725 echo $ECHO_N "(cached) $ECHO_C" >&6
4727 echo "$as_me:$LINENO: result: $ac_cv_header_openssl_evp_h" >&5
4728 echo "${ECHO_T}$ac_cv_header_openssl_evp_h" >&6
4730 # Is the header compilable?
4731 echo "$as_me:$LINENO: checking openssl/evp.h usability" >&5
4732 echo $ECHO_N "checking openssl/evp.h usability... $ECHO_C" >&6
4733 cat >conftest.
$ac_ext <<_ACEOF
4734 #line $LINENO "configure"
4737 cat confdefs.h
>>conftest.
$ac_ext
4738 cat >>conftest.
$ac_ext <<_ACEOF
4739 /* end confdefs.h. */
4740 $ac_includes_default
4741 #include <openssl/evp.h>
4743 rm -f conftest.
$ac_objext
4744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4745 (eval $ac_compile) 2>&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); } &&
4749 { ac_try
='test -s conftest.$ac_objext'
4750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); }; }; then
4755 ac_header_compiler
=yes
4757 echo "$as_me: failed program was:" >&5
4758 sed 's/^/| /' conftest.
$ac_ext >&5
4760 ac_header_compiler
=no
4762 rm -f conftest.
$ac_objext conftest.
$ac_ext
4763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4764 echo "${ECHO_T}$ac_header_compiler" >&6
4766 # Is the header present?
4767 echo "$as_me:$LINENO: checking openssl/evp.h presence" >&5
4768 echo $ECHO_N "checking openssl/evp.h presence... $ECHO_C" >&6
4769 cat >conftest.
$ac_ext <<_ACEOF
4770 #line $LINENO "configure"
4773 cat confdefs.h
>>conftest.
$ac_ext
4774 cat >>conftest.
$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4776 #include <openssl/evp.h>
4778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4779 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4781 grep -v '^ *+' conftest.er1
>conftest.err
4783 cat conftest.err
>&5
4784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4785 (exit $ac_status); } >/dev
/null
; then
4786 if test -s conftest.err
; then
4787 ac_cpp_err
=$ac_c_preproc_warn_flag
4794 if test -z "$ac_cpp_err"; then
4795 ac_header_preproc
=yes
4797 echo "$as_me: failed program was:" >&5
4798 sed 's/^/| /' conftest.
$ac_ext >&5
4800 ac_header_preproc
=no
4802 rm -f conftest.err conftest.
$ac_ext
4803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4804 echo "${ECHO_T}$ac_header_preproc" >&6
4806 # So? What about this header?
4807 case $ac_header_compiler:$ac_header_preproc in
4809 { echo "$as_me:$LINENO: WARNING: openssl/evp.h: accepted by the compiler, rejected by the preprocessor!" >&5
4810 echo "$as_me: WARNING: openssl/evp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4811 { echo "$as_me:$LINENO: WARNING: openssl/evp.h: proceeding with the preprocessor's result" >&5
4812 echo "$as_me: WARNING: openssl/evp.h: proceeding with the preprocessor's result" >&2;}
4815 ## ------------------------------------ ##
4816 ## Report this to bug-autoconf@gnu.org. ##
4817 ## ------------------------------------ ##
4820 sed "s/^/$as_me: WARNING: /" >&2
4823 { echo "$as_me:$LINENO: WARNING: openssl/evp.h: present but cannot be compiled" >&5
4824 echo "$as_me: WARNING: openssl/evp.h: present but cannot be compiled" >&2;}
4825 { echo "$as_me:$LINENO: WARNING: openssl/evp.h: check for missing prerequisite headers?" >&5
4826 echo "$as_me: WARNING: openssl/evp.h: check for missing prerequisite headers?" >&2;}
4827 { echo "$as_me:$LINENO: WARNING: openssl/evp.h: proceeding with the preprocessor's result" >&5
4828 echo "$as_me: WARNING: openssl/evp.h: proceeding with the preprocessor's result" >&2;}
4831 ## ------------------------------------ ##
4832 ## Report this to bug-autoconf@gnu.org. ##
4833 ## ------------------------------------ ##
4836 sed "s/^/$as_me: WARNING: /" >&2
4839 echo "$as_me:$LINENO: checking for openssl/evp.h" >&5
4840 echo $ECHO_N "checking for openssl/evp.h... $ECHO_C" >&6
4841 if test "${ac_cv_header_openssl_evp_h+set}" = set; then
4842 echo $ECHO_N "(cached) $ECHO_C" >&6
4844 ac_cv_header_openssl_evp_h
=$ac_header_preproc
4846 echo "$as_me:$LINENO: result: $ac_cv_header_openssl_evp_h" >&5
4847 echo "${ECHO_T}$ac_cv_header_openssl_evp_h" >&6
4850 if test $ac_cv_header_openssl_evp_h = yes; then
4857 echo "$as_me:$LINENO: checking for EVP_CIPHER_CTX_set_padding in -lcrypto" >&5
4858 echo $ECHO_N "checking for EVP_CIPHER_CTX_set_padding in -lcrypto... $ECHO_C" >&6
4859 if test "${ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding+set}" = set; then
4860 echo $ECHO_N "(cached) $ECHO_C" >&6
4862 ac_check_lib_save_LIBS
=$LIBS
4863 LIBS
="-lcrypto $LIBS"
4864 cat >conftest.
$ac_ext <<_ACEOF
4865 #line $LINENO "configure"
4868 cat confdefs.h
>>conftest.
$ac_ext
4869 cat >>conftest.
$ac_ext <<_ACEOF
4870 /* end confdefs.h. */
4872 /* Override any gcc2 internal prototype to avoid an error. */
4876 /* We use char because int might match the return type of a gcc2
4877 builtin and then its argument prototype would still apply. */
4878 char EVP_CIPHER_CTX_set_padding ();
4882 EVP_CIPHER_CTX_set_padding ();
4887 rm -f conftest.
$ac_objext conftest
$ac_exeext
4888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4889 (eval $ac_link) 2>&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); } &&
4893 { ac_try
='test -s conftest$ac_exeext'
4894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); }; }; then
4899 ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding
=yes
4901 echo "$as_me: failed program was:" >&5
4902 sed 's/^/| /' conftest.
$ac_ext >&5
4904 ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding
=no
4906 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4907 LIBS
=$ac_check_lib_save_LIBS
4909 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&5
4910 echo "${ECHO_T}$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&6
4911 if test $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding = yes; then
4917 if test "$evp_h" = no
-o "$crypto_lib" = no
; then
4918 { { echo "$as_me:$LINENO: error: You need to install the OpenSSL library (version 0.9.7a or later)" >&5
4919 echo "$as_me: error: You need to install the OpenSSL library (version 0.9.7a or later)" >&2;}
4920 { (exit or configure without
--enable-ermt); exit or configure without
--enable-ermt; }; }
4924 echo "$as_me:$LINENO: checking for quad_t" >&5
4925 echo $ECHO_N "checking for quad_t... $ECHO_C" >&6
4926 if test "${ac_cv_type_quad_t+set}" = set; then
4927 echo $ECHO_N "(cached) $ECHO_C" >&6
4929 cat >conftest.
$ac_ext <<_ACEOF
4930 #line $LINENO "configure"
4933 cat confdefs.h
>>conftest.
$ac_ext
4934 cat >>conftest.
$ac_ext <<_ACEOF
4935 /* end confdefs.h. */
4936 $ac_includes_default
4942 if (sizeof (quad_t))
4948 rm -f conftest.
$ac_objext
4949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4950 (eval $ac_compile) 2>&5
4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953 (exit $ac_status); } &&
4954 { ac_try
='test -s conftest.$ac_objext'
4955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); }; }; then
4960 ac_cv_type_quad_t
=yes
4962 echo "$as_me: failed program was:" >&5
4963 sed 's/^/| /' conftest.
$ac_ext >&5
4965 ac_cv_type_quad_t
=no
4967 rm -f conftest.
$ac_objext conftest.
$ac_ext
4969 echo "$as_me:$LINENO: result: $ac_cv_type_quad_t" >&5
4970 echo "${ECHO_T}$ac_cv_type_quad_t" >&6
4971 if test $ac_cv_type_quad_t = yes; then
4975 cat >>confdefs.h
<<_ACEOF
4976 #define quad_t int64_t
4981 echo "$as_me:$LINENO: checking for u_quad_t" >&5
4982 echo $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
4983 if test "${ac_cv_type_u_quad_t+set}" = set; then
4984 echo $ECHO_N "(cached) $ECHO_C" >&6
4986 cat >conftest.
$ac_ext <<_ACEOF
4987 #line $LINENO "configure"
4990 cat confdefs.h
>>conftest.
$ac_ext
4991 cat >>conftest.
$ac_ext <<_ACEOF
4992 /* end confdefs.h. */
4993 $ac_includes_default
4999 if (sizeof (u_quad_t))
5005 rm -f conftest.
$ac_objext
5006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5007 (eval $ac_compile) 2>&5
5009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010 (exit $ac_status); } &&
5011 { ac_try
='test -s conftest.$ac_objext'
5012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016 (exit $ac_status); }; }; then
5017 ac_cv_type_u_quad_t
=yes
5019 echo "$as_me: failed program was:" >&5
5020 sed 's/^/| /' conftest.
$ac_ext >&5
5022 ac_cv_type_u_quad_t
=no
5024 rm -f conftest.
$ac_objext conftest.
$ac_ext
5026 echo "$as_me:$LINENO: result: $ac_cv_type_u_quad_t" >&5
5027 echo "${ECHO_T}$ac_cv_type_u_quad_t" >&6
5028 if test $ac_cv_type_u_quad_t = yes; then
5032 cat >>confdefs.h
<<_ACEOF
5033 #define u_quad_t uint64_t
5039 top_builddir
=`cd .; pwd`
5042 test -d compat || mkdir compat
5043 test -d compat
/lib || mkdir compat
/lib
5045 ac_config_files
="$ac_config_files MCONFIG Makefile common/Makefile compat/include/Makefile compat/lib/Makefile dump/Makefile restore/Makefile $RMTMAKEFILE"
5046 cat >confcache
<<\_ACEOF
5047 # This file is a shell script that caches the results of configure
5048 # tests run on this system so they can be shared between configure
5049 # scripts and configure runs, see configure's option --config-cache.
5050 # It is not useful on other systems. If it contains results you don't
5051 # want to keep, you may remove or edit it.
5053 # config.status only pays attention to the cache file if you give it
5054 # the --recheck option to rerun configure.
5056 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5057 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5062 # The following way of writing the cache mishandles newlines in values,
5063 # but we know of no workaround that is simple, portable, and efficient.
5064 # So, don't put newlines in cache variables' values.
5065 # Ultrix sh set writes to stderr and can't be redirected directly,
5066 # and sets the high bit in the cache file unless we assign to the vars.
5069 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5071 # `set' does not quote correctly, so add quotes (double-quote
5072 # substitution turns \\\\ into \\, and sed turns \\ into \).
5075 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5078 # `set' quotes correctly as required by POSIX, so do not add quotes.
5080 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5087 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5089 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5091 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5092 if test -w $cache_file; then
5093 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5094 cat confcache
>$cache_file
5096 echo "not updating unwritable cache $cache_file"
5101 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5102 # Let make expand exec_prefix.
5103 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5105 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5106 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5107 # trailing colons and then remove the whole line if VPATH becomes empty
5108 # (actually we leave an empty line to preserve line numbers).
5109 if test "x$srcdir" = x.
; then
5110 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5111 s/:*\$(srcdir):*/:/;
5112 s/:*\${srcdir}:*/:/;
5114 s/^\([^=]*=[ ]*\):*/\1/;
5120 DEFS
=-DHAVE_CONFIG_H
5124 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5125 # 1. Remove the extension, and $U if already installed.
5126 ac_i
=`echo "$ac_i" |
5127 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5129 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5130 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5134 LTLIBOBJS
=$ac_ltlibobjs
5138 : ${CONFIG_STATUS=./config.status}
5139 ac_clean_files_save
=$ac_clean_files
5140 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5141 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5142 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5143 cat >$CONFIG_STATUS <<_ACEOF
5145 # Generated by $as_me.
5146 # Run this file to recreate the current configuration.
5147 # Compiler output produced by configure, useful for debugging
5148 # configure, is in config.log if it exists.
5153 SHELL=\${CONFIG_SHELL-$SHELL}
5156 cat >>$CONFIG_STATUS <<\_ACEOF
5157 ## --------------------- ##
5158 ## M4sh Initialization. ##
5159 ## --------------------- ##
5161 # Be Bourne compatible
5162 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5165 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5166 # is contrary to our usage. Disable this feature.
5167 alias -g '${1+"$@"}'='"$@"'
5168 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5172 # Support unset when possible.
5173 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
5180 # Work around bugs in pre-3.0 UWIN ksh.
5181 $as_unset ENV MAIL MAILPATH
5188 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5189 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5190 LC_TELEPHONE LC_TIME
5192 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
5193 eval $as_var=C
; export $as_var
5199 # Required to use basename.
5200 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5206 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5207 as_basename
=basename
5213 # Name of the executable.
5214 as_me
=`$as_basename "$0" ||
5215 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5216 X"$0" : 'X\(//\)$' \| \
5217 X"$0" : 'X\(/\)$' \| \
5218 . : '\(.\)' 2>/dev/null ||
5220 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5221 /^X\/\(\/\/\)$/{ s//\1/; q; }
5222 /^X\/\(\/\).*/{ s//\1/; q; }
5226 # PATH needs CR, and LINENO needs CR and PATH.
5227 # Avoid depending upon Character Ranges.
5228 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5229 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5230 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5231 as_cr_digits
='0123456789'
5232 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5234 # The user is always right.
5235 if test "${PATH_SEPARATOR+set}" != set; then
5236 echo "#! /bin/sh" >conf$$.sh
5237 echo "exit 0" >>conf$$.sh
5239 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5250 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5251 test "x$as_lineno_1" != "x$as_lineno_2" &&
5252 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5253 # Find who we are. Look in the path if we contain no path at all
5256 *[\\/]* ) as_myself
=$0 ;;
5257 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5261 test -z "$as_dir" && as_dir
=.
5262 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5267 # We did not find ourselves, most probably we were run as `sh COMMAND'
5268 # in which case we are not to be found in the path.
5269 if test "x$as_myself" = x
; then
5272 if test ! -f "$as_myself"; then
5273 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5274 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5275 { (exit 1); exit 1; }; }
5277 case $CONFIG_SHELL in
5279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5280 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5283 test -z "$as_dir" && as_dir
=.
5284 for as_base
in sh bash ksh sh5
; do
5287 if ("$as_dir/$as_base" -c '
5290 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5291 test "x$as_lineno_1" != "x$as_lineno_2" &&
5292 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5293 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5294 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5295 CONFIG_SHELL
=$as_dir/$as_base
5297 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5305 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5306 # uniformly replaced by the line number. The first 'sed' inserts a
5307 # line-number line before each line; the second 'sed' does the real
5308 # work. The second script uses 'N' to pair each line-number line
5309 # with the numbered line, and appends trailing '-' during
5310 # substitution so that $LINENO is not a special case at line end.
5311 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5312 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5313 sed '=' <$as_myself |
5318 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5321 s,^['$as_cr_digits']*\n,,
5323 chmod +x
$as_me.lineno ||
5324 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5325 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5326 { (exit 1); exit 1; }; }
5328 # Don't try to exec as it changes $[0], causing all sort of problems
5329 # (the dirname of $[0] is not the place where we might find the
5330 # original and so on. Autoconf is especially sensible to this).
5332 # Exit status is that of the last command.
5337 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5338 *c
*,-n*) ECHO_N
= ECHO_C
='
5340 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5341 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5344 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5350 rm -f conf$$ conf$$.exe conf$$.
file
5352 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5353 # We could just check for DJGPP; but this test a) works b) is more generic
5354 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5355 if test -f conf$$.exe
; then
5356 # Don't use ln at all; we don't have any links
5361 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5366 rm -f conf$$ conf$$.exe conf$$.
file
5368 if mkdir
-p .
2>/dev
/null
; then
5374 as_executable_p
="test -f"
5376 # Sed expression to map a string onto a valid CPP name.
5377 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5379 # Sed expression to map a string onto a valid variable name.
5380 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5384 # We need space, tab and new line, in precisely that order.
5394 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5395 # report actual input values of CONFIG_FILES etc. instead of their
5396 # values after options handling. Logging --version etc. is OK.
5400 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5401 ## Running $as_me. ##
5406 This file was extended by $as_me, which was
5407 generated by GNU Autoconf 2.57. Invocation command line was
5409 CONFIG_FILES = $CONFIG_FILES
5410 CONFIG_HEADERS = $CONFIG_HEADERS
5411 CONFIG_LINKS = $CONFIG_LINKS
5412 CONFIG_COMMANDS = $CONFIG_COMMANDS
5416 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5420 # Files that config.status was made for.
5421 if test -n "$ac_config_files"; then
5422 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5425 if test -n "$ac_config_headers"; then
5426 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5429 if test -n "$ac_config_links"; then
5430 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5433 if test -n "$ac_config_commands"; then
5434 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5437 cat >>$CONFIG_STATUS <<\_ACEOF
5440 \`$as_me' instantiates files from templates according to the
5441 current configuration.
5443 Usage: $0 [OPTIONS] [FILE]...
5445 -h, --help print this help, then exit
5446 -V, --version print version number, then exit
5447 -q, --quiet do not print progress messages
5448 -d, --debug don't remove temporary files
5449 --recheck update $as_me by reconfiguring in the same conditions
5450 --file=FILE[:TEMPLATE]
5451 instantiate the configuration file FILE
5452 --header=FILE[:TEMPLATE]
5453 instantiate the configuration header FILE
5455 Configuration files:
5458 Configuration headers:
5461 Report bugs to <bug-autoconf@gnu.org>."
5464 cat >>$CONFIG_STATUS <<_ACEOF
5467 configured by $0, generated by GNU Autoconf 2.57,
5468 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5470 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5471 Free Software Foundation, Inc.
5472 This config.status script is free software; the Free Software Foundation
5473 gives unlimited permission to copy, distribute and modify it."
5478 cat >>$CONFIG_STATUS <<\_ACEOF
5479 # If no file are specified by the user, then we need to provide default
5480 # value. By we need to know if files were specified by the user.
5486 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5487 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5495 *) # This is not an option, so the user has probably given explicit
5498 ac_need_defaults
=false
;;
5502 # Handling of the options.
5504 cat >>$CONFIG_STATUS <<\_ACEOF
5505 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5507 --version |
--vers* |
-V )
5508 echo "$ac_cs_version"; exit 0 ;;
5510 # Conflict between --help and --header
5511 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5512 Try \`$0 --help' for more information." >&5
5513 echo "$as_me: error: ambiguous option: $1
5514 Try \`$0 --help' for more information." >&2;}
5515 { (exit 1); exit 1; }; };;
5516 --help |
--hel |
-h )
5517 echo "$ac_cs_usage"; exit 0 ;;
5518 --debug |
--d* |
-d )
5520 --file |
--fil |
--fi |
--f )
5522 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5523 ac_need_defaults
=false
;;
5524 --header |
--heade |
--head |
--hea )
5526 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5527 ac_need_defaults
=false
;;
5528 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5529 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5533 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5534 Try \`$0 --help' for more information." >&5
5535 echo "$as_me: error: unrecognized option: $1
5536 Try \`$0 --help' for more information." >&2;}
5537 { (exit 1); exit 1; }; } ;;
5539 *) ac_config_targets
="$ac_config_targets $1" ;;
5545 ac_configure_extra_args
=
5547 if $ac_cs_silent; then
5549 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5553 cat >>$CONFIG_STATUS <<_ACEOF
5554 if \$ac_cs_recheck; then
5555 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5556 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5565 cat >>$CONFIG_STATUS <<\_ACEOF
5566 for ac_config_target
in $ac_config_targets
5568 case "$ac_config_target" in
5569 # Handling of arguments.
5570 "MCONFIG" ) CONFIG_FILES
="$CONFIG_FILES MCONFIG" ;;
5571 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5572 "common/Makefile" ) CONFIG_FILES
="$CONFIG_FILES common/Makefile" ;;
5573 "compat/include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES compat/include/Makefile" ;;
5574 "compat/lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES compat/lib/Makefile" ;;
5575 "dump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dump/Makefile" ;;
5576 "restore/Makefile" ) CONFIG_FILES
="$CONFIG_FILES restore/Makefile" ;;
5577 "$RMTMAKEFILE" ) CONFIG_FILES
="$CONFIG_FILES $RMTMAKEFILE" ;;
5578 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5579 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5580 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5581 { (exit 1); exit 1; }; };;
5585 # If the user did not use the arguments to specify the items to instantiate,
5586 # then the envvar interface is used. Set only those that are not.
5587 # We use the long form for the default assignment because of an extremely
5588 # bizarre bug on SunOS 4.1.3.
5589 if $ac_need_defaults; then
5590 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5591 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5594 # Have a temporary directory for convenience. Make it in the build tree
5595 # simply because there is no reason to put it here, and in addition,
5596 # creating and moving files from /tmp can sometimes cause problems.
5597 # Create a temporary directory, and hook for its removal unless debugging.
5600 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5601 trap '{ (exit 1); exit 1; }' 1 2 13 15
5604 # Create a (secure) tmp directory for tmp files.
5607 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5608 test -n "$tmp" && test -d "$tmp"
5611 tmp
=.
/confstat$$
-$RANDOM
5612 (umask 077 && mkdir
$tmp)
5615 echo "$me: cannot create a temporary directory in ." >&2
5616 { (exit 1); exit 1; }
5621 cat >>$CONFIG_STATUS <<_ACEOF
5624 # CONFIG_FILES section.
5627 # No need to generate the scripts if there are no CONFIG_FILES.
5628 # This happens for instance when ./config.status config.h
5629 if test -n "\$CONFIG_FILES"; then
5630 # Protect against being on the right side of a sed subst in config.status.
5631 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5632 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5633 s,@SHELL@,$SHELL,;t t
5634 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5635 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5636 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5637 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5638 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5639 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5640 s,@exec_prefix@,$exec_prefix,;t t
5641 s,@prefix@,$prefix,;t t
5642 s,@program_transform_name@,$program_transform_name,;t t
5643 s,@bindir@,$bindir,;t t
5644 s,@sbindir@,$sbindir,;t t
5645 s,@libexecdir@,$libexecdir,;t t
5646 s,@datadir@,$datadir,;t t
5647 s,@sysconfdir@,$sysconfdir,;t t
5648 s,@sharedstatedir@,$sharedstatedir,;t t
5649 s,@localstatedir@,$localstatedir,;t t
5650 s,@libdir@,$libdir,;t t
5651 s,@includedir@,$includedir,;t t
5652 s,@oldincludedir@,$oldincludedir,;t t
5653 s,@infodir@,$infodir,;t t
5654 s,@mandir@,$mandir,;t t
5655 s,@build_alias@,$build_alias,;t t
5656 s,@host_alias@,$host_alias,;t t
5657 s,@target_alias@,$target_alias,;t t
5659 s,@ECHO_C@,$ECHO_C,;t t
5660 s,@ECHO_N@,$ECHO_N,;t t
5661 s,@ECHO_T@,$ECHO_T,;t t
5663 s,@SET_MAKE@,$SET_MAKE,;t t
5669 s,@ac_ct_AR@,$ac_ct_AR,;t t
5670 s,@RANLIB@,$RANLIB,;t t
5671 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5672 s,@PATCH@,$PATCH,;t t
5673 s,@ac_ct_PATCH@,$ac_ct_PATCH,;t t
5675 s,@CFLAGS@,$CFLAGS,;t t
5676 s,@LDFLAGS@,$LDFLAGS,;t t
5677 s,@CPPFLAGS@,$CPPFLAGS,;t t
5678 s,@ac_ct_CC@,$ac_ct_CC,;t t
5679 s,@EXEEXT@,$EXEEXT,;t t
5680 s,@OBJEXT@,$OBJEXT,;t t
5681 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5682 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5683 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5685 s,@EGREP@,$EGREP,;t t
5686 s,@DUMPDEBUG@,$DUMPDEBUG,;t t
5687 s,@RESTOREDEBUG@,$RESTOREDEBUG,;t t
5688 s,@STATIC@,$STATIC,;t t
5689 s,@RMTDIR@,$RMTDIR,;t t
5691 s,@CRYPTO@,$CRYPTO,;t t
5692 s,@OPTDEFS@,$OPTDEFS,;t t
5693 s,@READLINE@,$READLINE,;t t
5695 s,@CCOPTS@,$CCOPTS,;t t
5696 s,@LDOPTS@,$LDOPTS,;t t
5697 s,@BINOWNER@,$BINOWNER,;t t
5698 s,@BINGRP@,$BINGRP,;t t
5699 s,@BINMODE@,$BINMODE,;t t
5700 s,@MANOWNER@,$MANOWNER,;t t
5701 s,@MANGRP@,$MANGRP,;t t
5702 s,@MANMODE@,$MANMODE,;t t
5703 s,@DUMPDATESPATH@,$DUMPDATESPATH,;t t
5705 s,@BZLIB@,$BZLIB,;t t
5706 s,@top_builddir@,$top_builddir,;t t
5707 s,@LIBOBJS@,$LIBOBJS,;t t
5708 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5709 /@MCONFIG@/r $MCONFIG
5715 cat >>$CONFIG_STATUS <<\_ACEOF
5716 # Split the substitutions into bite-sized pieces for seds with
5717 # small command number limits, like on Digital OSF/1 and HP-UX.
5719 ac_sed_frag
=1 # Number of current file.
5720 ac_beg
=1 # First line for current file.
5721 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5724 while $ac_more_lines; do
5725 if test $ac_beg -gt 1; then
5726 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5728 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5730 if test ! -s $tmp/subs.frag
; then
5733 # The purpose of the label and of the branching condition is to
5734 # speed up the sed processing (if there are no `@' at all, there
5735 # is no need to browse any of the substitutions).
5736 # These are the two extra sed commands mentioned above.
5738 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5739 if test -z "$ac_sed_cmds"; then
5740 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5742 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5744 ac_sed_frag
=`expr $ac_sed_frag + 1`
5746 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5749 if test -z "$ac_sed_cmds"; then
5752 fi # test -n "$CONFIG_FILES"
5755 cat >>$CONFIG_STATUS <<\_ACEOF
5756 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5757 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5759 - |
*:- |
*:-:* ) # input from stdin
5761 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5762 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5763 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5764 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5765 * ) ac_file_in
=$ac_file.
in ;;
5768 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5769 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5770 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5771 X"$ac_file" : 'X\(//\)[^/]' \| \
5772 X"$ac_file" : 'X\(//\)$' \| \
5773 X"$ac_file" : 'X\(/\)' \| \
5774 . : '\(.\)' 2>/dev/null ||
5776 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5777 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5778 /^X\(\/\/\)$/{ s//\1/; q; }
5779 /^X\(\/\).*/{ s//\1/; q; }
5781 { if $as_mkdir_p; then
5786 while test ! -d "$as_dir"; do
5787 as_dirs
="$as_dir $as_dirs"
5788 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5789 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5790 X"$as_dir" : 'X\(//\)[^/]' \| \
5791 X"$as_dir" : 'X\(//\)$' \| \
5792 X"$as_dir" : 'X\(/\)' \| \
5793 . : '\(.\)' 2>/dev/null ||
5795 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5796 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5797 /^X\(\/\/\)$/{ s//\1/; q; }
5798 /^X\(\/\).*/{ s//\1/; q; }
5801 test ! -n "$as_dirs" || mkdir
$as_dirs
5802 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5803 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5804 { (exit 1); exit 1; }; }; }
5808 if test "$ac_dir" != .
; then
5809 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5810 # A "../" for each directory in $ac_dir_suffix.
5811 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5813 ac_dir_suffix
= ac_top_builddir
=
5817 .
) # No --srcdir option. We are building in place.
5819 if test -z "$ac_top_builddir"; then
5822 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5824 [\\/]* | ?
:[\\/]* ) # Absolute path.
5825 ac_srcdir
=$srcdir$ac_dir_suffix;
5826 ac_top_srcdir
=$srcdir ;;
5828 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5829 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5831 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5833 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
5834 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5835 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5836 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5840 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5841 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5844 if test x
"$ac_file" != x-
; then
5845 { echo "$as_me:$LINENO: creating $ac_file" >&5
5846 echo "$as_me: creating $ac_file" >&6;}
5849 # Let's still pretend it is `configure' which instantiates (i.e., don't
5850 # use $as_me), people would be surprised to read:
5851 # /* config.h. Generated by config.status. */
5852 if test x
"$ac_file" = x-
; then
5855 configure_input
="$ac_file. "
5857 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5858 sed 's,.*/,,'` by configure."
5860 # First look for the input files in the build tree, otherwise in the
5862 ac_file_inputs
=`IFS=:
5863 for f in $ac_file_in; do
5865 -) echo $tmp/stdin ;;
5867 # Absolute (can't be DOS-style, as IFS=:)
5868 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5869 echo "$as_me: error: cannot find input file: $f" >&2;}
5870 { (exit 1); exit 1; }; }
5873 if test -f "$f"; then
5876 elif test -f "$srcdir/$f"; then
5881 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5882 echo "$as_me: error: cannot find input file: $f" >&2;}
5883 { (exit 1); exit 1; }; }
5886 done` ||
{ (exit 1); exit 1; }
5888 cat >>$CONFIG_STATUS <<_ACEOF
5892 cat >>$CONFIG_STATUS <<\_ACEOF
5894 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5895 s
,@configure_input@
,$configure_input,;t t
5896 s
,@srcdir@
,$ac_srcdir,;t t
5897 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5898 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5899 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5900 s
,@builddir@
,$ac_builddir,;t t
5901 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5902 s
,@top_builddir@
,$ac_top_builddir,;t t
5903 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5904 s
,@INSTALL@
,$ac_INSTALL,;t t
5905 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5907 if test x"$ac_file" != x-; then
5908 mv $tmp/out $ac_file
5916 cat >>$CONFIG_STATUS <<\_ACEOF
5919 # CONFIG_HEADER section.
5922 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5923 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5925 # ac_d sets the value in "#define NAME VALUE" lines.
5926 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5927 ac_dB
='[ ].*$,\1#\2'
5930 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5931 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5932 ac_uB
='$,\1#\2define\3'
5936 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5937 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5939 - |
*:- |
*:-:* ) # input from stdin
5941 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5942 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5943 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5944 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5945 * ) ac_file_in
=$ac_file.
in ;;
5948 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
5949 echo "$as_me: creating $ac_file" >&6;}
5951 # First look for the input files in the build tree, otherwise in the
5953 ac_file_inputs
=`IFS=:
5954 for f in $ac_file_in; do
5956 -) echo $tmp/stdin ;;
5958 # Absolute (can't be DOS-style, as IFS=:)
5959 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5960 echo "$as_me: error: cannot find input file: $f" >&2;}
5961 { (exit 1); exit 1; }; }
5964 if test -f "$f"; then
5967 elif test -f "$srcdir/$f"; then
5972 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5973 echo "$as_me: error: cannot find input file: $f" >&2;}
5974 { (exit 1); exit 1; }; }
5977 done` ||
{ (exit 1); exit 1; }
5978 # Remove the trailing spaces.
5979 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5983 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5984 # `conftest.undefs', that substitutes the proper values into
5985 # config.h.in to produce config.h. The first handles `#define'
5986 # templates, and the second `#undef' templates.
5987 # And first: Protect against being on the right side of a sed subst in
5988 # config.status. Protect against being in an unquoted here document
5990 rm -f conftest.defines conftest.undefs
5991 # Using a here document instead of a string reduces the quoting nightmare.
5992 # Putting comments in sed scripts is not portable.
5994 # `end' is used to avoid that the second main sed command (meant for
5995 # 0-ary CPP macros) applies to n-ary macro definitions.
5996 # See the Autoconf documentation for `clear'.
5997 cat >confdef2sed.
sed <<\_ACEOF
6002 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6004 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6007 # If some macros were called several times there might be several times
6008 # the same #defines, which is useless. Nevertheless, we may not want to
6009 # sort them, since we want the *last* AC-DEFINE to be honored.
6010 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6011 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6012 rm -f confdef2sed.sed
6014 # This sed command replaces #undef with comments. This is necessary, for
6015 # example, in the case of _POSIX_SOURCE, which is predefined and required
6016 # on some systems where configure will not decide to define it.
6017 cat >>conftest.undefs <<\_ACEOF
6018 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6021 # Break up conftest.defines because some shells have a limit on the size
6022 # of here documents, and old seds have small limits too (100 cmds).
6023 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6024 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6025 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6026 echo ' :' >>$CONFIG_STATUS
6028 while grep . conftest.defines >/dev/null
6030 # Write a limited-size here document to $tmp/defines.sed.
6031 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6032 # Speed up: don't consider the non `#define' lines.
6033 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6034 # Work around the forget-to-reset-the-flag bug.
6035 echo 't clr' >>$CONFIG_STATUS
6036 echo ': clr' >>$CONFIG_STATUS
6037 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6039 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6043 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6044 rm -f conftest.defines
6045 mv conftest.
tail conftest.defines
6047 rm -f conftest.defines
6048 echo ' fi # grep' >>$CONFIG_STATUS
6049 echo >>$CONFIG_STATUS
6051 # Break up conftest.undefs because some shells have a limit on the size
6052 # of here documents, and old seds have small limits too (100 cmds).
6053 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6055 while grep . conftest.undefs
>/dev
/null
6057 # Write a limited-size here document to $tmp/undefs.sed.
6058 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6059 # Speed up: don't consider the non
`#undef'
6060 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6061 # Work around the forget-to-reset-the-flag bug.
6062 echo 't clr' >>$CONFIG_STATUS
6063 echo ': clr' >>$CONFIG_STATUS
6064 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6066 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6070 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6071 rm -f conftest.undefs
6072 mv conftest.tail conftest.undefs
6074 rm -f conftest.undefs
6076 cat >>$CONFIG_STATUS <<\_ACEOF
6077 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6078 # use $as_me), people would be surprised to read:
6079 # /* config.h. Generated by config.status. */
6080 if test x
"$ac_file" = x-
; then
6081 echo "/* Generated by configure. */" >$tmp/config.h
6083 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6085 cat $tmp/in >>$tmp/config.h
6087 if test x
"$ac_file" != x-
; then
6088 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6089 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6090 echo "$as_me: $ac_file is unchanged" >&6;}
6092 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6093 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6094 X"$ac_file" : 'X\(//\)[^/]' \| \
6095 X"$ac_file" : 'X\(//\)$' \| \
6096 X"$ac_file" : 'X\(/\)' \| \
6097 . : '\(.\)' 2>/dev/null ||
6099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6100 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6101 /^X\(\/\/\)$/{ s//\1/; q; }
6102 /^X\(\/\).*/{ s//\1/; q; }
6104 { if $as_mkdir_p; then
6109 while test ! -d "$as_dir"; do
6110 as_dirs
="$as_dir $as_dirs"
6111 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6112 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6113 X"$as_dir" : 'X\(//\)[^/]' \| \
6114 X"$as_dir" : 'X\(//\)$' \| \
6115 X"$as_dir" : 'X\(/\)' \| \
6116 . : '\(.\)' 2>/dev/null ||
6118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6119 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6120 /^X\(\/\/\)$/{ s//\1/; q; }
6121 /^X\(\/\).*/{ s//\1/; q; }
6124 test ! -n "$as_dirs" || mkdir
$as_dirs
6125 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6126 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6127 { (exit 1); exit 1; }; }; }
6130 mv $tmp/config.h
$ac_file
6139 cat >>$CONFIG_STATUS <<\_ACEOF
6141 { (exit 0); exit 0; }
6143 chmod +x
$CONFIG_STATUS
6144 ac_clean_files
=$ac_clean_files_save
6147 # configure is writing to config.log, and then calls config.status.
6148 # config.status does its own redirection, appending to config.log.
6149 # Unfortunately, on DOS this fails, as config.log is still kept open
6150 # by configure, so config.status won't be able to write to it; its
6151 # output is simply discarded. So we exec the FD to /dev/null,
6152 # effectively closing config.log, so it can be properly (re)opened and
6153 # appended to by config.status. When coming back to configure, we
6154 # need to make the FD available again.
6155 if test "$no_create" != yes; then
6157 ac_config_status_args
=
6158 test "$silent" = yes &&
6159 ac_config_status_args
="$ac_config_status_args --quiet"
6161 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6163 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6164 # would make configure fail if this is the last instruction.
6165 $ac_cs_success ||
{ (exit 1); exit 1; }