3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --enable-debug include debugging code"
17 --enable-static link dump and restore statically"
19 --enable-rmt compile and install rmt"
21 --enable-kerberos compile kerberos extensions"
23 --enable-readline enable readline support in restore"
25 --enable-oldstylefscript enable old style F script (no arguments)"
27 --enable-largefile enable Large File System support (your glibc needs to support it)"
29 --enable-qfa enable Quick File Access support"
31 --enable-qfadebug include Quick File Access debugging code"
33 --with-cc=COMPILER select compiler to use"
35 --with-linker=LINKER select linker to use"
37 --with-ccopts=CCOPTS select compiler command line options"
39 --with-ldopts=LDOPTS select linker command line options"
41 --with-binowner=USER select owner for binaries"
43 --with-bingrp=GROUP select group for binaries"
45 --with-binmode=MODE select mode for binaries"
47 --with-manowner=USER select owner for manual pages"
49 --with-mangrp=GROUP select group for manual pages"
51 --with-manmode=MODE select mode for manual pages"
53 --with-dumpdatespath=PATH select path for dumpdates file"
55 # Initialize some variables set by options.
56 # The variables have the same names as the options, with
57 # dashes changed to underlines.
59 cache_file=./config.cache
68 program_transform_name=s,x,x,
76 bindir='${exec_prefix}/bin'
77 sbindir='${exec_prefix}/sbin'
78 libexecdir='${exec_prefix}/libexec'
79 datadir='${prefix}/share'
80 sysconfdir='${prefix}/etc'
81 sharedstatedir='${prefix}/com'
82 localstatedir='${prefix}/var'
83 libdir='${exec_prefix}/lib'
84 includedir='${prefix}/include'
85 oldincludedir='/usr/include'
86 infodir='${prefix}/info'
87 mandir='${prefix}/man'
89 # Initialize some other variables.
92 SHELL=${CONFIG_SHELL-/bin/sh}
93 # Maximum number of lines to put in a shell here document.
100 # If the previous option needs an argument, assign it.
101 if test -n "$ac_prev"; then
102 eval "$ac_prev=\$ac_option"
108 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
112 # Accept the important Cygnus configure options, so we can diagnose typos.
116 -bindir | --bindir | --bindi | --bind | --bin | --bi)
118 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
119 bindir="$ac_optarg" ;;
121 -build | --build | --buil | --bui | --bu)
123 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
124 build="$ac_optarg" ;;
126 -cache-file | --cache-file | --cache-fil | --cache-fi \
127 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
128 ac_prev=cache_file ;;
129 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
130 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
131 cache_file="$ac_optarg" ;;
133 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
135 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
137 datadir="$ac_optarg" ;;
139 -disable-* | --disable-*)
140 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
141 # Reject names that are not valid shell variable names.
142 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
143 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
145 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
146 eval "enable_${ac_feature}=no" ;;
148 -enable-* | --enable-*)
149 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
150 # Reject names that are not valid shell variable names.
151 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
152 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
154 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
159 eval "enable_${ac_feature}='$ac_optarg'" ;;
161 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
162 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
163 | --exec | --exe | --ex)
164 ac_prev=exec_prefix ;;
165 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
166 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
167 | --exec=* | --exe=* | --ex=*)
168 exec_prefix="$ac_optarg" ;;
170 -gas | --gas | --ga | --g)
171 # Obsolete; use --with-gas.
174 -help | --help | --hel | --he)
175 # Omit some internal or obsolete options to make the list less imposing.
176 # This message is too long to be a string in the A/UX 3.1 sh.
178 Usage: configure [options] [host]
179 Options: [defaults in brackets after descriptions]
181 --cache-file=FILE cache test results in FILE
182 --help print this message
183 --no-create do not create output files
184 --quiet, --silent do not print \`checking...' messages
185 --version print the version of autoconf that created configure
186 Directory and file names:
187 --prefix=PREFIX install architecture-independent files in PREFIX
189 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
191 --bindir=DIR user executables in DIR [EPREFIX/bin]
192 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
193 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
194 --datadir=DIR read-only architecture-independent data in DIR
196 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
197 --sharedstatedir=DIR modifiable architecture-independent data in DIR
199 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
200 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
201 --includedir=DIR C header files in DIR [PREFIX/include]
202 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
203 --infodir=DIR info documentation in DIR [PREFIX/info]
204 --mandir=DIR man documentation in DIR [PREFIX/man]
205 --srcdir=DIR find the sources in DIR [configure dir or ..]
206 --program-prefix=PREFIX prepend PREFIX to installed program names
207 --program-suffix=SUFFIX append SUFFIX to installed program names
208 --program-transform-name=PROGRAM
209 run sed PROGRAM on installed program names
213 --build=BUILD configure for building on BUILD [BUILD=HOST]
214 --host=HOST configure for HOST [guessed]
215 --target=TARGET configure for TARGET [TARGET=HOST]
216 Features and packages:
217 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
218 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
219 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
220 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
221 --x-includes=DIR X include files are in DIR
222 --x-libraries=DIR X library files are in DIR
224 if test -n "$ac_help"; then
225 echo "--enable and --with options recognized:$ac_help"
229 -host | --host | --hos | --ho)
231 -host=* | --host=* | --hos=* | --ho=*)
234 -includedir | --includedir | --includedi | --included | --include \
235 | --includ | --inclu | --incl | --inc)
236 ac_prev=includedir ;;
237 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
238 | --includ=* | --inclu=* | --incl=* | --inc=*)
239 includedir="$ac_optarg" ;;
241 -infodir | --infodir | --infodi | --infod | --info | --inf)
243 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
244 infodir="$ac_optarg" ;;
246 -libdir | --libdir | --libdi | --libd)
248 -libdir=* | --libdir=* | --libdi=* | --libd=*)
249 libdir="$ac_optarg" ;;
251 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
252 | --libexe | --libex | --libe)
253 ac_prev=libexecdir ;;
254 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
255 | --libexe=* | --libex=* | --libe=*)
256 libexecdir="$ac_optarg" ;;
258 -localstatedir | --localstatedir | --localstatedi | --localstated \
259 | --localstate | --localstat | --localsta | --localst \
260 | --locals | --local | --loca | --loc | --lo)
261 ac_prev=localstatedir ;;
262 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
263 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
264 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
265 localstatedir="$ac_optarg" ;;
267 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
269 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
270 mandir="$ac_optarg" ;;
273 # Obsolete; use --without-fp.
276 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
280 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
281 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
284 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
285 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
286 | --oldin | --oldi | --old | --ol | --o)
287 ac_prev=oldincludedir ;;
288 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
289 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
290 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
291 oldincludedir="$ac_optarg" ;;
293 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
295 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
296 prefix="$ac_optarg" ;;
298 -program-prefix | --program-prefix | --program-prefi | --program-pref \
299 | --program-pre | --program-pr | --program-p)
300 ac_prev=program_prefix ;;
301 -program-prefix=* | --program-prefix=* | --program-prefi=* \
302 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
303 program_prefix="$ac_optarg" ;;
305 -program-suffix | --program-suffix | --program-suffi | --program-suff \
306 | --program-suf | --program-su | --program-s)
307 ac_prev=program_suffix ;;
308 -program-suffix=* | --program-suffix=* | --program-suffi=* \
309 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
310 program_suffix="$ac_optarg" ;;
312 -program-transform-name | --program-transform-name \
313 | --program-transform-nam | --program-transform-na \
314 | --program-transform-n | --program-transform- \
315 | --program-transform | --program-transfor \
316 | --program-transfo | --program-transf \
317 | --program-trans | --program-tran \
318 | --progr-tra | --program-tr | --program-t)
319 ac_prev=program_transform_name ;;
320 -program-transform-name=* | --program-transform-name=* \
321 | --program-transform-nam=* | --program-transform-na=* \
322 | --program-transform-n=* | --program-transform-=* \
323 | --program-transform=* | --program-transfor=* \
324 | --program-transfo=* | --program-transf=* \
325 | --program-trans=* | --program-tran=* \
326 | --progr-tra=* | --program-tr=* | --program-t=*)
327 program_transform_name="$ac_optarg" ;;
329 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
330 | -silent | --silent | --silen | --sile | --sil)
333 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
335 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
337 sbindir="$ac_optarg" ;;
339 -sharedstatedir | --sharedstatedir | --sharedstatedi \
340 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
341 | --sharedst | --shareds | --shared | --share | --shar \
343 ac_prev=sharedstatedir ;;
344 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
345 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
346 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
348 sharedstatedir="$ac_optarg" ;;
350 -site | --site | --sit)
352 -site=* | --site=* | --sit=*)
355 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
357 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
358 srcdir="$ac_optarg" ;;
360 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
361 | --syscon | --sysco | --sysc | --sys | --sy)
362 ac_prev=sysconfdir ;;
363 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
364 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
365 sysconfdir="$ac_optarg" ;;
367 -target | --target | --targe | --targ | --tar | --ta | --t)
369 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
370 target="$ac_optarg" ;;
372 -v | -verbose | --verbose | --verbos | --verbo | --verb)
375 -version | --version | --versio | --versi | --vers)
376 echo "configure generated by autoconf version 2.13"
380 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
381 # Reject names that are not valid shell variable names.
382 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
383 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
385 ac_package=`echo $ac_package| sed 's/-/_/g'`
390 eval "with_${ac_package}='$ac_optarg'" ;;
392 -without-* | --without-*)
393 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
394 # Reject names that are not valid shell variable names.
395 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
396 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
398 ac_package=`echo $ac_package| sed 's/-/_/g'`
399 eval "with_${ac_package}=no" ;;
402 # Obsolete; use --with-x.
405 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
406 | --x-incl | --x-inc | --x-in | --x-i)
407 ac_prev=x_includes ;;
408 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
409 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
410 x_includes="$ac_optarg" ;;
412 -x-libraries | --x-libraries | --x-librarie | --x-librari \
413 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
414 ac_prev=x_libraries ;;
415 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
416 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
417 x_libraries="$ac_optarg" ;;
419 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
423 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
424 echo "configure: warning: $ac_option: invalid host type" 1>&2
426 if test "x$nonopt" != xNONE; then
427 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
435 if test -n "$ac_prev"; then
436 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
439 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
441 # File descriptor usage:
444 # 2 errors and warnings
445 # 3 some systems may open it to /dev/tty
446 # 4 used on the Kubota Titan
447 # 6 checking for... messages and results
448 # 5 compiler messages saved in config.log
449 if test "$silent" = yes; then
457 This file contains any messages produced by compilers while
458 running configure, to aid debugging if configure makes a mistake.
461 # Strip out --no-create and --no-recursion so they do not pile up.
462 # Also quote any args containing shell metacharacters.
467 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
468 | --no-cr | --no-c) ;;
469 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
470 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
471 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
472 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
473 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
478 # Only set these to C if already set. These must not be set unconditionally
479 # because not all systems understand e.g. LANG=C (notably SCO).
480 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
481 # Non-C LC_CTYPE values break the ctype check.
482 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
483 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
484 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
485 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
487 # confdefs.h avoids OS command line length limits that DEFS can exceed.
488 rm -rf conftest* confdefs.h
489 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
492 # A filename unique to this package, relative to the directory that
493 # configure is in, which we can look for to find out if srcdir is correct.
494 ac_unique_file=dump/dump.h
496 # Find the source files, if location was not specified.
497 if test -z "$srcdir"; then
498 ac_srcdir_defaulted=yes
499 # Try the directory containing this script, then its parent.
501 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
502 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
504 if test ! -r $srcdir/$ac_unique_file; then
508 ac_srcdir_defaulted=no
510 if test ! -r $srcdir/$ac_unique_file; then
511 if test "$ac_srcdir_defaulted" = yes; then
512 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
514 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
517 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
519 # Prefer explicitly selected file to automatically selected ones.
520 if test -z "$CONFIG_SITE"; then
521 if test "x$prefix" != xNONE; then
522 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
524 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
527 for ac_site_file in $CONFIG_SITE; do
528 if test -r "$ac_site_file"; then
529 echo "loading site script $ac_site_file"
534 if test -r "$cache_file"; then
535 echo "loading cache $cache_file"
538 echo "creating cache $cache_file"
543 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
544 ac_cpp='$CPP $CPPFLAGS'
545 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
546 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
547 cross_compiling=$ac_cv_prog_cc_cross
551 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
552 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
553 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
560 ac_n= ac_c='\c' ac_t=
570 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
571 echo "configure:572: checking whether ${MAKE-make} sets \${MAKE}" >&5
572 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
573 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
574 echo $ac_n "(cached) $ac_c" 1>&6
576 cat > conftestmake <<\EOF
578 @echo 'ac_maketemp="${MAKE}"'
580 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
581 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
582 if test -n "$ac_maketemp"; then
583 eval ac_cv_prog_make_${ac_make}_set=yes
585 eval ac_cv_prog_make_${ac_make}_set=no
589 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
590 echo "$ac_t""yes" 1>&6
593 echo "$ac_t""no" 1>&6
594 SET_MAKE="MAKE=${MAKE-make}"
597 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
598 echo "configure:599: checking whether ln -s works" >&5
599 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
600 echo $ac_n "(cached) $ac_c" 1>&6
603 if ln -s X conftestdata 2>/dev/null
606 ac_cv_prog_LN_S="ln -s"
611 LN_S="$ac_cv_prog_LN_S"
612 if test "$ac_cv_prog_LN_S" = "ln -s"; then
613 echo "$ac_t""yes" 1>&6
615 echo "$ac_t""no" 1>&6
618 # Extract the first word of "cp", so it can be a program name with args.
619 set dummy cp; ac_word=$2
620 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
621 echo "configure:622: checking for $ac_word" >&5
622 if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then
623 echo $ac_n "(cached) $ac_c" 1>&6
627 ac_cv_path_CP="$CP" # Let the user override the test with a path.
630 ac_cv_path_CP="$CP" # Let the user override the test with a dos path.
633 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
635 for ac_dir in $ac_dummy; do
636 test -z "$ac_dir" && ac_dir=.
637 if test -f $ac_dir/$ac_word; then
638 ac_cv_path_CP="$ac_dir/$ac_word"
643 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
648 if test -n "$CP"; then
649 echo "$ac_t""$CP" 1>&6
651 echo "$ac_t""no" 1>&6
654 # Extract the first word of "mv", so it can be a program name with args.
655 set dummy mv; ac_word=$2
656 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
657 echo "configure:658: checking for $ac_word" >&5
658 if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then
659 echo $ac_n "(cached) $ac_c" 1>&6
663 ac_cv_path_MV="$MV" # Let the user override the test with a path.
666 ac_cv_path_MV="$MV" # Let the user override the test with a dos path.
669 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
671 for ac_dir in $ac_dummy; do
672 test -z "$ac_dir" && ac_dir=.
673 if test -f $ac_dir/$ac_word; then
674 ac_cv_path_MV="$ac_dir/$ac_word"
679 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
684 if test -n "$MV"; then
685 echo "$ac_t""$MV" 1>&6
687 echo "$ac_t""no" 1>&6
690 # Extract the first word of "rm", so it can be a program name with args.
691 set dummy rm; ac_word=$2
692 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
693 echo "configure:694: checking for $ac_word" >&5
694 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
695 echo $ac_n "(cached) $ac_c" 1>&6
699 ac_cv_path_RM="$RM" # Let the user override the test with a path.
702 ac_cv_path_RM="$RM" # Let the user override the test with a dos path.
705 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
707 for ac_dir in $ac_dummy; do
708 test -z "$ac_dir" && ac_dir=.
709 if test -f $ac_dir/$ac_word; then
710 ac_cv_path_RM="$ac_dir/$ac_word"
715 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
720 if test -n "$RM"; then
721 echo "$ac_t""$RM" 1>&6
723 echo "$ac_t""no" 1>&6
727 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
728 if test -f $ac_dir/install-sh; then
730 ac_install_sh="$ac_aux_dir/install-sh -c"
732 elif test -f $ac_dir/install.sh; then
734 ac_install_sh="$ac_aux_dir/install.sh -c"
738 if test -z "$ac_aux_dir"; then
739 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
741 ac_config_guess=$ac_aux_dir/config.guess
742 ac_config_sub=$ac_aux_dir/config.sub
743 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
746 # Make sure we can run config.sub.
747 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
748 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
751 echo $ac_n "checking host system type""... $ac_c" 1>&6
752 echo "configure:753: checking host system type" >&5
755 case "$host_alias" in
759 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
760 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
762 *) host_alias=$nonopt ;;
766 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
767 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
768 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
769 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
770 echo "$ac_t""$host" 1>&6
772 echo $ac_n "checking build system type""... $ac_c" 1>&6
773 echo "configure:774: checking build system type" >&5
776 case "$build_alias" in
779 NONE) build_alias=$host_alias ;;
780 *) build_alias=$nonopt ;;
784 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
785 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
786 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
787 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
788 echo "$ac_t""$build" 1>&6
790 if test $host != $build; then
791 ac_tool_prefix=${host_alias}-
796 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
797 set dummy ${ac_tool_prefix}ar; ac_word=$2
798 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
799 echo "configure:800: checking for $ac_word" >&5
800 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
801 echo $ac_n "(cached) $ac_c" 1>&6
803 if test -n "$AR"; then
804 ac_cv_prog_AR="$AR" # Let the user override the test.
806 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
808 for ac_dir in $ac_dummy; do
809 test -z "$ac_dir" && ac_dir=.
810 if test -f $ac_dir/$ac_word; then
811 ac_cv_prog_AR="${ac_tool_prefix}ar"
819 if test -n "$AR"; then
820 echo "$ac_t""$AR" 1>&6
822 echo "$ac_t""no" 1>&6
826 if test -z "$ac_cv_prog_AR"; then
827 if test -n "$ac_tool_prefix"; then
828 # Extract the first word of "ar", so it can be a program name with args.
829 set dummy ar; ac_word=$2
830 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
831 echo "configure:832: checking for $ac_word" >&5
832 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
833 echo $ac_n "(cached) $ac_c" 1>&6
835 if test -n "$AR"; then
836 ac_cv_prog_AR="$AR" # Let the user override the test.
838 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
840 for ac_dir in $ac_dummy; do
841 test -z "$ac_dir" && ac_dir=.
842 if test -f $ac_dir/$ac_word; then
848 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
852 if test -n "$AR"; then
853 echo "$ac_t""$AR" 1>&6
855 echo "$ac_t""no" 1>&6
863 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
864 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
865 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
866 echo "configure:867: checking for $ac_word" >&5
867 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
868 echo $ac_n "(cached) $ac_c" 1>&6
870 if test -n "$RANLIB"; then
871 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
873 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
875 for ac_dir in $ac_dummy; do
876 test -z "$ac_dir" && ac_dir=.
877 if test -f $ac_dir/$ac_word; then
878 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
885 RANLIB="$ac_cv_prog_RANLIB"
886 if test -n "$RANLIB"; then
887 echo "$ac_t""$RANLIB" 1>&6
889 echo "$ac_t""no" 1>&6
893 if test -z "$ac_cv_prog_RANLIB"; then
894 if test -n "$ac_tool_prefix"; then
895 # Extract the first word of "ranlib", so it can be a program name with args.
896 set dummy ranlib; ac_word=$2
897 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
898 echo "configure:899: checking for $ac_word" >&5
899 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
900 echo $ac_n "(cached) $ac_c" 1>&6
902 if test -n "$RANLIB"; then
903 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
905 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
907 for ac_dir in $ac_dummy; do
908 test -z "$ac_dir" && ac_dir=.
909 if test -f $ac_dir/$ac_word; then
910 ac_cv_prog_RANLIB="ranlib"
915 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
918 RANLIB="$ac_cv_prog_RANLIB"
919 if test -n "$RANLIB"; then
920 echo "$ac_t""$RANLIB" 1>&6
922 echo "$ac_t""no" 1>&6
930 # Extract the first word of "${ac_tool_prefix}patch", so it can be a program name with args.
931 set dummy ${ac_tool_prefix}patch; ac_word=$2
932 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
933 echo "configure:934: checking for $ac_word" >&5
934 if eval "test \"`echo '$''{'ac_cv_prog_PATCH'+set}'`\" = set"; then
935 echo $ac_n "(cached) $ac_c" 1>&6
937 if test -n "$PATCH"; then
938 ac_cv_prog_PATCH="$PATCH" # Let the user override the test.
940 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
942 for ac_dir in $ac_dummy; do
943 test -z "$ac_dir" && ac_dir=.
944 if test -f $ac_dir/$ac_word; then
945 ac_cv_prog_PATCH="${ac_tool_prefix}patch"
952 PATCH="$ac_cv_prog_PATCH"
953 if test -n "$PATCH"; then
954 echo "$ac_t""$PATCH" 1>&6
956 echo "$ac_t""no" 1>&6
960 if test -z "$ac_cv_prog_PATCH"; then
961 if test -n "$ac_tool_prefix"; then
962 # Extract the first word of "patch", so it can be a program name with args.
963 set dummy patch; ac_word=$2
964 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
965 echo "configure:966: checking for $ac_word" >&5
966 if eval "test \"`echo '$''{'ac_cv_prog_PATCH'+set}'`\" = set"; then
967 echo $ac_n "(cached) $ac_c" 1>&6
969 if test -n "$PATCH"; then
970 ac_cv_prog_PATCH="$PATCH" # Let the user override the test.
972 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
974 for ac_dir in $ac_dummy; do
975 test -z "$ac_dir" && ac_dir=.
976 if test -f $ac_dir/$ac_word; then
977 ac_cv_prog_PATCH="patch"
982 test -z "$ac_cv_prog_PATCH" && ac_cv_prog_PATCH=":"
985 PATCH="$ac_cv_prog_PATCH"
986 if test -n "$PATCH"; then
987 echo "$ac_t""$PATCH" 1>&6
989 echo "$ac_t""no" 1>&6
997 # Extract the first word of "gcc", so it can be a program name with args.
998 set dummy gcc; ac_word=$2
999 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1000 echo "configure:1001: checking for $ac_word" >&5
1001 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1002 echo $ac_n "(cached) $ac_c" 1>&6
1004 if test -n "$CC"; then
1005 ac_cv_prog_CC="$CC" # Let the user override the test.
1007 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1009 for ac_dir in $ac_dummy; do
1010 test -z "$ac_dir" && ac_dir=.
1011 if test -f $ac_dir/$ac_word; then
1020 if test -n "$CC"; then
1021 echo "$ac_t""$CC" 1>&6
1023 echo "$ac_t""no" 1>&6
1026 if test -z "$CC"; then
1027 # Extract the first word of "cc", so it can be a program name with args.
1028 set dummy cc; ac_word=$2
1029 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1030 echo "configure:1031: checking for $ac_word" >&5
1031 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1032 echo $ac_n "(cached) $ac_c" 1>&6
1034 if test -n "$CC"; then
1035 ac_cv_prog_CC="$CC" # Let the user override the test.
1037 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1040 for ac_dir in $ac_dummy; do
1041 test -z "$ac_dir" && ac_dir=.
1042 if test -f $ac_dir/$ac_word; then
1043 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1044 ac_prog_rejected=yes
1052 if test $ac_prog_rejected = yes; then
1053 # We found a bogon in the path, so make sure we never use it.
1054 set dummy $ac_cv_prog_CC
1056 if test $# -gt 0; then
1057 # We chose a different compiler from the bogus one.
1058 # However, it has the same basename, so the bogon will be chosen
1059 # first if we set CC to just the basename; use the full file name.
1061 set dummy "$ac_dir/$ac_word" "$@"
1069 if test -n "$CC"; then
1070 echo "$ac_t""$CC" 1>&6
1072 echo "$ac_t""no" 1>&6
1075 if test -z "$CC"; then
1076 case "`uname -s`" in
1078 # Extract the first word of "cl", so it can be a program name with args.
1079 set dummy cl; ac_word=$2
1080 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1081 echo "configure:1082: checking for $ac_word" >&5
1082 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1083 echo $ac_n "(cached) $ac_c" 1>&6
1085 if test -n "$CC"; then
1086 ac_cv_prog_CC="$CC" # Let the user override the test.
1088 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1090 for ac_dir in $ac_dummy; do
1091 test -z "$ac_dir" && ac_dir=.
1092 if test -f $ac_dir/$ac_word; then
1101 if test -n "$CC"; then
1102 echo "$ac_t""$CC" 1>&6
1104 echo "$ac_t""no" 1>&6
1109 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1112 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1113 echo "configure:1114: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1116 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1117 ac_cpp='$CPP $CPPFLAGS'
1118 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1119 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1120 cross_compiling=$ac_cv_prog_cc_cross
1122 cat > conftest.$ac_ext << EOF
1124 #line 1125 "configure"
1125 #include "confdefs.h"
1129 if { (eval echo configure:1130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1130 ac_cv_prog_cc_works=yes
1131 # If we can't run a trivial program, we are probably using a cross compiler.
1132 if (./conftest; exit) 2>/dev/null; then
1133 ac_cv_prog_cc_cross=no
1135 ac_cv_prog_cc_cross=yes
1138 echo "configure: failed program was:" >&5
1139 cat conftest.$ac_ext >&5
1140 ac_cv_prog_cc_works=no
1144 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1145 ac_cpp='$CPP $CPPFLAGS'
1146 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1147 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1148 cross_compiling=$ac_cv_prog_cc_cross
1150 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1151 if test $ac_cv_prog_cc_works = no; then
1152 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1154 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1155 echo "configure:1156: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1156 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1157 cross_compiling=$ac_cv_prog_cc_cross
1159 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1160 echo "configure:1161: checking whether we are using GNU C" >&5
1161 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1162 echo $ac_n "(cached) $ac_c" 1>&6
1164 cat > conftest.c <<EOF
1169 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1176 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1178 if test $ac_cv_prog_gcc = yes; then
1184 ac_test_CFLAGS="${CFLAGS+set}"
1185 ac_save_CFLAGS="$CFLAGS"
1187 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1188 echo "configure:1189: checking whether ${CC-cc} accepts -g" >&5
1189 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1190 echo $ac_n "(cached) $ac_c" 1>&6
1192 echo 'void f(){}' > conftest.c
1193 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1202 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1203 if test "$ac_test_CFLAGS" = set; then
1204 CFLAGS="$ac_save_CFLAGS"
1205 elif test $ac_cv_prog_cc_g = yes; then
1206 if test "$GCC" = yes; then
1212 if test "$GCC" = yes; then
1219 # Find a good install program. We prefer a C program (faster),
1220 # so one script is as good as another. But avoid the broken or
1221 # incompatible versions:
1222 # SysV /etc/install, /usr/sbin/install
1223 # SunOS /usr/etc/install
1224 # IRIX /sbin/install
1226 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1227 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1228 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1229 # ./install, which can be erroneously created by make from ./install.sh.
1230 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1231 echo "configure:1232: checking for a BSD compatible install" >&5
1232 if test -z "$INSTALL"; then
1233 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1234 echo $ac_n "(cached) $ac_c" 1>&6
1236 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1237 for ac_dir in $PATH; do
1238 # Account for people who put trailing slashes in PATH elements.
1240 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1242 # OSF1 and SCO ODT 3.0 have their own names for install.
1243 # Don't use installbsd from OSF since it installs stuff as root
1245 for ac_prog in ginstall scoinst install; do
1246 if test -f $ac_dir/$ac_prog; then
1247 if test $ac_prog = install &&
1248 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1249 # AIX install. It has an incompatible calling convention.
1252 ac_cv_path_install="$ac_dir/$ac_prog -c"
1263 if test "${ac_cv_path_install+set}" = set; then
1264 INSTALL="$ac_cv_path_install"
1266 # As a last resort, use the slow shell script. We don't cache a
1267 # path for INSTALL within a source directory, because that will
1268 # break other packages using the cache if that directory is
1269 # removed, or if the path is relative.
1270 INSTALL="$ac_install_sh"
1273 echo "$ac_t""$INSTALL" 1>&6
1275 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1276 # It thinks the first close brace ends the variable substitution.
1277 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1279 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1281 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1284 # Check whether --enable-debug or --disable-debug was given.
1285 if test "${enable_debug+set}" = set; then
1286 enableval="$enable_debug"
1287 if test "$enableval" = "no"
1292 DUMPDEBUG="-DFDEBUG -DTDEBUG -DWRITEDEBUG -DDIRDEBUG"
1293 RESTOREDEBUG="-DDIRDEBUG"
1304 # Check whether --enable-static or --disable-static was given.
1305 if test "${enable_static+set}" = set; then
1306 enableval="$enable_static"
1307 if test "$enableval" = "no"
1316 echo "Linking dump and restore dynamically by default"
1322 # Check whether --enable-rmt or --disable-rmt was given.
1323 if test "${enable_rmt+set}" = set; then
1324 enableval="$enable_rmt"
1325 if test "$enableval" = "no"
1331 RMTMAKEFILE="rmt/Makefile"
1336 echo "Not compiling rmt by default"
1342 # Check whether --enable-kerberos or --disable-kerberos was given.
1343 if test "${enable_kerberos+set}" = set; then
1344 enableval="$enable_kerberos"
1345 if test "$enableval" = "yes"
1347 OPTDEFS="-DKERBEROS"
1354 echo "Not compiling kerberos extensions by default"
1360 # Check whether --enable-readline or --disable-readline was given.
1361 if test "${enable_readline+set}" = set; then
1362 enableval="$enable_readline"
1363 if test "$enableval" = "no"
1367 READLINE="-lreadline -ltermcap"
1368 cat >> confdefs.h <<\EOF
1369 #define HAVE_READLINE 1
1376 echo "Not including readline support by default"
1382 # Check whether --enable-oldstylefscript or --disable-oldstylefscript was given.
1383 if test "${enable_oldstylefscript+set}" = set; then
1384 enableval="$enable_oldstylefscript"
1385 if test "$enableval" = "yes"
1387 cat >> confdefs.h <<\EOF
1388 #define OLD_STYLE_FSCRIPT 1
1394 echo "Using new style F script"
1399 # Check whether --enable-largefile or --disable-largefile was given.
1400 if test "${enable_largefile+set}" = set; then
1401 enableval="$enable_largefile"
1402 if test "$enableval" = "yes"
1404 cat >> confdefs.h <<\EOF
1411 echo "Not enabling Large File System support"
1416 # Check whether --enable-qfa or --disable-qfa was given.
1417 if test "${enable_qfa+set}" = set; then
1418 enableval="$enable_qfa"
1419 if test "$enableval" = "yes"
1421 cat >> confdefs.h <<\EOF
1428 echo "Not enabling Quick File Access support"
1433 # Check whether --enable-qfadebug or --disable-qfadebug was given.
1434 if test "${enable_qfadebug+set}" = set; then
1435 enableval="$enable_qfadebug"
1436 if test "$enableval" = "yes"
1438 cat >> confdefs.h <<\EOF
1445 echo "Not including Quick File Access debugging code"
1450 # Check whether --with-cc or --without-cc was given.
1451 if test "${with_cc+set}" = set; then
1453 echo "$ac_t""CC=$withval" 1>&6
1456 if test -z "$CC" ; then CC=cc; fi
1457 echo "$ac_t""CC defaults to $CC" 1>&6
1462 # Check whether --with-linker or --without-linker was given.
1463 if test "${with_linker+set}" = set; then
1464 withval="$with_linker"
1465 echo "$ac_t""LD=$withval" 1>&6
1468 if test -z "$LD" ; then LD=$CC; fi
1469 echo "$ac_t""LD defaults to $LD" 1>&6
1474 # Check whether --with-ccopts or --without-ccopts was given.
1475 if test "${with_ccopts+set}" = set; then
1476 withval="$with_ccopts"
1477 echo "$ac_t""CCOPTS is $withval" 1>&6
1479 CFLAGS="$CFLAGS $withval"
1485 # Check whether --with-ldopts or --without-ldopts was given.
1486 if test "${with_ldopts+set}" = set; then
1487 withval="$with_ldopts"
1488 echo "$ac_t""LDFLAGS is $withval" 1>&6
1490 LDFLAGS="$LDFLAGS $withval"
1496 # Check whether --with-binowner or --without-binowner was given.
1497 if test "${with_binowner+set}" = set; then
1498 withval="$with_binowner"
1499 echo "$ac_t""BINOWNER is $withval" 1>&6
1503 echo "BINOWNER defaults to $BINOWNER"
1508 # Check whether --with-bingrp or --without-bingrp was given.
1509 if test "${with_bingrp+set}" = set; then
1510 withval="$with_bingrp"
1511 echo "$ac_t""BINGRP is $withval" 1>&6
1515 echo "BINGRP defaults to $BINGRP"
1520 # Check whether --with-binmode or --without-binmode was given.
1521 if test "${with_binmode+set}" = set; then
1522 withval="$with_binmode"
1523 echo "$ac_t""BINMODE is $withval" 1>&6
1527 echo "BINMODE defaults to $BINMODE"
1532 # Check whether --with-manowner or --without-manowner was given.
1533 if test "${with_manowner+set}" = set; then
1534 withval="$with_manowner"
1535 echo "$ac_t""MANOWNER is $withval" 1>&6
1539 echo "MANOWNER defaults to $MANOWNER"
1544 # Check whether --with-mangrp or --without-mangrp was given.
1545 if test "${with_mangrp+set}" = set; then
1546 withval="$with_mangrp"
1547 echo "$ac_t""MANGRP is $withval" 1>&6
1551 echo "MANGRP defaults to $MANGRP"
1556 # Check whether --with-manmode or --without-manmode was given.
1557 if test "${with_manmode+set}" = set; then
1558 withval="$with_manmode"
1559 echo "$ac_t""MANMODE is $withval" 1>&6
1563 echo "MANMODE defaults to $MANMODE"
1568 # Check whether --with-dumpdatespath or --without-dumpdatespath was given.
1569 if test "${with_dumpdatespath+set}" = set; then
1570 withval="$with_dumpdatespath"
1571 echo "$ac_t""DUMPDATESPATH is $withval" 1>&6
1572 DUMPDATESPATH=$withval
1574 DUMPDATESPATH="${sysconfdir}/dumpdates"
1575 echo "DUMPDATESPATH defaults to $DUMPDATESPATH"
1580 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1581 echo "configure:1582: checking how to run the C preprocessor" >&5
1582 # On Suns, sometimes $CPP names a directory.
1583 if test -n "$CPP" && test -d "$CPP"; then
1586 if test -z "$CPP"; then
1587 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1588 echo $ac_n "(cached) $ac_c" 1>&6
1590 # This must be in double quotes, not single quotes, because CPP may get
1591 # substituted into the Makefile and "${CC-cc}" will confuse make.
1593 # On the NeXT, cc -E runs the code through the compiler's parser,
1594 # not just through cpp.
1595 cat > conftest.$ac_ext <<EOF
1596 #line 1597 "configure"
1597 #include "confdefs.h"
1601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1602 { (eval echo configure:1603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1604 if test -z "$ac_err"; then
1608 echo "configure: failed program was:" >&5
1609 cat conftest.$ac_ext >&5
1611 CPP="${CC-cc} -E -traditional-cpp"
1612 cat > conftest.$ac_ext <<EOF
1613 #line 1614 "configure"
1614 #include "confdefs.h"
1618 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1619 { (eval echo configure:1620: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1620 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1621 if test -z "$ac_err"; then
1625 echo "configure: failed program was:" >&5
1626 cat conftest.$ac_ext >&5
1628 CPP="${CC-cc} -nologo -E"
1629 cat > conftest.$ac_ext <<EOF
1630 #line 1631 "configure"
1631 #include "confdefs.h"
1635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1636 { (eval echo configure:1637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1637 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1638 if test -z "$ac_err"; then
1642 echo "configure: failed program was:" >&5
1643 cat conftest.$ac_ext >&5
1652 ac_cv_prog_CPP="$CPP"
1654 CPP="$ac_cv_prog_CPP"
1656 ac_cv_prog_CPP="$CPP"
1658 echo "$ac_t""$CPP" 1>&6
1660 ac_safe=`echo "ext2fs/ext2fs.h" | sed 'y%./+-%__p_%'`
1661 echo $ac_n "checking for ext2fs/ext2fs.h""... $ac_c" 1>&6
1662 echo "configure:1663: checking for ext2fs/ext2fs.h" >&5
1663 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1664 echo $ac_n "(cached) $ac_c" 1>&6
1666 cat > conftest.$ac_ext <<EOF
1667 #line 1668 "configure"
1668 #include "confdefs.h"
1669 #include <ext2fs/ext2fs.h>
1671 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1672 { (eval echo configure:1673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1673 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1674 if test -z "$ac_err"; then
1676 eval "ac_cv_header_$ac_safe=yes"
1679 echo "configure: failed program was:" >&5
1680 cat conftest.$ac_ext >&5
1682 eval "ac_cv_header_$ac_safe=no"
1686 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1687 echo "$ac_t""yes" 1>&6
1690 echo "$ac_t""no" 1>&6
1694 echo $ac_n "checking for ext2fs_open in -lext2fs""... $ac_c" 1>&6
1695 echo "configure:1696: checking for ext2fs_open in -lext2fs" >&5
1696 ac_lib_var=`echo ext2fs'_'ext2fs_open | sed 'y%./+-%__p_%'`
1697 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1698 echo $ac_n "(cached) $ac_c" 1>&6
1700 ac_save_LIBS="$LIBS"
1701 LIBS="-lext2fs -lcom_err $LIBS"
1702 cat > conftest.$ac_ext <<EOF
1703 #line 1704 "configure"
1704 #include "confdefs.h"
1705 /* Override any gcc2 internal prototype to avoid an error. */
1706 /* We use char because int might match the return type of a gcc2
1707 builtin and then its argument prototype would still apply. */
1714 if { (eval echo configure:1715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1716 eval "ac_cv_lib_$ac_lib_var=yes"
1718 echo "configure: failed program was:" >&5
1719 cat conftest.$ac_ext >&5
1721 eval "ac_cv_lib_$ac_lib_var=no"
1724 LIBS="$ac_save_LIBS"
1727 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1728 echo "$ac_t""yes" 1>&6
1731 echo "$ac_t""no" 1>&6
1735 if test "$ext2fs_h" = no -o "$ext2fs_lib" = no; then
1736 { echo "configure: error: You need to install the Ext2fs libraries from the E2fsprogs distribution first - hint: make install-libs" 1>&2; exit 1; }
1739 for ac_hdr in ext2fs/ext2_fs.h
1741 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1742 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1743 echo "configure:1744: checking for $ac_hdr" >&5
1744 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1745 echo $ac_n "(cached) $ac_c" 1>&6
1747 cat > conftest.$ac_ext <<EOF
1748 #line 1749 "configure"
1749 #include "confdefs.h"
1752 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1753 { (eval echo configure:1754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1754 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1755 if test -z "$ac_err"; then
1757 eval "ac_cv_header_$ac_safe=yes"
1760 echo "configure: failed program was:" >&5
1761 cat conftest.$ac_ext >&5
1763 eval "ac_cv_header_$ac_safe=no"
1767 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1768 echo "$ac_t""yes" 1>&6
1769 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1770 cat >> confdefs.h <<EOF
1771 #define $ac_tr_hdr 1
1775 echo "$ac_t""no" 1>&6
1780 echo $ac_n "checking for ext2_ino_t type in libext2fs headers""... $ac_c" 1>&6
1781 echo "configure:1782: checking for ext2_ino_t type in libext2fs headers" >&5
1782 cat > conftest.$ac_ext <<EOF
1783 #line 1784 "configure"
1784 #include "confdefs.h"
1786 #ifdef HAVE_EXT2FS_EXT2_FS_H
1787 #include <ext2fs/ext2_fs.h>
1789 #include <linux/ext2_fs.h>
1791 #include <ext2fs/ext2fs.h>
1796 if { (eval echo configure:1797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1798 cat >> confdefs.h <<\EOF
1799 #define HAVE_EXT2_INO_T 1
1801 echo "$ac_t""yes" 1>&6
1803 echo "configure: failed program was:" >&5
1804 cat conftest.$ac_ext >&5
1806 echo "$ac_t""no" 1>&6
1810 echo $ac_n "checking for s_journal_inum field in ext2_super_block struct""... $ac_c" 1>&6
1811 echo "configure:1812: checking for s_journal_inum field in ext2_super_block struct" >&5
1812 cat > conftest.$ac_ext <<EOF
1813 #line 1814 "configure"
1814 #include "confdefs.h"
1816 #ifdef HAVE_EXT2FS_EXT2_FS_H
1817 #include <ext2fs/ext2_fs.h>
1819 #include <linux/ext2_fs.h>
1821 #include <ext2fs/ext2fs.h>
1823 struct ext2_super_block es; es.s_journal_inum = 0;
1826 if { (eval echo configure:1827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1828 cat >> confdefs.h <<\EOF
1829 #define HAVE_EXT2_JOURNAL_INUM 1
1831 echo "$ac_t""yes" 1>&6
1833 echo "configure: failed program was:" >&5
1834 cat conftest.$ac_ext >&5
1836 echo "$ac_t""no" 1>&6
1840 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
1841 echo "configure:1842: checking for tgetent in -ltermcap" >&5
1842 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
1843 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1844 echo $ac_n "(cached) $ac_c" 1>&6
1846 ac_save_LIBS="$LIBS"
1847 LIBS="-ltermcap $LIBS"
1848 cat > conftest.$ac_ext <<EOF
1849 #line 1850 "configure"
1850 #include "confdefs.h"
1851 /* Override any gcc2 internal prototype to avoid an error. */
1852 /* We use char because int might match the return type of a gcc2
1853 builtin and then its argument prototype would still apply. */
1860 if { (eval echo configure:1861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1862 eval "ac_cv_lib_$ac_lib_var=yes"
1864 echo "configure: failed program was:" >&5
1865 cat conftest.$ac_ext >&5
1867 eval "ac_cv_lib_$ac_lib_var=no"
1870 LIBS="$ac_save_LIBS"
1873 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1874 echo "$ac_t""yes" 1>&6
1877 echo "$ac_t""no" 1>&6
1881 if test "$termcap_lib" = no; then
1882 if test "$READLINE" = "-lreadline -ltermcap"; then
1883 { echo "configure: error: You need to install the GNU termcap library or configure without --enable-readline" 1>&2; exit 1; }
1887 ac_safe=`echo "readline/readline.h" | sed 'y%./+-%__p_%'`
1888 echo $ac_n "checking for readline/readline.h""... $ac_c" 1>&6
1889 echo "configure:1890: checking for readline/readline.h" >&5
1890 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1891 echo $ac_n "(cached) $ac_c" 1>&6
1893 cat > conftest.$ac_ext <<EOF
1894 #line 1895 "configure"
1895 #include "confdefs.h"
1896 #include <readline/readline.h>
1898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1899 { (eval echo configure:1900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1901 if test -z "$ac_err"; then
1903 eval "ac_cv_header_$ac_safe=yes"
1906 echo "configure: failed program was:" >&5
1907 cat conftest.$ac_ext >&5
1909 eval "ac_cv_header_$ac_safe=no"
1913 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1914 echo "$ac_t""yes" 1>&6
1917 echo "$ac_t""no" 1>&6
1921 echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
1922 echo "configure:1923: checking for readline in -lreadline" >&5
1923 ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'`
1924 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1925 echo $ac_n "(cached) $ac_c" 1>&6
1927 ac_save_LIBS="$LIBS"
1928 LIBS="-lreadline "-ltermcap" $LIBS"
1929 cat > conftest.$ac_ext <<EOF
1930 #line 1931 "configure"
1931 #include "confdefs.h"
1932 /* Override any gcc2 internal prototype to avoid an error. */
1933 /* We use char because int might match the return type of a gcc2
1934 builtin and then its argument prototype would still apply. */
1941 if { (eval echo configure:1942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1943 eval "ac_cv_lib_$ac_lib_var=yes"
1945 echo "configure: failed program was:" >&5
1946 cat conftest.$ac_ext >&5
1948 eval "ac_cv_lib_$ac_lib_var=no"
1951 LIBS="$ac_save_LIBS"
1954 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1955 echo "$ac_t""yes" 1>&6
1958 echo "$ac_t""no" 1>&6
1962 if test "$readline_h" = no -o "$readline_lib" = no; then
1963 if test "$READLINE" = "-lreadline -ltermcap"; then
1964 { echo "configure: error: You need to install the GNU readline library or configure without --enable-readline" 1>&2; exit 1; }
1968 ac_safe=`echo "zlib.h" | sed 'y%./+-%__p_%'`
1969 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
1970 echo "configure:1971: checking for zlib.h" >&5
1971 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1972 echo $ac_n "(cached) $ac_c" 1>&6
1974 cat > conftest.$ac_ext <<EOF
1975 #line 1976 "configure"
1976 #include "confdefs.h"
1979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1980 { (eval echo configure:1981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1981 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1982 if test -z "$ac_err"; then
1984 eval "ac_cv_header_$ac_safe=yes"
1987 echo "configure: failed program was:" >&5
1988 cat conftest.$ac_ext >&5
1990 eval "ac_cv_header_$ac_safe=no"
1994 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1995 echo "$ac_t""yes" 1>&6
1998 echo "$ac_t""no" 1>&6
2002 echo $ac_n "checking for compress2 in -lz""... $ac_c" 1>&6
2003 echo "configure:2004: checking for compress2 in -lz" >&5
2004 ac_lib_var=`echo z'_'compress2 | sed 'y%./+-%__p_%'`
2005 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2006 echo $ac_n "(cached) $ac_c" 1>&6
2008 ac_save_LIBS="$LIBS"
2010 cat > conftest.$ac_ext <<EOF
2011 #line 2012 "configure"
2012 #include "confdefs.h"
2013 /* Override any gcc2 internal prototype to avoid an error. */
2014 /* We use char because int might match the return type of a gcc2
2015 builtin and then its argument prototype would still apply. */
2022 if { (eval echo configure:2023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2024 eval "ac_cv_lib_$ac_lib_var=yes"
2026 echo "configure: failed program was:" >&5
2027 cat conftest.$ac_ext >&5
2029 eval "ac_cv_lib_$ac_lib_var=no"
2032 LIBS="$ac_save_LIBS"
2035 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2036 echo "$ac_t""yes" 1>&6
2039 echo "$ac_t""no" 1>&6
2043 if test "$zlib_h" = yes -a "$zlib_lib" = yes; then
2045 cat >> confdefs.h <<\EOF
2054 ac_safe=`echo "bzlib.h" | sed 'y%./+-%__p_%'`
2055 echo $ac_n "checking for bzlib.h""... $ac_c" 1>&6
2056 echo "configure:2057: checking for bzlib.h" >&5
2057 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2058 echo $ac_n "(cached) $ac_c" 1>&6
2060 cat > conftest.$ac_ext <<EOF
2061 #line 2062 "configure"
2062 #include "confdefs.h"
2065 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2066 { (eval echo configure:2067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2067 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2068 if test -z "$ac_err"; then
2070 eval "ac_cv_header_$ac_safe=yes"
2073 echo "configure: failed program was:" >&5
2074 cat conftest.$ac_ext >&5
2076 eval "ac_cv_header_$ac_safe=no"
2080 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2081 echo "$ac_t""yes" 1>&6
2084 echo "$ac_t""no" 1>&6
2088 echo $ac_n "checking for BZ2_bzBuffToBuffCompress in -lbz2""... $ac_c" 1>&6
2089 echo "configure:2090: checking for BZ2_bzBuffToBuffCompress in -lbz2" >&5
2090 ac_lib_var=`echo bz2'_'BZ2_bzBuffToBuffCompress | sed 'y%./+-%__p_%'`
2091 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2092 echo $ac_n "(cached) $ac_c" 1>&6
2094 ac_save_LIBS="$LIBS"
2096 cat > conftest.$ac_ext <<EOF
2097 #line 2098 "configure"
2098 #include "confdefs.h"
2099 /* Override any gcc2 internal prototype to avoid an error. */
2100 /* We use char because int might match the return type of a gcc2
2101 builtin and then its argument prototype would still apply. */
2102 char BZ2_bzBuffToBuffCompress();
2105 BZ2_bzBuffToBuffCompress()
2108 if { (eval echo configure:2109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2110 eval "ac_cv_lib_$ac_lib_var=yes"
2112 echo "configure: failed program was:" >&5
2113 cat conftest.$ac_ext >&5
2115 eval "ac_cv_lib_$ac_lib_var=no"
2118 LIBS="$ac_save_LIBS"
2121 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2122 echo "$ac_t""yes" 1>&6
2125 echo "$ac_t""no" 1>&6
2129 if test "$bzlib_h" = yes -a "$bzlib_lib" = yes; then
2131 cat >> confdefs.h <<\EOF
2132 #define HAVE_BZLIB 1
2140 for ac_func in err errx verr verrx vwarn vwarnx warn warnx realpath lchown
2142 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2143 echo "configure:2144: checking for $ac_func" >&5
2144 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2145 echo $ac_n "(cached) $ac_c" 1>&6
2147 cat > conftest.$ac_ext <<EOF
2148 #line 2149 "configure"
2149 #include "confdefs.h"
2150 /* System header to define __stub macros and hopefully few prototypes,
2151 which can conflict with char $ac_func(); below. */
2153 /* Override any gcc2 internal prototype to avoid an error. */
2154 /* We use char because int might match the return type of a gcc2
2155 builtin and then its argument prototype would still apply. */
2160 /* The GNU C library defines this for functions which it implements
2161 to always fail with ENOSYS. Some functions are actually named
2162 something starting with __ and the normal name is an alias. */
2163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2171 if { (eval echo configure:2172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2173 eval "ac_cv_func_$ac_func=yes"
2175 echo "configure: failed program was:" >&5
2176 cat conftest.$ac_ext >&5
2178 eval "ac_cv_func_$ac_func=no"
2183 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2184 echo "$ac_t""yes" 1>&6
2185 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2186 cat >> confdefs.h <<EOF
2187 #define $ac_tr_func 1
2191 echo "$ac_t""no" 1>&6
2195 echo $ac_n "checking for glob""... $ac_c" 1>&6
2196 echo "configure:2197: checking for glob" >&5
2197 if eval "test \"`echo '$''{'ac_cv_func_glob'+set}'`\" = set"; then
2198 echo $ac_n "(cached) $ac_c" 1>&6
2200 cat > conftest.$ac_ext <<EOF
2201 #line 2202 "configure"
2202 #include "confdefs.h"
2203 /* System header to define __stub macros and hopefully few prototypes,
2204 which can conflict with char glob(); below. */
2206 /* Override any gcc2 internal prototype to avoid an error. */
2207 /* We use char because int might match the return type of a gcc2
2208 builtin and then its argument prototype would still apply. */
2213 /* The GNU C library defines this for functions which it implements
2214 to always fail with ENOSYS. Some functions are actually named
2215 something starting with __ and the normal name is an alias. */
2216 #if defined (__stub_glob) || defined (__stub___glob)
2224 if { (eval echo configure:2225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2226 eval "ac_cv_func_glob=yes"
2228 echo "configure: failed program was:" >&5
2229 cat conftest.$ac_ext >&5
2231 eval "ac_cv_func_glob=no"
2236 if eval "test \"`echo '$ac_cv_func_'glob`\" = yes"; then
2237 echo "$ac_t""yes" 1>&6
2240 echo "$ac_t""no" 1>&6
2244 echo $ac_n "checking for extended glob routines""... $ac_c" 1>&6
2245 echo "configure:2246: checking for extended glob routines" >&5
2246 if test "$ac_cv_func_glob" = "yes"; then
2247 cat > conftest.$ac_ext <<EOF
2248 #line 2249 "configure"
2249 #include "confdefs.h"
2252 # ifdef GLOB_ALTDIRFUNC
2257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2258 egrep "yes" >/dev/null 2>&1; then
2261 cat >> confdefs.h <<\EOF
2265 echo "$ac_t""yes" 1>&6
2270 echo "$ac_t""no" 1>&6
2271 echo "Your system does not support extended glob, will use the internal routines"
2278 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2279 echo "configure:2280: checking for ANSI C header files" >&5
2280 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2281 echo $ac_n "(cached) $ac_c" 1>&6
2283 cat > conftest.$ac_ext <<EOF
2284 #line 2285 "configure"
2285 #include "confdefs.h"
2291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2292 { (eval echo configure:2293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2293 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2294 if test -z "$ac_err"; then
2296 ac_cv_header_stdc=yes
2299 echo "configure: failed program was:" >&5
2300 cat conftest.$ac_ext >&5
2302 ac_cv_header_stdc=no
2306 if test $ac_cv_header_stdc = yes; then
2307 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2308 cat > conftest.$ac_ext <<EOF
2309 #line 2310 "configure"
2310 #include "confdefs.h"
2313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2314 egrep "memchr" >/dev/null 2>&1; then
2318 ac_cv_header_stdc=no
2324 if test $ac_cv_header_stdc = yes; then
2325 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2326 cat > conftest.$ac_ext <<EOF
2327 #line 2328 "configure"
2328 #include "confdefs.h"
2331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2332 egrep "free" >/dev/null 2>&1; then
2336 ac_cv_header_stdc=no
2342 if test $ac_cv_header_stdc = yes; then
2343 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2344 if test "$cross_compiling" = yes; then
2347 cat > conftest.$ac_ext <<EOF
2348 #line 2349 "configure"
2349 #include "confdefs.h"
2351 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2352 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2353 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2354 int main () { int i; for (i = 0; i < 256; i++)
2355 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2359 if { (eval echo configure:2360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2363 echo "configure: failed program was:" >&5
2364 cat conftest.$ac_ext >&5
2366 ac_cv_header_stdc=no
2374 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2375 if test $ac_cv_header_stdc = yes; then
2376 cat >> confdefs.h <<\EOF
2377 #define STDC_HEADERS 1
2382 echo $ac_n "checking for quad_t""... $ac_c" 1>&6
2383 echo "configure:2384: checking for quad_t" >&5
2384 if eval "test \"`echo '$''{'ac_cv_type_quad_t'+set}'`\" = set"; then
2385 echo $ac_n "(cached) $ac_c" 1>&6
2387 cat > conftest.$ac_ext <<EOF
2388 #line 2389 "configure"
2389 #include "confdefs.h"
2390 #include <sys/types.h>
2396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2397 egrep "(^|[^a-zA-Z_0-9])quad_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
2399 ac_cv_type_quad_t=yes
2402 ac_cv_type_quad_t=no
2407 echo "$ac_t""$ac_cv_type_quad_t" 1>&6
2408 if test $ac_cv_type_quad_t = no; then
2409 cat >> confdefs.h <<\EOF
2410 #define quad_t __s64
2415 echo $ac_n "checking for u_quad_t""... $ac_c" 1>&6
2416 echo "configure:2417: checking for u_quad_t" >&5
2417 if eval "test \"`echo '$''{'ac_cv_type_u_quad_t'+set}'`\" = set"; then
2418 echo $ac_n "(cached) $ac_c" 1>&6
2420 cat > conftest.$ac_ext <<EOF
2421 #line 2422 "configure"
2422 #include "confdefs.h"
2423 #include <sys/types.h>
2429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2430 egrep "(^|[^a-zA-Z_0-9])u_quad_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
2432 ac_cv_type_u_quad_t=yes
2435 ac_cv_type_u_quad_t=no
2440 echo "$ac_t""$ac_cv_type_u_quad_t" 1>&6
2441 if test $ac_cv_type_u_quad_t = no; then
2442 cat >> confdefs.h <<\EOF
2443 #define u_quad_t __u64
2449 top_builddir=`cd .; pwd`
2452 test -d compat || mkdir compat
2453 test -d compat/lib || mkdir compat/lib
2456 cat > confcache <<\EOF
2457 # This file is a shell script that caches the results of configure
2458 # tests run on this system so they can be shared between configure
2459 # scripts and configure runs. It is not useful on other systems.
2460 # If it contains results you don't want to keep, you may remove or edit it.
2462 # By default, configure uses ./config.cache as the cache file,
2463 # creating it if it does not exist already. You can give configure
2464 # the --cache-file=FILE option to use a different cache file; that is
2465 # what configure does when it calls configure scripts in
2466 # subdirectories, so they share the cache.
2467 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2468 # config.status only pays attention to the cache file if you give it the
2469 # --recheck option to rerun configure.
2472 # The following way of writing the cache mishandles newlines in values,
2473 # but we know of no workaround that is simple, portable, and efficient.
2474 # So, don't put newlines in cache variables' values.
2475 # Ultrix sh set writes to stderr and can't be redirected directly,
2476 # and sets the high bit in the cache file unless we assign to the vars.
2478 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2480 # `set' does not quote correctly, so add quotes (double-quote substitution
2481 # turns \\\\ into \\, and sed turns \\ into \).
2483 -e "s/'/'\\\\''/g" \
2484 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2487 # `set' quotes correctly as required by POSIX, so do not add quotes.
2488 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2491 if cmp -s $cache_file confcache; then
2494 if test -w $cache_file; then
2495 echo "updating cache $cache_file"
2496 cat confcache > $cache_file
2498 echo "not updating unwritable cache $cache_file"
2503 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2505 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2506 # Let make expand exec_prefix.
2507 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2509 # Any assignment to VPATH causes Sun make to only execute
2510 # the first set of double-colon rules, so remove it if not needed.
2511 # If there is a colon in the path, we need to keep it.
2512 if test "x$srcdir" = x.; then
2513 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
2516 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2518 DEFS=-DHAVE_CONFIG_H
2520 # Without the "./", some shells look in PATH for config.status.
2521 : ${CONFIG_STATUS=./config.status}
2523 echo creating $CONFIG_STATUS
2524 rm -f $CONFIG_STATUS
2525 cat > $CONFIG_STATUS <<EOF
2527 # Generated automatically by configure.
2528 # Run this file to recreate the current configuration.
2529 # This directory was configured as follows,
2530 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2532 # $0 $ac_configure_args
2534 # Compiler output produced by configure, useful for debugging
2535 # configure, is in ./config.log if it exists.
2537 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2540 case "\$ac_option" in
2541 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2542 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2543 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2544 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2545 echo "$CONFIG_STATUS generated by autoconf version 2.13"
2547 -help | --help | --hel | --he | --h)
2548 echo "\$ac_cs_usage"; exit 0 ;;
2549 *) echo "\$ac_cs_usage"; exit 1 ;;
2553 ac_given_srcdir=$srcdir
2554 ac_given_INSTALL="$INSTALL"
2556 trap 'rm -fr `echo "MCONFIG Makefile common/Makefile compat/include/Makefile compat/lib/Makefile dump/Makefile restore/Makefile $RMTMAKEFILE config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2558 cat >> $CONFIG_STATUS <<EOF
2560 # Protect against being on the right side of a sed subst in config.status.
2561 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2562 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2566 s%@CFLAGS@%$CFLAGS%g
2567 s%@CPPFLAGS@%$CPPFLAGS%g
2568 s%@CXXFLAGS@%$CXXFLAGS%g
2569 s%@FFLAGS@%$FFLAGS%g
2571 s%@LDFLAGS@%$LDFLAGS%g
2573 s%@exec_prefix@%$exec_prefix%g
2574 s%@prefix@%$prefix%g
2575 s%@program_transform_name@%$program_transform_name%g
2576 s%@bindir@%$bindir%g
2577 s%@sbindir@%$sbindir%g
2578 s%@libexecdir@%$libexecdir%g
2579 s%@datadir@%$datadir%g
2580 s%@sysconfdir@%$sysconfdir%g
2581 s%@sharedstatedir@%$sharedstatedir%g
2582 s%@localstatedir@%$localstatedir%g
2583 s%@libdir@%$libdir%g
2584 s%@includedir@%$includedir%g
2585 s%@oldincludedir@%$oldincludedir%g
2586 s%@infodir@%$infodir%g
2587 s%@mandir@%$mandir%g
2588 /@MCONFIG@/r $MCONFIG
2590 s%@SET_MAKE@%$SET_MAKE%g
2596 s%@host_alias@%$host_alias%g
2597 s%@host_cpu@%$host_cpu%g
2598 s%@host_vendor@%$host_vendor%g
2599 s%@host_os@%$host_os%g
2601 s%@build_alias@%$build_alias%g
2602 s%@build_cpu@%$build_cpu%g
2603 s%@build_vendor@%$build_vendor%g
2604 s%@build_os@%$build_os%g
2606 s%@RANLIB@%$RANLIB%g
2609 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2610 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2611 s%@INSTALL_DATA@%$INSTALL_DATA%g
2612 s%@DUMPDEBUG@%$DUMPDEBUG%g
2613 s%@RESTOREDEBUG@%$RESTOREDEBUG%g
2614 s%@STATIC@%$STATIC%g
2615 s%@RMTDIR@%$RMTDIR%g
2616 s%@OPTDEFS@%$OPTDEFS%g
2617 s%@READLINE@%$READLINE%g
2619 s%@CCOPTS@%$CCOPTS%g
2620 s%@LDOPTS@%$LDOPTS%g
2621 s%@BINOWNER@%$BINOWNER%g
2622 s%@BINGRP@%$BINGRP%g
2623 s%@BINMODE@%$BINMODE%g
2624 s%@MANOWNER@%$MANOWNER%g
2625 s%@MANGRP@%$MANGRP%g
2626 s%@MANMODE@%$MANMODE%g
2627 s%@DUMPDATESPATH@%$DUMPDATESPATH%g
2631 s%@top_builddir@%$top_builddir%g
2636 cat >> $CONFIG_STATUS <<\EOF
2638 # Split the substitutions into bite-sized pieces for seds with
2639 # small command number limits, like on Digital OSF/1 and HP-UX.
2640 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2641 ac_file=1 # Number of current file.
2642 ac_beg=1 # First line for current file.
2643 ac_end=$ac_max_sed_cmds # Line after last line for current file.
2646 while $ac_more_lines; do
2647 if test $ac_beg -gt 1; then
2648 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2650 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2652 if test ! -s conftest.s$ac_file; then
2654 rm -f conftest.s$ac_file
2656 if test -z "$ac_sed_cmds"; then
2657 ac_sed_cmds="sed -f conftest.s$ac_file"
2659 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2661 ac_file=`expr $ac_file + 1`
2663 ac_end=`expr $ac_end + $ac_max_sed_cmds`
2666 if test -z "$ac_sed_cmds"; then
2671 cat >> $CONFIG_STATUS <<EOF
2673 CONFIG_FILES=\${CONFIG_FILES-"MCONFIG Makefile common/Makefile compat/include/Makefile compat/lib/Makefile dump/Makefile restore/Makefile $RMTMAKEFILE"}
2675 cat >> $CONFIG_STATUS <<\EOF
2676 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2677 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2679 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2680 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2681 *) ac_file_in="${ac_file}.in" ;;
2684 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2686 # Remove last slash and all that follows it. Not all systems have dirname.
2687 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2688 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2689 # The file is in a subdirectory.
2690 test ! -d "$ac_dir" && mkdir "$ac_dir"
2691 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2692 # A "../" for each directory in $ac_dir_suffix.
2693 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2695 ac_dir_suffix= ac_dots=
2698 case "$ac_given_srcdir" in
2700 if test -z "$ac_dots"; then top_srcdir=.
2701 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2702 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2704 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2705 top_srcdir="$ac_dots$ac_given_srcdir" ;;
2708 case "$ac_given_INSTALL" in
2709 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2710 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2713 echo creating "$ac_file"
2715 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2717 *Makefile*) ac_comsub="1i\\
2718 # $configure_input" ;;
2722 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2724 s%@configure_input@%$configure_input%g
2725 s%@srcdir@%$srcdir%g
2726 s%@top_srcdir@%$top_srcdir%g
2727 s%@INSTALL@%$INSTALL%g
2728 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2732 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2733 # NAME is the cpp macro being defined and VALUE is the value it is being given.
2735 # ac_d sets the value in "#define NAME VALUE" lines.
2736 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2737 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
2740 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2741 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2742 ac_uB='\([ ]\)%\1#\2define\3'
2745 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2746 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2747 ac_eB='$%\1#\2define\3'
2751 if test "${CONFIG_HEADERS+set}" != set; then
2753 cat >> $CONFIG_STATUS <<EOF
2754 CONFIG_HEADERS="config.h"
2756 cat >> $CONFIG_STATUS <<\EOF
2758 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
2759 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2761 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2762 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2763 *) ac_file_in="${ac_file}.in" ;;
2766 echo creating $ac_file
2768 rm -f conftest.frag conftest.in conftest.out
2769 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2770 cat $ac_file_inputs > conftest.in
2774 # Transform confdefs.h into a sed script conftest.vals that substitutes
2775 # the proper values into config.h.in to produce config.h. And first:
2776 # Protect against being on the right side of a sed subst in config.status.
2777 # Protect against being in an unquoted here document in config.status.
2779 cat > conftest.hdr <<\EOF
2782 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2786 sed -n -f conftest.hdr confdefs.h > conftest.vals
2789 # This sed command replaces #undef with comments. This is necessary, for
2790 # example, in the case of _POSIX_SOURCE, which is predefined and required
2791 # on some systems where configure will not decide to define it.
2792 cat >> conftest.vals <<\EOF
2793 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2796 # Break up conftest.vals because some shells have a limit on
2797 # the size of here documents, and old seds have small limits too.
2802 ac_lines=`grep -c . conftest.vals`
2803 # grep -c gives empty output for an empty file on some AIX systems.
2804 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2805 # Write a limited-size here document to conftest.frag.
2806 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2807 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2809 sed -f conftest.frag conftest.in > conftest.out
2811 mv conftest.out conftest.in
2813 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2815 mv conftest.tail conftest.vals
2819 cat >> $CONFIG_STATUS <<\EOF
2820 rm -f conftest.frag conftest.h
2821 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2822 cat conftest.in >> conftest.h
2824 if cmp -s $ac_file conftest.h 2>/dev/null; then
2825 echo "$ac_file is unchanged"
2828 # Remove last slash and all that follows it. Not all systems have dirname.
2829 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2830 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2831 # The file is in a subdirectory.
2832 test ! -d "$ac_dir" && mkdir "$ac_dir"
2835 mv conftest.h $ac_file
2840 cat >> $CONFIG_STATUS <<EOF
2843 cat >> $CONFIG_STATUS <<\EOF
2847 chmod +x $CONFIG_STATUS
2848 rm -fr confdefs* $ac_clean_files
2849 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1