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 --with-cc=COMPILER select compiler to use"
17 --with-linker=LINKER select linker to use"
19 --with-ccopts=CCOPTS select compiler command line options"
21 --with-ldopts=LDOPTS select linker command line options"
23 --with-root-prefix=PREFIX override prefix variable for files to be placed in the root"
25 --enable-compression enable EXPERIMENTAL compression support"
27 --enable-dll-shlibs select DLL libraries"
29 --enable-elf-shlibs select ELF shared libraries"
31 --enable-bsd-shlibs select BSD shared libraries"
33 --enable-jfs-debug enable journal debugging"
35 --enable-nls Turn on Native Language Support"
37 --with-included-gettext use the GNU gettext library included here"
39 --with-catgets use catgets functions if available"
41 --enable-profile build profiling libraries"
43 --enable-checker build checker libraries"
45 --enable-dynamic-e2fsck build e2fsck dynamically"
47 --enable-fsck build fsck wrapper program"
49 --enable-old-bitops Use old (non-standard but native) bitmask operations"
51 # Initialize some variables set by options.
52 # The variables have the same names as the options, with
53 # dashes changed to underlines.
55 cache_file=./config.cache
64 program_transform_name=s,x,x,
72 bindir='${exec_prefix}/bin'
73 sbindir='${exec_prefix}/sbin'
74 libexecdir='${exec_prefix}/libexec'
75 datadir='${prefix}/share'
76 sysconfdir='${prefix}/etc'
77 sharedstatedir='${prefix}/com'
78 localstatedir='${prefix}/var'
79 libdir='${exec_prefix}/lib'
80 includedir='${prefix}/include'
81 oldincludedir='/usr/include'
82 infodir='${prefix}/info'
83 mandir='${prefix}/man'
85 # Initialize some other variables.
88 SHELL=${CONFIG_SHELL-/bin/sh}
89 # Maximum number of lines to put in a shell here document.
96 # If the previous option needs an argument, assign it.
97 if test -n "$ac_prev"; then
98 eval "$ac_prev=\$ac_option"
104 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
108 # Accept the important Cygnus configure options, so we can diagnose typos.
112 -bindir | --bindir | --bindi | --bind | --bin | --bi)
114 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
115 bindir="$ac_optarg" ;;
117 -build | --build | --buil | --bui | --bu)
119 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
120 build="$ac_optarg" ;;
122 -cache-file | --cache-file | --cache-fil | --cache-fi \
123 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
124 ac_prev=cache_file ;;
125 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
126 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
127 cache_file="$ac_optarg" ;;
129 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
131 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
133 datadir="$ac_optarg" ;;
135 -disable-* | --disable-*)
136 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
137 # Reject names that are not valid shell variable names.
138 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
139 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
141 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
142 eval "enable_${ac_feature}=no" ;;
144 -enable-* | --enable-*)
145 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
146 # Reject names that are not valid shell variable names.
147 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
148 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
150 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
155 eval "enable_${ac_feature}='$ac_optarg'" ;;
157 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
158 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
159 | --exec | --exe | --ex)
160 ac_prev=exec_prefix ;;
161 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
162 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
163 | --exec=* | --exe=* | --ex=*)
164 exec_prefix="$ac_optarg" ;;
166 -gas | --gas | --ga | --g)
167 # Obsolete; use --with-gas.
170 -help | --help | --hel | --he)
171 # Omit some internal or obsolete options to make the list less imposing.
172 # This message is too long to be a string in the A/UX 3.1 sh.
174 Usage: configure [options] [host]
175 Options: [defaults in brackets after descriptions]
177 --cache-file=FILE cache test results in FILE
178 --help print this message
179 --no-create do not create output files
180 --quiet, --silent do not print \`checking...' messages
181 --version print the version of autoconf that created configure
182 Directory and file names:
183 --prefix=PREFIX install architecture-independent files in PREFIX
185 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
187 --bindir=DIR user executables in DIR [EPREFIX/bin]
188 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
189 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
190 --datadir=DIR read-only architecture-independent data in DIR
192 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
193 --sharedstatedir=DIR modifiable architecture-independent data in DIR
195 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
196 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
197 --includedir=DIR C header files in DIR [PREFIX/include]
198 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
199 --infodir=DIR info documentation in DIR [PREFIX/info]
200 --mandir=DIR man documentation in DIR [PREFIX/man]
201 --srcdir=DIR find the sources in DIR [configure dir or ..]
202 --program-prefix=PREFIX prepend PREFIX to installed program names
203 --program-suffix=SUFFIX append SUFFIX to installed program names
204 --program-transform-name=PROGRAM
205 run sed PROGRAM on installed program names
209 --build=BUILD configure for building on BUILD [BUILD=HOST]
210 --host=HOST configure for HOST [guessed]
211 --target=TARGET configure for TARGET [TARGET=HOST]
212 Features and packages:
213 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
214 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
215 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
216 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
217 --x-includes=DIR X include files are in DIR
218 --x-libraries=DIR X library files are in DIR
220 if test -n "$ac_help"; then
221 echo "--enable and --with options recognized:$ac_help"
225 -host | --host | --hos | --ho)
227 -host=* | --host=* | --hos=* | --ho=*)
230 -includedir | --includedir | --includedi | --included | --include \
231 | --includ | --inclu | --incl | --inc)
232 ac_prev=includedir ;;
233 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
234 | --includ=* | --inclu=* | --incl=* | --inc=*)
235 includedir="$ac_optarg" ;;
237 -infodir | --infodir | --infodi | --infod | --info | --inf)
239 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
240 infodir="$ac_optarg" ;;
242 -libdir | --libdir | --libdi | --libd)
244 -libdir=* | --libdir=* | --libdi=* | --libd=*)
245 libdir="$ac_optarg" ;;
247 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
248 | --libexe | --libex | --libe)
249 ac_prev=libexecdir ;;
250 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
251 | --libexe=* | --libex=* | --libe=*)
252 libexecdir="$ac_optarg" ;;
254 -localstatedir | --localstatedir | --localstatedi | --localstated \
255 | --localstate | --localstat | --localsta | --localst \
256 | --locals | --local | --loca | --loc | --lo)
257 ac_prev=localstatedir ;;
258 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
259 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
260 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
261 localstatedir="$ac_optarg" ;;
263 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
265 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
266 mandir="$ac_optarg" ;;
269 # Obsolete; use --without-fp.
272 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
276 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
277 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
280 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
281 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
282 | --oldin | --oldi | --old | --ol | --o)
283 ac_prev=oldincludedir ;;
284 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
285 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
286 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
287 oldincludedir="$ac_optarg" ;;
289 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
291 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
292 prefix="$ac_optarg" ;;
294 -program-prefix | --program-prefix | --program-prefi | --program-pref \
295 | --program-pre | --program-pr | --program-p)
296 ac_prev=program_prefix ;;
297 -program-prefix=* | --program-prefix=* | --program-prefi=* \
298 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
299 program_prefix="$ac_optarg" ;;
301 -program-suffix | --program-suffix | --program-suffi | --program-suff \
302 | --program-suf | --program-su | --program-s)
303 ac_prev=program_suffix ;;
304 -program-suffix=* | --program-suffix=* | --program-suffi=* \
305 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
306 program_suffix="$ac_optarg" ;;
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 ac_prev=program_transform_name ;;
316 -program-transform-name=* | --program-transform-name=* \
317 | --program-transform-nam=* | --program-transform-na=* \
318 | --program-transform-n=* | --program-transform-=* \
319 | --program-transform=* | --program-transfor=* \
320 | --program-transfo=* | --program-transf=* \
321 | --program-trans=* | --program-tran=* \
322 | --progr-tra=* | --program-tr=* | --program-t=*)
323 program_transform_name="$ac_optarg" ;;
325 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
326 | -silent | --silent | --silen | --sile | --sil)
329 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
331 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
333 sbindir="$ac_optarg" ;;
335 -sharedstatedir | --sharedstatedir | --sharedstatedi \
336 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
337 | --sharedst | --shareds | --shared | --share | --shar \
339 ac_prev=sharedstatedir ;;
340 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
341 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
342 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
344 sharedstatedir="$ac_optarg" ;;
346 -site | --site | --sit)
348 -site=* | --site=* | --sit=*)
351 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
353 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
354 srcdir="$ac_optarg" ;;
356 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
357 | --syscon | --sysco | --sysc | --sys | --sy)
358 ac_prev=sysconfdir ;;
359 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
360 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
361 sysconfdir="$ac_optarg" ;;
363 -target | --target | --targe | --targ | --tar | --ta | --t)
365 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
366 target="$ac_optarg" ;;
368 -v | -verbose | --verbose | --verbos | --verbo | --verb)
371 -version | --version | --versio | --versi | --vers)
372 echo "configure generated by autoconf version 2.13"
376 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
377 # Reject names that are not valid shell variable names.
378 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
379 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
381 ac_package=`echo $ac_package| sed 's/-/_/g'`
386 eval "with_${ac_package}='$ac_optarg'" ;;
388 -without-* | --without-*)
389 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
390 # Reject names that are not valid shell variable names.
391 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
392 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
394 ac_package=`echo $ac_package| sed 's/-/_/g'`
395 eval "with_${ac_package}=no" ;;
398 # Obsolete; use --with-x.
401 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
402 | --x-incl | --x-inc | --x-in | --x-i)
403 ac_prev=x_includes ;;
404 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
405 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
406 x_includes="$ac_optarg" ;;
408 -x-libraries | --x-libraries | --x-librarie | --x-librari \
409 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
410 ac_prev=x_libraries ;;
411 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
412 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
413 x_libraries="$ac_optarg" ;;
415 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
419 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
420 echo "configure: warning: $ac_option: invalid host type" 1>&2
422 if test "x$nonopt" != xNONE; then
423 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
431 if test -n "$ac_prev"; then
432 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
435 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
437 # File descriptor usage:
440 # 2 errors and warnings
441 # 3 some systems may open it to /dev/tty
442 # 4 used on the Kubota Titan
443 # 6 checking for... messages and results
444 # 5 compiler messages saved in config.log
445 if test "$silent" = yes; then
453 This file contains any messages produced by compilers while
454 running configure, to aid debugging if configure makes a mistake.
457 # Strip out --no-create and --no-recursion so they do not pile up.
458 # Also quote any args containing shell metacharacters.
463 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
464 | --no-cr | --no-c) ;;
465 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
466 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
467 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
468 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
469 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
474 # Only set these to C if already set. These must not be set unconditionally
475 # because not all systems understand e.g. LANG=C (notably SCO).
476 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
477 # Non-C LC_CTYPE values break the ctype check.
478 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
479 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
480 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
481 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
483 # confdefs.h avoids OS command line length limits that DEFS can exceed.
484 rm -rf conftest* confdefs.h
485 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
488 # A filename unique to this package, relative to the directory that
489 # configure is in, which we can look for to find out if srcdir is correct.
490 ac_unique_file=version.h
492 # Find the source files, if location was not specified.
493 if test -z "$srcdir"; then
494 ac_srcdir_defaulted=yes
495 # Try the directory containing this script, then its parent.
497 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
498 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
500 if test ! -r $srcdir/$ac_unique_file; then
504 ac_srcdir_defaulted=no
506 if test ! -r $srcdir/$ac_unique_file; then
507 if test "$ac_srcdir_defaulted" = yes; then
508 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
510 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
513 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
515 # Prefer explicitly selected file to automatically selected ones.
516 if test -z "$CONFIG_SITE"; then
517 if test "x$prefix" != xNONE; then
518 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
520 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
523 for ac_site_file in $CONFIG_SITE; do
524 if test -r "$ac_site_file"; then
525 echo "loading site script $ac_site_file"
530 if test -r "$cache_file"; then
531 echo "loading cache $cache_file"
534 echo "creating cache $cache_file"
539 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
540 ac_cpp='$CPP $CPPFLAGS'
541 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
542 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
543 cross_compiling=$ac_cv_prog_cc_cross
547 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
548 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
549 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
556 ac_n= ac_c='\c' ac_t=
564 E2FSPROGS_VERSION=`grep E2FSPROGS_VERSION ${srcdir}/version.h \
565 | awk '{print $3}' | tr \" " " | awk '{print $1}'`
566 DATE=`grep E2FSPROGS_DATE ${srcdir}/version.h | awk '{print $3}' \
568 MONTH=`echo $DATE | awk -F- '{print $2}'`
569 YEAR=`echo $DATE | awk -F- '{print $3}'`
571 if expr $YEAR ">" 1900 > /dev/null ; then
573 elif expr $YEAR ">" 90 >/dev/null ; then
574 E2FSPROGS_YEAR=19$YEAR
576 E2FSPROGS_YEAR=20$YEAR
580 Jan) E2FSPROGS_MONTH="January" ;;
581 Feb) E2FSPROGS_MONTH="February" ;;
582 Mar) E2FSPROGS_MONTH="March" ;;
583 Apr) E2FSPROGS_MONTH="April" ;;
584 May) E2FSPROGS_MONTH="May" ;;
585 Jun) E2FSPROGS_MONTH="June" ;;
586 Jul) E2FSPROGS_MONTH="July" ;;
587 Aug) E2FSPROGS_MONTH="August" ;;
588 Sep) E2FSPROGS_MONTH="September" ;;
589 Oct) E2FSPROGS_MONTH="October" ;;
590 Nov) E2FSPROGS_MONTH="November" ;;
591 Dec) E2FSPROGS_MONTH="December" ;;
592 *) echo "Unknown month $MONTH??" ;;
595 unset DATE MONTH YEAR
596 echo "Generating configuration file for e2fsprogs version $E2FSPROGS_VERSION"
597 echo "Release date is ${E2FSPROGS_MONTH}, ${E2FSPROGS_YEAR}"
603 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
604 if test -f $ac_dir/install-sh; then
606 ac_install_sh="$ac_aux_dir/install-sh -c"
608 elif test -f $ac_dir/install.sh; then
610 ac_install_sh="$ac_aux_dir/install.sh -c"
614 if test -z "$ac_aux_dir"; then
615 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
617 ac_config_guess=$ac_aux_dir/config.guess
618 ac_config_sub=$ac_aux_dir/config.sub
619 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
622 # Make sure we can run config.sub.
623 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
624 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
627 echo $ac_n "checking host system type""... $ac_c" 1>&6
628 echo "configure:629: checking host system type" >&5
631 case "$host_alias" in
635 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
636 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
638 *) host_alias=$nonopt ;;
642 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
643 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
644 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
645 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
646 echo "$ac_t""$host" 1>&6
648 # Check whether --with-cc or --without-cc was given.
649 if test "${with_cc+set}" = set; then
651 echo "$ac_t""CC=$withval" 1>&6
654 if test -z "$CC" ; then CC=cc; fi
655 echo "$ac_t""CC defaults to $CC" 1>&6
659 # Extract the first word of "gcc", so it can be a program name with args.
660 set dummy gcc; ac_word=$2
661 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
662 echo "configure:663: checking for $ac_word" >&5
663 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
664 echo $ac_n "(cached) $ac_c" 1>&6
666 if test -n "$CC"; then
667 ac_cv_prog_CC="$CC" # Let the user override the test.
669 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
671 for ac_dir in $ac_dummy; do
672 test -z "$ac_dir" && ac_dir=.
673 if test -f $ac_dir/$ac_word; then
682 if test -n "$CC"; then
683 echo "$ac_t""$CC" 1>&6
685 echo "$ac_t""no" 1>&6
688 if test -z "$CC"; then
689 # Extract the first word of "cc", so it can be a program name with args.
690 set dummy cc; ac_word=$2
691 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
692 echo "configure:693: checking for $ac_word" >&5
693 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
694 echo $ac_n "(cached) $ac_c" 1>&6
696 if test -n "$CC"; then
697 ac_cv_prog_CC="$CC" # Let the user override the test.
699 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
702 for ac_dir in $ac_dummy; do
703 test -z "$ac_dir" && ac_dir=.
704 if test -f $ac_dir/$ac_word; then
705 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
714 if test $ac_prog_rejected = yes; then
715 # We found a bogon in the path, so make sure we never use it.
716 set dummy $ac_cv_prog_CC
718 if test $# -gt 0; then
719 # We chose a different compiler from the bogus one.
720 # However, it has the same basename, so the bogon will be chosen
721 # first if we set CC to just the basename; use the full file name.
723 set dummy "$ac_dir/$ac_word" "$@"
731 if test -n "$CC"; then
732 echo "$ac_t""$CC" 1>&6
734 echo "$ac_t""no" 1>&6
737 if test -z "$CC"; then
740 # Extract the first word of "cl", so it can be a program name with args.
741 set dummy cl; ac_word=$2
742 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
743 echo "configure:744: checking for $ac_word" >&5
744 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
745 echo $ac_n "(cached) $ac_c" 1>&6
747 if test -n "$CC"; then
748 ac_cv_prog_CC="$CC" # Let the user override the test.
750 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
752 for ac_dir in $ac_dummy; do
753 test -z "$ac_dir" && ac_dir=.
754 if test -f $ac_dir/$ac_word; then
763 if test -n "$CC"; then
764 echo "$ac_t""$CC" 1>&6
766 echo "$ac_t""no" 1>&6
771 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
774 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
775 echo "configure:776: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
778 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
779 ac_cpp='$CPP $CPPFLAGS'
780 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
781 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
782 cross_compiling=$ac_cv_prog_cc_cross
784 cat > conftest.$ac_ext << EOF
786 #line 787 "configure"
787 #include "confdefs.h"
791 if { (eval echo configure:792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
792 ac_cv_prog_cc_works=yes
793 # If we can't run a trivial program, we are probably using a cross compiler.
794 if (./conftest; exit) 2>/dev/null; then
795 ac_cv_prog_cc_cross=no
797 ac_cv_prog_cc_cross=yes
800 echo "configure: failed program was:" >&5
801 cat conftest.$ac_ext >&5
802 ac_cv_prog_cc_works=no
806 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
807 ac_cpp='$CPP $CPPFLAGS'
808 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
809 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
810 cross_compiling=$ac_cv_prog_cc_cross
812 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
813 if test $ac_cv_prog_cc_works = no; then
814 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
816 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
817 echo "configure:818: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
818 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
819 cross_compiling=$ac_cv_prog_cc_cross
821 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
822 echo "configure:823: checking whether we are using GNU C" >&5
823 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
824 echo $ac_n "(cached) $ac_c" 1>&6
826 cat > conftest.c <<EOF
831 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
838 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
840 if test $ac_cv_prog_gcc = yes; then
846 ac_test_CFLAGS="${CFLAGS+set}"
847 ac_save_CFLAGS="$CFLAGS"
849 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
850 echo "configure:851: checking whether ${CC-cc} accepts -g" >&5
851 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
852 echo $ac_n "(cached) $ac_c" 1>&6
854 echo 'void f(){}' > conftest.c
855 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
864 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
865 if test "$ac_test_CFLAGS" = set; then
866 CFLAGS="$ac_save_CFLAGS"
867 elif test $ac_cv_prog_cc_g = yes; then
868 if test "$GCC" = yes; then
874 if test "$GCC" = yes; then
881 # Check whether --with-linker or --without-linker was given.
882 if test "${with_linker+set}" = set; then
883 withval="$with_linker"
884 echo "$ac_t""LD=$withval" 1>&6
887 if test -z "$LD" ; then LD=$CC; fi
888 echo "$ac_t""LD defaults to $LD" 1>&6
892 # Check whether --with-ccopts or --without-ccopts was given.
893 if test "${with_ccopts+set}" = set; then
894 withval="$with_ccopts"
895 echo "$ac_t""CCOPTS is $withval" 1>&6
897 CFLAGS="$CFLAGS $withval"
902 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
903 echo "configure:904: checking how to run the C preprocessor" >&5
904 # On Suns, sometimes $CPP names a directory.
905 if test -n "$CPP" && test -d "$CPP"; then
908 if test -z "$CPP"; then
909 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
910 echo $ac_n "(cached) $ac_c" 1>&6
912 # This must be in double quotes, not single quotes, because CPP may get
913 # substituted into the Makefile and "${CC-cc}" will confuse make.
915 # On the NeXT, cc -E runs the code through the compiler's parser,
916 # not just through cpp.
917 cat > conftest.$ac_ext <<EOF
918 #line 919 "configure"
919 #include "confdefs.h"
923 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
924 { (eval echo configure:925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
925 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
926 if test -z "$ac_err"; then
930 echo "configure: failed program was:" >&5
931 cat conftest.$ac_ext >&5
933 CPP="${CC-cc} -E -traditional-cpp"
934 cat > conftest.$ac_ext <<EOF
935 #line 936 "configure"
936 #include "confdefs.h"
940 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
941 { (eval echo configure:942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
942 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
943 if test -z "$ac_err"; then
947 echo "configure: failed program was:" >&5
948 cat conftest.$ac_ext >&5
950 CPP="${CC-cc} -nologo -E"
951 cat > conftest.$ac_ext <<EOF
952 #line 953 "configure"
953 #include "confdefs.h"
957 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
958 { (eval echo configure:959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
959 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
960 if test -z "$ac_err"; then
964 echo "configure: failed program was:" >&5
965 cat conftest.$ac_ext >&5
974 ac_cv_prog_CPP="$CPP"
976 CPP="$ac_cv_prog_CPP"
978 ac_cv_prog_CPP="$CPP"
980 echo "$ac_t""$CPP" 1>&6
982 ac_safe=`echo "linux/fs.h" | sed 'y%./+-%__p_%'`
983 echo $ac_n "checking for linux/fs.h""... $ac_c" 1>&6
984 echo "configure:985: checking for linux/fs.h" >&5
985 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
986 echo $ac_n "(cached) $ac_c" 1>&6
988 cat > conftest.$ac_ext <<EOF
989 #line 990 "configure"
990 #include "confdefs.h"
991 #include <linux/fs.h>
993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
994 { (eval echo configure:995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
996 if test -z "$ac_err"; then
998 eval "ac_cv_header_$ac_safe=yes"
1001 echo "configure: failed program was:" >&5
1002 cat conftest.$ac_ext >&5
1004 eval "ac_cv_header_$ac_safe=no"
1008 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1009 echo "$ac_t""yes" 1>&6
1012 echo "$ac_t""no" 1>&6
1016 if test "$linux_headers" != yes; then
1017 LINUX_INCLUDE='-I$(top_builddir)/include'
1023 # Check whether --with-ldopts or --without-ldopts was given.
1024 if test "${with_ldopts+set}" = set; then
1025 withval="$with_ldopts"
1026 echo "$ac_t""LDFLAGS is $withval" 1>&6
1032 # Check whether --with-root-prefix or --without-root-prefix was given.
1033 if test "${with_root_prefix+set}" = set; then
1034 withval="$with_root_prefix"
1035 root_prefix=$withval
1039 # Check whether --enable-compression or --disable-compression was given.
1040 if test "${enable_compression+set}" = set; then
1041 enableval="$enable_compression"
1042 if test "$enableval" = "no"
1044 echo "Disabling compression support"
1046 cat >> confdefs.h <<\EOF
1047 #define ENABLE_COMPRESSION 1
1050 echo "Enabling compression support"
1051 echo "WARNING: Compression support is experimental"
1055 echo "Disabling compression support by default"
1059 # Check whether --enable-dll-shlibs or --disable-dll-shlibs was given.
1060 if test "${enable_dll_shlibs+set}" = set; then
1061 enableval="$enable_dll_shlibs"
1062 if test "$enableval" = "no"
1065 MAKEFILE_DLL=/dev/null
1066 echo "Disabling DLL shared libraries"
1069 MAKEFILE_DLL=$srcdir/lib/Makefile.dll-lib
1072 echo "Enabling DLL shared libraries"
1076 MAKEFILE_DLL=/dev/null
1078 echo "Disabling DLL shared libraries by default"
1084 # Check whether --enable-elf-shlibs or --disable-elf-shlibs was given.
1085 if test "${enable_elf_shlibs+set}" = set; then
1086 enableval="$enable_elf_shlibs"
1087 if test "$enableval" = "no"
1090 MAKEFILE_ELF=/dev/null
1091 echo "Disabling ELF shared libraries"
1094 MAKEFILE_ELF=$srcdir/lib/Makefile.elf-lib
1097 MAKEFILE_ELF=$srcdir/lib/Makefile.solaris-lib
1102 echo "Enabling ELF shared libraries"
1106 MAKEFILE_ELF=/dev/null
1108 echo "Disabling ELF shared libraries by default"
1114 # Check whether --enable-bsd-shlibs or --disable-bsd-shlibs was given.
1115 if test "${enable_bsd_shlibs+set}" = set; then
1116 enableval="$enable_bsd_shlibs"
1117 if test "$enableval" = "no"
1120 MAKEFILE_BSDLIB=/dev/null
1121 echo "Disabling BSD shared libraries"
1124 MAKEFILE_BSDLIB=$srcdir/lib/Makefile.bsd-lib
1126 echo "Enabling BSD shared libraries"
1130 MAKEFILE_BSDLIB=/dev/null
1132 echo "Disabling BSD shared libraries by default"
1138 # Check whether --enable-jfs-debug or --disable-jfs-debug was given.
1139 if test "${enable_jfs_debug+set}" = set; then
1140 enableval="$enable_jfs_debug"
1141 if test "$enableval" = "no"
1143 echo "Disabling journal debugging"
1145 cat >> confdefs.h <<\EOF
1149 echo "Enabling journal debugging"
1153 echo "Disabling journal debugging by default"
1158 VERSION="$E2FSPROGS_VERSION"
1159 cat >> confdefs.h <<EOF
1160 #define PACKAGE "$PACKAGE"
1163 cat >> confdefs.h <<EOF
1164 #define VERSION "$VERSION"
1170 ALL_LINGUAS="it nyc"
1171 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1172 echo "configure:1173: checking whether ${MAKE-make} sets \${MAKE}" >&5
1173 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1174 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1175 echo $ac_n "(cached) $ac_c" 1>&6
1177 cat > conftestmake <<\EOF
1179 @echo 'ac_maketemp="${MAKE}"'
1181 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1182 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1183 if test -n "$ac_maketemp"; then
1184 eval ac_cv_prog_make_${ac_make}_set=yes
1186 eval ac_cv_prog_make_${ac_make}_set=no
1190 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1191 echo "$ac_t""yes" 1>&6
1194 echo "$ac_t""no" 1>&6
1195 SET_MAKE="MAKE=${MAKE-make}"
1198 # Extract the first word of "ranlib", so it can be a program name with args.
1199 set dummy ranlib; ac_word=$2
1200 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1201 echo "configure:1202: checking for $ac_word" >&5
1202 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1203 echo $ac_n "(cached) $ac_c" 1>&6
1205 if test -n "$RANLIB"; then
1206 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1208 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1210 for ac_dir in $ac_dummy; do
1211 test -z "$ac_dir" && ac_dir=.
1212 if test -f $ac_dir/$ac_word; then
1213 ac_cv_prog_RANLIB="ranlib"
1218 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1221 RANLIB="$ac_cv_prog_RANLIB"
1222 if test -n "$RANLIB"; then
1223 echo "$ac_t""$RANLIB" 1>&6
1225 echo "$ac_t""no" 1>&6
1228 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
1229 echo "configure:1230: checking for POSIXized ISC" >&5
1230 if test -d /etc/conf/kconfig.d &&
1231 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
1233 echo "$ac_t""yes" 1>&6
1234 ISC=yes # If later tests want to check for ISC.
1235 cat >> confdefs.h <<\EOF
1236 #define _POSIX_SOURCE 1
1239 if test "$GCC" = yes; then
1245 echo "$ac_t""no" 1>&6
1249 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1250 echo "configure:1251: checking for ANSI C header files" >&5
1251 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1252 echo $ac_n "(cached) $ac_c" 1>&6
1254 cat > conftest.$ac_ext <<EOF
1255 #line 1256 "configure"
1256 #include "confdefs.h"
1262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1263 { (eval echo configure:1264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1265 if test -z "$ac_err"; then
1267 ac_cv_header_stdc=yes
1270 echo "configure: failed program was:" >&5
1271 cat conftest.$ac_ext >&5
1273 ac_cv_header_stdc=no
1277 if test $ac_cv_header_stdc = yes; then
1278 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1279 cat > conftest.$ac_ext <<EOF
1280 #line 1281 "configure"
1281 #include "confdefs.h"
1284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1285 egrep "memchr" >/dev/null 2>&1; then
1289 ac_cv_header_stdc=no
1295 if test $ac_cv_header_stdc = yes; then
1296 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1297 cat > conftest.$ac_ext <<EOF
1298 #line 1299 "configure"
1299 #include "confdefs.h"
1302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1303 egrep "free" >/dev/null 2>&1; then
1307 ac_cv_header_stdc=no
1313 if test $ac_cv_header_stdc = yes; then
1314 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1315 if test "$cross_compiling" = yes; then
1318 cat > conftest.$ac_ext <<EOF
1319 #line 1320 "configure"
1320 #include "confdefs.h"
1322 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1323 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1324 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1325 int main () { int i; for (i = 0; i < 256; i++)
1326 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1330 if { (eval echo configure:1331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1334 echo "configure: failed program was:" >&5
1335 cat conftest.$ac_ext >&5
1337 ac_cv_header_stdc=no
1345 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1346 if test $ac_cv_header_stdc = yes; then
1347 cat >> confdefs.h <<\EOF
1348 #define STDC_HEADERS 1
1353 echo $ac_n "checking for working const""... $ac_c" 1>&6
1354 echo "configure:1355: checking for working const" >&5
1355 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1356 echo $ac_n "(cached) $ac_c" 1>&6
1358 cat > conftest.$ac_ext <<EOF
1359 #line 1360 "configure"
1360 #include "confdefs.h"
1364 /* Ultrix mips cc rejects this. */
1365 typedef int charset[2]; const charset x;
1366 /* SunOS 4.1.1 cc rejects this. */
1367 char const *const *ccp;
1369 /* NEC SVR4.0.2 mips cc rejects this. */
1370 struct point {int x, y;};
1371 static struct point const zero = {0,0};
1372 /* AIX XL C 1.02.0.0 rejects this.
1373 It does not let you subtract one const X* pointer from another in an arm
1374 of an if-expression whose if-part is not a constant expression */
1375 const char *g = "string";
1376 ccp = &g + (g ? g-g : 0);
1377 /* HPUX 7.0 cc rejects these. */
1380 ccp = (char const *const *) p;
1381 { /* SCO 3.2v4 cc rejects this. */
1383 char const *s = 0 ? (char *) 0 : (char const *) 0;
1387 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
1389 const int *foo = &x[0];
1392 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1393 typedef const int *iptr;
1397 { /* AIX XL C 1.02.0.0 rejects this saying
1398 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1399 struct s { int j; const int *ap[3]; };
1400 struct s *b; b->j = 5;
1402 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1408 if { (eval echo configure:1409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1412 echo "configure: failed program was:" >&5
1413 cat conftest.$ac_ext >&5
1420 echo "$ac_t""$ac_cv_c_const" 1>&6
1421 if test $ac_cv_c_const = no; then
1422 cat >> confdefs.h <<\EOF
1428 echo $ac_n "checking for inline""... $ac_c" 1>&6
1429 echo "configure:1430: checking for inline" >&5
1430 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
1431 echo $ac_n "(cached) $ac_c" 1>&6
1434 for ac_kw in inline __inline__ __inline; do
1435 cat > conftest.$ac_ext <<EOF
1436 #line 1437 "configure"
1437 #include "confdefs.h"
1443 if { (eval echo configure:1444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1445 ac_cv_c_inline=$ac_kw; break
1447 echo "configure: failed program was:" >&5
1448 cat conftest.$ac_ext >&5
1455 echo "$ac_t""$ac_cv_c_inline" 1>&6
1456 case "$ac_cv_c_inline" in
1458 no) cat >> confdefs.h <<\EOF
1462 *) cat >> confdefs.h <<EOF
1463 #define inline $ac_cv_c_inline
1468 echo $ac_n "checking for off_t""... $ac_c" 1>&6
1469 echo "configure:1470: checking for off_t" >&5
1470 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
1471 echo $ac_n "(cached) $ac_c" 1>&6
1473 cat > conftest.$ac_ext <<EOF
1474 #line 1475 "configure"
1475 #include "confdefs.h"
1476 #include <sys/types.h>
1482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1483 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
1485 ac_cv_type_off_t=yes
1493 echo "$ac_t""$ac_cv_type_off_t" 1>&6
1494 if test $ac_cv_type_off_t = no; then
1495 cat >> confdefs.h <<\EOF
1501 echo $ac_n "checking for size_t""... $ac_c" 1>&6
1502 echo "configure:1503: checking for size_t" >&5
1503 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
1504 echo $ac_n "(cached) $ac_c" 1>&6
1506 cat > conftest.$ac_ext <<EOF
1507 #line 1508 "configure"
1508 #include "confdefs.h"
1509 #include <sys/types.h>
1515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1516 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
1518 ac_cv_type_size_t=yes
1521 ac_cv_type_size_t=no
1526 echo "$ac_t""$ac_cv_type_size_t" 1>&6
1527 if test $ac_cv_type_size_t = no; then
1528 cat >> confdefs.h <<\EOF
1529 #define size_t unsigned
1534 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
1535 # for constant arguments. Useless!
1536 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
1537 echo "configure:1538: checking for working alloca.h" >&5
1538 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
1539 echo $ac_n "(cached) $ac_c" 1>&6
1541 cat > conftest.$ac_ext <<EOF
1542 #line 1543 "configure"
1543 #include "confdefs.h"
1546 char *p = alloca(2 * sizeof(int));
1549 if { (eval echo configure:1550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1551 ac_cv_header_alloca_h=yes
1553 echo "configure: failed program was:" >&5
1554 cat conftest.$ac_ext >&5
1556 ac_cv_header_alloca_h=no
1561 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
1562 if test $ac_cv_header_alloca_h = yes; then
1563 cat >> confdefs.h <<\EOF
1564 #define HAVE_ALLOCA_H 1
1569 echo $ac_n "checking for alloca""... $ac_c" 1>&6
1570 echo "configure:1571: checking for alloca" >&5
1571 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
1572 echo $ac_n "(cached) $ac_c" 1>&6
1574 cat > conftest.$ac_ext <<EOF
1575 #line 1576 "configure"
1576 #include "confdefs.h"
1579 # define alloca __builtin_alloca
1582 # include <malloc.h>
1583 # define alloca _alloca
1586 # include <alloca.h>
1591 # ifndef alloca /* predefined by HP cc +Olibcalls */
1600 char *p = (char *) alloca(1);
1603 if { (eval echo configure:1604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1605 ac_cv_func_alloca_works=yes
1607 echo "configure: failed program was:" >&5
1608 cat conftest.$ac_ext >&5
1610 ac_cv_func_alloca_works=no
1615 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
1616 if test $ac_cv_func_alloca_works = yes; then
1617 cat >> confdefs.h <<\EOF
1618 #define HAVE_ALLOCA 1
1623 if test $ac_cv_func_alloca_works = no; then
1624 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
1625 # that cause trouble. Some versions do not even contain alloca or
1626 # contain a buggy version. If you still want to use their alloca,
1627 # use ar to extract alloca.o from them instead of compiling alloca.c.
1628 ALLOCA=alloca.${ac_objext}
1629 cat >> confdefs.h <<\EOF
1634 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
1635 echo "configure:1636: checking whether alloca needs Cray hooks" >&5
1636 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
1637 echo $ac_n "(cached) $ac_c" 1>&6
1639 cat > conftest.$ac_ext <<EOF
1640 #line 1641 "configure"
1641 #include "confdefs.h"
1642 #if defined(CRAY) && ! defined(CRAY2)
1649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1650 egrep "webecray" >/dev/null 2>&1; then
1661 echo "$ac_t""$ac_cv_os_cray" 1>&6
1662 if test $ac_cv_os_cray = yes; then
1663 for ac_func in _getb67 GETB67 getb67; do
1664 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1665 echo "configure:1666: checking for $ac_func" >&5
1666 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1667 echo $ac_n "(cached) $ac_c" 1>&6
1669 cat > conftest.$ac_ext <<EOF
1670 #line 1671 "configure"
1671 #include "confdefs.h"
1672 /* System header to define __stub macros and hopefully few prototypes,
1673 which can conflict with char $ac_func(); below. */
1675 /* Override any gcc2 internal prototype to avoid an error. */
1676 /* We use char because int might match the return type of a gcc2
1677 builtin and then its argument prototype would still apply. */
1682 /* The GNU C library defines this for functions which it implements
1683 to always fail with ENOSYS. Some functions are actually named
1684 something starting with __ and the normal name is an alias. */
1685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1693 if { (eval echo configure:1694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1695 eval "ac_cv_func_$ac_func=yes"
1697 echo "configure: failed program was:" >&5
1698 cat conftest.$ac_ext >&5
1700 eval "ac_cv_func_$ac_func=no"
1705 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1706 echo "$ac_t""yes" 1>&6
1707 cat >> confdefs.h <<EOF
1708 #define CRAY_STACKSEG_END $ac_func
1713 echo "$ac_t""no" 1>&6
1719 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
1720 echo "configure:1721: checking stack direction for C alloca" >&5
1721 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
1722 echo $ac_n "(cached) $ac_c" 1>&6
1724 if test "$cross_compiling" = yes; then
1725 ac_cv_c_stack_direction=0
1727 cat > conftest.$ac_ext <<EOF
1728 #line 1729 "configure"
1729 #include "confdefs.h"
1730 find_stack_direction ()
1732 static char *addr = 0;
1737 return find_stack_direction ();
1740 return (&dummy > addr) ? 1 : -1;
1744 exit (find_stack_direction() < 0);
1747 if { (eval echo configure:1748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1749 ac_cv_c_stack_direction=1
1751 echo "configure: failed program was:" >&5
1752 cat conftest.$ac_ext >&5
1754 ac_cv_c_stack_direction=-1
1761 echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
1762 cat >> confdefs.h <<EOF
1763 #define STACK_DIRECTION $ac_cv_c_stack_direction
1768 for ac_hdr in unistd.h
1770 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1771 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1772 echo "configure:1773: checking for $ac_hdr" >&5
1773 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1774 echo $ac_n "(cached) $ac_c" 1>&6
1776 cat > conftest.$ac_ext <<EOF
1777 #line 1778 "configure"
1778 #include "confdefs.h"
1781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1782 { (eval echo configure:1783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1783 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1784 if test -z "$ac_err"; then
1786 eval "ac_cv_header_$ac_safe=yes"
1789 echo "configure: failed program was:" >&5
1790 cat conftest.$ac_ext >&5
1792 eval "ac_cv_header_$ac_safe=no"
1796 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1797 echo "$ac_t""yes" 1>&6
1798 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1799 cat >> confdefs.h <<EOF
1800 #define $ac_tr_hdr 1
1804 echo "$ac_t""no" 1>&6
1808 for ac_func in getpagesize
1810 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1811 echo "configure:1812: checking for $ac_func" >&5
1812 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1813 echo $ac_n "(cached) $ac_c" 1>&6
1815 cat > conftest.$ac_ext <<EOF
1816 #line 1817 "configure"
1817 #include "confdefs.h"
1818 /* System header to define __stub macros and hopefully few prototypes,
1819 which can conflict with char $ac_func(); below. */
1821 /* Override any gcc2 internal prototype to avoid an error. */
1822 /* We use char because int might match the return type of a gcc2
1823 builtin and then its argument prototype would still apply. */
1828 /* The GNU C library defines this for functions which it implements
1829 to always fail with ENOSYS. Some functions are actually named
1830 something starting with __ and the normal name is an alias. */
1831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1839 if { (eval echo configure:1840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1841 eval "ac_cv_func_$ac_func=yes"
1843 echo "configure: failed program was:" >&5
1844 cat conftest.$ac_ext >&5
1846 eval "ac_cv_func_$ac_func=no"
1851 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1852 echo "$ac_t""yes" 1>&6
1853 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1854 cat >> confdefs.h <<EOF
1855 #define $ac_tr_func 1
1859 echo "$ac_t""no" 1>&6
1863 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
1864 echo "configure:1865: checking for working mmap" >&5
1865 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
1866 echo $ac_n "(cached) $ac_c" 1>&6
1868 if test "$cross_compiling" = yes; then
1869 ac_cv_func_mmap_fixed_mapped=no
1871 cat > conftest.$ac_ext <<EOF
1872 #line 1873 "configure"
1873 #include "confdefs.h"
1875 /* Thanks to Mike Haertel and Jim Avera for this test.
1876 Here is a matrix of mmap possibilities:
1877 mmap private not fixed
1878 mmap private fixed at somewhere currently unmapped
1879 mmap private fixed at somewhere already mapped
1880 mmap shared not fixed
1881 mmap shared fixed at somewhere currently unmapped
1882 mmap shared fixed at somewhere already mapped
1883 For private mappings, we should verify that changes cannot be read()
1884 back from the file, nor mmap's back from the file at a different
1885 address. (There have been systems where private was not correctly
1886 implemented like the infamous i386 svr4.0, and systems where the
1887 VM page cache was not coherent with the filesystem buffer cache
1888 like early versions of FreeBSD and possibly contemporary NetBSD.)
1889 For shared mappings, we should conversely verify that changes get
1890 propogated back to all the places they're supposed to be.
1892 Grep wants private fixed already mapped.
1893 The main things grep needs to know about mmap are:
1894 * does it exist and is it safe to write into the mmap'd area
1895 * how to use it (BSD variants) */
1896 #include <sys/types.h>
1898 #include <sys/mman.h>
1900 /* This mess was copied from the GNU getpagesize.h. */
1901 #ifndef HAVE_GETPAGESIZE
1902 # ifdef HAVE_UNISTD_H
1903 # include <unistd.h>
1906 /* Assume that all systems that can run configure have sys/param.h. */
1907 # ifndef HAVE_SYS_PARAM_H
1908 # define HAVE_SYS_PARAM_H 1
1911 # ifdef _SC_PAGESIZE
1912 # define getpagesize() sysconf(_SC_PAGESIZE)
1913 # else /* no _SC_PAGESIZE */
1914 # ifdef HAVE_SYS_PARAM_H
1915 # include <sys/param.h>
1916 # ifdef EXEC_PAGESIZE
1917 # define getpagesize() EXEC_PAGESIZE
1918 # else /* no EXEC_PAGESIZE */
1920 # define getpagesize() NBPG * CLSIZE
1923 # endif /* no CLSIZE */
1924 # else /* no NBPG */
1926 # define getpagesize() NBPC
1927 # else /* no NBPC */
1929 # define getpagesize() PAGESIZE
1930 # endif /* PAGESIZE */
1931 # endif /* no NBPC */
1932 # endif /* no NBPG */
1933 # endif /* no EXEC_PAGESIZE */
1934 # else /* no HAVE_SYS_PARAM_H */
1935 # define getpagesize() 8192 /* punt totally */
1936 # endif /* no HAVE_SYS_PARAM_H */
1937 # endif /* no _SC_PAGESIZE */
1939 #endif /* no HAVE_GETPAGESIZE */
1942 extern "C" { void *malloc(unsigned); }
1950 char *data, *data2, *data3;
1954 pagesize = getpagesize();
1957 * First, make a file with some known garbage in it.
1959 data = malloc(pagesize);
1962 for (i = 0; i < pagesize; ++i)
1963 *(data + i) = rand();
1965 fd = creat("conftestmmap", 0600);
1968 if (write(fd, data, pagesize) != pagesize)
1973 * Next, try to mmap the file at a fixed address which
1974 * already has something else allocated at it. If we can,
1975 * also make sure that we see the same garbage.
1977 fd = open("conftestmmap", O_RDWR);
1980 data2 = malloc(2 * pagesize);
1983 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
1984 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
1985 MAP_PRIVATE | MAP_FIXED, fd, 0L))
1987 for (i = 0; i < pagesize; ++i)
1988 if (*(data + i) != *(data2 + i))
1992 * Finally, make sure that changes to the mapped area
1993 * do not percolate back to the file as seen by read().
1994 * (This is a bug on some variants of i386 svr4.0.)
1996 for (i = 0; i < pagesize; ++i)
1997 *(data2 + i) = *(data2 + i) + 1;
1998 data3 = malloc(pagesize);
2001 if (read(fd, data3, pagesize) != pagesize)
2003 for (i = 0; i < pagesize; ++i)
2004 if (*(data + i) != *(data3 + i))
2007 unlink("conftestmmap");
2012 if { (eval echo configure:2013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2014 ac_cv_func_mmap_fixed_mapped=yes
2016 echo "configure: failed program was:" >&5
2017 cat conftest.$ac_ext >&5
2019 ac_cv_func_mmap_fixed_mapped=no
2026 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
2027 if test $ac_cv_func_mmap_fixed_mapped = yes; then
2028 cat >> confdefs.h <<\EOF
2035 for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \
2036 unistd.h sys/param.h
2038 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2039 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2040 echo "configure:2041: checking for $ac_hdr" >&5
2041 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2042 echo $ac_n "(cached) $ac_c" 1>&6
2044 cat > conftest.$ac_ext <<EOF
2045 #line 2046 "configure"
2046 #include "confdefs.h"
2049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2050 { (eval echo configure:2051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2052 if test -z "$ac_err"; then
2054 eval "ac_cv_header_$ac_safe=yes"
2057 echo "configure: failed program was:" >&5
2058 cat conftest.$ac_ext >&5
2060 eval "ac_cv_header_$ac_safe=no"
2064 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2065 echo "$ac_t""yes" 1>&6
2066 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2067 cat >> confdefs.h <<EOF
2068 #define $ac_tr_hdr 1
2072 echo "$ac_t""no" 1>&6
2076 for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \
2077 strdup __argz_count __argz_stringify __argz_next
2079 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2080 echo "configure:2081: checking for $ac_func" >&5
2081 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2082 echo $ac_n "(cached) $ac_c" 1>&6
2084 cat > conftest.$ac_ext <<EOF
2085 #line 2086 "configure"
2086 #include "confdefs.h"
2087 /* System header to define __stub macros and hopefully few prototypes,
2088 which can conflict with char $ac_func(); below. */
2090 /* Override any gcc2 internal prototype to avoid an error. */
2091 /* We use char because int might match the return type of a gcc2
2092 builtin and then its argument prototype would still apply. */
2097 /* The GNU C library defines this for functions which it implements
2098 to always fail with ENOSYS. Some functions are actually named
2099 something starting with __ and the normal name is an alias. */
2100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2108 if { (eval echo configure:2109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2110 eval "ac_cv_func_$ac_func=yes"
2112 echo "configure: failed program was:" >&5
2113 cat conftest.$ac_ext >&5
2115 eval "ac_cv_func_$ac_func=no"
2120 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2121 echo "$ac_t""yes" 1>&6
2122 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2123 cat >> confdefs.h <<EOF
2124 #define $ac_tr_func 1
2128 echo "$ac_t""no" 1>&6
2133 if test "${ac_cv_func_stpcpy+set}" != "set"; then
2134 for ac_func in stpcpy
2136 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2137 echo "configure:2138: checking for $ac_func" >&5
2138 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2139 echo $ac_n "(cached) $ac_c" 1>&6
2141 cat > conftest.$ac_ext <<EOF
2142 #line 2143 "configure"
2143 #include "confdefs.h"
2144 /* System header to define __stub macros and hopefully few prototypes,
2145 which can conflict with char $ac_func(); below. */
2147 /* Override any gcc2 internal prototype to avoid an error. */
2148 /* We use char because int might match the return type of a gcc2
2149 builtin and then its argument prototype would still apply. */
2154 /* The GNU C library defines this for functions which it implements
2155 to always fail with ENOSYS. Some functions are actually named
2156 something starting with __ and the normal name is an alias. */
2157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2165 if { (eval echo configure:2166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2167 eval "ac_cv_func_$ac_func=yes"
2169 echo "configure: failed program was:" >&5
2170 cat conftest.$ac_ext >&5
2172 eval "ac_cv_func_$ac_func=no"
2177 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2178 echo "$ac_t""yes" 1>&6
2179 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2180 cat >> confdefs.h <<EOF
2181 #define $ac_tr_func 1
2185 echo "$ac_t""no" 1>&6
2190 if test "${ac_cv_func_stpcpy}" = "yes"; then
2191 cat >> confdefs.h <<\EOF
2192 #define HAVE_STPCPY 1
2197 if test $ac_cv_header_locale_h = yes; then
2198 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
2199 echo "configure:2200: checking for LC_MESSAGES" >&5
2200 if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
2201 echo $ac_n "(cached) $ac_c" 1>&6
2203 cat > conftest.$ac_ext <<EOF
2204 #line 2205 "configure"
2205 #include "confdefs.h"
2211 if { (eval echo configure:2212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2213 am_cv_val_LC_MESSAGES=yes
2215 echo "configure: failed program was:" >&5
2216 cat conftest.$ac_ext >&5
2218 am_cv_val_LC_MESSAGES=no
2223 echo "$ac_t""$am_cv_val_LC_MESSAGES" 1>&6
2224 if test $am_cv_val_LC_MESSAGES = yes; then
2225 cat >> confdefs.h <<\EOF
2226 #define HAVE_LC_MESSAGES 1
2231 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
2232 echo "configure:2233: checking whether NLS is requested" >&5
2233 # Check whether --enable-nls or --disable-nls was given.
2234 if test "${enable_nls+set}" = set; then
2235 enableval="$enable_nls"
2241 echo "$ac_t""$USE_NLS" 1>&6
2244 USE_INCLUDED_LIBINTL=no
2246 if test "$USE_NLS" = "yes"; then
2247 cat >> confdefs.h <<\EOF
2248 #define ENABLE_NLS 1
2251 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
2252 echo "configure:2253: checking whether included gettext is requested" >&5
2253 # Check whether --with-included-gettext or --without-included-gettext was given.
2254 if test "${with_included_gettext+set}" = set; then
2255 withval="$with_included_gettext"
2256 nls_cv_force_use_gnu_gettext=$withval
2258 nls_cv_force_use_gnu_gettext=no
2261 echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6
2263 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
2264 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
2266 nls_cv_header_libgt=
2269 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
2270 echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
2271 echo "configure:2272: checking for libintl.h" >&5
2272 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2273 echo $ac_n "(cached) $ac_c" 1>&6
2275 cat > conftest.$ac_ext <<EOF
2276 #line 2277 "configure"
2277 #include "confdefs.h"
2278 #include <libintl.h>
2280 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2281 { (eval echo configure:2282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2282 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2283 if test -z "$ac_err"; then
2285 eval "ac_cv_header_$ac_safe=yes"
2288 echo "configure: failed program was:" >&5
2289 cat conftest.$ac_ext >&5
2291 eval "ac_cv_header_$ac_safe=no"
2295 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2296 echo "$ac_t""yes" 1>&6
2297 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6
2298 echo "configure:2299: checking for gettext in libc" >&5
2299 if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then
2300 echo $ac_n "(cached) $ac_c" 1>&6
2302 cat > conftest.$ac_ext <<EOF
2303 #line 2304 "configure"
2304 #include "confdefs.h"
2305 #include <libintl.h>
2307 return (int) gettext ("")
2310 if { (eval echo configure:2311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2312 gt_cv_func_gettext_libc=yes
2314 echo "configure: failed program was:" >&5
2315 cat conftest.$ac_ext >&5
2317 gt_cv_func_gettext_libc=no
2322 echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6
2324 if test "$gt_cv_func_gettext_libc" != "yes"; then
2325 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6
2326 echo "configure:2327: checking for bindtextdomain in -lintl" >&5
2327 ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'`
2328 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2329 echo $ac_n "(cached) $ac_c" 1>&6
2331 ac_save_LIBS="$LIBS"
2333 cat > conftest.$ac_ext <<EOF
2334 #line 2335 "configure"
2335 #include "confdefs.h"
2336 /* Override any gcc2 internal prototype to avoid an error. */
2337 /* We use char because int might match the return type of a gcc2
2338 builtin and then its argument prototype would still apply. */
2339 char bindtextdomain();
2345 if { (eval echo configure:2346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2347 eval "ac_cv_lib_$ac_lib_var=yes"
2349 echo "configure: failed program was:" >&5
2350 cat conftest.$ac_ext >&5
2352 eval "ac_cv_lib_$ac_lib_var=no"
2355 LIBS="$ac_save_LIBS"
2358 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2359 echo "$ac_t""yes" 1>&6
2360 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6
2361 echo "configure:2362: checking for gettext in libintl" >&5
2362 if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then
2363 echo $ac_n "(cached) $ac_c" 1>&6
2365 echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
2366 echo "configure:2367: checking for gettext in -lintl" >&5
2367 ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
2368 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2369 echo $ac_n "(cached) $ac_c" 1>&6
2371 ac_save_LIBS="$LIBS"
2373 cat > conftest.$ac_ext <<EOF
2374 #line 2375 "configure"
2375 #include "confdefs.h"
2376 /* Override any gcc2 internal prototype to avoid an error. */
2377 /* We use char because int might match the return type of a gcc2
2378 builtin and then its argument prototype would still apply. */
2385 if { (eval echo configure:2386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2387 eval "ac_cv_lib_$ac_lib_var=yes"
2389 echo "configure: failed program was:" >&5
2390 cat conftest.$ac_ext >&5
2392 eval "ac_cv_lib_$ac_lib_var=no"
2395 LIBS="$ac_save_LIBS"
2398 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2399 echo "$ac_t""yes" 1>&6
2400 gt_cv_func_gettext_libintl=yes
2402 echo "$ac_t""no" 1>&6
2403 gt_cv_func_gettext_libintl=no
2408 echo "$ac_t""$gt_cv_func_gettext_libintl" 1>&6
2410 echo "$ac_t""no" 1>&6
2415 if test "$gt_cv_func_gettext_libc" = "yes" \
2416 || test "$gt_cv_func_gettext_libintl" = "yes"; then
2417 cat >> confdefs.h <<\EOF
2418 #define HAVE_GETTEXT 1
2421 # Extract the first word of "msgfmt", so it can be a program name with args.
2422 set dummy msgfmt; ac_word=$2
2423 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2424 echo "configure:2425: checking for $ac_word" >&5
2425 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
2426 echo $ac_n "(cached) $ac_c" 1>&6
2430 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
2433 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2434 for ac_dir in $PATH; do
2435 test -z "$ac_dir" && ac_dir=.
2436 if test -f $ac_dir/$ac_word; then
2437 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
2438 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
2444 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
2448 MSGFMT="$ac_cv_path_MSGFMT"
2449 if test -n "$MSGFMT"; then
2450 echo "$ac_t""$MSGFMT" 1>&6
2452 echo "$ac_t""no" 1>&6
2454 if test "$MSGFMT" != "no"; then
2455 for ac_func in dcgettext
2457 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2458 echo "configure:2459: checking for $ac_func" >&5
2459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2460 echo $ac_n "(cached) $ac_c" 1>&6
2462 cat > conftest.$ac_ext <<EOF
2463 #line 2464 "configure"
2464 #include "confdefs.h"
2465 /* System header to define __stub macros and hopefully few prototypes,
2466 which can conflict with char $ac_func(); below. */
2468 /* Override any gcc2 internal prototype to avoid an error. */
2469 /* We use char because int might match the return type of a gcc2
2470 builtin and then its argument prototype would still apply. */
2475 /* The GNU C library defines this for functions which it implements
2476 to always fail with ENOSYS. Some functions are actually named
2477 something starting with __ and the normal name is an alias. */
2478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2486 if { (eval echo configure:2487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2488 eval "ac_cv_func_$ac_func=yes"
2490 echo "configure: failed program was:" >&5
2491 cat conftest.$ac_ext >&5
2493 eval "ac_cv_func_$ac_func=no"
2498 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2499 echo "$ac_t""yes" 1>&6
2500 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2501 cat >> confdefs.h <<EOF
2502 #define $ac_tr_func 1
2506 echo "$ac_t""no" 1>&6
2510 # Extract the first word of "gmsgfmt", so it can be a program name with args.
2511 set dummy gmsgfmt; ac_word=$2
2512 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2513 echo "configure:2514: checking for $ac_word" >&5
2514 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
2515 echo $ac_n "(cached) $ac_c" 1>&6
2519 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2522 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path.
2525 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2527 for ac_dir in $ac_dummy; do
2528 test -z "$ac_dir" && ac_dir=.
2529 if test -f $ac_dir/$ac_word; then
2530 ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
2535 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2539 GMSGFMT="$ac_cv_path_GMSGFMT"
2540 if test -n "$GMSGFMT"; then
2541 echo "$ac_t""$GMSGFMT" 1>&6
2543 echo "$ac_t""no" 1>&6
2546 # Extract the first word of "xgettext", so it can be a program name with args.
2547 set dummy xgettext; ac_word=$2
2548 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2549 echo "configure:2550: checking for $ac_word" >&5
2550 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
2551 echo $ac_n "(cached) $ac_c" 1>&6
2555 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
2558 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2559 for ac_dir in $PATH; do
2560 test -z "$ac_dir" && ac_dir=.
2561 if test -f $ac_dir/$ac_word; then
2562 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
2563 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
2569 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
2573 XGETTEXT="$ac_cv_path_XGETTEXT"
2574 if test -n "$XGETTEXT"; then
2575 echo "$ac_t""$XGETTEXT" 1>&6
2577 echo "$ac_t""no" 1>&6
2580 cat > conftest.$ac_ext <<EOF
2581 #line 2582 "configure"
2582 #include "confdefs.h"
2585 extern int _nl_msg_cat_cntr;
2586 return _nl_msg_cat_cntr
2589 if { (eval echo configure:2590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2594 echo "configure: failed program was:" >&5
2595 cat conftest.$ac_ext >&5
2606 echo "$ac_t""no" 1>&6
2610 if test "$CATOBJEXT" = "NONE"; then
2611 echo $ac_n "checking whether catgets can be used""... $ac_c" 1>&6
2612 echo "configure:2613: checking whether catgets can be used" >&5
2613 # Check whether --with-catgets or --without-catgets was given.
2614 if test "${with_catgets+set}" = set; then
2615 withval="$with_catgets"
2616 nls_cv_use_catgets=$withval
2618 nls_cv_use_catgets=no
2621 echo "$ac_t""$nls_cv_use_catgets" 1>&6
2623 if test "$nls_cv_use_catgets" = "yes"; then
2624 echo $ac_n "checking for main in -li""... $ac_c" 1>&6
2625 echo "configure:2626: checking for main in -li" >&5
2626 ac_lib_var=`echo i'_'main | sed 'y%./+-%__p_%'`
2627 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2628 echo $ac_n "(cached) $ac_c" 1>&6
2630 ac_save_LIBS="$LIBS"
2632 cat > conftest.$ac_ext <<EOF
2633 #line 2634 "configure"
2634 #include "confdefs.h"
2640 if { (eval echo configure:2641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2642 eval "ac_cv_lib_$ac_lib_var=yes"
2644 echo "configure: failed program was:" >&5
2645 cat conftest.$ac_ext >&5
2647 eval "ac_cv_lib_$ac_lib_var=no"
2650 LIBS="$ac_save_LIBS"
2653 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2654 echo "$ac_t""yes" 1>&6
2655 ac_tr_lib=HAVE_LIB`echo i | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2656 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2657 cat >> confdefs.h <<EOF
2658 #define $ac_tr_lib 1
2664 echo "$ac_t""no" 1>&6
2667 echo $ac_n "checking for catgets""... $ac_c" 1>&6
2668 echo "configure:2669: checking for catgets" >&5
2669 if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
2670 echo $ac_n "(cached) $ac_c" 1>&6
2672 cat > conftest.$ac_ext <<EOF
2673 #line 2674 "configure"
2674 #include "confdefs.h"
2675 /* System header to define __stub macros and hopefully few prototypes,
2676 which can conflict with char catgets(); below. */
2678 /* Override any gcc2 internal prototype to avoid an error. */
2679 /* We use char because int might match the return type of a gcc2
2680 builtin and then its argument prototype would still apply. */
2685 /* The GNU C library defines this for functions which it implements
2686 to always fail with ENOSYS. Some functions are actually named
2687 something starting with __ and the normal name is an alias. */
2688 #if defined (__stub_catgets) || defined (__stub___catgets)
2696 if { (eval echo configure:2697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2698 eval "ac_cv_func_catgets=yes"
2700 echo "configure: failed program was:" >&5
2701 cat conftest.$ac_ext >&5
2703 eval "ac_cv_func_catgets=no"
2708 if eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then
2709 echo "$ac_t""yes" 1>&6
2710 cat >> confdefs.h <<\EOF
2711 #define HAVE_CATGETS 1
2714 INTLOBJS="\$(CATOBJS)"
2715 # Extract the first word of "gencat", so it can be a program name with args.
2716 set dummy gencat; ac_word=$2
2717 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2718 echo "configure:2719: checking for $ac_word" >&5
2719 if eval "test \"`echo '$''{'ac_cv_path_GENCAT'+set}'`\" = set"; then
2720 echo $ac_n "(cached) $ac_c" 1>&6
2724 ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a path.
2727 ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a dos path.
2730 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2732 for ac_dir in $ac_dummy; do
2733 test -z "$ac_dir" && ac_dir=.
2734 if test -f $ac_dir/$ac_word; then
2735 ac_cv_path_GENCAT="$ac_dir/$ac_word"
2740 test -z "$ac_cv_path_GENCAT" && ac_cv_path_GENCAT="no"
2744 GENCAT="$ac_cv_path_GENCAT"
2745 if test -n "$GENCAT"; then
2746 echo "$ac_t""$GENCAT" 1>&6
2748 echo "$ac_t""no" 1>&6
2750 if test "$GENCAT" != "no"; then
2751 # Extract the first word of "gmsgfmt", so it can be a program name with args.
2752 set dummy gmsgfmt; ac_word=$2
2753 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2754 echo "configure:2755: checking for $ac_word" >&5
2755 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
2756 echo $ac_n "(cached) $ac_c" 1>&6
2760 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2763 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path.
2766 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2768 for ac_dir in $ac_dummy; do
2769 test -z "$ac_dir" && ac_dir=.
2770 if test -f $ac_dir/$ac_word; then
2771 ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
2776 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="no"
2780 GMSGFMT="$ac_cv_path_GMSGFMT"
2781 if test -n "$GMSGFMT"; then
2782 echo "$ac_t""$GMSGFMT" 1>&6
2784 echo "$ac_t""no" 1>&6
2787 if test "$GMSGFMT" = "no"; then
2788 # Extract the first word of "msgfmt", so it can be a program name with args.
2789 set dummy msgfmt; ac_word=$2
2790 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2791 echo "configure:2792: checking for $ac_word" >&5
2792 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
2793 echo $ac_n "(cached) $ac_c" 1>&6
2797 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2800 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2801 for ac_dir in $PATH; do
2802 test -z "$ac_dir" && ac_dir=.
2803 if test -f $ac_dir/$ac_word; then
2804 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
2805 ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
2811 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="no"
2815 GMSGFMT="$ac_cv_path_GMSGFMT"
2816 if test -n "$GMSGFMT"; then
2817 echo "$ac_t""$GMSGFMT" 1>&6
2819 echo "$ac_t""no" 1>&6
2823 # Extract the first word of "xgettext", so it can be a program name with args.
2824 set dummy xgettext; ac_word=$2
2825 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2826 echo "configure:2827: checking for $ac_word" >&5
2827 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
2828 echo $ac_n "(cached) $ac_c" 1>&6
2832 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
2835 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2836 for ac_dir in $PATH; do
2837 test -z "$ac_dir" && ac_dir=.
2838 if test -f $ac_dir/$ac_word; then
2839 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
2840 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
2846 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
2850 XGETTEXT="$ac_cv_path_XGETTEXT"
2851 if test -n "$XGETTEXT"; then
2852 echo "$ac_t""$XGETTEXT" 1>&6
2854 echo "$ac_t""no" 1>&6
2857 USE_INCLUDED_LIBINTL=yes
2861 INTLDEPS='$(top_builddir)/intl/libintl.a'
2863 LIBS=`echo $LIBS | sed -e 's/-lintl//'`
2864 nls_cv_header_intl=intl/libintl.h
2865 nls_cv_header_libgt=intl/libgettext.h
2868 echo "$ac_t""no" 1>&6
2874 if test "$CATOBJEXT" = "NONE"; then
2875 nls_cv_use_gnu_gettext=yes
2879 if test "$nls_cv_use_gnu_gettext" = "yes"; then
2880 INTLOBJS="\$(GETTOBJS)"
2881 # Extract the first word of "msgfmt", so it can be a program name with args.
2882 set dummy msgfmt; ac_word=$2
2883 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2884 echo "configure:2885: checking for $ac_word" >&5
2885 if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
2886 echo $ac_n "(cached) $ac_c" 1>&6
2890 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
2893 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2894 for ac_dir in $PATH; do
2895 test -z "$ac_dir" && ac_dir=.
2896 if test -f $ac_dir/$ac_word; then
2897 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
2898 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
2904 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="msgfmt"
2908 MSGFMT="$ac_cv_path_MSGFMT"
2909 if test -n "$MSGFMT"; then
2910 echo "$ac_t""$MSGFMT" 1>&6
2912 echo "$ac_t""no" 1>&6
2915 # Extract the first word of "gmsgfmt", so it can be a program name with args.
2916 set dummy gmsgfmt; ac_word=$2
2917 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2918 echo "configure:2919: checking for $ac_word" >&5
2919 if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
2920 echo $ac_n "(cached) $ac_c" 1>&6
2924 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
2927 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path.
2930 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2932 for ac_dir in $ac_dummy; do
2933 test -z "$ac_dir" && ac_dir=.
2934 if test -f $ac_dir/$ac_word; then
2935 ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
2940 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
2944 GMSGFMT="$ac_cv_path_GMSGFMT"
2945 if test -n "$GMSGFMT"; then
2946 echo "$ac_t""$GMSGFMT" 1>&6
2948 echo "$ac_t""no" 1>&6
2951 # Extract the first word of "xgettext", so it can be a program name with args.
2952 set dummy xgettext; ac_word=$2
2953 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2954 echo "configure:2955: checking for $ac_word" >&5
2955 if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
2956 echo $ac_n "(cached) $ac_c" 1>&6
2960 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
2963 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
2964 for ac_dir in $PATH; do
2965 test -z "$ac_dir" && ac_dir=.
2966 if test -f $ac_dir/$ac_word; then
2967 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
2968 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
2974 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
2978 XGETTEXT="$ac_cv_path_XGETTEXT"
2979 if test -n "$XGETTEXT"; then
2980 echo "$ac_t""$XGETTEXT" 1>&6
2982 echo "$ac_t""no" 1>&6
2986 USE_INCLUDED_LIBINTL=yes
2990 INTLDEPS='$(top_builddir)/intl/libintl.a'
2992 LIBS=`echo $LIBS | sed -e 's/-lintl//'`
2993 nls_cv_header_intl=intl/libintl.h
2994 nls_cv_header_libgt=intl/libgettext.h
2997 if test "$XGETTEXT" != ":"; then
2998 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
3001 echo "$ac_t""found xgettext program is not GNU xgettext; ignore it" 1>&6
3006 # We need to process the po/ directory.
3010 nls_cv_header_intl=intl/libintl.h
3011 nls_cv_header_libgt=intl/libgettext.h
3017 # If this is used in GNU gettext we have to set USE_NLS to `yes'
3018 # because some of the sources are only built for this goal.
3019 if test "$PACKAGE" = gettext; then
3021 USE_INCLUDED_LIBINTL=yes
3024 for lang in $ALL_LINGUAS; do
3025 GMOFILES="$GMOFILES $lang.gmo"
3026 POFILES="$POFILES $lang.po"
3042 if test "x$CATOBJEXT" != "x"; then
3043 if test "x$ALL_LINGUAS" = "x"; then
3046 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
3047 echo "configure:3048: checking for catalogs to be installed" >&5
3049 for lang in ${LINGUAS=$ALL_LINGUAS}; do
3050 case "$ALL_LINGUAS" in
3051 *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;;
3054 LINGUAS=$NEW_LINGUAS
3055 echo "$ac_t""$LINGUAS" 1>&6
3058 if test -n "$LINGUAS"; then
3059 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
3063 if test $ac_cv_header_locale_h = yes; then
3064 INCLUDE_LOCALE_H="#include <locale.h>"
3067 /* The system does not provide the header <locale.h>. Take care yourself. */"
3071 test -d intl || mkdir intl
3072 if test "$CATOBJEXT" = ".cat"; then
3073 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'`
3074 echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6
3075 echo "configure:3076: checking for linux/version.h" >&5
3076 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3077 echo $ac_n "(cached) $ac_c" 1>&6
3079 cat > conftest.$ac_ext <<EOF
3080 #line 3081 "configure"
3081 #include "confdefs.h"
3082 #include <linux/version.h>
3084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3085 { (eval echo configure:3086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3086 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3087 if test -z "$ac_err"; then
3089 eval "ac_cv_header_$ac_safe=yes"
3092 echo "configure: failed program was:" >&5
3093 cat conftest.$ac_ext >&5
3095 eval "ac_cv_header_$ac_safe=no"
3099 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3100 echo "$ac_t""yes" 1>&6
3103 echo "$ac_t""no" 1>&6
3108 sed -e '/^#/d' $srcdir/intl/$msgformat-msg.sed > intl/po2msg.sed
3110 sed -e '/^#.*[^\\]$/d' -e '/^#$/d' \
3111 $srcdir/intl/po2tbl.sed.in > intl/po2tbl.sed
3113 if test "$PACKAGE" = "gettext"; then
3124 if test -n "$ac_aux_dir"; then
3125 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
3127 if test -z "$MKINSTALLDIRS"; then
3128 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
3135 test -d po || mkdir po
3136 if test "x$srcdir" != "x."; then
3137 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
3138 posrcprefix="$srcdir/"
3140 posrcprefix="../$srcdir/"
3146 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
3147 < $srcdir/po/POTFILES.in > po/POTFILES
3149 # Check whether --enable-profile or --disable-profile was given.
3150 if test "${enable_profile+set}" = set; then
3151 enableval="$enable_profile"
3152 if test "$enableval" = "no"
3155 MAKEFILE_PROFILE=/dev/null
3156 echo "Disabling profiling libraries"
3159 MAKEFILE_PROFILE=$srcdir/lib/Makefile.profile
3160 PROFILED_LIB_EXT=_p.a
3161 echo "Building profiling libraries"
3166 MAKEFILE_PROFILE=/dev/null
3167 echo "Disabling profiling libraries by default"
3173 # Check whether --enable-checker or --disable-checker was given.
3174 if test "${enable_checker+set}" = set; then
3175 enableval="$enable_checker"
3176 if test "$enableval" = "no"
3179 MAKEFILE_CHECKER=/dev/null
3180 echo "Disabling checker libraries"
3183 MAKEFILE_CHECKER=$srcdir/lib/Makefile.checker
3184 echo "Building checker libraries"
3189 MAKEFILE_CHECKER=/dev/null
3190 echo "Disabling checker libraries by default"
3199 # Check whether --enable-dynamic-e2fsck or --disable-dynamic-e2fsck was given.
3200 if test "${enable_dynamic_e2fsck+set}" = set; then
3201 enableval="$enable_dynamic_e2fsck"
3202 if test "$enableval" = "no"
3205 echo "Building e2fsck statically"
3208 echo "Building e2fsck dynamically"
3213 echo "Building e2fsck statically by default"
3218 # Check whether --enable-fsck or --disable-fsck was given.
3219 if test "${enable_fsck+set}" = set; then
3220 enableval="$enable_fsck"
3221 if test "$enableval" = "no"
3223 FSCK_PROG='' FSCK_MAN=''
3224 echo "Not building fsck wrapper"
3226 FSCK_PROG=fsck FSCK_MAN=fsck.8
3227 echo "Building fsck wrapper"
3233 FSCK_PROG='' FSCK_MAN=''
3234 echo "Not building fsck wrapper by default"
3237 FSCK_PROG=fsck FSCK_MAN=fsck.8
3238 echo "Building fsck wrapper by default"
3245 MAKEFILE_LIBRARY=$srcdir/lib/Makefile.library
3247 # Check whether --enable-old-bitops or --disable-old-bitops was given.
3248 if test "${enable_old_bitops+set}" = set; then
3249 enableval="$enable_old_bitops"
3250 if test "$enableval" = "no"
3252 echo "Using new (standard) bitmask operations"
3254 cat >> confdefs.h <<\EOF
3255 #define EXT2_OLD_BITOPS 1
3258 echo "Using old (native) bitmask operations"
3263 echo "Using standard bitmask operations by default"
3268 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
3269 echo "configure:3270: checking whether ${MAKE-make} sets \${MAKE}" >&5
3270 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
3271 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
3272 echo $ac_n "(cached) $ac_c" 1>&6
3274 cat > conftestmake <<\EOF
3276 @echo 'ac_maketemp="${MAKE}"'
3278 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3279 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
3280 if test -n "$ac_maketemp"; then
3281 eval ac_cv_prog_make_${ac_make}_set=yes
3283 eval ac_cv_prog_make_${ac_make}_set=no
3287 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3288 echo "$ac_t""yes" 1>&6
3291 echo "$ac_t""no" 1>&6
3292 SET_MAKE="MAKE=${MAKE-make}"
3295 # Extract the first word of "ln", so it can be a program name with args.
3296 set dummy ln; ac_word=$2
3297 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3298 echo "configure:3299: checking for $ac_word" >&5
3299 if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then
3300 echo $ac_n "(cached) $ac_c" 1>&6
3304 ac_cv_path_LN="$LN" # Let the user override the test with a path.
3307 ac_cv_path_LN="$LN" # Let the user override the test with a dos path.
3310 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3312 for ac_dir in $ac_dummy; do
3313 test -z "$ac_dir" && ac_dir=.
3314 if test -f $ac_dir/$ac_word; then
3315 ac_cv_path_LN="$ac_dir/$ac_word"
3320 test -z "$ac_cv_path_LN" && ac_cv_path_LN="ln"
3325 if test -n "$LN"; then
3326 echo "$ac_t""$LN" 1>&6
3328 echo "$ac_t""no" 1>&6
3331 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
3332 echo "configure:3333: checking whether ln -s works" >&5
3333 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
3334 echo $ac_n "(cached) $ac_c" 1>&6
3337 if ln -s X conftestdata 2>/dev/null
3340 ac_cv_prog_LN_S="ln -s"
3345 LN_S="$ac_cv_prog_LN_S"
3346 if test "$ac_cv_prog_LN_S" = "ln -s"; then
3347 echo "$ac_t""yes" 1>&6
3349 echo "$ac_t""no" 1>&6
3352 # Extract the first word of "mv", so it can be a program name with args.
3353 set dummy mv; ac_word=$2
3354 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3355 echo "configure:3356: checking for $ac_word" >&5
3356 if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then
3357 echo $ac_n "(cached) $ac_c" 1>&6
3361 ac_cv_path_MV="$MV" # Let the user override the test with a path.
3364 ac_cv_path_MV="$MV" # Let the user override the test with a dos path.
3367 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3369 for ac_dir in $ac_dummy; do
3370 test -z "$ac_dir" && ac_dir=.
3371 if test -f $ac_dir/$ac_word; then
3372 ac_cv_path_MV="$ac_dir/$ac_word"
3377 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
3382 if test -n "$MV"; then
3383 echo "$ac_t""$MV" 1>&6
3385 echo "$ac_t""no" 1>&6
3388 # Extract the first word of "cp", so it can be a program name with args.
3389 set dummy cp; ac_word=$2
3390 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3391 echo "configure:3392: checking for $ac_word" >&5
3392 if eval "test \"`echo '$''{'ac_cv_path_CP'+set}'`\" = set"; then
3393 echo $ac_n "(cached) $ac_c" 1>&6
3397 ac_cv_path_CP="$CP" # Let the user override the test with a path.
3400 ac_cv_path_CP="$CP" # Let the user override the test with a dos path.
3403 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3405 for ac_dir in $ac_dummy; do
3406 test -z "$ac_dir" && ac_dir=.
3407 if test -f $ac_dir/$ac_word; then
3408 ac_cv_path_CP="$ac_dir/$ac_word"
3413 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
3418 if test -n "$CP"; then
3419 echo "$ac_t""$CP" 1>&6
3421 echo "$ac_t""no" 1>&6
3424 # Extract the first word of "rm", so it can be a program name with args.
3425 set dummy rm; ac_word=$2
3426 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3427 echo "configure:3428: checking for $ac_word" >&5
3428 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
3429 echo $ac_n "(cached) $ac_c" 1>&6
3433 ac_cv_path_RM="$RM" # Let the user override the test with a path.
3436 ac_cv_path_RM="$RM" # Let the user override the test with a dos path.
3439 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3441 for ac_dir in $ac_dummy; do
3442 test -z "$ac_dir" && ac_dir=.
3443 if test -f $ac_dir/$ac_word; then
3444 ac_cv_path_RM="$ac_dir/$ac_word"
3449 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
3454 if test -n "$RM"; then
3455 echo "$ac_t""$RM" 1>&6
3457 echo "$ac_t""no" 1>&6
3460 # Extract the first word of "chmod", so it can be a program name with args.
3461 set dummy chmod; ac_word=$2
3462 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3463 echo "configure:3464: checking for $ac_word" >&5
3464 if eval "test \"`echo '$''{'ac_cv_path_CHMOD'+set}'`\" = set"; then
3465 echo $ac_n "(cached) $ac_c" 1>&6
3469 ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
3472 ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a dos path.
3475 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3477 for ac_dir in $ac_dummy; do
3478 test -z "$ac_dir" && ac_dir=.
3479 if test -f $ac_dir/$ac_word; then
3480 ac_cv_path_CHMOD="$ac_dir/$ac_word"
3485 test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD=":"
3489 CHMOD="$ac_cv_path_CHMOD"
3490 if test -n "$CHMOD"; then
3491 echo "$ac_t""$CHMOD" 1>&6
3493 echo "$ac_t""no" 1>&6
3496 # Extract the first word of "awk", so it can be a program name with args.
3497 set dummy awk; ac_word=$2
3498 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3499 echo "configure:3500: checking for $ac_word" >&5
3500 if eval "test \"`echo '$''{'ac_cv_path_AWK'+set}'`\" = set"; then
3501 echo $ac_n "(cached) $ac_c" 1>&6
3505 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
3508 ac_cv_path_AWK="$AWK" # Let the user override the test with a dos path.
3511 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3513 for ac_dir in $ac_dummy; do
3514 test -z "$ac_dir" && ac_dir=.
3515 if test -f $ac_dir/$ac_word; then
3516 ac_cv_path_AWK="$ac_dir/$ac_word"
3521 test -z "$ac_cv_path_AWK" && ac_cv_path_AWK="awk"
3525 AWK="$ac_cv_path_AWK"
3526 if test -n "$AWK"; then
3527 echo "$ac_t""$AWK" 1>&6
3529 echo "$ac_t""no" 1>&6
3532 # Extract the first word of "sed", so it can be a program name with args.
3533 set dummy sed; ac_word=$2
3534 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3535 echo "configure:3536: checking for $ac_word" >&5
3536 if eval "test \"`echo '$''{'ac_cv_path_SED'+set}'`\" = set"; then
3537 echo $ac_n "(cached) $ac_c" 1>&6
3541 ac_cv_path_SED="$SED" # Let the user override the test with a path.
3544 ac_cv_path_SED="$SED" # Let the user override the test with a dos path.
3547 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3549 for ac_dir in $ac_dummy; do
3550 test -z "$ac_dir" && ac_dir=.
3551 if test -f $ac_dir/$ac_word; then
3552 ac_cv_path_SED="$ac_dir/$ac_word"
3557 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
3561 SED="$ac_cv_path_SED"
3562 if test -n "$SED"; then
3563 echo "$ac_t""$SED" 1>&6
3565 echo "$ac_t""no" 1>&6
3568 # Extract the first word of "perl", so it can be a program name with args.
3569 set dummy perl; ac_word=$2
3570 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3571 echo "configure:3572: checking for $ac_word" >&5
3572 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
3573 echo $ac_n "(cached) $ac_c" 1>&6
3577 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
3580 ac_cv_path_PERL="$PERL" # Let the user override the test with a dos path.
3583 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3585 for ac_dir in $ac_dummy; do
3586 test -z "$ac_dir" && ac_dir=.
3587 if test -f $ac_dir/$ac_word; then
3588 ac_cv_path_PERL="$ac_dir/$ac_word"
3593 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
3597 PERL="$ac_cv_path_PERL"
3598 if test -n "$PERL"; then
3599 echo "$ac_t""$PERL" 1>&6
3601 echo "$ac_t""no" 1>&6
3604 echo $ac_n "checking build system type""... $ac_c" 1>&6
3605 echo "configure:3606: checking build system type" >&5
3608 case "$build_alias" in
3611 NONE) build_alias=$host_alias ;;
3612 *) build_alias=$nonopt ;;
3616 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
3617 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3618 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3619 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3620 echo "$ac_t""$build" 1>&6
3622 if test $host != $build; then
3623 ac_tool_prefix=${host_alias}-
3628 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3629 set dummy ${ac_tool_prefix}ar; ac_word=$2
3630 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3631 echo "configure:3632: checking for $ac_word" >&5
3632 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
3633 echo $ac_n "(cached) $ac_c" 1>&6
3635 if test -n "$AR"; then
3636 ac_cv_prog_AR="$AR" # Let the user override the test.
3638 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3640 for ac_dir in $ac_dummy; do
3641 test -z "$ac_dir" && ac_dir=.
3642 if test -f $ac_dir/$ac_word; then
3643 ac_cv_prog_AR="${ac_tool_prefix}ar"
3651 if test -n "$AR"; then
3652 echo "$ac_t""$AR" 1>&6
3654 echo "$ac_t""no" 1>&6
3658 if test -z "$ac_cv_prog_AR"; then
3659 if test -n "$ac_tool_prefix"; then
3660 # Extract the first word of "ar", so it can be a program name with args.
3661 set dummy ar; ac_word=$2
3662 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3663 echo "configure:3664: checking for $ac_word" >&5
3664 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
3665 echo $ac_n "(cached) $ac_c" 1>&6
3667 if test -n "$AR"; then
3668 ac_cv_prog_AR="$AR" # Let the user override the test.
3670 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3672 for ac_dir in $ac_dummy; do
3673 test -z "$ac_dir" && ac_dir=.
3674 if test -f $ac_dir/$ac_word; then
3680 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
3684 if test -n "$AR"; then
3685 echo "$ac_t""$AR" 1>&6
3687 echo "$ac_t""no" 1>&6
3695 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3696 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3697 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3698 echo "configure:3699: checking for $ac_word" >&5
3699 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
3700 echo $ac_n "(cached) $ac_c" 1>&6
3702 if test -n "$RANLIB"; then
3703 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3705 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3707 for ac_dir in $ac_dummy; do
3708 test -z "$ac_dir" && ac_dir=.
3709 if test -f $ac_dir/$ac_word; then
3710 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3717 RANLIB="$ac_cv_prog_RANLIB"
3718 if test -n "$RANLIB"; then
3719 echo "$ac_t""$RANLIB" 1>&6
3721 echo "$ac_t""no" 1>&6
3725 if test -z "$ac_cv_prog_RANLIB"; then
3726 if test -n "$ac_tool_prefix"; then
3727 # Extract the first word of "ranlib", so it can be a program name with args.
3728 set dummy ranlib; ac_word=$2
3729 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3730 echo "configure:3731: checking for $ac_word" >&5
3731 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
3732 echo $ac_n "(cached) $ac_c" 1>&6
3734 if test -n "$RANLIB"; then
3735 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3737 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3739 for ac_dir in $ac_dummy; do
3740 test -z "$ac_dir" && ac_dir=.
3741 if test -f $ac_dir/$ac_word; then
3742 ac_cv_prog_RANLIB="ranlib"
3747 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
3750 RANLIB="$ac_cv_prog_RANLIB"
3751 if test -n "$RANLIB"; then
3752 echo "$ac_t""$RANLIB" 1>&6
3754 echo "$ac_t""no" 1>&6
3762 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3763 set dummy ${ac_tool_prefix}strip; ac_word=$2
3764 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3765 echo "configure:3766: checking for $ac_word" >&5
3766 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
3767 echo $ac_n "(cached) $ac_c" 1>&6
3769 if test -n "$STRIP"; then
3770 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3772 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3774 for ac_dir in $ac_dummy; do
3775 test -z "$ac_dir" && ac_dir=.
3776 if test -f $ac_dir/$ac_word; then
3777 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3784 STRIP="$ac_cv_prog_STRIP"
3785 if test -n "$STRIP"; then
3786 echo "$ac_t""$STRIP" 1>&6
3788 echo "$ac_t""no" 1>&6
3792 if test -z "$ac_cv_prog_STRIP"; then
3793 if test -n "$ac_tool_prefix"; then
3794 # Extract the first word of "strip", so it can be a program name with args.
3795 set dummy strip; ac_word=$2
3796 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3797 echo "configure:3798: checking for $ac_word" >&5
3798 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
3799 echo $ac_n "(cached) $ac_c" 1>&6
3801 if test -n "$STRIP"; then
3802 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3804 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3806 for ac_dir in $ac_dummy; do
3807 test -z "$ac_dir" && ac_dir=.
3808 if test -f $ac_dir/$ac_word; then
3809 ac_cv_prog_STRIP="strip"
3814 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
3817 STRIP="$ac_cv_prog_STRIP"
3818 if test -n "$STRIP"; then
3819 echo "$ac_t""$STRIP" 1>&6
3821 echo "$ac_t""no" 1>&6
3829 # Find a good install program. We prefer a C program (faster),
3830 # so one script is as good as another. But avoid the broken or
3831 # incompatible versions:
3832 # SysV /etc/install, /usr/sbin/install
3833 # SunOS /usr/etc/install
3834 # IRIX /sbin/install
3836 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3837 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3838 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3839 # ./install, which can be erroneously created by make from ./install.sh.
3840 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
3841 echo "configure:3842: checking for a BSD compatible install" >&5
3842 if test -z "$INSTALL"; then
3843 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
3844 echo $ac_n "(cached) $ac_c" 1>&6
3846 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
3847 for ac_dir in $PATH; do
3848 # Account for people who put trailing slashes in PATH elements.
3850 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
3852 # OSF1 and SCO ODT 3.0 have their own names for install.
3853 # Don't use installbsd from OSF since it installs stuff as root
3855 for ac_prog in ginstall scoinst install; do
3856 if test -f $ac_dir/$ac_prog; then
3857 if test $ac_prog = install &&
3858 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
3859 # AIX install. It has an incompatible calling convention.
3862 ac_cv_path_install="$ac_dir/$ac_prog -c"
3873 if test "${ac_cv_path_install+set}" = set; then
3874 INSTALL="$ac_cv_path_install"
3876 # As a last resort, use the slow shell script. We don't cache a
3877 # path for INSTALL within a source directory, because that will
3878 # break other packages using the cache if that directory is
3879 # removed, or if the path is relative.
3880 INSTALL="$ac_install_sh"
3883 echo "$ac_t""$INSTALL" 1>&6
3885 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3886 # It thinks the first close brace ends the variable substitution.
3887 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3889 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
3891 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3893 # See if we need a separate native compiler.
3894 if test $cross_compiling = no; then
3898 for ac_prog in gcc cc
3900 # Extract the first word of "$ac_prog", so it can be a program name with args.
3901 set dummy $ac_prog; ac_word=$2
3902 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3903 echo "configure:3904: checking for $ac_word" >&5
3904 if eval "test \"`echo '$''{'ac_cv_prog_BUILD_CC'+set}'`\" = set"; then
3905 echo $ac_n "(cached) $ac_c" 1>&6
3907 if test -n "$BUILD_CC"; then
3908 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
3910 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3912 for ac_dir in $ac_dummy; do
3913 test -z "$ac_dir" && ac_dir=.
3914 if test -f $ac_dir/$ac_word; then
3915 ac_cv_prog_BUILD_CC="$ac_prog"
3922 BUILD_CC="$ac_cv_prog_BUILD_CC"
3923 if test -n "$BUILD_CC"; then
3924 echo "$ac_t""$BUILD_CC" 1>&6
3926 echo "$ac_t""no" 1>&6
3929 test -n "$BUILD_CC" && break
3933 for ac_hdr in stdlib.h unistd.h stdarg.h errno.h malloc.h mntent.h paths.h dirent.h getopt.h setjmp.h signal.h termios.h linux/fd.h linux/major.h sys/disklabel.h sys/ioctl.h sys/mkdev.h sys/mount.h sys/sockio.h sys/sysmacros.h sys/time.h sys/stat.h sys/types.h net/if.h netinet/in.h
3935 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3936 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3937 echo "configure:3938: checking for $ac_hdr" >&5
3938 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3939 echo $ac_n "(cached) $ac_c" 1>&6
3941 cat > conftest.$ac_ext <<EOF
3942 #line 3943 "configure"
3943 #include "confdefs.h"
3946 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3947 { (eval echo configure:3948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3948 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3949 if test -z "$ac_err"; then
3951 eval "ac_cv_header_$ac_safe=yes"
3954 echo "configure: failed program was:" >&5
3955 cat conftest.$ac_ext >&5
3957 eval "ac_cv_header_$ac_safe=no"
3961 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3962 echo "$ac_t""yes" 1>&6
3963 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3964 cat >> confdefs.h <<EOF
3965 #define $ac_tr_hdr 1
3969 echo "$ac_t""no" 1>&6
3973 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
3974 echo "configure:3975: checking for vprintf" >&5
3975 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
3976 echo $ac_n "(cached) $ac_c" 1>&6
3978 cat > conftest.$ac_ext <<EOF
3979 #line 3980 "configure"
3980 #include "confdefs.h"
3981 /* System header to define __stub macros and hopefully few prototypes,
3982 which can conflict with char vprintf(); below. */
3984 /* Override any gcc2 internal prototype to avoid an error. */
3985 /* We use char because int might match the return type of a gcc2
3986 builtin and then its argument prototype would still apply. */
3991 /* The GNU C library defines this for functions which it implements
3992 to always fail with ENOSYS. Some functions are actually named
3993 something starting with __ and the normal name is an alias. */
3994 #if defined (__stub_vprintf) || defined (__stub___vprintf)
4002 if { (eval echo configure:4003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4004 eval "ac_cv_func_vprintf=yes"
4006 echo "configure: failed program was:" >&5
4007 cat conftest.$ac_ext >&5
4009 eval "ac_cv_func_vprintf=no"
4014 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
4015 echo "$ac_t""yes" 1>&6
4016 cat >> confdefs.h <<\EOF
4017 #define HAVE_VPRINTF 1
4021 echo "$ac_t""no" 1>&6
4024 if test "$ac_cv_func_vprintf" != yes; then
4025 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
4026 echo "configure:4027: checking for _doprnt" >&5
4027 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
4028 echo $ac_n "(cached) $ac_c" 1>&6
4030 cat > conftest.$ac_ext <<EOF
4031 #line 4032 "configure"
4032 #include "confdefs.h"
4033 /* System header to define __stub macros and hopefully few prototypes,
4034 which can conflict with char _doprnt(); below. */
4036 /* Override any gcc2 internal prototype to avoid an error. */
4037 /* We use char because int might match the return type of a gcc2
4038 builtin and then its argument prototype would still apply. */
4043 /* The GNU C library defines this for functions which it implements
4044 to always fail with ENOSYS. Some functions are actually named
4045 something starting with __ and the normal name is an alias. */
4046 #if defined (__stub__doprnt) || defined (__stub____doprnt)
4054 if { (eval echo configure:4055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4056 eval "ac_cv_func__doprnt=yes"
4058 echo "configure: failed program was:" >&5
4059 cat conftest.$ac_ext >&5
4061 eval "ac_cv_func__doprnt=no"
4066 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
4067 echo "$ac_t""yes" 1>&6
4068 cat >> confdefs.h <<\EOF
4069 #define HAVE_DOPRNT 1
4073 echo "$ac_t""no" 1>&6
4078 echo $ac_n "checking whether struct dirent has a d_namlen field""... $ac_c" 1>&6
4079 echo "configure:4080: checking whether struct dirent has a d_namlen field" >&5
4080 if eval "test \"`echo '$''{'e2fsprogs_cv_struct_d_namlen'+set}'`\" = set"; then
4081 echo $ac_n "(cached) $ac_c" 1>&6
4083 cat > conftest.$ac_ext <<EOF
4084 #line 4085 "configure"
4085 #include "confdefs.h"
4086 #include <sys/types.h>
4089 struct dirent de; de.d_namlen = 0;
4092 if { (eval echo configure:4093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4094 e2fsprogs_cv_struct_d_namlen=yes
4096 echo "configure: failed program was:" >&5
4097 cat conftest.$ac_ext >&5
4099 e2fsprogs_cv_struct_d_namlen=no
4104 echo "$ac_t""$e2fsprogs_cv_struct_d_namlen" 1>&6
4105 if test "$e2fsprogs_cv_struct_d_namlen" = yes; then
4106 cat >> confdefs.h <<\EOF
4107 #define HAVE_DIRENT_NAMLEN 1
4111 echo $ac_n "checking whether llseek declared in unistd.h""... $ac_c" 1>&6
4112 echo "configure:4113: checking whether llseek declared in unistd.h" >&5
4113 if eval "test \"`echo '$''{'e2fsprogs_cv_have_llseek_prototype'+set}'`\" = set"; then
4114 echo $ac_n "(cached) $ac_c" 1>&6
4116 cat > conftest.$ac_ext <<EOF
4117 #line 4118 "configure"
4118 #include "confdefs.h"
4121 extern int llseek(int);
4124 if { (eval echo configure:4125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4126 e2fsprogs_cv_have_llseek_prototype=no
4128 echo "configure: failed program was:" >&5
4129 cat conftest.$ac_ext >&5
4131 e2fsprogs_cv_have_llseek_prototype=yes
4136 echo "$ac_t""$e2fsprogs_cv_have_llseek_prototype" 1>&6
4137 if test "$e2fsprogs_cv_have_llseek_prototype" = yes; then
4138 cat >> confdefs.h <<\EOF
4139 #define HAVE_LLSEEK_PROTOTYPE 1
4143 echo $ac_n "checking whether lseek64 declared in unistd.h""... $ac_c" 1>&6
4144 echo "configure:4145: checking whether lseek64 declared in unistd.h" >&5
4145 if eval "test \"`echo '$''{'e2fsprogs_cv_have_lseek64_prototype'+set}'`\" = set"; then
4146 echo $ac_n "(cached) $ac_c" 1>&6
4148 cat > conftest.$ac_ext <<EOF
4149 #line 4150 "configure"
4150 #include "confdefs.h"
4151 #define _LARGEFILE_SOURCE
4152 #define _LARGEFILE64_SOURCE
4155 extern int lseek64(int);
4158 if { (eval echo configure:4159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4160 e2fsprogs_cv_have_lseek64_prototype=no
4162 echo "configure: failed program was:" >&5
4163 cat conftest.$ac_ext >&5
4165 e2fsprogs_cv_have_lseek64_prototype=yes
4170 echo "$ac_t""$e2fsprogs_cv_have_lseek64_prototype" 1>&6
4171 if test "$e2fsprogs_cv_have_lseek64_prototype" = yes; then
4172 cat >> confdefs.h <<\EOF
4173 #define HAVE_LSEEK64_PROTOTYPE 1
4177 if test "$cross_compiling" = yes -a "$ac_cv_sizeof_long" = ""; then
4178 # if cross-compiling, with no cached values, just assume something common.
4179 ac_cv_sizeof_short=2
4182 ac_cv_sizeof_long_long=8
4183 echo "configure: warning: Cross-compiling, so cannot check type sizes; assuming short=2, int=4, long=4, long long=8" 1>&2
4185 echo $ac_n "checking size of short""... $ac_c" 1>&6
4186 echo "configure:4187: checking size of short" >&5
4187 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
4188 echo $ac_n "(cached) $ac_c" 1>&6
4190 if test "$cross_compiling" = yes; then
4191 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4193 cat > conftest.$ac_ext <<EOF
4194 #line 4195 "configure"
4195 #include "confdefs.h"
4199 FILE *f=fopen("conftestval", "w");
4201 fprintf(f, "%d\n", sizeof(short));
4205 if { (eval echo configure:4206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4207 ac_cv_sizeof_short=`cat conftestval`
4209 echo "configure: failed program was:" >&5
4210 cat conftest.$ac_ext >&5
4212 ac_cv_sizeof_short=0
4218 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
4219 cat >> confdefs.h <<EOF
4220 #define SIZEOF_SHORT $ac_cv_sizeof_short
4224 echo $ac_n "checking size of int""... $ac_c" 1>&6
4225 echo "configure:4226: checking size of int" >&5
4226 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
4227 echo $ac_n "(cached) $ac_c" 1>&6
4229 if test "$cross_compiling" = yes; then
4230 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4232 cat > conftest.$ac_ext <<EOF
4233 #line 4234 "configure"
4234 #include "confdefs.h"
4238 FILE *f=fopen("conftestval", "w");
4240 fprintf(f, "%d\n", sizeof(int));
4244 if { (eval echo configure:4245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4246 ac_cv_sizeof_int=`cat conftestval`
4248 echo "configure: failed program was:" >&5
4249 cat conftest.$ac_ext >&5
4257 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
4258 cat >> confdefs.h <<EOF
4259 #define SIZEOF_INT $ac_cv_sizeof_int
4263 echo $ac_n "checking size of long""... $ac_c" 1>&6
4264 echo "configure:4265: checking size of long" >&5
4265 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
4266 echo $ac_n "(cached) $ac_c" 1>&6
4268 if test "$cross_compiling" = yes; then
4269 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4271 cat > conftest.$ac_ext <<EOF
4272 #line 4273 "configure"
4273 #include "confdefs.h"
4277 FILE *f=fopen("conftestval", "w");
4279 fprintf(f, "%d\n", sizeof(long));
4283 if { (eval echo configure:4284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4285 ac_cv_sizeof_long=`cat conftestval`
4287 echo "configure: failed program was:" >&5
4288 cat conftest.$ac_ext >&5
4296 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
4297 cat >> confdefs.h <<EOF
4298 #define SIZEOF_LONG $ac_cv_sizeof_long
4302 echo $ac_n "checking size of long long""... $ac_c" 1>&6
4303 echo "configure:4304: checking size of long long" >&5
4304 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
4305 echo $ac_n "(cached) $ac_c" 1>&6
4307 if test "$cross_compiling" = yes; then
4308 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4310 cat > conftest.$ac_ext <<EOF
4311 #line 4312 "configure"
4312 #include "confdefs.h"
4316 FILE *f=fopen("conftestval", "w");
4318 fprintf(f, "%d\n", sizeof(long long));
4322 if { (eval echo configure:4323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4324 ac_cv_sizeof_long_long=`cat conftestval`
4326 echo "configure: failed program was:" >&5
4327 cat conftest.$ac_ext >&5
4329 ac_cv_sizeof_long_long=0
4335 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
4336 cat >> confdefs.h <<EOF
4337 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
4341 SIZEOF_SHORT=$ac_cv_sizeof_short
4342 SIZEOF_INT=$ac_cv_sizeof_int
4343 SIZEOF_LONG=$ac_cv_sizeof_long
4344 SIZEOF_LONG_LONG=$ac_cv_sizeof_long_long
4349 echo $ac_n "checking whether struct stat has a st_flags field""... $ac_c" 1>&6
4350 echo "configure:4351: checking whether struct stat has a st_flags field" >&5
4351 if eval "test \"`echo '$''{'e2fsprogs_cv_struct_st_flags'+set}'`\" = set"; then
4352 echo $ac_n "(cached) $ac_c" 1>&6
4354 cat > conftest.$ac_ext <<EOF
4355 #line 4356 "configure"
4356 #include "confdefs.h"
4357 #include <sys/stat.h>
4359 struct stat stat; stat.st_flags = 0;
4362 if { (eval echo configure:4363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4364 e2fsprogs_cv_struct_st_flags=yes
4366 echo "configure: failed program was:" >&5
4367 cat conftest.$ac_ext >&5
4369 e2fsprogs_cv_struct_st_flags=no
4374 echo "$ac_t""$e2fsprogs_cv_struct_st_flags" 1>&6
4375 if test "$e2fsprogs_cv_struct_st_flags" = yes; then
4376 echo $ac_n "checking whether st_flags field is useful""... $ac_c" 1>&6
4377 echo "configure:4378: checking whether st_flags field is useful" >&5
4378 if eval "test \"`echo '$''{'e2fsprogs_cv_struct_st_flags_immut'+set}'`\" = set"; then
4379 echo $ac_n "(cached) $ac_c" 1>&6
4381 cat > conftest.$ac_ext <<EOF
4382 #line 4383 "configure"
4383 #include "confdefs.h"
4384 #include <sys/stat.h>
4386 struct stat stat; stat.st_flags |= UF_IMMUTABLE;
4389 if { (eval echo configure:4390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4391 e2fsprogs_cv_struct_st_flags_immut=yes
4393 echo "configure: failed program was:" >&5
4394 cat conftest.$ac_ext >&5
4396 e2fsprogs_cv_struct_st_flags_immut=no
4401 echo "$ac_t""$e2fsprogs_cv_struct_st_flags_immut" 1>&6
4402 if test "$e2fsprogs_cv_struct_st_flags_immut" = yes; then
4403 cat >> confdefs.h <<\EOF
4404 #define HAVE_STAT_FLAGS 1
4409 for ac_func in chflags getrusage llseek lseek64 open64 strdup getmntinfo strcasecmp srandom fchown mallinfo fdatasync
4411 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4412 echo "configure:4413: checking for $ac_func" >&5
4413 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4414 echo $ac_n "(cached) $ac_c" 1>&6
4416 cat > conftest.$ac_ext <<EOF
4417 #line 4418 "configure"
4418 #include "confdefs.h"
4419 /* System header to define __stub macros and hopefully few prototypes,
4420 which can conflict with char $ac_func(); below. */
4422 /* Override any gcc2 internal prototype to avoid an error. */
4423 /* We use char because int might match the return type of a gcc2
4424 builtin and then its argument prototype would still apply. */
4429 /* The GNU C library defines this for functions which it implements
4430 to always fail with ENOSYS. Some functions are actually named
4431 something starting with __ and the normal name is an alias. */
4432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4440 if { (eval echo configure:4441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4442 eval "ac_cv_func_$ac_func=yes"
4444 echo "configure: failed program was:" >&5
4445 cat conftest.$ac_ext >&5
4447 eval "ac_cv_func_$ac_func=no"
4452 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4453 echo "$ac_t""yes" 1>&6
4454 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4455 cat >> confdefs.h <<EOF
4456 #define $ac_tr_func 1
4460 echo "$ac_t""no" 1>&6
4465 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
4466 echo "configure:4467: checking for socket in -lsocket" >&5
4467 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
4468 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4469 echo $ac_n "(cached) $ac_c" 1>&6
4471 ac_save_LIBS="$LIBS"
4472 LIBS="-lsocket $LIBS"
4473 cat > conftest.$ac_ext <<EOF
4474 #line 4475 "configure"
4475 #include "confdefs.h"
4476 /* Override any gcc2 internal prototype to avoid an error. */
4477 /* We use char because int might match the return type of a gcc2
4478 builtin and then its argument prototype would still apply. */
4485 if { (eval echo configure:4486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4487 eval "ac_cv_lib_$ac_lib_var=yes"
4489 echo "configure: failed program was:" >&5
4490 cat conftest.$ac_ext >&5
4492 eval "ac_cv_lib_$ac_lib_var=no"
4495 LIBS="$ac_save_LIBS"
4498 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4499 echo "$ac_t""yes" 1>&6
4502 echo "$ac_t""no" 1>&6
4506 echo $ac_n "checking for optreset""... $ac_c" 1>&6
4507 echo "configure:4508: checking for optreset" >&5
4508 if eval "test \"`echo '$''{'ac_cv_have_optreset'+set}'`\" = set"; then
4509 echo $ac_n "(cached) $ac_c" 1>&6
4511 cat > conftest.$ac_ext <<EOF
4512 #line 4513 "configure"
4513 #include "confdefs.h"
4516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4517 egrep "optreset" >/dev/null 2>&1; then
4519 ac_cv_have_optreset=yes
4522 ac_cv_have_optreset=no
4527 echo "$ac_t""$ac_cv_have_optreset" 1>&6
4528 if test $ac_cv_have_optreset = yes; then
4529 cat >> confdefs.h <<\EOF
4530 #define HAVE_OPTRESET 1
4536 cat >> confdefs.h <<\EOF
4537 #define HAVE_EXT2_IOCTLS 1
4544 if test "$prefix" = NONE -a "$root_prefix" = NONE ; then
4546 echo "On $host_os systems, root_prefix defaults to ''"
4552 if test "$prefix" = NONE ; then
4554 echo "On $host_os systems, prefix defaults to /usr"
4558 if test "$root_prefix" = NONE ; then
4559 if test "$prefix" = NONE ; then
4560 root_prefix="$ac_default_prefix"
4562 root_prefix="$prefix"
4566 echo $ac_n "checking whether linker accepts -static""... $ac_c" 1>&6
4567 echo "configure:4568: checking whether linker accepts -static" >&5
4568 if eval "test \"`echo '$''{'ac_cv_e2fsprogs_use_static'+set}'`\" = set"; then
4569 echo $ac_n "(cached) $ac_c" 1>&6
4571 SAVE_LDFLAGS=$LDFLAGS; LDFLAGS="$LDFLAGS -static"
4572 cat > conftest.$ac_ext <<EOF
4573 #line 4574 "configure"
4574 #include "confdefs.h"
4580 if { (eval echo configure:4581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4582 ac_cv_e2fsprogs_use_static=yes
4584 echo "configure: failed program was:" >&5
4585 cat conftest.$ac_ext >&5
4587 ac_cv_e2fsprogs_use_static=no
4590 LDFLAGS=$SAVE_LDFLAGS
4595 ac_cv_e2fsprogs_use_static=no
4598 echo "$ac_t""$ac_cv_e2fsprogs_use_static" 1>&6
4600 if test $ac_cv_e2fsprogs_use_static = yes; then
4601 LDFLAG_STATIC=-static
4604 SS_DIR=`cd ${srcdir}/lib/ss; pwd`
4605 ET_DIR=`cd ${srcdir}/lib/et; pwd`
4608 if test "$cross_compiling" = yes ; then
4614 test -d lib || mkdir lib
4615 test -d include || mkdir include
4616 test -d include/linux || mkdir include/linux
4617 test -d include/asm || mkdir include/asm
4619 if test -d ${srcdir}/resize ; then
4620 rmakefile=resize/Makefile
4623 cat > confcache <<\EOF
4624 # This file is a shell script that caches the results of configure
4625 # tests run on this system so they can be shared between configure
4626 # scripts and configure runs. It is not useful on other systems.
4627 # If it contains results you don't want to keep, you may remove or edit it.
4629 # By default, configure uses ./config.cache as the cache file,
4630 # creating it if it does not exist already. You can give configure
4631 # the --cache-file=FILE option to use a different cache file; that is
4632 # what configure does when it calls configure scripts in
4633 # subdirectories, so they share the cache.
4634 # Giving --cache-file=/dev/null disables caching, for debugging configure.
4635 # config.status only pays attention to the cache file if you give it the
4636 # --recheck option to rerun configure.
4639 # The following way of writing the cache mishandles newlines in values,
4640 # but we know of no workaround that is simple, portable, and efficient.
4641 # So, don't put newlines in cache variables' values.
4642 # Ultrix sh set writes to stderr and can't be redirected directly,
4643 # and sets the high bit in the cache file unless we assign to the vars.
4645 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4647 # `set' does not quote correctly, so add quotes (double-quote substitution
4648 # turns \\\\ into \\, and sed turns \\ into \).
4650 -e "s/'/'\\\\''/g" \
4651 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
4654 # `set' quotes correctly as required by POSIX, so do not add quotes.
4655 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
4658 if cmp -s $cache_file confcache; then
4661 if test -w $cache_file; then
4662 echo "updating cache $cache_file"
4663 cat confcache > $cache_file
4665 echo "not updating unwritable cache $cache_file"
4670 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
4672 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4673 # Let make expand exec_prefix.
4674 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4676 # Any assignment to VPATH causes Sun make to only execute
4677 # the first set of double-colon rules, so remove it if not needed.
4678 # If there is a colon in the path, we need to keep it.
4679 if test "x$srcdir" = x.; then
4680 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
4683 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
4685 # Transform confdefs.h into DEFS.
4686 # Protect against shell expansion while executing Makefile rules.
4687 # Protect against Makefile macro expansion.
4688 cat > conftest.defs <<\EOF
4689 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
4690 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
4695 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
4699 # Without the "./", some shells look in PATH for config.status.
4700 : ${CONFIG_STATUS=./config.status}
4702 echo creating $CONFIG_STATUS
4703 rm -f $CONFIG_STATUS
4704 cat > $CONFIG_STATUS <<EOF
4706 # Generated automatically by configure.
4707 # Run this file to recreate the current configuration.
4708 # This directory was configured as follows,
4709 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
4711 # $0 $ac_configure_args
4713 # Compiler output produced by configure, useful for debugging
4714 # configure, is in ./config.log if it exists.
4716 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
4719 case "\$ac_option" in
4720 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4721 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
4722 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
4723 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
4724 echo "$CONFIG_STATUS generated by autoconf version 2.13"
4726 -help | --help | --hel | --he | --h)
4727 echo "\$ac_cs_usage"; exit 0 ;;
4728 *) echo "\$ac_cs_usage"; exit 1 ;;
4732 ac_given_srcdir=$srcdir
4733 ac_given_INSTALL="$INSTALL"
4735 trap 'rm -fr `echo "MCONFIG Makefile util/Makefile util/subst.conf lib/et/Makefile
4736 lib/ss/Makefile lib/ext2fs/Makefile lib/e2p/Makefile lib/uuid/Makefile
4737 misc/Makefile e2fsck/Makefile debugfs/Makefile tests/Makefile
4738 tests/progs/Makefile $rmakefile doc/Makefile
4739 intl/Makefile po/Makefile.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
4741 cat >> $CONFIG_STATUS <<EOF
4743 # Protect against being on the right side of a sed subst in config.status.
4744 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
4745 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
4749 s%@CFLAGS@%$CFLAGS%g
4750 s%@CPPFLAGS@%$CPPFLAGS%g
4751 s%@CXXFLAGS@%$CXXFLAGS%g
4752 s%@FFLAGS@%$FFLAGS%g
4754 s%@LDFLAGS@%$LDFLAGS%g
4756 s%@exec_prefix@%$exec_prefix%g
4757 s%@prefix@%$prefix%g
4758 s%@program_transform_name@%$program_transform_name%g
4759 s%@bindir@%$bindir%g
4760 s%@sbindir@%$sbindir%g
4761 s%@libexecdir@%$libexecdir%g
4762 s%@datadir@%$datadir%g
4763 s%@sysconfdir@%$sysconfdir%g
4764 s%@sharedstatedir@%$sharedstatedir%g
4765 s%@localstatedir@%$localstatedir%g
4766 s%@libdir@%$libdir%g
4767 s%@includedir@%$includedir%g
4768 s%@oldincludedir@%$oldincludedir%g
4769 s%@infodir@%$infodir%g
4770 s%@mandir@%$mandir%g
4771 /@MCONFIG@/r $MCONFIG
4773 s%@E2FSPROGS_YEAR@%$E2FSPROGS_YEAR%g
4774 s%@E2FSPROGS_MONTH@%$E2FSPROGS_MONTH%g
4775 s%@E2FSPROGS_VERSION@%$E2FSPROGS_VERSION%g
4777 s%@host_alias@%$host_alias%g
4778 s%@host_cpu@%$host_cpu%g
4779 s%@host_vendor@%$host_vendor%g
4780 s%@host_os@%$host_os%g
4783 s%@CCOPTS@%$CCOPTS%g
4785 s%@LINUX_INCLUDE@%$LINUX_INCLUDE%g
4786 s%@DLL_CMT@%$DLL_CMT%g
4787 /@MAKEFILE_DLL@/r $MAKEFILE_DLL
4789 s%@ELF_CMT@%$ELF_CMT%g
4790 /@MAKEFILE_ELF@/r $MAKEFILE_ELF
4792 s%@BSDLIB_CMT@%$BSDLIB_CMT%g
4793 /@MAKEFILE_BSDLIB@/r $MAKEFILE_BSDLIB
4794 s%@MAKEFILE_BSDLIB@%%g
4795 s%@PACKAGE@%$PACKAGE%g
4796 s%@VERSION@%$VERSION%g
4797 s%@SET_MAKE@%$SET_MAKE%g
4798 s%@RANLIB@%$RANLIB%g
4799 s%@ALLOCA@%$ALLOCA%g
4800 s%@USE_NLS@%$USE_NLS%g
4801 s%@MSGFMT@%$MSGFMT%g
4802 s%@GMSGFMT@%$GMSGFMT%g
4803 s%@XGETTEXT@%$XGETTEXT%g
4804 s%@GENCAT@%$GENCAT%g
4805 s%@USE_INCLUDED_LIBINTL@%$USE_INCLUDED_LIBINTL%g
4806 s%@CATALOGS@%$CATALOGS%g
4807 s%@CATOBJEXT@%$CATOBJEXT%g
4808 s%@DATADIRNAME@%$DATADIRNAME%g
4809 s%@GMOFILES@%$GMOFILES%g
4810 s%@INSTOBJEXT@%$INSTOBJEXT%g
4811 s%@INTLDEPS@%$INTLDEPS%g
4812 s%@INTLLIBS@%$INTLLIBS%g
4813 s%@INTLOBJS@%$INTLOBJS%g
4814 s%@POFILES@%$POFILES%g
4816 s%@INCLUDE_LOCALE_H@%$INCLUDE_LOCALE_H%g
4818 s%@GT_YES@%$GT_YES%g
4819 s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g
4821 s%@PROFILE_CMT@%$PROFILE_CMT%g
4822 /@MAKEFILE_PROFILE@/r $MAKEFILE_PROFILE
4823 s%@MAKEFILE_PROFILE@%%g
4824 s%@CHECKER_CMT@%$CHECKER_CMT%g
4825 /@MAKEFILE_CHECKER@/r $MAKEFILE_CHECKER
4826 s%@MAKEFILE_CHECKER@%%g
4827 s%@LIB_EXT@%$LIB_EXT%g
4828 s%@STATIC_LIB_EXT@%$STATIC_LIB_EXT%g
4829 s%@PROFILED_LIB_EXT@%$PROFILED_LIB_EXT%g
4830 s%@E2FSCK_TYPE@%$E2FSCK_TYPE%g
4831 s%@FSCK_PROG@%$FSCK_PROG%g
4832 s%@FSCK_MAN@%$FSCK_MAN%g
4833 /@MAKEFILE_LIBRARY@/r $MAKEFILE_LIBRARY
4834 s%@MAKEFILE_LIBRARY@%%g
4835 s%@BINARY_TYPE@%$BINARY_TYPE%g
4846 s%@build_alias@%$build_alias%g
4847 s%@build_cpu@%$build_cpu%g
4848 s%@build_vendor@%$build_vendor%g
4849 s%@build_os@%$build_os%g
4852 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
4853 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
4854 s%@INSTALL_DATA@%$INSTALL_DATA%g
4855 s%@BUILD_CC@%$BUILD_CC%g
4856 s%@SIZEOF_SHORT@%$SIZEOF_SHORT%g
4857 s%@SIZEOF_INT@%$SIZEOF_INT%g
4858 s%@SIZEOF_LONG@%$SIZEOF_LONG%g
4859 s%@SIZEOF_LONG_LONG@%$SIZEOF_LONG_LONG%g
4860 s%@SOCKET_LIB@%$SOCKET_LIB%g
4861 s%@root_prefix@%$root_prefix%g
4862 s%@LDFLAG_STATIC@%$LDFLAG_STATIC%g
4863 s%@SS_DIR@%$SS_DIR%g
4864 s%@ET_DIR@%$ET_DIR%g
4865 s%@DO_TEST_SUITE@%$DO_TEST_SUITE%g
4870 cat >> $CONFIG_STATUS <<\EOF
4872 # Split the substitutions into bite-sized pieces for seds with
4873 # small command number limits, like on Digital OSF/1 and HP-UX.
4874 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
4875 ac_file=1 # Number of current file.
4876 ac_beg=1 # First line for current file.
4877 ac_end=$ac_max_sed_cmds # Line after last line for current file.
4880 while $ac_more_lines; do
4881 if test $ac_beg -gt 1; then
4882 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
4884 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
4886 if test ! -s conftest.s$ac_file; then
4888 rm -f conftest.s$ac_file
4890 if test -z "$ac_sed_cmds"; then
4891 ac_sed_cmds="sed -f conftest.s$ac_file"
4893 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
4895 ac_file=`expr $ac_file + 1`
4897 ac_end=`expr $ac_end + $ac_max_sed_cmds`
4900 if test -z "$ac_sed_cmds"; then
4905 cat >> $CONFIG_STATUS <<EOF
4907 CONFIG_FILES=\${CONFIG_FILES-"MCONFIG Makefile util/Makefile util/subst.conf lib/et/Makefile
4908 lib/ss/Makefile lib/ext2fs/Makefile lib/e2p/Makefile lib/uuid/Makefile
4909 misc/Makefile e2fsck/Makefile debugfs/Makefile tests/Makefile
4910 tests/progs/Makefile $rmakefile doc/Makefile
4911 intl/Makefile po/Makefile.in"}
4913 cat >> $CONFIG_STATUS <<\EOF
4914 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
4915 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4917 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
4918 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
4919 *) ac_file_in="${ac_file}.in" ;;
4922 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
4924 # Remove last slash and all that follows it. Not all systems have dirname.
4925 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
4926 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
4927 # The file is in a subdirectory.
4928 test ! -d "$ac_dir" && mkdir "$ac_dir"
4929 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
4930 # A "../" for each directory in $ac_dir_suffix.
4931 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
4933 ac_dir_suffix= ac_dots=
4936 case "$ac_given_srcdir" in
4938 if test -z "$ac_dots"; then top_srcdir=.
4939 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
4940 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
4942 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
4943 top_srcdir="$ac_dots$ac_given_srcdir" ;;
4946 case "$ac_given_INSTALL" in
4947 [/$]*) INSTALL="$ac_given_INSTALL" ;;
4948 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
4951 echo creating "$ac_file"
4953 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
4955 *Makefile*) ac_comsub="1i\\
4956 # $configure_input" ;;
4960 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
4962 s%@configure_input@%$configure_input%g
4963 s%@srcdir@%$srcdir%g
4964 s%@top_srcdir@%$top_srcdir%g
4965 s%@INSTALL@%$INSTALL%g
4966 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
4972 cat >> $CONFIG_STATUS <<EOF
4973 ac_sources="$nls_cv_header_libgt"
4974 ac_dests="$nls_cv_header_intl"
4977 cat >> $CONFIG_STATUS <<\EOF
4978 srcdir=$ac_given_srcdir
4979 while test -n "$ac_sources"; do
4980 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
4981 set $ac_sources; ac_source=$1; shift; ac_sources=$*
4983 echo "linking $srcdir/$ac_source to $ac_dest"
4985 if test ! -r $srcdir/$ac_source; then
4986 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
4990 # Make relative symlinks.
4991 # Remove last slash and all that follows it. Not all systems have dirname.
4992 ac_dest_dir=`echo $ac_dest|sed 's%/[^/][^/]*$%%'`
4993 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
4994 # The dest file is in a subdirectory.
4995 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
4996 ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"
4997 # A "../" for each directory in $ac_dest_dir_suffix.
4998 ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`
5000 ac_dest_dir_suffix= ac_dots=
5004 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
5005 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
5008 # Make a symlink if possible; otherwise try a hard link.
5009 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
5010 ln $srcdir/$ac_source $ac_dest; then :
5012 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
5016 cat >> $CONFIG_STATUS <<EOF
5020 cat >> $CONFIG_STATUS <<\EOF
5021 case "$CONFIG_FILES" in *po/Makefile.in*)
5022 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
5027 chmod +x $CONFIG_STATUS
5028 rm -fr confdefs* $ac_clean_files
5029 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1