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 --with-cc=COMPILER select compiler to use"
29 --with-linker=LINKER select linker to use"
31 --with-ccopts=CCOPTS select compiler command line options"
33 --with-ldopts=LDOPTS select linker command line options"
35 --with-binowner=USER select owner for binaries"
37 --with-bingrp=GROUP select group for binaries"
39 --with-binmode=MODE select mode for binaries"
41 --with-manowner=USER select owner for manual pages"
43 --with-mangrp=GROUP select group for manual pages"
45 --with-manmode=MODE select mode for manual pages"
47 --with-dumpdatespath=PATH select path for dumpdates file"
49 # Initialize some variables set by options.
50 # The variables have the same names as the options, with
51 # dashes changed to underlines.
53 cache_file
=.
/config.cache
62 program_transform_name
=s
,x
,x
,
70 bindir
='${exec_prefix}/bin'
71 sbindir
='${exec_prefix}/sbin'
72 libexecdir
='${exec_prefix}/libexec'
73 datadir
='${prefix}/share'
74 sysconfdir
='${prefix}/etc'
75 sharedstatedir
='${prefix}/com'
76 localstatedir
='${prefix}/var'
77 libdir
='${exec_prefix}/lib'
78 includedir
='${prefix}/include'
79 oldincludedir
='/usr/include'
80 infodir
='${prefix}/info'
81 mandir
='${prefix}/man'
83 # Initialize some other variables.
86 SHELL
=${CONFIG_SHELL-/bin/sh}
87 # Maximum number of lines to put in a shell here document.
94 # If the previous option needs an argument, assign it.
95 if test -n "$ac_prev"; then
96 eval "$ac_prev=\$ac_option"
102 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
106 # Accept the important Cygnus configure options, so we can diagnose typos.
110 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
112 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
113 bindir
="$ac_optarg" ;;
115 -build |
--build |
--buil |
--bui |
--bu)
117 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
118 build
="$ac_optarg" ;;
120 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
121 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
122 ac_prev
=cache_file
;;
123 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
124 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
125 cache_file
="$ac_optarg" ;;
127 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
129 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
131 datadir
="$ac_optarg" ;;
133 -disable-* |
--disable-*)
134 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
135 # Reject names that are not valid shell variable names.
136 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
137 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
139 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
140 eval "enable_${ac_feature}=no" ;;
142 -enable-* |
--enable-*)
143 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
144 # Reject names that are not valid shell variable names.
145 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
146 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
148 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
153 eval "enable_${ac_feature}='$ac_optarg'" ;;
155 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
156 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
157 |
--exec |
--exe |
--ex)
158 ac_prev
=exec_prefix
;;
159 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
160 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
161 |
--exec=* |
--exe=* |
--ex=*)
162 exec_prefix
="$ac_optarg" ;;
164 -gas |
--gas |
--ga |
--g)
165 # Obsolete; use --with-gas.
168 -help |
--help |
--hel |
--he)
169 # Omit some internal or obsolete options to make the list less imposing.
170 # This message is too long to be a string in the A/UX 3.1 sh.
172 Usage: configure [options] [host]
173 Options: [defaults in brackets after descriptions]
175 --cache-file=FILE cache test results in FILE
176 --help print this message
177 --no-create do not create output files
178 --quiet, --silent do not print \`checking...' messages
179 --version print the version of autoconf that created configure
180 Directory and file names:
181 --prefix=PREFIX install architecture-independent files in PREFIX
183 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
185 --bindir=DIR user executables in DIR [EPREFIX/bin]
186 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
187 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
188 --datadir=DIR read-only architecture-independent data in DIR
190 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
191 --sharedstatedir=DIR modifiable architecture-independent data in DIR
193 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
194 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
195 --includedir=DIR C header files in DIR [PREFIX/include]
196 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
197 --infodir=DIR info documentation in DIR [PREFIX/info]
198 --mandir=DIR man documentation in DIR [PREFIX/man]
199 --srcdir=DIR find the sources in DIR [configure dir or ..]
200 --program-prefix=PREFIX prepend PREFIX to installed program names
201 --program-suffix=SUFFIX append SUFFIX to installed program names
202 --program-transform-name=PROGRAM
203 run sed PROGRAM on installed program names
207 --build=BUILD configure for building on BUILD [BUILD=HOST]
208 --host=HOST configure for HOST [guessed]
209 --target=TARGET configure for TARGET [TARGET=HOST]
210 Features and packages:
211 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
212 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
213 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
214 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
215 --x-includes=DIR X include files are in DIR
216 --x-libraries=DIR X library files are in DIR
218 if test -n "$ac_help"; then
219 echo "--enable and --with options recognized:$ac_help"
223 -host |
--host |
--hos |
--ho)
225 -host=* |
--host=* |
--hos=* |
--ho=*)
228 -includedir |
--includedir |
--includedi |
--included |
--include \
229 |
--includ |
--inclu |
--incl |
--inc)
230 ac_prev
=includedir
;;
231 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
232 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
233 includedir
="$ac_optarg" ;;
235 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
237 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
238 infodir
="$ac_optarg" ;;
240 -libdir |
--libdir |
--libdi |
--libd)
242 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
243 libdir
="$ac_optarg" ;;
245 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
246 |
--libexe |
--libex |
--libe)
247 ac_prev
=libexecdir
;;
248 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
249 |
--libexe=* |
--libex=* |
--libe=*)
250 libexecdir
="$ac_optarg" ;;
252 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
253 |
--localstate |
--localstat |
--localsta |
--localst \
254 |
--locals |
--local |
--loca |
--loc |
--lo)
255 ac_prev
=localstatedir
;;
256 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
257 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
258 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
259 localstatedir
="$ac_optarg" ;;
261 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
263 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
264 mandir
="$ac_optarg" ;;
267 # Obsolete; use --without-fp.
270 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
274 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
275 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
278 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
279 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
280 |
--oldin |
--oldi |
--old |
--ol |
--o)
281 ac_prev
=oldincludedir
;;
282 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
283 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
284 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
285 oldincludedir
="$ac_optarg" ;;
287 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
289 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
290 prefix
="$ac_optarg" ;;
292 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
293 |
--program-pre |
--program-pr |
--program-p)
294 ac_prev
=program_prefix
;;
295 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
296 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
297 program_prefix
="$ac_optarg" ;;
299 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
300 |
--program-suf |
--program-su |
--program-s)
301 ac_prev
=program_suffix
;;
302 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
303 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
304 program_suffix
="$ac_optarg" ;;
306 -program-transform-name |
--program-transform-name \
307 |
--program-transform-nam |
--program-transform-na \
308 |
--program-transform-n |
--program-transform- \
309 |
--program-transform |
--program-transfor \
310 |
--program-transfo |
--program-transf \
311 |
--program-trans |
--program-tran \
312 |
--progr-tra |
--program-tr |
--program-t)
313 ac_prev
=program_transform_name
;;
314 -program-transform-name=* |
--program-transform-name=* \
315 |
--program-transform-nam=* |
--program-transform-na=* \
316 |
--program-transform-n=* |
--program-transform-=* \
317 |
--program-transform=* |
--program-transfor=* \
318 |
--program-transfo=* |
--program-transf=* \
319 |
--program-trans=* |
--program-tran=* \
320 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
321 program_transform_name
="$ac_optarg" ;;
323 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
324 |
-silent |
--silent |
--silen |
--sile |
--sil)
327 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
329 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
331 sbindir
="$ac_optarg" ;;
333 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
334 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
335 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
337 ac_prev
=sharedstatedir
;;
338 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
339 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
340 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
342 sharedstatedir
="$ac_optarg" ;;
344 -site |
--site |
--sit)
346 -site=* |
--site=* |
--sit=*)
349 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
351 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
352 srcdir
="$ac_optarg" ;;
354 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
355 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
356 ac_prev
=sysconfdir
;;
357 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
358 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
359 sysconfdir
="$ac_optarg" ;;
361 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
363 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
364 target
="$ac_optarg" ;;
366 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
369 -version |
--version |
--versio |
--versi |
--vers)
370 echo "configure generated by autoconf version 2.13"
374 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
375 # Reject names that are not valid shell variable names.
376 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
377 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
379 ac_package
=`echo $ac_package| sed 's/-/_/g'`
384 eval "with_${ac_package}='$ac_optarg'" ;;
386 -without-* |
--without-*)
387 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
388 # Reject names that are not valid shell variable names.
389 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
390 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
392 ac_package
=`echo $ac_package| sed 's/-/_/g'`
393 eval "with_${ac_package}=no" ;;
396 # Obsolete; use --with-x.
399 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
400 |
--x-incl |
--x-inc |
--x-in |
--x-i)
401 ac_prev
=x_includes
;;
402 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
403 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
404 x_includes
="$ac_optarg" ;;
406 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
407 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
408 ac_prev
=x_libraries
;;
409 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
410 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
411 x_libraries
="$ac_optarg" ;;
413 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
417 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
418 echo "configure: warning: $ac_option: invalid host type" 1>&2
420 if test "x$nonopt" != xNONE
; then
421 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
429 if test -n "$ac_prev"; then
430 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
433 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
435 # File descriptor usage:
438 # 2 errors and warnings
439 # 3 some systems may open it to /dev/tty
440 # 4 used on the Kubota Titan
441 # 6 checking for... messages and results
442 # 5 compiler messages saved in config.log
443 if test "$silent" = yes; then
451 This file contains any messages produced by compilers while
452 running configure, to aid debugging if configure makes a mistake.
455 # Strip out --no-create and --no-recursion so they do not pile up.
456 # Also quote any args containing shell metacharacters.
461 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
462 |
--no-cr |
--no-c) ;;
463 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
464 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
465 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
466 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
467 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
472 # Only set these to C if already set. These must not be set unconditionally
473 # because not all systems understand e.g. LANG=C (notably SCO).
474 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
475 # Non-C LC_CTYPE values break the ctype check.
476 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
477 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
478 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
479 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
481 # confdefs.h avoids OS command line length limits that DEFS can exceed.
482 rm -rf conftest
* confdefs.h
483 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
486 # A filename unique to this package, relative to the directory that
487 # configure is in, which we can look for to find out if srcdir is correct.
488 ac_unique_file
=dump
/dump.h
490 # Find the source files, if location was not specified.
491 if test -z "$srcdir"; then
492 ac_srcdir_defaulted
=yes
493 # Try the directory containing this script, then its parent.
495 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
496 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
498 if test ! -r $srcdir/$ac_unique_file; then
502 ac_srcdir_defaulted
=no
504 if test ! -r $srcdir/$ac_unique_file; then
505 if test "$ac_srcdir_defaulted" = yes; then
506 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
508 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
511 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
513 # Prefer explicitly selected file to automatically selected ones.
514 if test -z "$CONFIG_SITE"; then
515 if test "x$prefix" != xNONE
; then
516 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
518 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
521 for ac_site_file
in $CONFIG_SITE; do
522 if test -r "$ac_site_file"; then
523 echo "loading site script $ac_site_file"
528 if test -r "$cache_file"; then
529 echo "loading cache $cache_file"
532 echo "creating cache $cache_file"
537 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
538 ac_cpp
='$CPP $CPPFLAGS'
539 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
540 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
541 cross_compiling
=$ac_cv_prog_cc_cross
545 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
546 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
547 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
554 ac_n
= ac_c
='\c' ac_t
=
564 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
565 echo "configure:566: checking whether ${MAKE-make} sets \${MAKE}" >&5
566 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
567 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
568 echo $ac_n "(cached) $ac_c" 1>&6
570 cat > conftestmake
<<\EOF
572 @
echo 'ac_maketemp="${MAKE}"'
574 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
575 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
576 if test -n "$ac_maketemp"; then
577 eval ac_cv_prog_make_
${ac_make}_set
=yes
579 eval ac_cv_prog_make_
${ac_make}_set
=no
583 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
584 echo "$ac_t""yes" 1>&6
587 echo "$ac_t""no" 1>&6
588 SET_MAKE
="MAKE=${MAKE-make}"
591 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
592 echo "configure:593: checking whether ln -s works" >&5
593 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
594 echo $ac_n "(cached) $ac_c" 1>&6
597 if ln -s X conftestdata
2>/dev
/null
600 ac_cv_prog_LN_S
="ln -s"
605 LN_S
="$ac_cv_prog_LN_S"
606 if test "$ac_cv_prog_LN_S" = "ln -s"; then
607 echo "$ac_t""yes" 1>&6
609 echo "$ac_t""no" 1>&6
612 # Extract the first word of "cp", so it can be a program name with args.
613 set dummy
cp; ac_word
=$2
614 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
615 echo "configure:616: checking for $ac_word" >&5
616 if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then
617 echo $ac_n "(cached) $ac_c" 1>&6
621 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
624 ac_cv_path_CP
="$CP" # Let the user override the test with a dos path.
627 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
629 for ac_dir
in $ac_dummy; do
630 test -z "$ac_dir" && ac_dir
=.
631 if test -f $ac_dir/$ac_word; then
632 ac_cv_path_CP
="$ac_dir/$ac_word"
637 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
642 if test -n "$CP"; then
643 echo "$ac_t""$CP" 1>&6
645 echo "$ac_t""no" 1>&6
648 # Extract the first word of "mv", so it can be a program name with args.
649 set dummy
mv; ac_word
=$2
650 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
651 echo "configure:652: checking for $ac_word" >&5
652 if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then
653 echo $ac_n "(cached) $ac_c" 1>&6
657 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
660 ac_cv_path_MV
="$MV" # Let the user override the test with a dos path.
663 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
665 for ac_dir
in $ac_dummy; do
666 test -z "$ac_dir" && ac_dir
=.
667 if test -f $ac_dir/$ac_word; then
668 ac_cv_path_MV
="$ac_dir/$ac_word"
673 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
678 if test -n "$MV"; then
679 echo "$ac_t""$MV" 1>&6
681 echo "$ac_t""no" 1>&6
684 # Extract the first word of "rm", so it can be a program name with args.
685 set dummy
rm; ac_word
=$2
686 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
687 echo "configure:688: checking for $ac_word" >&5
688 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
689 echo $ac_n "(cached) $ac_c" 1>&6
693 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
696 ac_cv_path_RM
="$RM" # Let the user override the test with a dos path.
699 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
701 for ac_dir
in $ac_dummy; do
702 test -z "$ac_dir" && ac_dir
=.
703 if test -f $ac_dir/$ac_word; then
704 ac_cv_path_RM
="$ac_dir/$ac_word"
709 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
714 if test -n "$RM"; then
715 echo "$ac_t""$RM" 1>&6
717 echo "$ac_t""no" 1>&6
721 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
722 if test -f $ac_dir/install-sh
; then
724 ac_install_sh
="$ac_aux_dir/install-sh -c"
726 elif test -f $ac_dir/install.sh
; then
728 ac_install_sh
="$ac_aux_dir/install.sh -c"
732 if test -z "$ac_aux_dir"; then
733 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
735 ac_config_guess
=$ac_aux_dir/config.guess
736 ac_config_sub
=$ac_aux_dir/config.sub
737 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
740 # Make sure we can run config.sub.
741 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
742 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
745 echo $ac_n "checking host system type""... $ac_c" 1>&6
746 echo "configure:747: checking host system type" >&5
749 case "$host_alias" in
753 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
754 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
756 *) host_alias
=$nonopt ;;
760 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
761 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
762 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
763 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
764 echo "$ac_t""$host" 1>&6
766 echo $ac_n "checking build system type""... $ac_c" 1>&6
767 echo "configure:768: checking build system type" >&5
770 case "$build_alias" in
773 NONE
) build_alias
=$host_alias ;;
774 *) build_alias
=$nonopt ;;
778 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
779 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
780 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
781 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
782 echo "$ac_t""$build" 1>&6
784 if test $host != $build; then
785 ac_tool_prefix
=${host_alias}-
790 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
791 set dummy
${ac_tool_prefix}ar; ac_word
=$2
792 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
793 echo "configure:794: checking for $ac_word" >&5
794 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
795 echo $ac_n "(cached) $ac_c" 1>&6
797 if test -n "$AR"; then
798 ac_cv_prog_AR
="$AR" # Let the user override the test.
800 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
802 for ac_dir
in $ac_dummy; do
803 test -z "$ac_dir" && ac_dir
=.
804 if test -f $ac_dir/$ac_word; then
805 ac_cv_prog_AR
="${ac_tool_prefix}ar"
813 if test -n "$AR"; then
814 echo "$ac_t""$AR" 1>&6
816 echo "$ac_t""no" 1>&6
820 if test -z "$ac_cv_prog_AR"; then
821 if test -n "$ac_tool_prefix"; then
822 # Extract the first word of "ar", so it can be a program name with args.
823 set dummy
ar; ac_word
=$2
824 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
825 echo "configure:826: checking for $ac_word" >&5
826 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
827 echo $ac_n "(cached) $ac_c" 1>&6
829 if test -n "$AR"; then
830 ac_cv_prog_AR
="$AR" # Let the user override the test.
832 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
834 for ac_dir
in $ac_dummy; do
835 test -z "$ac_dir" && ac_dir
=.
836 if test -f $ac_dir/$ac_word; then
842 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
846 if test -n "$AR"; then
847 echo "$ac_t""$AR" 1>&6
849 echo "$ac_t""no" 1>&6
857 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
858 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
859 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
860 echo "configure:861: checking for $ac_word" >&5
861 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
862 echo $ac_n "(cached) $ac_c" 1>&6
864 if test -n "$RANLIB"; then
865 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
867 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
869 for ac_dir
in $ac_dummy; do
870 test -z "$ac_dir" && ac_dir
=.
871 if test -f $ac_dir/$ac_word; then
872 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
879 RANLIB
="$ac_cv_prog_RANLIB"
880 if test -n "$RANLIB"; then
881 echo "$ac_t""$RANLIB" 1>&6
883 echo "$ac_t""no" 1>&6
887 if test -z "$ac_cv_prog_RANLIB"; then
888 if test -n "$ac_tool_prefix"; then
889 # Extract the first word of "ranlib", so it can be a program name with args.
890 set dummy ranlib
; ac_word
=$2
891 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
892 echo "configure:893: checking for $ac_word" >&5
893 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
894 echo $ac_n "(cached) $ac_c" 1>&6
896 if test -n "$RANLIB"; then
897 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
899 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
901 for ac_dir
in $ac_dummy; do
902 test -z "$ac_dir" && ac_dir
=.
903 if test -f $ac_dir/$ac_word; then
904 ac_cv_prog_RANLIB
="ranlib"
909 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
912 RANLIB
="$ac_cv_prog_RANLIB"
913 if test -n "$RANLIB"; then
914 echo "$ac_t""$RANLIB" 1>&6
916 echo "$ac_t""no" 1>&6
924 # Extract the first word of "${ac_tool_prefix}patch", so it can be a program name with args.
925 set dummy
${ac_tool_prefix}patch; ac_word
=$2
926 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
927 echo "configure:928: checking for $ac_word" >&5
928 if eval "test \"`echo '$''{'ac_cv_prog_PATCH'+set}'`\" = set"; then
929 echo $ac_n "(cached) $ac_c" 1>&6
931 if test -n "$PATCH"; then
932 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
934 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
936 for ac_dir
in $ac_dummy; do
937 test -z "$ac_dir" && ac_dir
=.
938 if test -f $ac_dir/$ac_word; then
939 ac_cv_prog_PATCH
="${ac_tool_prefix}patch"
946 PATCH
="$ac_cv_prog_PATCH"
947 if test -n "$PATCH"; then
948 echo "$ac_t""$PATCH" 1>&6
950 echo "$ac_t""no" 1>&6
954 if test -z "$ac_cv_prog_PATCH"; then
955 if test -n "$ac_tool_prefix"; then
956 # Extract the first word of "patch", so it can be a program name with args.
957 set dummy
patch; ac_word
=$2
958 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
959 echo "configure:960: checking for $ac_word" >&5
960 if eval "test \"`echo '$''{'ac_cv_prog_PATCH'+set}'`\" = set"; then
961 echo $ac_n "(cached) $ac_c" 1>&6
963 if test -n "$PATCH"; then
964 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
966 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
968 for ac_dir
in $ac_dummy; do
969 test -z "$ac_dir" && ac_dir
=.
970 if test -f $ac_dir/$ac_word; then
971 ac_cv_prog_PATCH
="patch"
976 test -z "$ac_cv_prog_PATCH" && ac_cv_prog_PATCH
=":"
979 PATCH
="$ac_cv_prog_PATCH"
980 if test -n "$PATCH"; then
981 echo "$ac_t""$PATCH" 1>&6
983 echo "$ac_t""no" 1>&6
991 # Extract the first word of "gcc", so it can be a program name with args.
992 set dummy gcc
; ac_word
=$2
993 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
994 echo "configure:995: checking for $ac_word" >&5
995 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
996 echo $ac_n "(cached) $ac_c" 1>&6
998 if test -n "$CC"; then
999 ac_cv_prog_CC
="$CC" # Let the user override the test.
1001 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1003 for ac_dir
in $ac_dummy; do
1004 test -z "$ac_dir" && ac_dir
=.
1005 if test -f $ac_dir/$ac_word; then
1014 if test -n "$CC"; then
1015 echo "$ac_t""$CC" 1>&6
1017 echo "$ac_t""no" 1>&6
1020 if test -z "$CC"; then
1021 # Extract the first word of "cc", so it can be a program name with args.
1022 set dummy cc
; ac_word
=$2
1023 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1024 echo "configure:1025: checking for $ac_word" >&5
1025 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1026 echo $ac_n "(cached) $ac_c" 1>&6
1028 if test -n "$CC"; then
1029 ac_cv_prog_CC
="$CC" # Let the user override the test.
1031 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1034 for ac_dir
in $ac_dummy; do
1035 test -z "$ac_dir" && ac_dir
=.
1036 if test -f $ac_dir/$ac_word; then
1037 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1038 ac_prog_rejected
=yes
1046 if test $ac_prog_rejected = yes; then
1047 # We found a bogon in the path, so make sure we never use it.
1048 set dummy
$ac_cv_prog_CC
1050 if test $# -gt 0; then
1051 # We chose a different compiler from the bogus one.
1052 # However, it has the same basename, so the bogon will be chosen
1053 # first if we set CC to just the basename; use the full file name.
1055 set dummy
"$ac_dir/$ac_word" "$@"
1063 if test -n "$CC"; then
1064 echo "$ac_t""$CC" 1>&6
1066 echo "$ac_t""no" 1>&6
1069 if test -z "$CC"; then
1070 case "`uname -s`" in
1072 # Extract the first word of "cl", so it can be a program name with args.
1073 set dummy cl
; ac_word
=$2
1074 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1075 echo "configure:1076: checking for $ac_word" >&5
1076 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1077 echo $ac_n "(cached) $ac_c" 1>&6
1079 if test -n "$CC"; then
1080 ac_cv_prog_CC
="$CC" # Let the user override the test.
1082 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1084 for ac_dir
in $ac_dummy; do
1085 test -z "$ac_dir" && ac_dir
=.
1086 if test -f $ac_dir/$ac_word; then
1095 if test -n "$CC"; then
1096 echo "$ac_t""$CC" 1>&6
1098 echo "$ac_t""no" 1>&6
1103 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1106 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1107 echo "configure:1108: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1110 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1111 ac_cpp
='$CPP $CPPFLAGS'
1112 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1113 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1114 cross_compiling
=$ac_cv_prog_cc_cross
1116 cat > conftest.
$ac_ext << EOF
1118 #line 1119 "configure"
1119 #include "confdefs.h"
1123 if { (eval echo configure
:1124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1124 ac_cv_prog_cc_works
=yes
1125 # If we can't run a trivial program, we are probably using a cross compiler.
1126 if (.
/conftest
; exit) 2>/dev
/null
; then
1127 ac_cv_prog_cc_cross
=no
1129 ac_cv_prog_cc_cross
=yes
1132 echo "configure: failed program was:" >&5
1133 cat conftest.
$ac_ext >&5
1134 ac_cv_prog_cc_works
=no
1138 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1139 ac_cpp
='$CPP $CPPFLAGS'
1140 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1141 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1142 cross_compiling
=$ac_cv_prog_cc_cross
1144 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1145 if test $ac_cv_prog_cc_works = no
; then
1146 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1148 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1149 echo "configure:1150: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1150 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1151 cross_compiling
=$ac_cv_prog_cc_cross
1153 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1154 echo "configure:1155: checking whether we are using GNU C" >&5
1155 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1156 echo $ac_n "(cached) $ac_c" 1>&6
1158 cat > conftest.c
<<EOF
1163 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1170 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1172 if test $ac_cv_prog_gcc = yes; then
1178 ac_test_CFLAGS
="${CFLAGS+set}"
1179 ac_save_CFLAGS
="$CFLAGS"
1181 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1182 echo "configure:1183: checking whether ${CC-cc} accepts -g" >&5
1183 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1184 echo $ac_n "(cached) $ac_c" 1>&6
1186 echo 'void f(){}' > conftest.c
1187 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1196 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1197 if test "$ac_test_CFLAGS" = set; then
1198 CFLAGS
="$ac_save_CFLAGS"
1199 elif test $ac_cv_prog_cc_g = yes; then
1200 if test "$GCC" = yes; then
1206 if test "$GCC" = yes; then
1213 # Find a good install program. We prefer a C program (faster),
1214 # so one script is as good as another. But avoid the broken or
1215 # incompatible versions:
1216 # SysV /etc/install, /usr/sbin/install
1217 # SunOS /usr/etc/install
1218 # IRIX /sbin/install
1220 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1221 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1222 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1223 # ./install, which can be erroneously created by make from ./install.sh.
1224 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1225 echo "configure:1226: checking for a BSD compatible install" >&5
1226 if test -z "$INSTALL"; then
1227 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1228 echo $ac_n "(cached) $ac_c" 1>&6
1230 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
1231 for ac_dir
in $PATH; do
1232 # Account for people who put trailing slashes in PATH elements.
1234 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1236 # OSF1 and SCO ODT 3.0 have their own names for install.
1237 # Don't use installbsd from OSF since it installs stuff as root
1239 for ac_prog
in ginstall scoinst
install; do
1240 if test -f $ac_dir/$ac_prog; then
1241 if test $ac_prog = install &&
1242 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1243 # AIX install. It has an incompatible calling convention.
1246 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1257 if test "${ac_cv_path_install+set}" = set; then
1258 INSTALL
="$ac_cv_path_install"
1260 # As a last resort, use the slow shell script. We don't cache a
1261 # path for INSTALL within a source directory, because that will
1262 # break other packages using the cache if that directory is
1263 # removed, or if the path is relative.
1264 INSTALL
="$ac_install_sh"
1267 echo "$ac_t""$INSTALL" 1>&6
1269 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1270 # It thinks the first close brace ends the variable substitution.
1271 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1273 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
1275 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1278 # Check whether --enable-debug or --disable-debug was given.
1279 if test "${enable_debug+set}" = set; then
1280 enableval
="$enable_debug"
1281 if test "$enableval" = "no"
1286 DUMPDEBUG
="-DFDEBUG -DTDEBUG -DWRITEDEBUG -DDIRDEBUG"
1287 RESTOREDEBUG
="-DDIRDEBUG"
1298 # Check whether --enable-static or --disable-static was given.
1299 if test "${enable_static+set}" = set; then
1300 enableval
="$enable_static"
1301 if test "$enableval" = "no"
1310 echo "Linking dump and restore dynamically by default"
1316 # Check whether --enable-rmt or --disable-rmt was given.
1317 if test "${enable_rmt+set}" = set; then
1318 enableval
="$enable_rmt"
1319 if test "$enableval" = "no"
1325 RMTMAKEFILE
="rmt/Makefile"
1330 echo "Not compiling rmt by default"
1336 # Check whether --enable-kerberos or --disable-kerberos was given.
1337 if test "${enable_kerberos+set}" = set; then
1338 enableval
="$enable_kerberos"
1339 if test "$enableval" = "yes"
1341 OPTDEFS
="-DKERBEROS"
1348 echo "Not compiling kerberos extensions by default"
1354 # Check whether --enable-readline or --disable-readline was given.
1355 if test "${enable_readline+set}" = set; then
1356 enableval
="$enable_readline"
1357 if test "$enableval" = "no"
1361 READLINE
="-lreadline -ltermcap"
1362 cat >> confdefs.h
<<\EOF
1363 #define HAVE_READLINE 1
1370 echo "Not including readline support by default"
1376 # Check whether --enable-oldstylefscript or --disable-oldstylefscript was given.
1377 if test "${enable_oldstylefscript+set}" = set; then
1378 enableval
="$enable_oldstylefscript"
1379 if test "$enableval" = "yes"
1381 cat >> confdefs.h
<<\EOF
1382 #define OLD_STYLE_FSCRIPT 1
1388 echo "Using new style F script"
1393 # Check whether --with-cc or --without-cc was given.
1394 if test "${with_cc+set}" = set; then
1396 echo "$ac_t""CC=$withval" 1>&6
1399 if test -z "$CC" ; then CC
=cc
; fi
1400 echo "$ac_t""CC defaults to $CC" 1>&6
1405 # Check whether --with-linker or --without-linker was given.
1406 if test "${with_linker+set}" = set; then
1407 withval
="$with_linker"
1408 echo "$ac_t""LD=$withval" 1>&6
1411 if test -z "$LD" ; then LD
=$CC; fi
1412 echo "$ac_t""LD defaults to $LD" 1>&6
1417 # Check whether --with-ccopts or --without-ccopts was given.
1418 if test "${with_ccopts+set}" = set; then
1419 withval
="$with_ccopts"
1420 echo "$ac_t""CCOPTS is $withval" 1>&6
1422 CFLAGS
="$CFLAGS $withval"
1428 # Check whether --with-ldopts or --without-ldopts was given.
1429 if test "${with_ldopts+set}" = set; then
1430 withval
="$with_ldopts"
1431 echo "$ac_t""LDFLAGS is $withval" 1>&6
1438 # Check whether --with-binowner or --without-binowner was given.
1439 if test "${with_binowner+set}" = set; then
1440 withval
="$with_binowner"
1441 echo "$ac_t""BINOWNER is $withval" 1>&6
1445 echo "BINOWNER defaults to $BINOWNER"
1450 # Check whether --with-bingrp or --without-bingrp was given.
1451 if test "${with_bingrp+set}" = set; then
1452 withval
="$with_bingrp"
1453 echo "$ac_t""BINGRP is $withval" 1>&6
1457 echo "BINGRP defaults to $BINGRP"
1462 # Check whether --with-binmode or --without-binmode was given.
1463 if test "${with_binmode+set}" = set; then
1464 withval
="$with_binmode"
1465 echo "$ac_t""BINMODE is $withval" 1>&6
1469 echo "BINMODE defaults to $BINMODE"
1474 # Check whether --with-manowner or --without-manowner was given.
1475 if test "${with_manowner+set}" = set; then
1476 withval
="$with_manowner"
1477 echo "$ac_t""MANOWNER is $withval" 1>&6
1481 echo "MANOWNER defaults to $MANOWNER"
1486 # Check whether --with-mangrp or --without-mangrp was given.
1487 if test "${with_mangrp+set}" = set; then
1488 withval
="$with_mangrp"
1489 echo "$ac_t""MANGRP is $withval" 1>&6
1493 echo "MANGRP defaults to $MANGRP"
1498 # Check whether --with-manmode or --without-manmode was given.
1499 if test "${with_manmode+set}" = set; then
1500 withval
="$with_manmode"
1501 echo "$ac_t""MANMODE is $withval" 1>&6
1505 echo "MANMODE defaults to $MANMODE"
1510 # Check whether --with-dumpdatespath or --without-dumpdatespath was given.
1511 if test "${with_dumpdatespath+set}" = set; then
1512 withval
="$with_dumpdatespath"
1513 echo "$ac_t""DUMPDATESPATH is $withval" 1>&6
1514 DUMPDATESPATH
=$withval
1516 DUMPDATESPATH
="/etc/dumpdates"
1517 echo "DUMPDATESPATH defaults to $DUMPDATESPATH"
1522 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1523 echo "configure:1524: checking how to run the C preprocessor" >&5
1524 # On Suns, sometimes $CPP names a directory.
1525 if test -n "$CPP" && test -d "$CPP"; then
1528 if test -z "$CPP"; then
1529 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1530 echo $ac_n "(cached) $ac_c" 1>&6
1532 # This must be in double quotes, not single quotes, because CPP may get
1533 # substituted into the Makefile and "${CC-cc}" will confuse make.
1535 # On the NeXT, cc -E runs the code through the compiler's parser,
1536 # not just through cpp.
1537 cat > conftest.
$ac_ext <<EOF
1538 #line 1539 "configure"
1539 #include "confdefs.h"
1543 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1544 { (eval echo configure
:1545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1545 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1546 if test -z "$ac_err"; then
1550 echo "configure: failed program was:" >&5
1551 cat conftest.
$ac_ext >&5
1553 CPP
="${CC-cc} -E -traditional-cpp"
1554 cat > conftest.
$ac_ext <<EOF
1555 #line 1556 "configure"
1556 #include "confdefs.h"
1560 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1561 { (eval echo configure
:1562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1562 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1563 if test -z "$ac_err"; then
1567 echo "configure: failed program was:" >&5
1568 cat conftest.
$ac_ext >&5
1570 CPP
="${CC-cc} -nologo -E"
1571 cat > conftest.
$ac_ext <<EOF
1572 #line 1573 "configure"
1573 #include "confdefs.h"
1577 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1578 { (eval echo configure
:1579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1579 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1580 if test -z "$ac_err"; then
1584 echo "configure: failed program was:" >&5
1585 cat conftest.
$ac_ext >&5
1594 ac_cv_prog_CPP
="$CPP"
1596 CPP
="$ac_cv_prog_CPP"
1598 ac_cv_prog_CPP
="$CPP"
1600 echo "$ac_t""$CPP" 1>&6
1602 ac_safe
=`echo "ext2fs/ext2fs.h" | sed 'y%./+-%__p_%'`
1603 echo $ac_n "checking for ext2fs/ext2fs.h""... $ac_c" 1>&6
1604 echo "configure:1605: checking for ext2fs/ext2fs.h" >&5
1605 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1606 echo $ac_n "(cached) $ac_c" 1>&6
1608 cat > conftest.
$ac_ext <<EOF
1609 #line 1610 "configure"
1610 #include "confdefs.h"
1611 #include <ext2fs/ext2fs.h>
1613 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1614 { (eval echo configure
:1615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1615 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1616 if test -z "$ac_err"; then
1618 eval "ac_cv_header_$ac_safe=yes"
1621 echo "configure: failed program was:" >&5
1622 cat conftest.
$ac_ext >&5
1624 eval "ac_cv_header_$ac_safe=no"
1628 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1629 echo "$ac_t""yes" 1>&6
1632 echo "$ac_t""no" 1>&6
1636 echo $ac_n "checking for ext2fs_open in -lext2fs""... $ac_c" 1>&6
1637 echo "configure:1638: checking for ext2fs_open in -lext2fs" >&5
1638 ac_lib_var
=`echo ext2fs'_'ext2fs_open | sed 'y%./+-%__p_%'`
1639 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1640 echo $ac_n "(cached) $ac_c" 1>&6
1642 ac_save_LIBS
="$LIBS"
1643 LIBS
="-lext2fs -lcom_err $LIBS"
1644 cat > conftest.
$ac_ext <<EOF
1645 #line 1646 "configure"
1646 #include "confdefs.h"
1647 /* Override any gcc2 internal prototype to avoid an error. */
1648 /* We use char because int might match the return type of a gcc2
1649 builtin and then its argument prototype would still apply. */
1656 if { (eval echo configure
:1657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1658 eval "ac_cv_lib_$ac_lib_var=yes"
1660 echo "configure: failed program was:" >&5
1661 cat conftest.
$ac_ext >&5
1663 eval "ac_cv_lib_$ac_lib_var=no"
1666 LIBS
="$ac_save_LIBS"
1669 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1670 echo "$ac_t""yes" 1>&6
1673 echo "$ac_t""no" 1>&6
1677 if test "$ext2fs_h" = no
-o "$ext2fs_lib" = no
; then
1678 { echo "configure: error: You need to install the Ext2fs libraries from the E2fsprogs distribution first - hint: make install-libs" 1>&2; exit 1; }
1681 ac_safe
=`echo "readline/readline.h" | sed 'y%./+-%__p_%'`
1682 echo $ac_n "checking for readline/readline.h""... $ac_c" 1>&6
1683 echo "configure:1684: checking for readline/readline.h" >&5
1684 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1685 echo $ac_n "(cached) $ac_c" 1>&6
1687 cat > conftest.
$ac_ext <<EOF
1688 #line 1689 "configure"
1689 #include "confdefs.h"
1690 #include <readline/readline.h>
1692 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1693 { (eval echo configure
:1694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1694 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1695 if test -z "$ac_err"; then
1697 eval "ac_cv_header_$ac_safe=yes"
1700 echo "configure: failed program was:" >&5
1701 cat conftest.
$ac_ext >&5
1703 eval "ac_cv_header_$ac_safe=no"
1707 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1708 echo "$ac_t""yes" 1>&6
1711 echo "$ac_t""no" 1>&6
1715 echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
1716 echo "configure:1717: checking for readline in -lreadline" >&5
1717 ac_lib_var
=`echo readline'_'readline | sed 'y%./+-%__p_%'`
1718 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1719 echo $ac_n "(cached) $ac_c" 1>&6
1721 ac_save_LIBS
="$LIBS"
1722 LIBS
="-lreadline $LIBS"
1723 cat > conftest.
$ac_ext <<EOF
1724 #line 1725 "configure"
1725 #include "confdefs.h"
1726 /* Override any gcc2 internal prototype to avoid an error. */
1727 /* We use char because int might match the return type of a gcc2
1728 builtin and then its argument prototype would still apply. */
1735 if { (eval echo configure
:1736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1737 eval "ac_cv_lib_$ac_lib_var=yes"
1739 echo "configure: failed program was:" >&5
1740 cat conftest.
$ac_ext >&5
1742 eval "ac_cv_lib_$ac_lib_var=no"
1745 LIBS
="$ac_save_LIBS"
1748 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1749 echo "$ac_t""yes" 1>&6
1752 echo "$ac_t""no" 1>&6
1756 if test "$readline_h" = no
-o "$readline_lib" = no
; then
1757 if test "$READLINE" = "-lreadline"; then
1758 { echo "configure: error: You need to install the GNU readline libraries first" 1>&2; exit 1; }
1762 for ac_func
in err errx verr verrx vwarn vwarnx warn warnx realpath lchown
1764 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1765 echo "configure:1766: checking for $ac_func" >&5
1766 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1767 echo $ac_n "(cached) $ac_c" 1>&6
1769 cat > conftest.
$ac_ext <<EOF
1770 #line 1771 "configure"
1771 #include "confdefs.h"
1772 /* System header to define __stub macros and hopefully few prototypes,
1773 which can conflict with char $ac_func(); below. */
1775 /* Override any gcc2 internal prototype to avoid an error. */
1776 /* We use char because int might match the return type of a gcc2
1777 builtin and then its argument prototype would still apply. */
1782 /* The GNU C library defines this for functions which it implements
1783 to always fail with ENOSYS. Some functions are actually named
1784 something starting with __ and the normal name is an alias. */
1785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1793 if { (eval echo configure
:1794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1795 eval "ac_cv_func_$ac_func=yes"
1797 echo "configure: failed program was:" >&5
1798 cat conftest.
$ac_ext >&5
1800 eval "ac_cv_func_$ac_func=no"
1805 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1806 echo "$ac_t""yes" 1>&6
1807 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1808 cat >> confdefs.h
<<EOF
1809 #define $ac_tr_func 1
1813 echo "$ac_t""no" 1>&6
1817 echo $ac_n "checking for glob""... $ac_c" 1>&6
1818 echo "configure:1819: checking for glob" >&5
1819 if eval "test \"`echo '$''{'ac_cv_func_glob'+set}'`\" = set"; then
1820 echo $ac_n "(cached) $ac_c" 1>&6
1822 cat > conftest.
$ac_ext <<EOF
1823 #line 1824 "configure"
1824 #include "confdefs.h"
1825 /* System header to define __stub macros and hopefully few prototypes,
1826 which can conflict with char glob(); below. */
1828 /* Override any gcc2 internal prototype to avoid an error. */
1829 /* We use char because int might match the return type of a gcc2
1830 builtin and then its argument prototype would still apply. */
1835 /* The GNU C library defines this for functions which it implements
1836 to always fail with ENOSYS. Some functions are actually named
1837 something starting with __ and the normal name is an alias. */
1838 #if defined (__stub_glob) || defined (__stub___glob)
1846 if { (eval echo configure
:1847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1848 eval "ac_cv_func_glob=yes"
1850 echo "configure: failed program was:" >&5
1851 cat conftest.
$ac_ext >&5
1853 eval "ac_cv_func_glob=no"
1858 if eval "test \"`echo '$ac_cv_func_'glob`\" = yes"; then
1859 echo "$ac_t""yes" 1>&6
1862 echo "$ac_t""no" 1>&6
1866 if test "$ac_cv_func_glob" = "yes"; then
1867 cat > conftest.
$ac_ext <<EOF
1868 #line 1869 "configure"
1869 #include "confdefs.h"
1872 # ifdef GLOB_ALTDIRFUNC
1877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1878 egrep "yes" >/dev
/null
2>&1; then
1880 cat >> confdefs.h
<<\EOF
1890 if test "$noglob" = "yes"; then
1891 echo "Your system does not support extended glob, will use the internal routines"
1895 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1896 echo "configure:1897: checking for ANSI C header files" >&5
1897 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1898 echo $ac_n "(cached) $ac_c" 1>&6
1900 cat > conftest.
$ac_ext <<EOF
1901 #line 1902 "configure"
1902 #include "confdefs.h"
1908 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1909 { (eval echo configure
:1910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1910 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1911 if test -z "$ac_err"; then
1913 ac_cv_header_stdc
=yes
1916 echo "configure: failed program was:" >&5
1917 cat conftest.
$ac_ext >&5
1919 ac_cv_header_stdc
=no
1923 if test $ac_cv_header_stdc = yes; then
1924 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1925 cat > conftest.
$ac_ext <<EOF
1926 #line 1927 "configure"
1927 #include "confdefs.h"
1930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1931 egrep "memchr" >/dev
/null
2>&1; then
1935 ac_cv_header_stdc
=no
1941 if test $ac_cv_header_stdc = yes; then
1942 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1943 cat > conftest.
$ac_ext <<EOF
1944 #line 1945 "configure"
1945 #include "confdefs.h"
1948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1949 egrep "free" >/dev
/null
2>&1; then
1953 ac_cv_header_stdc
=no
1959 if test $ac_cv_header_stdc = yes; then
1960 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1961 if test "$cross_compiling" = yes; then
1964 cat > conftest.
$ac_ext <<EOF
1965 #line 1966 "configure"
1966 #include "confdefs.h"
1968 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1969 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1970 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1971 int main () { int i; for (i = 0; i < 256; i++)
1972 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1976 if { (eval echo configure
:1977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
1980 echo "configure: failed program was:" >&5
1981 cat conftest.
$ac_ext >&5
1983 ac_cv_header_stdc
=no
1991 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1992 if test $ac_cv_header_stdc = yes; then
1993 cat >> confdefs.h
<<\EOF
1994 #define STDC_HEADERS 1
1999 echo $ac_n "checking for quad_t""... $ac_c" 1>&6
2000 echo "configure:2001: checking for quad_t" >&5
2001 if eval "test \"`echo '$''{'ac_cv_type_quad_t'+set}'`\" = set"; then
2002 echo $ac_n "(cached) $ac_c" 1>&6
2004 cat > conftest.
$ac_ext <<EOF
2005 #line 2006 "configure"
2006 #include "confdefs.h"
2007 #include <sys/types.h>
2013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2014 egrep "(^|[^a-zA-Z_0-9])quad_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2016 ac_cv_type_quad_t
=yes
2019 ac_cv_type_quad_t
=no
2024 echo "$ac_t""$ac_cv_type_quad_t" 1>&6
2025 if test $ac_cv_type_quad_t = no
; then
2026 cat >> confdefs.h
<<\EOF
2027 #define quad_t __s64
2032 echo $ac_n "checking for u_quad_t""... $ac_c" 1>&6
2033 echo "configure:2034: checking for u_quad_t" >&5
2034 if eval "test \"`echo '$''{'ac_cv_type_u_quad_t'+set}'`\" = set"; then
2035 echo $ac_n "(cached) $ac_c" 1>&6
2037 cat > conftest.
$ac_ext <<EOF
2038 #line 2039 "configure"
2039 #include "confdefs.h"
2040 #include <sys/types.h>
2046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2047 egrep "(^|[^a-zA-Z_0-9])u_quad_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2049 ac_cv_type_u_quad_t
=yes
2052 ac_cv_type_u_quad_t
=no
2057 echo "$ac_t""$ac_cv_type_u_quad_t" 1>&6
2058 if test $ac_cv_type_u_quad_t = no
; then
2059 cat >> confdefs.h
<<\EOF
2060 #define u_quad_t __u64
2066 top_builddir
=`cd .; pwd`
2069 test -d compat || mkdir compat
2070 test -d compat
/lib || mkdir compat
/lib
2073 cat > confcache
<<\EOF
2074 # This file is a shell script that caches the results of configure
2075 # tests run on this system so they can be shared between configure
2076 # scripts and configure runs. It is not useful on other systems.
2077 # If it contains results you don't want to keep, you may remove or edit it.
2079 # By default, configure uses ./config.cache as the cache file,
2080 # creating it if it does not exist already. You can give configure
2081 # the --cache-file=FILE option to use a different cache file; that is
2082 # what configure does when it calls configure scripts in
2083 # subdirectories, so they share the cache.
2084 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2085 # config.status only pays attention to the cache file if you give it the
2086 # --recheck option to rerun configure.
2089 # The following way of writing the cache mishandles newlines in values,
2090 # but we know of no workaround that is simple, portable, and efficient.
2091 # So, don't put newlines in cache variables' values.
2092 # Ultrix sh set writes to stderr and can't be redirected directly,
2093 # and sets the high bit in the cache file unless we assign to the vars.
2095 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2097 # `set' does not quote correctly, so add quotes (double-quote substitution
2098 # turns \\\\ into \\, and sed turns \\ into \).
2100 -e "s/'/'\\\\''/g" \
2101 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2104 # `set' quotes correctly as required by POSIX, so do not add quotes.
2105 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2108 if cmp -s $cache_file confcache
; then
2111 if test -w $cache_file; then
2112 echo "updating cache $cache_file"
2113 cat confcache
> $cache_file
2115 echo "not updating unwritable cache $cache_file"
2120 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2122 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2123 # Let make expand exec_prefix.
2124 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2126 # Any assignment to VPATH causes Sun make to only execute
2127 # the first set of double-colon rules, so remove it if not needed.
2128 # If there is a colon in the path, we need to keep it.
2129 if test "x$srcdir" = x.
; then
2130 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
2133 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2135 DEFS
=-DHAVE_CONFIG_H
2137 # Without the "./", some shells look in PATH for config.status.
2138 : ${CONFIG_STATUS=./config.status}
2140 echo creating
$CONFIG_STATUS
2141 rm -f $CONFIG_STATUS
2142 cat > $CONFIG_STATUS <<EOF
2144 # Generated automatically by configure.
2145 # Run this file to recreate the current configuration.
2146 # This directory was configured as follows,
2147 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2149 # $0 $ac_configure_args
2151 # Compiler output produced by configure, useful for debugging
2152 # configure, is in ./config.log if it exists.
2154 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2157 case "\$ac_option" in
2158 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2159 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2160 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2161 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2162 echo "$CONFIG_STATUS generated by autoconf version 2.13"
2164 -help | --help | --hel | --he | --h)
2165 echo "\$ac_cs_usage"; exit 0 ;;
2166 *) echo "\$ac_cs_usage"; exit 1 ;;
2170 ac_given_srcdir=$srcdir
2171 ac_given_INSTALL="$INSTALL"
2173 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
2175 cat >> $CONFIG_STATUS <<EOF
2177 # Protect against being on the right side of a sed subst in config.status.
2178 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2179 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2183 s%@CFLAGS@%$CFLAGS%g
2184 s%@CPPFLAGS@%$CPPFLAGS%g
2185 s%@CXXFLAGS@%$CXXFLAGS%g
2186 s%@FFLAGS@%$FFLAGS%g
2188 s%@LDFLAGS@%$LDFLAGS%g
2190 s%@exec_prefix@%$exec_prefix%g
2191 s%@prefix@%$prefix%g
2192 s%@program_transform_name@%$program_transform_name%g
2193 s%@bindir@%$bindir%g
2194 s%@sbindir@%$sbindir%g
2195 s%@libexecdir@%$libexecdir%g
2196 s%@datadir@%$datadir%g
2197 s%@sysconfdir@%$sysconfdir%g
2198 s%@sharedstatedir@%$sharedstatedir%g
2199 s%@localstatedir@%$localstatedir%g
2200 s%@libdir@%$libdir%g
2201 s%@includedir@%$includedir%g
2202 s%@oldincludedir@%$oldincludedir%g
2203 s%@infodir@%$infodir%g
2204 s%@mandir@%$mandir%g
2205 /@MCONFIG@/r $MCONFIG
2207 s%@SET_MAKE@%$SET_MAKE%g
2213 s%@host_alias@%$host_alias%g
2214 s%@host_cpu@%$host_cpu%g
2215 s%@host_vendor@%$host_vendor%g
2216 s%@host_os@%$host_os%g
2218 s%@build_alias@%$build_alias%g
2219 s%@build_cpu@%$build_cpu%g
2220 s%@build_vendor@%$build_vendor%g
2221 s%@build_os@%$build_os%g
2223 s%@RANLIB@%$RANLIB%g
2226 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2227 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2228 s%@INSTALL_DATA@%$INSTALL_DATA%g
2229 s%@DUMPDEBUG@%$DUMPDEBUG%g
2230 s%@RESTOREDEBUG@%$RESTOREDEBUG%g
2231 s%@STATIC@%$STATIC%g
2232 s%@RMTDIR@%$RMTDIR%g
2233 s%@OPTDEFS@%$OPTDEFS%g
2234 s%@READLINE@%$READLINE%g
2236 s%@CCOPTS@%$CCOPTS%g
2237 s%@BINOWNER@%$BINOWNER%g
2238 s%@BINGRP@%$BINGRP%g
2239 s%@BINMODE@%$BINMODE%g
2240 s%@MANOWNER@%$MANOWNER%g
2241 s%@MANGRP@%$MANGRP%g
2242 s%@MANMODE@%$MANMODE%g
2243 s%@DUMPDATESPATH@%$DUMPDATESPATH%g
2245 s%@top_builddir@%$top_builddir%g
2250 cat >> $CONFIG_STATUS <<\EOF
2252 # Split the substitutions into bite-sized pieces for seds with
2253 # small command number limits, like on Digital OSF/1 and HP-UX.
2254 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
2255 ac_file
=1 # Number of current file.
2256 ac_beg
=1 # First line for current file.
2257 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
2260 while $ac_more_lines; do
2261 if test $ac_beg -gt 1; then
2262 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
2264 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
2266 if test ! -s conftest.s
$ac_file; then
2268 rm -f conftest.s
$ac_file
2270 if test -z "$ac_sed_cmds"; then
2271 ac_sed_cmds
="sed -f conftest.s$ac_file"
2273 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
2275 ac_file
=`expr $ac_file + 1`
2277 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
2280 if test -z "$ac_sed_cmds"; then
2285 cat >> $CONFIG_STATUS <<EOF
2287 CONFIG_FILES=\${CONFIG_FILES-"MCONFIG Makefile common/Makefile compat/include/Makefile compat/lib/Makefile dump/Makefile restore/Makefile $RMTMAKEFILE"}
2289 cat >> $CONFIG_STATUS <<\EOF
2290 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
2291 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2293 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2294 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2295 *) ac_file_in
="${ac_file}.in" ;;
2298 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2300 # Remove last slash and all that follows it. Not all systems have dirname.
2301 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2302 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
2303 # The file is in a subdirectory.
2304 test ! -d "$ac_dir" && mkdir
"$ac_dir"
2305 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
2306 # A "../" for each directory in $ac_dir_suffix.
2307 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2309 ac_dir_suffix
= ac_dots
=
2312 case "$ac_given_srcdir" in
2314 if test -z "$ac_dots"; then top_srcdir
=.
2315 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2316 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
2318 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2319 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
2322 case "$ac_given_INSTALL" in
2323 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
2324 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
2327 echo creating
"$ac_file"
2329 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2331 *Makefile
*) ac_comsub
="1i\\
2332 # $configure_input" ;;
2336 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2338 s%@configure_input@%$configure_input%g
2339 s%@srcdir@%$srcdir%g
2340 s%@top_srcdir@%$top_srcdir%g
2341 s%@INSTALL@%$INSTALL%g
2342 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
2346 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2347 # NAME is the cpp macro being defined and VALUE is the value it is being given.
2349 # ac_d sets the value in "#define NAME VALUE" lines.
2350 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2351 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
2354 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2355 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2356 ac_uB
='\([ ]\)%\1#\2define\3'
2359 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2360 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2361 ac_eB
='$%\1#\2define\3'
2365 if test "${CONFIG_HEADERS+set}" != set; then
2367 cat >> $CONFIG_STATUS <<EOF
2368 CONFIG_HEADERS="config.h"
2370 cat >> $CONFIG_STATUS <<\EOF
2372 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
2373 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2375 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2376 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2377 *) ac_file_in
="${ac_file}.in" ;;
2380 echo creating
$ac_file
2382 rm -f conftest.frag conftest.
in conftest.out
2383 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2384 cat $ac_file_inputs > conftest.
in
2388 # Transform confdefs.h into a sed script conftest.vals that substitutes
2389 # the proper values into config.h.in to produce config.h. And first:
2390 # Protect against being on the right side of a sed subst in config.status.
2391 # Protect against being in an unquoted here document in config.status.
2393 cat > conftest.hdr
<<\EOF
2396 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2400 sed -n -f conftest.hdr confdefs.h > conftest.vals
2403 # This sed command replaces #undef with comments. This is necessary, for
2404 # example, in the case of _POSIX_SOURCE, which is predefined and required
2405 # on some systems where configure will not decide to define it.
2406 cat >> conftest.vals <<\EOF
2407 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2410 # Break up conftest.vals because some shells have a limit on
2411 # the size of here documents, and old seds have small limits too.
2416 ac_lines=`grep -c . conftest.vals
`
2417 # grep -c gives empty output for an empty file on some AIX systems.
2418 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2419 # Write a limited-size here document to conftest.frag.
2420 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2421 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2423 sed -f conftest.frag conftest.in > conftest.out
2425 mv conftest.out conftest.in
2427 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2429 mv conftest.tail conftest.vals
2433 cat >> $CONFIG_STATUS <<\EOF
2434 rm -f conftest.frag conftest.h
2435 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2436 cat conftest.in >> conftest.h
2438 if cmp -s $ac_file conftest.h 2>/dev/null; then
2439 echo "$ac_file is unchanged"
2442 # Remove last slash and all that follows it. Not all systems have dirname.
2443 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
2444 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2445 # The file is in a subdirectory.
2446 test ! -d "$ac_dir" && mkdir "$ac_dir"
2449 mv conftest.h $ac_file
2454 cat >> $CONFIG_STATUS <<EOF
2457 cat >> $CONFIG_STATUS <<\EOF
2461 chmod +x $CONFIG_STATUS
2462 rm -fr confdefs* $ac_clean_files
2463 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1