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 --with-cc=COMPILER select compiler to use"
25 --with-linker=LINKER select linker to use"
27 --with-ccopts=CCOPTS select compiler command line options"
29 --with-ldopts=LDOPTS select linker command line options"
31 --with-binowner=USER select owner for binaries"
33 --with-bingrp=GROUP select group for binaries"
35 --with-binmode=MODE select mode for binaries"
37 --with-manowner=USER select owner for manual pages"
39 --with-mangrp=group select group for manual pages"
41 --with-manmode=MODE select mode for manual pages"
43 --with-dumpdatespath=path select path for dumpdates file"
45 # Initialize some variables set by options.
46 # The variables have the same names as the options, with
47 # dashes changed to underlines.
49 cache_file
=.
/config.cache
58 program_transform_name
=s
,x
,x
,
66 bindir
='${exec_prefix}/bin'
67 sbindir
='${exec_prefix}/sbin'
68 libexecdir
='${exec_prefix}/libexec'
69 datadir
='${prefix}/share'
70 sysconfdir
='${prefix}/etc'
71 sharedstatedir
='${prefix}/com'
72 localstatedir
='${prefix}/var'
73 libdir
='${exec_prefix}/lib'
74 includedir
='${prefix}/include'
75 oldincludedir
='/usr/include'
76 infodir
='${prefix}/info'
77 mandir
='${prefix}/man'
79 # Initialize some other variables.
82 SHELL
=${CONFIG_SHELL-/bin/sh}
83 # Maximum number of lines to put in a shell here document.
90 # If the previous option needs an argument, assign it.
91 if test -n "$ac_prev"; then
92 eval "$ac_prev=\$ac_option"
98 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
102 # Accept the important Cygnus configure options, so we can diagnose typos.
106 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
108 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
109 bindir
="$ac_optarg" ;;
111 -build |
--build |
--buil |
--bui |
--bu)
113 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
114 build
="$ac_optarg" ;;
116 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
117 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
118 ac_prev
=cache_file
;;
119 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
120 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
121 cache_file
="$ac_optarg" ;;
123 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
125 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
127 datadir
="$ac_optarg" ;;
129 -disable-* |
--disable-*)
130 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
131 # Reject names that are not valid shell variable names.
132 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
133 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
135 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
136 eval "enable_${ac_feature}=no" ;;
138 -enable-* |
--enable-*)
139 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
140 # Reject names that are not valid shell variable names.
141 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
142 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
144 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
149 eval "enable_${ac_feature}='$ac_optarg'" ;;
151 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
152 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
153 |
--exec |
--exe |
--ex)
154 ac_prev
=exec_prefix
;;
155 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
156 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
157 |
--exec=* |
--exe=* |
--ex=*)
158 exec_prefix
="$ac_optarg" ;;
160 -gas |
--gas |
--ga |
--g)
161 # Obsolete; use --with-gas.
164 -help |
--help |
--hel |
--he)
165 # Omit some internal or obsolete options to make the list less imposing.
166 # This message is too long to be a string in the A/UX 3.1 sh.
168 Usage: configure [options] [host]
169 Options: [defaults in brackets after descriptions]
171 --cache-file=FILE cache test results in FILE
172 --help print this message
173 --no-create do not create output files
174 --quiet, --silent do not print \`checking...' messages
175 --version print the version of autoconf that created configure
176 Directory and file names:
177 --prefix=PREFIX install architecture-independent files in PREFIX
179 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
181 --bindir=DIR user executables in DIR [EPREFIX/bin]
182 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
183 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
184 --datadir=DIR read-only architecture-independent data in DIR
186 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
187 --sharedstatedir=DIR modifiable architecture-independent data in DIR
189 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
190 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
191 --includedir=DIR C header files in DIR [PREFIX/include]
192 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
193 --infodir=DIR info documentation in DIR [PREFIX/info]
194 --mandir=DIR man documentation in DIR [PREFIX/man]
195 --srcdir=DIR find the sources in DIR [configure dir or ..]
196 --program-prefix=PREFIX prepend PREFIX to installed program names
197 --program-suffix=SUFFIX append SUFFIX to installed program names
198 --program-transform-name=PROGRAM
199 run sed PROGRAM on installed program names
203 --build=BUILD configure for building on BUILD [BUILD=HOST]
204 --host=HOST configure for HOST [guessed]
205 --target=TARGET configure for TARGET [TARGET=HOST]
206 Features and packages:
207 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
208 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
209 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
210 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
211 --x-includes=DIR X include files are in DIR
212 --x-libraries=DIR X library files are in DIR
214 if test -n "$ac_help"; then
215 echo "--enable and --with options recognized:$ac_help"
219 -host |
--host |
--hos |
--ho)
221 -host=* |
--host=* |
--hos=* |
--ho=*)
224 -includedir |
--includedir |
--includedi |
--included |
--include \
225 |
--includ |
--inclu |
--incl |
--inc)
226 ac_prev
=includedir
;;
227 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
228 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
229 includedir
="$ac_optarg" ;;
231 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
233 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
234 infodir
="$ac_optarg" ;;
236 -libdir |
--libdir |
--libdi |
--libd)
238 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
239 libdir
="$ac_optarg" ;;
241 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
242 |
--libexe |
--libex |
--libe)
243 ac_prev
=libexecdir
;;
244 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
245 |
--libexe=* |
--libex=* |
--libe=*)
246 libexecdir
="$ac_optarg" ;;
248 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
249 |
--localstate |
--localstat |
--localsta |
--localst \
250 |
--locals |
--local |
--loca |
--loc |
--lo)
251 ac_prev
=localstatedir
;;
252 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
253 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
254 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
255 localstatedir
="$ac_optarg" ;;
257 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
259 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
260 mandir
="$ac_optarg" ;;
263 # Obsolete; use --without-fp.
266 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
270 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
271 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
274 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
275 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
276 |
--oldin |
--oldi |
--old |
--ol |
--o)
277 ac_prev
=oldincludedir
;;
278 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
279 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
280 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
281 oldincludedir
="$ac_optarg" ;;
283 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
285 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
286 prefix
="$ac_optarg" ;;
288 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
289 |
--program-pre |
--program-pr |
--program-p)
290 ac_prev
=program_prefix
;;
291 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
292 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
293 program_prefix
="$ac_optarg" ;;
295 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
296 |
--program-suf |
--program-su |
--program-s)
297 ac_prev
=program_suffix
;;
298 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
299 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
300 program_suffix
="$ac_optarg" ;;
302 -program-transform-name |
--program-transform-name \
303 |
--program-transform-nam |
--program-transform-na \
304 |
--program-transform-n |
--program-transform- \
305 |
--program-transform |
--program-transfor \
306 |
--program-transfo |
--program-transf \
307 |
--program-trans |
--program-tran \
308 |
--progr-tra |
--program-tr |
--program-t)
309 ac_prev
=program_transform_name
;;
310 -program-transform-name=* |
--program-transform-name=* \
311 |
--program-transform-nam=* |
--program-transform-na=* \
312 |
--program-transform-n=* |
--program-transform-=* \
313 |
--program-transform=* |
--program-transfor=* \
314 |
--program-transfo=* |
--program-transf=* \
315 |
--program-trans=* |
--program-tran=* \
316 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
317 program_transform_name
="$ac_optarg" ;;
319 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
320 |
-silent |
--silent |
--silen |
--sile |
--sil)
323 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
325 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
327 sbindir
="$ac_optarg" ;;
329 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
330 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
331 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
333 ac_prev
=sharedstatedir
;;
334 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
335 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
336 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
338 sharedstatedir
="$ac_optarg" ;;
340 -site |
--site |
--sit)
342 -site=* |
--site=* |
--sit=*)
345 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
347 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
348 srcdir
="$ac_optarg" ;;
350 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
351 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
352 ac_prev
=sysconfdir
;;
353 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
354 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
355 sysconfdir
="$ac_optarg" ;;
357 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
359 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
360 target
="$ac_optarg" ;;
362 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
365 -version |
--version |
--versio |
--versi |
--vers)
366 echo "configure generated by autoconf version 2.13"
370 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
371 # Reject names that are not valid shell variable names.
372 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
373 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
375 ac_package
=`echo $ac_package| sed 's/-/_/g'`
380 eval "with_${ac_package}='$ac_optarg'" ;;
382 -without-* |
--without-*)
383 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
384 # Reject names that are not valid shell variable names.
385 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
386 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
388 ac_package
=`echo $ac_package| sed 's/-/_/g'`
389 eval "with_${ac_package}=no" ;;
392 # Obsolete; use --with-x.
395 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
396 |
--x-incl |
--x-inc |
--x-in |
--x-i)
397 ac_prev
=x_includes
;;
398 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
399 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
400 x_includes
="$ac_optarg" ;;
402 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
403 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
404 ac_prev
=x_libraries
;;
405 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
406 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
407 x_libraries
="$ac_optarg" ;;
409 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
413 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
414 echo "configure: warning: $ac_option: invalid host type" 1>&2
416 if test "x$nonopt" != xNONE
; then
417 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
425 if test -n "$ac_prev"; then
426 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
429 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
431 # File descriptor usage:
434 # 2 errors and warnings
435 # 3 some systems may open it to /dev/tty
436 # 4 used on the Kubota Titan
437 # 6 checking for... messages and results
438 # 5 compiler messages saved in config.log
439 if test "$silent" = yes; then
447 This file contains any messages produced by compilers while
448 running configure, to aid debugging if configure makes a mistake.
451 # Strip out --no-create and --no-recursion so they do not pile up.
452 # Also quote any args containing shell metacharacters.
457 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
458 |
--no-cr |
--no-c) ;;
459 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
460 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
461 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
462 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
463 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
468 # Only set these to C if already set. These must not be set unconditionally
469 # because not all systems understand e.g. LANG=C (notably SCO).
470 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
471 # Non-C LC_CTYPE values break the ctype check.
472 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
473 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
474 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
475 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
477 # confdefs.h avoids OS command line length limits that DEFS can exceed.
478 rm -rf conftest
* confdefs.h
479 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
482 # A filename unique to this package, relative to the directory that
483 # configure is in, which we can look for to find out if srcdir is correct.
484 ac_unique_file
=dump
/dump.h
486 # Find the source files, if location was not specified.
487 if test -z "$srcdir"; then
488 ac_srcdir_defaulted
=yes
489 # Try the directory containing this script, then its parent.
491 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
492 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
494 if test ! -r $srcdir/$ac_unique_file; then
498 ac_srcdir_defaulted
=no
500 if test ! -r $srcdir/$ac_unique_file; then
501 if test "$ac_srcdir_defaulted" = yes; then
502 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
504 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
507 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
509 # Prefer explicitly selected file to automatically selected ones.
510 if test -z "$CONFIG_SITE"; then
511 if test "x$prefix" != xNONE
; then
512 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
514 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
517 for ac_site_file
in $CONFIG_SITE; do
518 if test -r "$ac_site_file"; then
519 echo "loading site script $ac_site_file"
524 if test -r "$cache_file"; then
525 echo "loading cache $cache_file"
528 echo "creating cache $cache_file"
533 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
534 ac_cpp
='$CPP $CPPFLAGS'
535 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
536 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
537 cross_compiling
=$ac_cv_prog_cc_cross
541 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
542 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
543 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
550 ac_n
= ac_c
='\c' ac_t
=
560 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
561 echo "configure:562: checking whether ${MAKE-make} sets \${MAKE}" >&5
562 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
563 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
564 echo $ac_n "(cached) $ac_c" 1>&6
566 cat > conftestmake
<<\EOF
568 @
echo 'ac_maketemp="${MAKE}"'
570 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
571 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
572 if test -n "$ac_maketemp"; then
573 eval ac_cv_prog_make_
${ac_make}_set
=yes
575 eval ac_cv_prog_make_
${ac_make}_set
=no
579 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
580 echo "$ac_t""yes" 1>&6
583 echo "$ac_t""no" 1>&6
584 SET_MAKE
="MAKE=${MAKE-make}"
587 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
588 echo "configure:589: checking whether ln -s works" >&5
589 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
590 echo $ac_n "(cached) $ac_c" 1>&6
593 if ln -s X conftestdata
2>/dev
/null
596 ac_cv_prog_LN_S
="ln -s"
601 LN_S
="$ac_cv_prog_LN_S"
602 if test "$ac_cv_prog_LN_S" = "ln -s"; then
603 echo "$ac_t""yes" 1>&6
605 echo "$ac_t""no" 1>&6
608 # Extract the first word of "cp", so it can be a program name with args.
609 set dummy
cp; ac_word
=$2
610 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
611 echo "configure:612: checking for $ac_word" >&5
612 if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then
613 echo $ac_n "(cached) $ac_c" 1>&6
617 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
620 ac_cv_path_CP
="$CP" # Let the user override the test with a dos path.
623 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
625 for ac_dir
in $ac_dummy; do
626 test -z "$ac_dir" && ac_dir
=.
627 if test -f $ac_dir/$ac_word; then
628 ac_cv_path_CP
="$ac_dir/$ac_word"
633 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
638 if test -n "$CP"; then
639 echo "$ac_t""$CP" 1>&6
641 echo "$ac_t""no" 1>&6
644 # Extract the first word of "mv", so it can be a program name with args.
645 set dummy
mv; ac_word
=$2
646 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
647 echo "configure:648: checking for $ac_word" >&5
648 if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then
649 echo $ac_n "(cached) $ac_c" 1>&6
653 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
656 ac_cv_path_MV
="$MV" # Let the user override the test with a dos path.
659 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
661 for ac_dir
in $ac_dummy; do
662 test -z "$ac_dir" && ac_dir
=.
663 if test -f $ac_dir/$ac_word; then
664 ac_cv_path_MV
="$ac_dir/$ac_word"
669 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
674 if test -n "$MV"; then
675 echo "$ac_t""$MV" 1>&6
677 echo "$ac_t""no" 1>&6
680 # Extract the first word of "rm", so it can be a program name with args.
681 set dummy
rm; ac_word
=$2
682 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
683 echo "configure:684: checking for $ac_word" >&5
684 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
685 echo $ac_n "(cached) $ac_c" 1>&6
689 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
692 ac_cv_path_RM
="$RM" # Let the user override the test with a dos path.
695 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
697 for ac_dir
in $ac_dummy; do
698 test -z "$ac_dir" && ac_dir
=.
699 if test -f $ac_dir/$ac_word; then
700 ac_cv_path_RM
="$ac_dir/$ac_word"
705 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
710 if test -n "$RM"; then
711 echo "$ac_t""$RM" 1>&6
713 echo "$ac_t""no" 1>&6
717 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
718 if test -f $ac_dir/install-sh
; then
720 ac_install_sh
="$ac_aux_dir/install-sh -c"
722 elif test -f $ac_dir/install.sh
; then
724 ac_install_sh
="$ac_aux_dir/install.sh -c"
728 if test -z "$ac_aux_dir"; then
729 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
731 ac_config_guess
=$ac_aux_dir/config.guess
732 ac_config_sub
=$ac_aux_dir/config.sub
733 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
736 # Make sure we can run config.sub.
737 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
738 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
741 echo $ac_n "checking host system type""... $ac_c" 1>&6
742 echo "configure:743: checking host system type" >&5
745 case "$host_alias" in
749 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
750 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
752 *) host_alias
=$nonopt ;;
756 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
757 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
758 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
759 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
760 echo "$ac_t""$host" 1>&6
762 echo $ac_n "checking build system type""... $ac_c" 1>&6
763 echo "configure:764: checking build system type" >&5
766 case "$build_alias" in
769 NONE
) build_alias
=$host_alias ;;
770 *) build_alias
=$nonopt ;;
774 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
775 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
776 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
777 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
778 echo "$ac_t""$build" 1>&6
780 if test $host != $build; then
781 ac_tool_prefix
=${host_alias}-
786 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
787 set dummy
${ac_tool_prefix}ar; ac_word
=$2
788 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
789 echo "configure:790: checking for $ac_word" >&5
790 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
791 echo $ac_n "(cached) $ac_c" 1>&6
793 if test -n "$AR"; then
794 ac_cv_prog_AR
="$AR" # Let the user override the test.
796 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
798 for ac_dir
in $ac_dummy; do
799 test -z "$ac_dir" && ac_dir
=.
800 if test -f $ac_dir/$ac_word; then
801 ac_cv_prog_AR
="${ac_tool_prefix}ar"
809 if test -n "$AR"; then
810 echo "$ac_t""$AR" 1>&6
812 echo "$ac_t""no" 1>&6
816 if test -z "$ac_cv_prog_AR"; then
817 if test -n "$ac_tool_prefix"; then
818 # Extract the first word of "ar", so it can be a program name with args.
819 set dummy
ar; ac_word
=$2
820 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
821 echo "configure:822: checking for $ac_word" >&5
822 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
823 echo $ac_n "(cached) $ac_c" 1>&6
825 if test -n "$AR"; then
826 ac_cv_prog_AR
="$AR" # Let the user override the test.
828 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
830 for ac_dir
in $ac_dummy; do
831 test -z "$ac_dir" && ac_dir
=.
832 if test -f $ac_dir/$ac_word; then
838 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
842 if test -n "$AR"; then
843 echo "$ac_t""$AR" 1>&6
845 echo "$ac_t""no" 1>&6
853 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
854 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
855 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
856 echo "configure:857: checking for $ac_word" >&5
857 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
858 echo $ac_n "(cached) $ac_c" 1>&6
860 if test -n "$RANLIB"; then
861 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
863 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
865 for ac_dir
in $ac_dummy; do
866 test -z "$ac_dir" && ac_dir
=.
867 if test -f $ac_dir/$ac_word; then
868 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
875 RANLIB
="$ac_cv_prog_RANLIB"
876 if test -n "$RANLIB"; then
877 echo "$ac_t""$RANLIB" 1>&6
879 echo "$ac_t""no" 1>&6
883 if test -z "$ac_cv_prog_RANLIB"; then
884 if test -n "$ac_tool_prefix"; then
885 # Extract the first word of "ranlib", so it can be a program name with args.
886 set dummy ranlib
; ac_word
=$2
887 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
888 echo "configure:889: checking for $ac_word" >&5
889 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
890 echo $ac_n "(cached) $ac_c" 1>&6
892 if test -n "$RANLIB"; then
893 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
895 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
897 for ac_dir
in $ac_dummy; do
898 test -z "$ac_dir" && ac_dir
=.
899 if test -f $ac_dir/$ac_word; then
900 ac_cv_prog_RANLIB
="ranlib"
905 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
908 RANLIB
="$ac_cv_prog_RANLIB"
909 if test -n "$RANLIB"; then
910 echo "$ac_t""$RANLIB" 1>&6
912 echo "$ac_t""no" 1>&6
920 # Extract the first word of "${ac_tool_prefix}patch", so it can be a program name with args.
921 set dummy
${ac_tool_prefix}patch; ac_word
=$2
922 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
923 echo "configure:924: checking for $ac_word" >&5
924 if eval "test \"`echo '$''{'ac_cv_prog_PATCH'+set}'`\" = set"; then
925 echo $ac_n "(cached) $ac_c" 1>&6
927 if test -n "$PATCH"; then
928 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
930 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
932 for ac_dir
in $ac_dummy; do
933 test -z "$ac_dir" && ac_dir
=.
934 if test -f $ac_dir/$ac_word; then
935 ac_cv_prog_PATCH
="${ac_tool_prefix}patch"
942 PATCH
="$ac_cv_prog_PATCH"
943 if test -n "$PATCH"; then
944 echo "$ac_t""$PATCH" 1>&6
946 echo "$ac_t""no" 1>&6
950 if test -z "$ac_cv_prog_PATCH"; then
951 if test -n "$ac_tool_prefix"; then
952 # Extract the first word of "patch", so it can be a program name with args.
953 set dummy
patch; ac_word
=$2
954 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
955 echo "configure:956: checking for $ac_word" >&5
956 if eval "test \"`echo '$''{'ac_cv_prog_PATCH'+set}'`\" = set"; then
957 echo $ac_n "(cached) $ac_c" 1>&6
959 if test -n "$PATCH"; then
960 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
962 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
964 for ac_dir
in $ac_dummy; do
965 test -z "$ac_dir" && ac_dir
=.
966 if test -f $ac_dir/$ac_word; then
967 ac_cv_prog_PATCH
="patch"
972 test -z "$ac_cv_prog_PATCH" && ac_cv_prog_PATCH
=":"
975 PATCH
="$ac_cv_prog_PATCH"
976 if test -n "$PATCH"; then
977 echo "$ac_t""$PATCH" 1>&6
979 echo "$ac_t""no" 1>&6
987 # Extract the first word of "gcc", so it can be a program name with args.
988 set dummy gcc
; ac_word
=$2
989 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
990 echo "configure:991: checking for $ac_word" >&5
991 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
992 echo $ac_n "(cached) $ac_c" 1>&6
994 if test -n "$CC"; then
995 ac_cv_prog_CC
="$CC" # Let the user override the test.
997 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
999 for ac_dir
in $ac_dummy; do
1000 test -z "$ac_dir" && ac_dir
=.
1001 if test -f $ac_dir/$ac_word; then
1010 if test -n "$CC"; then
1011 echo "$ac_t""$CC" 1>&6
1013 echo "$ac_t""no" 1>&6
1016 if test -z "$CC"; then
1017 # Extract the first word of "cc", so it can be a program name with args.
1018 set dummy cc
; ac_word
=$2
1019 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1020 echo "configure:1021: checking for $ac_word" >&5
1021 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1022 echo $ac_n "(cached) $ac_c" 1>&6
1024 if test -n "$CC"; then
1025 ac_cv_prog_CC
="$CC" # Let the user override the test.
1027 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1030 for ac_dir
in $ac_dummy; do
1031 test -z "$ac_dir" && ac_dir
=.
1032 if test -f $ac_dir/$ac_word; then
1033 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1034 ac_prog_rejected
=yes
1042 if test $ac_prog_rejected = yes; then
1043 # We found a bogon in the path, so make sure we never use it.
1044 set dummy
$ac_cv_prog_CC
1046 if test $# -gt 0; then
1047 # We chose a different compiler from the bogus one.
1048 # However, it has the same basename, so the bogon will be chosen
1049 # first if we set CC to just the basename; use the full file name.
1051 set dummy
"$ac_dir/$ac_word" "$@"
1059 if test -n "$CC"; then
1060 echo "$ac_t""$CC" 1>&6
1062 echo "$ac_t""no" 1>&6
1065 if test -z "$CC"; then
1066 case "`uname -s`" in
1068 # Extract the first word of "cl", so it can be a program name with args.
1069 set dummy cl
; ac_word
=$2
1070 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1071 echo "configure:1072: checking for $ac_word" >&5
1072 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1073 echo $ac_n "(cached) $ac_c" 1>&6
1075 if test -n "$CC"; then
1076 ac_cv_prog_CC
="$CC" # Let the user override the test.
1078 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1080 for ac_dir
in $ac_dummy; do
1081 test -z "$ac_dir" && ac_dir
=.
1082 if test -f $ac_dir/$ac_word; then
1091 if test -n "$CC"; then
1092 echo "$ac_t""$CC" 1>&6
1094 echo "$ac_t""no" 1>&6
1099 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1102 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1103 echo "configure:1104: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1106 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1107 ac_cpp
='$CPP $CPPFLAGS'
1108 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1109 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1110 cross_compiling
=$ac_cv_prog_cc_cross
1112 cat > conftest.
$ac_ext << EOF
1114 #line 1115 "configure"
1115 #include "confdefs.h"
1119 if { (eval echo configure
:1120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1120 ac_cv_prog_cc_works
=yes
1121 # If we can't run a trivial program, we are probably using a cross compiler.
1122 if (.
/conftest
; exit) 2>/dev
/null
; then
1123 ac_cv_prog_cc_cross
=no
1125 ac_cv_prog_cc_cross
=yes
1128 echo "configure: failed program was:" >&5
1129 cat conftest.
$ac_ext >&5
1130 ac_cv_prog_cc_works
=no
1134 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1135 ac_cpp
='$CPP $CPPFLAGS'
1136 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1137 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1138 cross_compiling
=$ac_cv_prog_cc_cross
1140 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1141 if test $ac_cv_prog_cc_works = no
; then
1142 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1144 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1145 echo "configure:1146: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1146 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1147 cross_compiling
=$ac_cv_prog_cc_cross
1149 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1150 echo "configure:1151: checking whether we are using GNU C" >&5
1151 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1152 echo $ac_n "(cached) $ac_c" 1>&6
1154 cat > conftest.c
<<EOF
1159 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1166 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1168 if test $ac_cv_prog_gcc = yes; then
1174 ac_test_CFLAGS
="${CFLAGS+set}"
1175 ac_save_CFLAGS
="$CFLAGS"
1177 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1178 echo "configure:1179: checking whether ${CC-cc} accepts -g" >&5
1179 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1180 echo $ac_n "(cached) $ac_c" 1>&6
1182 echo 'void f(){}' > conftest.c
1183 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1192 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1193 if test "$ac_test_CFLAGS" = set; then
1194 CFLAGS
="$ac_save_CFLAGS"
1195 elif test $ac_cv_prog_cc_g = yes; then
1196 if test "$GCC" = yes; then
1202 if test "$GCC" = yes; then
1209 # Find a good install program. We prefer a C program (faster),
1210 # so one script is as good as another. But avoid the broken or
1211 # incompatible versions:
1212 # SysV /etc/install, /usr/sbin/install
1213 # SunOS /usr/etc/install
1214 # IRIX /sbin/install
1216 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1217 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1218 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1219 # ./install, which can be erroneously created by make from ./install.sh.
1220 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1221 echo "configure:1222: checking for a BSD compatible install" >&5
1222 if test -z "$INSTALL"; then
1223 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1224 echo $ac_n "(cached) $ac_c" 1>&6
1226 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
1227 for ac_dir
in $PATH; do
1228 # Account for people who put trailing slashes in PATH elements.
1230 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1232 # OSF1 and SCO ODT 3.0 have their own names for install.
1233 # Don't use installbsd from OSF since it installs stuff as root
1235 for ac_prog
in ginstall scoinst
install; do
1236 if test -f $ac_dir/$ac_prog; then
1237 if test $ac_prog = install &&
1238 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1239 # AIX install. It has an incompatible calling convention.
1242 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1253 if test "${ac_cv_path_install+set}" = set; then
1254 INSTALL
="$ac_cv_path_install"
1256 # As a last resort, use the slow shell script. We don't cache a
1257 # path for INSTALL within a source directory, because that will
1258 # break other packages using the cache if that directory is
1259 # removed, or if the path is relative.
1260 INSTALL
="$ac_install_sh"
1263 echo "$ac_t""$INSTALL" 1>&6
1265 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1266 # It thinks the first close brace ends the variable substitution.
1267 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1269 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
1271 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1274 # Check whether --enable-debug or --disable-debug was given.
1275 if test "${enable_debug+set}" = set; then
1276 enableval
="$enable_debug"
1277 if test "$enableval" = "no"
1282 DUMPDEBUG
="-DFDEBUG -DTDEBUG -DWRITEDEBUG -DDIRDEBUG"
1283 RESTOREDEBUG
="-DDIRDEBUG"
1294 # Check whether --enable-static or --disable-static was given.
1295 if test "${enable_static+set}" = set; then
1296 enableval
="$enable_static"
1297 if test "$enableval" = "no"
1306 echo "Linking dump and restore dynamically by default"
1312 # Check whether --enable-rmt or --disable-rmt was given.
1313 if test "${enable_rmt+set}" = set; then
1314 enableval
="$enable_rmt"
1315 if test "$enableval" = "no"
1321 RMTMAKEFILE
="rmt/Makefile"
1326 echo "Not compiling rmt by default"
1332 # Check whether --enable-kerberos or --disable-kerberos was given.
1333 if test "${enable_kerberos+set}" = set; then
1334 enableval
="$enable_kerberos"
1335 if test "$enableval" = "yes"
1337 OPTDEFS
="-DKERBEROS"
1344 echo "Not compiling kerberos extensions by default"
1350 # Check whether --with-cc or --without-cc was given.
1351 if test "${with_cc+set}" = set; then
1353 echo "$ac_t""CC=$withval" 1>&6
1356 if test -z "$CC" ; then CC
=cc
; fi
1357 echo "$ac_t""CC defaults to $CC" 1>&6
1362 # Check whether --with-linker or --without-linker was given.
1363 if test "${with_linker+set}" = set; then
1364 withval
="$with_linker"
1365 echo "$ac_t""LD=$withval" 1>&6
1368 if test -z "$LD" ; then LD
=$CC; fi
1369 echo "$ac_t""LD defaults to $LD" 1>&6
1374 # Check whether --with-ccopts or --without-ccopts was given.
1375 if test "${with_ccopts+set}" = set; then
1376 withval
="$with_ccopts"
1377 echo "$ac_t""CCOPTS is $withval" 1>&6
1379 CFLAGS
="$CFLAGS $withval"
1385 # Check whether --with-ldopts or --without-ldopts was given.
1386 if test "${with_ldopts+set}" = set; then
1387 withval
="$with_ldopts"
1388 echo "$ac_t""LDFLAGS is $withval" 1>&6
1395 # Check whether --with-binowner or --without-binowner was given.
1396 if test "${with_binowner+set}" = set; then
1397 withval
="$with_binowner"
1398 echo "$ac_t""BINOWNER is $withval" 1>&6
1402 echo "BINOWNER defaults to $BINOWNER"
1407 # Check whether --with-bingrp or --without-bingrp was given.
1408 if test "${with_bingrp+set}" = set; then
1409 withval
="$with_bingrp"
1410 echo "$ac_t""BINGRP is $withval" 1>&6
1414 echo "BINGRP defaults to $BINGRP"
1419 # Check whether --with-binmode or --without-binmode was given.
1420 if test "${with_binmode+set}" = set; then
1421 withval
="$with_binmode"
1422 echo "$ac_t""BINMODE is $withval" 1>&6
1426 echo "BINMODE defaults to $BINMODE"
1431 # Check whether --with-manowner or --without-manowner was given.
1432 if test "${with_manowner+set}" = set; then
1433 withval
="$with_manowner"
1434 echo "$ac_t""MANOWNER is $withval" 1>&6
1438 echo "MANOWNER defaults to $MANOWNER"
1443 # Check whether --with-mangrp or --without-mangrp was given.
1444 if test "${with_mangrp+set}" = set; then
1445 withval
="$with_mangrp"
1446 echo "$ac_t""MANGRP is $withval" 1>&6
1450 echo "MANGRP defaults to $MANGRP"
1455 # Check whether --with-manmode or --without-manmode was given.
1456 if test "${with_manmode+set}" = set; then
1457 withval
="$with_manmode"
1458 echo "$ac_t""MANMODE is $withval" 1>&6
1462 echo "MANMODE defaults to $MANMODE"
1467 # Check whether --with-dumpdatespath or --without-dumpdatespath was given.
1468 if test "${with_dumpdatespath+set}" = set; then
1469 withval
="$with_dumpdatespath"
1470 echo "$ac_t""DUMPDATESPATH is $withval" 1>&6
1471 DUMPDATESPATH
=$withval
1473 DUMPDATESPATH
="/etc/dumpdates"
1474 echo "DUMPDATESPATH defaults to $DUMPDATESPATH"
1479 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1480 echo "configure:1481: checking how to run the C preprocessor" >&5
1481 # On Suns, sometimes $CPP names a directory.
1482 if test -n "$CPP" && test -d "$CPP"; then
1485 if test -z "$CPP"; then
1486 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1487 echo $ac_n "(cached) $ac_c" 1>&6
1489 # This must be in double quotes, not single quotes, because CPP may get
1490 # substituted into the Makefile and "${CC-cc}" will confuse make.
1492 # On the NeXT, cc -E runs the code through the compiler's parser,
1493 # not just through cpp.
1494 cat > conftest.
$ac_ext <<EOF
1495 #line 1496 "configure"
1496 #include "confdefs.h"
1500 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1501 { (eval echo configure
:1502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1502 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1503 if test -z "$ac_err"; then
1507 echo "configure: failed program was:" >&5
1508 cat conftest.
$ac_ext >&5
1510 CPP
="${CC-cc} -E -traditional-cpp"
1511 cat > conftest.
$ac_ext <<EOF
1512 #line 1513 "configure"
1513 #include "confdefs.h"
1517 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1518 { (eval echo configure
:1519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1519 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1520 if test -z "$ac_err"; then
1524 echo "configure: failed program was:" >&5
1525 cat conftest.
$ac_ext >&5
1527 CPP
="${CC-cc} -nologo -E"
1528 cat > conftest.
$ac_ext <<EOF
1529 #line 1530 "configure"
1530 #include "confdefs.h"
1534 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1535 { (eval echo configure
:1536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1536 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1537 if test -z "$ac_err"; then
1541 echo "configure: failed program was:" >&5
1542 cat conftest.
$ac_ext >&5
1551 ac_cv_prog_CPP
="$CPP"
1553 CPP
="$ac_cv_prog_CPP"
1555 ac_cv_prog_CPP
="$CPP"
1557 echo "$ac_t""$CPP" 1>&6
1559 ac_safe
=`echo "ext2fs/ext2fs.h" | sed 'y%./+-%__p_%'`
1560 echo $ac_n "checking for ext2fs/ext2fs.h""... $ac_c" 1>&6
1561 echo "configure:1562: checking for ext2fs/ext2fs.h" >&5
1562 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1563 echo $ac_n "(cached) $ac_c" 1>&6
1565 cat > conftest.
$ac_ext <<EOF
1566 #line 1567 "configure"
1567 #include "confdefs.h"
1568 #include <ext2fs/ext2fs.h>
1570 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1571 { (eval echo configure
:1572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1572 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1573 if test -z "$ac_err"; then
1575 eval "ac_cv_header_$ac_safe=yes"
1578 echo "configure: failed program was:" >&5
1579 cat conftest.
$ac_ext >&5
1581 eval "ac_cv_header_$ac_safe=no"
1585 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1586 echo "$ac_t""yes" 1>&6
1589 echo "$ac_t""no" 1>&6
1593 echo $ac_n "checking for ext2fs_open in -lext2fs""... $ac_c" 1>&6
1594 echo "configure:1595: checking for ext2fs_open in -lext2fs" >&5
1595 ac_lib_var
=`echo ext2fs'_'ext2fs_open | sed 'y%./+-%__p_%'`
1596 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1597 echo $ac_n "(cached) $ac_c" 1>&6
1599 ac_save_LIBS
="$LIBS"
1600 LIBS
="-lext2fs -lcom_err $LIBS"
1601 cat > conftest.
$ac_ext <<EOF
1602 #line 1603 "configure"
1603 #include "confdefs.h"
1604 /* Override any gcc2 internal prototype to avoid an error. */
1605 /* We use char because int might match the return type of a gcc2
1606 builtin and then its argument prototype would still apply. */
1613 if { (eval echo configure
:1614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1615 eval "ac_cv_lib_$ac_lib_var=yes"
1617 echo "configure: failed program was:" >&5
1618 cat conftest.
$ac_ext >&5
1620 eval "ac_cv_lib_$ac_lib_var=no"
1623 LIBS
="$ac_save_LIBS"
1626 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1627 echo "$ac_t""yes" 1>&6
1630 echo "$ac_t""no" 1>&6
1634 if test "$ext2fs_h" = no
-o "$ext2fs_lib" = no
; then
1635 { echo "configure: error: You need to install the Ext2fs libraries from the E2fsprogs distribution first" 1>&2; exit 1; }
1638 for ac_func
in err errx verr verrx vwarn vwarnx warn warnx realpath lchown
1640 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1641 echo "configure:1642: checking for $ac_func" >&5
1642 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1643 echo $ac_n "(cached) $ac_c" 1>&6
1645 cat > conftest.
$ac_ext <<EOF
1646 #line 1647 "configure"
1647 #include "confdefs.h"
1648 /* System header to define __stub macros and hopefully few prototypes,
1649 which can conflict with char $ac_func(); below. */
1651 /* Override any gcc2 internal prototype to avoid an error. */
1652 /* We use char because int might match the return type of a gcc2
1653 builtin and then its argument prototype would still apply. */
1658 /* The GNU C library defines this for functions which it implements
1659 to always fail with ENOSYS. Some functions are actually named
1660 something starting with __ and the normal name is an alias. */
1661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1669 if { (eval echo configure
:1670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1671 eval "ac_cv_func_$ac_func=yes"
1673 echo "configure: failed program was:" >&5
1674 cat conftest.
$ac_ext >&5
1676 eval "ac_cv_func_$ac_func=no"
1681 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1682 echo "$ac_t""yes" 1>&6
1683 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1684 cat >> confdefs.h
<<EOF
1685 #define $ac_tr_func 1
1689 echo "$ac_t""no" 1>&6
1693 echo $ac_n "checking for glob""... $ac_c" 1>&6
1694 echo "configure:1695: checking for glob" >&5
1695 if eval "test \"`echo '$''{'ac_cv_func_glob'+set}'`\" = set"; then
1696 echo $ac_n "(cached) $ac_c" 1>&6
1698 cat > conftest.
$ac_ext <<EOF
1699 #line 1700 "configure"
1700 #include "confdefs.h"
1701 /* System header to define __stub macros and hopefully few prototypes,
1702 which can conflict with char glob(); below. */
1704 /* Override any gcc2 internal prototype to avoid an error. */
1705 /* We use char because int might match the return type of a gcc2
1706 builtin and then its argument prototype would still apply. */
1711 /* The GNU C library defines this for functions which it implements
1712 to always fail with ENOSYS. Some functions are actually named
1713 something starting with __ and the normal name is an alias. */
1714 #if defined (__stub_glob) || defined (__stub___glob)
1722 if { (eval echo configure
:1723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1724 eval "ac_cv_func_glob=yes"
1726 echo "configure: failed program was:" >&5
1727 cat conftest.
$ac_ext >&5
1729 eval "ac_cv_func_glob=no"
1734 if eval "test \"`echo '$ac_cv_func_'glob`\" = yes"; then
1735 echo "$ac_t""yes" 1>&6
1738 echo "$ac_t""no" 1>&6
1742 if test "$ac_cv_func_glob" = "yes"; then
1743 cat > conftest.
$ac_ext <<EOF
1744 #line 1745 "configure"
1745 #include "confdefs.h"
1748 # ifdef GLOB_ALTDIRFUNC
1753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1754 egrep "yes" >/dev
/null
2>&1; then
1756 cat >> confdefs.h
<<\EOF
1766 if test "$noglob" = "yes"; then
1767 echo "Your system does not support extended glob, will use the internal routines"
1771 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1772 echo "configure:1773: checking for ANSI C header files" >&5
1773 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1774 echo $ac_n "(cached) $ac_c" 1>&6
1776 cat > conftest.
$ac_ext <<EOF
1777 #line 1778 "configure"
1778 #include "confdefs.h"
1784 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1785 { (eval echo configure
:1786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1786 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1787 if test -z "$ac_err"; then
1789 ac_cv_header_stdc
=yes
1792 echo "configure: failed program was:" >&5
1793 cat conftest.
$ac_ext >&5
1795 ac_cv_header_stdc
=no
1799 if test $ac_cv_header_stdc = yes; then
1800 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1801 cat > conftest.
$ac_ext <<EOF
1802 #line 1803 "configure"
1803 #include "confdefs.h"
1806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1807 egrep "memchr" >/dev
/null
2>&1; then
1811 ac_cv_header_stdc
=no
1817 if test $ac_cv_header_stdc = yes; then
1818 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1819 cat > conftest.
$ac_ext <<EOF
1820 #line 1821 "configure"
1821 #include "confdefs.h"
1824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1825 egrep "free" >/dev
/null
2>&1; then
1829 ac_cv_header_stdc
=no
1835 if test $ac_cv_header_stdc = yes; then
1836 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1837 if test "$cross_compiling" = yes; then
1840 cat > conftest.
$ac_ext <<EOF
1841 #line 1842 "configure"
1842 #include "confdefs.h"
1844 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1845 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1846 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1847 int main () { int i; for (i = 0; i < 256; i++)
1848 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1852 if { (eval echo configure
:1853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
1856 echo "configure: failed program was:" >&5
1857 cat conftest.
$ac_ext >&5
1859 ac_cv_header_stdc
=no
1867 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1868 if test $ac_cv_header_stdc = yes; then
1869 cat >> confdefs.h
<<\EOF
1870 #define STDC_HEADERS 1
1875 echo $ac_n "checking for quad_t""... $ac_c" 1>&6
1876 echo "configure:1877: checking for quad_t" >&5
1877 if eval "test \"`echo '$''{'ac_cv_type_quad_t'+set}'`\" = set"; then
1878 echo $ac_n "(cached) $ac_c" 1>&6
1880 cat > conftest.
$ac_ext <<EOF
1881 #line 1882 "configure"
1882 #include "confdefs.h"
1883 #include <sys/types.h>
1889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1890 egrep "(^|[^a-zA-Z_0-9])quad_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
1892 ac_cv_type_quad_t
=yes
1895 ac_cv_type_quad_t
=no
1900 echo "$ac_t""$ac_cv_type_quad_t" 1>&6
1901 if test $ac_cv_type_quad_t = no
; then
1902 cat >> confdefs.h
<<\EOF
1903 #define quad_t __s64
1908 echo $ac_n "checking for u_quad_t""... $ac_c" 1>&6
1909 echo "configure:1910: checking for u_quad_t" >&5
1910 if eval "test \"`echo '$''{'ac_cv_type_u_quad_t'+set}'`\" = set"; then
1911 echo $ac_n "(cached) $ac_c" 1>&6
1913 cat > conftest.
$ac_ext <<EOF
1914 #line 1915 "configure"
1915 #include "confdefs.h"
1916 #include <sys/types.h>
1922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1923 egrep "(^|[^a-zA-Z_0-9])u_quad_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
1925 ac_cv_type_u_quad_t
=yes
1928 ac_cv_type_u_quad_t
=no
1933 echo "$ac_t""$ac_cv_type_u_quad_t" 1>&6
1934 if test $ac_cv_type_u_quad_t = no
; then
1935 cat >> confdefs.h
<<\EOF
1936 #define u_quad_t __u64
1942 top_builddir
=`cd .; pwd`
1945 test -d compat || mkdir compat
1946 test -d compat
/lib || mkdir compat
/lib
1949 cat > confcache
<<\EOF
1950 # This file is a shell script that caches the results of configure
1951 # tests run on this system so they can be shared between configure
1952 # scripts and configure runs. It is not useful on other systems.
1953 # If it contains results you don't want to keep, you may remove or edit it.
1955 # By default, configure uses ./config.cache as the cache file,
1956 # creating it if it does not exist already. You can give configure
1957 # the --cache-file=FILE option to use a different cache file; that is
1958 # what configure does when it calls configure scripts in
1959 # subdirectories, so they share the cache.
1960 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1961 # config.status only pays attention to the cache file if you give it the
1962 # --recheck option to rerun configure.
1965 # The following way of writing the cache mishandles newlines in values,
1966 # but we know of no workaround that is simple, portable, and efficient.
1967 # So, don't put newlines in cache variables' values.
1968 # Ultrix sh set writes to stderr and can't be redirected directly,
1969 # and sets the high bit in the cache file unless we assign to the vars.
1971 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1973 # `set' does not quote correctly, so add quotes (double-quote substitution
1974 # turns \\\\ into \\, and sed turns \\ into \).
1976 -e "s/'/'\\\\''/g" \
1977 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1980 # `set' quotes correctly as required by POSIX, so do not add quotes.
1981 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1984 if cmp -s $cache_file confcache
; then
1987 if test -w $cache_file; then
1988 echo "updating cache $cache_file"
1989 cat confcache
> $cache_file
1991 echo "not updating unwritable cache $cache_file"
1996 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1998 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
1999 # Let make expand exec_prefix.
2000 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2002 # Any assignment to VPATH causes Sun make to only execute
2003 # the first set of double-colon rules, so remove it if not needed.
2004 # If there is a colon in the path, we need to keep it.
2005 if test "x$srcdir" = x.
; then
2006 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
2009 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2011 DEFS
=-DHAVE_CONFIG_H
2013 # Without the "./", some shells look in PATH for config.status.
2014 : ${CONFIG_STATUS=./config.status}
2016 echo creating
$CONFIG_STATUS
2017 rm -f $CONFIG_STATUS
2018 cat > $CONFIG_STATUS <<EOF
2020 # Generated automatically by configure.
2021 # Run this file to recreate the current configuration.
2022 # This directory was configured as follows,
2023 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2025 # $0 $ac_configure_args
2027 # Compiler output produced by configure, useful for debugging
2028 # configure, is in ./config.log if it exists.
2030 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2033 case "\$ac_option" in
2034 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2035 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2036 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2037 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2038 echo "$CONFIG_STATUS generated by autoconf version 2.13"
2040 -help | --help | --hel | --he | --h)
2041 echo "\$ac_cs_usage"; exit 0 ;;
2042 *) echo "\$ac_cs_usage"; exit 1 ;;
2046 ac_given_srcdir=$srcdir
2047 ac_given_INSTALL="$INSTALL"
2049 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
2051 cat >> $CONFIG_STATUS <<EOF
2053 # Protect against being on the right side of a sed subst in config.status.
2054 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2055 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2059 s%@CFLAGS@%$CFLAGS%g
2060 s%@CPPFLAGS@%$CPPFLAGS%g
2061 s%@CXXFLAGS@%$CXXFLAGS%g
2062 s%@FFLAGS@%$FFLAGS%g
2064 s%@LDFLAGS@%$LDFLAGS%g
2066 s%@exec_prefix@%$exec_prefix%g
2067 s%@prefix@%$prefix%g
2068 s%@program_transform_name@%$program_transform_name%g
2069 s%@bindir@%$bindir%g
2070 s%@sbindir@%$sbindir%g
2071 s%@libexecdir@%$libexecdir%g
2072 s%@datadir@%$datadir%g
2073 s%@sysconfdir@%$sysconfdir%g
2074 s%@sharedstatedir@%$sharedstatedir%g
2075 s%@localstatedir@%$localstatedir%g
2076 s%@libdir@%$libdir%g
2077 s%@includedir@%$includedir%g
2078 s%@oldincludedir@%$oldincludedir%g
2079 s%@infodir@%$infodir%g
2080 s%@mandir@%$mandir%g
2081 /@MCONFIG@/r $MCONFIG
2083 s%@SET_MAKE@%$SET_MAKE%g
2089 s%@host_alias@%$host_alias%g
2090 s%@host_cpu@%$host_cpu%g
2091 s%@host_vendor@%$host_vendor%g
2092 s%@host_os@%$host_os%g
2094 s%@build_alias@%$build_alias%g
2095 s%@build_cpu@%$build_cpu%g
2096 s%@build_vendor@%$build_vendor%g
2097 s%@build_os@%$build_os%g
2099 s%@RANLIB@%$RANLIB%g
2102 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2103 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2104 s%@INSTALL_DATA@%$INSTALL_DATA%g
2105 s%@DUMPDEBUG@%$DUMPDEBUG%g
2106 s%@RESTOREDEBUG@%$RESTOREDEBUG%g
2107 s%@STATIC@%$STATIC%g
2108 s%@RMTDIR@%$RMTDIR%g
2109 s%@OPTDEFS@%$OPTDEFS%g
2111 s%@CCOPTS@%$CCOPTS%g
2112 s%@BINOWNER@%$BINOWNER%g
2113 s%@BINGRP@%$BINGRP%g
2114 s%@BINMODE@%$BINMODE%g
2115 s%@MANOWNER@%$MANOWNER%g
2116 s%@MANGRP@%$MANGRP%g
2117 s%@MANMODE@%$MANMODE%g
2118 s%@DUMPDATESPATH@%$DUMPDATESPATH%g
2120 s%@top_builddir@%$top_builddir%g
2125 cat >> $CONFIG_STATUS <<\EOF
2127 # Split the substitutions into bite-sized pieces for seds with
2128 # small command number limits, like on Digital OSF/1 and HP-UX.
2129 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
2130 ac_file
=1 # Number of current file.
2131 ac_beg
=1 # First line for current file.
2132 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
2135 while $ac_more_lines; do
2136 if test $ac_beg -gt 1; then
2137 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
2139 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
2141 if test ! -s conftest.s
$ac_file; then
2143 rm -f conftest.s
$ac_file
2145 if test -z "$ac_sed_cmds"; then
2146 ac_sed_cmds
="sed -f conftest.s$ac_file"
2148 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
2150 ac_file
=`expr $ac_file + 1`
2152 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
2155 if test -z "$ac_sed_cmds"; then
2160 cat >> $CONFIG_STATUS <<EOF
2162 CONFIG_FILES=\${CONFIG_FILES-"MCONFIG Makefile common/Makefile compat/include/Makefile compat/lib/Makefile dump/Makefile restore/Makefile $RMTMAKEFILE"}
2164 cat >> $CONFIG_STATUS <<\EOF
2165 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
2166 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2168 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2169 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2170 *) ac_file_in
="${ac_file}.in" ;;
2173 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2175 # Remove last slash and all that follows it. Not all systems have dirname.
2176 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2177 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
2178 # The file is in a subdirectory.
2179 test ! -d "$ac_dir" && mkdir
"$ac_dir"
2180 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
2181 # A "../" for each directory in $ac_dir_suffix.
2182 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2184 ac_dir_suffix
= ac_dots
=
2187 case "$ac_given_srcdir" in
2189 if test -z "$ac_dots"; then top_srcdir
=.
2190 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2191 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
2193 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2194 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
2197 case "$ac_given_INSTALL" in
2198 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
2199 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
2202 echo creating
"$ac_file"
2204 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2206 *Makefile
*) ac_comsub
="1i\\
2207 # $configure_input" ;;
2211 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2213 s%@configure_input@%$configure_input%g
2214 s%@srcdir@%$srcdir%g
2215 s%@top_srcdir@%$top_srcdir%g
2216 s%@INSTALL@%$INSTALL%g
2217 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
2221 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2222 # NAME is the cpp macro being defined and VALUE is the value it is being given.
2224 # ac_d sets the value in "#define NAME VALUE" lines.
2225 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2226 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
2229 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2230 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2231 ac_uB
='\([ ]\)%\1#\2define\3'
2234 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2235 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2236 ac_eB
='$%\1#\2define\3'
2240 if test "${CONFIG_HEADERS+set}" != set; then
2242 cat >> $CONFIG_STATUS <<EOF
2243 CONFIG_HEADERS="config.h"
2245 cat >> $CONFIG_STATUS <<\EOF
2247 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
2248 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2250 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2251 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2252 *) ac_file_in
="${ac_file}.in" ;;
2255 echo creating
$ac_file
2257 rm -f conftest.frag conftest.
in conftest.out
2258 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2259 cat $ac_file_inputs > conftest.
in
2263 # Transform confdefs.h into a sed script conftest.vals that substitutes
2264 # the proper values into config.h.in to produce config.h. And first:
2265 # Protect against being on the right side of a sed subst in config.status.
2266 # Protect against being in an unquoted here document in config.status.
2268 cat > conftest.hdr
<<\EOF
2271 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2275 sed -n -f conftest.hdr confdefs.h > conftest.vals
2278 # This sed command replaces #undef with comments. This is necessary, for
2279 # example, in the case of _POSIX_SOURCE, which is predefined and required
2280 # on some systems where configure will not decide to define it.
2281 cat >> conftest.vals <<\EOF
2282 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2285 # Break up conftest.vals because some shells have a limit on
2286 # the size of here documents, and old seds have small limits too.
2291 ac_lines=`grep -c . conftest.vals
`
2292 # grep -c gives empty output for an empty file on some AIX systems.
2293 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2294 # Write a limited-size here document to conftest.frag.
2295 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2296 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2298 sed -f conftest.frag conftest.in > conftest.out
2300 mv conftest.out conftest.in
2302 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2304 mv conftest.tail conftest.vals
2308 cat >> $CONFIG_STATUS <<\EOF
2309 rm -f conftest.frag conftest.h
2310 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2311 cat conftest.in >> conftest.h
2313 if cmp -s $ac_file conftest.h 2>/dev/null; then
2314 echo "$ac_file is unchanged"
2317 # Remove last slash and all that follows it. Not all systems have dirname.
2318 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
2319 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2320 # The file is in a subdirectory.
2321 test ! -d "$ac_dir" && mkdir "$ac_dir"
2324 mv conftest.h $ac_file
2329 cat >> $CONFIG_STATUS <<EOF
2332 cat >> $CONFIG_STATUS <<\EOF
2336 chmod +x $CONFIG_STATUS
2337 rm -fr confdefs* $ac_clean_files
2338 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1