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 --with-cc=COMPILER select compiler to use"
27 --with-linker=LINKER select linker to use"
29 --with-ccopts=CCOPTS select compiler command line options"
31 --with-ldopts=LDOPTS select linker command line options"
33 --with-binowner=USER select owner for binaries"
35 --with-bingrp=GROUP select group for binaries"
37 --with-binmode=MODE select mode for binaries"
39 --with-manowner=USER select owner for manual pages"
41 --with-mangrp=group select group for manual pages"
43 --with-manmode=MODE select mode for manual pages"
45 --with-dumpdatespath=path select path for dumpdates file"
47 # Initialize some variables set by options.
48 # The variables have the same names as the options, with
49 # dashes changed to underlines.
51 cache_file
=.
/config.cache
60 program_transform_name
=s
,x
,x
,
68 bindir
='${exec_prefix}/bin'
69 sbindir
='${exec_prefix}/sbin'
70 libexecdir
='${exec_prefix}/libexec'
71 datadir
='${prefix}/share'
72 sysconfdir
='${prefix}/etc'
73 sharedstatedir
='${prefix}/com'
74 localstatedir
='${prefix}/var'
75 libdir
='${exec_prefix}/lib'
76 includedir
='${prefix}/include'
77 oldincludedir
='/usr/include'
78 infodir
='${prefix}/info'
79 mandir
='${prefix}/man'
81 # Initialize some other variables.
84 SHELL
=${CONFIG_SHELL-/bin/sh}
85 # Maximum number of lines to put in a shell here document.
92 # If the previous option needs an argument, assign it.
93 if test -n "$ac_prev"; then
94 eval "$ac_prev=\$ac_option"
100 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
104 # Accept the important Cygnus configure options, so we can diagnose typos.
108 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
110 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
111 bindir
="$ac_optarg" ;;
113 -build |
--build |
--buil |
--bui |
--bu)
115 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
116 build
="$ac_optarg" ;;
118 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
119 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
120 ac_prev
=cache_file
;;
121 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
122 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
123 cache_file
="$ac_optarg" ;;
125 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
127 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
129 datadir
="$ac_optarg" ;;
131 -disable-* |
--disable-*)
132 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
133 # Reject names that are not valid shell variable names.
134 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
135 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
137 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
138 eval "enable_${ac_feature}=no" ;;
140 -enable-* |
--enable-*)
141 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
142 # Reject names that are not valid shell variable names.
143 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
144 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
146 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
151 eval "enable_${ac_feature}='$ac_optarg'" ;;
153 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
154 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
155 |
--exec |
--exe |
--ex)
156 ac_prev
=exec_prefix
;;
157 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
158 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
159 |
--exec=* |
--exe=* |
--ex=*)
160 exec_prefix
="$ac_optarg" ;;
162 -gas |
--gas |
--ga |
--g)
163 # Obsolete; use --with-gas.
166 -help |
--help |
--hel |
--he)
167 # Omit some internal or obsolete options to make the list less imposing.
168 # This message is too long to be a string in the A/UX 3.1 sh.
170 Usage: configure [options] [host]
171 Options: [defaults in brackets after descriptions]
173 --cache-file=FILE cache test results in FILE
174 --help print this message
175 --no-create do not create output files
176 --quiet, --silent do not print \`checking...' messages
177 --version print the version of autoconf that created configure
178 Directory and file names:
179 --prefix=PREFIX install architecture-independent files in PREFIX
181 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
183 --bindir=DIR user executables in DIR [EPREFIX/bin]
184 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
185 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
186 --datadir=DIR read-only architecture-independent data in DIR
188 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
189 --sharedstatedir=DIR modifiable architecture-independent data in DIR
191 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
192 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
193 --includedir=DIR C header files in DIR [PREFIX/include]
194 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
195 --infodir=DIR info documentation in DIR [PREFIX/info]
196 --mandir=DIR man documentation in DIR [PREFIX/man]
197 --srcdir=DIR find the sources in DIR [configure dir or ..]
198 --program-prefix=PREFIX prepend PREFIX to installed program names
199 --program-suffix=SUFFIX append SUFFIX to installed program names
200 --program-transform-name=PROGRAM
201 run sed PROGRAM on installed program names
205 --build=BUILD configure for building on BUILD [BUILD=HOST]
206 --host=HOST configure for HOST [guessed]
207 --target=TARGET configure for TARGET [TARGET=HOST]
208 Features and packages:
209 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
210 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
211 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
212 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
213 --x-includes=DIR X include files are in DIR
214 --x-libraries=DIR X library files are in DIR
216 if test -n "$ac_help"; then
217 echo "--enable and --with options recognized:$ac_help"
221 -host |
--host |
--hos |
--ho)
223 -host=* |
--host=* |
--hos=* |
--ho=*)
226 -includedir |
--includedir |
--includedi |
--included |
--include \
227 |
--includ |
--inclu |
--incl |
--inc)
228 ac_prev
=includedir
;;
229 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
230 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
231 includedir
="$ac_optarg" ;;
233 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
235 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
236 infodir
="$ac_optarg" ;;
238 -libdir |
--libdir |
--libdi |
--libd)
240 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
241 libdir
="$ac_optarg" ;;
243 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
244 |
--libexe |
--libex |
--libe)
245 ac_prev
=libexecdir
;;
246 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
247 |
--libexe=* |
--libex=* |
--libe=*)
248 libexecdir
="$ac_optarg" ;;
250 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
251 |
--localstate |
--localstat |
--localsta |
--localst \
252 |
--locals |
--local |
--loca |
--loc |
--lo)
253 ac_prev
=localstatedir
;;
254 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
255 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
256 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
257 localstatedir
="$ac_optarg" ;;
259 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
261 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
262 mandir
="$ac_optarg" ;;
265 # Obsolete; use --without-fp.
268 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
272 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
273 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
276 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
277 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
278 |
--oldin |
--oldi |
--old |
--ol |
--o)
279 ac_prev
=oldincludedir
;;
280 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
281 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
282 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
283 oldincludedir
="$ac_optarg" ;;
285 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
287 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
288 prefix
="$ac_optarg" ;;
290 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
291 |
--program-pre |
--program-pr |
--program-p)
292 ac_prev
=program_prefix
;;
293 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
294 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
295 program_prefix
="$ac_optarg" ;;
297 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
298 |
--program-suf |
--program-su |
--program-s)
299 ac_prev
=program_suffix
;;
300 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
301 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
302 program_suffix
="$ac_optarg" ;;
304 -program-transform-name |
--program-transform-name \
305 |
--program-transform-nam |
--program-transform-na \
306 |
--program-transform-n |
--program-transform- \
307 |
--program-transform |
--program-transfor \
308 |
--program-transfo |
--program-transf \
309 |
--program-trans |
--program-tran \
310 |
--progr-tra |
--program-tr |
--program-t)
311 ac_prev
=program_transform_name
;;
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 program_transform_name
="$ac_optarg" ;;
321 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
322 |
-silent |
--silent |
--silen |
--sile |
--sil)
325 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
327 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
329 sbindir
="$ac_optarg" ;;
331 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
332 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
333 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
335 ac_prev
=sharedstatedir
;;
336 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
337 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
338 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
340 sharedstatedir
="$ac_optarg" ;;
342 -site |
--site |
--sit)
344 -site=* |
--site=* |
--sit=*)
347 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
349 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
350 srcdir
="$ac_optarg" ;;
352 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
353 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
354 ac_prev
=sysconfdir
;;
355 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
356 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
357 sysconfdir
="$ac_optarg" ;;
359 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
361 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
362 target
="$ac_optarg" ;;
364 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
367 -version |
--version |
--versio |
--versi |
--vers)
368 echo "configure generated by autoconf version 2.13"
372 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
373 # Reject names that are not valid shell variable names.
374 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
375 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
377 ac_package
=`echo $ac_package| sed 's/-/_/g'`
382 eval "with_${ac_package}='$ac_optarg'" ;;
384 -without-* |
--without-*)
385 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
386 # Reject names that are not valid shell variable names.
387 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
388 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
390 ac_package
=`echo $ac_package| sed 's/-/_/g'`
391 eval "with_${ac_package}=no" ;;
394 # Obsolete; use --with-x.
397 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
398 |
--x-incl |
--x-inc |
--x-in |
--x-i)
399 ac_prev
=x_includes
;;
400 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
401 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
402 x_includes
="$ac_optarg" ;;
404 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
405 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
406 ac_prev
=x_libraries
;;
407 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
408 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
409 x_libraries
="$ac_optarg" ;;
411 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
415 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
416 echo "configure: warning: $ac_option: invalid host type" 1>&2
418 if test "x$nonopt" != xNONE
; then
419 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
427 if test -n "$ac_prev"; then
428 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
431 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
433 # File descriptor usage:
436 # 2 errors and warnings
437 # 3 some systems may open it to /dev/tty
438 # 4 used on the Kubota Titan
439 # 6 checking for... messages and results
440 # 5 compiler messages saved in config.log
441 if test "$silent" = yes; then
449 This file contains any messages produced by compilers while
450 running configure, to aid debugging if configure makes a mistake.
453 # Strip out --no-create and --no-recursion so they do not pile up.
454 # Also quote any args containing shell metacharacters.
459 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
460 |
--no-cr |
--no-c) ;;
461 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
462 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
463 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
464 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
465 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
470 # Only set these to C if already set. These must not be set unconditionally
471 # because not all systems understand e.g. LANG=C (notably SCO).
472 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
473 # Non-C LC_CTYPE values break the ctype check.
474 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
475 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
476 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
477 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
479 # confdefs.h avoids OS command line length limits that DEFS can exceed.
480 rm -rf conftest
* confdefs.h
481 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
484 # A filename unique to this package, relative to the directory that
485 # configure is in, which we can look for to find out if srcdir is correct.
486 ac_unique_file
=dump
/dump.h
488 # Find the source files, if location was not specified.
489 if test -z "$srcdir"; then
490 ac_srcdir_defaulted
=yes
491 # Try the directory containing this script, then its parent.
493 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
494 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
496 if test ! -r $srcdir/$ac_unique_file; then
500 ac_srcdir_defaulted
=no
502 if test ! -r $srcdir/$ac_unique_file; then
503 if test "$ac_srcdir_defaulted" = yes; then
504 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
506 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
509 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
511 # Prefer explicitly selected file to automatically selected ones.
512 if test -z "$CONFIG_SITE"; then
513 if test "x$prefix" != xNONE
; then
514 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
516 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
519 for ac_site_file
in $CONFIG_SITE; do
520 if test -r "$ac_site_file"; then
521 echo "loading site script $ac_site_file"
526 if test -r "$cache_file"; then
527 echo "loading cache $cache_file"
530 echo "creating cache $cache_file"
535 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
536 ac_cpp
='$CPP $CPPFLAGS'
537 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
538 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
539 cross_compiling
=$ac_cv_prog_cc_cross
543 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
544 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
545 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
552 ac_n
= ac_c
='\c' ac_t
=
562 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
563 echo "configure:564: checking whether ${MAKE-make} sets \${MAKE}" >&5
564 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
565 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
566 echo $ac_n "(cached) $ac_c" 1>&6
568 cat > conftestmake
<<\EOF
570 @
echo 'ac_maketemp="${MAKE}"'
572 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
573 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
574 if test -n "$ac_maketemp"; then
575 eval ac_cv_prog_make_
${ac_make}_set
=yes
577 eval ac_cv_prog_make_
${ac_make}_set
=no
581 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
582 echo "$ac_t""yes" 1>&6
585 echo "$ac_t""no" 1>&6
586 SET_MAKE
="MAKE=${MAKE-make}"
589 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
590 echo "configure:591: checking whether ln -s works" >&5
591 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
592 echo $ac_n "(cached) $ac_c" 1>&6
595 if ln -s X conftestdata
2>/dev
/null
598 ac_cv_prog_LN_S
="ln -s"
603 LN_S
="$ac_cv_prog_LN_S"
604 if test "$ac_cv_prog_LN_S" = "ln -s"; then
605 echo "$ac_t""yes" 1>&6
607 echo "$ac_t""no" 1>&6
610 # Extract the first word of "cp", so it can be a program name with args.
611 set dummy
cp; ac_word
=$2
612 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
613 echo "configure:614: checking for $ac_word" >&5
614 if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then
615 echo $ac_n "(cached) $ac_c" 1>&6
619 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
622 ac_cv_path_CP
="$CP" # Let the user override the test with a dos path.
625 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
627 for ac_dir
in $ac_dummy; do
628 test -z "$ac_dir" && ac_dir
=.
629 if test -f $ac_dir/$ac_word; then
630 ac_cv_path_CP
="$ac_dir/$ac_word"
635 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
640 if test -n "$CP"; then
641 echo "$ac_t""$CP" 1>&6
643 echo "$ac_t""no" 1>&6
646 # Extract the first word of "mv", so it can be a program name with args.
647 set dummy
mv; ac_word
=$2
648 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
649 echo "configure:650: checking for $ac_word" >&5
650 if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then
651 echo $ac_n "(cached) $ac_c" 1>&6
655 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
658 ac_cv_path_MV
="$MV" # Let the user override the test with a dos path.
661 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
663 for ac_dir
in $ac_dummy; do
664 test -z "$ac_dir" && ac_dir
=.
665 if test -f $ac_dir/$ac_word; then
666 ac_cv_path_MV
="$ac_dir/$ac_word"
671 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
676 if test -n "$MV"; then
677 echo "$ac_t""$MV" 1>&6
679 echo "$ac_t""no" 1>&6
682 # Extract the first word of "rm", so it can be a program name with args.
683 set dummy
rm; ac_word
=$2
684 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
685 echo "configure:686: checking for $ac_word" >&5
686 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
687 echo $ac_n "(cached) $ac_c" 1>&6
691 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
694 ac_cv_path_RM
="$RM" # Let the user override the test with a dos path.
697 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
699 for ac_dir
in $ac_dummy; do
700 test -z "$ac_dir" && ac_dir
=.
701 if test -f $ac_dir/$ac_word; then
702 ac_cv_path_RM
="$ac_dir/$ac_word"
707 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
712 if test -n "$RM"; then
713 echo "$ac_t""$RM" 1>&6
715 echo "$ac_t""no" 1>&6
719 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
720 if test -f $ac_dir/install-sh
; then
722 ac_install_sh
="$ac_aux_dir/install-sh -c"
724 elif test -f $ac_dir/install.sh
; then
726 ac_install_sh
="$ac_aux_dir/install.sh -c"
730 if test -z "$ac_aux_dir"; then
731 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
733 ac_config_guess
=$ac_aux_dir/config.guess
734 ac_config_sub
=$ac_aux_dir/config.sub
735 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
738 # Make sure we can run config.sub.
739 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
740 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
743 echo $ac_n "checking host system type""... $ac_c" 1>&6
744 echo "configure:745: checking host system type" >&5
747 case "$host_alias" in
751 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
752 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
754 *) host_alias
=$nonopt ;;
758 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
759 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
760 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
761 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
762 echo "$ac_t""$host" 1>&6
764 echo $ac_n "checking build system type""... $ac_c" 1>&6
765 echo "configure:766: checking build system type" >&5
768 case "$build_alias" in
771 NONE
) build_alias
=$host_alias ;;
772 *) build_alias
=$nonopt ;;
776 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
777 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
778 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
779 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
780 echo "$ac_t""$build" 1>&6
782 if test $host != $build; then
783 ac_tool_prefix
=${host_alias}-
788 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
789 set dummy
${ac_tool_prefix}ar; ac_word
=$2
790 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
791 echo "configure:792: checking for $ac_word" >&5
792 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
793 echo $ac_n "(cached) $ac_c" 1>&6
795 if test -n "$AR"; then
796 ac_cv_prog_AR
="$AR" # Let the user override the test.
798 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
800 for ac_dir
in $ac_dummy; do
801 test -z "$ac_dir" && ac_dir
=.
802 if test -f $ac_dir/$ac_word; then
803 ac_cv_prog_AR
="${ac_tool_prefix}ar"
811 if test -n "$AR"; then
812 echo "$ac_t""$AR" 1>&6
814 echo "$ac_t""no" 1>&6
818 if test -z "$ac_cv_prog_AR"; then
819 if test -n "$ac_tool_prefix"; then
820 # Extract the first word of "ar", so it can be a program name with args.
821 set dummy
ar; ac_word
=$2
822 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
823 echo "configure:824: checking for $ac_word" >&5
824 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
825 echo $ac_n "(cached) $ac_c" 1>&6
827 if test -n "$AR"; then
828 ac_cv_prog_AR
="$AR" # Let the user override the test.
830 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
832 for ac_dir
in $ac_dummy; do
833 test -z "$ac_dir" && ac_dir
=.
834 if test -f $ac_dir/$ac_word; then
840 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
844 if test -n "$AR"; then
845 echo "$ac_t""$AR" 1>&6
847 echo "$ac_t""no" 1>&6
855 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
856 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
857 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
858 echo "configure:859: checking for $ac_word" >&5
859 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
860 echo $ac_n "(cached) $ac_c" 1>&6
862 if test -n "$RANLIB"; then
863 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
865 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
867 for ac_dir
in $ac_dummy; do
868 test -z "$ac_dir" && ac_dir
=.
869 if test -f $ac_dir/$ac_word; then
870 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
877 RANLIB
="$ac_cv_prog_RANLIB"
878 if test -n "$RANLIB"; then
879 echo "$ac_t""$RANLIB" 1>&6
881 echo "$ac_t""no" 1>&6
885 if test -z "$ac_cv_prog_RANLIB"; then
886 if test -n "$ac_tool_prefix"; then
887 # Extract the first word of "ranlib", so it can be a program name with args.
888 set dummy ranlib
; ac_word
=$2
889 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
890 echo "configure:891: checking for $ac_word" >&5
891 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
892 echo $ac_n "(cached) $ac_c" 1>&6
894 if test -n "$RANLIB"; then
895 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
897 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
899 for ac_dir
in $ac_dummy; do
900 test -z "$ac_dir" && ac_dir
=.
901 if test -f $ac_dir/$ac_word; then
902 ac_cv_prog_RANLIB
="ranlib"
907 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
910 RANLIB
="$ac_cv_prog_RANLIB"
911 if test -n "$RANLIB"; then
912 echo "$ac_t""$RANLIB" 1>&6
914 echo "$ac_t""no" 1>&6
922 # Extract the first word of "${ac_tool_prefix}patch", so it can be a program name with args.
923 set dummy
${ac_tool_prefix}patch; ac_word
=$2
924 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
925 echo "configure:926: checking for $ac_word" >&5
926 if eval "test \"`echo '$''{'ac_cv_prog_PATCH'+set}'`\" = set"; then
927 echo $ac_n "(cached) $ac_c" 1>&6
929 if test -n "$PATCH"; then
930 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
932 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
934 for ac_dir
in $ac_dummy; do
935 test -z "$ac_dir" && ac_dir
=.
936 if test -f $ac_dir/$ac_word; then
937 ac_cv_prog_PATCH
="${ac_tool_prefix}patch"
944 PATCH
="$ac_cv_prog_PATCH"
945 if test -n "$PATCH"; then
946 echo "$ac_t""$PATCH" 1>&6
948 echo "$ac_t""no" 1>&6
952 if test -z "$ac_cv_prog_PATCH"; then
953 if test -n "$ac_tool_prefix"; then
954 # Extract the first word of "patch", so it can be a program name with args.
955 set dummy
patch; ac_word
=$2
956 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
957 echo "configure:958: checking for $ac_word" >&5
958 if eval "test \"`echo '$''{'ac_cv_prog_PATCH'+set}'`\" = set"; then
959 echo $ac_n "(cached) $ac_c" 1>&6
961 if test -n "$PATCH"; then
962 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
964 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
966 for ac_dir
in $ac_dummy; do
967 test -z "$ac_dir" && ac_dir
=.
968 if test -f $ac_dir/$ac_word; then
969 ac_cv_prog_PATCH
="patch"
974 test -z "$ac_cv_prog_PATCH" && ac_cv_prog_PATCH
=":"
977 PATCH
="$ac_cv_prog_PATCH"
978 if test -n "$PATCH"; then
979 echo "$ac_t""$PATCH" 1>&6
981 echo "$ac_t""no" 1>&6
989 # Extract the first word of "gcc", so it can be a program name with args.
990 set dummy gcc
; ac_word
=$2
991 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
992 echo "configure:993: checking for $ac_word" >&5
993 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
994 echo $ac_n "(cached) $ac_c" 1>&6
996 if test -n "$CC"; then
997 ac_cv_prog_CC
="$CC" # Let the user override the test.
999 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1001 for ac_dir
in $ac_dummy; do
1002 test -z "$ac_dir" && ac_dir
=.
1003 if test -f $ac_dir/$ac_word; then
1012 if test -n "$CC"; then
1013 echo "$ac_t""$CC" 1>&6
1015 echo "$ac_t""no" 1>&6
1018 if test -z "$CC"; then
1019 # Extract the first word of "cc", so it can be a program name with args.
1020 set dummy cc
; ac_word
=$2
1021 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1022 echo "configure:1023: checking for $ac_word" >&5
1023 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1024 echo $ac_n "(cached) $ac_c" 1>&6
1026 if test -n "$CC"; then
1027 ac_cv_prog_CC
="$CC" # Let the user override the test.
1029 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1032 for ac_dir
in $ac_dummy; do
1033 test -z "$ac_dir" && ac_dir
=.
1034 if test -f $ac_dir/$ac_word; then
1035 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1036 ac_prog_rejected
=yes
1044 if test $ac_prog_rejected = yes; then
1045 # We found a bogon in the path, so make sure we never use it.
1046 set dummy
$ac_cv_prog_CC
1048 if test $# -gt 0; then
1049 # We chose a different compiler from the bogus one.
1050 # However, it has the same basename, so the bogon will be chosen
1051 # first if we set CC to just the basename; use the full file name.
1053 set dummy
"$ac_dir/$ac_word" "$@"
1061 if test -n "$CC"; then
1062 echo "$ac_t""$CC" 1>&6
1064 echo "$ac_t""no" 1>&6
1067 if test -z "$CC"; then
1068 case "`uname -s`" in
1070 # Extract the first word of "cl", so it can be a program name with args.
1071 set dummy cl
; ac_word
=$2
1072 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1073 echo "configure:1074: checking for $ac_word" >&5
1074 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1075 echo $ac_n "(cached) $ac_c" 1>&6
1077 if test -n "$CC"; then
1078 ac_cv_prog_CC
="$CC" # Let the user override the test.
1080 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1082 for ac_dir
in $ac_dummy; do
1083 test -z "$ac_dir" && ac_dir
=.
1084 if test -f $ac_dir/$ac_word; then
1093 if test -n "$CC"; then
1094 echo "$ac_t""$CC" 1>&6
1096 echo "$ac_t""no" 1>&6
1101 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1104 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1105 echo "configure:1106: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1108 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1109 ac_cpp
='$CPP $CPPFLAGS'
1110 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1111 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1112 cross_compiling
=$ac_cv_prog_cc_cross
1114 cat > conftest.
$ac_ext << EOF
1116 #line 1117 "configure"
1117 #include "confdefs.h"
1121 if { (eval echo configure
:1122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1122 ac_cv_prog_cc_works
=yes
1123 # If we can't run a trivial program, we are probably using a cross compiler.
1124 if (.
/conftest
; exit) 2>/dev
/null
; then
1125 ac_cv_prog_cc_cross
=no
1127 ac_cv_prog_cc_cross
=yes
1130 echo "configure: failed program was:" >&5
1131 cat conftest.
$ac_ext >&5
1132 ac_cv_prog_cc_works
=no
1136 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1137 ac_cpp
='$CPP $CPPFLAGS'
1138 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1139 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1140 cross_compiling
=$ac_cv_prog_cc_cross
1142 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1143 if test $ac_cv_prog_cc_works = no
; then
1144 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1146 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1147 echo "configure:1148: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1148 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1149 cross_compiling
=$ac_cv_prog_cc_cross
1151 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1152 echo "configure:1153: checking whether we are using GNU C" >&5
1153 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1154 echo $ac_n "(cached) $ac_c" 1>&6
1156 cat > conftest.c
<<EOF
1161 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1168 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1170 if test $ac_cv_prog_gcc = yes; then
1176 ac_test_CFLAGS
="${CFLAGS+set}"
1177 ac_save_CFLAGS
="$CFLAGS"
1179 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1180 echo "configure:1181: checking whether ${CC-cc} accepts -g" >&5
1181 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1182 echo $ac_n "(cached) $ac_c" 1>&6
1184 echo 'void f(){}' > conftest.c
1185 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1194 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1195 if test "$ac_test_CFLAGS" = set; then
1196 CFLAGS
="$ac_save_CFLAGS"
1197 elif test $ac_cv_prog_cc_g = yes; then
1198 if test "$GCC" = yes; then
1204 if test "$GCC" = yes; then
1211 # Find a good install program. We prefer a C program (faster),
1212 # so one script is as good as another. But avoid the broken or
1213 # incompatible versions:
1214 # SysV /etc/install, /usr/sbin/install
1215 # SunOS /usr/etc/install
1216 # IRIX /sbin/install
1218 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1219 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1220 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1221 # ./install, which can be erroneously created by make from ./install.sh.
1222 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1223 echo "configure:1224: checking for a BSD compatible install" >&5
1224 if test -z "$INSTALL"; then
1225 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1226 echo $ac_n "(cached) $ac_c" 1>&6
1228 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
1229 for ac_dir
in $PATH; do
1230 # Account for people who put trailing slashes in PATH elements.
1232 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1234 # OSF1 and SCO ODT 3.0 have their own names for install.
1235 # Don't use installbsd from OSF since it installs stuff as root
1237 for ac_prog
in ginstall scoinst
install; do
1238 if test -f $ac_dir/$ac_prog; then
1239 if test $ac_prog = install &&
1240 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1241 # AIX install. It has an incompatible calling convention.
1244 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1255 if test "${ac_cv_path_install+set}" = set; then
1256 INSTALL
="$ac_cv_path_install"
1258 # As a last resort, use the slow shell script. We don't cache a
1259 # path for INSTALL within a source directory, because that will
1260 # break other packages using the cache if that directory is
1261 # removed, or if the path is relative.
1262 INSTALL
="$ac_install_sh"
1265 echo "$ac_t""$INSTALL" 1>&6
1267 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1268 # It thinks the first close brace ends the variable substitution.
1269 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1271 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
1273 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1276 # Check whether --enable-debug or --disable-debug was given.
1277 if test "${enable_debug+set}" = set; then
1278 enableval
="$enable_debug"
1279 if test "$enableval" = "no"
1284 DUMPDEBUG
="-DFDEBUG -DTDEBUG -DWRITEDEBUG -DDIRDEBUG"
1285 RESTOREDEBUG
="-DDIRDEBUG"
1296 # Check whether --enable-static or --disable-static was given.
1297 if test "${enable_static+set}" = set; then
1298 enableval
="$enable_static"
1299 if test "$enableval" = "no"
1308 echo "Linking dump and restore dynamically by default"
1314 # Check whether --enable-rmt or --disable-rmt was given.
1315 if test "${enable_rmt+set}" = set; then
1316 enableval
="$enable_rmt"
1317 if test "$enableval" = "no"
1323 RMTMAKEFILE
="rmt/Makefile"
1328 echo "Not compiling rmt by default"
1334 # Check whether --enable-kerberos or --disable-kerberos was given.
1335 if test "${enable_kerberos+set}" = set; then
1336 enableval
="$enable_kerberos"
1337 if test "$enableval" = "yes"
1339 OPTDEFS
="-DKERBEROS"
1346 echo "Not compiling kerberos extensions by default"
1352 # Check whether --enable-readline or --disable-readline was given.
1353 if test "${enable_readline+set}" = set; then
1354 enableval
="$enable_readline"
1355 if test "$enableval" = "no"
1359 READLINE
="-lreadline"
1360 cat >> confdefs.h
<<\EOF
1361 #define HAVE_READLINE 1
1368 echo "Not including readline support by default"
1374 # Check whether --with-cc or --without-cc was given.
1375 if test "${with_cc+set}" = set; then
1377 echo "$ac_t""CC=$withval" 1>&6
1380 if test -z "$CC" ; then CC
=cc
; fi
1381 echo "$ac_t""CC defaults to $CC" 1>&6
1386 # Check whether --with-linker or --without-linker was given.
1387 if test "${with_linker+set}" = set; then
1388 withval
="$with_linker"
1389 echo "$ac_t""LD=$withval" 1>&6
1392 if test -z "$LD" ; then LD
=$CC; fi
1393 echo "$ac_t""LD defaults to $LD" 1>&6
1398 # Check whether --with-ccopts or --without-ccopts was given.
1399 if test "${with_ccopts+set}" = set; then
1400 withval
="$with_ccopts"
1401 echo "$ac_t""CCOPTS is $withval" 1>&6
1403 CFLAGS
="$CFLAGS $withval"
1409 # Check whether --with-ldopts or --without-ldopts was given.
1410 if test "${with_ldopts+set}" = set; then
1411 withval
="$with_ldopts"
1412 echo "$ac_t""LDFLAGS is $withval" 1>&6
1419 # Check whether --with-binowner or --without-binowner was given.
1420 if test "${with_binowner+set}" = set; then
1421 withval
="$with_binowner"
1422 echo "$ac_t""BINOWNER is $withval" 1>&6
1426 echo "BINOWNER defaults to $BINOWNER"
1431 # Check whether --with-bingrp or --without-bingrp was given.
1432 if test "${with_bingrp+set}" = set; then
1433 withval
="$with_bingrp"
1434 echo "$ac_t""BINGRP is $withval" 1>&6
1438 echo "BINGRP defaults to $BINGRP"
1443 # Check whether --with-binmode or --without-binmode was given.
1444 if test "${with_binmode+set}" = set; then
1445 withval
="$with_binmode"
1446 echo "$ac_t""BINMODE is $withval" 1>&6
1450 echo "BINMODE defaults to $BINMODE"
1455 # Check whether --with-manowner or --without-manowner was given.
1456 if test "${with_manowner+set}" = set; then
1457 withval
="$with_manowner"
1458 echo "$ac_t""MANOWNER is $withval" 1>&6
1462 echo "MANOWNER defaults to $MANOWNER"
1467 # Check whether --with-mangrp or --without-mangrp was given.
1468 if test "${with_mangrp+set}" = set; then
1469 withval
="$with_mangrp"
1470 echo "$ac_t""MANGRP is $withval" 1>&6
1474 echo "MANGRP defaults to $MANGRP"
1479 # Check whether --with-manmode or --without-manmode was given.
1480 if test "${with_manmode+set}" = set; then
1481 withval
="$with_manmode"
1482 echo "$ac_t""MANMODE is $withval" 1>&6
1486 echo "MANMODE defaults to $MANMODE"
1491 # Check whether --with-dumpdatespath or --without-dumpdatespath was given.
1492 if test "${with_dumpdatespath+set}" = set; then
1493 withval
="$with_dumpdatespath"
1494 echo "$ac_t""DUMPDATESPATH is $withval" 1>&6
1495 DUMPDATESPATH
=$withval
1497 DUMPDATESPATH
="/etc/dumpdates"
1498 echo "DUMPDATESPATH defaults to $DUMPDATESPATH"
1503 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1504 echo "configure:1505: checking how to run the C preprocessor" >&5
1505 # On Suns, sometimes $CPP names a directory.
1506 if test -n "$CPP" && test -d "$CPP"; then
1509 if test -z "$CPP"; then
1510 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1511 echo $ac_n "(cached) $ac_c" 1>&6
1513 # This must be in double quotes, not single quotes, because CPP may get
1514 # substituted into the Makefile and "${CC-cc}" will confuse make.
1516 # On the NeXT, cc -E runs the code through the compiler's parser,
1517 # not just through cpp.
1518 cat > conftest.
$ac_ext <<EOF
1519 #line 1520 "configure"
1520 #include "confdefs.h"
1524 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1525 { (eval echo configure
:1526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1526 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1527 if test -z "$ac_err"; then
1531 echo "configure: failed program was:" >&5
1532 cat conftest.
$ac_ext >&5
1534 CPP
="${CC-cc} -E -traditional-cpp"
1535 cat > conftest.
$ac_ext <<EOF
1536 #line 1537 "configure"
1537 #include "confdefs.h"
1541 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1542 { (eval echo configure
:1543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1543 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1544 if test -z "$ac_err"; then
1548 echo "configure: failed program was:" >&5
1549 cat conftest.
$ac_ext >&5
1551 CPP
="${CC-cc} -nologo -E"
1552 cat > conftest.
$ac_ext <<EOF
1553 #line 1554 "configure"
1554 #include "confdefs.h"
1558 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1559 { (eval echo configure
:1560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1560 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1561 if test -z "$ac_err"; then
1565 echo "configure: failed program was:" >&5
1566 cat conftest.
$ac_ext >&5
1575 ac_cv_prog_CPP
="$CPP"
1577 CPP
="$ac_cv_prog_CPP"
1579 ac_cv_prog_CPP
="$CPP"
1581 echo "$ac_t""$CPP" 1>&6
1583 ac_safe
=`echo "ext2fs/ext2fs.h" | sed 'y%./+-%__p_%'`
1584 echo $ac_n "checking for ext2fs/ext2fs.h""... $ac_c" 1>&6
1585 echo "configure:1586: checking for ext2fs/ext2fs.h" >&5
1586 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1587 echo $ac_n "(cached) $ac_c" 1>&6
1589 cat > conftest.
$ac_ext <<EOF
1590 #line 1591 "configure"
1591 #include "confdefs.h"
1592 #include <ext2fs/ext2fs.h>
1594 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1595 { (eval echo configure
:1596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1596 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1597 if test -z "$ac_err"; then
1599 eval "ac_cv_header_$ac_safe=yes"
1602 echo "configure: failed program was:" >&5
1603 cat conftest.
$ac_ext >&5
1605 eval "ac_cv_header_$ac_safe=no"
1609 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1610 echo "$ac_t""yes" 1>&6
1613 echo "$ac_t""no" 1>&6
1617 echo $ac_n "checking for ext2fs_open in -lext2fs""... $ac_c" 1>&6
1618 echo "configure:1619: checking for ext2fs_open in -lext2fs" >&5
1619 ac_lib_var
=`echo ext2fs'_'ext2fs_open | sed 'y%./+-%__p_%'`
1620 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1621 echo $ac_n "(cached) $ac_c" 1>&6
1623 ac_save_LIBS
="$LIBS"
1624 LIBS
="-lext2fs -lcom_err $LIBS"
1625 cat > conftest.
$ac_ext <<EOF
1626 #line 1627 "configure"
1627 #include "confdefs.h"
1628 /* Override any gcc2 internal prototype to avoid an error. */
1629 /* We use char because int might match the return type of a gcc2
1630 builtin and then its argument prototype would still apply. */
1637 if { (eval echo configure
:1638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1639 eval "ac_cv_lib_$ac_lib_var=yes"
1641 echo "configure: failed program was:" >&5
1642 cat conftest.
$ac_ext >&5
1644 eval "ac_cv_lib_$ac_lib_var=no"
1647 LIBS
="$ac_save_LIBS"
1650 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1651 echo "$ac_t""yes" 1>&6
1654 echo "$ac_t""no" 1>&6
1658 if test "$ext2fs_h" = no
-o "$ext2fs_lib" = no
; then
1659 { echo "configure: error: You need to install the Ext2fs libraries from the E2fsprogs distribution first - hint: make install-libs" 1>&2; exit 1; }
1662 ac_safe
=`echo "readline/readline.h" | sed 'y%./+-%__p_%'`
1663 echo $ac_n "checking for readline/readline.h""... $ac_c" 1>&6
1664 echo "configure:1665: checking for readline/readline.h" >&5
1665 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1666 echo $ac_n "(cached) $ac_c" 1>&6
1668 cat > conftest.
$ac_ext <<EOF
1669 #line 1670 "configure"
1670 #include "confdefs.h"
1671 #include <readline/readline.h>
1673 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1674 { (eval echo configure
:1675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1675 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1676 if test -z "$ac_err"; then
1678 eval "ac_cv_header_$ac_safe=yes"
1681 echo "configure: failed program was:" >&5
1682 cat conftest.
$ac_ext >&5
1684 eval "ac_cv_header_$ac_safe=no"
1688 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1689 echo "$ac_t""yes" 1>&6
1692 echo "$ac_t""no" 1>&6
1696 echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
1697 echo "configure:1698: checking for readline in -lreadline" >&5
1698 ac_lib_var
=`echo readline'_'readline | sed 'y%./+-%__p_%'`
1699 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1700 echo $ac_n "(cached) $ac_c" 1>&6
1702 ac_save_LIBS
="$LIBS"
1703 LIBS
="-lreadline $LIBS"
1704 cat > conftest.
$ac_ext <<EOF
1705 #line 1706 "configure"
1706 #include "confdefs.h"
1707 /* Override any gcc2 internal prototype to avoid an error. */
1708 /* We use char because int might match the return type of a gcc2
1709 builtin and then its argument prototype would still apply. */
1716 if { (eval echo configure
:1717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1718 eval "ac_cv_lib_$ac_lib_var=yes"
1720 echo "configure: failed program was:" >&5
1721 cat conftest.
$ac_ext >&5
1723 eval "ac_cv_lib_$ac_lib_var=no"
1726 LIBS
="$ac_save_LIBS"
1729 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1730 echo "$ac_t""yes" 1>&6
1733 echo "$ac_t""no" 1>&6
1737 if test "$readline_h" = no
-o "$readline_lib" = no
; then
1738 if test "$READLINE" = "-lreadline"; then
1739 { echo "configure: error: You need to install the GNU readline libraries first" 1>&2; exit 1; }
1743 for ac_func
in err errx verr verrx vwarn vwarnx warn warnx realpath lchown
1745 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1746 echo "configure:1747: checking for $ac_func" >&5
1747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1748 echo $ac_n "(cached) $ac_c" 1>&6
1750 cat > conftest.
$ac_ext <<EOF
1751 #line 1752 "configure"
1752 #include "confdefs.h"
1753 /* System header to define __stub macros and hopefully few prototypes,
1754 which can conflict with char $ac_func(); below. */
1756 /* Override any gcc2 internal prototype to avoid an error. */
1757 /* We use char because int might match the return type of a gcc2
1758 builtin and then its argument prototype would still apply. */
1763 /* The GNU C library defines this for functions which it implements
1764 to always fail with ENOSYS. Some functions are actually named
1765 something starting with __ and the normal name is an alias. */
1766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1774 if { (eval echo configure
:1775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1776 eval "ac_cv_func_$ac_func=yes"
1778 echo "configure: failed program was:" >&5
1779 cat conftest.
$ac_ext >&5
1781 eval "ac_cv_func_$ac_func=no"
1786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1787 echo "$ac_t""yes" 1>&6
1788 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1789 cat >> confdefs.h
<<EOF
1790 #define $ac_tr_func 1
1794 echo "$ac_t""no" 1>&6
1798 echo $ac_n "checking for glob""... $ac_c" 1>&6
1799 echo "configure:1800: checking for glob" >&5
1800 if eval "test \"`echo '$''{'ac_cv_func_glob'+set}'`\" = set"; then
1801 echo $ac_n "(cached) $ac_c" 1>&6
1803 cat > conftest.
$ac_ext <<EOF
1804 #line 1805 "configure"
1805 #include "confdefs.h"
1806 /* System header to define __stub macros and hopefully few prototypes,
1807 which can conflict with char glob(); below. */
1809 /* Override any gcc2 internal prototype to avoid an error. */
1810 /* We use char because int might match the return type of a gcc2
1811 builtin and then its argument prototype would still apply. */
1816 /* The GNU C library defines this for functions which it implements
1817 to always fail with ENOSYS. Some functions are actually named
1818 something starting with __ and the normal name is an alias. */
1819 #if defined (__stub_glob) || defined (__stub___glob)
1827 if { (eval echo configure
:1828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1829 eval "ac_cv_func_glob=yes"
1831 echo "configure: failed program was:" >&5
1832 cat conftest.
$ac_ext >&5
1834 eval "ac_cv_func_glob=no"
1839 if eval "test \"`echo '$ac_cv_func_'glob`\" = yes"; then
1840 echo "$ac_t""yes" 1>&6
1843 echo "$ac_t""no" 1>&6
1847 if test "$ac_cv_func_glob" = "yes"; then
1848 cat > conftest.
$ac_ext <<EOF
1849 #line 1850 "configure"
1850 #include "confdefs.h"
1853 # ifdef GLOB_ALTDIRFUNC
1858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1859 egrep "yes" >/dev
/null
2>&1; then
1861 cat >> confdefs.h
<<\EOF
1871 if test "$noglob" = "yes"; then
1872 echo "Your system does not support extended glob, will use the internal routines"
1876 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1877 echo "configure:1878: checking for ANSI C header files" >&5
1878 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1879 echo $ac_n "(cached) $ac_c" 1>&6
1881 cat > conftest.
$ac_ext <<EOF
1882 #line 1883 "configure"
1883 #include "confdefs.h"
1889 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1890 { (eval echo configure
:1891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1891 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1892 if test -z "$ac_err"; then
1894 ac_cv_header_stdc
=yes
1897 echo "configure: failed program was:" >&5
1898 cat conftest.
$ac_ext >&5
1900 ac_cv_header_stdc
=no
1904 if test $ac_cv_header_stdc = yes; then
1905 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1906 cat > conftest.
$ac_ext <<EOF
1907 #line 1908 "configure"
1908 #include "confdefs.h"
1911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1912 egrep "memchr" >/dev
/null
2>&1; then
1916 ac_cv_header_stdc
=no
1922 if test $ac_cv_header_stdc = yes; then
1923 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1924 cat > conftest.
$ac_ext <<EOF
1925 #line 1926 "configure"
1926 #include "confdefs.h"
1929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1930 egrep "free" >/dev
/null
2>&1; then
1934 ac_cv_header_stdc
=no
1940 if test $ac_cv_header_stdc = yes; then
1941 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1942 if test "$cross_compiling" = yes; then
1945 cat > conftest.
$ac_ext <<EOF
1946 #line 1947 "configure"
1947 #include "confdefs.h"
1949 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1950 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1951 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1952 int main () { int i; for (i = 0; i < 256; i++)
1953 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1957 if { (eval echo configure
:1958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
1961 echo "configure: failed program was:" >&5
1962 cat conftest.
$ac_ext >&5
1964 ac_cv_header_stdc
=no
1972 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1973 if test $ac_cv_header_stdc = yes; then
1974 cat >> confdefs.h
<<\EOF
1975 #define STDC_HEADERS 1
1980 echo $ac_n "checking for quad_t""... $ac_c" 1>&6
1981 echo "configure:1982: checking for quad_t" >&5
1982 if eval "test \"`echo '$''{'ac_cv_type_quad_t'+set}'`\" = set"; then
1983 echo $ac_n "(cached) $ac_c" 1>&6
1985 cat > conftest.
$ac_ext <<EOF
1986 #line 1987 "configure"
1987 #include "confdefs.h"
1988 #include <sys/types.h>
1994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1995 egrep "(^|[^a-zA-Z_0-9])quad_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
1997 ac_cv_type_quad_t
=yes
2000 ac_cv_type_quad_t
=no
2005 echo "$ac_t""$ac_cv_type_quad_t" 1>&6
2006 if test $ac_cv_type_quad_t = no
; then
2007 cat >> confdefs.h
<<\EOF
2008 #define quad_t __s64
2013 echo $ac_n "checking for u_quad_t""... $ac_c" 1>&6
2014 echo "configure:2015: checking for u_quad_t" >&5
2015 if eval "test \"`echo '$''{'ac_cv_type_u_quad_t'+set}'`\" = set"; then
2016 echo $ac_n "(cached) $ac_c" 1>&6
2018 cat > conftest.
$ac_ext <<EOF
2019 #line 2020 "configure"
2020 #include "confdefs.h"
2021 #include <sys/types.h>
2027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2028 egrep "(^|[^a-zA-Z_0-9])u_quad_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2030 ac_cv_type_u_quad_t
=yes
2033 ac_cv_type_u_quad_t
=no
2038 echo "$ac_t""$ac_cv_type_u_quad_t" 1>&6
2039 if test $ac_cv_type_u_quad_t = no
; then
2040 cat >> confdefs.h
<<\EOF
2041 #define u_quad_t __u64
2047 top_builddir
=`cd .; pwd`
2050 test -d compat || mkdir compat
2051 test -d compat
/lib || mkdir compat
/lib
2054 cat > confcache
<<\EOF
2055 # This file is a shell script that caches the results of configure
2056 # tests run on this system so they can be shared between configure
2057 # scripts and configure runs. It is not useful on other systems.
2058 # If it contains results you don't want to keep, you may remove or edit it.
2060 # By default, configure uses ./config.cache as the cache file,
2061 # creating it if it does not exist already. You can give configure
2062 # the --cache-file=FILE option to use a different cache file; that is
2063 # what configure does when it calls configure scripts in
2064 # subdirectories, so they share the cache.
2065 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2066 # config.status only pays attention to the cache file if you give it the
2067 # --recheck option to rerun configure.
2070 # The following way of writing the cache mishandles newlines in values,
2071 # but we know of no workaround that is simple, portable, and efficient.
2072 # So, don't put newlines in cache variables' values.
2073 # Ultrix sh set writes to stderr and can't be redirected directly,
2074 # and sets the high bit in the cache file unless we assign to the vars.
2076 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2078 # `set' does not quote correctly, so add quotes (double-quote substitution
2079 # turns \\\\ into \\, and sed turns \\ into \).
2081 -e "s/'/'\\\\''/g" \
2082 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2085 # `set' quotes correctly as required by POSIX, so do not add quotes.
2086 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2089 if cmp -s $cache_file confcache
; then
2092 if test -w $cache_file; then
2093 echo "updating cache $cache_file"
2094 cat confcache
> $cache_file
2096 echo "not updating unwritable cache $cache_file"
2101 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2103 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2104 # Let make expand exec_prefix.
2105 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2107 # Any assignment to VPATH causes Sun make to only execute
2108 # the first set of double-colon rules, so remove it if not needed.
2109 # If there is a colon in the path, we need to keep it.
2110 if test "x$srcdir" = x.
; then
2111 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
2114 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2116 DEFS
=-DHAVE_CONFIG_H
2118 # Without the "./", some shells look in PATH for config.status.
2119 : ${CONFIG_STATUS=./config.status}
2121 echo creating
$CONFIG_STATUS
2122 rm -f $CONFIG_STATUS
2123 cat > $CONFIG_STATUS <<EOF
2125 # Generated automatically by configure.
2126 # Run this file to recreate the current configuration.
2127 # This directory was configured as follows,
2128 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2130 # $0 $ac_configure_args
2132 # Compiler output produced by configure, useful for debugging
2133 # configure, is in ./config.log if it exists.
2135 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2138 case "\$ac_option" in
2139 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2140 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2141 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2142 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2143 echo "$CONFIG_STATUS generated by autoconf version 2.13"
2145 -help | --help | --hel | --he | --h)
2146 echo "\$ac_cs_usage"; exit 0 ;;
2147 *) echo "\$ac_cs_usage"; exit 1 ;;
2151 ac_given_srcdir=$srcdir
2152 ac_given_INSTALL="$INSTALL"
2154 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
2156 cat >> $CONFIG_STATUS <<EOF
2158 # Protect against being on the right side of a sed subst in config.status.
2159 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2160 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2164 s%@CFLAGS@%$CFLAGS%g
2165 s%@CPPFLAGS@%$CPPFLAGS%g
2166 s%@CXXFLAGS@%$CXXFLAGS%g
2167 s%@FFLAGS@%$FFLAGS%g
2169 s%@LDFLAGS@%$LDFLAGS%g
2171 s%@exec_prefix@%$exec_prefix%g
2172 s%@prefix@%$prefix%g
2173 s%@program_transform_name@%$program_transform_name%g
2174 s%@bindir@%$bindir%g
2175 s%@sbindir@%$sbindir%g
2176 s%@libexecdir@%$libexecdir%g
2177 s%@datadir@%$datadir%g
2178 s%@sysconfdir@%$sysconfdir%g
2179 s%@sharedstatedir@%$sharedstatedir%g
2180 s%@localstatedir@%$localstatedir%g
2181 s%@libdir@%$libdir%g
2182 s%@includedir@%$includedir%g
2183 s%@oldincludedir@%$oldincludedir%g
2184 s%@infodir@%$infodir%g
2185 s%@mandir@%$mandir%g
2186 /@MCONFIG@/r $MCONFIG
2188 s%@SET_MAKE@%$SET_MAKE%g
2194 s%@host_alias@%$host_alias%g
2195 s%@host_cpu@%$host_cpu%g
2196 s%@host_vendor@%$host_vendor%g
2197 s%@host_os@%$host_os%g
2199 s%@build_alias@%$build_alias%g
2200 s%@build_cpu@%$build_cpu%g
2201 s%@build_vendor@%$build_vendor%g
2202 s%@build_os@%$build_os%g
2204 s%@RANLIB@%$RANLIB%g
2207 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2208 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2209 s%@INSTALL_DATA@%$INSTALL_DATA%g
2210 s%@DUMPDEBUG@%$DUMPDEBUG%g
2211 s%@RESTOREDEBUG@%$RESTOREDEBUG%g
2212 s%@STATIC@%$STATIC%g
2213 s%@RMTDIR@%$RMTDIR%g
2214 s%@OPTDEFS@%$OPTDEFS%g
2215 s%@READLINE@%$READLINE%g
2217 s%@CCOPTS@%$CCOPTS%g
2218 s%@BINOWNER@%$BINOWNER%g
2219 s%@BINGRP@%$BINGRP%g
2220 s%@BINMODE@%$BINMODE%g
2221 s%@MANOWNER@%$MANOWNER%g
2222 s%@MANGRP@%$MANGRP%g
2223 s%@MANMODE@%$MANMODE%g
2224 s%@DUMPDATESPATH@%$DUMPDATESPATH%g
2226 s%@top_builddir@%$top_builddir%g
2231 cat >> $CONFIG_STATUS <<\EOF
2233 # Split the substitutions into bite-sized pieces for seds with
2234 # small command number limits, like on Digital OSF/1 and HP-UX.
2235 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
2236 ac_file
=1 # Number of current file.
2237 ac_beg
=1 # First line for current file.
2238 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
2241 while $ac_more_lines; do
2242 if test $ac_beg -gt 1; then
2243 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
2245 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
2247 if test ! -s conftest.s
$ac_file; then
2249 rm -f conftest.s
$ac_file
2251 if test -z "$ac_sed_cmds"; then
2252 ac_sed_cmds
="sed -f conftest.s$ac_file"
2254 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
2256 ac_file
=`expr $ac_file + 1`
2258 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
2261 if test -z "$ac_sed_cmds"; then
2266 cat >> $CONFIG_STATUS <<EOF
2268 CONFIG_FILES=\${CONFIG_FILES-"MCONFIG Makefile common/Makefile compat/include/Makefile compat/lib/Makefile dump/Makefile restore/Makefile $RMTMAKEFILE"}
2270 cat >> $CONFIG_STATUS <<\EOF
2271 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
2272 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2274 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2275 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2276 *) ac_file_in
="${ac_file}.in" ;;
2279 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2281 # Remove last slash and all that follows it. Not all systems have dirname.
2282 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2283 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
2284 # The file is in a subdirectory.
2285 test ! -d "$ac_dir" && mkdir
"$ac_dir"
2286 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
2287 # A "../" for each directory in $ac_dir_suffix.
2288 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2290 ac_dir_suffix
= ac_dots
=
2293 case "$ac_given_srcdir" in
2295 if test -z "$ac_dots"; then top_srcdir
=.
2296 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2297 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
2299 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2300 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
2303 case "$ac_given_INSTALL" in
2304 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
2305 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
2308 echo creating
"$ac_file"
2310 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2312 *Makefile
*) ac_comsub
="1i\\
2313 # $configure_input" ;;
2317 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2319 s%@configure_input@%$configure_input%g
2320 s%@srcdir@%$srcdir%g
2321 s%@top_srcdir@%$top_srcdir%g
2322 s%@INSTALL@%$INSTALL%g
2323 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
2327 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2328 # NAME is the cpp macro being defined and VALUE is the value it is being given.
2330 # ac_d sets the value in "#define NAME VALUE" lines.
2331 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2332 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
2335 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2336 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2337 ac_uB
='\([ ]\)%\1#\2define\3'
2340 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2341 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2342 ac_eB
='$%\1#\2define\3'
2346 if test "${CONFIG_HEADERS+set}" != set; then
2348 cat >> $CONFIG_STATUS <<EOF
2349 CONFIG_HEADERS="config.h"
2351 cat >> $CONFIG_STATUS <<\EOF
2353 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
2354 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2356 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2357 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2358 *) ac_file_in
="${ac_file}.in" ;;
2361 echo creating
$ac_file
2363 rm -f conftest.frag conftest.
in conftest.out
2364 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2365 cat $ac_file_inputs > conftest.
in
2369 # Transform confdefs.h into a sed script conftest.vals that substitutes
2370 # the proper values into config.h.in to produce config.h. And first:
2371 # Protect against being on the right side of a sed subst in config.status.
2372 # Protect against being in an unquoted here document in config.status.
2374 cat > conftest.hdr
<<\EOF
2377 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2381 sed -n -f conftest.hdr confdefs.h > conftest.vals
2384 # This sed command replaces #undef with comments. This is necessary, for
2385 # example, in the case of _POSIX_SOURCE, which is predefined and required
2386 # on some systems where configure will not decide to define it.
2387 cat >> conftest.vals <<\EOF
2388 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2391 # Break up conftest.vals because some shells have a limit on
2392 # the size of here documents, and old seds have small limits too.
2397 ac_lines=`grep -c . conftest.vals
`
2398 # grep -c gives empty output for an empty file on some AIX systems.
2399 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2400 # Write a limited-size here document to conftest.frag.
2401 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2402 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2404 sed -f conftest.frag conftest.in > conftest.out
2406 mv conftest.out conftest.in
2408 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2410 mv conftest.tail conftest.vals
2414 cat >> $CONFIG_STATUS <<\EOF
2415 rm -f conftest.frag conftest.h
2416 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2417 cat conftest.in >> conftest.h
2419 if cmp -s $ac_file conftest.h 2>/dev/null; then
2420 echo "$ac_file is unchanged"
2423 # Remove last slash and all that follows it. Not all systems have dirname.
2424 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
2425 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2426 # The file is in a subdirectory.
2427 test ! -d "$ac_dir" && mkdir "$ac_dir"
2430 mv conftest.h $ac_file
2435 cat >> $CONFIG_STATUS <<EOF
2438 cat >> $CONFIG_STATUS <<\EOF
2442 chmod +x $CONFIG_STATUS
2443 rm -fr confdefs* $ac_clean_files
2444 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1