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 --with-cc=COMPILER select compiler to use"
23 --with-linker=LINKER select linker to use"
25 --with-ccopts=CCOPTS select compiler command line options"
27 --with-ldopts=LDOPTS select linker command line options"
29 --with-binowner=USER select owner for binaries"
31 --with-bingrp=GROUP select group for binaries"
33 --with-binmode=MODE select mode for binaries"
35 --with-manowner=USER select owner for manual pages"
37 --with-mangrp=group select group for manual pages"
39 --with-manmode=MODE select mode for manual pages"
41 --with-dumpdatespath=path select path for dumpdates file"
43 # Initialize some variables set by options.
44 # The variables have the same names as the options, with
45 # dashes changed to underlines.
47 cache_file
=.
/config.cache
56 program_transform_name
=s
,x
,x
,
64 bindir
='${exec_prefix}/bin'
65 sbindir
='${exec_prefix}/sbin'
66 libexecdir
='${exec_prefix}/libexec'
67 datadir
='${prefix}/share'
68 sysconfdir
='${prefix}/etc'
69 sharedstatedir
='${prefix}/com'
70 localstatedir
='${prefix}/var'
71 libdir
='${exec_prefix}/lib'
72 includedir
='${prefix}/include'
73 oldincludedir
='/usr/include'
74 infodir
='${prefix}/info'
75 mandir
='${prefix}/man'
77 # Initialize some other variables.
80 SHELL
=${CONFIG_SHELL-/bin/sh}
81 # Maximum number of lines to put in a shell here document.
88 # If the previous option needs an argument, assign it.
89 if test -n "$ac_prev"; then
90 eval "$ac_prev=\$ac_option"
96 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
100 # Accept the important Cygnus configure options, so we can diagnose typos.
104 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
106 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
107 bindir
="$ac_optarg" ;;
109 -build |
--build |
--buil |
--bui |
--bu)
111 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
112 build
="$ac_optarg" ;;
114 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
115 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
116 ac_prev
=cache_file
;;
117 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
118 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
119 cache_file
="$ac_optarg" ;;
121 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
123 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
125 datadir
="$ac_optarg" ;;
127 -disable-* |
--disable-*)
128 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
129 # Reject names that are not valid shell variable names.
130 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
131 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
133 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
134 eval "enable_${ac_feature}=no" ;;
136 -enable-* |
--enable-*)
137 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
138 # Reject names that are not valid shell variable names.
139 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
140 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
142 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
147 eval "enable_${ac_feature}='$ac_optarg'" ;;
149 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
150 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
151 |
--exec |
--exe |
--ex)
152 ac_prev
=exec_prefix
;;
153 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
154 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
155 |
--exec=* |
--exe=* |
--ex=*)
156 exec_prefix
="$ac_optarg" ;;
158 -gas |
--gas |
--ga |
--g)
159 # Obsolete; use --with-gas.
162 -help |
--help |
--hel |
--he)
163 # Omit some internal or obsolete options to make the list less imposing.
164 # This message is too long to be a string in the A/UX 3.1 sh.
166 Usage: configure [options] [host]
167 Options: [defaults in brackets after descriptions]
169 --cache-file=FILE cache test results in FILE
170 --help print this message
171 --no-create do not create output files
172 --quiet, --silent do not print \`checking...' messages
173 --version print the version of autoconf that created configure
174 Directory and file names:
175 --prefix=PREFIX install architecture-independent files in PREFIX
177 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
179 --bindir=DIR user executables in DIR [EPREFIX/bin]
180 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
181 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
182 --datadir=DIR read-only architecture-independent data in DIR
184 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
185 --sharedstatedir=DIR modifiable architecture-independent data in DIR
187 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
188 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
189 --includedir=DIR C header files in DIR [PREFIX/include]
190 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
191 --infodir=DIR info documentation in DIR [PREFIX/info]
192 --mandir=DIR man documentation in DIR [PREFIX/man]
193 --srcdir=DIR find the sources in DIR [configure dir or ..]
194 --program-prefix=PREFIX prepend PREFIX to installed program names
195 --program-suffix=SUFFIX append SUFFIX to installed program names
196 --program-transform-name=PROGRAM
197 run sed PROGRAM on installed program names
201 --build=BUILD configure for building on BUILD [BUILD=HOST]
202 --host=HOST configure for HOST [guessed]
203 --target=TARGET configure for TARGET [TARGET=HOST]
204 Features and packages:
205 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
206 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
207 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
208 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
209 --x-includes=DIR X include files are in DIR
210 --x-libraries=DIR X library files are in DIR
212 if test -n "$ac_help"; then
213 echo "--enable and --with options recognized:$ac_help"
217 -host |
--host |
--hos |
--ho)
219 -host=* |
--host=* |
--hos=* |
--ho=*)
222 -includedir |
--includedir |
--includedi |
--included |
--include \
223 |
--includ |
--inclu |
--incl |
--inc)
224 ac_prev
=includedir
;;
225 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
226 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
227 includedir
="$ac_optarg" ;;
229 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
231 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
232 infodir
="$ac_optarg" ;;
234 -libdir |
--libdir |
--libdi |
--libd)
236 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
237 libdir
="$ac_optarg" ;;
239 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
240 |
--libexe |
--libex |
--libe)
241 ac_prev
=libexecdir
;;
242 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
243 |
--libexe=* |
--libex=* |
--libe=*)
244 libexecdir
="$ac_optarg" ;;
246 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
247 |
--localstate |
--localstat |
--localsta |
--localst \
248 |
--locals |
--local |
--loca |
--loc |
--lo)
249 ac_prev
=localstatedir
;;
250 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
251 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
252 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
253 localstatedir
="$ac_optarg" ;;
255 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
257 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
258 mandir
="$ac_optarg" ;;
261 # Obsolete; use --without-fp.
264 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
268 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
269 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
272 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
273 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
274 |
--oldin |
--oldi |
--old |
--ol |
--o)
275 ac_prev
=oldincludedir
;;
276 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
277 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
278 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
279 oldincludedir
="$ac_optarg" ;;
281 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
283 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
284 prefix
="$ac_optarg" ;;
286 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
287 |
--program-pre |
--program-pr |
--program-p)
288 ac_prev
=program_prefix
;;
289 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
290 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
291 program_prefix
="$ac_optarg" ;;
293 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
294 |
--program-suf |
--program-su |
--program-s)
295 ac_prev
=program_suffix
;;
296 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
297 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
298 program_suffix
="$ac_optarg" ;;
300 -program-transform-name |
--program-transform-name \
301 |
--program-transform-nam |
--program-transform-na \
302 |
--program-transform-n |
--program-transform- \
303 |
--program-transform |
--program-transfor \
304 |
--program-transfo |
--program-transf \
305 |
--program-trans |
--program-tran \
306 |
--progr-tra |
--program-tr |
--program-t)
307 ac_prev
=program_transform_name
;;
308 -program-transform-name=* |
--program-transform-name=* \
309 |
--program-transform-nam=* |
--program-transform-na=* \
310 |
--program-transform-n=* |
--program-transform-=* \
311 |
--program-transform=* |
--program-transfor=* \
312 |
--program-transfo=* |
--program-transf=* \
313 |
--program-trans=* |
--program-tran=* \
314 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
315 program_transform_name
="$ac_optarg" ;;
317 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
318 |
-silent |
--silent |
--silen |
--sile |
--sil)
321 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
323 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
325 sbindir
="$ac_optarg" ;;
327 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
328 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
329 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
331 ac_prev
=sharedstatedir
;;
332 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
333 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
334 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
336 sharedstatedir
="$ac_optarg" ;;
338 -site |
--site |
--sit)
340 -site=* |
--site=* |
--sit=*)
343 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
345 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
346 srcdir
="$ac_optarg" ;;
348 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
349 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
350 ac_prev
=sysconfdir
;;
351 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
352 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
353 sysconfdir
="$ac_optarg" ;;
355 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
357 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
358 target
="$ac_optarg" ;;
360 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
363 -version |
--version |
--versio |
--versi |
--vers)
364 echo "configure generated by autoconf version 2.13"
368 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
369 # Reject names that are not valid shell variable names.
370 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
371 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
373 ac_package
=`echo $ac_package| sed 's/-/_/g'`
378 eval "with_${ac_package}='$ac_optarg'" ;;
380 -without-* |
--without-*)
381 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
382 # Reject names that are not valid shell variable names.
383 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
384 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
386 ac_package
=`echo $ac_package| sed 's/-/_/g'`
387 eval "with_${ac_package}=no" ;;
390 # Obsolete; use --with-x.
393 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
394 |
--x-incl |
--x-inc |
--x-in |
--x-i)
395 ac_prev
=x_includes
;;
396 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
397 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
398 x_includes
="$ac_optarg" ;;
400 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
401 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
402 ac_prev
=x_libraries
;;
403 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
404 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
405 x_libraries
="$ac_optarg" ;;
407 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
411 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
412 echo "configure: warning: $ac_option: invalid host type" 1>&2
414 if test "x$nonopt" != xNONE
; then
415 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
423 if test -n "$ac_prev"; then
424 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
427 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
429 # File descriptor usage:
432 # 2 errors and warnings
433 # 3 some systems may open it to /dev/tty
434 # 4 used on the Kubota Titan
435 # 6 checking for... messages and results
436 # 5 compiler messages saved in config.log
437 if test "$silent" = yes; then
445 This file contains any messages produced by compilers while
446 running configure, to aid debugging if configure makes a mistake.
449 # Strip out --no-create and --no-recursion so they do not pile up.
450 # Also quote any args containing shell metacharacters.
455 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
456 |
--no-cr |
--no-c) ;;
457 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
458 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
459 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
460 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
461 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
466 # Only set these to C if already set. These must not be set unconditionally
467 # because not all systems understand e.g. LANG=C (notably SCO).
468 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
469 # Non-C LC_CTYPE values break the ctype check.
470 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
471 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
472 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
473 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
475 # confdefs.h avoids OS command line length limits that DEFS can exceed.
476 rm -rf conftest
* confdefs.h
477 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
480 # A filename unique to this package, relative to the directory that
481 # configure is in, which we can look for to find out if srcdir is correct.
482 ac_unique_file
=dump
/dump.h
484 # Find the source files, if location was not specified.
485 if test -z "$srcdir"; then
486 ac_srcdir_defaulted
=yes
487 # Try the directory containing this script, then its parent.
489 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
490 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
492 if test ! -r $srcdir/$ac_unique_file; then
496 ac_srcdir_defaulted
=no
498 if test ! -r $srcdir/$ac_unique_file; then
499 if test "$ac_srcdir_defaulted" = yes; then
500 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
502 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
505 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
507 # Prefer explicitly selected file to automatically selected ones.
508 if test -z "$CONFIG_SITE"; then
509 if test "x$prefix" != xNONE
; then
510 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
512 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
515 for ac_site_file
in $CONFIG_SITE; do
516 if test -r "$ac_site_file"; then
517 echo "loading site script $ac_site_file"
522 if test -r "$cache_file"; then
523 echo "loading cache $cache_file"
526 echo "creating cache $cache_file"
531 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
532 ac_cpp
='$CPP $CPPFLAGS'
533 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
534 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
535 cross_compiling
=$ac_cv_prog_cc_cross
539 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
540 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
541 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
548 ac_n
= ac_c
='\c' ac_t
=
558 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
559 echo "configure:560: checking whether ${MAKE-make} sets \${MAKE}" >&5
560 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
561 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
562 echo $ac_n "(cached) $ac_c" 1>&6
564 cat > conftestmake
<<\EOF
566 @
echo 'ac_maketemp="${MAKE}"'
568 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
569 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
570 if test -n "$ac_maketemp"; then
571 eval ac_cv_prog_make_
${ac_make}_set
=yes
573 eval ac_cv_prog_make_
${ac_make}_set
=no
577 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
578 echo "$ac_t""yes" 1>&6
581 echo "$ac_t""no" 1>&6
582 SET_MAKE
="MAKE=${MAKE-make}"
585 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
586 echo "configure:587: checking whether ln -s works" >&5
587 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
588 echo $ac_n "(cached) $ac_c" 1>&6
591 if ln -s X conftestdata
2>/dev
/null
594 ac_cv_prog_LN_S
="ln -s"
599 LN_S
="$ac_cv_prog_LN_S"
600 if test "$ac_cv_prog_LN_S" = "ln -s"; then
601 echo "$ac_t""yes" 1>&6
603 echo "$ac_t""no" 1>&6
606 # Extract the first word of "cp", so it can be a program name with args.
607 set dummy
cp; ac_word
=$2
608 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
609 echo "configure:610: checking for $ac_word" >&5
610 if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then
611 echo $ac_n "(cached) $ac_c" 1>&6
615 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
618 ac_cv_path_CP
="$CP" # Let the user override the test with a dos path.
621 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
623 for ac_dir
in $ac_dummy; do
624 test -z "$ac_dir" && ac_dir
=.
625 if test -f $ac_dir/$ac_word; then
626 ac_cv_path_CP
="$ac_dir/$ac_word"
631 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
636 if test -n "$CP"; then
637 echo "$ac_t""$CP" 1>&6
639 echo "$ac_t""no" 1>&6
642 # Extract the first word of "mv", so it can be a program name with args.
643 set dummy
mv; ac_word
=$2
644 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
645 echo "configure:646: checking for $ac_word" >&5
646 if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then
647 echo $ac_n "(cached) $ac_c" 1>&6
651 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
654 ac_cv_path_MV
="$MV" # Let the user override the test with a dos path.
657 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
659 for ac_dir
in $ac_dummy; do
660 test -z "$ac_dir" && ac_dir
=.
661 if test -f $ac_dir/$ac_word; then
662 ac_cv_path_MV
="$ac_dir/$ac_word"
667 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="mv"
672 if test -n "$MV"; then
673 echo "$ac_t""$MV" 1>&6
675 echo "$ac_t""no" 1>&6
678 # Extract the first word of "rm", so it can be a program name with args.
679 set dummy
rm; ac_word
=$2
680 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
681 echo "configure:682: checking for $ac_word" >&5
682 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
683 echo $ac_n "(cached) $ac_c" 1>&6
687 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
690 ac_cv_path_RM
="$RM" # Let the user override the test with a dos path.
693 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
695 for ac_dir
in $ac_dummy; do
696 test -z "$ac_dir" && ac_dir
=.
697 if test -f $ac_dir/$ac_word; then
698 ac_cv_path_RM
="$ac_dir/$ac_word"
703 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
708 if test -n "$RM"; then
709 echo "$ac_t""$RM" 1>&6
711 echo "$ac_t""no" 1>&6
715 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
716 if test -f $ac_dir/install-sh
; then
718 ac_install_sh
="$ac_aux_dir/install-sh -c"
720 elif test -f $ac_dir/install.sh
; then
722 ac_install_sh
="$ac_aux_dir/install.sh -c"
726 if test -z "$ac_aux_dir"; then
727 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
729 ac_config_guess
=$ac_aux_dir/config.guess
730 ac_config_sub
=$ac_aux_dir/config.sub
731 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
734 # Make sure we can run config.sub.
735 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
736 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
739 echo $ac_n "checking host system type""... $ac_c" 1>&6
740 echo "configure:741: checking host system type" >&5
743 case "$host_alias" in
747 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
748 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
750 *) host_alias
=$nonopt ;;
754 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
755 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
756 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
757 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
758 echo "$ac_t""$host" 1>&6
760 echo $ac_n "checking build system type""... $ac_c" 1>&6
761 echo "configure:762: checking build system type" >&5
764 case "$build_alias" in
767 NONE
) build_alias
=$host_alias ;;
768 *) build_alias
=$nonopt ;;
772 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
773 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
774 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
775 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
776 echo "$ac_t""$build" 1>&6
778 if test $host != $build; then
779 ac_tool_prefix
=${host_alias}-
784 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
785 set dummy
${ac_tool_prefix}ar; ac_word
=$2
786 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
787 echo "configure:788: checking for $ac_word" >&5
788 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
789 echo $ac_n "(cached) $ac_c" 1>&6
791 if test -n "$AR"; then
792 ac_cv_prog_AR
="$AR" # Let the user override the test.
794 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
796 for ac_dir
in $ac_dummy; do
797 test -z "$ac_dir" && ac_dir
=.
798 if test -f $ac_dir/$ac_word; then
799 ac_cv_prog_AR
="${ac_tool_prefix}ar"
807 if test -n "$AR"; then
808 echo "$ac_t""$AR" 1>&6
810 echo "$ac_t""no" 1>&6
814 if test -z "$ac_cv_prog_AR"; then
815 if test -n "$ac_tool_prefix"; then
816 # Extract the first word of "ar", so it can be a program name with args.
817 set dummy
ar; ac_word
=$2
818 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
819 echo "configure:820: checking for $ac_word" >&5
820 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
821 echo $ac_n "(cached) $ac_c" 1>&6
823 if test -n "$AR"; then
824 ac_cv_prog_AR
="$AR" # Let the user override the test.
826 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
828 for ac_dir
in $ac_dummy; do
829 test -z "$ac_dir" && ac_dir
=.
830 if test -f $ac_dir/$ac_word; then
836 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
840 if test -n "$AR"; then
841 echo "$ac_t""$AR" 1>&6
843 echo "$ac_t""no" 1>&6
851 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
852 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
853 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
854 echo "configure:855: checking for $ac_word" >&5
855 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
856 echo $ac_n "(cached) $ac_c" 1>&6
858 if test -n "$RANLIB"; then
859 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
861 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
863 for ac_dir
in $ac_dummy; do
864 test -z "$ac_dir" && ac_dir
=.
865 if test -f $ac_dir/$ac_word; then
866 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
873 RANLIB
="$ac_cv_prog_RANLIB"
874 if test -n "$RANLIB"; then
875 echo "$ac_t""$RANLIB" 1>&6
877 echo "$ac_t""no" 1>&6
881 if test -z "$ac_cv_prog_RANLIB"; then
882 if test -n "$ac_tool_prefix"; then
883 # Extract the first word of "ranlib", so it can be a program name with args.
884 set dummy ranlib
; ac_word
=$2
885 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
886 echo "configure:887: checking for $ac_word" >&5
887 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
888 echo $ac_n "(cached) $ac_c" 1>&6
890 if test -n "$RANLIB"; then
891 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
893 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
895 for ac_dir
in $ac_dummy; do
896 test -z "$ac_dir" && ac_dir
=.
897 if test -f $ac_dir/$ac_word; then
898 ac_cv_prog_RANLIB
="ranlib"
903 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
906 RANLIB
="$ac_cv_prog_RANLIB"
907 if test -n "$RANLIB"; then
908 echo "$ac_t""$RANLIB" 1>&6
910 echo "$ac_t""no" 1>&6
918 # Extract the first word of "${ac_tool_prefix}patch", so it can be a program name with args.
919 set dummy
${ac_tool_prefix}patch; ac_word
=$2
920 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
921 echo "configure:922: checking for $ac_word" >&5
922 if eval "test \"`echo '$''{'ac_cv_prog_PATCH'+set}'`\" = set"; then
923 echo $ac_n "(cached) $ac_c" 1>&6
925 if test -n "$PATCH"; then
926 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
928 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
930 for ac_dir
in $ac_dummy; do
931 test -z "$ac_dir" && ac_dir
=.
932 if test -f $ac_dir/$ac_word; then
933 ac_cv_prog_PATCH
="${ac_tool_prefix}patch"
940 PATCH
="$ac_cv_prog_PATCH"
941 if test -n "$PATCH"; then
942 echo "$ac_t""$PATCH" 1>&6
944 echo "$ac_t""no" 1>&6
948 if test -z "$ac_cv_prog_PATCH"; then
949 if test -n "$ac_tool_prefix"; then
950 # Extract the first word of "patch", so it can be a program name with args.
951 set dummy
patch; ac_word
=$2
952 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
953 echo "configure:954: checking for $ac_word" >&5
954 if eval "test \"`echo '$''{'ac_cv_prog_PATCH'+set}'`\" = set"; then
955 echo $ac_n "(cached) $ac_c" 1>&6
957 if test -n "$PATCH"; then
958 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
960 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
962 for ac_dir
in $ac_dummy; do
963 test -z "$ac_dir" && ac_dir
=.
964 if test -f $ac_dir/$ac_word; then
965 ac_cv_prog_PATCH
="patch"
970 test -z "$ac_cv_prog_PATCH" && ac_cv_prog_PATCH
=":"
973 PATCH
="$ac_cv_prog_PATCH"
974 if test -n "$PATCH"; then
975 echo "$ac_t""$PATCH" 1>&6
977 echo "$ac_t""no" 1>&6
985 # Extract the first word of "gcc", so it can be a program name with args.
986 set dummy gcc
; ac_word
=$2
987 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
988 echo "configure:989: checking for $ac_word" >&5
989 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
990 echo $ac_n "(cached) $ac_c" 1>&6
992 if test -n "$CC"; then
993 ac_cv_prog_CC
="$CC" # Let the user override the test.
995 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
997 for ac_dir
in $ac_dummy; do
998 test -z "$ac_dir" && ac_dir
=.
999 if test -f $ac_dir/$ac_word; then
1008 if test -n "$CC"; then
1009 echo "$ac_t""$CC" 1>&6
1011 echo "$ac_t""no" 1>&6
1014 if test -z "$CC"; then
1015 # Extract the first word of "cc", so it can be a program name with args.
1016 set dummy cc
; ac_word
=$2
1017 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1018 echo "configure:1019: checking for $ac_word" >&5
1019 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1020 echo $ac_n "(cached) $ac_c" 1>&6
1022 if test -n "$CC"; then
1023 ac_cv_prog_CC
="$CC" # Let the user override the test.
1025 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1028 for ac_dir
in $ac_dummy; do
1029 test -z "$ac_dir" && ac_dir
=.
1030 if test -f $ac_dir/$ac_word; then
1031 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1032 ac_prog_rejected
=yes
1040 if test $ac_prog_rejected = yes; then
1041 # We found a bogon in the path, so make sure we never use it.
1042 set dummy
$ac_cv_prog_CC
1044 if test $# -gt 0; then
1045 # We chose a different compiler from the bogus one.
1046 # However, it has the same basename, so the bogon will be chosen
1047 # first if we set CC to just the basename; use the full file name.
1049 set dummy
"$ac_dir/$ac_word" "$@"
1057 if test -n "$CC"; then
1058 echo "$ac_t""$CC" 1>&6
1060 echo "$ac_t""no" 1>&6
1063 if test -z "$CC"; then
1064 case "`uname -s`" in
1066 # Extract the first word of "cl", so it can be a program name with args.
1067 set dummy cl
; ac_word
=$2
1068 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1069 echo "configure:1070: checking for $ac_word" >&5
1070 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1071 echo $ac_n "(cached) $ac_c" 1>&6
1073 if test -n "$CC"; then
1074 ac_cv_prog_CC
="$CC" # Let the user override the test.
1076 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1078 for ac_dir
in $ac_dummy; do
1079 test -z "$ac_dir" && ac_dir
=.
1080 if test -f $ac_dir/$ac_word; then
1089 if test -n "$CC"; then
1090 echo "$ac_t""$CC" 1>&6
1092 echo "$ac_t""no" 1>&6
1097 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1100 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1101 echo "configure:1102: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1104 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1105 ac_cpp
='$CPP $CPPFLAGS'
1106 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1107 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1108 cross_compiling
=$ac_cv_prog_cc_cross
1110 cat > conftest.
$ac_ext << EOF
1112 #line 1113 "configure"
1113 #include "confdefs.h"
1117 if { (eval echo configure
:1118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1118 ac_cv_prog_cc_works
=yes
1119 # If we can't run a trivial program, we are probably using a cross compiler.
1120 if (.
/conftest
; exit) 2>/dev
/null
; then
1121 ac_cv_prog_cc_cross
=no
1123 ac_cv_prog_cc_cross
=yes
1126 echo "configure: failed program was:" >&5
1127 cat conftest.
$ac_ext >&5
1128 ac_cv_prog_cc_works
=no
1132 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1133 ac_cpp
='$CPP $CPPFLAGS'
1134 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1135 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1136 cross_compiling
=$ac_cv_prog_cc_cross
1138 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1139 if test $ac_cv_prog_cc_works = no
; then
1140 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1142 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1143 echo "configure:1144: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1144 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1145 cross_compiling
=$ac_cv_prog_cc_cross
1147 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1148 echo "configure:1149: checking whether we are using GNU C" >&5
1149 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1150 echo $ac_n "(cached) $ac_c" 1>&6
1152 cat > conftest.c
<<EOF
1157 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1164 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1166 if test $ac_cv_prog_gcc = yes; then
1172 ac_test_CFLAGS
="${CFLAGS+set}"
1173 ac_save_CFLAGS
="$CFLAGS"
1175 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1176 echo "configure:1177: checking whether ${CC-cc} accepts -g" >&5
1177 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1178 echo $ac_n "(cached) $ac_c" 1>&6
1180 echo 'void f(){}' > conftest.c
1181 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1190 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1191 if test "$ac_test_CFLAGS" = set; then
1192 CFLAGS
="$ac_save_CFLAGS"
1193 elif test $ac_cv_prog_cc_g = yes; then
1194 if test "$GCC" = yes; then
1200 if test "$GCC" = yes; then
1207 # Find a good install program. We prefer a C program (faster),
1208 # so one script is as good as another. But avoid the broken or
1209 # incompatible versions:
1210 # SysV /etc/install, /usr/sbin/install
1211 # SunOS /usr/etc/install
1212 # IRIX /sbin/install
1214 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1215 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1216 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1217 # ./install, which can be erroneously created by make from ./install.sh.
1218 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1219 echo "configure:1220: checking for a BSD compatible install" >&5
1220 if test -z "$INSTALL"; then
1221 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1222 echo $ac_n "(cached) $ac_c" 1>&6
1224 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
1225 for ac_dir
in $PATH; do
1226 # Account for people who put trailing slashes in PATH elements.
1228 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
1230 # OSF1 and SCO ODT 3.0 have their own names for install.
1231 # Don't use installbsd from OSF since it installs stuff as root
1233 for ac_prog
in ginstall scoinst
install; do
1234 if test -f $ac_dir/$ac_prog; then
1235 if test $ac_prog = install &&
1236 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1237 # AIX install. It has an incompatible calling convention.
1240 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1251 if test "${ac_cv_path_install+set}" = set; then
1252 INSTALL
="$ac_cv_path_install"
1254 # As a last resort, use the slow shell script. We don't cache a
1255 # path for INSTALL within a source directory, because that will
1256 # break other packages using the cache if that directory is
1257 # removed, or if the path is relative.
1258 INSTALL
="$ac_install_sh"
1261 echo "$ac_t""$INSTALL" 1>&6
1263 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1264 # It thinks the first close brace ends the variable substitution.
1265 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1267 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
1269 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1272 # Check whether --enable-debug or --disable-debug was given.
1273 if test "${enable_debug+set}" = set; then
1274 enableval
="$enable_debug"
1275 if test "$enableval" = "no"
1280 DUMPDEBUG
="-DFDEBUG -DTDEBUG -DWRITEDEBUG -DDIRDEBUG"
1281 RESTOREDEBUG
="-DDIRDEBUG"
1292 # Check whether --enable-static or --disable-static was given.
1293 if test "${enable_static+set}" = set; then
1294 enableval
="$enable_static"
1295 if test "$enableval" = "no"
1304 echo "Linking dump and restore dynamically by default"
1310 # Check whether --enable-rmt or --disable-rmt was given.
1311 if test "${enable_rmt+set}" = set; then
1312 enableval
="$enable_rmt"
1313 if test "$enableval" = "no"
1319 RMTMAKEFILE
="rmt/Makefile"
1324 echo "Not compiling rmt by default"
1330 # Check whether --with-cc or --without-cc was given.
1331 if test "${with_cc+set}" = set; then
1333 echo "$ac_t""CC=$withval" 1>&6
1336 if test -z "$CC" ; then CC
=cc
; fi
1337 echo "$ac_t""CC defaults to $CC" 1>&6
1342 # Check whether --with-linker or --without-linker was given.
1343 if test "${with_linker+set}" = set; then
1344 withval
="$with_linker"
1345 echo "$ac_t""LD=$withval" 1>&6
1348 if test -z "$LD" ; then LD
=$CC; fi
1349 echo "$ac_t""LD defaults to $LD" 1>&6
1354 # Check whether --with-ccopts or --without-ccopts was given.
1355 if test "${with_ccopts+set}" = set; then
1356 withval
="$with_ccopts"
1357 echo "$ac_t""CCOPTS is $withval" 1>&6
1359 CFLAGS
="$CFLAGS $withval"
1365 # Check whether --with-ldopts or --without-ldopts was given.
1366 if test "${with_ldopts+set}" = set; then
1367 withval
="$with_ldopts"
1368 echo "$ac_t""LDFLAGS is $withval" 1>&6
1375 # Check whether --with-binowner or --without-binowner was given.
1376 if test "${with_binowner+set}" = set; then
1377 withval
="$with_binowner"
1378 echo "$ac_t""BINOWNER is $withval" 1>&6
1382 echo "BINOWNER defaults to $BINOWNER"
1387 # Check whether --with-bingrp or --without-bingrp was given.
1388 if test "${with_bingrp+set}" = set; then
1389 withval
="$with_bingrp"
1390 echo "$ac_t""BINGRP is $withval" 1>&6
1394 echo "BINGRP defaults to $BINGRP"
1399 # Check whether --with-binmode or --without-binmode was given.
1400 if test "${with_binmode+set}" = set; then
1401 withval
="$with_binmode"
1402 echo "$ac_t""BINMODE is $withval" 1>&6
1406 echo "BINMODE defaults to $BINMODE"
1411 # Check whether --with-manowner or --without-manowner was given.
1412 if test "${with_manowner+set}" = set; then
1413 withval
="$with_manowner"
1414 echo "$ac_t""MANOWNER is $withval" 1>&6
1418 echo "MANOWNER defaults to $MANOWNER"
1423 # Check whether --with-mangrp or --without-mangrp was given.
1424 if test "${with_mangrp+set}" = set; then
1425 withval
="$with_mangrp"
1426 echo "$ac_t""MANGRP is $withval" 1>&6
1430 echo "MANGRP defaults to $MANGRP"
1435 # Check whether --with-manmode or --without-manmode was given.
1436 if test "${with_manmode+set}" = set; then
1437 withval
="$with_manmode"
1438 echo "$ac_t""MANMODE is $withval" 1>&6
1442 echo "MANMODE defaults to $MANMODE"
1447 # Check whether --with-dumpdatespath or --without-dumpdatespath was given.
1448 if test "${with_dumpdatespath+set}" = set; then
1449 withval
="$with_dumpdatespath"
1450 echo "$ac_t""DUMPDATESPATH is $withval" 1>&6
1451 DUMPDATESPATH
=$withval
1453 DUMPDATESPATH
="/etc/dumpdates"
1454 echo "DUMPDATESPATH defaults to $DUMPDATESPATH"
1459 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1460 echo "configure:1461: checking how to run the C preprocessor" >&5
1461 # On Suns, sometimes $CPP names a directory.
1462 if test -n "$CPP" && test -d "$CPP"; then
1465 if test -z "$CPP"; then
1466 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1467 echo $ac_n "(cached) $ac_c" 1>&6
1469 # This must be in double quotes, not single quotes, because CPP may get
1470 # substituted into the Makefile and "${CC-cc}" will confuse make.
1472 # On the NeXT, cc -E runs the code through the compiler's parser,
1473 # not just through cpp.
1474 cat > conftest.
$ac_ext <<EOF
1475 #line 1476 "configure"
1476 #include "confdefs.h"
1480 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1481 { (eval echo configure
:1482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1482 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1483 if test -z "$ac_err"; then
1487 echo "configure: failed program was:" >&5
1488 cat conftest.
$ac_ext >&5
1490 CPP
="${CC-cc} -E -traditional-cpp"
1491 cat > conftest.
$ac_ext <<EOF
1492 #line 1493 "configure"
1493 #include "confdefs.h"
1497 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1498 { (eval echo configure
:1499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1499 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1500 if test -z "$ac_err"; then
1504 echo "configure: failed program was:" >&5
1505 cat conftest.
$ac_ext >&5
1507 CPP
="${CC-cc} -nologo -E"
1508 cat > conftest.
$ac_ext <<EOF
1509 #line 1510 "configure"
1510 #include "confdefs.h"
1514 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1515 { (eval echo configure
:1516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1516 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1517 if test -z "$ac_err"; then
1521 echo "configure: failed program was:" >&5
1522 cat conftest.
$ac_ext >&5
1531 ac_cv_prog_CPP
="$CPP"
1533 CPP
="$ac_cv_prog_CPP"
1535 ac_cv_prog_CPP
="$CPP"
1537 echo "$ac_t""$CPP" 1>&6
1539 ac_safe
=`echo "ext2fs/ext2fs.h" | sed 'y%./+-%__p_%'`
1540 echo $ac_n "checking for ext2fs/ext2fs.h""... $ac_c" 1>&6
1541 echo "configure:1542: checking for ext2fs/ext2fs.h" >&5
1542 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1543 echo $ac_n "(cached) $ac_c" 1>&6
1545 cat > conftest.
$ac_ext <<EOF
1546 #line 1547 "configure"
1547 #include "confdefs.h"
1548 #include <ext2fs/ext2fs.h>
1550 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1551 { (eval echo configure
:1552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1552 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1553 if test -z "$ac_err"; then
1555 eval "ac_cv_header_$ac_safe=yes"
1558 echo "configure: failed program was:" >&5
1559 cat conftest.
$ac_ext >&5
1561 eval "ac_cv_header_$ac_safe=no"
1565 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1566 echo "$ac_t""yes" 1>&6
1569 echo "$ac_t""no" 1>&6
1573 echo $ac_n "checking for ext2fs_open in -lext2fs""... $ac_c" 1>&6
1574 echo "configure:1575: checking for ext2fs_open in -lext2fs" >&5
1575 ac_lib_var
=`echo ext2fs'_'ext2fs_open | sed 'y%./+-%__p_%'`
1576 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1577 echo $ac_n "(cached) $ac_c" 1>&6
1579 ac_save_LIBS
="$LIBS"
1580 LIBS
="-lext2fs -lcom_err $LIBS"
1581 cat > conftest.
$ac_ext <<EOF
1582 #line 1583 "configure"
1583 #include "confdefs.h"
1584 /* Override any gcc2 internal prototype to avoid an error. */
1585 /* We use char because int might match the return type of a gcc2
1586 builtin and then its argument prototype would still apply. */
1593 if { (eval echo configure
:1594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1595 eval "ac_cv_lib_$ac_lib_var=yes"
1597 echo "configure: failed program was:" >&5
1598 cat conftest.
$ac_ext >&5
1600 eval "ac_cv_lib_$ac_lib_var=no"
1603 LIBS
="$ac_save_LIBS"
1606 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1607 echo "$ac_t""yes" 1>&6
1610 echo "$ac_t""no" 1>&6
1614 if test "$ext2fs_h" = no
-o "$ext2fs_lib" = no
; then
1615 { echo "configure: error: You need to install the Ext2fs libraries from the E2fsprogs distribution first" 1>&2; exit 1; }
1618 for ac_func
in err errx verr verrx vwarn vwarnx warn warnx realpath lchown
1620 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1621 echo "configure:1622: checking for $ac_func" >&5
1622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1623 echo $ac_n "(cached) $ac_c" 1>&6
1625 cat > conftest.
$ac_ext <<EOF
1626 #line 1627 "configure"
1627 #include "confdefs.h"
1628 /* System header to define __stub macros and hopefully few prototypes,
1629 which can conflict with char $ac_func(); below. */
1631 /* Override any gcc2 internal prototype to avoid an error. */
1632 /* We use char because int might match the return type of a gcc2
1633 builtin and then its argument prototype would still apply. */
1638 /* The GNU C library defines this for functions which it implements
1639 to always fail with ENOSYS. Some functions are actually named
1640 something starting with __ and the normal name is an alias. */
1641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1649 if { (eval echo configure
:1650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1651 eval "ac_cv_func_$ac_func=yes"
1653 echo "configure: failed program was:" >&5
1654 cat conftest.
$ac_ext >&5
1656 eval "ac_cv_func_$ac_func=no"
1661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1662 echo "$ac_t""yes" 1>&6
1663 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1664 cat >> confdefs.h
<<EOF
1665 #define $ac_tr_func 1
1669 echo "$ac_t""no" 1>&6
1673 echo $ac_n "checking for glob""... $ac_c" 1>&6
1674 echo "configure:1675: checking for glob" >&5
1675 if eval "test \"`echo '$''{'ac_cv_func_glob'+set}'`\" = set"; then
1676 echo $ac_n "(cached) $ac_c" 1>&6
1678 cat > conftest.
$ac_ext <<EOF
1679 #line 1680 "configure"
1680 #include "confdefs.h"
1681 /* System header to define __stub macros and hopefully few prototypes,
1682 which can conflict with char glob(); below. */
1684 /* Override any gcc2 internal prototype to avoid an error. */
1685 /* We use char because int might match the return type of a gcc2
1686 builtin and then its argument prototype would still apply. */
1691 /* The GNU C library defines this for functions which it implements
1692 to always fail with ENOSYS. Some functions are actually named
1693 something starting with __ and the normal name is an alias. */
1694 #if defined (__stub_glob) || defined (__stub___glob)
1702 if { (eval echo configure
:1703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1704 eval "ac_cv_func_glob=yes"
1706 echo "configure: failed program was:" >&5
1707 cat conftest.
$ac_ext >&5
1709 eval "ac_cv_func_glob=no"
1714 if eval "test \"`echo '$ac_cv_func_'glob`\" = yes"; then
1715 echo "$ac_t""yes" 1>&6
1718 echo "$ac_t""no" 1>&6
1722 if test "$ac_cv_func_glob" = "yes"; then
1723 cat > conftest.
$ac_ext <<EOF
1724 #line 1725 "configure"
1725 #include "confdefs.h"
1728 # ifdef GLOB_ALTDIRFUNC
1733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1734 egrep "yes" >/dev
/null
2>&1; then
1736 cat >> confdefs.h
<<\EOF
1746 if test "$noglob" = "yes"; then
1747 echo "Your system does not support extended glob, will use the internal routines"
1751 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1752 echo "configure:1753: checking for ANSI C header files" >&5
1753 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1754 echo $ac_n "(cached) $ac_c" 1>&6
1756 cat > conftest.
$ac_ext <<EOF
1757 #line 1758 "configure"
1758 #include "confdefs.h"
1764 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1765 { (eval echo configure
:1766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1766 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1767 if test -z "$ac_err"; then
1769 ac_cv_header_stdc
=yes
1772 echo "configure: failed program was:" >&5
1773 cat conftest.
$ac_ext >&5
1775 ac_cv_header_stdc
=no
1779 if test $ac_cv_header_stdc = yes; then
1780 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1781 cat > conftest.
$ac_ext <<EOF
1782 #line 1783 "configure"
1783 #include "confdefs.h"
1786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1787 egrep "memchr" >/dev
/null
2>&1; then
1791 ac_cv_header_stdc
=no
1797 if test $ac_cv_header_stdc = yes; then
1798 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1799 cat > conftest.
$ac_ext <<EOF
1800 #line 1801 "configure"
1801 #include "confdefs.h"
1804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1805 egrep "free" >/dev
/null
2>&1; then
1809 ac_cv_header_stdc
=no
1815 if test $ac_cv_header_stdc = yes; then
1816 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1817 if test "$cross_compiling" = yes; then
1820 cat > conftest.
$ac_ext <<EOF
1821 #line 1822 "configure"
1822 #include "confdefs.h"
1824 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1825 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1826 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1827 int main () { int i; for (i = 0; i < 256; i++)
1828 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1832 if { (eval echo configure
:1833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
1836 echo "configure: failed program was:" >&5
1837 cat conftest.
$ac_ext >&5
1839 ac_cv_header_stdc
=no
1847 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1848 if test $ac_cv_header_stdc = yes; then
1849 cat >> confdefs.h
<<\EOF
1850 #define STDC_HEADERS 1
1855 echo $ac_n "checking for quad_t""... $ac_c" 1>&6
1856 echo "configure:1857: checking for quad_t" >&5
1857 if eval "test \"`echo '$''{'ac_cv_type_quad_t'+set}'`\" = set"; then
1858 echo $ac_n "(cached) $ac_c" 1>&6
1860 cat > conftest.
$ac_ext <<EOF
1861 #line 1862 "configure"
1862 #include "confdefs.h"
1863 #include <sys/types.h>
1869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1870 egrep "(^|[^a-zA-Z_0-9])quad_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
1872 ac_cv_type_quad_t
=yes
1875 ac_cv_type_quad_t
=no
1880 echo "$ac_t""$ac_cv_type_quad_t" 1>&6
1881 if test $ac_cv_type_quad_t = no
; then
1882 cat >> confdefs.h
<<\EOF
1883 #define quad_t __s64
1888 echo $ac_n "checking for u_quad_t""... $ac_c" 1>&6
1889 echo "configure:1890: checking for u_quad_t" >&5
1890 if eval "test \"`echo '$''{'ac_cv_type_u_quad_t'+set}'`\" = set"; then
1891 echo $ac_n "(cached) $ac_c" 1>&6
1893 cat > conftest.
$ac_ext <<EOF
1894 #line 1895 "configure"
1895 #include "confdefs.h"
1896 #include <sys/types.h>
1902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1903 egrep "(^|[^a-zA-Z_0-9])u_quad_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
1905 ac_cv_type_u_quad_t
=yes
1908 ac_cv_type_u_quad_t
=no
1913 echo "$ac_t""$ac_cv_type_u_quad_t" 1>&6
1914 if test $ac_cv_type_u_quad_t = no
; then
1915 cat >> confdefs.h
<<\EOF
1916 #define u_quad_t __u64
1922 top_builddir
=`cd .; pwd`
1925 test -d compat || mkdir compat
1926 test -d compat
/lib || mkdir compat
/lib
1929 cat > confcache
<<\EOF
1930 # This file is a shell script that caches the results of configure
1931 # tests run on this system so they can be shared between configure
1932 # scripts and configure runs. It is not useful on other systems.
1933 # If it contains results you don't want to keep, you may remove or edit it.
1935 # By default, configure uses ./config.cache as the cache file,
1936 # creating it if it does not exist already. You can give configure
1937 # the --cache-file=FILE option to use a different cache file; that is
1938 # what configure does when it calls configure scripts in
1939 # subdirectories, so they share the cache.
1940 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1941 # config.status only pays attention to the cache file if you give it the
1942 # --recheck option to rerun configure.
1945 # The following way of writing the cache mishandles newlines in values,
1946 # but we know of no workaround that is simple, portable, and efficient.
1947 # So, don't put newlines in cache variables' values.
1948 # Ultrix sh set writes to stderr and can't be redirected directly,
1949 # and sets the high bit in the cache file unless we assign to the vars.
1951 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1953 # `set' does not quote correctly, so add quotes (double-quote substitution
1954 # turns \\\\ into \\, and sed turns \\ into \).
1956 -e "s/'/'\\\\''/g" \
1957 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1960 # `set' quotes correctly as required by POSIX, so do not add quotes.
1961 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1964 if cmp -s $cache_file confcache
; then
1967 if test -w $cache_file; then
1968 echo "updating cache $cache_file"
1969 cat confcache
> $cache_file
1971 echo "not updating unwritable cache $cache_file"
1976 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1978 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
1979 # Let make expand exec_prefix.
1980 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
1982 # Any assignment to VPATH causes Sun make to only execute
1983 # the first set of double-colon rules, so remove it if not needed.
1984 # If there is a colon in the path, we need to keep it.
1985 if test "x$srcdir" = x.
; then
1986 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
1989 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1991 DEFS
=-DHAVE_CONFIG_H
1993 # Without the "./", some shells look in PATH for config.status.
1994 : ${CONFIG_STATUS=./config.status}
1996 echo creating
$CONFIG_STATUS
1997 rm -f $CONFIG_STATUS
1998 cat > $CONFIG_STATUS <<EOF
2000 # Generated automatically by configure.
2001 # Run this file to recreate the current configuration.
2002 # This directory was configured as follows,
2003 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2005 # $0 $ac_configure_args
2007 # Compiler output produced by configure, useful for debugging
2008 # configure, is in ./config.log if it exists.
2010 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2013 case "\$ac_option" in
2014 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2015 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2016 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2017 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2018 echo "$CONFIG_STATUS generated by autoconf version 2.13"
2020 -help | --help | --hel | --he | --h)
2021 echo "\$ac_cs_usage"; exit 0 ;;
2022 *) echo "\$ac_cs_usage"; exit 1 ;;
2026 ac_given_srcdir=$srcdir
2027 ac_given_INSTALL="$INSTALL"
2029 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
2031 cat >> $CONFIG_STATUS <<EOF
2033 # Protect against being on the right side of a sed subst in config.status.
2034 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2035 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2039 s%@CFLAGS@%$CFLAGS%g
2040 s%@CPPFLAGS@%$CPPFLAGS%g
2041 s%@CXXFLAGS@%$CXXFLAGS%g
2042 s%@FFLAGS@%$FFLAGS%g
2044 s%@LDFLAGS@%$LDFLAGS%g
2046 s%@exec_prefix@%$exec_prefix%g
2047 s%@prefix@%$prefix%g
2048 s%@program_transform_name@%$program_transform_name%g
2049 s%@bindir@%$bindir%g
2050 s%@sbindir@%$sbindir%g
2051 s%@libexecdir@%$libexecdir%g
2052 s%@datadir@%$datadir%g
2053 s%@sysconfdir@%$sysconfdir%g
2054 s%@sharedstatedir@%$sharedstatedir%g
2055 s%@localstatedir@%$localstatedir%g
2056 s%@libdir@%$libdir%g
2057 s%@includedir@%$includedir%g
2058 s%@oldincludedir@%$oldincludedir%g
2059 s%@infodir@%$infodir%g
2060 s%@mandir@%$mandir%g
2061 /@MCONFIG@/r $MCONFIG
2063 s%@SET_MAKE@%$SET_MAKE%g
2069 s%@host_alias@%$host_alias%g
2070 s%@host_cpu@%$host_cpu%g
2071 s%@host_vendor@%$host_vendor%g
2072 s%@host_os@%$host_os%g
2074 s%@build_alias@%$build_alias%g
2075 s%@build_cpu@%$build_cpu%g
2076 s%@build_vendor@%$build_vendor%g
2077 s%@build_os@%$build_os%g
2079 s%@RANLIB@%$RANLIB%g
2082 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2083 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2084 s%@INSTALL_DATA@%$INSTALL_DATA%g
2085 s%@DUMPDEBUG@%$DUMPDEBUG%g
2086 s%@RESTOREDEBUG@%$RESTOREDEBUG%g
2087 s%@STATIC@%$STATIC%g
2088 s%@RMTDIR@%$RMTDIR%g
2090 s%@CCOPTS@%$CCOPTS%g
2091 s%@BINOWNER@%$BINOWNER%g
2092 s%@BINGRP@%$BINGRP%g
2093 s%@BINMODE@%$BINMODE%g
2094 s%@MANOWNER@%$MANOWNER%g
2095 s%@MANGRP@%$MANGRP%g
2096 s%@MANMODE@%$MANMODE%g
2097 s%@DUMPDATESPATH@%$DUMPDATESPATH%g
2099 s%@top_builddir@%$top_builddir%g
2104 cat >> $CONFIG_STATUS <<\EOF
2106 # Split the substitutions into bite-sized pieces for seds with
2107 # small command number limits, like on Digital OSF/1 and HP-UX.
2108 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
2109 ac_file
=1 # Number of current file.
2110 ac_beg
=1 # First line for current file.
2111 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
2114 while $ac_more_lines; do
2115 if test $ac_beg -gt 1; then
2116 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
2118 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
2120 if test ! -s conftest.s
$ac_file; then
2122 rm -f conftest.s
$ac_file
2124 if test -z "$ac_sed_cmds"; then
2125 ac_sed_cmds
="sed -f conftest.s$ac_file"
2127 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
2129 ac_file
=`expr $ac_file + 1`
2131 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
2134 if test -z "$ac_sed_cmds"; then
2139 cat >> $CONFIG_STATUS <<EOF
2141 CONFIG_FILES=\${CONFIG_FILES-"MCONFIG Makefile common/Makefile compat/include/Makefile compat/lib/Makefile dump/Makefile restore/Makefile $RMTMAKEFILE"}
2143 cat >> $CONFIG_STATUS <<\EOF
2144 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
2145 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2147 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2148 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2149 *) ac_file_in
="${ac_file}.in" ;;
2152 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2154 # Remove last slash and all that follows it. Not all systems have dirname.
2155 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2156 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
2157 # The file is in a subdirectory.
2158 test ! -d "$ac_dir" && mkdir
"$ac_dir"
2159 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
2160 # A "../" for each directory in $ac_dir_suffix.
2161 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2163 ac_dir_suffix
= ac_dots
=
2166 case "$ac_given_srcdir" in
2168 if test -z "$ac_dots"; then top_srcdir
=.
2169 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2170 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
2172 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2173 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
2176 case "$ac_given_INSTALL" in
2177 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
2178 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
2181 echo creating
"$ac_file"
2183 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2185 *Makefile
*) ac_comsub
="1i\\
2186 # $configure_input" ;;
2190 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2192 s%@configure_input@%$configure_input%g
2193 s%@srcdir@%$srcdir%g
2194 s%@top_srcdir@%$top_srcdir%g
2195 s%@INSTALL@%$INSTALL%g
2196 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
2200 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2201 # NAME is the cpp macro being defined and VALUE is the value it is being given.
2203 # ac_d sets the value in "#define NAME VALUE" lines.
2204 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2205 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
2208 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2209 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2210 ac_uB
='\([ ]\)%\1#\2define\3'
2213 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2214 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2215 ac_eB
='$%\1#\2define\3'
2219 if test "${CONFIG_HEADERS+set}" != set; then
2221 cat >> $CONFIG_STATUS <<EOF
2222 CONFIG_HEADERS="config.h"
2224 cat >> $CONFIG_STATUS <<\EOF
2226 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
2227 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2229 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2230 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2231 *) ac_file_in
="${ac_file}.in" ;;
2234 echo creating
$ac_file
2236 rm -f conftest.frag conftest.
in conftest.out
2237 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2238 cat $ac_file_inputs > conftest.
in
2242 # Transform confdefs.h into a sed script conftest.vals that substitutes
2243 # the proper values into config.h.in to produce config.h. And first:
2244 # Protect against being on the right side of a sed subst in config.status.
2245 # Protect against being in an unquoted here document in config.status.
2247 cat > conftest.hdr
<<\EOF
2250 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2254 sed -n -f conftest.hdr confdefs.h > conftest.vals
2257 # This sed command replaces #undef with comments. This is necessary, for
2258 # example, in the case of _POSIX_SOURCE, which is predefined and required
2259 # on some systems where configure will not decide to define it.
2260 cat >> conftest.vals <<\EOF
2261 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2264 # Break up conftest.vals because some shells have a limit on
2265 # the size of here documents, and old seds have small limits too.
2270 ac_lines=`grep -c . conftest.vals
`
2271 # grep -c gives empty output for an empty file on some AIX systems.
2272 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2273 # Write a limited-size here document to conftest.frag.
2274 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2275 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2277 sed -f conftest.frag conftest.in > conftest.out
2279 mv conftest.out conftest.in
2281 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2283 mv conftest.tail conftest.vals
2287 cat >> $CONFIG_STATUS <<\EOF
2288 rm -f conftest.frag conftest.h
2289 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2290 cat conftest.in >> conftest.h
2292 if cmp -s $ac_file conftest.h 2>/dev/null; then
2293 echo "$ac_file is unchanged"
2296 # Remove last slash and all that follows it. Not all systems have dirname.
2297 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
2298 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2299 # The file is in a subdirectory.
2300 test ! -d "$ac_dir" && mkdir "$ac_dir"
2303 mv conftest.h $ac_file
2308 cat >> $CONFIG_STATUS <<EOF
2311 cat >> $CONFIG_STATUS <<\EOF
2315 chmod +x $CONFIG_STATUS
2316 rm -fr confdefs* $ac_clean_files
2317 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1