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-dumpdates-patch apply the dumpdates patch from Debian"
17 --enable-debug include debugging code"
19 --enable-static link dump and restore statically"
21 --enable-rmt compile and install rmt"
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 # 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-dumpdates-patch or --disable-dumpdates-patch was given.
1273 if test "${enable_dumpdates_patch+set}" = set; then
1274 enableval
="$enable_dumpdates_patch"
1275 if test "$enableval" = "yes"
1277 if test "$PATCH" = ":"
1279 { echo "configure: error: The patch program was not found on your system" 1>&2; exit 1; }
1281 (cd $srcdir; $PATCH -p < debian-patch
)
1287 # Check whether --enable-debug or --disable-debug was given.
1288 if test "${enable_debug+set}" = set; then
1289 enableval
="$enable_debug"
1290 if test "$enableval" = "no"
1295 DUMPDEBUG
="-DFDEBUG -DTDEBUG -DWRITEDEBUG -DDIRDEBUG"
1296 RESTOREDEBUG
="-DDIRDEBUG"
1307 # Check whether --enable-static or --disable-static was given.
1308 if test "${enable_static+set}" = set; then
1309 enableval
="$enable_static"
1310 if test "$enableval" = "no"
1319 echo "Linking dump and restore dynamically by default"
1325 # Check whether --enable-rmt or --disable-rmt was given.
1326 if test "${enable_rmt+set}" = set; then
1327 enableval
="$enable_rmt"
1328 if test "$enableval" = "no"
1334 RMTMAKEFILE
="rmt/Makefile"
1339 echo "Not compiling rmt by default"
1345 # Check whether --with-cc or --without-cc was given.
1346 if test "${with_cc+set}" = set; then
1348 echo "$ac_t""CC=$withval" 1>&6
1351 if test -z "$CC" ; then CC
=cc
; fi
1352 echo "$ac_t""CC defaults to $CC" 1>&6
1357 # Check whether --with-linker or --without-linker was given.
1358 if test "${with_linker+set}" = set; then
1359 withval
="$with_linker"
1360 echo "$ac_t""LD=$withval" 1>&6
1363 if test -z "$LD" ; then LD
=$CC; fi
1364 echo "$ac_t""LD defaults to $LD" 1>&6
1369 # Check whether --with-ccopts or --without-ccopts was given.
1370 if test "${with_ccopts+set}" = set; then
1371 withval
="$with_ccopts"
1372 echo "$ac_t""CCOPTS is $withval" 1>&6
1374 CFLAGS
="$CFLAGS $withval"
1380 # Check whether --with-ldopts or --without-ldopts was given.
1381 if test "${with_ldopts+set}" = set; then
1382 withval
="$with_ldopts"
1383 echo "$ac_t""LDFLAGS is $withval" 1>&6
1390 # Check whether --with-binowner or --without-binowner was given.
1391 if test "${with_binowner+set}" = set; then
1392 withval
="$with_binowner"
1393 echo "$ac_t""BINOWNER is $withval" 1>&6
1397 echo "BINOWNER defaults to $BINOWNER"
1402 # Check whether --with-bingrp or --without-bingrp was given.
1403 if test "${with_bingrp+set}" = set; then
1404 withval
="$with_bingrp"
1405 echo "$ac_t""BINGRP is $withval" 1>&6
1409 echo "BINGRP defaults to $BINGRP"
1414 # Check whether --with-binmode or --without-binmode was given.
1415 if test "${with_binmode+set}" = set; then
1416 withval
="$with_binmode"
1417 echo "$ac_t""BINMODE is $withval" 1>&6
1421 echo "BINMODE defaults to $BINMODE"
1426 # Check whether --with-manowner or --without-manowner was given.
1427 if test "${with_manowner+set}" = set; then
1428 withval
="$with_manowner"
1429 echo "$ac_t""MANOWNER is $withval" 1>&6
1433 echo "MANOWNER defaults to $MANOWNER"
1438 # Check whether --with-mangrp or --without-mangrp was given.
1439 if test "${with_mangrp+set}" = set; then
1440 withval
="$with_mangrp"
1441 echo "$ac_t""MANGRP is $withval" 1>&6
1445 echo "MANGRP defaults to $MANGRP"
1450 # Check whether --with-manmode or --without-manmode was given.
1451 if test "${with_manmode+set}" = set; then
1452 withval
="$with_manmode"
1453 echo "$ac_t""MANMODE is $withval" 1>&6
1457 echo "MANMODE defaults to $MANMODE"
1462 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1463 echo "configure:1464: checking how to run the C preprocessor" >&5
1464 # On Suns, sometimes $CPP names a directory.
1465 if test -n "$CPP" && test -d "$CPP"; then
1468 if test -z "$CPP"; then
1469 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1470 echo $ac_n "(cached) $ac_c" 1>&6
1472 # This must be in double quotes, not single quotes, because CPP may get
1473 # substituted into the Makefile and "${CC-cc}" will confuse make.
1475 # On the NeXT, cc -E runs the code through the compiler's parser,
1476 # not just through cpp.
1477 cat > conftest.
$ac_ext <<EOF
1478 #line 1479 "configure"
1479 #include "confdefs.h"
1483 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1484 { (eval echo configure
:1485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1485 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1486 if test -z "$ac_err"; then
1490 echo "configure: failed program was:" >&5
1491 cat conftest.
$ac_ext >&5
1493 CPP
="${CC-cc} -E -traditional-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} -nologo -E"
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
1534 ac_cv_prog_CPP
="$CPP"
1536 CPP
="$ac_cv_prog_CPP"
1538 ac_cv_prog_CPP
="$CPP"
1540 echo "$ac_t""$CPP" 1>&6
1542 ac_safe
=`echo "ext2fs/ext2fs.h" | sed 'y%./+-%__p_%'`
1543 echo $ac_n "checking for ext2fs/ext2fs.h""... $ac_c" 1>&6
1544 echo "configure:1545: checking for ext2fs/ext2fs.h" >&5
1545 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1546 echo $ac_n "(cached) $ac_c" 1>&6
1548 cat > conftest.
$ac_ext <<EOF
1549 #line 1550 "configure"
1550 #include "confdefs.h"
1551 #include <ext2fs/ext2fs.h>
1553 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1554 { (eval echo configure
:1555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1555 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1556 if test -z "$ac_err"; then
1558 eval "ac_cv_header_$ac_safe=yes"
1561 echo "configure: failed program was:" >&5
1562 cat conftest.
$ac_ext >&5
1564 eval "ac_cv_header_$ac_safe=no"
1568 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1569 echo "$ac_t""yes" 1>&6
1572 echo "$ac_t""no" 1>&6
1576 echo $ac_n "checking for ext2fs_open in -lext2fs""... $ac_c" 1>&6
1577 echo "configure:1578: checking for ext2fs_open in -lext2fs" >&5
1578 ac_lib_var
=`echo ext2fs'_'ext2fs_open | sed 'y%./+-%__p_%'`
1579 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1580 echo $ac_n "(cached) $ac_c" 1>&6
1582 ac_save_LIBS
="$LIBS"
1583 LIBS
="-lext2fs -lcom_err $LIBS"
1584 cat > conftest.
$ac_ext <<EOF
1585 #line 1586 "configure"
1586 #include "confdefs.h"
1587 /* Override any gcc2 internal prototype to avoid an error. */
1588 /* We use char because int might match the return type of a gcc2
1589 builtin and then its argument prototype would still apply. */
1596 if { (eval echo configure
:1597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1598 eval "ac_cv_lib_$ac_lib_var=yes"
1600 echo "configure: failed program was:" >&5
1601 cat conftest.
$ac_ext >&5
1603 eval "ac_cv_lib_$ac_lib_var=no"
1606 LIBS
="$ac_save_LIBS"
1609 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1610 echo "$ac_t""yes" 1>&6
1613 echo "$ac_t""no" 1>&6
1617 if test "$ext2fs_h" = no
-o "$ext2fs_lib" = no
; then
1618 { echo "configure: error: You need to install the Ext2fs libraries from the E2fsprogs distribution first" 1>&2; exit 1; }
1621 for ac_func
in err errx verr verrx vwarn vwarnx warn warnx realpath glob
1623 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1624 echo "configure:1625: checking for $ac_func" >&5
1625 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1626 echo $ac_n "(cached) $ac_c" 1>&6
1628 cat > conftest.
$ac_ext <<EOF
1629 #line 1630 "configure"
1630 #include "confdefs.h"
1631 /* System header to define __stub macros and hopefully few prototypes,
1632 which can conflict with char $ac_func(); below. */
1634 /* Override any gcc2 internal prototype to avoid an error. */
1635 /* We use char because int might match the return type of a gcc2
1636 builtin and then its argument prototype would still apply. */
1641 /* The GNU C library defines this for functions which it implements
1642 to always fail with ENOSYS. Some functions are actually named
1643 something starting with __ and the normal name is an alias. */
1644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1652 if { (eval echo configure
:1653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1654 eval "ac_cv_func_$ac_func=yes"
1656 echo "configure: failed program was:" >&5
1657 cat conftest.
$ac_ext >&5
1659 eval "ac_cv_func_$ac_func=no"
1664 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1665 echo "$ac_t""yes" 1>&6
1666 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1667 cat >> confdefs.h
<<EOF
1668 #define $ac_tr_func 1
1672 echo "$ac_t""no" 1>&6
1677 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1678 echo "configure:1679: checking for ANSI C header files" >&5
1679 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1680 echo $ac_n "(cached) $ac_c" 1>&6
1682 cat > conftest.
$ac_ext <<EOF
1683 #line 1684 "configure"
1684 #include "confdefs.h"
1690 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1691 { (eval echo configure
:1692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1692 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1693 if test -z "$ac_err"; then
1695 ac_cv_header_stdc
=yes
1698 echo "configure: failed program was:" >&5
1699 cat conftest.
$ac_ext >&5
1701 ac_cv_header_stdc
=no
1705 if test $ac_cv_header_stdc = yes; then
1706 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1707 cat > conftest.
$ac_ext <<EOF
1708 #line 1709 "configure"
1709 #include "confdefs.h"
1712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1713 egrep "memchr" >/dev
/null
2>&1; then
1717 ac_cv_header_stdc
=no
1723 if test $ac_cv_header_stdc = yes; then
1724 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1725 cat > conftest.
$ac_ext <<EOF
1726 #line 1727 "configure"
1727 #include "confdefs.h"
1730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1731 egrep "free" >/dev
/null
2>&1; then
1735 ac_cv_header_stdc
=no
1741 if test $ac_cv_header_stdc = yes; then
1742 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1743 if test "$cross_compiling" = yes; then
1746 cat > conftest.
$ac_ext <<EOF
1747 #line 1748 "configure"
1748 #include "confdefs.h"
1750 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1751 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1752 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1753 int main () { int i; for (i = 0; i < 256; i++)
1754 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1758 if { (eval echo configure
:1759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
1762 echo "configure: failed program was:" >&5
1763 cat conftest.
$ac_ext >&5
1765 ac_cv_header_stdc
=no
1773 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1774 if test $ac_cv_header_stdc = yes; then
1775 cat >> confdefs.h
<<\EOF
1776 #define STDC_HEADERS 1
1781 echo $ac_n "checking for quad_t""... $ac_c" 1>&6
1782 echo "configure:1783: checking for quad_t" >&5
1783 if eval "test \"`echo '$''{'ac_cv_type_quad_t'+set}'`\" = set"; then
1784 echo $ac_n "(cached) $ac_c" 1>&6
1786 cat > conftest.
$ac_ext <<EOF
1787 #line 1788 "configure"
1788 #include "confdefs.h"
1789 #include <sys/types.h>
1795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1796 egrep "(^|[^a-zA-Z_0-9])quad_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
1798 ac_cv_type_quad_t
=yes
1801 ac_cv_type_quad_t
=no
1806 echo "$ac_t""$ac_cv_type_quad_t" 1>&6
1807 if test $ac_cv_type_quad_t = no
; then
1808 cat >> confdefs.h
<<\EOF
1809 #define quad_t __s64
1814 echo $ac_n "checking for u_quad_t""... $ac_c" 1>&6
1815 echo "configure:1816: checking for u_quad_t" >&5
1816 if eval "test \"`echo '$''{'ac_cv_type_u_quad_t'+set}'`\" = set"; then
1817 echo $ac_n "(cached) $ac_c" 1>&6
1819 cat > conftest.
$ac_ext <<EOF
1820 #line 1821 "configure"
1821 #include "confdefs.h"
1822 #include <sys/types.h>
1828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1829 egrep "(^|[^a-zA-Z_0-9])u_quad_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
1831 ac_cv_type_u_quad_t
=yes
1834 ac_cv_type_u_quad_t
=no
1839 echo "$ac_t""$ac_cv_type_u_quad_t" 1>&6
1840 if test $ac_cv_type_u_quad_t = no
; then
1841 cat >> confdefs.h
<<\EOF
1842 #define u_quad_t __u64
1848 top_builddir
=`cd .; pwd`
1851 test -d compat || mkdir compat
1852 test -d compat
/lib || mkdir compat
/lib
1855 cat > confcache
<<\EOF
1856 # This file is a shell script that caches the results of configure
1857 # tests run on this system so they can be shared between configure
1858 # scripts and configure runs. It is not useful on other systems.
1859 # If it contains results you don't want to keep, you may remove or edit it.
1861 # By default, configure uses ./config.cache as the cache file,
1862 # creating it if it does not exist already. You can give configure
1863 # the --cache-file=FILE option to use a different cache file; that is
1864 # what configure does when it calls configure scripts in
1865 # subdirectories, so they share the cache.
1866 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1867 # config.status only pays attention to the cache file if you give it the
1868 # --recheck option to rerun configure.
1871 # The following way of writing the cache mishandles newlines in values,
1872 # but we know of no workaround that is simple, portable, and efficient.
1873 # So, don't put newlines in cache variables' values.
1874 # Ultrix sh set writes to stderr and can't be redirected directly,
1875 # and sets the high bit in the cache file unless we assign to the vars.
1877 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1879 # `set' does not quote correctly, so add quotes (double-quote substitution
1880 # turns \\\\ into \\, and sed turns \\ into \).
1882 -e "s/'/'\\\\''/g" \
1883 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1886 # `set' quotes correctly as required by POSIX, so do not add quotes.
1887 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1890 if cmp -s $cache_file confcache
; then
1893 if test -w $cache_file; then
1894 echo "updating cache $cache_file"
1895 cat confcache
> $cache_file
1897 echo "not updating unwritable cache $cache_file"
1902 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1904 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
1905 # Let make expand exec_prefix.
1906 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
1908 # Any assignment to VPATH causes Sun make to only execute
1909 # the first set of double-colon rules, so remove it if not needed.
1910 # If there is a colon in the path, we need to keep it.
1911 if test "x$srcdir" = x.
; then
1912 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
1915 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1917 DEFS
=-DHAVE_CONFIG_H
1919 # Without the "./", some shells look in PATH for config.status.
1920 : ${CONFIG_STATUS=./config.status}
1922 echo creating
$CONFIG_STATUS
1923 rm -f $CONFIG_STATUS
1924 cat > $CONFIG_STATUS <<EOF
1926 # Generated automatically by configure.
1927 # Run this file to recreate the current configuration.
1928 # This directory was configured as follows,
1929 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1931 # $0 $ac_configure_args
1933 # Compiler output produced by configure, useful for debugging
1934 # configure, is in ./config.log if it exists.
1936 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1939 case "\$ac_option" in
1940 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1941 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1942 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1943 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1944 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1946 -help | --help | --hel | --he | --h)
1947 echo "\$ac_cs_usage"; exit 0 ;;
1948 *) echo "\$ac_cs_usage"; exit 1 ;;
1952 ac_given_srcdir=$srcdir
1953 ac_given_INSTALL="$INSTALL"
1955 trap 'rm -fr `echo "MCONFIG Makefile common/Makefile compat/lib/Makefile dump/Makefile restore/Makefile $RMTMAKEFILE config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1957 cat >> $CONFIG_STATUS <<EOF
1959 # Protect against being on the right side of a sed subst in config.status.
1960 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1961 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1965 s%@CFLAGS@%$CFLAGS%g
1966 s%@CPPFLAGS@%$CPPFLAGS%g
1967 s%@CXXFLAGS@%$CXXFLAGS%g
1968 s%@FFLAGS@%$FFLAGS%g
1970 s%@LDFLAGS@%$LDFLAGS%g
1972 s%@exec_prefix@%$exec_prefix%g
1973 s%@prefix@%$prefix%g
1974 s%@program_transform_name@%$program_transform_name%g
1975 s%@bindir@%$bindir%g
1976 s%@sbindir@%$sbindir%g
1977 s%@libexecdir@%$libexecdir%g
1978 s%@datadir@%$datadir%g
1979 s%@sysconfdir@%$sysconfdir%g
1980 s%@sharedstatedir@%$sharedstatedir%g
1981 s%@localstatedir@%$localstatedir%g
1982 s%@libdir@%$libdir%g
1983 s%@includedir@%$includedir%g
1984 s%@oldincludedir@%$oldincludedir%g
1985 s%@infodir@%$infodir%g
1986 s%@mandir@%$mandir%g
1987 /@MCONFIG@/r $MCONFIG
1989 s%@SET_MAKE@%$SET_MAKE%g
1995 s%@host_alias@%$host_alias%g
1996 s%@host_cpu@%$host_cpu%g
1997 s%@host_vendor@%$host_vendor%g
1998 s%@host_os@%$host_os%g
2000 s%@build_alias@%$build_alias%g
2001 s%@build_cpu@%$build_cpu%g
2002 s%@build_vendor@%$build_vendor%g
2003 s%@build_os@%$build_os%g
2005 s%@RANLIB@%$RANLIB%g
2008 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2009 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2010 s%@INSTALL_DATA@%$INSTALL_DATA%g
2011 s%@DUMPDEBUG@%$DUMPDEBUG%g
2012 s%@RESTOREDEBUG@%$RESTOREDEBUG%g
2013 s%@STATIC@%$STATIC%g
2014 s%@RMTDIR@%$RMTDIR%g
2016 s%@CCOPTS@%$CCOPTS%g
2017 s%@BINOWNER@%$BINOWNER%g
2018 s%@BINGRP@%$BINGRP%g
2019 s%@BINMODE@%$BINMODE%g
2020 s%@MANOWNER@%$MANOWNER%g
2021 s%@MANGRP@%$MANGRP%g
2022 s%@MANMODE@%$MANMODE%g
2024 s%@top_builddir@%$top_builddir%g
2029 cat >> $CONFIG_STATUS <<\EOF
2031 # Split the substitutions into bite-sized pieces for seds with
2032 # small command number limits, like on Digital OSF/1 and HP-UX.
2033 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
2034 ac_file
=1 # Number of current file.
2035 ac_beg
=1 # First line for current file.
2036 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
2039 while $ac_more_lines; do
2040 if test $ac_beg -gt 1; then
2041 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
2043 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
2045 if test ! -s conftest.s
$ac_file; then
2047 rm -f conftest.s
$ac_file
2049 if test -z "$ac_sed_cmds"; then
2050 ac_sed_cmds
="sed -f conftest.s$ac_file"
2052 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
2054 ac_file
=`expr $ac_file + 1`
2056 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
2059 if test -z "$ac_sed_cmds"; then
2064 cat >> $CONFIG_STATUS <<EOF
2066 CONFIG_FILES=\${CONFIG_FILES-"MCONFIG Makefile common/Makefile compat/lib/Makefile dump/Makefile restore/Makefile $RMTMAKEFILE"}
2068 cat >> $CONFIG_STATUS <<\EOF
2069 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
2070 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2072 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2073 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2074 *) ac_file_in
="${ac_file}.in" ;;
2077 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2079 # Remove last slash and all that follows it. Not all systems have dirname.
2080 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2081 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
2082 # The file is in a subdirectory.
2083 test ! -d "$ac_dir" && mkdir
"$ac_dir"
2084 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
2085 # A "../" for each directory in $ac_dir_suffix.
2086 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2088 ac_dir_suffix
= ac_dots
=
2091 case "$ac_given_srcdir" in
2093 if test -z "$ac_dots"; then top_srcdir
=.
2094 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2095 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
2097 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2098 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
2101 case "$ac_given_INSTALL" in
2102 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
2103 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
2106 echo creating
"$ac_file"
2108 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2110 *Makefile
*) ac_comsub
="1i\\
2111 # $configure_input" ;;
2115 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2117 s%@configure_input@%$configure_input%g
2118 s%@srcdir@%$srcdir%g
2119 s%@top_srcdir@%$top_srcdir%g
2120 s%@INSTALL@%$INSTALL%g
2121 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
2125 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2126 # NAME is the cpp macro being defined and VALUE is the value it is being given.
2128 # ac_d sets the value in "#define NAME VALUE" lines.
2129 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2130 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
2133 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2134 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2135 ac_uB
='\([ ]\)%\1#\2define\3'
2138 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2139 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2140 ac_eB
='$%\1#\2define\3'
2144 if test "${CONFIG_HEADERS+set}" != set; then
2146 cat >> $CONFIG_STATUS <<EOF
2147 CONFIG_HEADERS="config.h"
2149 cat >> $CONFIG_STATUS <<\EOF
2151 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
2152 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2154 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2155 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2156 *) ac_file_in
="${ac_file}.in" ;;
2159 echo creating
$ac_file
2161 rm -f conftest.frag conftest.
in conftest.out
2162 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2163 cat $ac_file_inputs > conftest.
in
2167 # Transform confdefs.h into a sed script conftest.vals that substitutes
2168 # the proper values into config.h.in to produce config.h. And first:
2169 # Protect against being on the right side of a sed subst in config.status.
2170 # Protect against being in an unquoted here document in config.status.
2172 cat > conftest.hdr
<<\EOF
2175 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2179 sed -n -f conftest.hdr confdefs.h > conftest.vals
2182 # This sed command replaces #undef with comments. This is necessary, for
2183 # example, in the case of _POSIX_SOURCE, which is predefined and required
2184 # on some systems where configure will not decide to define it.
2185 cat >> conftest.vals <<\EOF
2186 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2189 # Break up conftest.vals because some shells have a limit on
2190 # the size of here documents, and old seds have small limits too.
2195 ac_lines=`grep -c . conftest.vals
`
2196 # grep -c gives empty output for an empty file on some AIX systems.
2197 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2198 # Write a limited-size here document to conftest.frag.
2199 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2200 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2202 sed -f conftest.frag conftest.in > conftest.out
2204 mv conftest.out conftest.in
2206 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2208 mv conftest.tail conftest.vals
2212 cat >> $CONFIG_STATUS <<\EOF
2213 rm -f conftest.frag conftest.h
2214 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2215 cat conftest.in >> conftest.h
2217 if cmp -s $ac_file conftest.h 2>/dev/null; then
2218 echo "$ac_file is unchanged"
2221 # Remove last slash and all that follows it. Not all systems have dirname.
2222 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
2223 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2224 # The file is in a subdirectory.
2225 test ! -d "$ac_dir" && mkdir "$ac_dir"
2228 mv conftest.h $ac_file
2233 cat >> $CONFIG_STATUS <<EOF
2236 cat >> $CONFIG_STATUS <<\EOF
2240 chmod +x $CONFIG_STATUS
2241 rm -fr confdefs* $ac_clean_files
2242 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1