2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/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 -z "`(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
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="dump/dump.h"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS 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 LD CCOPTS LDOPTS BINOWNER BINGRP BINMODE MANOWNER MANGRP MANMODE DUMPDATESPATH BLKID READLINE ZLIB BZLIB top_builddir LIBOBJS LTLIBOBJS'
313 ac_subst_files
='MCONFIG'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
836 if test -n "$ac_init_help"; then
841 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
842 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
843 --enable-debug include debugging code
(default is NO
)
844 --enable-static link dump and restore statically
(default is NO
)
845 --enable-staticz link libz and libbz2 statically
(default is NO
)
846 --enable-rmt compile and
install rmt
(default is YES
)
847 --enable-ermt compile ermt
, an encrypting version of rmt
(default is NO
)
848 --enable-kerberos compile kerberos extensions
(default is NO
)
849 --enable-readline enable readline support
in restore
(default is YES
)
850 --enable-oldstylefscript enable old style F
script (no arguments
) (default is NO
)
851 --enable-largefile enable Large File System support
(default is YES
)
852 --enable-qfa enable Quick File Access support
(default is YES
)
853 --enable-qfadebug include Quick File Access debugging code
(default is NO
)
854 --enable-macosx include Mac OSX restore compatibility
(default is NO
)
857 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
858 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
859 --with-cc=COMPILER
select compiler to use
860 --with-linker=LINKER
select linker to use
861 --with-ccopts=CCOPTS
select compiler
command line options
862 --with-ldopts=LDOPTS
select linker
command line options
863 --with-binowner=USER
select owner
for binaries
864 --with-bingrp=GROUP
select group
for binaries
865 --with-binmode=MODE
select mode
for binaries
866 --with-manowner=USER
select owner
for manual pages
867 --with-mangrp=GROUP
select group
for manual pages
868 --with-manmode=MODE
select mode
for manual pages
869 --with-dumpdatespath=PATH
select path
for dumpdates
file
871 Some influential environment variables
:
872 CC C compiler
command
873 CFLAGS C compiler flags
874 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
875 nonstandard directory
<lib dir
>
876 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
877 headers
in a nonstandard directory
<include dir
>
880 Use these variables to override the choices made by
`configure' or to help
881 it to find libraries and programs with nonstandard names/locations.
886 if test "$ac_init_help" = "recursive"; then
887 # If there are subdirs, report their specific --help.
889 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
890 test -d $ac_dir || continue
893 if test "$ac_dir" != .; then
894 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
895 # A "../" for each directory in $ac_dir_suffix.
896 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
898 ac_dir_suffix= ac_top_builddir=
902 .) # No --srcdir option. We are building in place.
904 if test -z "$ac_top_builddir"; then
907 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
909 [\\/]* | ?:[\\/]* ) # Absolute path.
910 ac_srcdir=$srcdir$ac_dir_suffix;
911 ac_top_srcdir=$srcdir ;;
913 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
914 ac_top_srcdir=$ac_top_builddir$srcdir ;;
917 # Do not use `cd foo
&& pwd` to compute absolute paths, because
918 # the directories may not exist.
920 .) ac_abs_builddir="$ac_dir";;
923 .) ac_abs_builddir=`pwd`;;
924 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
925 *) ac_abs_builddir=`pwd`/"$ac_dir";;
928 case $ac_abs_builddir in
929 .) ac_abs_top_builddir=${ac_top_builddir}.;;
931 case ${ac_top_builddir}. in
932 .) ac_abs_top_builddir=$ac_abs_builddir;;
933 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
934 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
937 case $ac_abs_builddir in
938 .) ac_abs_srcdir=$ac_srcdir;;
941 .) ac_abs_srcdir=$ac_abs_builddir;;
942 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
943 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
946 case $ac_abs_builddir in
947 .) ac_abs_top_srcdir=$ac_top_srcdir;;
949 case $ac_top_srcdir in
950 .) ac_abs_top_srcdir=$ac_abs_builddir;;
951 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
952 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
957 # Check for guested configure; otherwise get Cygnus style configure.
958 if test -f $ac_srcdir/configure.gnu; then
960 $SHELL $ac_srcdir/configure.gnu --help=recursive
961 elif test -f $ac_srcdir/configure; then
963 $SHELL $ac_srcdir/configure --help=recursive
964 elif test -f $ac_srcdir/configure.ac ||
965 test -f $ac_srcdir/configure.in; then
969 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
975 test -n "$ac_init_help" && exit 0
976 if $ac_init_version; then
979 Copyright (C) 2003 Free Software Foundation, Inc.
980 This configure script is free software; the Free Software Foundation
981 gives unlimited permission to copy, distribute and modify it.
987 This file contains any messages produced by compilers while
988 running configure, to aid debugging if configure makes a mistake.
990 It was created by $as_me, which was
991 generated by GNU Autoconf 2.59. Invocation command line was
1002 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1003 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1004 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1005 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1006 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1008 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1009 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1011 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1012 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1013 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1014 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1015 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1016 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1017 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1025 test -z "$as_dir" && as_dir=.
1026 echo "PATH: $as_dir"
1041 # Keep a trace of the command line.
1042 # Strip out --no-create and --no-recursion so they do not pile up.
1043 # Strip out --silent because we don't want to record it for future runs.
1044 # Also quote any args containing shell meta-characters.
1045 # Make two passes to allow for proper duplicate-argument suppression.
1050 ac_must_keep_next=false
1056 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1058 | -silent | --silent | --silen | --sile | --sil)
1060 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1061 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1064 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1066 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1067 if test $ac_must_keep_next = true; then
1068 ac_must_keep_next=false # Got value, back to normal.
1071 *=* | --config-cache | -C | -disable-* | --disable-* \
1072 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1073 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1074 | -with-* | --with-* | -without-* | --without-* | --x)
1075 case "$ac_configure_args0 " in
1076 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1079 -* ) ac_must_keep_next=true ;;
1082 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1083 # Get rid of the leading space.
1089 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1090 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1092 # When interrupted or exit'd, cleanup temporary files, and complete
1093 # config.log. We remove comments because anyway the quotes in there
1094 # would cause problems or look ugly.
1095 # WARNING: Be sure not to use single quotes in there, as some shells,
1096 # such as our DU 5.0 friend, will then `close
' the trap.
1097 trap 'exit_status
=$?
1098 # Save into config.log some information that might help in debugging.
1103 ## ---------------- ##
1104 ## Cache variables. ##
1105 ## ---------------- ##
1108 # The following way of writing the cache mishandles newlines in values,
1111 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1114 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1115 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1119 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1126 ## ----------------- ##
1127 ## Output variables. ##
1128 ## ----------------- ##
1131 for ac_var
in $ac_subst_vars
1133 eval ac_val
=$
`echo $ac_var`
1134 echo "$ac_var='"'"'$ac_val'"'"'"
1138 if test -n "$ac_subst_files"; then
1145 for ac_var
in $ac_subst_files
1147 eval ac_val
=$
`echo $ac_var`
1148 echo "$ac_var='"'"'$ac_val'"'"'"
1153 if test -s confdefs.h
; then
1160 sed "/^$/d" confdefs.h |
sort
1163 test "$ac_signal" != 0 &&
1164 echo "$as_me: caught signal $ac_signal"
1165 echo "$as_me: exit $exit_status"
1167 rm -f core
*.core
&&
1168 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1171 for ac_signal in 1 2 13 15; do
1172 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1176 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1177 rm -rf conftest* confdefs.h
1178 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1181 # Predefined preprocessor variables.
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_NAME "$PACKAGE_NAME"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1198 cat >>confdefs.h <<_ACEOF
1199 #define PACKAGE_STRING "$PACKAGE_STRING"
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1208 # Let the site file select an alternate cache file if it wants to.
1209 # Prefer explicitly selected file to automatically selected ones.
1210 if test -z "$CONFIG_SITE"; then
1211 if test "x$prefix" != xNONE; then
1212 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1214 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1217 for ac_site_file in $CONFIG_SITE; do
1218 if test -r "$ac_site_file"; then
1219 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1220 echo "$as_me: loading site script $ac_site_file" >&6;}
1221 sed 's
/^
/|
/' "$ac_site_file" >&5
1226 if test -r "$cache_file"; then
1227 # Some versions of bash will fail to source /dev/null (special
1228 # files actually), so we avoid doing that.
1229 if test -f "$cache_file"; then
1230 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1231 echo "$as_me: loading cache $cache_file" >&6;}
1233 [\\/]* | ?:[\\/]* ) . $cache_file;;
1234 *) . ./$cache_file;;
1238 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1239 echo "$as_me: creating cache $cache_file" >&6;}
1243 # Check that the precious variables saved in the cache have kept the same
1245 ac_cache_corrupted=false
1246 for ac_var in `(set) 2>&1 |
1247 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1248 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1249 eval ac_new_set=\$ac_env_${ac_var}_set
1250 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1251 eval ac_new_val="\$ac_env_${ac_var}_value"
1252 case $ac_old_set,$ac_new_set in
1254 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1256 ac_cache_corrupted=: ;;
1258 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1259 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1260 ac_cache_corrupted=: ;;
1263 if test "x$ac_old_val" != "x$ac_new_val"; then
1264 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1265 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1266 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1267 echo "$as_me: former value: $ac_old_val" >&2;}
1268 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1269 echo "$as_me: current value: $ac_new_val" >&2;}
1270 ac_cache_corrupted=:
1273 # Pass precious variables to config.status.
1274 if test "$ac_new_set" = set; then
1276 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1277 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1278 *) ac_arg=$ac_var=$ac_new_val ;;
1280 case " $ac_configure_args " in
1281 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1282 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1286 if $ac_cache_corrupted; then
1287 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1288 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1289 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1290 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1291 { (exit 1); exit 1; }; }
1295 ac_cpp='$CPP $CPPFLAGS'
1296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1297 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1323 ac_config_headers="$ac_config_headers config.h"
1326 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1327 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1328 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y
,:.
/+-,___p_
,'`
1329 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1330 echo $ECHO_N "(cached) $ECHO_C" >&6
1332 cat >conftest.make <<\_ACEOF
1334 @echo 'ac_maketemp
="$(MAKE)"'
1336 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1337 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1338 if test -n "$ac_maketemp"; then
1339 eval ac_cv_prog_make_${ac_make}_set=yes
1341 eval ac_cv_prog_make_${ac_make}_set=no
1345 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1346 echo "$as_me:$LINENO: result: yes" >&5
1347 echo "${ECHO_T}yes" >&6
1350 echo "$as_me:$LINENO: result: no" >&5
1351 echo "${ECHO_T}no" >&6
1352 SET_MAKE="MAKE=${MAKE-make}"
1355 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1356 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1358 if test "$LN_S" = "ln -s"; then
1359 echo "$as_me:$LINENO: result: yes" >&5
1360 echo "${ECHO_T}yes" >&6
1362 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1363 echo "${ECHO_T}no, using $LN_S" >&6
1366 # Extract the first word of "cp", so it can be a program name with args.
1367 set dummy cp; ac_word=$2
1368 echo "$as_me:$LINENO: checking for $ac_word" >&5
1369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1370 if test "${ac_cv_path_CP+set}" = set; then
1371 echo $ECHO_N "(cached) $ECHO_C" >&6
1375 ac_cv_path_CP="$CP" # Let the user override the test with a path.
1378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1382 test -z "$as_dir" && as_dir=.
1383 for ac_exec_ext in '' $ac_executable_extensions; do
1384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1385 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
1386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1392 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
1398 if test -n "$CP"; then
1399 echo "$as_me:$LINENO: result: $CP" >&5
1400 echo "${ECHO_T}$CP" >&6
1402 echo "$as_me:$LINENO: result: no" >&5
1403 echo "${ECHO_T}no" >&6
1406 # Extract the first word of "mv", so it can be a program name with args.
1407 set dummy mv; ac_word=$2
1408 echo "$as_me:$LINENO: checking for $ac_word" >&5
1409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1410 if test "${ac_cv_path_MV+set}" = set; then
1411 echo $ECHO_N "(cached) $ECHO_C" >&6
1415 ac_cv_path_MV="$MV" # Let the user override the test with a path.
1418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1422 test -z "$as_dir" && as_dir=.
1423 for ac_exec_ext in '' $ac_executable_extensions; do
1424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1425 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
1426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1432 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
1438 if test -n "$MV"; then
1439 echo "$as_me:$LINENO: result: $MV" >&5
1440 echo "${ECHO_T}$MV" >&6
1442 echo "$as_me:$LINENO: result: no" >&5
1443 echo "${ECHO_T}no" >&6
1446 # Extract the first word of "rm", so it can be a program name with args.
1447 set dummy rm; ac_word=$2
1448 echo "$as_me:$LINENO: checking for $ac_word" >&5
1449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1450 if test "${ac_cv_path_RM+set}" = set; then
1451 echo $ECHO_N "(cached) $ECHO_C" >&6
1455 ac_cv_path_RM="$RM" # Let the user override the test with a path.
1458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1462 test -z "$as_dir" && as_dir=.
1463 for ac_exec_ext in '' $ac_executable_extensions; do
1464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1465 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
1466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1472 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
1478 if test -n "$RM"; then
1479 echo "$as_me:$LINENO: result: $RM" >&5
1480 echo "${ECHO_T}$RM" >&6
1482 echo "$as_me:$LINENO: result: no" >&5
1483 echo "${ECHO_T}no" >&6
1486 if test -n "$ac_tool_prefix"; then
1487 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1488 set dummy ${ac_tool_prefix}ar; ac_word=$2
1489 echo "$as_me:$LINENO: checking for $ac_word" >&5
1490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1491 if test "${ac_cv_prog_AR+set}" = set; then
1492 echo $ECHO_N "(cached) $ECHO_C" >&6
1494 if test -n "$AR"; then
1495 ac_cv_prog_AR="$AR" # Let the user override the test.
1497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1501 test -z "$as_dir" && as_dir=.
1502 for ac_exec_ext in '' $ac_executable_extensions; do
1503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1504 ac_cv_prog_AR="${ac_tool_prefix}ar"
1505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1514 if test -n "$AR"; then
1515 echo "$as_me:$LINENO: result: $AR" >&5
1516 echo "${ECHO_T}$AR" >&6
1518 echo "$as_me:$LINENO: result: no" >&5
1519 echo "${ECHO_T}no" >&6
1523 if test -z "$ac_cv_prog_AR"; then
1525 # Extract the first word of "ar", so it can be a program name with args.
1526 set dummy ar; ac_word=$2
1527 echo "$as_me:$LINENO: checking for $ac_word" >&5
1528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1529 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
1530 echo $ECHO_N "(cached) $ECHO_C" >&6
1532 if test -n "$ac_ct_AR"; then
1533 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
1535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1539 test -z "$as_dir" && as_dir=.
1540 for ac_exec_ext in '' $ac_executable_extensions; do
1541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1542 ac_cv_prog_ac_ct_AR="ar"
1543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1549 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
1552 ac_ct_AR=$ac_cv_prog_ac_ct_AR
1553 if test -n "$ac_ct_AR"; then
1554 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
1555 echo "${ECHO_T}$ac_ct_AR" >&6
1557 echo "$as_me:$LINENO: result: no" >&5
1558 echo "${ECHO_T}no" >&6
1566 if test -n "$ac_tool_prefix"; then
1567 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1568 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1569 echo "$as_me:$LINENO: checking for $ac_word" >&5
1570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1571 if test "${ac_cv_prog_RANLIB+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 if test -n "$RANLIB"; then
1575 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1581 test -z "$as_dir" && as_dir=.
1582 for ac_exec_ext in '' $ac_executable_extensions; do
1583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1584 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1593 RANLIB=$ac_cv_prog_RANLIB
1594 if test -n "$RANLIB"; then
1595 echo "$as_me:$LINENO: result: $RANLIB" >&5
1596 echo "${ECHO_T}$RANLIB" >&6
1598 echo "$as_me:$LINENO: result: no" >&5
1599 echo "${ECHO_T}no" >&6
1603 if test -z "$ac_cv_prog_RANLIB"; then
1604 ac_ct_RANLIB=$RANLIB
1605 # Extract the first word of "ranlib", so it can be a program name with args.
1606 set dummy ranlib; ac_word=$2
1607 echo "$as_me:$LINENO: checking for $ac_word" >&5
1608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1609 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1610 echo $ECHO_N "(cached) $ECHO_C" >&6
1612 if test -n "$ac_ct_RANLIB"; then
1613 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1619 test -z "$as_dir" && as_dir=.
1620 for ac_exec_ext in '' $ac_executable_extensions; do
1621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1622 ac_cv_prog_ac_ct_RANLIB="ranlib"
1623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1629 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1632 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1633 if test -n "$ac_ct_RANLIB"; then
1634 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1635 echo "${ECHO_T}$ac_ct_RANLIB" >&6
1637 echo "$as_me:$LINENO: result: no" >&5
1638 echo "${ECHO_T}no" >&6
1641 RANLIB=$ac_ct_RANLIB
1643 RANLIB="$ac_cv_prog_RANLIB"
1646 if test -n "$ac_tool_prefix"; then
1647 # Extract the first word of "${ac_tool_prefix}patch", so it can be a program name with args.
1648 set dummy ${ac_tool_prefix}patch; ac_word=$2
1649 echo "$as_me:$LINENO: checking for $ac_word" >&5
1650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1651 if test "${ac_cv_prog_PATCH+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 if test -n "$PATCH"; then
1655 ac_cv_prog_PATCH="$PATCH" # Let the user override the test.
1657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1661 test -z "$as_dir" && as_dir=.
1662 for ac_exec_ext in '' $ac_executable_extensions; do
1663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1664 ac_cv_prog_PATCH="${ac_tool_prefix}patch"
1665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1673 PATCH=$ac_cv_prog_PATCH
1674 if test -n "$PATCH"; then
1675 echo "$as_me:$LINENO: result: $PATCH" >&5
1676 echo "${ECHO_T}$PATCH" >&6
1678 echo "$as_me:$LINENO: result: no" >&5
1679 echo "${ECHO_T}no" >&6
1683 if test -z "$ac_cv_prog_PATCH"; then
1685 # Extract the first word of "patch", so it can be a program name with args.
1686 set dummy patch; ac_word=$2
1687 echo "$as_me:$LINENO: checking for $ac_word" >&5
1688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1689 if test "${ac_cv_prog_ac_ct_PATCH+set}" = set; then
1690 echo $ECHO_N "(cached) $ECHO_C" >&6
1692 if test -n "$ac_ct_PATCH"; then
1693 ac_cv_prog_ac_ct_PATCH="$ac_ct_PATCH" # Let the user override the test.
1695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1699 test -z "$as_dir" && as_dir=.
1700 for ac_exec_ext in '' $ac_executable_extensions; do
1701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1702 ac_cv_prog_ac_ct_PATCH="patch"
1703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1709 test -z "$ac_cv_prog_ac_ct_PATCH" && ac_cv_prog_ac_ct_PATCH=":"
1712 ac_ct_PATCH=$ac_cv_prog_ac_ct_PATCH
1713 if test -n "$ac_ct_PATCH"; then
1714 echo "$as_me:$LINENO: result: $ac_ct_PATCH" >&5
1715 echo "${ECHO_T}$ac_ct_PATCH" >&6
1717 echo "$as_me:$LINENO: result: no" >&5
1718 echo "${ECHO_T}no" >&6
1723 PATCH="$ac_cv_prog_PATCH"
1727 ac_cpp='$CPP $CPPFLAGS'
1728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1729 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1731 if test -n "$ac_tool_prefix"; then
1732 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1733 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1734 echo "$as_me:$LINENO: checking for $ac_word" >&5
1735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1736 if test "${ac_cv_prog_CC+set}" = set; then
1737 echo $ECHO_N "(cached) $ECHO_C" >&6
1739 if test -n "$CC"; then
1740 ac_cv_prog_CC="$CC" # Let the user override the test.
1742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1746 test -z "$as_dir" && as_dir=.
1747 for ac_exec_ext in '' $ac_executable_extensions; do
1748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1749 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1759 if test -n "$CC"; then
1760 echo "$as_me:$LINENO: result: $CC" >&5
1761 echo "${ECHO_T}$CC" >&6
1763 echo "$as_me:$LINENO: result: no" >&5
1764 echo "${ECHO_T}no" >&6
1768 if test -z "$ac_cv_prog_CC"; then
1770 # Extract the first word of "gcc", so it can be a program name with args.
1771 set dummy gcc; ac_word=$2
1772 echo "$as_me:$LINENO: checking for $ac_word" >&5
1773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1774 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1777 if test -n "$ac_ct_CC"; then
1778 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1784 test -z "$as_dir" && as_dir=.
1785 for ac_exec_ext in '' $ac_executable_extensions; do
1786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1787 ac_cv_prog_ac_ct_CC="gcc"
1788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1796 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1797 if test -n "$ac_ct_CC"; then
1798 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1799 echo "${ECHO_T}$ac_ct_CC" >&6
1801 echo "$as_me:$LINENO: result: no" >&5
1802 echo "${ECHO_T}no" >&6
1810 if test -z "$CC"; then
1811 if test -n "$ac_tool_prefix"; then
1812 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1813 set dummy ${ac_tool_prefix}cc; ac_word=$2
1814 echo "$as_me:$LINENO: checking for $ac_word" >&5
1815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1816 if test "${ac_cv_prog_CC+set}" = set; then
1817 echo $ECHO_N "(cached) $ECHO_C" >&6
1819 if test -n "$CC"; then
1820 ac_cv_prog_CC="$CC" # Let the user override the test.
1822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1826 test -z "$as_dir" && as_dir=.
1827 for ac_exec_ext in '' $ac_executable_extensions; do
1828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1829 ac_cv_prog_CC="${ac_tool_prefix}cc"
1830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1839 if test -n "$CC"; then
1840 echo "$as_me:$LINENO: result: $CC" >&5
1841 echo "${ECHO_T}$CC" >&6
1843 echo "$as_me:$LINENO: result: no" >&5
1844 echo "${ECHO_T}no" >&6
1848 if test -z "$ac_cv_prog_CC"; then
1850 # Extract the first word of "cc", so it can be a program name with args.
1851 set dummy cc; ac_word=$2
1852 echo "$as_me:$LINENO: checking for $ac_word" >&5
1853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1854 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1855 echo $ECHO_N "(cached) $ECHO_C" >&6
1857 if test -n "$ac_ct_CC"; then
1858 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1864 test -z "$as_dir" && as_dir=.
1865 for ac_exec_ext in '' $ac_executable_extensions; do
1866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1867 ac_cv_prog_ac_ct_CC="cc"
1868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1876 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1877 if test -n "$ac_ct_CC"; then
1878 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1879 echo "${ECHO_T}$ac_ct_CC" >&6
1881 echo "$as_me:$LINENO: result: no" >&5
1882 echo "${ECHO_T}no" >&6
1891 if test -z "$CC"; then
1892 # Extract the first word of "cc", so it can be a program name with args.
1893 set dummy cc; ac_word=$2
1894 echo "$as_me:$LINENO: checking for $ac_word" >&5
1895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1896 if test "${ac_cv_prog_CC+set}" = set; then
1897 echo $ECHO_N "(cached) $ECHO_C" >&6
1899 if test -n "$CC"; then
1900 ac_cv_prog_CC="$CC" # Let the user override the test.
1903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1907 test -z "$as_dir" && as_dir=.
1908 for ac_exec_ext in '' $ac_executable_extensions; do
1909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1910 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1911 ac_prog_rejected=yes
1915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1921 if test $ac_prog_rejected = yes; then
1922 # We found a bogon in the path, so make sure we never use it.
1923 set dummy $ac_cv_prog_CC
1925 if test $# != 0; then
1926 # We chose a different compiler from the bogus one.
1927 # However, it has the same basename, so the bogon will be chosen
1928 # first if we set CC to just the basename; use the full file name.
1930 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1936 if test -n "$CC"; then
1937 echo "$as_me:$LINENO: result: $CC" >&5
1938 echo "${ECHO_T}$CC" >&6
1940 echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1945 if test -z "$CC"; then
1946 if test -n "$ac_tool_prefix"; then
1949 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1950 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1951 echo "$as_me:$LINENO: checking for $ac_word" >&5
1952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1953 if test "${ac_cv_prog_CC+set}" = set; then
1954 echo $ECHO_N "(cached) $ECHO_C" >&6
1956 if test -n "$CC"; then
1957 ac_cv_prog_CC="$CC" # Let the user override the test.
1959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1963 test -z "$as_dir" && as_dir=.
1964 for ac_exec_ext in '' $ac_executable_extensions; do
1965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1966 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1976 if test -n "$CC"; then
1977 echo "$as_me:$LINENO: result: $CC" >&5
1978 echo "${ECHO_T}$CC" >&6
1980 echo "$as_me:$LINENO: result: no" >&5
1981 echo "${ECHO_T}no" >&6
1984 test -n "$CC" && break
1987 if test -z "$CC"; then
1991 # Extract the first word of "$ac_prog", so it can be a program name with args.
1992 set dummy $ac_prog; ac_word=$2
1993 echo "$as_me:$LINENO: checking for $ac_word" >&5
1994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1995 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1996 echo $ECHO_N "(cached) $ECHO_C" >&6
1998 if test -n "$ac_ct_CC"; then
1999 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2005 test -z "$as_dir" && as_dir=.
2006 for ac_exec_ext in '' $ac_executable_extensions; do
2007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2008 ac_cv_prog_ac_ct_CC="$ac_prog"
2009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2017 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2018 if test -n "$ac_ct_CC"; then
2019 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2020 echo "${ECHO_T}$ac_ct_CC" >&6
2022 echo "$as_me:$LINENO: result: no" >&5
2023 echo "${ECHO_T}no" >&6
2026 test -n "$ac_ct_CC" && break
2035 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2036 See \`config.log' for more details.
" >&5
2037 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2038 See \
`config.log' for more details." >&2;}
2039 { (exit 1); exit 1; }; }
2041 # Provide some information about the compiler.
2042 echo "$as_me:$LINENO:" \
2043 "checking for C compiler version" >&5
2044 ac_compiler=`set X
$ac_compile; echo $2`
2045 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2046 (eval $ac_compiler --version </dev/null >&5) 2>&5
2048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2049 (exit $ac_status); }
2050 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2051 (eval $ac_compiler -v </dev/null >&5) 2>&5
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); }
2055 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2056 (eval $ac_compiler -V </dev/null >&5) 2>&5
2058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2059 (exit $ac_status); }
2061 cat >conftest.$ac_ext <<_ACEOF
2064 cat confdefs.h >>conftest.$ac_ext
2065 cat >>conftest.$ac_ext <<_ACEOF
2066 /* end confdefs.h. */
2076 ac_clean_files_save=$ac_clean_files
2077 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2078 # Try to create an executable without -o first, disregard a.out.
2079 # It will help us diagnose broken compilers, and finding out an intuition
2081 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2082 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2083 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2084 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2085 (eval $ac_link_default) 2>&5
2087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2088 (exit $ac_status); }; then
2089 # Find the output, starting from the most likely. This scheme is
2090 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
2093 # Be careful to initialize this variable, since it used to be cached.
2094 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
2096 # b.out is created by i960 compilers.
2097 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2099 test -f "$ac_file" || continue
2101 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2104 # This is the source file.
2107 # We found the default executable, but exeext='' is most
2111 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2112 # FIXME: I believe we export ac_cv_exeext for Libtool,
2113 # but it would be cool to find out if it's true. Does anybody
2114 # maintain Libtool? --akim.
2122 echo "$as_me: failed program was:" >&5
2123 sed 's/^/| /' conftest.$ac_ext >&5
2125 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2126 See \`config.log
' for more details." >&5
2127 echo "$as_me: error: C compiler cannot create executables
2128 See \`config.log' for more details.
" >&2;}
2129 { (exit 77); exit 77; }; }
2132 ac_exeext=$ac_cv_exeext
2133 echo "$as_me:$LINENO: result
: $ac_file" >&5
2134 echo "${ECHO_T}$ac_file" >&6
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 the C compiler works
" >&5
2139 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
2140 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2141 # If not cross compiling, check that we can run a simple program.
2142 if test "$cross_compiling" != yes; then
2143 if { ac_try='./$ac_file'
2144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2147 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2148 (exit $ac_status); }; }; then
2151 if test "$cross_compiling" = maybe; then
2154 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2155 If you meant to cross compile
, use \
`--host'.
2156 See \`config.log
' for more details." >&5
2157 echo "$as_me: error: cannot run C compiled programs.
2158 If you meant to cross compile, use \`--host'.
2159 See \
`config.log' for more details." >&2;}
2160 { (exit 1); exit 1; }; }
2164 echo "$as_me:$LINENO: result: yes" >&5
2165 echo "${ECHO_T}yes" >&6
2167 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2168 ac_clean_files=$ac_clean_files_save
2169 # Check the compiler produces executables we can run. If not, either
2170 # the compiler is broken, or we cross compile.
2171 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2172 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2173 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2174 echo "${ECHO_T}$cross_compiling" >&6
2176 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2177 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2179 (eval $ac_link) 2>&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); }; then
2183 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2184 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2185 # work properly (i.e., refer to `conftest.exe'), while it won't with
2187 for ac_file
in conftest.exe conftest conftest.
*; do
2188 test -f "$ac_file" ||
continue
2190 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2191 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2198 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2199 See \`config.log' for more details." >&5
2200 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2201 See \`config.log' for more details." >&2;}
2202 { (exit 1); exit 1; }; }
2205 rm -f conftest
$ac_cv_exeext
2206 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2207 echo "${ECHO_T}$ac_cv_exeext" >&6
2209 rm -f conftest.
$ac_ext
2210 EXEEXT
=$ac_cv_exeext
2212 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2213 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2214 if test "${ac_cv_objext+set}" = set; then
2215 echo $ECHO_N "(cached) $ECHO_C" >&6
2217 cat >conftest.
$ac_ext <<_ACEOF
2220 cat confdefs.h
>>conftest.
$ac_ext
2221 cat >>conftest.
$ac_ext <<_ACEOF
2222 /* end confdefs.h. */
2232 rm -f conftest.o conftest.obj
2233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2234 (eval $ac_compile) 2>&5
2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237 (exit $ac_status); }; then
2238 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2240 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2241 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2246 echo "$as_me: failed program was:" >&5
2247 sed 's/^/| /' conftest.
$ac_ext >&5
2249 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2250 See \`config.log' for more details." >&5
2251 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2252 See \`config.log' for more details." >&2;}
2253 { (exit 1); exit 1; }; }
2256 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2258 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2259 echo "${ECHO_T}$ac_cv_objext" >&6
2260 OBJEXT
=$ac_cv_objext
2262 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2263 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2264 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2265 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 cat >conftest.
$ac_ext <<_ACEOF
2270 cat confdefs.h
>>conftest.
$ac_ext
2271 cat >>conftest.
$ac_ext <<_ACEOF
2272 /* end confdefs.h. */
2285 rm -f conftest.
$ac_objext
2286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2287 (eval $ac_compile) 2>conftest.er1
2289 grep -v '^ *+' conftest.er1
>conftest.err
2291 cat conftest.err
>&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); } &&
2294 { ac_try
='test -z "$ac_c_werror_flag"
2295 || test ! -s conftest.err'
2296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); }; } &&
2301 { ac_try
='test -s conftest.$ac_objext'
2302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); }; }; then
2309 echo "$as_me: failed program was:" >&5
2310 sed 's/^/| /' conftest.
$ac_ext >&5
2314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2315 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2318 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2319 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2320 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2321 ac_test_CFLAGS
=${CFLAGS+set}
2322 ac_save_CFLAGS
=$CFLAGS
2324 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2325 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2326 if test "${ac_cv_prog_cc_g+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6
2329 cat >conftest.
$ac_ext <<_ACEOF
2332 cat confdefs.h
>>conftest.
$ac_ext
2333 cat >>conftest.
$ac_ext <<_ACEOF
2334 /* end confdefs.h. */
2344 rm -f conftest.
$ac_objext
2345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2346 (eval $ac_compile) 2>conftest.er1
2348 grep -v '^ *+' conftest.er1
>conftest.err
2350 cat conftest.err
>&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); } &&
2353 { ac_try
='test -z "$ac_c_werror_flag"
2354 || test ! -s conftest.err'
2355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }; } &&
2360 { ac_try
='test -s conftest.$ac_objext'
2361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; }; then
2368 echo "$as_me: failed program was:" >&5
2369 sed 's/^/| /' conftest.
$ac_ext >&5
2373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2375 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2376 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2377 if test "$ac_test_CFLAGS" = set; then
2378 CFLAGS
=$ac_save_CFLAGS
2379 elif test $ac_cv_prog_cc_g = yes; then
2380 if test "$GCC" = yes; then
2386 if test "$GCC" = yes; then
2392 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2393 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2394 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2395 echo $ECHO_N "(cached) $ECHO_C" >&6
2397 ac_cv_prog_cc_stdc
=no
2399 cat >conftest.
$ac_ext <<_ACEOF
2402 cat confdefs.h
>>conftest.
$ac_ext
2403 cat >>conftest.
$ac_ext <<_ACEOF
2404 /* end confdefs.h. */
2407 #include <sys/types.h>
2408 #include <sys/stat.h>
2409 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2410 struct buf { int x; };
2411 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2412 static char *e (p, i)
2418 static char *f (char * (*g) (char **, int), char **p, ...)
2423 s = g (p, va_arg (v,int));
2428 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2429 function prototypes and stuff, but not '\xHH' hex character constants.
2430 These don't provoke an error unfortunately, instead are silently treated
2431 as 'x'. The following induces an error, until -std1 is added to get
2432 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2433 array size at least. It's necessary to write '\x00'==0 to get something
2434 that's true only with -std1. */
2435 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2437 int test (int i, double x);
2438 struct s1 {int (*f) (int a);};
2439 struct s2 {int (*f) (double a);};
2440 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2446 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2451 # Don't try gcc -ansi; that turns off useful extensions and
2452 # breaks some systems' header files.
2453 # AIX -qlanglvl=ansi
2454 # Ultrix and OSF/1 -std1
2455 # HP-UX 10.20 and later -Ae
2456 # HP-UX older versions -Aa -D_HPUX_SOURCE
2457 # SVR4 -Xc -D__EXTENSIONS__
2458 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2460 CC
="$ac_save_CC $ac_arg"
2461 rm -f conftest.
$ac_objext
2462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2463 (eval $ac_compile) 2>conftest.er1
2465 grep -v '^ *+' conftest.er1
>conftest.err
2467 cat conftest.err
>&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); } &&
2470 { ac_try
='test -z "$ac_c_werror_flag"
2471 || test ! -s conftest.err'
2472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }; } &&
2477 { ac_try
='test -s conftest.$ac_objext'
2478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); }; }; then
2483 ac_cv_prog_cc_stdc
=$ac_arg
2486 echo "$as_me: failed program was:" >&5
2487 sed 's/^/| /' conftest.
$ac_ext >&5
2490 rm -f conftest.err conftest.
$ac_objext
2492 rm -f conftest.
$ac_ext conftest.
$ac_objext
2497 case "x$ac_cv_prog_cc_stdc" in
2499 echo "$as_me:$LINENO: result: none needed" >&5
2500 echo "${ECHO_T}none needed" >&6 ;;
2502 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2503 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2504 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2507 # Some people use a C++ compiler to compile C. Since we use `exit',
2508 # in C++ we need to declare it. In case someone uses the same compiler
2509 # for both compiling C and C++ we need to have the C++ compiler decide
2510 # the declaration of exit, since it's the most demanding environment.
2511 cat >conftest.
$ac_ext <<_ACEOF
2516 rm -f conftest.
$ac_objext
2517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2518 (eval $ac_compile) 2>conftest.er1
2520 grep -v '^ *+' conftest.er1
>conftest.err
2522 cat conftest.err
>&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); } &&
2525 { ac_try
='test -z "$ac_c_werror_flag"
2526 || test ! -s conftest.err'
2527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); }; } &&
2532 { ac_try
='test -s conftest.$ac_objext'
2533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }; }; then
2538 for ac_declaration
in \
2540 'extern "C" void std::exit (int) throw (); using std::exit;' \
2541 'extern "C" void std::exit (int); using std::exit;' \
2542 'extern "C" void exit (int) throw ();' \
2543 'extern "C" void exit (int);' \
2546 cat >conftest.
$ac_ext <<_ACEOF
2549 cat confdefs.h
>>conftest.
$ac_ext
2550 cat >>conftest.
$ac_ext <<_ACEOF
2551 /* end confdefs.h. */
2562 rm -f conftest.
$ac_objext
2563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2564 (eval $ac_compile) 2>conftest.er1
2566 grep -v '^ *+' conftest.er1
>conftest.err
2568 cat conftest.err
>&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); } &&
2571 { ac_try
='test -z "$ac_c_werror_flag"
2572 || test ! -s conftest.err'
2573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; } &&
2578 { ac_try
='test -s conftest.$ac_objext'
2579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }; }; then
2586 echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.
$ac_ext >&5
2591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2592 cat >conftest.
$ac_ext <<_ACEOF
2595 cat confdefs.h
>>conftest.
$ac_ext
2596 cat >>conftest.
$ac_ext <<_ACEOF
2597 /* end confdefs.h. */
2607 rm -f conftest.
$ac_objext
2608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2609 (eval $ac_compile) 2>conftest.er1
2611 grep -v '^ *+' conftest.er1
>conftest.err
2613 cat conftest.err
>&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); } &&
2616 { ac_try
='test -z "$ac_c_werror_flag"
2617 || test ! -s conftest.err'
2618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2622 (exit $ac_status); }; } &&
2623 { ac_try
='test -s conftest.$ac_objext'
2624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628 (exit $ac_status); }; }; then
2631 echo "$as_me: failed program was:" >&5
2632 sed 's/^/| /' conftest.
$ac_ext >&5
2635 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2638 if test -n "$ac_declaration"; then
2639 echo '#ifdef __cplusplus' >>confdefs.h
2640 echo $ac_declaration >>confdefs.h
2641 echo '#endif' >>confdefs.h
2645 echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.
$ac_ext >&5
2649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2651 ac_cpp
='$CPP $CPPFLAGS'
2652 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2653 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2654 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2657 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
2658 if test -f $ac_dir/install-sh
; then
2660 ac_install_sh
="$ac_aux_dir/install-sh -c"
2662 elif test -f $ac_dir/install.sh
; then
2664 ac_install_sh
="$ac_aux_dir/install.sh -c"
2666 elif test -f $ac_dir/shtool
; then
2668 ac_install_sh
="$ac_aux_dir/shtool install -c"
2672 if test -z "$ac_aux_dir"; then
2673 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2674 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2675 { (exit 1); exit 1; }; }
2677 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
2678 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
2679 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2681 # Find a good install program. We prefer a C program (faster),
2682 # so one script is as good as another. But avoid the broken or
2683 # incompatible versions:
2684 # SysV /etc/install, /usr/sbin/install
2685 # SunOS /usr/etc/install
2686 # IRIX /sbin/install
2688 # AmigaOS /C/install, which installs bootblocks on floppy discs
2689 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2690 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2691 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2692 # OS/2's system install, which has a completely different semantic
2693 # ./install, which can be erroneously created by make from ./install.sh.
2694 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2695 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2696 if test -z "$INSTALL"; then
2697 if test "${ac_cv_path_install+set}" = set; then
2698 echo $ECHO_N "(cached) $ECHO_C" >&6
2700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2704 test -z "$as_dir" && as_dir
=.
2705 # Account for people who put trailing slashes in PATH elements.
2707 .
/ | .
// |
/cC
/* | \
2708 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2709 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2712 # OSF1 and SCO ODT 3.0 have their own names for install.
2713 # Don't use installbsd from OSF since it installs stuff as root
2715 for ac_prog
in ginstall scoinst
install; do
2716 for ac_exec_ext
in '' $ac_executable_extensions; do
2717 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2718 if test $ac_prog = install &&
2719 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2720 # AIX install. It has an incompatible calling convention.
2722 elif test $ac_prog = install &&
2723 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2724 # program-specific install script used by HP pwplus--don't use.
2727 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2739 if test "${ac_cv_path_install+set}" = set; then
2740 INSTALL
=$ac_cv_path_install
2742 # As a last resort, use the slow shell script. We don't cache a
2743 # path for INSTALL within a source directory, because that will
2744 # break other packages using the cache if that directory is
2745 # removed, or if the path is relative.
2746 INSTALL
=$ac_install_sh
2749 echo "$as_me:$LINENO: result: $INSTALL" >&5
2750 echo "${ECHO_T}$INSTALL" >&6
2752 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2753 # It thinks the first close brace ends the variable substitution.
2754 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2756 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2758 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2763 ac_cpp
='$CPP $CPPFLAGS'
2764 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2765 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2766 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2767 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2768 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2769 # On Suns, sometimes $CPP names a directory.
2770 if test -n "$CPP" && test -d "$CPP"; then
2773 if test -z "$CPP"; then
2774 if test "${ac_cv_prog_CPP+set}" = set; then
2775 echo $ECHO_N "(cached) $ECHO_C" >&6
2777 # Double quotes because CPP needs to be expanded
2778 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2781 for ac_c_preproc_warn_flag
in '' yes
2783 # Use a header file that comes with gcc, so configuring glibc
2784 # with a fresh cross-compiler works.
2785 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2786 # <limits.h> exists even on freestanding compilers.
2787 # On the NeXT, cc -E runs the code through the compiler's parser,
2788 # not just through cpp. "Syntax error" is here to catch this case.
2789 cat >conftest.
$ac_ext <<_ACEOF
2792 cat confdefs.h
>>conftest.
$ac_ext
2793 cat >>conftest.
$ac_ext <<_ACEOF
2794 /* end confdefs.h. */
2796 # include <limits.h>
2798 # include <assert.h>
2802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2803 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2805 grep -v '^ *+' conftest.er1
>conftest.err
2807 cat conftest.err
>&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); } >/dev
/null
; then
2810 if test -s conftest.err
; then
2811 ac_cpp_err
=$ac_c_preproc_warn_flag
2812 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2819 if test -z "$ac_cpp_err"; then
2822 echo "$as_me: failed program was:" >&5
2823 sed 's/^/| /' conftest.
$ac_ext >&5
2825 # Broken: fails on valid input.
2828 rm -f conftest.err conftest.
$ac_ext
2830 # OK, works on sane cases. Now check whether non-existent headers
2831 # can be detected and how.
2832 cat >conftest.
$ac_ext <<_ACEOF
2835 cat confdefs.h
>>conftest.
$ac_ext
2836 cat >>conftest.
$ac_ext <<_ACEOF
2837 /* end confdefs.h. */
2838 #include <ac_nonexistent.h>
2840 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2841 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2843 grep -v '^ *+' conftest.er1
>conftest.err
2845 cat conftest.err
>&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); } >/dev
/null
; then
2848 if test -s conftest.err
; then
2849 ac_cpp_err
=$ac_c_preproc_warn_flag
2850 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2857 if test -z "$ac_cpp_err"; then
2858 # Broken: success on invalid input.
2861 echo "$as_me: failed program was:" >&5
2862 sed 's/^/| /' conftest.
$ac_ext >&5
2864 # Passes both tests.
2868 rm -f conftest.err conftest.
$ac_ext
2871 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2872 rm -f conftest.err conftest.
$ac_ext
2873 if $ac_preproc_ok; then
2885 echo "$as_me:$LINENO: result: $CPP" >&5
2886 echo "${ECHO_T}$CPP" >&6
2888 for ac_c_preproc_warn_flag
in '' yes
2890 # Use a header file that comes with gcc, so configuring glibc
2891 # with a fresh cross-compiler works.
2892 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2893 # <limits.h> exists even on freestanding compilers.
2894 # On the NeXT, cc -E runs the code through the compiler's parser,
2895 # not just through cpp. "Syntax error" is here to catch this case.
2896 cat >conftest.
$ac_ext <<_ACEOF
2899 cat confdefs.h
>>conftest.
$ac_ext
2900 cat >>conftest.
$ac_ext <<_ACEOF
2901 /* end confdefs.h. */
2903 # include <limits.h>
2905 # include <assert.h>
2909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2910 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2912 grep -v '^ *+' conftest.er1
>conftest.err
2914 cat conftest.err
>&5
2915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); } >/dev
/null
; then
2917 if test -s conftest.err
; then
2918 ac_cpp_err
=$ac_c_preproc_warn_flag
2919 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2926 if test -z "$ac_cpp_err"; then
2929 echo "$as_me: failed program was:" >&5
2930 sed 's/^/| /' conftest.
$ac_ext >&5
2932 # Broken: fails on valid input.
2935 rm -f conftest.err conftest.
$ac_ext
2937 # OK, works on sane cases. Now check whether non-existent headers
2938 # can be detected and how.
2939 cat >conftest.
$ac_ext <<_ACEOF
2942 cat confdefs.h
>>conftest.
$ac_ext
2943 cat >>conftest.
$ac_ext <<_ACEOF
2944 /* end confdefs.h. */
2945 #include <ac_nonexistent.h>
2947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2948 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2950 grep -v '^ *+' conftest.er1
>conftest.err
2952 cat conftest.err
>&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); } >/dev
/null
; then
2955 if test -s conftest.err
; then
2956 ac_cpp_err
=$ac_c_preproc_warn_flag
2957 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2964 if test -z "$ac_cpp_err"; then
2965 # Broken: success on invalid input.
2968 echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.
$ac_ext >&5
2971 # Passes both tests.
2975 rm -f conftest.err conftest.
$ac_ext
2978 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2979 rm -f conftest.err conftest.
$ac_ext
2980 if $ac_preproc_ok; then
2983 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2984 See \`config.log' for more details." >&5
2985 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2986 See \`config.log' for more details." >&2;}
2987 { (exit 1); exit 1; }; }
2991 ac_cpp
='$CPP $CPPFLAGS'
2992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2997 echo "$as_me:$LINENO: checking for egrep" >&5
2998 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2999 if test "${ac_cv_prog_egrep+set}" = set; then
3000 echo $ECHO_N "(cached) $ECHO_C" >&6
3002 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3003 then ac_cv_prog_egrep
='grep -E'
3004 else ac_cv_prog_egrep
='egrep'
3007 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3008 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3009 EGREP
=$ac_cv_prog_egrep
3012 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3013 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3014 if test "${ac_cv_header_stdc+set}" = set; then
3015 echo $ECHO_N "(cached) $ECHO_C" >&6
3017 cat >conftest.
$ac_ext <<_ACEOF
3020 cat confdefs.h
>>conftest.
$ac_ext
3021 cat >>conftest.
$ac_ext <<_ACEOF
3022 /* end confdefs.h. */
3036 rm -f conftest.
$ac_objext
3037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3038 (eval $ac_compile) 2>conftest.er1
3040 grep -v '^ *+' conftest.er1
>conftest.err
3042 cat conftest.err
>&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); } &&
3045 { ac_try
='test -z "$ac_c_werror_flag"
3046 || test ! -s conftest.err'
3047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051 (exit $ac_status); }; } &&
3052 { ac_try
='test -s conftest.$ac_objext'
3053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); }; }; then
3058 ac_cv_header_stdc
=yes
3060 echo "$as_me: failed program was:" >&5
3061 sed 's/^/| /' conftest.
$ac_ext >&5
3063 ac_cv_header_stdc
=no
3065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3067 if test $ac_cv_header_stdc = yes; then
3068 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3069 cat >conftest.
$ac_ext <<_ACEOF
3072 cat confdefs.h
>>conftest.
$ac_ext
3073 cat >>conftest.
$ac_ext <<_ACEOF
3074 /* end confdefs.h. */
3078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3079 $EGREP "memchr" >/dev
/null
2>&1; then
3082 ac_cv_header_stdc
=no
3088 if test $ac_cv_header_stdc = yes; then
3089 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3090 cat >conftest.
$ac_ext <<_ACEOF
3093 cat confdefs.h
>>conftest.
$ac_ext
3094 cat >>conftest.
$ac_ext <<_ACEOF
3095 /* end confdefs.h. */
3099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3100 $EGREP "free" >/dev
/null
2>&1; then
3103 ac_cv_header_stdc
=no
3109 if test $ac_cv_header_stdc = yes; then
3110 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3111 if test "$cross_compiling" = yes; then
3114 cat >conftest.
$ac_ext <<_ACEOF
3117 cat confdefs.h
>>conftest.
$ac_ext
3118 cat >>conftest.
$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3121 #if ((' ' & 0x0FF) == 0x020)
3122 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3123 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3125 # define ISLOWER(c) \
3126 (('a' <= (c) && (c) <= 'i') \
3127 || ('j' <= (c) && (c) <= 'r') \
3128 || ('s' <= (c) && (c) <= 'z'))
3129 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3132 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3137 for (i = 0; i < 256; i++)
3138 if (XOR (islower (i), ISLOWER (i))
3139 || toupper (i) != TOUPPER (i))
3144 rm -f conftest
$ac_exeext
3145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3146 (eval $ac_link) 2>&5
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154 (exit $ac_status); }; }; then
3157 echo "$as_me: program exited with status $ac_status" >&5
3158 echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.
$ac_ext >&5
3162 ac_cv_header_stdc
=no
3164 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3168 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3169 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3170 if test $ac_cv_header_stdc = yes; then
3172 cat >>confdefs.h
<<\_ACEOF
3173 #define STDC_HEADERS 1
3178 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3188 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3189 inttypes.h stdint.h unistd.h
3191 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3192 echo "$as_me:$LINENO: checking for $ac_header" >&5
3193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3195 echo $ECHO_N "(cached) $ECHO_C" >&6
3197 cat >conftest.
$ac_ext <<_ACEOF
3200 cat confdefs.h
>>conftest.
$ac_ext
3201 cat >>conftest.
$ac_ext <<_ACEOF
3202 /* end confdefs.h. */
3203 $ac_includes_default
3205 #include <$ac_header>
3207 rm -f conftest.
$ac_objext
3208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3209 (eval $ac_compile) 2>conftest.er1
3211 grep -v '^ *+' conftest.er1
>conftest.err
3213 cat conftest.err
>&5
3214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215 (exit $ac_status); } &&
3216 { ac_try
='test -z "$ac_c_werror_flag"
3217 || test ! -s conftest.err'
3218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); }; } &&
3223 { ac_try
='test -s conftest.$ac_objext'
3224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); }; }; then
3229 eval "$as_ac_Header=yes"
3231 echo "$as_me: failed program was:" >&5
3232 sed 's/^/| /' conftest.
$ac_ext >&5
3234 eval "$as_ac_Header=no"
3236 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3239 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3240 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3241 cat >>confdefs.h
<<_ACEOF
3242 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3251 for ac_header
in sys
/types.h
3253 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3255 echo "$as_me:$LINENO: checking for $ac_header" >&5
3256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3258 echo $ECHO_N "(cached) $ECHO_C" >&6
3260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3263 # Is the header compilable?
3264 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3265 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3266 cat >conftest.
$ac_ext <<_ACEOF
3269 cat confdefs.h
>>conftest.
$ac_ext
3270 cat >>conftest.
$ac_ext <<_ACEOF
3271 /* end confdefs.h. */
3272 $ac_includes_default
3273 #include <$ac_header>
3275 rm -f conftest.
$ac_objext
3276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3277 (eval $ac_compile) 2>conftest.er1
3279 grep -v '^ *+' conftest.er1
>conftest.err
3281 cat conftest.err
>&5
3282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283 (exit $ac_status); } &&
3284 { ac_try
='test -z "$ac_c_werror_flag"
3285 || test ! -s conftest.err'
3286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290 (exit $ac_status); }; } &&
3291 { ac_try
='test -s conftest.$ac_objext'
3292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); }; }; then
3297 ac_header_compiler
=yes
3299 echo "$as_me: failed program was:" >&5
3300 sed 's/^/| /' conftest.
$ac_ext >&5
3302 ac_header_compiler
=no
3304 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3305 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3306 echo "${ECHO_T}$ac_header_compiler" >&6
3308 # Is the header present?
3309 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3310 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3311 cat >conftest.
$ac_ext <<_ACEOF
3314 cat confdefs.h
>>conftest.
$ac_ext
3315 cat >>conftest.
$ac_ext <<_ACEOF
3316 /* end confdefs.h. */
3317 #include <$ac_header>
3319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3320 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3322 grep -v '^ *+' conftest.er1
>conftest.err
3324 cat conftest.err
>&5
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); } >/dev
/null
; then
3327 if test -s conftest.err
; then
3328 ac_cpp_err
=$ac_c_preproc_warn_flag
3329 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3336 if test -z "$ac_cpp_err"; then
3337 ac_header_preproc
=yes
3339 echo "$as_me: failed program was:" >&5
3340 sed 's/^/| /' conftest.
$ac_ext >&5
3342 ac_header_preproc
=no
3344 rm -f conftest.err conftest.
$ac_ext
3345 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3346 echo "${ECHO_T}$ac_header_preproc" >&6
3348 # So? What about this header?
3349 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3351 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3352 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3354 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3355 ac_header_preproc
=yes
3358 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3359 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3360 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3361 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3362 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3363 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3364 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3365 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3366 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3367 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3368 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3369 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3372 ## ------------------------------------------ ##
3373 ## Report this to the AC_PACKAGE_NAME lists. ##
3374 ## ------------------------------------------ ##
3377 sed "s/^/$as_me: WARNING: /" >&2
3380 echo "$as_me:$LINENO: checking for $ac_header" >&5
3381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3383 echo $ECHO_N "(cached) $ECHO_C" >&6
3385 eval "$as_ac_Header=\$ac_header_preproc"
3387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3388 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3391 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3392 cat >>confdefs.h
<<_ACEOF
3393 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3401 CPPFLAGS
="-D_BSD_SOURCE -D_USE_BSD_SIGNAL ${CPPFLAGS}"
3403 # Check whether --enable-debug or --disable-debug was given.
3404 if test "${enable_debug+set}" = set; then
3405 enableval
="$enable_debug"
3406 if test "$enableval" = "no"
3410 echo "Not including debugging code"
3412 DUMPDEBUG
="-DFDEBUG -DTDEBUG -DWRITEDEBUG -DDIRDEBUG"
3413 RESTOREDEBUG
="-DDIRDEBUG"
3414 echo "Including debugging code"
3419 echo "Not including debugging code by default"
3425 # Check whether --enable-static or --disable-static was given.
3426 if test "${enable_static+set}" = set; then
3427 enableval
="$enable_static"
3428 if test "$enableval" = "no"
3431 echo "Linking dump and restore dynamically"
3434 echo "Linking dump and restore statically"
3439 echo "Linking dump and restore dynamically by default"
3444 # Check whether --enable-staticz or --disable-staticz was given.
3445 if test "${enable_staticz+set}" = set; then
3446 enableval
="$enable_staticz"
3447 if test "$enableval" = "no"
3450 echo "Linking libz and libbz2 dynamically"
3453 echo "Linking libz and libbz2 statically"
3458 echo "Linking libz and libbz2 dynamically by default"
3462 # Check whether --enable-rmt or --disable-rmt was given.
3463 if test "${enable_rmt+set}" = set; then
3464 enableval
="$enable_rmt"
3465 if test "$enableval" = "no"
3469 echo "Not compiling rmt"
3472 RMTMAKEFILE
="rmt/Makefile"
3473 echo "Compiling rmt"
3478 RMTMAKEFILE
="rmt/Makefile"
3479 echo "Compiling rmt by default"
3484 # Check whether --enable-ermt or --disable-ermt was given.
3485 if test "${enable_ermt+set}" = set; then
3486 enableval
="$enable_ermt"
3487 if test "$enableval" = "no"
3491 echo "Not compiling ermt"
3493 if test "$RMTDIR" = ""
3495 { { echo "$as_me:$LINENO: error: ermt requires --enable-rmt" >&5
3496 echo "$as_me: error: ermt requires --enable-rmt" >&2;}
3497 { (exit 1); exit 1; }; }
3501 echo "Compiling ermt"
3507 echo "Not compiling ermt by default"
3513 # Check whether --enable-kerberos or --disable-kerberos was given.
3514 if test "${enable_kerberos+set}" = set; then
3515 enableval
="$enable_kerberos"
3516 if test "$enableval" = "yes"
3518 OPTDEFS
="-DKERBEROS"
3519 echo "Compiling kerberos extensions"
3522 echo "Not compiling kerberos extensions"
3527 echo "Not compiling kerberos extensions by default"
3532 # Check whether --enable-readline or --disable-readline was given.
3533 if test "${enable_readline+set}" = set; then
3534 enableval
="$enable_readline"
3535 if test "$enableval" = "no"
3538 echo "Not including readline support"
3542 cat >>confdefs.h
<<\_ACEOF
3543 #define HAVE_READLINE 1
3546 echo "Including readline support"
3552 cat >>confdefs.h
<<\_ACEOF
3553 #define HAVE_READLINE 1
3556 echo "Including readline support by default"
3560 # Check whether --enable-oldstylefscript or --disable-oldstylefscript was given.
3561 if test "${enable_oldstylefscript+set}" = set; then
3562 enableval
="$enable_oldstylefscript"
3563 if test "$enableval" = "yes"
3566 cat >>confdefs.h
<<\_ACEOF
3567 #define OLD_STYLE_FSCRIPT 1
3570 echo "Using old style F script"
3572 echo "Using new style F script"
3576 echo "Using new style F script by default"
3580 # Check whether --enable-largefile or --disable-largefile was given.
3581 if test "${enable_largefile+set}" = set; then
3582 enableval
="$enable_largefile"
3583 if test "$enableval" = "yes"
3586 cat >>confdefs.h
<<\_ACEOF
3590 echo "Enabling Large File System support"
3592 echo "Not enabling Large File System support"
3597 cat >>confdefs.h
<<\_ACEOF
3601 echo "Enabling Large File System support by default"
3605 # Check whether --enable-qfa or --disable-qfa was given.
3606 if test "${enable_qfa+set}" = set; then
3607 enableval
="$enable_qfa"
3608 if test "$enableval" = "yes"
3611 cat >>confdefs.h
<<\_ACEOF
3615 echo "Enabling Quick File Access support"
3617 echo "Not enabling Quick File Access support"
3622 cat >>confdefs.h
<<\_ACEOF
3626 echo "Enabling Quick File Access support by default"
3630 # Check whether --enable-qfadebug or --disable-qfadebug was given.
3631 if test "${enable_qfadebug+set}" = set; then
3632 enableval
="$enable_qfadebug"
3633 if test "$enableval" = "yes"
3636 cat >>confdefs.h
<<\_ACEOF
3640 echo "Including Quick File Access debugging code"
3642 echo "Not including Quick File Access debugging code"
3646 echo "Not including Quick File Access debugging code by default"
3650 # Check whether --enable-macosx or --disable-macosx was given.
3651 if test "${enable_macosx+set}" = set; then
3652 enableval
="$enable_macosx"
3653 if test "$enableval" = "yes"
3656 cat >>confdefs.h
<<\_ACEOF
3657 #define DUMP_MACOSX 1
3660 echo "Including Mac OSX restore compatibility code"
3662 echo "Not including Mac OSX restore compatibility code"
3666 echo "Not including Mac OSX restore compatibility code by default"
3672 # Check whether --with-cc or --without-cc was given.
3673 if test "${with_cc+set}" = set; then
3675 echo "$as_me:$LINENO: result: CC=$withval" >&5
3676 echo "${ECHO_T}CC=$withval" >&6
3679 if test -z "$CC" ; then CC
=cc
; fi
3680 echo "$as_me:$LINENO: result: CC defaults to $CC" >&5
3681 echo "${ECHO_T}CC defaults to $CC" >&6
3686 # Check whether --with-linker or --without-linker was given.
3687 if test "${with_linker+set}" = set; then
3688 withval
="$with_linker"
3689 echo "$as_me:$LINENO: result: LD=$withval" >&5
3690 echo "${ECHO_T}LD=$withval" >&6
3693 if test -z "$LD" ; then LD
=$CC; fi
3694 echo "$as_me:$LINENO: result: LD defaults to $LD" >&5
3695 echo "${ECHO_T}LD defaults to $LD" >&6
3700 # Check whether --with-ccopts or --without-ccopts was given.
3701 if test "${with_ccopts+set}" = set; then
3702 withval
="$with_ccopts"
3703 echo "$as_me:$LINENO: result: CCOPTS is $withval" >&5
3704 echo "${ECHO_T}CCOPTS is $withval" >&6
3706 CFLAGS
="$CFLAGS $withval"
3712 # Check whether --with-ldopts or --without-ldopts was given.
3713 if test "${with_ldopts+set}" = set; then
3714 withval
="$with_ldopts"
3715 echo "$as_me:$LINENO: result: LDFLAGS is $withval" >&5
3716 echo "${ECHO_T}LDFLAGS is $withval" >&6
3718 LDFLAGS
="$LDFLAGS $withval"
3724 # Check whether --with-binowner or --without-binowner was given.
3725 if test "${with_binowner+set}" = set; then
3726 withval
="$with_binowner"
3727 echo "$as_me:$LINENO: result: BINOWNER is $withval" >&5
3728 echo "${ECHO_T}BINOWNER is $withval" >&6
3732 echo "BINOWNER defaults to $BINOWNER"
3737 # Check whether --with-bingrp or --without-bingrp was given.
3738 if test "${with_bingrp+set}" = set; then
3739 withval
="$with_bingrp"
3740 echo "$as_me:$LINENO: result: BINGRP is $withval" >&5
3741 echo "${ECHO_T}BINGRP is $withval" >&6
3745 echo "BINGRP defaults to $BINGRP"
3750 # Check whether --with-binmode or --without-binmode was given.
3751 if test "${with_binmode+set}" = set; then
3752 withval
="$with_binmode"
3753 echo "$as_me:$LINENO: result: BINMODE is $withval" >&5
3754 echo "${ECHO_T}BINMODE is $withval" >&6
3758 echo "BINMODE defaults to $BINMODE"
3763 # Check whether --with-manowner or --without-manowner was given.
3764 if test "${with_manowner+set}" = set; then
3765 withval
="$with_manowner"
3766 echo "$as_me:$LINENO: result: MANOWNER is $withval" >&5
3767 echo "${ECHO_T}MANOWNER is $withval" >&6
3771 echo "MANOWNER defaults to $MANOWNER"
3776 # Check whether --with-mangrp or --without-mangrp was given.
3777 if test "${with_mangrp+set}" = set; then
3778 withval
="$with_mangrp"
3779 echo "$as_me:$LINENO: result: MANGRP is $withval" >&5
3780 echo "${ECHO_T}MANGRP is $withval" >&6
3784 echo "MANGRP defaults to $MANGRP"
3789 # Check whether --with-manmode or --without-manmode was given.
3790 if test "${with_manmode+set}" = set; then
3791 withval
="$with_manmode"
3792 echo "$as_me:$LINENO: result: MANMODE is $withval" >&5
3793 echo "${ECHO_T}MANMODE is $withval" >&6
3797 echo "MANMODE defaults to $MANMODE"
3802 # Check whether --with-dumpdatespath or --without-dumpdatespath was given.
3803 if test "${with_dumpdatespath+set}" = set; then
3804 withval
="$with_dumpdatespath"
3805 echo "$as_me:$LINENO: result: DUMPDATESPATH is $withval" >&5
3806 echo "${ECHO_T}DUMPDATESPATH is $withval" >&6
3807 DUMPDATESPATH
=$withval
3809 DUMPDATESPATH
="${sysconfdir}/dumpdates"
3810 echo "DUMPDATESPATH defaults to $DUMPDATESPATH"
3814 echo "$as_me:$LINENO: checking for ext2fs/ext2fs.h" >&5
3815 echo $ECHO_N "checking for ext2fs/ext2fs.h... $ECHO_C" >&6
3816 if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then
3817 echo $ECHO_N "(cached) $ECHO_C" >&6
3819 cat >conftest.
$ac_ext <<_ACEOF
3822 cat confdefs.h
>>conftest.
$ac_ext
3823 cat >>conftest.
$ac_ext <<_ACEOF
3824 /* end confdefs.h. */
3825 #include <ext2fs/ext2fs.h>
3827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3828 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3830 grep -v '^ *+' conftest.er1
>conftest.err
3832 cat conftest.err
>&5
3833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834 (exit $ac_status); } >/dev
/null
; then
3835 if test -s conftest.err
; then
3836 ac_cpp_err
=$ac_c_preproc_warn_flag
3837 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3844 if test -z "$ac_cpp_err"; then
3845 ac_cv_header_ext2fs_ext2fs_h
=yes
3847 echo "$as_me: failed program was:" >&5
3848 sed 's/^/| /' conftest.
$ac_ext >&5
3850 ac_cv_header_ext2fs_ext2fs_h
=no
3852 rm -f conftest.err conftest.
$ac_ext
3854 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2fs_h" >&5
3855 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2fs_h" >&6
3856 if test $ac_cv_header_ext2fs_ext2fs_h = yes; then
3863 echo "$as_me:$LINENO: checking for ext2fs_open in -lext2fs" >&5
3864 echo $ECHO_N "checking for ext2fs_open in -lext2fs... $ECHO_C" >&6
3865 if test "${ac_cv_lib_ext2fs_ext2fs_open+set}" = set; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 ac_check_lib_save_LIBS
=$LIBS
3869 LIBS
="-lext2fs -lcom_err $LIBS"
3870 cat >conftest.
$ac_ext <<_ACEOF
3873 cat confdefs.h
>>conftest.
$ac_ext
3874 cat >>conftest.
$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3877 /* Override any gcc2 internal prototype to avoid an error. */
3881 /* We use char because int might match the return type of a gcc2
3882 builtin and then its argument prototype would still apply. */
3883 char ext2fs_open ();
3892 rm -f conftest.
$ac_objext conftest
$ac_exeext
3893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3894 (eval $ac_link) 2>conftest.er1
3896 grep -v '^ *+' conftest.er1
>conftest.err
3898 cat conftest.err
>&5
3899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3900 (exit $ac_status); } &&
3901 { ac_try
='test -z "$ac_c_werror_flag"
3902 || test ! -s conftest.err'
3903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 (exit $ac_status); }; } &&
3908 { ac_try
='test -s conftest$ac_exeext'
3909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913 (exit $ac_status); }; }; then
3914 ac_cv_lib_ext2fs_ext2fs_open
=yes
3916 echo "$as_me: failed program was:" >&5
3917 sed 's/^/| /' conftest.
$ac_ext >&5
3919 ac_cv_lib_ext2fs_ext2fs_open
=no
3921 rm -f conftest.err conftest.
$ac_objext \
3922 conftest
$ac_exeext conftest.
$ac_ext
3923 LIBS
=$ac_check_lib_save_LIBS
3925 echo "$as_me:$LINENO: result: $ac_cv_lib_ext2fs_ext2fs_open" >&5
3926 echo "${ECHO_T}$ac_cv_lib_ext2fs_ext2fs_open" >&6
3927 if test $ac_cv_lib_ext2fs_ext2fs_open = yes; then
3933 if test "$ext2fs_h" = no
-o "$ext2fs_lib" = no
; then
3934 { { echo "$as_me:$LINENO: error: You need to install the Ext2fs libraries from the E2fsprogs distribution first - hint: make install-libs" >&5
3935 echo "$as_me: error: You need to install the Ext2fs libraries from the E2fsprogs distribution first - hint: make install-libs" >&2;}
3936 { (exit 1); exit 1; }; }
3940 for ac_header
in ext2fs
/ext2_fs.h
3942 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3943 echo "$as_me:$LINENO: checking for $ac_header" >&5
3944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3946 echo $ECHO_N "(cached) $ECHO_C" >&6
3948 cat >conftest.
$ac_ext <<_ACEOF
3951 cat confdefs.h
>>conftest.
$ac_ext
3952 cat >>conftest.
$ac_ext <<_ACEOF
3953 /* end confdefs.h. */
3954 #include <$ac_header>
3956 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3957 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3959 grep -v '^ *+' conftest.er1
>conftest.err
3961 cat conftest.err
>&5
3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); } >/dev
/null
; then
3964 if test -s conftest.err
; then
3965 ac_cpp_err
=$ac_c_preproc_warn_flag
3966 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3973 if test -z "$ac_cpp_err"; then
3974 eval "$as_ac_Header=yes"
3976 echo "$as_me: failed program was:" >&5
3977 sed 's/^/| /' conftest.
$ac_ext >&5
3979 eval "$as_ac_Header=no"
3981 rm -f conftest.err conftest.
$ac_ext
3983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3986 cat >>confdefs.h
<<_ACEOF
3987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3995 echo "$as_me:$LINENO: checking for ext2_ino_t type in libext2fs headers" >&5
3996 echo $ECHO_N "checking for ext2_ino_t type in libext2fs headers... $ECHO_C" >&6
3997 cat >conftest.
$ac_ext <<_ACEOF
4000 cat confdefs.h
>>conftest.
$ac_ext
4001 cat >>conftest.
$ac_ext <<_ACEOF
4002 /* end confdefs.h. */
4004 #ifdef HAVE_EXT2FS_EXT2_FS_H
4005 #include <ext2fs/ext2_fs.h>
4007 #include <linux/ext2_fs.h>
4009 #include <ext2fs/ext2fs.h>
4018 rm -f conftest.
$ac_objext
4019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4020 (eval $ac_compile) 2>conftest.er1
4022 grep -v '^ *+' conftest.er1
>conftest.err
4024 cat conftest.err
>&5
4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026 (exit $ac_status); } &&
4027 { ac_try
='test -z "$ac_c_werror_flag"
4028 || test ! -s conftest.err'
4029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033 (exit $ac_status); }; } &&
4034 { ac_try
='test -s conftest.$ac_objext'
4035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); }; }; then
4041 cat >>confdefs.h
<<\_ACEOF
4042 #define HAVE_EXT2_INO_T 1
4045 echo "$as_me:$LINENO: result: yes" >&5
4046 echo "${ECHO_T}yes" >&6
4048 echo "$as_me: failed program was:" >&5
4049 sed 's/^/| /' conftest.
$ac_ext >&5
4051 echo "$as_me:$LINENO: result: no" >&5
4052 echo "${ECHO_T}no" >&6
4054 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4056 echo "$as_me:$LINENO: checking for s_journal_inum field in ext2_super_block struct" >&5
4057 echo $ECHO_N "checking for s_journal_inum field in ext2_super_block struct... $ECHO_C" >&6
4058 cat >conftest.
$ac_ext <<_ACEOF
4061 cat confdefs.h
>>conftest.
$ac_ext
4062 cat >>conftest.
$ac_ext <<_ACEOF
4063 /* end confdefs.h. */
4065 #ifdef HAVE_EXT2FS_EXT2_FS_H
4066 #include <ext2fs/ext2_fs.h>
4068 #include <linux/ext2_fs.h>
4070 #include <ext2fs/ext2fs.h>
4074 struct ext2_super_block es; es.s_journal_inum = 0;
4079 rm -f conftest.
$ac_objext
4080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4081 (eval $ac_compile) 2>conftest.er1
4083 grep -v '^ *+' conftest.er1
>conftest.err
4085 cat conftest.err
>&5
4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087 (exit $ac_status); } &&
4088 { ac_try
='test -z "$ac_c_werror_flag"
4089 || test ! -s conftest.err'
4090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); }; } &&
4095 { ac_try
='test -s conftest.$ac_objext'
4096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); }; }; then
4102 cat >>confdefs.h
<<\_ACEOF
4103 #define HAVE_EXT2_JOURNAL_INUM 1
4106 echo "$as_me:$LINENO: result: yes" >&5
4107 echo "${ECHO_T}yes" >&6
4109 echo "$as_me: failed program was:" >&5
4110 sed 's/^/| /' conftest.
$ac_ext >&5
4112 echo "$as_me:$LINENO: result: no" >&5
4113 echo "${ECHO_T}no" >&6
4115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4117 echo "$as_me:$LINENO: checking for blkid/blkid.h" >&5
4118 echo $ECHO_N "checking for blkid/blkid.h... $ECHO_C" >&6
4119 if test "${ac_cv_header_blkid_blkid_h+set}" = set; then
4120 echo $ECHO_N "(cached) $ECHO_C" >&6
4122 cat >conftest.
$ac_ext <<_ACEOF
4125 cat confdefs.h
>>conftest.
$ac_ext
4126 cat >>conftest.
$ac_ext <<_ACEOF
4127 /* end confdefs.h. */
4128 #include <blkid/blkid.h>
4130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4131 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4133 grep -v '^ *+' conftest.er1
>conftest.err
4135 cat conftest.err
>&5
4136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); } >/dev
/null
; then
4138 if test -s conftest.err
; then
4139 ac_cpp_err
=$ac_c_preproc_warn_flag
4140 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4147 if test -z "$ac_cpp_err"; then
4148 ac_cv_header_blkid_blkid_h
=yes
4150 echo "$as_me: failed program was:" >&5
4151 sed 's/^/| /' conftest.
$ac_ext >&5
4153 ac_cv_header_blkid_blkid_h
=no
4155 rm -f conftest.err conftest.
$ac_ext
4157 echo "$as_me:$LINENO: result: $ac_cv_header_blkid_blkid_h" >&5
4158 echo "${ECHO_T}$ac_cv_header_blkid_blkid_h" >&6
4159 if test $ac_cv_header_blkid_blkid_h = yes; then
4166 echo "$as_me:$LINENO: checking for blkid_get_devname in -lblkid" >&5
4167 echo $ECHO_N "checking for blkid_get_devname in -lblkid... $ECHO_C" >&6
4168 if test "${ac_cv_lib_blkid_blkid_get_devname+set}" = set; then
4169 echo $ECHO_N "(cached) $ECHO_C" >&6
4171 ac_check_lib_save_LIBS
=$LIBS
4172 LIBS
="-lblkid -luuid $LIBS"
4173 cat >conftest.
$ac_ext <<_ACEOF
4176 cat confdefs.h
>>conftest.
$ac_ext
4177 cat >>conftest.
$ac_ext <<_ACEOF
4178 /* end confdefs.h. */
4180 /* Override any gcc2 internal prototype to avoid an error. */
4184 /* We use char because int might match the return type of a gcc2
4185 builtin and then its argument prototype would still apply. */
4186 char blkid_get_devname ();
4190 blkid_get_devname ();
4195 rm -f conftest.
$ac_objext conftest
$ac_exeext
4196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4197 (eval $ac_link) 2>conftest.er1
4199 grep -v '^ *+' conftest.er1
>conftest.err
4201 cat conftest.err
>&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); } &&
4204 { ac_try
='test -z "$ac_c_werror_flag"
4205 || test ! -s conftest.err'
4206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); }; } &&
4211 { ac_try
='test -s conftest$ac_exeext'
4212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4216 (exit $ac_status); }; }; then
4217 ac_cv_lib_blkid_blkid_get_devname
=yes
4219 echo "$as_me: failed program was:" >&5
4220 sed 's/^/| /' conftest.
$ac_ext >&5
4222 ac_cv_lib_blkid_blkid_get_devname
=no
4224 rm -f conftest.err conftest.
$ac_objext \
4225 conftest
$ac_exeext conftest.
$ac_ext
4226 LIBS
=$ac_check_lib_save_LIBS
4228 echo "$as_me:$LINENO: result: $ac_cv_lib_blkid_blkid_get_devname" >&5
4229 echo "${ECHO_T}$ac_cv_lib_blkid_blkid_get_devname" >&6
4230 if test $ac_cv_lib_blkid_blkid_get_devname = yes; then
4236 if test "$blkid_h" = yes -a "$blkid_lib" = yes; then
4238 cat >>confdefs.h
<<\_ACEOF
4239 #define HAVE_BLKID 1
4242 BLKID
="-lblkid -luuid"
4246 echo "$as_me:$LINENO: checking for tgetent in -lncurses" >&5
4247 echo $ECHO_N "checking for tgetent in -lncurses... $ECHO_C" >&6
4248 if test "${ac_cv_lib_ncurses_tgetent+set}" = set; then
4249 echo $ECHO_N "(cached) $ECHO_C" >&6
4251 ac_check_lib_save_LIBS
=$LIBS
4252 LIBS
="-lncurses $LIBS"
4253 cat >conftest.
$ac_ext <<_ACEOF
4256 cat confdefs.h
>>conftest.
$ac_ext
4257 cat >>conftest.
$ac_ext <<_ACEOF
4258 /* end confdefs.h. */
4260 /* Override any gcc2 internal prototype to avoid an error. */
4264 /* We use char because int might match the return type of a gcc2
4265 builtin and then its argument prototype would still apply. */
4275 rm -f conftest.
$ac_objext conftest
$ac_exeext
4276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4277 (eval $ac_link) 2>conftest.er1
4279 grep -v '^ *+' conftest.er1
>conftest.err
4281 cat conftest.err
>&5
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); } &&
4284 { ac_try
='test -z "$ac_c_werror_flag"
4285 || test ! -s conftest.err'
4286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); }; } &&
4291 { ac_try
='test -s conftest$ac_exeext'
4292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4296 (exit $ac_status); }; }; then
4297 ac_cv_lib_ncurses_tgetent
=yes
4299 echo "$as_me: failed program was:" >&5
4300 sed 's/^/| /' conftest.
$ac_ext >&5
4302 ac_cv_lib_ncurses_tgetent
=no
4304 rm -f conftest.err conftest.
$ac_objext \
4305 conftest
$ac_exeext conftest.
$ac_ext
4306 LIBS
=$ac_check_lib_save_LIBS
4308 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tgetent" >&5
4309 echo "${ECHO_T}$ac_cv_lib_ncurses_tgetent" >&6
4310 if test $ac_cv_lib_ncurses_tgetent = yes; then
4316 echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5
4317 echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6
4318 if test "${ac_cv_lib_termcap_tgetent+set}" = set; then
4319 echo $ECHO_N "(cached) $ECHO_C" >&6
4321 ac_check_lib_save_LIBS
=$LIBS
4322 LIBS
="-ltermcap $LIBS"
4323 cat >conftest.
$ac_ext <<_ACEOF
4326 cat confdefs.h
>>conftest.
$ac_ext
4327 cat >>conftest.
$ac_ext <<_ACEOF
4328 /* end confdefs.h. */
4330 /* Override any gcc2 internal prototype to avoid an error. */
4334 /* We use char because int might match the return type of a gcc2
4335 builtin and then its argument prototype would still apply. */
4345 rm -f conftest.
$ac_objext conftest
$ac_exeext
4346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4347 (eval $ac_link) 2>conftest.er1
4349 grep -v '^ *+' conftest.er1
>conftest.err
4351 cat conftest.err
>&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); } &&
4354 { ac_try
='test -z "$ac_c_werror_flag"
4355 || test ! -s conftest.err'
4356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4360 (exit $ac_status); }; } &&
4361 { ac_try
='test -s conftest$ac_exeext'
4362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); }; }; then
4367 ac_cv_lib_termcap_tgetent
=yes
4369 echo "$as_me: failed program was:" >&5
4370 sed 's/^/| /' conftest.
$ac_ext >&5
4372 ac_cv_lib_termcap_tgetent
=no
4374 rm -f conftest.err conftest.
$ac_objext \
4375 conftest
$ac_exeext conftest.
$ac_ext
4376 LIBS
=$ac_check_lib_save_LIBS
4378 echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5
4379 echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6
4380 if test $ac_cv_lib_termcap_tgetent = yes; then
4387 if test "$ncurses_lib" = no
-a "$termcap_lib" = no
; then
4388 if test "$READLINE" = "yes"; then
4389 { { echo "$as_me:$LINENO: error: You need to install the ncurses or termcap library or configure without --enable-readline" >&5
4390 echo "$as_me: error: You need to install the ncurses or termcap library or configure without --enable-readline" >&2;}
4391 { (exit 1); exit 1; }; }
4394 if test "$ncurses_lib" = yes; then
4396 elif test "$termcap_lib" = yes; then
4400 echo "$as_me:$LINENO: checking for readline/readline.h" >&5
4401 echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6
4402 if test "${ac_cv_header_readline_readline_h+set}" = set; then
4403 echo $ECHO_N "(cached) $ECHO_C" >&6
4405 cat >conftest.
$ac_ext <<_ACEOF
4408 cat confdefs.h
>>conftest.
$ac_ext
4409 cat >>conftest.
$ac_ext <<_ACEOF
4410 /* end confdefs.h. */
4411 #include <readline/readline.h>
4413 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4414 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4416 grep -v '^ *+' conftest.er1
>conftest.err
4418 cat conftest.err
>&5
4419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4420 (exit $ac_status); } >/dev
/null
; then
4421 if test -s conftest.err
; then
4422 ac_cpp_err
=$ac_c_preproc_warn_flag
4423 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4430 if test -z "$ac_cpp_err"; then
4431 ac_cv_header_readline_readline_h
=yes
4433 echo "$as_me: failed program was:" >&5
4434 sed 's/^/| /' conftest.
$ac_ext >&5
4436 ac_cv_header_readline_readline_h
=no
4438 rm -f conftest.err conftest.
$ac_ext
4440 echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
4441 echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6
4442 if test $ac_cv_header_readline_readline_h = yes; then
4449 echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
4450 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
4451 if test "${ac_cv_lib_readline_readline+set}" = set; then
4452 echo $ECHO_N "(cached) $ECHO_C" >&6
4454 ac_check_lib_save_LIBS
=$LIBS
4455 LIBS
="-lreadline $rdllib $LIBS"
4456 cat >conftest.
$ac_ext <<_ACEOF
4459 cat confdefs.h
>>conftest.
$ac_ext
4460 cat >>conftest.
$ac_ext <<_ACEOF
4461 /* end confdefs.h. */
4463 /* Override any gcc2 internal prototype to avoid an error. */
4467 /* We use char because int might match the return type of a gcc2
4468 builtin and then its argument prototype would still apply. */
4478 rm -f conftest.
$ac_objext conftest
$ac_exeext
4479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4480 (eval $ac_link) 2>conftest.er1
4482 grep -v '^ *+' conftest.er1
>conftest.err
4484 cat conftest.err
>&5
4485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4486 (exit $ac_status); } &&
4487 { ac_try
='test -z "$ac_c_werror_flag"
4488 || test ! -s conftest.err'
4489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); }; } &&
4494 { ac_try
='test -s conftest$ac_exeext'
4495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); }; }; then
4500 ac_cv_lib_readline_readline
=yes
4502 echo "$as_me: failed program was:" >&5
4503 sed 's/^/| /' conftest.
$ac_ext >&5
4505 ac_cv_lib_readline_readline
=no
4507 rm -f conftest.err conftest.
$ac_objext \
4508 conftest
$ac_exeext conftest.
$ac_ext
4509 LIBS
=$ac_check_lib_save_LIBS
4511 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
4512 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6
4513 if test $ac_cv_lib_readline_readline = yes; then
4519 if test "$readline_h" = no
-o "$readline_lib" = no
; then
4520 if test "$READLINE" = "yes"; then
4521 { { echo "$as_me:$LINENO: error: You need to install the GNU readline library or configure without --enable-readline" >&5
4522 echo "$as_me: error: You need to install the GNU readline library or configure without --enable-readline" >&2;}
4523 { (exit 1); exit 1; }; }
4526 if test "$READLINE" = yes; then
4527 READLINE
="-lreadline $rdllib"
4531 echo "$as_me:$LINENO: checking for rl_completion_matches in -lreadline" >&5
4532 echo $ECHO_N "checking for rl_completion_matches in -lreadline... $ECHO_C" >&6
4533 if test "${ac_cv_lib_readline_rl_completion_matches+set}" = set; then
4534 echo $ECHO_N "(cached) $ECHO_C" >&6
4536 ac_check_lib_save_LIBS
=$LIBS
4537 LIBS
="-lreadline "-ltermcap" $LIBS"
4538 cat >conftest.
$ac_ext <<_ACEOF
4541 cat confdefs.h
>>conftest.
$ac_ext
4542 cat >>conftest.
$ac_ext <<_ACEOF
4543 /* end confdefs.h. */
4545 /* Override any gcc2 internal prototype to avoid an error. */
4549 /* We use char because int might match the return type of a gcc2
4550 builtin and then its argument prototype would still apply. */
4551 char rl_completion_matches ();
4555 rl_completion_matches ();
4560 rm -f conftest.
$ac_objext conftest
$ac_exeext
4561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4562 (eval $ac_link) 2>conftest.er1
4564 grep -v '^ *+' conftest.er1
>conftest.err
4566 cat conftest.err
>&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); } &&
4569 { ac_try
='test -z "$ac_c_werror_flag"
4570 || test ! -s conftest.err'
4571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; } &&
4576 { ac_try
='test -s conftest$ac_exeext'
4577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }; }; then
4582 ac_cv_lib_readline_rl_completion_matches
=yes
4584 echo "$as_me: failed program was:" >&5
4585 sed 's/^/| /' conftest.
$ac_ext >&5
4587 ac_cv_lib_readline_rl_completion_matches
=no
4589 rm -f conftest.err conftest.
$ac_objext \
4590 conftest
$ac_exeext conftest.
$ac_ext
4591 LIBS
=$ac_check_lib_save_LIBS
4593 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_completion_matches" >&5
4594 echo "${ECHO_T}$ac_cv_lib_readline_rl_completion_matches" >&6
4595 if test $ac_cv_lib_readline_rl_completion_matches = yes; then
4601 if test "$rlcm" = yes; then
4603 cat >>confdefs.h
<<\_ACEOF
4604 #define HAVE_READLINE_RLCM 1
4609 echo "$as_me:$LINENO: checking for rl_completion_append_character in -lreadline" >&5
4610 echo $ECHO_N "checking for rl_completion_append_character in -lreadline... $ECHO_C" >&6
4611 if test "${ac_cv_lib_readline_rl_completion_append_character+set}" = set; then
4612 echo $ECHO_N "(cached) $ECHO_C" >&6
4614 ac_check_lib_save_LIBS
=$LIBS
4615 LIBS
="-lreadline "-ltermcap" $LIBS"
4616 cat >conftest.
$ac_ext <<_ACEOF
4619 cat confdefs.h
>>conftest.
$ac_ext
4620 cat >>conftest.
$ac_ext <<_ACEOF
4621 /* end confdefs.h. */
4623 /* Override any gcc2 internal prototype to avoid an error. */
4627 /* We use char because int might match the return type of a gcc2
4628 builtin and then its argument prototype would still apply. */
4629 char rl_completion_append_character ();
4633 rl_completion_append_character ();
4638 rm -f conftest.
$ac_objext conftest
$ac_exeext
4639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4640 (eval $ac_link) 2>conftest.er1
4642 grep -v '^ *+' conftest.er1
>conftest.err
4644 cat conftest.err
>&5
4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646 (exit $ac_status); } &&
4647 { ac_try
='test -z "$ac_c_werror_flag"
4648 || test ! -s conftest.err'
4649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); }; } &&
4654 { ac_try
='test -s conftest$ac_exeext'
4655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); }; }; then
4660 ac_cv_lib_readline_rl_completion_append_character
=yes
4662 echo "$as_me: failed program was:" >&5
4663 sed 's/^/| /' conftest.
$ac_ext >&5
4665 ac_cv_lib_readline_rl_completion_append_character
=no
4667 rm -f conftest.err conftest.
$ac_objext \
4668 conftest
$ac_exeext conftest.
$ac_ext
4669 LIBS
=$ac_check_lib_save_LIBS
4671 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_completion_append_character" >&5
4672 echo "${ECHO_T}$ac_cv_lib_readline_rl_completion_append_character" >&6
4673 if test $ac_cv_lib_readline_rl_completion_append_character = yes; then
4679 if test "$rcac" = yes; then
4681 cat >>confdefs.h
<<\_ACEOF
4682 #define HAVE_READLINE_CAC 1
4687 echo "$as_me:$LINENO: checking for zlib.h" >&5
4688 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
4689 if test "${ac_cv_header_zlib_h+set}" = set; then
4690 echo $ECHO_N "(cached) $ECHO_C" >&6
4692 cat >conftest.
$ac_ext <<_ACEOF
4695 cat confdefs.h
>>conftest.
$ac_ext
4696 cat >>conftest.
$ac_ext <<_ACEOF
4697 /* end confdefs.h. */
4700 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4701 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4703 grep -v '^ *+' conftest.er1
>conftest.err
4705 cat conftest.err
>&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); } >/dev
/null
; then
4708 if test -s conftest.err
; then
4709 ac_cpp_err
=$ac_c_preproc_warn_flag
4710 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4717 if test -z "$ac_cpp_err"; then
4718 ac_cv_header_zlib_h
=yes
4720 echo "$as_me: failed program was:" >&5
4721 sed 's/^/| /' conftest.
$ac_ext >&5
4723 ac_cv_header_zlib_h
=no
4725 rm -f conftest.err conftest.
$ac_ext
4727 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
4728 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
4729 if test $ac_cv_header_zlib_h = yes; then
4736 echo "$as_me:$LINENO: checking for compress2 in -lz" >&5
4737 echo $ECHO_N "checking for compress2 in -lz... $ECHO_C" >&6
4738 if test "${ac_cv_lib_z_compress2+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4741 ac_check_lib_save_LIBS
=$LIBS
4743 cat >conftest.
$ac_ext <<_ACEOF
4746 cat confdefs.h
>>conftest.
$ac_ext
4747 cat >>conftest.
$ac_ext <<_ACEOF
4748 /* end confdefs.h. */
4750 /* Override any gcc2 internal prototype to avoid an error. */
4754 /* We use char because int might match the return type of a gcc2
4755 builtin and then its argument prototype would still apply. */
4765 rm -f conftest.
$ac_objext conftest
$ac_exeext
4766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4767 (eval $ac_link) 2>conftest.er1
4769 grep -v '^ *+' conftest.er1
>conftest.err
4771 cat conftest.err
>&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } &&
4774 { ac_try
='test -z "$ac_c_werror_flag"
4775 || test ! -s conftest.err'
4776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); }; } &&
4781 { ac_try
='test -s conftest$ac_exeext'
4782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786 (exit $ac_status); }; }; then
4787 ac_cv_lib_z_compress2
=yes
4789 echo "$as_me: failed program was:" >&5
4790 sed 's/^/| /' conftest.
$ac_ext >&5
4792 ac_cv_lib_z_compress2
=no
4794 rm -f conftest.err conftest.
$ac_objext \
4795 conftest
$ac_exeext conftest.
$ac_ext
4796 LIBS
=$ac_check_lib_save_LIBS
4798 echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress2" >&5
4799 echo "${ECHO_T}$ac_cv_lib_z_compress2" >&6
4800 if test $ac_cv_lib_z_compress2 = yes; then
4806 if test "$zlib_h" = yes -a "$zlib_lib" = yes; then
4807 if test "$STATICZ" = yes; then
4808 ZLIB
="-Wl,-Bstatic -lz -Wl,-Bdynamic"
4813 cat >>confdefs.h
<<\_ACEOF
4822 echo "$as_me:$LINENO: checking for bzlib.h" >&5
4823 echo $ECHO_N "checking for bzlib.h... $ECHO_C" >&6
4824 if test "${ac_cv_header_bzlib_h+set}" = set; then
4825 echo $ECHO_N "(cached) $ECHO_C" >&6
4827 cat >conftest.
$ac_ext <<_ACEOF
4830 cat confdefs.h
>>conftest.
$ac_ext
4831 cat >>conftest.
$ac_ext <<_ACEOF
4832 /* end confdefs.h. */
4835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4836 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4838 grep -v '^ *+' conftest.er1
>conftest.err
4840 cat conftest.err
>&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); } >/dev
/null
; then
4843 if test -s conftest.err
; then
4844 ac_cpp_err
=$ac_c_preproc_warn_flag
4845 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4852 if test -z "$ac_cpp_err"; then
4853 ac_cv_header_bzlib_h
=yes
4855 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.
$ac_ext >&5
4858 ac_cv_header_bzlib_h
=no
4860 rm -f conftest.err conftest.
$ac_ext
4862 echo "$as_me:$LINENO: result: $ac_cv_header_bzlib_h" >&5
4863 echo "${ECHO_T}$ac_cv_header_bzlib_h" >&6
4864 if test $ac_cv_header_bzlib_h = yes; then
4871 echo "$as_me:$LINENO: checking for BZ2_bzBuffToBuffCompress in -lbz2" >&5
4872 echo $ECHO_N "checking for BZ2_bzBuffToBuffCompress in -lbz2... $ECHO_C" >&6
4873 if test "${ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress+set}" = set; then
4874 echo $ECHO_N "(cached) $ECHO_C" >&6
4876 ac_check_lib_save_LIBS
=$LIBS
4878 cat >conftest.
$ac_ext <<_ACEOF
4881 cat confdefs.h
>>conftest.
$ac_ext
4882 cat >>conftest.
$ac_ext <<_ACEOF
4883 /* end confdefs.h. */
4885 /* Override any gcc2 internal prototype to avoid an error. */
4889 /* We use char because int might match the return type of a gcc2
4890 builtin and then its argument prototype would still apply. */
4891 char BZ2_bzBuffToBuffCompress ();
4895 BZ2_bzBuffToBuffCompress ();
4900 rm -f conftest.
$ac_objext conftest
$ac_exeext
4901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4902 (eval $ac_link) 2>conftest.er1
4904 grep -v '^ *+' conftest.er1
>conftest.err
4906 cat conftest.err
>&5
4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908 (exit $ac_status); } &&
4909 { ac_try
='test -z "$ac_c_werror_flag"
4910 || test ! -s conftest.err'
4911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915 (exit $ac_status); }; } &&
4916 { ac_try
='test -s conftest$ac_exeext'
4917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); }; }; then
4922 ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress
=yes
4924 echo "$as_me: failed program was:" >&5
4925 sed 's/^/| /' conftest.
$ac_ext >&5
4927 ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress
=no
4929 rm -f conftest.err conftest.
$ac_objext \
4930 conftest
$ac_exeext conftest.
$ac_ext
4931 LIBS
=$ac_check_lib_save_LIBS
4933 echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress" >&5
4934 echo "${ECHO_T}$ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress" >&6
4935 if test $ac_cv_lib_bz2_BZ2_bzBuffToBuffCompress = yes; then
4941 if test "$bzlib_h" = yes -a "$bzlib_lib" = yes; then
4942 if test "$STATICZ" = yes; then
4943 BZLIB
="-Wl,-Bstatic -lbz2 -Wl,-Bdynamic"
4948 cat >>confdefs.h
<<\_ACEOF
4949 #define HAVE_BZLIB 1
4967 for ac_func
in err errx verr verrx vwarn vwarnx warn warnx realpath lchown
4969 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4970 echo "$as_me:$LINENO: checking for $ac_func" >&5
4971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4972 if eval "test \"\${$as_ac_var+set}\" = set"; then
4973 echo $ECHO_N "(cached) $ECHO_C" >&6
4975 cat >conftest.
$ac_ext <<_ACEOF
4978 cat confdefs.h
>>conftest.
$ac_ext
4979 cat >>conftest.
$ac_ext <<_ACEOF
4980 /* end confdefs.h. */
4981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4983 #define $ac_func innocuous_$ac_func
4985 /* System header to define __stub macros and hopefully few prototypes,
4986 which can conflict with char $ac_func (); below.
4987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4988 <limits.h> exists even on freestanding compilers. */
4991 # include <limits.h>
4993 # include <assert.h>
4998 /* Override any gcc2 internal prototype to avoid an error. */
5003 /* We use char because int might match the return type of a gcc2
5004 builtin and then its argument prototype would still apply. */
5006 /* The GNU C library defines this for functions which it implements
5007 to always fail with ENOSYS. Some functions are actually named
5008 something starting with __ and the normal name is an alias. */
5009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5012 char (*f) () = $ac_func;
5021 return f != $ac_func;
5026 rm -f conftest.
$ac_objext conftest
$ac_exeext
5027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5028 (eval $ac_link) 2>conftest.er1
5030 grep -v '^ *+' conftest.er1
>conftest.err
5032 cat conftest.err
>&5
5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034 (exit $ac_status); } &&
5035 { ac_try
='test -z "$ac_c_werror_flag"
5036 || test ! -s conftest.err'
5037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041 (exit $ac_status); }; } &&
5042 { ac_try
='test -s conftest$ac_exeext'
5043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); }; }; then
5048 eval "$as_ac_var=yes"
5050 echo "$as_me: failed program was:" >&5
5051 sed 's/^/| /' conftest.
$ac_ext >&5
5053 eval "$as_ac_var=no"
5055 rm -f conftest.err conftest.
$ac_objext \
5056 conftest
$ac_exeext conftest.
$ac_ext
5058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5060 if test `eval echo '${'$as_ac_var'}'` = yes; then
5061 cat >>confdefs.h
<<_ACEOF
5062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5068 echo "$as_me:$LINENO: checking for glob" >&5
5069 echo $ECHO_N "checking for glob... $ECHO_C" >&6
5070 if test "${ac_cv_func_glob+set}" = set; then
5071 echo $ECHO_N "(cached) $ECHO_C" >&6
5073 cat >conftest.
$ac_ext <<_ACEOF
5076 cat confdefs.h
>>conftest.
$ac_ext
5077 cat >>conftest.
$ac_ext <<_ACEOF
5078 /* end confdefs.h. */
5079 /* Define glob to an innocuous variant, in case <limits.h> declares glob.
5080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5081 #define glob innocuous_glob
5083 /* System header to define __stub macros and hopefully few prototypes,
5084 which can conflict with char glob (); below.
5085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5086 <limits.h> exists even on freestanding compilers. */
5089 # include <limits.h>
5091 # include <assert.h>
5096 /* Override any gcc2 internal prototype to avoid an error. */
5101 /* We use char because int might match the return type of a gcc2
5102 builtin and then its argument prototype would still apply. */
5104 /* The GNU C library defines this for functions which it implements
5105 to always fail with ENOSYS. Some functions are actually named
5106 something starting with __ and the normal name is an alias. */
5107 #if defined (__stub_glob) || defined (__stub___glob)
5110 char (*f) () = glob;
5124 rm -f conftest.
$ac_objext conftest
$ac_exeext
5125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5126 (eval $ac_link) 2>conftest.er1
5128 grep -v '^ *+' conftest.er1
>conftest.err
5130 cat conftest.err
>&5
5131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132 (exit $ac_status); } &&
5133 { ac_try
='test -z "$ac_c_werror_flag"
5134 || test ! -s conftest.err'
5135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 (exit $ac_status); }; } &&
5140 { ac_try
='test -s conftest$ac_exeext'
5141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145 (exit $ac_status); }; }; then
5148 echo "$as_me: failed program was:" >&5
5149 sed 's/^/| /' conftest.
$ac_ext >&5
5153 rm -f conftest.err conftest.
$ac_objext \
5154 conftest
$ac_exeext conftest.
$ac_ext
5156 echo "$as_me:$LINENO: result: $ac_cv_func_glob" >&5
5157 echo "${ECHO_T}$ac_cv_func_glob" >&6
5160 echo "$as_me:$LINENO: checking for extended glob routines" >&5
5161 echo $ECHO_N "checking for extended glob routines... $ECHO_C" >&6
5162 if test "$ac_cv_func_glob" = "yes"; then
5163 cat >conftest.
$ac_ext <<_ACEOF
5166 cat confdefs.h
>>conftest.
$ac_ext
5167 cat >>conftest.
$ac_ext <<_ACEOF
5168 /* end confdefs.h. */
5171 # ifdef GLOB_ALTDIRFUNC
5176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5177 $EGREP "yes" >/dev
/null
2>&1; then
5180 cat >>confdefs.h
<<\_ACEOF
5184 echo "$as_me:$LINENO: result: yes" >&5
5185 echo "${ECHO_T}yes" >&6
5189 echo "$as_me:$LINENO: result: no" >&5
5190 echo "${ECHO_T}no" >&6
5191 echo "Your system does not support extended glob, will use the internal routines"
5198 if test "$ERMT" != ""; then
5199 if test "${ac_cv_header_openssl_evp_h+set}" = set; then
5200 echo "$as_me:$LINENO: checking for openssl/evp.h" >&5
5201 echo $ECHO_N "checking for openssl/evp.h... $ECHO_C" >&6
5202 if test "${ac_cv_header_openssl_evp_h+set}" = set; then
5203 echo $ECHO_N "(cached) $ECHO_C" >&6
5205 echo "$as_me:$LINENO: result: $ac_cv_header_openssl_evp_h" >&5
5206 echo "${ECHO_T}$ac_cv_header_openssl_evp_h" >&6
5208 # Is the header compilable?
5209 echo "$as_me:$LINENO: checking openssl/evp.h usability" >&5
5210 echo $ECHO_N "checking openssl/evp.h usability... $ECHO_C" >&6
5211 cat >conftest.
$ac_ext <<_ACEOF
5214 cat confdefs.h
>>conftest.
$ac_ext
5215 cat >>conftest.
$ac_ext <<_ACEOF
5216 /* end confdefs.h. */
5217 $ac_includes_default
5218 #include <openssl/evp.h>
5220 rm -f conftest.
$ac_objext
5221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5222 (eval $ac_compile) 2>conftest.er1
5224 grep -v '^ *+' conftest.er1
>conftest.err
5226 cat conftest.err
>&5
5227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228 (exit $ac_status); } &&
5229 { ac_try
='test -z "$ac_c_werror_flag"
5230 || test ! -s conftest.err'
5231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); }; } &&
5236 { ac_try
='test -s conftest.$ac_objext'
5237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); }; }; then
5242 ac_header_compiler
=yes
5244 echo "$as_me: failed program was:" >&5
5245 sed 's/^/| /' conftest.
$ac_ext >&5
5247 ac_header_compiler
=no
5249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5250 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5251 echo "${ECHO_T}$ac_header_compiler" >&6
5253 # Is the header present?
5254 echo "$as_me:$LINENO: checking openssl/evp.h presence" >&5
5255 echo $ECHO_N "checking openssl/evp.h presence... $ECHO_C" >&6
5256 cat >conftest.
$ac_ext <<_ACEOF
5259 cat confdefs.h
>>conftest.
$ac_ext
5260 cat >>conftest.
$ac_ext <<_ACEOF
5261 /* end confdefs.h. */
5262 #include <openssl/evp.h>
5264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5265 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5267 grep -v '^ *+' conftest.er1
>conftest.err
5269 cat conftest.err
>&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); } >/dev
/null
; then
5272 if test -s conftest.err
; then
5273 ac_cpp_err
=$ac_c_preproc_warn_flag
5274 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5281 if test -z "$ac_cpp_err"; then
5282 ac_header_preproc
=yes
5284 echo "$as_me: failed program was:" >&5
5285 sed 's/^/| /' conftest.
$ac_ext >&5
5287 ac_header_preproc
=no
5289 rm -f conftest.err conftest.
$ac_ext
5290 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5291 echo "${ECHO_T}$ac_header_preproc" >&6
5293 # So? What about this header?
5294 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5296 { echo "$as_me:$LINENO: WARNING: openssl/evp.h: accepted by the compiler, rejected by the preprocessor!" >&5
5297 echo "$as_me: WARNING: openssl/evp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5298 { echo "$as_me:$LINENO: WARNING: openssl/evp.h: proceeding with the compiler's result" >&5
5299 echo "$as_me: WARNING: openssl/evp.h: proceeding with the compiler's result" >&2;}
5300 ac_header_preproc
=yes
5303 { echo "$as_me:$LINENO: WARNING: openssl/evp.h: present but cannot be compiled" >&5
5304 echo "$as_me: WARNING: openssl/evp.h: present but cannot be compiled" >&2;}
5305 { echo "$as_me:$LINENO: WARNING: openssl/evp.h: check for missing prerequisite headers?" >&5
5306 echo "$as_me: WARNING: openssl/evp.h: check for missing prerequisite headers?" >&2;}
5307 { echo "$as_me:$LINENO: WARNING: openssl/evp.h: see the Autoconf documentation" >&5
5308 echo "$as_me: WARNING: openssl/evp.h: see the Autoconf documentation" >&2;}
5309 { echo "$as_me:$LINENO: WARNING: openssl/evp.h: section \"Present But Cannot Be Compiled\"" >&5
5310 echo "$as_me: WARNING: openssl/evp.h: section \"Present But Cannot Be Compiled\"" >&2;}
5311 { echo "$as_me:$LINENO: WARNING: openssl/evp.h: proceeding with the preprocessor's result" >&5
5312 echo "$as_me: WARNING: openssl/evp.h: proceeding with the preprocessor's result" >&2;}
5313 { echo "$as_me:$LINENO: WARNING: openssl/evp.h: in the future, the compiler will take precedence" >&5
5314 echo "$as_me: WARNING: openssl/evp.h: in the future, the compiler will take precedence" >&2;}
5317 ## ------------------------------------------ ##
5318 ## Report this to the AC_PACKAGE_NAME lists. ##
5319 ## ------------------------------------------ ##
5322 sed "s/^/$as_me: WARNING: /" >&2
5325 echo "$as_me:$LINENO: checking for openssl/evp.h" >&5
5326 echo $ECHO_N "checking for openssl/evp.h... $ECHO_C" >&6
5327 if test "${ac_cv_header_openssl_evp_h+set}" = set; then
5328 echo $ECHO_N "(cached) $ECHO_C" >&6
5330 ac_cv_header_openssl_evp_h
=$ac_header_preproc
5332 echo "$as_me:$LINENO: result: $ac_cv_header_openssl_evp_h" >&5
5333 echo "${ECHO_T}$ac_cv_header_openssl_evp_h" >&6
5336 if test $ac_cv_header_openssl_evp_h = yes; then
5343 echo "$as_me:$LINENO: checking for EVP_CIPHER_CTX_set_padding in -lcrypto" >&5
5344 echo $ECHO_N "checking for EVP_CIPHER_CTX_set_padding in -lcrypto... $ECHO_C" >&6
5345 if test "${ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding+set}" = set; then
5346 echo $ECHO_N "(cached) $ECHO_C" >&6
5348 ac_check_lib_save_LIBS
=$LIBS
5349 LIBS
="-lcrypto $LIBS"
5350 cat >conftest.
$ac_ext <<_ACEOF
5353 cat confdefs.h
>>conftest.
$ac_ext
5354 cat >>conftest.
$ac_ext <<_ACEOF
5355 /* end confdefs.h. */
5357 /* Override any gcc2 internal prototype to avoid an error. */
5361 /* We use char because int might match the return type of a gcc2
5362 builtin and then its argument prototype would still apply. */
5363 char EVP_CIPHER_CTX_set_padding ();
5367 EVP_CIPHER_CTX_set_padding ();
5372 rm -f conftest.
$ac_objext conftest
$ac_exeext
5373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5374 (eval $ac_link) 2>conftest.er1
5376 grep -v '^ *+' conftest.er1
>conftest.err
5378 cat conftest.err
>&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); } &&
5381 { ac_try
='test -z "$ac_c_werror_flag"
5382 || test ! -s conftest.err'
5383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387 (exit $ac_status); }; } &&
5388 { ac_try
='test -s conftest$ac_exeext'
5389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5393 (exit $ac_status); }; }; then
5394 ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding
=yes
5396 echo "$as_me: failed program was:" >&5
5397 sed 's/^/| /' conftest.
$ac_ext >&5
5399 ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding
=no
5401 rm -f conftest.err conftest.
$ac_objext \
5402 conftest
$ac_exeext conftest.
$ac_ext
5403 LIBS
=$ac_check_lib_save_LIBS
5405 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&5
5406 echo "${ECHO_T}$ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding" >&6
5407 if test $ac_cv_lib_crypto_EVP_CIPHER_CTX_set_padding = yes; then
5413 if test "$evp_h" = no
-o "$crypto_lib" = no
; then
5414 { { echo "$as_me:$LINENO: error: You need to install the OpenSSL library (version 0.9.7a or later)" >&5
5415 echo "$as_me: error: You need to install the OpenSSL library (version 0.9.7a or later)" >&2;}
5416 { (exit or configure without
--enable-ermt); exit or configure without
--enable-ermt; }; }
5420 echo "$as_me:$LINENO: checking for quad_t" >&5
5421 echo $ECHO_N "checking for quad_t... $ECHO_C" >&6
5422 if test "${ac_cv_type_quad_t+set}" = set; then
5423 echo $ECHO_N "(cached) $ECHO_C" >&6
5425 cat >conftest.
$ac_ext <<_ACEOF
5428 cat confdefs.h
>>conftest.
$ac_ext
5429 cat >>conftest.
$ac_ext <<_ACEOF
5430 /* end confdefs.h. */
5431 $ac_includes_default
5437 if (sizeof (quad_t))
5443 rm -f conftest.
$ac_objext
5444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5445 (eval $ac_compile) 2>conftest.er1
5447 grep -v '^ *+' conftest.er1
>conftest.err
5449 cat conftest.err
>&5
5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 (exit $ac_status); } &&
5452 { ac_try
='test -z "$ac_c_werror_flag"
5453 || test ! -s conftest.err'
5454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458 (exit $ac_status); }; } &&
5459 { ac_try
='test -s conftest.$ac_objext'
5460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464 (exit $ac_status); }; }; then
5465 ac_cv_type_quad_t
=yes
5467 echo "$as_me: failed program was:" >&5
5468 sed 's/^/| /' conftest.
$ac_ext >&5
5470 ac_cv_type_quad_t
=no
5472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5474 echo "$as_me:$LINENO: result: $ac_cv_type_quad_t" >&5
5475 echo "${ECHO_T}$ac_cv_type_quad_t" >&6
5476 if test $ac_cv_type_quad_t = yes; then
5480 cat >>confdefs.h
<<_ACEOF
5481 #define quad_t int64_t
5486 echo "$as_me:$LINENO: checking for u_quad_t" >&5
5487 echo $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
5488 if test "${ac_cv_type_u_quad_t+set}" = set; then
5489 echo $ECHO_N "(cached) $ECHO_C" >&6
5491 cat >conftest.
$ac_ext <<_ACEOF
5494 cat confdefs.h
>>conftest.
$ac_ext
5495 cat >>conftest.
$ac_ext <<_ACEOF
5496 /* end confdefs.h. */
5497 $ac_includes_default
5503 if (sizeof (u_quad_t))
5509 rm -f conftest.
$ac_objext
5510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5511 (eval $ac_compile) 2>conftest.er1
5513 grep -v '^ *+' conftest.er1
>conftest.err
5515 cat conftest.err
>&5
5516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517 (exit $ac_status); } &&
5518 { ac_try
='test -z "$ac_c_werror_flag"
5519 || test ! -s conftest.err'
5520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); }; } &&
5525 { ac_try
='test -s conftest.$ac_objext'
5526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530 (exit $ac_status); }; }; then
5531 ac_cv_type_u_quad_t
=yes
5533 echo "$as_me: failed program was:" >&5
5534 sed 's/^/| /' conftest.
$ac_ext >&5
5536 ac_cv_type_u_quad_t
=no
5538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5540 echo "$as_me:$LINENO: result: $ac_cv_type_u_quad_t" >&5
5541 echo "${ECHO_T}$ac_cv_type_u_quad_t" >&6
5542 if test $ac_cv_type_u_quad_t = yes; then
5546 cat >>confdefs.h
<<_ACEOF
5547 #define u_quad_t uint64_t
5553 top_builddir
=`cd .; pwd`
5556 test -d compat || mkdir compat
5557 test -d compat
/lib || mkdir compat
/lib
5559 ac_config_files
="$ac_config_files MCONFIG Makefile common/Makefile compat/include/Makefile compat/lib/Makefile dump/Makefile restore/Makefile $RMTMAKEFILE"
5560 cat >confcache
<<\_ACEOF
5561 # This file is a shell script that caches the results of configure
5562 # tests run on this system so they can be shared between configure
5563 # scripts and configure runs, see configure's option --config-cache.
5564 # It is not useful on other systems. If it contains results you don't
5565 # want to keep, you may remove or edit it.
5567 # config.status only pays attention to the cache file if you give it
5568 # the --recheck option to rerun configure.
5570 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5571 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5576 # The following way of writing the cache mishandles newlines in values,
5577 # but we know of no workaround that is simple, portable, and efficient.
5578 # So, don't put newlines in cache variables' values.
5579 # Ultrix sh set writes to stderr and can't be redirected directly,
5580 # and sets the high bit in the cache file unless we assign to the vars.
5583 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5585 # `set' does not quote correctly, so add quotes (double-quote
5586 # substitution turns \\\\ into \\, and sed turns \\ into \).
5589 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5592 # `set' quotes correctly as required by POSIX, so do not add quotes.
5594 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5601 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5603 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5605 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5606 if test -w $cache_file; then
5607 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5608 cat confcache
>$cache_file
5610 echo "not updating unwritable cache $cache_file"
5615 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5616 # Let make expand exec_prefix.
5617 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5619 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5620 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5621 # trailing colons and then remove the whole line if VPATH becomes empty
5622 # (actually we leave an empty line to preserve line numbers).
5623 if test "x$srcdir" = x.
; then
5624 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5625 s/:*\$(srcdir):*/:/;
5626 s/:*\${srcdir}:*/:/;
5628 s/^\([^=]*=[ ]*\):*/\1/;
5634 DEFS
=-DHAVE_CONFIG_H
5638 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5639 # 1. Remove the extension, and $U if already installed.
5640 ac_i
=`echo "$ac_i" |
5641 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5643 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5644 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5648 LTLIBOBJS
=$ac_ltlibobjs
5652 : ${CONFIG_STATUS=./config.status}
5653 ac_clean_files_save
=$ac_clean_files
5654 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5655 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5656 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5657 cat >$CONFIG_STATUS <<_ACEOF
5659 # Generated by $as_me.
5660 # Run this file to recreate the current configuration.
5661 # Compiler output produced by configure, useful for debugging
5662 # configure, is in config.log if it exists.
5667 SHELL=\${CONFIG_SHELL-$SHELL}
5670 cat >>$CONFIG_STATUS <<\_ACEOF
5671 ## --------------------- ##
5672 ## M4sh Initialization. ##
5673 ## --------------------- ##
5675 # Be Bourne compatible
5676 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5679 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5680 # is contrary to our usage. Disable this feature.
5681 alias -g '${1+"$@"}'='"$@"'
5682 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5685 DUALCASE
=1; export DUALCASE
# for MKS sh
5687 # Support unset when possible.
5688 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5695 # Work around bugs in pre-3.0 UWIN ksh.
5696 $as_unset ENV MAIL MAILPATH
5703 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5704 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5705 LC_TELEPHONE LC_TIME
5707 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5708 eval $as_var=C
; export $as_var
5714 # Required to use basename.
5715 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5721 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5722 as_basename
=basename
5728 # Name of the executable.
5729 as_me
=`$as_basename "$0" ||
5730 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5731 X"$0" : 'X\(//\)$' \| \
5732 X"$0" : 'X\(/\)$' \| \
5733 . : '\(.\)' 2>/dev/null ||
5735 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5736 /^X\/\(\/\/\)$/{ s//\1/; q; }
5737 /^X\/\(\/\).*/{ s//\1/; q; }
5741 # PATH needs CR, and LINENO needs CR and PATH.
5742 # Avoid depending upon Character Ranges.
5743 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5744 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5745 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5746 as_cr_digits
='0123456789'
5747 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5749 # The user is always right.
5750 if test "${PATH_SEPARATOR+set}" != set; then
5751 echo "#! /bin/sh" >conf$$.sh
5752 echo "exit 0" >>conf$$.sh
5754 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5765 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5766 test "x$as_lineno_1" != "x$as_lineno_2" &&
5767 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5768 # Find who we are. Look in the path if we contain no path at all
5771 *[\\/]* ) as_myself
=$0 ;;
5772 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5776 test -z "$as_dir" && as_dir
=.
5777 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5782 # We did not find ourselves, most probably we were run as `sh COMMAND'
5783 # in which case we are not to be found in the path.
5784 if test "x$as_myself" = x
; then
5787 if test ! -f "$as_myself"; then
5788 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5789 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5790 { (exit 1); exit 1; }; }
5792 case $CONFIG_SHELL in
5794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5795 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5798 test -z "$as_dir" && as_dir
=.
5799 for as_base
in sh bash ksh sh5
; do
5802 if ("$as_dir/$as_base" -c '
5805 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5806 test "x$as_lineno_1" != "x$as_lineno_2" &&
5807 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5808 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5809 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5810 CONFIG_SHELL
=$as_dir/$as_base
5812 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5820 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5821 # uniformly replaced by the line number. The first 'sed' inserts a
5822 # line-number line before each line; the second 'sed' does the real
5823 # work. The second script uses 'N' to pair each line-number line
5824 # with the numbered line, and appends trailing '-' during
5825 # substitution so that $LINENO is not a special case at line end.
5826 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5827 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5828 sed '=' <$as_myself |
5833 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5836 s,^['$as_cr_digits']*\n,,
5838 chmod +x
$as_me.lineno ||
5839 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5840 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5841 { (exit 1); exit 1; }; }
5843 # Don't try to exec as it changes $[0], causing all sort of problems
5844 # (the dirname of $[0] is not the place where we might find the
5845 # original and so on. Autoconf is especially sensible to this).
5847 # Exit status is that of the last command.
5852 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5853 *c
*,-n*) ECHO_N
= ECHO_C
='
5855 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5856 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5859 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5865 rm -f conf$$ conf$$.exe conf$$.
file
5867 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5868 # We could just check for DJGPP; but this test a) works b) is more generic
5869 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5870 if test -f conf$$.exe
; then
5871 # Don't use ln at all; we don't have any links
5876 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5881 rm -f conf$$ conf$$.exe conf$$.
file
5883 if mkdir
-p .
2>/dev
/null
; then
5886 test -d .
/-p && rmdir .
/-p
5890 as_executable_p
="test -f"
5892 # Sed expression to map a string onto a valid CPP name.
5893 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5895 # Sed expression to map a string onto a valid variable name.
5896 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5900 # We need space, tab and new line, in precisely that order.
5910 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5911 # report actual input values of CONFIG_FILES etc. instead of their
5912 # values after options handling. Logging --version etc. is OK.
5916 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5917 ## Running $as_me. ##
5922 This file was extended by $as_me, which was
5923 generated by GNU Autoconf 2.59. Invocation command line was
5925 CONFIG_FILES = $CONFIG_FILES
5926 CONFIG_HEADERS = $CONFIG_HEADERS
5927 CONFIG_LINKS = $CONFIG_LINKS
5928 CONFIG_COMMANDS = $CONFIG_COMMANDS
5932 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5936 # Files that config.status was made for.
5937 if test -n "$ac_config_files"; then
5938 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5941 if test -n "$ac_config_headers"; then
5942 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5945 if test -n "$ac_config_links"; then
5946 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5949 if test -n "$ac_config_commands"; then
5950 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5953 cat >>$CONFIG_STATUS <<\_ACEOF
5956 \`$as_me' instantiates files from templates according to the
5957 current configuration.
5959 Usage: $0 [OPTIONS] [FILE]...
5961 -h, --help print this help, then exit
5962 -V, --version print version number, then exit
5963 -q, --quiet do not print progress messages
5964 -d, --debug don't remove temporary files
5965 --recheck update $as_me by reconfiguring in the same conditions
5966 --file=FILE[:TEMPLATE]
5967 instantiate the configuration file FILE
5968 --header=FILE[:TEMPLATE]
5969 instantiate the configuration header FILE
5971 Configuration files:
5974 Configuration headers:
5977 Report bugs to <bug-autoconf@gnu.org>."
5980 cat >>$CONFIG_STATUS <<_ACEOF
5983 configured by $0, generated by GNU Autoconf 2.59,
5984 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5986 Copyright (C) 2003 Free Software Foundation, Inc.
5987 This config.status script is free software; the Free Software Foundation
5988 gives unlimited permission to copy, distribute and modify it."
5993 cat >>$CONFIG_STATUS <<\_ACEOF
5994 # If no file are specified by the user, then we need to provide default
5995 # value. By we need to know if files were specified by the user.
6001 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6002 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6010 *) # This is not an option, so the user has probably given explicit
6013 ac_need_defaults
=false
;;
6017 # Handling of the options.
6019 cat >>$CONFIG_STATUS <<\_ACEOF
6020 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6022 --version |
--vers* |
-V )
6023 echo "$ac_cs_version"; exit 0 ;;
6025 # Conflict between --help and --header
6026 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6027 Try \`$0 --help' for more information." >&5
6028 echo "$as_me: error: ambiguous option: $1
6029 Try \`$0 --help' for more information." >&2;}
6030 { (exit 1); exit 1; }; };;
6031 --help |
--hel |
-h )
6032 echo "$ac_cs_usage"; exit 0 ;;
6033 --debug |
--d* |
-d )
6035 --file |
--fil |
--fi |
--f )
6037 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6038 ac_need_defaults
=false
;;
6039 --header |
--heade |
--head |
--hea )
6041 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6042 ac_need_defaults
=false
;;
6043 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6044 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6048 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6049 Try \`$0 --help' for more information." >&5
6050 echo "$as_me: error: unrecognized option: $1
6051 Try \`$0 --help' for more information." >&2;}
6052 { (exit 1); exit 1; }; } ;;
6054 *) ac_config_targets
="$ac_config_targets $1" ;;
6060 ac_configure_extra_args
=
6062 if $ac_cs_silent; then
6064 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6068 cat >>$CONFIG_STATUS <<_ACEOF
6069 if \$ac_cs_recheck; then
6070 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6071 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6080 cat >>$CONFIG_STATUS <<\_ACEOF
6081 for ac_config_target
in $ac_config_targets
6083 case "$ac_config_target" in
6084 # Handling of arguments.
6085 "MCONFIG" ) CONFIG_FILES
="$CONFIG_FILES MCONFIG" ;;
6086 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6087 "common/Makefile" ) CONFIG_FILES
="$CONFIG_FILES common/Makefile" ;;
6088 "compat/include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES compat/include/Makefile" ;;
6089 "compat/lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES compat/lib/Makefile" ;;
6090 "dump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dump/Makefile" ;;
6091 "restore/Makefile" ) CONFIG_FILES
="$CONFIG_FILES restore/Makefile" ;;
6092 "$RMTMAKEFILE" ) CONFIG_FILES
="$CONFIG_FILES $RMTMAKEFILE" ;;
6093 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6094 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6095 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6096 { (exit 1); exit 1; }; };;
6100 # If the user did not use the arguments to specify the items to instantiate,
6101 # then the envvar interface is used. Set only those that are not.
6102 # We use the long form for the default assignment because of an extremely
6103 # bizarre bug on SunOS 4.1.3.
6104 if $ac_need_defaults; then
6105 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6106 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6109 # Have a temporary directory for convenience. Make it in the build tree
6110 # simply because there is no reason to put it here, and in addition,
6111 # creating and moving files from /tmp can sometimes cause problems.
6112 # Create a temporary directory, and hook for its removal unless debugging.
6115 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6116 trap '{ (exit 1); exit 1; }' 1 2 13 15
6119 # Create a (secure) tmp directory for tmp files.
6122 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6123 test -n "$tmp" && test -d "$tmp"
6126 tmp
=.
/confstat$$
-$RANDOM
6127 (umask 077 && mkdir
$tmp)
6130 echo "$me: cannot create a temporary directory in ." >&2
6131 { (exit 1); exit 1; }
6136 cat >>$CONFIG_STATUS <<_ACEOF
6139 # CONFIG_FILES section.
6142 # No need to generate the scripts if there are no CONFIG_FILES.
6143 # This happens for instance when ./config.status config.h
6144 if test -n "\$CONFIG_FILES"; then
6145 # Protect against being on the right side of a sed subst in config.status.
6146 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6147 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6148 s,@SHELL@,$SHELL,;t t
6149 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6150 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6151 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6152 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6153 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6154 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6155 s,@exec_prefix@,$exec_prefix,;t t
6156 s,@prefix@,$prefix,;t t
6157 s,@program_transform_name@,$program_transform_name,;t t
6158 s,@bindir@,$bindir,;t t
6159 s,@sbindir@,$sbindir,;t t
6160 s,@libexecdir@,$libexecdir,;t t
6161 s,@datadir@,$datadir,;t t
6162 s,@sysconfdir@,$sysconfdir,;t t
6163 s,@sharedstatedir@,$sharedstatedir,;t t
6164 s,@localstatedir@,$localstatedir,;t t
6165 s,@libdir@,$libdir,;t t
6166 s,@includedir@,$includedir,;t t
6167 s,@oldincludedir@,$oldincludedir,;t t
6168 s,@infodir@,$infodir,;t t
6169 s,@mandir@,$mandir,;t t
6170 s,@build_alias@,$build_alias,;t t
6171 s,@host_alias@,$host_alias,;t t
6172 s,@target_alias@,$target_alias,;t t
6174 s,@ECHO_C@,$ECHO_C,;t t
6175 s,@ECHO_N@,$ECHO_N,;t t
6176 s,@ECHO_T@,$ECHO_T,;t t
6178 s,@SET_MAKE@,$SET_MAKE,;t t
6184 s,@ac_ct_AR@,$ac_ct_AR,;t t
6185 s,@RANLIB@,$RANLIB,;t t
6186 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6187 s,@PATCH@,$PATCH,;t t
6188 s,@ac_ct_PATCH@,$ac_ct_PATCH,;t t
6190 s,@CFLAGS@,$CFLAGS,;t t
6191 s,@LDFLAGS@,$LDFLAGS,;t t
6192 s,@CPPFLAGS@,$CPPFLAGS,;t t
6193 s,@ac_ct_CC@,$ac_ct_CC,;t t
6194 s,@EXEEXT@,$EXEEXT,;t t
6195 s,@OBJEXT@,$OBJEXT,;t t
6196 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6197 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6198 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6200 s,@EGREP@,$EGREP,;t t
6201 s,@DUMPDEBUG@,$DUMPDEBUG,;t t
6202 s,@RESTOREDEBUG@,$RESTOREDEBUG,;t t
6203 s,@STATIC@,$STATIC,;t t
6204 s,@RMTDIR@,$RMTDIR,;t t
6206 s,@CRYPTO@,$CRYPTO,;t t
6207 s,@OPTDEFS@,$OPTDEFS,;t t
6209 s,@CCOPTS@,$CCOPTS,;t t
6210 s,@LDOPTS@,$LDOPTS,;t t
6211 s,@BINOWNER@,$BINOWNER,;t t
6212 s,@BINGRP@,$BINGRP,;t t
6213 s,@BINMODE@,$BINMODE,;t t
6214 s,@MANOWNER@,$MANOWNER,;t t
6215 s,@MANGRP@,$MANGRP,;t t
6216 s,@MANMODE@,$MANMODE,;t t
6217 s,@DUMPDATESPATH@,$DUMPDATESPATH,;t t
6218 s,@BLKID@,$BLKID,;t t
6219 s,@READLINE@,$READLINE,;t t
6221 s,@BZLIB@,$BZLIB,;t t
6222 s,@top_builddir@,$top_builddir,;t t
6223 s,@LIBOBJS@,$LIBOBJS,;t t
6224 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6225 /@MCONFIG@/r $MCONFIG
6231 cat >>$CONFIG_STATUS <<\_ACEOF
6232 # Split the substitutions into bite-sized pieces for seds with
6233 # small command number limits, like on Digital OSF/1 and HP-UX.
6235 ac_sed_frag
=1 # Number of current file.
6236 ac_beg
=1 # First line for current file.
6237 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6240 while $ac_more_lines; do
6241 if test $ac_beg -gt 1; then
6242 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6244 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6246 if test ! -s $tmp/subs.frag
; then
6249 # The purpose of the label and of the branching condition is to
6250 # speed up the sed processing (if there are no `@' at all, there
6251 # is no need to browse any of the substitutions).
6252 # These are the two extra sed commands mentioned above.
6254 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6255 if test -z "$ac_sed_cmds"; then
6256 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6258 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6260 ac_sed_frag
=`expr $ac_sed_frag + 1`
6262 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6265 if test -z "$ac_sed_cmds"; then
6268 fi # test -n "$CONFIG_FILES"
6271 cat >>$CONFIG_STATUS <<\_ACEOF
6272 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6273 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6275 - |
*:- |
*:-:* ) # input from stdin
6277 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6278 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6279 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6280 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6281 * ) ac_file_in
=$ac_file.
in ;;
6284 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6285 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6286 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6287 X"$ac_file" : 'X\(//\)[^/]' \| \
6288 X"$ac_file" : 'X\(//\)$' \| \
6289 X"$ac_file" : 'X\(/\)' \| \
6290 . : '\(.\)' 2>/dev/null ||
6292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6293 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6294 /^X\(\/\/\)$/{ s//\1/; q; }
6295 /^X\(\/\).*/{ s//\1/; q; }
6297 { if $as_mkdir_p; then
6302 while test ! -d "$as_dir"; do
6303 as_dirs
="$as_dir $as_dirs"
6304 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6306 X"$as_dir" : 'X\(//\)[^/]' \| \
6307 X"$as_dir" : 'X\(//\)$' \| \
6308 X"$as_dir" : 'X\(/\)' \| \
6309 . : '\(.\)' 2>/dev/null ||
6311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6312 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6313 /^X\(\/\/\)$/{ s//\1/; q; }
6314 /^X\(\/\).*/{ s//\1/; q; }
6317 test ! -n "$as_dirs" || mkdir
$as_dirs
6318 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6319 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6320 { (exit 1); exit 1; }; }; }
6324 if test "$ac_dir" != .
; then
6325 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6326 # A "../" for each directory in $ac_dir_suffix.
6327 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6329 ac_dir_suffix
= ac_top_builddir
=
6333 .
) # No --srcdir option. We are building in place.
6335 if test -z "$ac_top_builddir"; then
6338 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6340 [\\/]* | ?
:[\\/]* ) # Absolute path.
6341 ac_srcdir
=$srcdir$ac_dir_suffix;
6342 ac_top_srcdir
=$srcdir ;;
6344 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6345 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6348 # Do not use `cd foo && pwd` to compute absolute paths, because
6349 # the directories may not exist.
6351 .
) ac_abs_builddir
="$ac_dir";;
6354 .
) ac_abs_builddir
=`pwd`;;
6355 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6356 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6359 case $ac_abs_builddir in
6360 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6362 case ${ac_top_builddir}.
in
6363 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6364 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6365 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6368 case $ac_abs_builddir in
6369 .
) ac_abs_srcdir
=$ac_srcdir;;
6372 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6373 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6374 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6377 case $ac_abs_builddir in
6378 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6380 case $ac_top_srcdir in
6381 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6382 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6383 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6389 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6390 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6393 if test x
"$ac_file" != x-
; then
6394 { echo "$as_me:$LINENO: creating $ac_file" >&5
6395 echo "$as_me: creating $ac_file" >&6;}
6398 # Let's still pretend it is `configure' which instantiates (i.e., don't
6399 # use $as_me), people would be surprised to read:
6400 # /* config.h. Generated by config.status. */
6401 if test x
"$ac_file" = x-
; then
6404 configure_input
="$ac_file. "
6406 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6407 sed 's,.*/,,'` by configure."
6409 # First look for the input files in the build tree, otherwise in the
6411 ac_file_inputs
=`IFS=:
6412 for f in $ac_file_in; do
6414 -) echo $tmp/stdin ;;
6416 # Absolute (can't be DOS-style, as IFS=:)
6417 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6418 echo "$as_me: error: cannot find input file: $f" >&2;}
6419 { (exit 1); exit 1; }; }
6422 if test -f "$f"; then
6425 elif test -f "$srcdir/$f"; then
6430 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6431 echo "$as_me: error: cannot find input file: $f" >&2;}
6432 { (exit 1); exit 1; }; }
6435 done` ||
{ (exit 1); exit 1; }
6437 cat >>$CONFIG_STATUS <<_ACEOF
6441 cat >>$CONFIG_STATUS <<\_ACEOF
6443 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6444 s
,@configure_input@
,$configure_input,;t t
6445 s
,@srcdir@
,$ac_srcdir,;t t
6446 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6447 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6448 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6449 s
,@builddir@
,$ac_builddir,;t t
6450 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6451 s
,@top_builddir@
,$ac_top_builddir,;t t
6452 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6453 s
,@INSTALL@
,$ac_INSTALL,;t t
6454 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6456 if test x"$ac_file" != x-; then
6457 mv $tmp/out $ac_file
6465 cat >>$CONFIG_STATUS <<\_ACEOF
6468 # CONFIG_HEADER section.
6471 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6472 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6474 # ac_d sets the value in "#define NAME VALUE" lines.
6475 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6476 ac_dB
='[ ].*$,\1#\2'
6479 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6480 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6481 ac_uB
='$,\1#\2define\3'
6485 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6486 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6488 - |
*:- |
*:-:* ) # input from stdin
6490 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6491 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6492 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6493 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6494 * ) ac_file_in
=$ac_file.
in ;;
6497 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6498 echo "$as_me: creating $ac_file" >&6;}
6500 # First look for the input files in the build tree, otherwise in the
6502 ac_file_inputs
=`IFS=:
6503 for f in $ac_file_in; do
6505 -) echo $tmp/stdin ;;
6507 # Absolute (can't be DOS-style, as IFS=:)
6508 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6509 echo "$as_me: error: cannot find input file: $f" >&2;}
6510 { (exit 1); exit 1; }; }
6511 # Do quote $f, to prevent DOS paths from being IFS'd.
6514 if test -f "$f"; then
6517 elif test -f "$srcdir/$f"; then
6522 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6523 echo "$as_me: error: cannot find input file: $f" >&2;}
6524 { (exit 1); exit 1; }; }
6527 done` ||
{ (exit 1); exit 1; }
6528 # Remove the trailing spaces.
6529 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6533 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6534 # `conftest.undefs', that substitutes the proper values into
6535 # config.h.in to produce config.h. The first handles `#define'
6536 # templates, and the second `#undef' templates.
6537 # And first: Protect against being on the right side of a sed subst in
6538 # config.status. Protect against being in an unquoted here document
6540 rm -f conftest.defines conftest.undefs
6541 # Using a here document instead of a string reduces the quoting nightmare.
6542 # Putting comments in sed scripts is not portable.
6544 # `end' is used to avoid that the second main sed command (meant for
6545 # 0-ary CPP macros) applies to n-ary macro definitions.
6546 # See the Autoconf documentation for `clear'.
6547 cat >confdef2sed.
sed <<\_ACEOF
6552 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6554 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6557 # If some macros were called several times there might be several times
6558 # the same #defines, which is useless. Nevertheless, we may not want to
6559 # sort them, since we want the *last* AC-DEFINE to be honored.
6560 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6561 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6562 rm -f confdef2sed.sed
6564 # This sed command replaces #undef with comments. This is necessary, for
6565 # example, in the case of _POSIX_SOURCE, which is predefined and required
6566 # on some systems where configure will not decide to define it.
6567 cat >>conftest.undefs <<\_ACEOF
6568 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6571 # Break up conftest.defines because some shells have a limit on the size
6572 # of here documents, and old seds have small limits too (100 cmds).
6573 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6574 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6575 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6576 echo ' :' >>$CONFIG_STATUS
6578 while grep . conftest.defines >/dev/null
6580 # Write a limited-size here document to $tmp/defines.sed.
6581 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6582 # Speed up: don't consider the non `#define' lines.
6583 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6584 # Work around the forget-to-reset-the-flag bug.
6585 echo 't clr' >>$CONFIG_STATUS
6586 echo ': clr' >>$CONFIG_STATUS
6587 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6589 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6593 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6594 rm -f conftest.defines
6595 mv conftest.
tail conftest.defines
6597 rm -f conftest.defines
6598 echo ' fi # grep' >>$CONFIG_STATUS
6599 echo >>$CONFIG_STATUS
6601 # Break up conftest.undefs because some shells have a limit on the size
6602 # of here documents, and old seds have small limits too (100 cmds).
6603 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6605 while grep . conftest.undefs
>/dev
/null
6607 # Write a limited-size here document to $tmp/undefs.sed.
6608 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6609 # Speed up: don't consider the non
`#undef'
6610 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6611 # Work around the forget-to-reset-the-flag bug.
6612 echo 't clr' >>$CONFIG_STATUS
6613 echo ': clr' >>$CONFIG_STATUS
6614 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6616 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6620 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6621 rm -f conftest.undefs
6622 mv conftest.tail conftest.undefs
6624 rm -f conftest.undefs
6626 cat >>$CONFIG_STATUS <<\_ACEOF
6627 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6628 # use $as_me), people would be surprised to read:
6629 # /* config.h. Generated by config.status. */
6630 if test x
"$ac_file" = x-
; then
6631 echo "/* Generated by configure. */" >$tmp/config.h
6633 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6635 cat $tmp/in >>$tmp/config.h
6637 if test x
"$ac_file" != x-
; then
6638 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6639 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6640 echo "$as_me: $ac_file is unchanged" >&6;}
6642 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6643 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6644 X"$ac_file" : 'X\(//\)[^/]' \| \
6645 X"$ac_file" : 'X\(//\)$' \| \
6646 X"$ac_file" : 'X\(/\)' \| \
6647 . : '\(.\)' 2>/dev/null ||
6649 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6650 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6651 /^X\(\/\/\)$/{ s//\1/; q; }
6652 /^X\(\/\).*/{ s//\1/; q; }
6654 { if $as_mkdir_p; then
6659 while test ! -d "$as_dir"; do
6660 as_dirs
="$as_dir $as_dirs"
6661 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6662 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6663 X"$as_dir" : 'X\(//\)[^/]' \| \
6664 X"$as_dir" : 'X\(//\)$' \| \
6665 X"$as_dir" : 'X\(/\)' \| \
6666 . : '\(.\)' 2>/dev/null ||
6668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6669 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6670 /^X\(\/\/\)$/{ s//\1/; q; }
6671 /^X\(\/\).*/{ s//\1/; q; }
6674 test ! -n "$as_dirs" || mkdir
$as_dirs
6675 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6676 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6677 { (exit 1); exit 1; }; }; }
6680 mv $tmp/config.h
$ac_file
6689 cat >>$CONFIG_STATUS <<\_ACEOF
6691 { (exit 0); exit 0; }
6693 chmod +x
$CONFIG_STATUS
6694 ac_clean_files
=$ac_clean_files_save
6697 # configure is writing to config.log, and then calls config.status.
6698 # config.status does its own redirection, appending to config.log.
6699 # Unfortunately, on DOS this fails, as config.log is still kept open
6700 # by configure, so config.status won't be able to write to it; its
6701 # output is simply discarded. So we exec the FD to /dev/null,
6702 # effectively closing config.log, so it can be properly (re)opened and
6703 # appended to by config.status. When coming back to configure, we
6704 # need to make the FD available again.
6705 if test "$no_create" != yes; then
6707 ac_config_status_args
=
6708 test "$silent" = yes &&
6709 ac_config_status_args
="$ac_config_status_args --quiet"
6711 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6713 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6714 # would make configure fail if this is the last instruction.
6715 $ac_cs_success ||
{ (exit 1); exit 1; }