2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for gzip 1.3.5.
5 # Report bugs to <bug-gzip@gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
271 PACKAGE_TARNAME='gzip'
272 PACKAGE_VERSION='1.3.5'
273 PACKAGE_STRING='gzip 1.3.5'
274 PACKAGE_BUGREPORT='bug-gzip@gnu.org'
276 ac_unique_file="gzip.c"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP LN_S EGREP LIBOBJS ac_prefix_program ASCPP SEDCMD LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name=s,x,x,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir='${exec_prefix}/bin'
343 sbindir='${exec_prefix}/sbin'
344 libexecdir='${exec_prefix}/libexec'
345 datadir='${prefix}/share'
346 sysconfdir='${prefix}/etc'
347 sharedstatedir='${prefix}/com'
348 localstatedir='${prefix}/var'
349 libdir='${exec_prefix}/lib'
350 includedir='${prefix}/include'
351 oldincludedir='/usr/include'
352 infodir='${prefix}/info'
353 mandir='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 -build | --build | --buil | --bui | --bu)
377 ac_prev=build_alias ;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias=$ac_optarg ;;
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev=cache_file ;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file=$ac_optarg ;;
389 cache_file=config.cache ;;
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 datadir=$ac_optarg ;;
397 -disable-* | --disable-*)
398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* | --enable-*)
407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev=exec_prefix ;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix=$ac_optarg ;;
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
432 -help | --help | --hel | --he | -h)
434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435 ac_init_help=recursive ;;
436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437 ac_init_help=short ;;
439 -host | --host | --hos | --ho)
440 ac_prev=host_alias ;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias=$ac_optarg ;;
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev=includedir ;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir=$ac_optarg ;;
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
456 -libdir | --libdir | --libdi | --libd)
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev=libexecdir ;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir=$ac_optarg ;;
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev=localstatedir ;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir=$ac_optarg ;;
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
483 # Obsolete; use --without-fp.
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev=oldincludedir ;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir=$ac_optarg ;;
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev=program_prefix ;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix=$ac_optarg ;;
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev=program_suffix ;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix=$ac_optarg ;;
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev=program_transform_name ;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name=$ac_optarg ;;
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 sbindir=$ac_optarg ;;
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 sharedstatedir=$ac_optarg ;;
560 -site | --site | --sit)
562 -site=* | --site=* | --sit=*)
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev=sysconfdir ;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir=$ac_optarg ;;
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev=target_alias ;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias=$ac_optarg ;;
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 -version | --version | --versio | --versi | --vers | -V)
589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* | --without-*)
602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev=x_includes ;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes=$ac_optarg ;;
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev=x_libraries ;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var in exec_prefix prefix
663 eval ac_val=$`echo $ac_var`
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val=$`echo $ac_var`
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x; then
692 if test "x$build_alias" = x; then
693 cross_compiling=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704 test "$silent" = yes && exec 6>/dev/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set=${build_alias+set}
744 ac_env_build_alias_value=$build_alias
745 ac_cv_env_build_alias_set=${build_alias+set}
746 ac_cv_env_build_alias_value=$build_alias
747 ac_env_host_alias_set=${host_alias+set}
748 ac_env_host_alias_value=$host_alias
749 ac_cv_env_host_alias_set=${host_alias+set}
750 ac_cv_env_host_alias_value=$host_alias
751 ac_env_target_alias_set=${target_alias+set}
752 ac_env_target_alias_value=$target_alias
753 ac_cv_env_target_alias_set=${target_alias+set}
754 ac_cv_env_target_alias_value=$target_alias
755 ac_env_CC_set=${CC+set}
757 ac_cv_env_CC_set=${CC+set}
758 ac_cv_env_CC_value=$CC
759 ac_env_CFLAGS_set=${CFLAGS+set}
760 ac_env_CFLAGS_value=$CFLAGS
761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value=$CFLAGS
763 ac_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_env_LDFLAGS_value=$LDFLAGS
765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value=$LDFLAGS
767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771 ac_env_CPP_set=${CPP+set}
772 ac_env_CPP_value=$CPP
773 ac_cv_env_CPP_set=${CPP+set}
774 ac_cv_env_CPP_value=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
783 \`configure' configures gzip 1.3.5 to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
837 --program-prefix=PREFIX prepend PREFIX to installed program names
838 --program-suffix=SUFFIX append SUFFIX to installed program names
839 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
843 if test -n "$ac_init_help"; then
844 case $ac_init_help in
845 short | recursive ) echo "Configuration of gzip 1.3.5:";;
850 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
851 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
852 --disable-dependency-tracking speeds up one-time build
853 --enable-dependency-tracking do not reject slow dependency extractors
854 --disable-largefile omit support for large files
856 Some influential environment variables:
857 CC C compiler command
858 CFLAGS C compiler flags
859 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
860 nonstandard directory <lib dir>
861 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
862 headers in a nonstandard directory <include dir>
865 Use these variables to override the choices made by `configure' or to help
866 it to find libraries and programs with nonstandard names/locations.
868 Report bugs to <bug-gzip@gnu.org>.
872 if test "$ac_init_help" = "recursive"; then
873 # If there are subdirs, report their specific --help.
875 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
876 test -d $ac_dir || continue
879 if test "$ac_dir" != .; then
880 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
881 # A "../" for each directory in $ac_dir_suffix.
882 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
884 ac_dir_suffix= ac_top_builddir=
888 .) # No --srcdir option. We are building in place.
890 if test -z "$ac_top_builddir"; then
893 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
895 [\\/]* | ?:[\\/]* ) # Absolute path.
896 ac_srcdir=$srcdir$ac_dir_suffix;
897 ac_top_srcdir=$srcdir ;;
899 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
900 ac_top_srcdir=$ac_top_builddir$srcdir ;;
903 # Do not use `cd foo && pwd` to compute absolute paths, because
904 # the directories may not exist.
906 .) ac_abs_builddir="$ac_dir";;
909 .) ac_abs_builddir=`pwd`;;
910 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
911 *) ac_abs_builddir=`pwd`/"$ac_dir";;
914 case $ac_abs_builddir in
915 .) ac_abs_top_builddir=${ac_top_builddir}.;;
917 case ${ac_top_builddir}. in
918 .) ac_abs_top_builddir=$ac_abs_builddir;;
919 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
920 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
923 case $ac_abs_builddir in
924 .) ac_abs_srcdir=$ac_srcdir;;
927 .) ac_abs_srcdir=$ac_abs_builddir;;
928 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
929 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
932 case $ac_abs_builddir in
933 .) ac_abs_top_srcdir=$ac_top_srcdir;;
935 case $ac_top_srcdir in
936 .) ac_abs_top_srcdir=$ac_abs_builddir;;
937 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
938 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
943 # Check for guested configure; otherwise get Cygnus style configure.
944 if test -f $ac_srcdir/configure.gnu; then
946 $SHELL $ac_srcdir/configure.gnu --help=recursive
947 elif test -f $ac_srcdir/configure; then
949 $SHELL $ac_srcdir/configure --help=recursive
950 elif test -f $ac_srcdir/configure.ac ||
951 test -f $ac_srcdir/configure.in; then
955 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
961 test -n "$ac_init_help" && exit 0
962 if $ac_init_version; then
965 generated by GNU Autoconf 2.59
967 Copyright (C) 2003 Free Software Foundation, Inc.
968 This configure script is free software; the Free Software Foundation
969 gives unlimited permission to copy, distribute and modify it.
975 This file contains any messages produced by compilers while
976 running configure, to aid debugging if configure makes a mistake.
978 It was created by gzip $as_me 1.3.5, which was
979 generated by GNU Autoconf 2.59. Invocation command line was
990 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
991 uname -m = `(uname -m) 2>/dev/null || echo unknown`
992 uname -r = `(uname -r) 2>/dev/null || echo unknown`
993 uname -s = `(uname -s) 2>/dev/null || echo unknown`
994 uname -v = `(uname -v) 2>/dev/null || echo unknown`
996 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
997 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
999 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1000 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1001 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1002 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1003 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1004 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1005 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1013 test -z "$as_dir" && as_dir=.
1014 echo "PATH: $as_dir"
1029 # Keep a trace of the command line.
1030 # Strip out --no-create and --no-recursion so they do not pile up.
1031 # Strip out --silent because we don't want to record it for future runs.
1032 # Also quote any args containing shell meta-characters.
1033 # Make two passes to allow for proper duplicate-argument suppression.
1038 ac_must_keep_next=false
1044 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1045 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1046 | -silent | --silent | --silen | --sile | --sil)
1048 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1049 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1052 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1054 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1055 if test $ac_must_keep_next = true; then
1056 ac_must_keep_next=false # Got value, back to normal.
1059 *=* | --config-cache | -C | -disable-* | --disable-* \
1060 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1061 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1062 | -with-* | --with-* | -without-* | --without-* | --x)
1063 case "$ac_configure_args0 " in
1064 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1067 -* ) ac_must_keep_next=true ;;
1070 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1071 # Get rid of the leading space.
1077 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1078 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1080 # When interrupted or exit'd, cleanup temporary files, and complete
1081 # config.log. We remove comments because anyway the quotes in there
1082 # would cause problems or look ugly.
1083 # WARNING: Be sure not to use single quotes in there, as some shells,
1084 # such as our DU 5.0 friend, will then `close' the trap.
1085 trap 'exit_status=$?
1086 # Save into config.log some information that might help in debugging.
1091 ## ---------------- ##
1092 ## Cache variables. ##
1093 ## ---------------- ##
1096 # The following way of writing the cache mishandles newlines in values,
1099 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1102 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1103 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1107 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1114 ## ----------------- ##
1115 ## Output variables. ##
1116 ## ----------------- ##
1119 for ac_var in $ac_subst_vars
1121 eval ac_val=$`echo $ac_var`
1122 echo "$ac_var='"'"'$ac_val'"'"'"
1126 if test -n "$ac_subst_files"; then
1133 for ac_var in $ac_subst_files
1135 eval ac_val=$`echo $ac_var`
1136 echo "$ac_var='"'"'$ac_val'"'"'"
1141 if test -s confdefs.h; then
1148 sed "/^$/d" confdefs.h | sort
1151 test "$ac_signal" != 0 &&
1152 echo "$as_me: caught signal $ac_signal"
1153 echo "$as_me: exit $exit_status"
1155 rm -f core *.core &&
1156 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1159 for ac_signal in 1 2 13 15; do
1160 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1164 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1165 rm -rf conftest* confdefs.h
1166 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1169 # Predefined preprocessor variables.
1171 cat >>confdefs.h <<_ACEOF
1172 #define PACKAGE_NAME "$PACKAGE_NAME"
1176 cat >>confdefs.h <<_ACEOF
1177 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1181 cat >>confdefs.h <<_ACEOF
1182 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_STRING "$PACKAGE_STRING"
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1196 # Let the site file select an alternate cache file if it wants to.
1197 # Prefer explicitly selected file to automatically selected ones.
1198 if test -z "$CONFIG_SITE"; then
1199 if test "x$prefix" != xNONE; then
1200 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1202 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1205 for ac_site_file in $CONFIG_SITE; do
1206 if test -r "$ac_site_file"; then
1207 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1208 echo "$as_me: loading site script $ac_site_file" >&6;}
1209 sed 's/^/| /' "$ac_site_file" >&5
1214 if test -r "$cache_file"; then
1215 # Some versions of bash will fail to source /dev/null (special
1216 # files actually), so we avoid doing that.
1217 if test -f "$cache_file"; then
1218 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1219 echo "$as_me: loading cache $cache_file" >&6;}
1221 [\\/]* | ?:[\\/]* ) . $cache_file;;
1222 *) . ./$cache_file;;
1226 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1227 echo "$as_me: creating cache $cache_file" >&6;}
1231 # Check that the precious variables saved in the cache have kept the same
1233 ac_cache_corrupted=false
1234 for ac_var in `(set) 2>&1 |
1235 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1236 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1237 eval ac_new_set=\$ac_env_${ac_var}_set
1238 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1239 eval ac_new_val="\$ac_env_${ac_var}_value"
1240 case $ac_old_set,$ac_new_set in
1242 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1243 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1244 ac_cache_corrupted=: ;;
1246 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1247 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1248 ac_cache_corrupted=: ;;
1251 if test "x$ac_old_val" != "x$ac_new_val"; then
1252 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1253 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1254 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1255 echo "$as_me: former value: $ac_old_val" >&2;}
1256 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1257 echo "$as_me: current value: $ac_new_val" >&2;}
1258 ac_cache_corrupted=:
1261 # Pass precious variables to config.status.
1262 if test "$ac_new_set" = set; then
1264 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1265 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1266 *) ac_arg=$ac_var=$ac_new_val ;;
1268 case " $ac_configure_args " in
1269 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1270 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1274 if $ac_cache_corrupted; then
1275 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1276 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1277 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1278 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1279 { (exit 1); exit 1; }; }
1283 ac_cpp='$CPP $CPPFLAGS'
1284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1315 am__api_version="1.8"
1317 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1318 if test -f $ac_dir/install-sh; then
1320 ac_install_sh="$ac_aux_dir/install-sh -c"
1322 elif test -f $ac_dir/install.sh; then
1324 ac_install_sh="$ac_aux_dir/install.sh -c"
1326 elif test -f $ac_dir/shtool; then
1328 ac_install_sh="$ac_aux_dir/shtool install -c"
1332 if test -z "$ac_aux_dir"; then
1333 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1334 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1335 { (exit 1); exit 1; }; }
1337 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1338 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1339 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1341 # Find a good install program. We prefer a C program (faster),
1342 # so one script is as good as another. But avoid the broken or
1343 # incompatible versions:
1344 # SysV /etc/install, /usr/sbin/install
1345 # SunOS /usr/etc/install
1346 # IRIX /sbin/install
1348 # AmigaOS /C/install, which installs bootblocks on floppy discs
1349 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1350 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1351 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1352 # OS/2's system install, which has a completely different semantic
1353 # ./install, which can be erroneously created by make from ./install.sh.
1354 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1355 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1356 if test -z "$INSTALL"; then
1357 if test "${ac_cv_path_install+set}" = set; then
1358 echo $ECHO_N "(cached) $ECHO_C" >&6
1360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1364 test -z "$as_dir" && as_dir=.
1365 # Account for people who put trailing slashes in PATH elements.
1367 ./ | .// | /cC/* | \
1368 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1369 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1372 # OSF1 and SCO ODT 3.0 have their own names for install.
1373 # Don't use installbsd from OSF since it installs stuff as root
1375 for ac_prog in ginstall scoinst install; do
1376 for ac_exec_ext in '' $ac_executable_extensions; do
1377 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1378 if test $ac_prog = install &&
1379 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1380 # AIX install. It has an incompatible calling convention.
1382 elif test $ac_prog = install &&
1383 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1384 # program-specific install script used by HP pwplus--don't use.
1387 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1399 if test "${ac_cv_path_install+set}" = set; then
1400 INSTALL=$ac_cv_path_install
1402 # As a last resort, use the slow shell script. We don't cache a
1403 # path for INSTALL within a source directory, because that will
1404 # break other packages using the cache if that directory is
1405 # removed, or if the path is relative.
1406 INSTALL=$ac_install_sh
1409 echo "$as_me:$LINENO: result: $INSTALL" >&5
1410 echo "${ECHO_T}$INSTALL" >&6
1412 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1413 # It thinks the first close brace ends the variable substitution.
1414 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1416 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1418 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1420 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1421 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1424 echo timestamp > conftest.file
1425 # Do `set' in a subshell so we don't clobber the current shell's
1426 # arguments. Must try -L first in case configure is actually a
1427 # symlink; some systems play weird games with the mod time of symlinks
1428 # (eg FreeBSD returns the mod time of the symlink's containing
1431 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1432 if test "$*" = "X"; then
1434 set X `ls -t $srcdir/configure conftest.file`
1437 if test "$*" != "X $srcdir/configure conftest.file" \
1438 && test "$*" != "X conftest.file $srcdir/configure"; then
1440 # If neither matched, then we have a broken ls. This can happen
1441 # if, for instance, CONFIG_SHELL is bash and it inherits a
1442 # broken ls alias from the environment. This has actually
1443 # happened. Such a system could not be considered "sane".
1444 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1445 alias in your environment" >&5
1446 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1447 alias in your environment" >&2;}
1448 { (exit 1); exit 1; }; }
1451 test "$2" = conftest.file
1457 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1458 Check your system clock" >&5
1459 echo "$as_me: error: newly created file is older than distributed files!
1460 Check your system clock" >&2;}
1461 { (exit 1); exit 1; }; }
1463 echo "$as_me:$LINENO: result: yes" >&5
1464 echo "${ECHO_T}yes" >&6
1465 test "$program_prefix" != NONE &&
1466 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1467 # Use a double $ so make ignores it.
1468 test "$program_suffix" != NONE &&
1469 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1470 # Double any \ or $. echo might interpret backslashes.
1471 # By default was `s,x,x', remove it if useless.
1472 cat <<\_ACEOF >conftest.sed
1473 s/[\\$]/&&/g;s/;s,x,x,$//
1475 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1478 # expand $ac_aux_dir to an absolute path
1479 am_aux_dir=`cd $ac_aux_dir && pwd`
1481 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1482 # Use eval to expand $SHELL
1483 if eval "$MISSING --run true"; then
1484 am_missing_run="$MISSING --run "
1487 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1488 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1491 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1492 # Keeping the `.' argument allows $(mkdir_p) to be used without
1493 # argument. Indeed, we sometimes output rules like
1494 # $(mkdir_p) $(somedir)
1495 # where $(somedir) is conditionally defined.
1496 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1497 # expensive solution, as it forces Make to start a sub-shell.)
1498 mkdir_p='mkdir -p -- .'
1500 # On NextStep and OpenStep, the `mkdir' command does not
1501 # recognize any option. It will interpret all options as
1502 # directories to create, and then abort because `.' already
1504 for d in ./-p ./--version;
1506 test -d $d && rmdir $d
1508 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1509 if test -f "$ac_aux_dir/mkinstalldirs"; then
1510 mkdir_p='$(mkinstalldirs)'
1512 mkdir_p='$(install_sh) -d'
1516 for ac_prog in gawk mawk nawk awk
1518 # Extract the first word of "$ac_prog", so it can be a program name with args.
1519 set dummy $ac_prog; ac_word=$2
1520 echo "$as_me:$LINENO: checking for $ac_word" >&5
1521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1522 if test "${ac_cv_prog_AWK+set}" = set; then
1523 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 if test -n "$AWK"; then
1526 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532 test -z "$as_dir" && as_dir=.
1533 for ac_exec_ext in '' $ac_executable_extensions; do
1534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1535 ac_cv_prog_AWK="$ac_prog"
1536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1545 if test -n "$AWK"; then
1546 echo "$as_me:$LINENO: result: $AWK" >&5
1547 echo "${ECHO_T}$AWK" >&6
1549 echo "$as_me:$LINENO: result: no" >&5
1550 echo "${ECHO_T}no" >&6
1553 test -n "$AWK" && break
1556 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1557 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1558 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1559 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1560 echo $ECHO_N "(cached) $ECHO_C" >&6
1562 cat >conftest.make <<\_ACEOF
1564 @echo 'ac_maketemp="$(MAKE)"'
1566 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1567 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1568 if test -n "$ac_maketemp"; then
1569 eval ac_cv_prog_make_${ac_make}_set=yes
1571 eval ac_cv_prog_make_${ac_make}_set=no
1575 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1576 echo "$as_me:$LINENO: result: yes" >&5
1577 echo "${ECHO_T}yes" >&6
1580 echo "$as_me:$LINENO: result: no" >&5
1581 echo "${ECHO_T}no" >&6
1582 SET_MAKE="MAKE=${MAKE-make}"
1585 rm -rf .tst 2>/dev/null
1586 mkdir .tst 2>/dev/null
1587 if test -d .tst; then
1592 rmdir .tst 2>/dev/null
1594 # test to see if srcdir already configured
1595 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1596 test -f $srcdir/config.status; then
1597 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1598 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1599 { (exit 1); exit 1; }; }
1602 # test whether we have cygpath
1603 if test -z "$CYGPATH_W"; then
1604 if (cygpath --version) >/dev/null 2>/dev/null; then
1605 CYGPATH_W='cygpath -w'
1612 # Define the identity of the package.
1617 cat >>confdefs.h <<_ACEOF
1618 #define PACKAGE "$PACKAGE"
1622 cat >>confdefs.h <<_ACEOF
1623 #define VERSION "$VERSION"
1626 # Some tools Automake needs.
1628 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1631 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1634 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1637 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1640 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1643 AMTAR=${AMTAR-"${am_missing_run}tar"}
1645 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1647 # Installed binaries are usually stripped using `strip' when the user
1648 # run `make install-strip'. However `strip' might not be the right
1649 # tool to use in cross-compilation environments, therefore Automake
1650 # will honor the `STRIP' environment variable to overrule this program.
1651 if test "$cross_compiling" != no; then
1652 if test -n "$ac_tool_prefix"; then
1653 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1654 set dummy ${ac_tool_prefix}strip; ac_word=$2
1655 echo "$as_me:$LINENO: checking for $ac_word" >&5
1656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1657 if test "${ac_cv_prog_STRIP+set}" = set; then
1658 echo $ECHO_N "(cached) $ECHO_C" >&6
1660 if test -n "$STRIP"; then
1661 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1667 test -z "$as_dir" && as_dir=.
1668 for ac_exec_ext in '' $ac_executable_extensions; do
1669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1670 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1679 STRIP=$ac_cv_prog_STRIP
1680 if test -n "$STRIP"; then
1681 echo "$as_me:$LINENO: result: $STRIP" >&5
1682 echo "${ECHO_T}$STRIP" >&6
1684 echo "$as_me:$LINENO: result: no" >&5
1685 echo "${ECHO_T}no" >&6
1689 if test -z "$ac_cv_prog_STRIP"; then
1691 # Extract the first word of "strip", so it can be a program name with args.
1692 set dummy strip; ac_word=$2
1693 echo "$as_me:$LINENO: checking for $ac_word" >&5
1694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1695 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1696 echo $ECHO_N "(cached) $ECHO_C" >&6
1698 if test -n "$ac_ct_STRIP"; then
1699 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1705 test -z "$as_dir" && as_dir=.
1706 for ac_exec_ext in '' $ac_executable_extensions; do
1707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1708 ac_cv_prog_ac_ct_STRIP="strip"
1709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1715 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1718 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1719 if test -n "$ac_ct_STRIP"; then
1720 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1721 echo "${ECHO_T}$ac_ct_STRIP" >&6
1723 echo "$as_me:$LINENO: result: no" >&5
1724 echo "${ECHO_T}no" >&6
1729 STRIP="$ac_cv_prog_STRIP"
1733 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1735 # We need awk for the "check" target. The system "awk" is bad on
1741 ac_config_headers="$ac_config_headers config.h"
1744 ac_cpp='$CPP $CPPFLAGS'
1745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1748 if test -n "$ac_tool_prefix"; then
1749 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1750 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1751 echo "$as_me:$LINENO: checking for $ac_word" >&5
1752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1753 if test "${ac_cv_prog_CC+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
1756 if test -n "$CC"; then
1757 ac_cv_prog_CC="$CC" # Let the user override the test.
1759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1763 test -z "$as_dir" && as_dir=.
1764 for ac_exec_ext in '' $ac_executable_extensions; do
1765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1766 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1776 if test -n "$CC"; then
1777 echo "$as_me:$LINENO: result: $CC" >&5
1778 echo "${ECHO_T}$CC" >&6
1780 echo "$as_me:$LINENO: result: no" >&5
1781 echo "${ECHO_T}no" >&6
1785 if test -z "$ac_cv_prog_CC"; then
1787 # Extract the first word of "gcc", so it can be a program name with args.
1788 set dummy gcc; ac_word=$2
1789 echo "$as_me:$LINENO: checking for $ac_word" >&5
1790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1791 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1792 echo $ECHO_N "(cached) $ECHO_C" >&6
1794 if test -n "$ac_ct_CC"; then
1795 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1801 test -z "$as_dir" && as_dir=.
1802 for ac_exec_ext in '' $ac_executable_extensions; do
1803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1804 ac_cv_prog_ac_ct_CC="gcc"
1805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1813 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1814 if test -n "$ac_ct_CC"; then
1815 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1816 echo "${ECHO_T}$ac_ct_CC" >&6
1818 echo "$as_me:$LINENO: result: no" >&5
1819 echo "${ECHO_T}no" >&6
1827 if test -z "$CC"; then
1828 if test -n "$ac_tool_prefix"; then
1829 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1830 set dummy ${ac_tool_prefix}cc; ac_word=$2
1831 echo "$as_me:$LINENO: checking for $ac_word" >&5
1832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1833 if test "${ac_cv_prog_CC+set}" = set; then
1834 echo $ECHO_N "(cached) $ECHO_C" >&6
1836 if test -n "$CC"; then
1837 ac_cv_prog_CC="$CC" # Let the user override the test.
1839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1843 test -z "$as_dir" && as_dir=.
1844 for ac_exec_ext in '' $ac_executable_extensions; do
1845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1846 ac_cv_prog_CC="${ac_tool_prefix}cc"
1847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1856 if test -n "$CC"; then
1857 echo "$as_me:$LINENO: result: $CC" >&5
1858 echo "${ECHO_T}$CC" >&6
1860 echo "$as_me:$LINENO: result: no" >&5
1861 echo "${ECHO_T}no" >&6
1865 if test -z "$ac_cv_prog_CC"; then
1867 # Extract the first word of "cc", so it can be a program name with args.
1868 set dummy cc; ac_word=$2
1869 echo "$as_me:$LINENO: checking for $ac_word" >&5
1870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1871 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1872 echo $ECHO_N "(cached) $ECHO_C" >&6
1874 if test -n "$ac_ct_CC"; then
1875 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 test -z "$as_dir" && as_dir=.
1882 for ac_exec_ext in '' $ac_executable_extensions; do
1883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1884 ac_cv_prog_ac_ct_CC="cc"
1885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1893 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1894 if test -n "$ac_ct_CC"; then
1895 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1896 echo "${ECHO_T}$ac_ct_CC" >&6
1898 echo "$as_me:$LINENO: result: no" >&5
1899 echo "${ECHO_T}no" >&6
1908 if test -z "$CC"; then
1909 # Extract the first word of "cc", so it can be a program name with args.
1910 set dummy cc; ac_word=$2
1911 echo "$as_me:$LINENO: checking for $ac_word" >&5
1912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1913 if test "${ac_cv_prog_CC+set}" = set; then
1914 echo $ECHO_N "(cached) $ECHO_C" >&6
1916 if test -n "$CC"; then
1917 ac_cv_prog_CC="$CC" # Let the user override the test.
1920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1924 test -z "$as_dir" && as_dir=.
1925 for ac_exec_ext in '' $ac_executable_extensions; do
1926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1927 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1928 ac_prog_rejected=yes
1932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1938 if test $ac_prog_rejected = yes; then
1939 # We found a bogon in the path, so make sure we never use it.
1940 set dummy $ac_cv_prog_CC
1942 if test $# != 0; then
1943 # We chose a different compiler from the bogus one.
1944 # However, it has the same basename, so the bogon will be chosen
1945 # first if we set CC to just the basename; use the full file name.
1947 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1953 if test -n "$CC"; then
1954 echo "$as_me:$LINENO: result: $CC" >&5
1955 echo "${ECHO_T}$CC" >&6
1957 echo "$as_me:$LINENO: result: no" >&5
1958 echo "${ECHO_T}no" >&6
1962 if test -z "$CC"; then
1963 if test -n "$ac_tool_prefix"; then
1966 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1967 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1968 echo "$as_me:$LINENO: checking for $ac_word" >&5
1969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1970 if test "${ac_cv_prog_CC+set}" = set; then
1971 echo $ECHO_N "(cached) $ECHO_C" >&6
1973 if test -n "$CC"; then
1974 ac_cv_prog_CC="$CC" # Let the user override the test.
1976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1980 test -z "$as_dir" && as_dir=.
1981 for ac_exec_ext in '' $ac_executable_extensions; do
1982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1983 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 if test -n "$CC"; then
1994 echo "$as_me:$LINENO: result: $CC" >&5
1995 echo "${ECHO_T}$CC" >&6
1997 echo "$as_me:$LINENO: result: no" >&5
1998 echo "${ECHO_T}no" >&6
2001 test -n "$CC" && break
2004 if test -z "$CC"; then
2008 # Extract the first word of "$ac_prog", so it can be a program name with args.
2009 set dummy $ac_prog; ac_word=$2
2010 echo "$as_me:$LINENO: checking for $ac_word" >&5
2011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2012 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 if test -n "$ac_ct_CC"; then
2016 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2022 test -z "$as_dir" && as_dir=.
2023 for ac_exec_ext in '' $ac_executable_extensions; do
2024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2025 ac_cv_prog_ac_ct_CC="$ac_prog"
2026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2034 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2035 if test -n "$ac_ct_CC"; then
2036 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2037 echo "${ECHO_T}$ac_ct_CC" >&6
2039 echo "$as_me:$LINENO: result: no" >&5
2040 echo "${ECHO_T}no" >&6
2043 test -n "$ac_ct_CC" && break
2052 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2053 See \`config.log' for more details." >&5
2054 echo "$as_me: error: no acceptable C compiler found in \$PATH
2055 See \`config.log' for more details." >&2;}
2056 { (exit 1); exit 1; }; }
2058 # Provide some information about the compiler.
2059 echo "$as_me:$LINENO:" \
2060 "checking for C compiler version" >&5
2061 ac_compiler=`set X $ac_compile; echo $2`
2062 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2063 (eval $ac_compiler --version </dev/null >&5) 2>&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }
2067 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2068 (eval $ac_compiler -v </dev/null >&5) 2>&5
2070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071 (exit $ac_status); }
2072 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2073 (eval $ac_compiler -V </dev/null >&5) 2>&5
2075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076 (exit $ac_status); }
2078 cat >conftest.$ac_ext <<_ACEOF
2081 cat confdefs.h >>conftest.$ac_ext
2082 cat >>conftest.$ac_ext <<_ACEOF
2083 /* end confdefs.h. */
2093 ac_clean_files_save=$ac_clean_files
2094 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2095 # Try to create an executable without -o first, disregard a.out.
2096 # It will help us diagnose broken compilers, and finding out an intuition
2098 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2099 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2100 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2101 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2102 (eval $ac_link_default) 2>&5
2104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2105 (exit $ac_status); }; then
2106 # Find the output, starting from the most likely. This scheme is
2107 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2110 # Be careful to initialize this variable, since it used to be cached.
2111 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2113 # b.out is created by i960 compilers.
2114 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2116 test -f "$ac_file" || continue
2118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2121 # This is the source file.
2124 # We found the default executable, but exeext='' is most
2128 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2129 # FIXME: I believe we export ac_cv_exeext for Libtool,
2130 # but it would be cool to find out if it's true. Does anybody
2131 # maintain Libtool? --akim.
2139 echo "$as_me: failed program was:" >&5
2140 sed 's/^/| /' conftest.$ac_ext >&5
2142 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2143 See \`config.log' for more details." >&5
2144 echo "$as_me: error: C compiler cannot create executables
2145 See \`config.log' for more details." >&2;}
2146 { (exit 77); exit 77; }; }
2149 ac_exeext=$ac_cv_exeext
2150 echo "$as_me:$LINENO: result: $ac_file" >&5
2151 echo "${ECHO_T}$ac_file" >&6
2153 # Check the compiler produces executables we can run. If not, either
2154 # the compiler is broken, or we cross compile.
2155 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2156 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2157 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2158 # If not cross compiling, check that we can run a simple program.
2159 if test "$cross_compiling" != yes; then
2160 if { ac_try='./$ac_file'
2161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2165 (exit $ac_status); }; }; then
2168 if test "$cross_compiling" = maybe; then
2171 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2172 If you meant to cross compile, use \`--host'.
2173 See \`config.log' for more details." >&5
2174 echo "$as_me: error: cannot run C compiled programs.
2175 If you meant to cross compile, use \`--host'.
2176 See \`config.log' for more details." >&2;}
2177 { (exit 1); exit 1; }; }
2181 echo "$as_me:$LINENO: result: yes" >&5
2182 echo "${ECHO_T}yes" >&6
2184 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2185 ac_clean_files=$ac_clean_files_save
2186 # Check the compiler produces executables we can run. If not, either
2187 # the compiler is broken, or we cross compile.
2188 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2189 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2190 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2191 echo "${ECHO_T}$cross_compiling" >&6
2193 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2194 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2196 (eval $ac_link) 2>&5
2198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199 (exit $ac_status); }; then
2200 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2201 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2202 # work properly (i.e., refer to `conftest.exe'), while it won't with
2204 for ac_file in conftest.exe conftest conftest.*; do
2205 test -f "$ac_file" || continue
2207 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2208 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2215 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2216 See \`config.log' for more details." >&5
2217 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2218 See \`config.log' for more details." >&2;}
2219 { (exit 1); exit 1; }; }
2222 rm -f conftest$ac_cv_exeext
2223 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2224 echo "${ECHO_T}$ac_cv_exeext" >&6
2226 rm -f conftest.$ac_ext
2227 EXEEXT=$ac_cv_exeext
2229 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2230 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2231 if test "${ac_cv_objext+set}" = set; then
2232 echo $ECHO_N "(cached) $ECHO_C" >&6
2234 cat >conftest.$ac_ext <<_ACEOF
2237 cat confdefs.h >>conftest.$ac_ext
2238 cat >>conftest.$ac_ext <<_ACEOF
2239 /* end confdefs.h. */
2249 rm -f conftest.o conftest.obj
2250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2251 (eval $ac_compile) 2>&5
2253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254 (exit $ac_status); }; then
2255 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2257 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2258 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2263 echo "$as_me: failed program was:" >&5
2264 sed 's/^/| /' conftest.$ac_ext >&5
2266 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2267 See \`config.log' for more details." >&5
2268 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2269 See \`config.log' for more details." >&2;}
2270 { (exit 1); exit 1; }; }
2273 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2275 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2276 echo "${ECHO_T}$ac_cv_objext" >&6
2277 OBJEXT=$ac_cv_objext
2279 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2280 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2281 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2282 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 cat >conftest.$ac_ext <<_ACEOF
2287 cat confdefs.h >>conftest.$ac_ext
2288 cat >>conftest.$ac_ext <<_ACEOF
2289 /* end confdefs.h. */
2302 rm -f conftest.$ac_objext
2303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2304 (eval $ac_compile) 2>conftest.er1
2306 grep -v '^ *+' conftest.er1 >conftest.err
2308 cat conftest.err >&5
2309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310 (exit $ac_status); } &&
2311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); }; } &&
2317 { ac_try='test -s conftest.$ac_objext'
2318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322 (exit $ac_status); }; }; then
2325 echo "$as_me: failed program was:" >&5
2326 sed 's/^/| /' conftest.$ac_ext >&5
2330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2331 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2334 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2335 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2336 GCC=`test $ac_compiler_gnu = yes && echo yes`
2337 ac_test_CFLAGS=${CFLAGS+set}
2338 ac_save_CFLAGS=$CFLAGS
2340 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2341 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2342 if test "${ac_cv_prog_cc_g+set}" = set; then
2343 echo $ECHO_N "(cached) $ECHO_C" >&6
2345 cat >conftest.$ac_ext <<_ACEOF
2348 cat confdefs.h >>conftest.$ac_ext
2349 cat >>conftest.$ac_ext <<_ACEOF
2350 /* end confdefs.h. */
2360 rm -f conftest.$ac_objext
2361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2362 (eval $ac_compile) 2>conftest.er1
2364 grep -v '^ *+' conftest.er1 >conftest.err
2366 cat conftest.err >&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); } &&
2369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }; } &&
2375 { ac_try='test -s conftest.$ac_objext'
2376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380 (exit $ac_status); }; }; then
2383 echo "$as_me: failed program was:" >&5
2384 sed 's/^/| /' conftest.$ac_ext >&5
2388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2390 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2391 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2392 if test "$ac_test_CFLAGS" = set; then
2393 CFLAGS=$ac_save_CFLAGS
2394 elif test $ac_cv_prog_cc_g = yes; then
2395 if test "$GCC" = yes; then
2401 if test "$GCC" = yes; then
2407 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2408 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2409 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2410 echo $ECHO_N "(cached) $ECHO_C" >&6
2412 ac_cv_prog_cc_stdc=no
2414 cat >conftest.$ac_ext <<_ACEOF
2417 cat confdefs.h >>conftest.$ac_ext
2418 cat >>conftest.$ac_ext <<_ACEOF
2419 /* end confdefs.h. */
2422 #include <sys/types.h>
2423 #include <sys/stat.h>
2424 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2425 struct buf { int x; };
2426 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2427 static char *e (p, i)
2433 static char *f (char * (*g) (char **, int), char **p, ...)
2438 s = g (p, va_arg (v,int));
2443 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2444 function prototypes and stuff, but not '\xHH' hex character constants.
2445 These don't provoke an error unfortunately, instead are silently treated
2446 as 'x'. The following induces an error, until -std1 is added to get
2447 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2448 array size at least. It's necessary to write '\x00'==0 to get something
2449 that's true only with -std1. */
2450 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2452 int test (int i, double x);
2453 struct s1 {int (*f) (int a);};
2454 struct s2 {int (*f) (double a);};
2455 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2461 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2466 # Don't try gcc -ansi; that turns off useful extensions and
2467 # breaks some systems' header files.
2468 # AIX -qlanglvl=ansi
2469 # Ultrix and OSF/1 -std1
2470 # HP-UX 10.20 and later -Ae
2471 # HP-UX older versions -Aa -D_HPUX_SOURCE
2472 # SVR4 -Xc -D__EXTENSIONS__
2473 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2475 CC="$ac_save_CC $ac_arg"
2476 rm -f conftest.$ac_objext
2477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2478 (eval $ac_compile) 2>conftest.er1
2480 grep -v '^ *+' conftest.er1 >conftest.err
2482 cat conftest.err >&5
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); } &&
2485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490 (exit $ac_status); }; } &&
2491 { ac_try='test -s conftest.$ac_objext'
2492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); }; }; then
2497 ac_cv_prog_cc_stdc=$ac_arg
2500 echo "$as_me: failed program was:" >&5
2501 sed 's/^/| /' conftest.$ac_ext >&5
2504 rm -f conftest.err conftest.$ac_objext
2506 rm -f conftest.$ac_ext conftest.$ac_objext
2511 case "x$ac_cv_prog_cc_stdc" in
2513 echo "$as_me:$LINENO: result: none needed" >&5
2514 echo "${ECHO_T}none needed" >&6 ;;
2516 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2517 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2518 CC="$CC $ac_cv_prog_cc_stdc" ;;
2521 # Some people use a C++ compiler to compile C. Since we use `exit',
2522 # in C++ we need to declare it. In case someone uses the same compiler
2523 # for both compiling C and C++ we need to have the C++ compiler decide
2524 # the declaration of exit, since it's the most demanding environment.
2525 cat >conftest.$ac_ext <<_ACEOF
2530 rm -f conftest.$ac_objext
2531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2532 (eval $ac_compile) 2>conftest.er1
2534 grep -v '^ *+' conftest.er1 >conftest.err
2536 cat conftest.err >&5
2537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538 (exit $ac_status); } &&
2539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }; } &&
2545 { ac_try='test -s conftest.$ac_objext'
2546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2550 (exit $ac_status); }; }; then
2551 for ac_declaration in \
2553 'extern "C" void std::exit (int) throw (); using std::exit;' \
2554 'extern "C" void std::exit (int); using std::exit;' \
2555 'extern "C" void exit (int) throw ();' \
2556 'extern "C" void exit (int);' \
2559 cat >conftest.$ac_ext <<_ACEOF
2562 cat confdefs.h >>conftest.$ac_ext
2563 cat >>conftest.$ac_ext <<_ACEOF
2564 /* end confdefs.h. */
2575 rm -f conftest.$ac_objext
2576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2577 (eval $ac_compile) 2>conftest.er1
2579 grep -v '^ *+' conftest.er1 >conftest.err
2581 cat conftest.err >&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); } &&
2584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); }; } &&
2590 { ac_try='test -s conftest.$ac_objext'
2591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); }; }; then
2598 echo "$as_me: failed program was:" >&5
2599 sed 's/^/| /' conftest.$ac_ext >&5
2603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2604 cat >conftest.$ac_ext <<_ACEOF
2607 cat confdefs.h >>conftest.$ac_ext
2608 cat >>conftest.$ac_ext <<_ACEOF
2609 /* end confdefs.h. */
2619 rm -f conftest.$ac_objext
2620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2621 (eval $ac_compile) 2>conftest.er1
2623 grep -v '^ *+' conftest.er1 >conftest.err
2625 cat conftest.err >&5
2626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627 (exit $ac_status); } &&
2628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); }; } &&
2634 { ac_try='test -s conftest.$ac_objext'
2635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }; }; then
2642 echo "$as_me: failed program was:" >&5
2643 sed 's/^/| /' conftest.$ac_ext >&5
2646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2649 if test -n "$ac_declaration"; then
2650 echo '#ifdef __cplusplus' >>confdefs.h
2651 echo $ac_declaration >>confdefs.h
2652 echo '#endif' >>confdefs.h
2656 echo "$as_me: failed program was:" >&5
2657 sed 's/^/| /' conftest.$ac_ext >&5
2660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2662 ac_cpp='$CPP $CPPFLAGS'
2663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2666 DEPDIR="${am__leading_dot}deps"
2668 ac_config_commands="$ac_config_commands depfiles"
2671 am_make=${MAKE-make}
2672 cat > confinc << 'END'
2677 # If we don't find an include directive, just comment out the code.
2678 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2679 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2683 # First try GNU make style include.
2684 echo "include confinc" > confmf
2685 # We grep out `Entering directory' and `Leaving directory'
2686 # messages which can occur if `w' ends up in MAKEFLAGS.
2687 # In particular we don't look at `^make:' because GNU make might
2688 # be invoked under some other name (usually "gmake"), in which
2689 # case it prints its new name instead of `make'.
2690 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2695 # Now try BSD make style include.
2696 if test "$am__include" = "#"; then
2697 echo '.include "confinc"' > confmf
2698 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2699 am__include=.include
2706 echo "$as_me:$LINENO: result: $_am_result" >&5
2707 echo "${ECHO_T}$_am_result" >&6
2708 rm -f confinc confmf
2710 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2711 if test "${enable_dependency_tracking+set}" = set; then
2712 enableval="$enable_dependency_tracking"
2715 if test "x$enable_dependency_tracking" != xno; then
2716 am_depcomp="$ac_aux_dir/depcomp"
2721 if test "x$enable_dependency_tracking" != xno; then
2732 depcc="$CC" am_compiler_list=
2734 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2735 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2736 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2737 echo $ECHO_N "(cached) $ECHO_C" >&6
2739 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2740 # We make a subdir and do the tests there. Otherwise we can end up
2741 # making bogus files that we don't know about and never remove. For
2742 # instance it was reported that on HP-UX the gcc test will end up
2743 # making a dummy file named `D' -- because `-MD' means `put the output
2746 # Copy depcomp to subdir because otherwise we won't find it if we're
2747 # using a relative directory.
2748 cp "$am_depcomp" conftest.dir
2750 # We will build objects and dependencies in a subdirectory because
2751 # it helps to detect inapplicable dependency modes. For instance
2752 # both Tru64's cc and ICC support -MD to output dependencies as a
2753 # side effect of compilation, but ICC will put the dependencies in
2754 # the current directory while Tru64 will put them in the object
2758 am_cv_CC_dependencies_compiler_type=none
2759 if test "$am_compiler_list" = ""; then
2760 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2762 for depmode in $am_compiler_list; do
2763 # Setup a source with many dependencies, because some compilers
2764 # like to wrap large dependency lists on column 80 (with \), and
2765 # we should not choose a depcomp mode which is confused by this.
2767 # We need to recreate these files for each test, as the compiler may
2768 # overwrite some of them when testing with obscure command lines.
2769 # This happens at least with the AIX C compiler.
2771 for i in 1 2 3 4 5 6; do
2772 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2773 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2774 # Solaris 8's {/usr,}/bin/sh.
2775 touch sub/conftst$i.h
2777 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2781 # after this tag, mechanisms are not by side-effect, so they'll
2782 # only be used when explicitly requested
2783 if test "x$enable_dependency_tracking" = xyes; then
2791 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2792 # mode. It turns out that the SunPro C++ compiler does not properly
2793 # handle `-M -o', and we need to detect this.
2794 if depmode=$depmode \
2795 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2796 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2797 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2798 >/dev/null 2>conftest.err &&
2799 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2800 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2801 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2802 # icc doesn't choke on unknown options, it will just issue warnings
2803 # or remarks (even with -Werror). So we grep stderr for any message
2804 # that says an option was ignored or not supported.
2805 # When given -MP, icc 7.0 and 7.1 complain thusly:
2806 # icc: Command line warning: ignoring option '-M'; no argument required
2807 # The diagnosis changed in icc 8.0:
2808 # icc: Command line remark: option '-MP' not supported
2809 if (grep 'ignoring option' conftest.err ||
2810 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2811 am_cv_CC_dependencies_compiler_type=$depmode
2820 am_cv_CC_dependencies_compiler_type=none
2824 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2825 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2826 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2831 test "x$enable_dependency_tracking" != xno \
2832 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2834 am__fastdepCC_FALSE='#'
2836 am__fastdepCC_TRUE='#'
2837 am__fastdepCC_FALSE=
2842 ac_cpp='$CPP $CPPFLAGS'
2843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2846 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2847 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2848 # On Suns, sometimes $CPP names a directory.
2849 if test -n "$CPP" && test -d "$CPP"; then
2852 if test -z "$CPP"; then
2853 if test "${ac_cv_prog_CPP+set}" = set; then
2854 echo $ECHO_N "(cached) $ECHO_C" >&6
2856 # Double quotes because CPP needs to be expanded
2857 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2860 for ac_c_preproc_warn_flag in '' yes
2862 # Use a header file that comes with gcc, so configuring glibc
2863 # with a fresh cross-compiler works.
2864 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2865 # <limits.h> exists even on freestanding compilers.
2866 # On the NeXT, cc -E runs the code through the compiler's parser,
2867 # not just through cpp. "Syntax error" is here to catch this case.
2868 cat >conftest.$ac_ext <<_ACEOF
2871 cat confdefs.h >>conftest.$ac_ext
2872 cat >>conftest.$ac_ext <<_ACEOF
2873 /* end confdefs.h. */
2875 # include <limits.h>
2877 # include <assert.h>
2881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2882 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2884 grep -v '^ *+' conftest.er1 >conftest.err
2886 cat conftest.err >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } >/dev/null; then
2889 if test -s conftest.err; then
2890 ac_cpp_err=$ac_c_preproc_warn_flag
2891 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2898 if test -z "$ac_cpp_err"; then
2901 echo "$as_me: failed program was:" >&5
2902 sed 's/^/| /' conftest.$ac_ext >&5
2904 # Broken: fails on valid input.
2907 rm -f conftest.err conftest.$ac_ext
2909 # OK, works on sane cases. Now check whether non-existent headers
2910 # can be detected and how.
2911 cat >conftest.$ac_ext <<_ACEOF
2914 cat confdefs.h >>conftest.$ac_ext
2915 cat >>conftest.$ac_ext <<_ACEOF
2916 /* end confdefs.h. */
2917 #include <ac_nonexistent.h>
2919 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2920 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2922 grep -v '^ *+' conftest.er1 >conftest.err
2924 cat conftest.err >&5
2925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926 (exit $ac_status); } >/dev/null; then
2927 if test -s conftest.err; then
2928 ac_cpp_err=$ac_c_preproc_warn_flag
2929 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2936 if test -z "$ac_cpp_err"; then
2937 # Broken: success on invalid input.
2940 echo "$as_me: failed program was:" >&5
2941 sed 's/^/| /' conftest.$ac_ext >&5
2943 # Passes both tests.
2947 rm -f conftest.err conftest.$ac_ext
2950 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2951 rm -f conftest.err conftest.$ac_ext
2952 if $ac_preproc_ok; then
2964 echo "$as_me:$LINENO: result: $CPP" >&5
2965 echo "${ECHO_T}$CPP" >&6
2967 for ac_c_preproc_warn_flag in '' yes
2969 # Use a header file that comes with gcc, so configuring glibc
2970 # with a fresh cross-compiler works.
2971 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2972 # <limits.h> exists even on freestanding compilers.
2973 # On the NeXT, cc -E runs the code through the compiler's parser,
2974 # not just through cpp. "Syntax error" is here to catch this case.
2975 cat >conftest.$ac_ext <<_ACEOF
2978 cat confdefs.h >>conftest.$ac_ext
2979 cat >>conftest.$ac_ext <<_ACEOF
2980 /* end confdefs.h. */
2982 # include <limits.h>
2984 # include <assert.h>
2988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2989 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2991 grep -v '^ *+' conftest.er1 >conftest.err
2993 cat conftest.err >&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); } >/dev/null; then
2996 if test -s conftest.err; then
2997 ac_cpp_err=$ac_c_preproc_warn_flag
2998 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3005 if test -z "$ac_cpp_err"; then
3008 echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.$ac_ext >&5
3011 # Broken: fails on valid input.
3014 rm -f conftest.err conftest.$ac_ext
3016 # OK, works on sane cases. Now check whether non-existent headers
3017 # can be detected and how.
3018 cat >conftest.$ac_ext <<_ACEOF
3021 cat confdefs.h >>conftest.$ac_ext
3022 cat >>conftest.$ac_ext <<_ACEOF
3023 /* end confdefs.h. */
3024 #include <ac_nonexistent.h>
3026 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3027 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3029 grep -v '^ *+' conftest.er1 >conftest.err
3031 cat conftest.err >&5
3032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033 (exit $ac_status); } >/dev/null; then
3034 if test -s conftest.err; then
3035 ac_cpp_err=$ac_c_preproc_warn_flag
3036 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3043 if test -z "$ac_cpp_err"; then
3044 # Broken: success on invalid input.
3047 echo "$as_me: failed program was:" >&5
3048 sed 's/^/| /' conftest.$ac_ext >&5
3050 # Passes both tests.
3054 rm -f conftest.err conftest.$ac_ext
3057 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3058 rm -f conftest.err conftest.$ac_ext
3059 if $ac_preproc_ok; then
3062 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3063 See \`config.log' for more details." >&5
3064 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3065 See \`config.log' for more details." >&2;}
3066 { (exit 1); exit 1; }; }
3070 ac_cpp='$CPP $CPPFLAGS'
3071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3075 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3076 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3078 if test "$LN_S" = "ln -s"; then
3079 echo "$as_me:$LINENO: result: yes" >&5
3080 echo "${ECHO_T}yes" >&6
3082 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3083 echo "${ECHO_T}no, using $LN_S" >&6
3086 echo "$as_me:$LINENO: checking for a POSIX-compliant shell" >&5
3087 echo $ECHO_N "checking for a POSIX-compliant shell... $ECHO_C" >&6
3088 if test "${ac_cv_path_shell+set}" = set; then
3089 echo $ECHO_N "(cached) $ECHO_C" >&6
3092 # Test the noclobber option, using the portable POSIX.2 syntax.
3096 >|conftest.c || exit
3097 !>conftest.c || exit
3104 if ("$SHELL" -c "$ac_command") 2>/dev/null; then
3105 ac_cv_path_shell=$SHELL
3109 case $ac_cv_path_shell in
3111 # Prefer shells that are more likely to be installed in the
3112 # same place on all hosts of this platform. Therefore, prefer
3113 # shells in /bin and /usr/bin to shells in the installer's
3114 # PATH. Also, loop through PATH first and then through
3115 # shells, since less-"nice" shells in /bin and /usr/bin are
3116 # more likely to be installed than "nicer" shells elsewhere.
3117 as_save_IFS=$IFS; IFS=:
3118 for as_dir in /bin /usr/bin $PATH
3123 for ac_base in sh bash ksh sh5; do
3125 if ("$as_dir/$ac_base" -c "$ac_command") 2>/dev/null; then
3126 ac_cv_path_shell=$as_dir/$ac_base
3130 case $ac_cv_path_shell in
3139 echo "$as_me:$LINENO: result: $ac_cv_path_shell" >&5
3140 echo "${ECHO_T}$ac_cv_path_shell" >&6
3141 SHELL=$ac_cv_path_shell
3142 if test "$SHELL" = no; then
3144 { echo "$as_me:$LINENO: WARNING: using $SHELL, even though it does not conform to POSIX" >&5
3145 echo "$as_me: WARNING: using $SHELL, even though it does not conform to POSIX" >&2;}
3150 echo "$as_me:$LINENO: checking for egrep" >&5
3151 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3152 if test "${ac_cv_prog_egrep+set}" = set; then
3153 echo $ECHO_N "(cached) $ECHO_C" >&6
3155 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3156 then ac_cv_prog_egrep='grep -E'
3157 else ac_cv_prog_egrep='egrep'
3160 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3161 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3162 EGREP=$ac_cv_prog_egrep
3166 echo "$as_me:$LINENO: checking for AIX" >&5
3167 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3168 cat >conftest.$ac_ext <<_ACEOF
3171 cat confdefs.h >>conftest.$ac_ext
3172 cat >>conftest.$ac_ext <<_ACEOF
3173 /* end confdefs.h. */
3179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3180 $EGREP "yes" >/dev/null 2>&1; then
3181 echo "$as_me:$LINENO: result: yes" >&5
3182 echo "${ECHO_T}yes" >&6
3183 cat >>confdefs.h <<\_ACEOF
3184 #define _ALL_SOURCE 1
3188 echo "$as_me:$LINENO: result: no" >&5
3189 echo "${ECHO_T}no" >&6
3195 cat >>confdefs.h <<\_ACEOF
3196 #define _GNU_SOURCE 1
3200 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3201 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3202 if test "${ac_cv_header_stdc+set}" = set; then
3203 echo $ECHO_N "(cached) $ECHO_C" >&6
3205 cat >conftest.$ac_ext <<_ACEOF
3208 cat confdefs.h >>conftest.$ac_ext
3209 cat >>conftest.$ac_ext <<_ACEOF
3210 /* end confdefs.h. */
3224 rm -f conftest.$ac_objext
3225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3226 (eval $ac_compile) 2>conftest.er1
3228 grep -v '^ *+' conftest.er1 >conftest.err
3230 cat conftest.err >&5
3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); } &&
3233 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); }; } &&
3239 { ac_try='test -s conftest.$ac_objext'
3240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244 (exit $ac_status); }; }; then
3245 ac_cv_header_stdc=yes
3247 echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.$ac_ext >&5
3250 ac_cv_header_stdc=no
3252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3254 if test $ac_cv_header_stdc = yes; then
3255 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3256 cat >conftest.$ac_ext <<_ACEOF
3259 cat confdefs.h >>conftest.$ac_ext
3260 cat >>conftest.$ac_ext <<_ACEOF
3261 /* end confdefs.h. */
3265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3266 $EGREP "memchr" >/dev/null 2>&1; then
3269 ac_cv_header_stdc=no
3275 if test $ac_cv_header_stdc = yes; then
3276 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3277 cat >conftest.$ac_ext <<_ACEOF
3280 cat confdefs.h >>conftest.$ac_ext
3281 cat >>conftest.$ac_ext <<_ACEOF
3282 /* end confdefs.h. */
3286 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3287 $EGREP "free" >/dev/null 2>&1; then
3290 ac_cv_header_stdc=no
3296 if test $ac_cv_header_stdc = yes; then
3297 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3298 if test "$cross_compiling" = yes; then
3301 cat >conftest.$ac_ext <<_ACEOF
3304 cat confdefs.h >>conftest.$ac_ext
3305 cat >>conftest.$ac_ext <<_ACEOF
3306 /* end confdefs.h. */
3308 #if ((' ' & 0x0FF) == 0x020)
3309 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3310 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3312 # define ISLOWER(c) \
3313 (('a' <= (c) && (c) <= 'i') \
3314 || ('j' <= (c) && (c) <= 'r') \
3315 || ('s' <= (c) && (c) <= 'z'))
3316 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3319 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3324 for (i = 0; i < 256; i++)
3325 if (XOR (islower (i), ISLOWER (i))
3326 || toupper (i) != TOUPPER (i))
3331 rm -f conftest$ac_exeext
3332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3333 (eval $ac_link) 2>&5
3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); }; }; then
3344 echo "$as_me: program exited with status $ac_status" >&5
3345 echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.$ac_ext >&5
3349 ac_cv_header_stdc=no
3351 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3355 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3356 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3357 if test $ac_cv_header_stdc = yes; then
3359 cat >>confdefs.h <<\_ACEOF
3360 #define STDC_HEADERS 1
3365 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3375 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3376 inttypes.h stdint.h unistd.h
3378 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3379 echo "$as_me:$LINENO: checking for $ac_header" >&5
3380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3382 echo $ECHO_N "(cached) $ECHO_C" >&6
3384 cat >conftest.$ac_ext <<_ACEOF
3387 cat confdefs.h >>conftest.$ac_ext
3388 cat >>conftest.$ac_ext <<_ACEOF
3389 /* end confdefs.h. */
3390 $ac_includes_default
3392 #include <$ac_header>
3394 rm -f conftest.$ac_objext
3395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3396 (eval $ac_compile) 2>conftest.er1
3398 grep -v '^ *+' conftest.er1 >conftest.err
3400 cat conftest.err >&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); } &&
3403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; } &&
3409 { ac_try='test -s conftest.$ac_objext'
3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); }; }; then
3415 eval "$as_ac_Header=yes"
3417 echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.$ac_ext >&5
3420 eval "$as_ac_Header=no"
3422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3425 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3427 cat >>confdefs.h <<_ACEOF
3428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3436 if test "${ac_cv_header_minix_config_h+set}" = set; then
3437 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3438 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3439 if test "${ac_cv_header_minix_config_h+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3443 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3445 # Is the header compilable?
3446 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3447 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3448 cat >conftest.$ac_ext <<_ACEOF
3451 cat confdefs.h >>conftest.$ac_ext
3452 cat >>conftest.$ac_ext <<_ACEOF
3453 /* end confdefs.h. */
3454 $ac_includes_default
3455 #include <minix/config.h>
3457 rm -f conftest.$ac_objext
3458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3459 (eval $ac_compile) 2>conftest.er1
3461 grep -v '^ *+' conftest.er1 >conftest.err
3463 cat conftest.err >&5
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); } &&
3466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); }; } &&
3472 { ac_try='test -s conftest.$ac_objext'
3473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477 (exit $ac_status); }; }; then
3478 ac_header_compiler=yes
3480 echo "$as_me: failed program was:" >&5
3481 sed 's/^/| /' conftest.$ac_ext >&5
3483 ac_header_compiler=no
3485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3486 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3487 echo "${ECHO_T}$ac_header_compiler" >&6
3489 # Is the header present?
3490 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3491 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3492 cat >conftest.$ac_ext <<_ACEOF
3495 cat confdefs.h >>conftest.$ac_ext
3496 cat >>conftest.$ac_ext <<_ACEOF
3497 /* end confdefs.h. */
3498 #include <minix/config.h>
3500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3501 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3503 grep -v '^ *+' conftest.er1 >conftest.err
3505 cat conftest.err >&5
3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); } >/dev/null; then
3508 if test -s conftest.err; then
3509 ac_cpp_err=$ac_c_preproc_warn_flag
3510 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3517 if test -z "$ac_cpp_err"; then
3518 ac_header_preproc=yes
3520 echo "$as_me: failed program was:" >&5
3521 sed 's/^/| /' conftest.$ac_ext >&5
3523 ac_header_preproc=no
3525 rm -f conftest.err conftest.$ac_ext
3526 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3527 echo "${ECHO_T}$ac_header_preproc" >&6
3529 # So? What about this header?
3530 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3532 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3533 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3534 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3535 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3536 ac_header_preproc=yes
3539 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3540 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3541 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3542 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3543 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3544 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3545 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3546 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3547 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3548 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3549 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3550 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3553 ## ------------------------------- ##
3554 ## Report this to bug-gzip@gnu.org ##
3555 ## ------------------------------- ##
3558 sed "s/^/$as_me: WARNING: /" >&2
3561 echo "$as_me:$LINENO: checking for minix/config.h" >&5
3562 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3563 if test "${ac_cv_header_minix_config_h+set}" = set; then
3564 echo $ECHO_N "(cached) $ECHO_C" >&6
3566 ac_cv_header_minix_config_h=$ac_header_preproc
3568 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3569 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3572 if test $ac_cv_header_minix_config_h = yes; then
3579 if test "$MINIX" = yes; then
3581 cat >>confdefs.h <<\_ACEOF
3582 #define _POSIX_SOURCE 1
3586 cat >>confdefs.h <<\_ACEOF
3587 #define _POSIX_1_SOURCE 2
3591 cat >>confdefs.h <<\_ACEOF
3597 # Check whether --enable-largefile or --disable-largefile was given.
3598 if test "${enable_largefile+set}" = set; then
3599 enableval="$enable_largefile"
3602 if test "$enable_largefile" != no; then
3604 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
3605 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
3606 if test "${ac_cv_sys_largefile_CC+set}" = set; then
3607 echo $ECHO_N "(cached) $ECHO_C" >&6
3609 ac_cv_sys_largefile_CC=no
3610 if test "$GCC" != yes; then
3613 # IRIX 6.2 and later do not support large files by default,
3614 # so use the C compiler's -n32 option if that helps.
3615 cat >conftest.$ac_ext <<_ACEOF
3618 cat confdefs.h >>conftest.$ac_ext
3619 cat >>conftest.$ac_ext <<_ACEOF
3620 /* end confdefs.h. */
3621 #include <sys/types.h>
3622 /* Check that off_t can represent 2**63 - 1 correctly.
3623 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3624 since some C++ compilers masquerading as C compilers
3625 incorrectly reject 9223372036854775807. */
3626 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3627 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3628 && LARGE_OFF_T % 2147483647 == 1)
3638 rm -f conftest.$ac_objext
3639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3640 (eval $ac_compile) 2>conftest.er1
3642 grep -v '^ *+' conftest.er1 >conftest.err
3644 cat conftest.err >&5
3645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646 (exit $ac_status); } &&
3647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); }; } &&
3653 { ac_try='test -s conftest.$ac_objext'
3654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); }; }; then
3661 echo "$as_me: failed program was:" >&5
3662 sed 's/^/| /' conftest.$ac_ext >&5
3665 rm -f conftest.err conftest.$ac_objext
3667 rm -f conftest.$ac_objext
3668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3669 (eval $ac_compile) 2>conftest.er1
3671 grep -v '^ *+' conftest.er1 >conftest.err
3673 cat conftest.err >&5
3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 (exit $ac_status); } &&
3676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); }; } &&
3682 { ac_try='test -s conftest.$ac_objext'
3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); }; }; then
3688 ac_cv_sys_largefile_CC=' -n32'; break
3690 echo "$as_me: failed program was:" >&5
3691 sed 's/^/| /' conftest.$ac_ext >&5
3694 rm -f conftest.err conftest.$ac_objext
3698 rm -f conftest.$ac_ext
3701 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
3702 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
3703 if test "$ac_cv_sys_largefile_CC" != no; then
3704 CC=$CC$ac_cv_sys_largefile_CC
3707 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3708 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
3709 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
3710 echo $ECHO_N "(cached) $ECHO_C" >&6
3713 ac_cv_sys_file_offset_bits=no
3714 cat >conftest.$ac_ext <<_ACEOF
3717 cat confdefs.h >>conftest.$ac_ext
3718 cat >>conftest.$ac_ext <<_ACEOF
3719 /* end confdefs.h. */
3720 #include <sys/types.h>
3721 /* Check that off_t can represent 2**63 - 1 correctly.
3722 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3723 since some C++ compilers masquerading as C compilers
3724 incorrectly reject 9223372036854775807. */
3725 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3726 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3727 && LARGE_OFF_T % 2147483647 == 1)
3737 rm -f conftest.$ac_objext
3738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3739 (eval $ac_compile) 2>conftest.er1
3741 grep -v '^ *+' conftest.er1 >conftest.err
3743 cat conftest.err >&5
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); } &&
3746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); }; } &&
3752 { ac_try='test -s conftest.$ac_objext'
3753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); }; }; then
3760 echo "$as_me: failed program was:" >&5
3761 sed 's/^/| /' conftest.$ac_ext >&5
3764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3765 cat >conftest.$ac_ext <<_ACEOF
3768 cat confdefs.h >>conftest.$ac_ext
3769 cat >>conftest.$ac_ext <<_ACEOF
3770 /* end confdefs.h. */
3771 #define _FILE_OFFSET_BITS 64
3772 #include <sys/types.h>
3773 /* Check that off_t can represent 2**63 - 1 correctly.
3774 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3775 since some C++ compilers masquerading as C compilers
3776 incorrectly reject 9223372036854775807. */
3777 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3778 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3779 && LARGE_OFF_T % 2147483647 == 1)
3789 rm -f conftest.$ac_objext
3790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3791 (eval $ac_compile) 2>conftest.er1
3793 grep -v '^ *+' conftest.er1 >conftest.err
3795 cat conftest.err >&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); } &&
3798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); }; } &&
3804 { ac_try='test -s conftest.$ac_objext'
3805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 (exit $ac_status); }; }; then
3810 ac_cv_sys_file_offset_bits=64; break
3812 echo "$as_me: failed program was:" >&5
3813 sed 's/^/| /' conftest.$ac_ext >&5
3816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3820 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
3821 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
3822 if test "$ac_cv_sys_file_offset_bits" != no; then
3824 cat >>confdefs.h <<_ACEOF
3825 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3830 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
3831 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
3832 if test "${ac_cv_sys_large_files+set}" = set; then
3833 echo $ECHO_N "(cached) $ECHO_C" >&6
3836 ac_cv_sys_large_files=no
3837 cat >conftest.$ac_ext <<_ACEOF
3840 cat confdefs.h >>conftest.$ac_ext
3841 cat >>conftest.$ac_ext <<_ACEOF
3842 /* end confdefs.h. */
3843 #include <sys/types.h>
3844 /* Check that off_t can represent 2**63 - 1 correctly.
3845 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3846 since some C++ compilers masquerading as C compilers
3847 incorrectly reject 9223372036854775807. */
3848 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3849 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3850 && LARGE_OFF_T % 2147483647 == 1)
3860 rm -f conftest.$ac_objext
3861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3862 (eval $ac_compile) 2>conftest.er1
3864 grep -v '^ *+' conftest.er1 >conftest.err
3866 cat conftest.err >&5
3867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868 (exit $ac_status); } &&
3869 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874 (exit $ac_status); }; } &&
3875 { ac_try='test -s conftest.$ac_objext'
3876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880 (exit $ac_status); }; }; then
3883 echo "$as_me: failed program was:" >&5
3884 sed 's/^/| /' conftest.$ac_ext >&5
3887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3888 cat >conftest.$ac_ext <<_ACEOF
3891 cat confdefs.h >>conftest.$ac_ext
3892 cat >>conftest.$ac_ext <<_ACEOF
3893 /* end confdefs.h. */
3894 #define _LARGE_FILES 1
3895 #include <sys/types.h>
3896 /* Check that off_t can represent 2**63 - 1 correctly.
3897 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3898 since some C++ compilers masquerading as C compilers
3899 incorrectly reject 9223372036854775807. */
3900 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3901 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3902 && LARGE_OFF_T % 2147483647 == 1)
3912 rm -f conftest.$ac_objext
3913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3914 (eval $ac_compile) 2>conftest.er1
3916 grep -v '^ *+' conftest.er1 >conftest.err
3918 cat conftest.err >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); } &&
3921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); }; } &&
3927 { ac_try='test -s conftest.$ac_objext'
3928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); }; }; then
3933 ac_cv_sys_large_files=1; break
3935 echo "$as_me: failed program was:" >&5
3936 sed 's/^/| /' conftest.$ac_ext >&5
3939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3943 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
3944 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
3945 if test "$ac_cv_sys_large_files" != no; then
3947 cat >>confdefs.h <<_ACEOF
3948 #define _LARGE_FILES $ac_cv_sys_large_files
3956 # cc -E produces incorrect asm files on SVR4, we must use /lib/cpp.
3957 test -z "$ASCPP" && test -f /lib/cpp && ASCPP=/lib/cpp
3958 test -z "$ASCPP" && ASCPP="$CPP"
3960 echo "$as_me:$LINENO: checking for underline in external names" >&5
3961 echo $ECHO_N "checking for underline in external names... $ECHO_C" >&6
3962 if test "${gzip_cv_underline+set}" = set; then
3963 echo $ECHO_N "(cached) $ECHO_C" >&6
3965 gzip_cv_underline=yes
3966 cat >conftest.$ac_ext <<_ACEOF
3969 cat confdefs.h >>conftest.$ac_ext
3970 cat >>conftest.$ac_ext <<_ACEOF
3971 /* end confdefs.h. */
3972 int foo() {return 0;}
3981 rm -f conftest.$ac_objext
3982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3983 (eval $ac_compile) 2>conftest.er1
3985 grep -v '^ *+' conftest.er1 >conftest.err
3987 cat conftest.err >&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); } &&
3990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3995 (exit $ac_status); }; } &&
3996 { ac_try='test -s conftest.$ac_objext'
3997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001 (exit $ac_status); }; }; then
4002 nm conftest.$OBJEXT | grep _foo >/dev/null 2>&1 ||
4003 gzip_cv_underline=no
4005 echo "$as_me: failed program was:" >&5
4006 sed 's/^/| /' conftest.$ac_ext >&5
4009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4011 echo "$as_me:$LINENO: result: $gzip_cv_underline" >&5
4012 echo "${ECHO_T}$gzip_cv_underline" >&6
4013 if test $gzip_cv_underline = no; then
4014 ASCPP="${ASCPP} -DNO_UNDERLINE"
4018 # Try to assemble match.S.
4019 # "gcc -E match.s" ignores -E, so we must use match.S.
4020 echo "$as_me:$LINENO: checking for assembler" >&5
4021 echo $ECHO_N "checking for assembler... $ECHO_C" >&6
4022 if test "${gzip_cv_assembler+set}" = set; then
4023 echo $ECHO_N "(cached) $ECHO_C" >&6
4025 gzip_cv_assembler=no
4029 if cp $srcdir/match.c _match.S &&
4030 eval "$ASCPP _match.S > _match.s 2>/dev/null"; then
4031 if test ! -s _match.s || grep error < _match.s > /dev/null; then
4033 elif eval "$CC -c _match.s >/dev/null 2>&1" &&
4034 test -f _match.$OBJEXT; then
4035 gzip_cv_assembler=yes
4038 rm -f _match.S _match.s _match.$OBJEXT;;
4041 echo "$as_me:$LINENO: result: $gzip_cv_assembler" >&5
4042 echo "${ECHO_T}$gzip_cv_assembler" >&6
4043 if test $gzip_cv_assembler = yes; then
4045 cat >>confdefs.h <<\_ACEOF
4050 "match.$ac_objext" | \
4051 *" match.$ac_objext" | \
4052 "match.$ac_objext "* | \
4053 *" match.$ac_objext "* ) ;;
4054 *) LIBOBJS="$LIBOBJS match.$ac_objext" ;;
4059 echo "$as_me:$LINENO: checking for library containing strerror" >&5
4060 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
4061 if test "${ac_cv_search_strerror+set}" = set; then
4062 echo $ECHO_N "(cached) $ECHO_C" >&6
4064 ac_func_search_save_LIBS=$LIBS
4065 ac_cv_search_strerror=no
4066 cat >conftest.$ac_ext <<_ACEOF
4069 cat confdefs.h >>conftest.$ac_ext
4070 cat >>conftest.$ac_ext <<_ACEOF
4071 /* end confdefs.h. */
4073 /* Override any gcc2 internal prototype to avoid an error. */
4077 /* We use char because int might match the return type of a gcc2
4078 builtin and then its argument prototype would still apply. */
4088 rm -f conftest.$ac_objext conftest$ac_exeext
4089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4090 (eval $ac_link) 2>conftest.er1
4092 grep -v '^ *+' conftest.er1 >conftest.err
4094 cat conftest.err >&5
4095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096 (exit $ac_status); } &&
4097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102 (exit $ac_status); }; } &&
4103 { ac_try='test -s conftest$ac_exeext'
4104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108 (exit $ac_status); }; }; then
4109 ac_cv_search_strerror="none required"
4111 echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.$ac_ext >&5
4115 rm -f conftest.err conftest.$ac_objext \
4116 conftest$ac_exeext conftest.$ac_ext
4117 if test "$ac_cv_search_strerror" = no; then
4118 for ac_lib in cposix; do
4119 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4120 cat >conftest.$ac_ext <<_ACEOF
4123 cat confdefs.h >>conftest.$ac_ext
4124 cat >>conftest.$ac_ext <<_ACEOF
4125 /* end confdefs.h. */
4127 /* Override any gcc2 internal prototype to avoid an error. */
4131 /* We use char because int might match the return type of a gcc2
4132 builtin and then its argument prototype would still apply. */
4142 rm -f conftest.$ac_objext conftest$ac_exeext
4143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4144 (eval $ac_link) 2>conftest.er1
4146 grep -v '^ *+' conftest.er1 >conftest.err
4148 cat conftest.err >&5
4149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4150 (exit $ac_status); } &&
4151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); }; } &&
4157 { ac_try='test -s conftest$ac_exeext'
4158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); }; }; then
4163 ac_cv_search_strerror="-l$ac_lib"
4166 echo "$as_me: failed program was:" >&5
4167 sed 's/^/| /' conftest.$ac_ext >&5
4170 rm -f conftest.err conftest.$ac_objext \
4171 conftest$ac_exeext conftest.$ac_ext
4174 LIBS=$ac_func_search_save_LIBS
4176 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
4177 echo "${ECHO_T}$ac_cv_search_strerror" >&6
4178 if test "$ac_cv_search_strerror" != no; then
4179 test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
4183 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4184 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4185 if test "${ac_cv_c_const+set}" = set; then
4186 echo $ECHO_N "(cached) $ECHO_C" >&6
4188 cat >conftest.$ac_ext <<_ACEOF
4191 cat confdefs.h >>conftest.$ac_ext
4192 cat >>conftest.$ac_ext <<_ACEOF
4193 /* end confdefs.h. */
4198 /* FIXME: Include the comments suggested by Paul. */
4200 /* Ultrix mips cc rejects this. */
4201 typedef int charset[2];
4203 /* SunOS 4.1.1 cc rejects this. */
4204 char const *const *ccp;
4206 /* NEC SVR4.0.2 mips cc rejects this. */
4207 struct point {int x, y;};
4208 static struct point const zero = {0,0};
4209 /* AIX XL C 1.02.0.0 rejects this.
4210 It does not let you subtract one const X* pointer from another in
4211 an arm of an if-expression whose if-part is not a constant
4213 const char *g = "string";
4214 ccp = &g + (g ? g-g : 0);
4215 /* HPUX 7.0 cc rejects these. */
4218 ccp = (char const *const *) p;
4219 { /* SCO 3.2v4 cc rejects this. */
4221 char const *s = 0 ? (char *) 0 : (char const *) 0;
4225 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4227 const int *foo = &x[0];
4230 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4231 typedef const int *iptr;
4235 { /* AIX XL C 1.02.0.0 rejects this saying
4236 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4237 struct s { int j; const int *ap[3]; };
4238 struct s *b; b->j = 5;
4240 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4249 rm -f conftest.$ac_objext
4250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4251 (eval $ac_compile) 2>conftest.er1
4253 grep -v '^ *+' conftest.er1 >conftest.err
4255 cat conftest.err >&5
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); } &&
4258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); }; } &&
4264 { ac_try='test -s conftest.$ac_objext'
4265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269 (exit $ac_status); }; }; then
4272 echo "$as_me: failed program was:" >&5
4273 sed 's/^/| /' conftest.$ac_ext >&5
4277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4279 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4280 echo "${ECHO_T}$ac_cv_c_const" >&6
4281 if test $ac_cv_c_const = no; then
4283 cat >>confdefs.h <<\_ACEOF
4289 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4290 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4291 if test "${ac_cv_header_stdc+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4294 cat >conftest.$ac_ext <<_ACEOF
4297 cat confdefs.h >>conftest.$ac_ext
4298 cat >>conftest.$ac_ext <<_ACEOF
4299 /* end confdefs.h. */
4313 rm -f conftest.$ac_objext
4314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4315 (eval $ac_compile) 2>conftest.er1
4317 grep -v '^ *+' conftest.er1 >conftest.err
4319 cat conftest.err >&5
4320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4321 (exit $ac_status); } &&
4322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); }; } &&
4328 { ac_try='test -s conftest.$ac_objext'
4329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333 (exit $ac_status); }; }; then
4334 ac_cv_header_stdc=yes
4336 echo "$as_me: failed program was:" >&5
4337 sed 's/^/| /' conftest.$ac_ext >&5
4339 ac_cv_header_stdc=no
4341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4343 if test $ac_cv_header_stdc = yes; then
4344 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4345 cat >conftest.$ac_ext <<_ACEOF
4348 cat confdefs.h >>conftest.$ac_ext
4349 cat >>conftest.$ac_ext <<_ACEOF
4350 /* end confdefs.h. */
4354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4355 $EGREP "memchr" >/dev/null 2>&1; then
4358 ac_cv_header_stdc=no
4364 if test $ac_cv_header_stdc = yes; then
4365 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4366 cat >conftest.$ac_ext <<_ACEOF
4369 cat confdefs.h >>conftest.$ac_ext
4370 cat >>conftest.$ac_ext <<_ACEOF
4371 /* end confdefs.h. */
4375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4376 $EGREP "free" >/dev/null 2>&1; then
4379 ac_cv_header_stdc=no
4385 if test $ac_cv_header_stdc = yes; then
4386 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4387 if test "$cross_compiling" = yes; then
4390 cat >conftest.$ac_ext <<_ACEOF
4393 cat confdefs.h >>conftest.$ac_ext
4394 cat >>conftest.$ac_ext <<_ACEOF
4395 /* end confdefs.h. */
4397 #if ((' ' & 0x0FF) == 0x020)
4398 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4399 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4401 # define ISLOWER(c) \
4402 (('a' <= (c) && (c) <= 'i') \
4403 || ('j' <= (c) && (c) <= 'r') \
4404 || ('s' <= (c) && (c) <= 'z'))
4405 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4408 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4413 for (i = 0; i < 256; i++)
4414 if (XOR (islower (i), ISLOWER (i))
4415 || toupper (i) != TOUPPER (i))
4420 rm -f conftest$ac_exeext
4421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4422 (eval $ac_link) 2>&5
4424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); }; }; then
4433 echo "$as_me: program exited with status $ac_status" >&5
4434 echo "$as_me: failed program was:" >&5
4435 sed 's/^/| /' conftest.$ac_ext >&5
4438 ac_cv_header_stdc=no
4440 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4444 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4445 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4446 if test $ac_cv_header_stdc = yes; then
4448 cat >>confdefs.h <<\_ACEOF
4449 #define STDC_HEADERS 1
4460 for ac_header in fcntl.h limits.h memory.h \
4461 sys/utime.h time.h utime.h
4463 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4465 echo "$as_me:$LINENO: checking for $ac_header" >&5
4466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4473 # Is the header compilable?
4474 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4475 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4476 cat >conftest.$ac_ext <<_ACEOF
4479 cat confdefs.h >>conftest.$ac_ext
4480 cat >>conftest.$ac_ext <<_ACEOF
4481 /* end confdefs.h. */
4482 $ac_includes_default
4483 #include <$ac_header>
4485 rm -f conftest.$ac_objext
4486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4487 (eval $ac_compile) 2>conftest.er1
4489 grep -v '^ *+' conftest.er1 >conftest.err
4491 cat conftest.err >&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); } &&
4494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); }; } &&
4500 { ac_try='test -s conftest.$ac_objext'
4501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505 (exit $ac_status); }; }; then
4506 ac_header_compiler=yes
4508 echo "$as_me: failed program was:" >&5
4509 sed 's/^/| /' conftest.$ac_ext >&5
4511 ac_header_compiler=no
4513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4514 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4515 echo "${ECHO_T}$ac_header_compiler" >&6
4517 # Is the header present?
4518 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4519 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4520 cat >conftest.$ac_ext <<_ACEOF
4523 cat confdefs.h >>conftest.$ac_ext
4524 cat >>conftest.$ac_ext <<_ACEOF
4525 /* end confdefs.h. */
4526 #include <$ac_header>
4528 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4529 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4531 grep -v '^ *+' conftest.er1 >conftest.err
4533 cat conftest.err >&5
4534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535 (exit $ac_status); } >/dev/null; then
4536 if test -s conftest.err; then
4537 ac_cpp_err=$ac_c_preproc_warn_flag
4538 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4545 if test -z "$ac_cpp_err"; then
4546 ac_header_preproc=yes
4548 echo "$as_me: failed program was:" >&5
4549 sed 's/^/| /' conftest.$ac_ext >&5
4551 ac_header_preproc=no
4553 rm -f conftest.err conftest.$ac_ext
4554 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4555 echo "${ECHO_T}$ac_header_preproc" >&6
4557 # So? What about this header?
4558 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4560 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4561 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4563 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4564 ac_header_preproc=yes
4567 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4568 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4569 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4570 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4571 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4572 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4573 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4574 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4576 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4577 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4578 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4581 ## ------------------------------- ##
4582 ## Report this to bug-gzip@gnu.org ##
4583 ## ------------------------------- ##
4586 sed "s/^/$as_me: WARNING: /" >&2
4589 echo "$as_me:$LINENO: checking for $ac_header" >&5
4590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4592 echo $ECHO_N "(cached) $ECHO_C" >&6
4594 eval "$as_ac_Header=\$ac_header_preproc"
4596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4601 cat >>confdefs.h <<_ACEOF
4602 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4611 for ac_func in lstat utime
4613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4614 echo "$as_me:$LINENO: checking for $ac_func" >&5
4615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4616 if eval "test \"\${$as_ac_var+set}\" = set"; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 cat >conftest.$ac_ext <<_ACEOF
4622 cat confdefs.h >>conftest.$ac_ext
4623 cat >>conftest.$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4627 #define $ac_func innocuous_$ac_func
4629 /* System header to define __stub macros and hopefully few prototypes,
4630 which can conflict with char $ac_func (); below.
4631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4632 <limits.h> exists even on freestanding compilers. */
4635 # include <limits.h>
4637 # include <assert.h>
4642 /* Override any gcc2 internal prototype to avoid an error. */
4647 /* We use char because int might match the return type of a gcc2
4648 builtin and then its argument prototype would still apply. */
4650 /* The GNU C library defines this for functions which it implements
4651 to always fail with ENOSYS. Some functions are actually named
4652 something starting with __ and the normal name is an alias. */
4653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4656 char (*f) () = $ac_func;
4665 return f != $ac_func;
4670 rm -f conftest.$ac_objext conftest$ac_exeext
4671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4672 (eval $ac_link) 2>conftest.er1
4674 grep -v '^ *+' conftest.er1 >conftest.err
4676 cat conftest.err >&5
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); } &&
4679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4684 (exit $ac_status); }; } &&
4685 { ac_try='test -s conftest$ac_exeext'
4686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); }; }; then
4691 eval "$as_ac_var=yes"
4693 echo "$as_me: failed program was:" >&5
4694 sed 's/^/| /' conftest.$ac_ext >&5
4696 eval "$as_ac_var=no"
4698 rm -f conftest.err conftest.$ac_objext \
4699 conftest$ac_exeext conftest.$ac_ext
4701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4703 if test `eval echo '${'$as_ac_var'}'` = yes; then
4704 cat >>confdefs.h <<_ACEOF
4705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4712 for ac_func in rpmatch
4714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4715 echo "$as_me:$LINENO: checking for $ac_func" >&5
4716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4717 if eval "test \"\${$as_ac_var+set}\" = set"; then
4718 echo $ECHO_N "(cached) $ECHO_C" >&6
4720 cat >conftest.$ac_ext <<_ACEOF
4723 cat confdefs.h >>conftest.$ac_ext
4724 cat >>conftest.$ac_ext <<_ACEOF
4725 /* end confdefs.h. */
4726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4728 #define $ac_func innocuous_$ac_func
4730 /* System header to define __stub macros and hopefully few prototypes,
4731 which can conflict with char $ac_func (); below.
4732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4733 <limits.h> exists even on freestanding compilers. */
4736 # include <limits.h>
4738 # include <assert.h>
4743 /* Override any gcc2 internal prototype to avoid an error. */
4748 /* We use char because int might match the return type of a gcc2
4749 builtin and then its argument prototype would still apply. */
4751 /* The GNU C library defines this for functions which it implements
4752 to always fail with ENOSYS. Some functions are actually named
4753 something starting with __ and the normal name is an alias. */
4754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4757 char (*f) () = $ac_func;
4766 return f != $ac_func;
4771 rm -f conftest.$ac_objext conftest$ac_exeext
4772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4773 (eval $ac_link) 2>conftest.er1
4775 grep -v '^ *+' conftest.er1 >conftest.err
4777 cat conftest.err >&5
4778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779 (exit $ac_status); } &&
4780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4785 (exit $ac_status); }; } &&
4786 { ac_try='test -s conftest$ac_exeext'
4787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791 (exit $ac_status); }; }; then
4792 eval "$as_ac_var=yes"
4794 echo "$as_me: failed program was:" >&5
4795 sed 's/^/| /' conftest.$ac_ext >&5
4797 eval "$as_ac_var=no"
4799 rm -f conftest.err conftest.$ac_objext \
4800 conftest$ac_exeext conftest.$ac_ext
4802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4804 if test `eval echo '${'$as_ac_var'}'` = yes; then
4805 cat >>confdefs.h <<_ACEOF
4806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4811 "$ac_func.$ac_objext" | \
4812 *" $ac_func.$ac_objext" | \
4813 "$ac_func.$ac_objext "* | \
4814 *" $ac_func.$ac_objext "* ) ;;
4815 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
4828 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4829 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4830 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4831 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
4832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4833 echo $ECHO_N "(cached) $ECHO_C" >&6
4835 cat >conftest.$ac_ext <<_ACEOF
4838 cat confdefs.h >>conftest.$ac_ext
4839 cat >>conftest.$ac_ext <<_ACEOF
4840 /* end confdefs.h. */
4841 #include <sys/types.h>
4853 rm -f conftest.$ac_objext
4854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4855 (eval $ac_compile) 2>conftest.er1
4857 grep -v '^ *+' conftest.er1 >conftest.err
4859 cat conftest.err >&5
4860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861 (exit $ac_status); } &&
4862 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867 (exit $ac_status); }; } &&
4868 { ac_try='test -s conftest.$ac_objext'
4869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); }; }; then
4874 eval "$as_ac_Header=yes"
4876 echo "$as_me: failed program was:" >&5
4877 sed 's/^/| /' conftest.$ac_ext >&5
4879 eval "$as_ac_Header=no"
4881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4884 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4885 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4886 cat >>confdefs.h <<_ACEOF
4887 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4890 ac_header_dirent=$ac_hdr; break
4894 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4895 if test $ac_header_dirent = dirent.h; then
4896 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4897 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4898 if test "${ac_cv_search_opendir+set}" = set; then
4899 echo $ECHO_N "(cached) $ECHO_C" >&6
4901 ac_func_search_save_LIBS=$LIBS
4902 ac_cv_search_opendir=no
4903 cat >conftest.$ac_ext <<_ACEOF
4906 cat confdefs.h >>conftest.$ac_ext
4907 cat >>conftest.$ac_ext <<_ACEOF
4908 /* end confdefs.h. */
4910 /* Override any gcc2 internal prototype to avoid an error. */
4914 /* We use char because int might match the return type of a gcc2
4915 builtin and then its argument prototype would still apply. */
4925 rm -f conftest.$ac_objext conftest$ac_exeext
4926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4927 (eval $ac_link) 2>conftest.er1
4929 grep -v '^ *+' conftest.er1 >conftest.err
4931 cat conftest.err >&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); } &&
4934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); }; } &&
4940 { ac_try='test -s conftest$ac_exeext'
4941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945 (exit $ac_status); }; }; then
4946 ac_cv_search_opendir="none required"
4948 echo "$as_me: failed program was:" >&5
4949 sed 's/^/| /' conftest.$ac_ext >&5
4952 rm -f conftest.err conftest.$ac_objext \
4953 conftest$ac_exeext conftest.$ac_ext
4954 if test "$ac_cv_search_opendir" = no; then
4955 for ac_lib in dir; do
4956 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4957 cat >conftest.$ac_ext <<_ACEOF
4960 cat confdefs.h >>conftest.$ac_ext
4961 cat >>conftest.$ac_ext <<_ACEOF
4962 /* end confdefs.h. */
4964 /* Override any gcc2 internal prototype to avoid an error. */
4968 /* We use char because int might match the return type of a gcc2
4969 builtin and then its argument prototype would still apply. */
4979 rm -f conftest.$ac_objext conftest$ac_exeext
4980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4981 (eval $ac_link) 2>conftest.er1
4983 grep -v '^ *+' conftest.er1 >conftest.err
4985 cat conftest.err >&5
4986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4987 (exit $ac_status); } &&
4988 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); }; } &&
4994 { ac_try='test -s conftest$ac_exeext'
4995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); }; }; then
5000 ac_cv_search_opendir="-l$ac_lib"
5003 echo "$as_me: failed program was:" >&5
5004 sed 's/^/| /' conftest.$ac_ext >&5
5007 rm -f conftest.err conftest.$ac_objext \
5008 conftest$ac_exeext conftest.$ac_ext
5011 LIBS=$ac_func_search_save_LIBS
5013 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5014 echo "${ECHO_T}$ac_cv_search_opendir" >&6
5015 if test "$ac_cv_search_opendir" != no; then
5016 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
5021 echo "$as_me:$LINENO: checking for library containing opendir" >&5
5022 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
5023 if test "${ac_cv_search_opendir+set}" = set; then
5024 echo $ECHO_N "(cached) $ECHO_C" >&6
5026 ac_func_search_save_LIBS=$LIBS
5027 ac_cv_search_opendir=no
5028 cat >conftest.$ac_ext <<_ACEOF
5031 cat confdefs.h >>conftest.$ac_ext
5032 cat >>conftest.$ac_ext <<_ACEOF
5033 /* end confdefs.h. */
5035 /* Override any gcc2 internal prototype to avoid an error. */
5039 /* We use char because int might match the return type of a gcc2
5040 builtin and then its argument prototype would still apply. */
5050 rm -f conftest.$ac_objext conftest$ac_exeext
5051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5052 (eval $ac_link) 2>conftest.er1
5054 grep -v '^ *+' conftest.er1 >conftest.err
5056 cat conftest.err >&5
5057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058 (exit $ac_status); } &&
5059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064 (exit $ac_status); }; } &&
5065 { ac_try='test -s conftest$ac_exeext'
5066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); }; }; then
5071 ac_cv_search_opendir="none required"
5073 echo "$as_me: failed program was:" >&5
5074 sed 's/^/| /' conftest.$ac_ext >&5
5077 rm -f conftest.err conftest.$ac_objext \
5078 conftest$ac_exeext conftest.$ac_ext
5079 if test "$ac_cv_search_opendir" = no; then
5081 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5082 cat >conftest.$ac_ext <<_ACEOF
5085 cat confdefs.h >>conftest.$ac_ext
5086 cat >>conftest.$ac_ext <<_ACEOF
5087 /* end confdefs.h. */
5089 /* Override any gcc2 internal prototype to avoid an error. */
5093 /* We use char because int might match the return type of a gcc2
5094 builtin and then its argument prototype would still apply. */
5104 rm -f conftest.$ac_objext conftest$ac_exeext
5105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5106 (eval $ac_link) 2>conftest.er1
5108 grep -v '^ *+' conftest.er1 >conftest.err
5110 cat conftest.err >&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); } &&
5113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); }; } &&
5119 { ac_try='test -s conftest$ac_exeext'
5120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); }; }; then
5125 ac_cv_search_opendir="-l$ac_lib"
5128 echo "$as_me: failed program was:" >&5
5129 sed 's/^/| /' conftest.$ac_ext >&5
5132 rm -f conftest.err conftest.$ac_objext \
5133 conftest$ac_exeext conftest.$ac_ext
5136 LIBS=$ac_func_search_save_LIBS
5138 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5139 echo "${ECHO_T}$ac_cv_search_opendir" >&6
5140 if test "$ac_cv_search_opendir" != no; then
5141 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
5147 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5148 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
5149 if test "${ac_cv_type_signal+set}" = set; then
5150 echo $ECHO_N "(cached) $ECHO_C" >&6
5152 cat >conftest.$ac_ext <<_ACEOF
5155 cat confdefs.h >>conftest.$ac_ext
5156 cat >>conftest.$ac_ext <<_ACEOF
5157 /* end confdefs.h. */
5158 #include <sys/types.h>
5164 extern "C" void (*signal (int, void (*)(int)))(int);
5166 void (*signal ()) ();
5177 rm -f conftest.$ac_objext
5178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5179 (eval $ac_compile) 2>conftest.er1
5181 grep -v '^ *+' conftest.er1 >conftest.err
5183 cat conftest.err >&5
5184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 (exit $ac_status); } &&
5186 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5191 (exit $ac_status); }; } &&
5192 { ac_try='test -s conftest.$ac_objext'
5193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197 (exit $ac_status); }; }; then
5198 ac_cv_type_signal=void
5200 echo "$as_me: failed program was:" >&5
5201 sed 's/^/| /' conftest.$ac_ext >&5
5203 ac_cv_type_signal=int
5205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5207 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5208 echo "${ECHO_T}$ac_cv_type_signal" >&6
5210 cat >>confdefs.h <<_ACEOF
5211 #define RETSIGTYPE $ac_cv_type_signal
5215 echo "$as_me:$LINENO: checking for size_t" >&5
5216 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5217 if test "${ac_cv_type_size_t+set}" = set; then
5218 echo $ECHO_N "(cached) $ECHO_C" >&6
5220 cat >conftest.$ac_ext <<_ACEOF
5223 cat confdefs.h >>conftest.$ac_ext
5224 cat >>conftest.$ac_ext <<_ACEOF
5225 /* end confdefs.h. */
5226 $ac_includes_default
5232 if (sizeof (size_t))
5238 rm -f conftest.$ac_objext
5239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5240 (eval $ac_compile) 2>conftest.er1
5242 grep -v '^ *+' conftest.er1 >conftest.err
5244 cat conftest.err >&5
5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 (exit $ac_status); } &&
5247 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252 (exit $ac_status); }; } &&
5253 { ac_try='test -s conftest.$ac_objext'
5254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); }; }; then
5259 ac_cv_type_size_t=yes
5261 echo "$as_me: failed program was:" >&5
5262 sed 's/^/| /' conftest.$ac_ext >&5
5264 ac_cv_type_size_t=no
5266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5268 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5269 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5270 if test $ac_cv_type_size_t = yes; then
5274 cat >>confdefs.h <<_ACEOF
5275 #define size_t unsigned
5280 echo "$as_me:$LINENO: checking for off_t" >&5
5281 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5282 if test "${ac_cv_type_off_t+set}" = set; then
5283 echo $ECHO_N "(cached) $ECHO_C" >&6
5285 cat >conftest.$ac_ext <<_ACEOF
5288 cat confdefs.h >>conftest.$ac_ext
5289 cat >>conftest.$ac_ext <<_ACEOF
5290 /* end confdefs.h. */
5291 $ac_includes_default
5303 rm -f conftest.$ac_objext
5304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5305 (eval $ac_compile) 2>conftest.er1
5307 grep -v '^ *+' conftest.er1 >conftest.err
5309 cat conftest.err >&5
5310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311 (exit $ac_status); } &&
5312 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317 (exit $ac_status); }; } &&
5318 { ac_try='test -s conftest.$ac_objext'
5319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); }; }; then
5324 ac_cv_type_off_t=yes
5326 echo "$as_me: failed program was:" >&5
5327 sed 's/^/| /' conftest.$ac_ext >&5
5331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5333 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5334 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5335 if test $ac_cv_type_off_t = yes; then
5339 cat >>confdefs.h <<_ACEOF
5345 echo "$as_me:$LINENO: checking whether #! works in shell scripts" >&5
5346 echo $ECHO_N "checking whether #! works in shell scripts... $ECHO_C" >&6
5347 if test "${ac_cv_sys_interpreter+set}" = set; then
5348 echo $ECHO_N "(cached) $ECHO_C" >&6
5354 (SHELL=/bin/sh; export SHELL; ./conftest >/dev/null)
5355 if test $? -ne 69; then
5356 ac_cv_sys_interpreter=yes
5358 ac_cv_sys_interpreter=no
5362 echo "$as_me:$LINENO: result: $ac_cv_sys_interpreter" >&5
5363 echo "${ECHO_T}$ac_cv_sys_interpreter" >&6
5364 interpval=$ac_cv_sys_interpreter
5371 if test "x$prefix" = xNONE; then
5372 echo $ECHO_N "checking for prefix by $ECHO_C" >&6
5373 # Extract the first word of "gzip", so it can be a program name with args.
5374 set dummy gzip; ac_word=$2
5375 echo "$as_me:$LINENO: checking for $ac_word" >&5
5376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5377 if test "${ac_cv_path_ac_prefix_program+set}" = set; then
5378 echo $ECHO_N "(cached) $ECHO_C" >&6
5380 case $ac_prefix_program in
5382 ac_cv_path_ac_prefix_program="$ac_prefix_program" # Let the user override the test with a path.
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 test -z "$as_dir" && as_dir=.
5390 for ac_exec_ext in '' $ac_executable_extensions; do
5391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5392 ac_cv_path_ac_prefix_program="$as_dir/$ac_word$ac_exec_ext"
5393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5402 ac_prefix_program=$ac_cv_path_ac_prefix_program
5404 if test -n "$ac_prefix_program"; then
5405 echo "$as_me:$LINENO: result: $ac_prefix_program" >&5
5406 echo "${ECHO_T}$ac_prefix_program" >&6
5408 echo "$as_me:$LINENO: result: no" >&5
5409 echo "${ECHO_T}no" >&6
5412 if test -n "$ac_prefix_program"; then
5413 prefix=`(dirname "$ac_prefix_program") 2>/dev/null ||
5414 $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5415 X"$ac_prefix_program" : 'X\(//\)[^/]' \| \
5416 X"$ac_prefix_program" : 'X\(//\)$' \| \
5417 X"$ac_prefix_program" : 'X\(/\)' \| \
5418 . : '\(.\)' 2>/dev/null ||
5419 echo X"$ac_prefix_program" |
5420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5421 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5422 /^X\(\/\/\)$/{ s//\1/; q; }
5423 /^X\(\/\).*/{ s//\1/; q; }
5425 prefix=`(dirname "$prefix") 2>/dev/null ||
5426 $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5427 X"$prefix" : 'X\(//\)[^/]' \| \
5428 X"$prefix" : 'X\(//\)$' \| \
5429 X"$prefix" : 'X\(/\)' \| \
5430 . : '\(.\)' 2>/dev/null ||
5432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5433 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5434 /^X\(\/\/\)$/{ s//\1/; q; }
5435 /^X\(\/\).*/{ s//\1/; q; }
5440 ac_config_files="$ac_config_files Makefile"
5442 cat >confcache <<\_ACEOF
5443 # This file is a shell script that caches the results of configure
5444 # tests run on this system so they can be shared between configure
5445 # scripts and configure runs, see configure's option --config-cache.
5446 # It is not useful on other systems. If it contains results you don't
5447 # want to keep, you may remove or edit it.
5449 # config.status only pays attention to the cache file if you give it
5450 # the --recheck option to rerun configure.
5452 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5453 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5458 # The following way of writing the cache mishandles newlines in values,
5459 # but we know of no workaround that is simple, portable, and efficient.
5460 # So, don't put newlines in cache variables' values.
5461 # Ultrix sh set writes to stderr and can't be redirected directly,
5462 # and sets the high bit in the cache file unless we assign to the vars.
5465 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5467 # `set' does not quote correctly, so add quotes (double-quote
5468 # substitution turns \\\\ into \\, and sed turns \\ into \).
5471 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5474 # `set' quotes correctly as required by POSIX, so do not add quotes.
5476 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5483 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5485 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5487 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5488 if test -w $cache_file; then
5489 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5490 cat confcache >$cache_file
5492 echo "not updating unwritable cache $cache_file"
5497 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5498 # Let make expand exec_prefix.
5499 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5501 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5502 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5503 # trailing colons and then remove the whole line if VPATH becomes empty
5504 # (actually we leave an empty line to preserve line numbers).
5505 if test "x$srcdir" = x.; then
5506 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5507 s/:*\$(srcdir):*/:/;
5508 s/:*\${srcdir}:*/:/;
5510 s/^\([^=]*=[ ]*\):*/\1/;
5516 DEFS=-DHAVE_CONFIG_H
5520 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5521 # 1. Remove the extension, and $U if already installed.
5522 ac_i=`echo "$ac_i" |
5523 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5525 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5526 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5530 LTLIBOBJS=$ac_ltlibobjs
5533 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5534 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5535 Usually this means the macro was only invoked conditionally." >&5
5536 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5537 Usually this means the macro was only invoked conditionally." >&2;}
5538 { (exit 1); exit 1; }; }
5540 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5541 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5542 Usually this means the macro was only invoked conditionally." >&5
5543 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5544 Usually this means the macro was only invoked conditionally." >&2;}
5545 { (exit 1); exit 1; }; }
5548 : ${CONFIG_STATUS=./config.status}
5549 ac_clean_files_save=$ac_clean_files
5550 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5551 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5552 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5553 cat >$CONFIG_STATUS <<_ACEOF
5555 # Generated by $as_me.
5556 # Run this file to recreate the current configuration.
5557 # Compiler output produced by configure, useful for debugging
5558 # configure, is in config.log if it exists.
5563 SHELL=\${CONFIG_SHELL-$SHELL}
5566 cat >>$CONFIG_STATUS <<\_ACEOF
5567 ## --------------------- ##
5568 ## M4sh Initialization. ##
5569 ## --------------------- ##
5571 # Be Bourne compatible
5572 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5575 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5576 # is contrary to our usage. Disable this feature.
5577 alias -g '${1+"$@"}'='"$@"'
5578 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5581 DUALCASE=1; export DUALCASE # for MKS sh
5583 # Support unset when possible.
5584 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5591 # Work around bugs in pre-3.0 UWIN ksh.
5592 $as_unset ENV MAIL MAILPATH
5599 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5600 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5601 LC_TELEPHONE LC_TIME
5603 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5604 eval $as_var=C; export $as_var
5610 # Required to use basename.
5611 if expr a : '\(a\)' >/dev/null 2>&1; then
5617 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5618 as_basename=basename
5624 # Name of the executable.
5625 as_me=`$as_basename "$0" ||
5626 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5627 X"$0" : 'X\(//\)$' \| \
5628 X"$0" : 'X\(/\)$' \| \
5629 . : '\(.\)' 2>/dev/null ||
5631 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5632 /^X\/\(\/\/\)$/{ s//\1/; q; }
5633 /^X\/\(\/\).*/{ s//\1/; q; }
5637 # PATH needs CR, and LINENO needs CR and PATH.
5638 # Avoid depending upon Character Ranges.
5639 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5640 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5641 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5642 as_cr_digits='0123456789'
5643 as_cr_alnum=$as_cr_Letters$as_cr_digits
5645 # The user is always right.
5646 if test "${PATH_SEPARATOR+set}" != set; then
5647 echo "#! /bin/sh" >conf$$.sh
5648 echo "exit 0" >>conf$$.sh
5650 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5661 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5662 test "x$as_lineno_1" != "x$as_lineno_2" &&
5663 test "x$as_lineno_3" = "x$as_lineno_2" || {
5664 # Find who we are. Look in the path if we contain no path at all
5667 *[\\/]* ) as_myself=$0 ;;
5668 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 test -z "$as_dir" && as_dir=.
5673 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5678 # We did not find ourselves, most probably we were run as `sh COMMAND'
5679 # in which case we are not to be found in the path.
5680 if test "x$as_myself" = x; then
5683 if test ! -f "$as_myself"; then
5684 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5685 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5686 { (exit 1); exit 1; }; }
5688 case $CONFIG_SHELL in
5690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5694 test -z "$as_dir" && as_dir=.
5695 for as_base in sh bash ksh sh5; do
5698 if ("$as_dir/$as_base" -c '
5701 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5702 test "x$as_lineno_1" != "x$as_lineno_2" &&
5703 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5704 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5705 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5706 CONFIG_SHELL=$as_dir/$as_base
5708 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5716 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5717 # uniformly replaced by the line number. The first 'sed' inserts a
5718 # line-number line before each line; the second 'sed' does the real
5719 # work. The second script uses 'N' to pair each line-number line
5720 # with the numbered line, and appends trailing '-' during
5721 # substitution so that $LINENO is not a special case at line end.
5722 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5723 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5724 sed '=' <$as_myself |
5729 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5732 s,^['$as_cr_digits']*\n,,
5734 chmod +x $as_me.lineno ||
5735 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5736 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5737 { (exit 1); exit 1; }; }
5739 # Don't try to exec as it changes $[0], causing all sort of problems
5740 # (the dirname of $[0] is not the place where we might find the
5741 # original and so on. Autoconf is especially sensible to this).
5743 # Exit status is that of the last command.
5748 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5749 *c*,-n*) ECHO_N= ECHO_C='
5751 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5752 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5755 if expr a : '\(a\)' >/dev/null 2>&1; then
5761 rm -f conf$$ conf$$.exe conf$$.file
5763 if ln -s conf$$.file conf$$ 2>/dev/null; then
5764 # We could just check for DJGPP; but this test a) works b) is more generic
5765 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5766 if test -f conf$$.exe; then
5767 # Don't use ln at all; we don't have any links
5772 elif ln conf$$.file conf$$ 2>/dev/null; then
5777 rm -f conf$$ conf$$.exe conf$$.file
5779 if mkdir -p . 2>/dev/null; then
5782 test -d ./-p && rmdir ./-p
5786 as_executable_p="test -f"
5788 # Sed expression to map a string onto a valid CPP name.
5789 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5791 # Sed expression to map a string onto a valid variable name.
5792 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5796 # We need space, tab and new line, in precisely that order.
5806 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5807 # report actual input values of CONFIG_FILES etc. instead of their
5808 # values after options handling. Logging --version etc. is OK.
5812 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5813 ## Running $as_me. ##
5818 This file was extended by gzip $as_me 1.3.5, which was
5819 generated by GNU Autoconf 2.59. Invocation command line was
5821 CONFIG_FILES = $CONFIG_FILES
5822 CONFIG_HEADERS = $CONFIG_HEADERS
5823 CONFIG_LINKS = $CONFIG_LINKS
5824 CONFIG_COMMANDS = $CONFIG_COMMANDS
5828 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5832 # Files that config.status was made for.
5833 if test -n "$ac_config_files"; then
5834 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5837 if test -n "$ac_config_headers"; then
5838 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5841 if test -n "$ac_config_links"; then
5842 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5845 if test -n "$ac_config_commands"; then
5846 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5849 cat >>$CONFIG_STATUS <<\_ACEOF
5852 \`$as_me' instantiates files from templates according to the
5853 current configuration.
5855 Usage: $0 [OPTIONS] [FILE]...
5857 -h, --help print this help, then exit
5858 -V, --version print version number, then exit
5859 -q, --quiet do not print progress messages
5860 -d, --debug don't remove temporary files
5861 --recheck update $as_me by reconfiguring in the same conditions
5862 --file=FILE[:TEMPLATE]
5863 instantiate the configuration file FILE
5864 --header=FILE[:TEMPLATE]
5865 instantiate the configuration header FILE
5867 Configuration files:
5870 Configuration headers:
5873 Configuration commands:
5876 Report bugs to <bug-autoconf@gnu.org>."
5879 cat >>$CONFIG_STATUS <<_ACEOF
5881 gzip config.status 1.3.5
5882 configured by $0, generated by GNU Autoconf 2.59,
5883 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5885 Copyright (C) 2003 Free Software Foundation, Inc.
5886 This config.status script is free software; the Free Software Foundation
5887 gives unlimited permission to copy, distribute and modify it."
5892 cat >>$CONFIG_STATUS <<\_ACEOF
5893 # If no file are specified by the user, then we need to provide default
5894 # value. By we need to know if files were specified by the user.
5900 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5901 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5909 *) # This is not an option, so the user has probably given explicit
5912 ac_need_defaults=false;;
5916 # Handling of the options.
5918 cat >>$CONFIG_STATUS <<\_ACEOF
5919 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5921 --version | --vers* | -V )
5922 echo "$ac_cs_version"; exit 0 ;;
5924 # Conflict between --help and --header
5925 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5926 Try \`$0 --help' for more information." >&5
5927 echo "$as_me: error: ambiguous option: $1
5928 Try \`$0 --help' for more information." >&2;}
5929 { (exit 1); exit 1; }; };;
5930 --help | --hel | -h )
5931 echo "$ac_cs_usage"; exit 0 ;;
5932 --debug | --d* | -d )
5934 --file | --fil | --fi | --f )
5936 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5937 ac_need_defaults=false;;
5938 --header | --heade | --head | --hea )
5940 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5941 ac_need_defaults=false;;
5942 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5943 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5947 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5948 Try \`$0 --help' for more information." >&5
5949 echo "$as_me: error: unrecognized option: $1
5950 Try \`$0 --help' for more information." >&2;}
5951 { (exit 1); exit 1; }; } ;;
5953 *) ac_config_targets="$ac_config_targets $1" ;;
5959 ac_configure_extra_args=
5961 if $ac_cs_silent; then
5963 ac_configure_extra_args="$ac_configure_extra_args --silent"
5967 cat >>$CONFIG_STATUS <<_ACEOF
5968 if \$ac_cs_recheck; then
5969 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5970 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5975 cat >>$CONFIG_STATUS <<_ACEOF
5977 # INIT-COMMANDS section.
5980 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5986 cat >>$CONFIG_STATUS <<\_ACEOF
5987 for ac_config_target in $ac_config_targets
5989 case "$ac_config_target" in
5990 # Handling of arguments.
5991 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5992 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5993 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5994 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5995 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5996 { (exit 1); exit 1; }; };;
6000 # If the user did not use the arguments to specify the items to instantiate,
6001 # then the envvar interface is used. Set only those that are not.
6002 # We use the long form for the default assignment because of an extremely
6003 # bizarre bug on SunOS 4.1.3.
6004 if $ac_need_defaults; then
6005 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6006 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6007 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6010 # Have a temporary directory for convenience. Make it in the build tree
6011 # simply because there is no reason to put it here, and in addition,
6012 # creating and moving files from /tmp can sometimes cause problems.
6013 # Create a temporary directory, and hook for its removal unless debugging.
6016 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6017 trap '{ (exit 1); exit 1; }' 1 2 13 15
6020 # Create a (secure) tmp directory for tmp files.
6023 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6024 test -n "$tmp" && test -d "$tmp"
6027 tmp=./confstat$$-$RANDOM
6028 (umask 077 && mkdir $tmp)
6031 echo "$me: cannot create a temporary directory in ." >&2
6032 { (exit 1); exit 1; }
6037 cat >>$CONFIG_STATUS <<_ACEOF
6040 # CONFIG_FILES section.
6043 # No need to generate the scripts if there are no CONFIG_FILES.
6044 # This happens for instance when ./config.status config.h
6045 if test -n "\$CONFIG_FILES"; then
6046 # Protect against being on the right side of a sed subst in config.status.
6047 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6048 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6049 s,@SHELL@,$SHELL,;t t
6050 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6051 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6052 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6053 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6054 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6055 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6056 s,@exec_prefix@,$exec_prefix,;t t
6057 s,@prefix@,$prefix,;t t
6058 s,@program_transform_name@,$program_transform_name,;t t
6059 s,@bindir@,$bindir,;t t
6060 s,@sbindir@,$sbindir,;t t
6061 s,@libexecdir@,$libexecdir,;t t
6062 s,@datadir@,$datadir,;t t
6063 s,@sysconfdir@,$sysconfdir,;t t
6064 s,@sharedstatedir@,$sharedstatedir,;t t
6065 s,@localstatedir@,$localstatedir,;t t
6066 s,@libdir@,$libdir,;t t
6067 s,@includedir@,$includedir,;t t
6068 s,@oldincludedir@,$oldincludedir,;t t
6069 s,@infodir@,$infodir,;t t
6070 s,@mandir@,$mandir,;t t
6071 s,@build_alias@,$build_alias,;t t
6072 s,@host_alias@,$host_alias,;t t
6073 s,@target_alias@,$target_alias,;t t
6075 s,@ECHO_C@,$ECHO_C,;t t
6076 s,@ECHO_N@,$ECHO_N,;t t
6077 s,@ECHO_T@,$ECHO_T,;t t
6079 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6080 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6081 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6082 s,@CYGPATH_W@,$CYGPATH_W,;t t
6083 s,@PACKAGE@,$PACKAGE,;t t
6084 s,@VERSION@,$VERSION,;t t
6085 s,@ACLOCAL@,$ACLOCAL,;t t
6086 s,@AUTOCONF@,$AUTOCONF,;t t
6087 s,@AUTOMAKE@,$AUTOMAKE,;t t
6088 s,@AUTOHEADER@,$AUTOHEADER,;t t
6089 s,@MAKEINFO@,$MAKEINFO,;t t
6090 s,@AMTAR@,$AMTAR,;t t
6091 s,@install_sh@,$install_sh,;t t
6092 s,@STRIP@,$STRIP,;t t
6093 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6094 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6095 s,@mkdir_p@,$mkdir_p,;t t
6097 s,@SET_MAKE@,$SET_MAKE,;t t
6098 s,@am__leading_dot@,$am__leading_dot,;t t
6100 s,@CFLAGS@,$CFLAGS,;t t
6101 s,@LDFLAGS@,$LDFLAGS,;t t
6102 s,@CPPFLAGS@,$CPPFLAGS,;t t
6103 s,@ac_ct_CC@,$ac_ct_CC,;t t
6104 s,@EXEEXT@,$EXEEXT,;t t
6105 s,@OBJEXT@,$OBJEXT,;t t
6106 s,@DEPDIR@,$DEPDIR,;t t
6107 s,@am__include@,$am__include,;t t
6108 s,@am__quote@,$am__quote,;t t
6109 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6110 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6111 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6112 s,@CCDEPMODE@,$CCDEPMODE,;t t
6113 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6114 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6117 s,@EGREP@,$EGREP,;t t
6118 s,@LIBOBJS@,$LIBOBJS,;t t
6119 s,@ac_prefix_program@,$ac_prefix_program,;t t
6120 s,@ASCPP@,$ASCPP,;t t
6121 s,@SEDCMD@,$SEDCMD,;t t
6122 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6127 cat >>$CONFIG_STATUS <<\_ACEOF
6128 # Split the substitutions into bite-sized pieces for seds with
6129 # small command number limits, like on Digital OSF/1 and HP-UX.
6131 ac_sed_frag=1 # Number of current file.
6132 ac_beg=1 # First line for current file.
6133 ac_end=$ac_max_sed_lines # Line after last line for current file.
6136 while $ac_more_lines; do
6137 if test $ac_beg -gt 1; then
6138 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6140 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6142 if test ! -s $tmp/subs.frag; then
6145 # The purpose of the label and of the branching condition is to
6146 # speed up the sed processing (if there are no `@' at all, there
6147 # is no need to browse any of the substitutions).
6148 # These are the two extra sed commands mentioned above.
6150 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6151 if test -z "$ac_sed_cmds"; then
6152 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6154 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6156 ac_sed_frag=`expr $ac_sed_frag + 1`
6158 ac_end=`expr $ac_end + $ac_max_sed_lines`
6161 if test -z "$ac_sed_cmds"; then
6164 fi # test -n "$CONFIG_FILES"
6167 cat >>$CONFIG_STATUS <<\_ACEOF
6168 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6169 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6171 - | *:- | *:-:* ) # input from stdin
6173 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6174 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6175 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6176 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6177 * ) ac_file_in=$ac_file.in ;;
6180 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6181 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6182 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6183 X"$ac_file" : 'X\(//\)[^/]' \| \
6184 X"$ac_file" : 'X\(//\)$' \| \
6185 X"$ac_file" : 'X\(/\)' \| \
6186 . : '\(.\)' 2>/dev/null ||
6188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6189 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6190 /^X\(\/\/\)$/{ s//\1/; q; }
6191 /^X\(\/\).*/{ s//\1/; q; }
6193 { if $as_mkdir_p; then
6198 while test ! -d "$as_dir"; do
6199 as_dirs="$as_dir $as_dirs"
6200 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6201 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6202 X"$as_dir" : 'X\(//\)[^/]' \| \
6203 X"$as_dir" : 'X\(//\)$' \| \
6204 X"$as_dir" : 'X\(/\)' \| \
6205 . : '\(.\)' 2>/dev/null ||
6207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6208 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6209 /^X\(\/\/\)$/{ s//\1/; q; }
6210 /^X\(\/\).*/{ s//\1/; q; }
6213 test ! -n "$as_dirs" || mkdir $as_dirs
6214 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6215 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6216 { (exit 1); exit 1; }; }; }
6220 if test "$ac_dir" != .; then
6221 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6222 # A "../" for each directory in $ac_dir_suffix.
6223 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6225 ac_dir_suffix= ac_top_builddir=
6229 .) # No --srcdir option. We are building in place.
6231 if test -z "$ac_top_builddir"; then
6234 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6236 [\\/]* | ?:[\\/]* ) # Absolute path.
6237 ac_srcdir=$srcdir$ac_dir_suffix;
6238 ac_top_srcdir=$srcdir ;;
6240 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6241 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6244 # Do not use `cd foo && pwd` to compute absolute paths, because
6245 # the directories may not exist.
6247 .) ac_abs_builddir="$ac_dir";;
6250 .) ac_abs_builddir=`pwd`;;
6251 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6252 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6255 case $ac_abs_builddir in
6256 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6258 case ${ac_top_builddir}. in
6259 .) ac_abs_top_builddir=$ac_abs_builddir;;
6260 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6261 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6264 case $ac_abs_builddir in
6265 .) ac_abs_srcdir=$ac_srcdir;;
6268 .) ac_abs_srcdir=$ac_abs_builddir;;
6269 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6270 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6273 case $ac_abs_builddir in
6274 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6276 case $ac_top_srcdir in
6277 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6278 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6279 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6285 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6286 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6289 # Let's still pretend it is `configure' which instantiates (i.e., don't
6290 # use $as_me), people would be surprised to read:
6291 # /* config.h. Generated by config.status. */
6292 if test x"$ac_file" = x-; then
6295 configure_input="$ac_file. "
6297 configure_input=$configure_input"Generated from `echo $ac_file_in |
6298 sed 's,.*/,,'` by configure."
6300 # First look for the input files in the build tree, otherwise in the
6302 ac_file_inputs=`IFS=:
6303 for f in $ac_file_in; do
6305 -) echo $tmp/stdin ;;
6307 # Absolute (can't be DOS-style, as IFS=:)
6308 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6309 echo "$as_me: error: cannot find input file: $f" >&2;}
6310 { (exit 1); exit 1; }; }
6313 if test -f "$f"; then
6316 elif test -f "$srcdir/$f"; then
6321 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6322 echo "$as_me: error: cannot find input file: $f" >&2;}
6323 { (exit 1); exit 1; }; }
6326 done` || { (exit 1); exit 1; }
6328 if test x"$ac_file" != x-; then
6329 { echo "$as_me:$LINENO: creating $ac_file" >&5
6330 echo "$as_me: creating $ac_file" >&6;}
6334 cat >>$CONFIG_STATUS <<_ACEOF
6338 cat >>$CONFIG_STATUS <<\_ACEOF
6340 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6341 s,@configure_input@,$configure_input,;t t
6342 s,@srcdir@,$ac_srcdir,;t t
6343 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6344 s,@top_srcdir@,$ac_top_srcdir,;t t
6345 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6346 s,@builddir@,$ac_builddir,;t t
6347 s,@abs_builddir@,$ac_abs_builddir,;t t
6348 s,@top_builddir@,$ac_top_builddir,;t t
6349 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6350 s,@INSTALL@,$ac_INSTALL,;t t
6351 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6353 if test x"$ac_file" != x-; then
6354 mv $tmp/out $ac_file
6362 cat >>$CONFIG_STATUS <<\_ACEOF
6365 # CONFIG_HEADER section.
6368 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6369 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6371 # ac_d sets the value in "#define NAME VALUE" lines.
6372 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6373 ac_dB='[ ].*$,\1#\2'
6376 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6377 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6378 ac_uB='$,\1#\2define\3'
6382 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6383 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6385 - | *:- | *:-:* ) # input from stdin
6387 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6388 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6389 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6390 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6391 * ) ac_file_in=$ac_file.in ;;
6394 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6395 echo "$as_me: creating $ac_file" >&6;}
6397 # First look for the input files in the build tree, otherwise in the
6399 ac_file_inputs=`IFS=:
6400 for f in $ac_file_in; do
6402 -) echo $tmp/stdin ;;
6404 # Absolute (can't be DOS-style, as IFS=:)
6405 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6406 echo "$as_me: error: cannot find input file: $f" >&2;}
6407 { (exit 1); exit 1; }; }
6408 # Do quote $f, to prevent DOS paths from being IFS'd.
6411 if test -f "$f"; then
6414 elif test -f "$srcdir/$f"; then
6419 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6420 echo "$as_me: error: cannot find input file: $f" >&2;}
6421 { (exit 1); exit 1; }; }
6424 done` || { (exit 1); exit 1; }
6425 # Remove the trailing spaces.
6426 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6430 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6431 # `conftest.undefs', that substitutes the proper values into
6432 # config.h.in to produce config.h. The first handles `#define'
6433 # templates, and the second `#undef' templates.
6434 # And first: Protect against being on the right side of a sed subst in
6435 # config.status. Protect against being in an unquoted here document
6437 rm -f conftest.defines conftest.undefs
6438 # Using a here document instead of a string reduces the quoting nightmare.
6439 # Putting comments in sed scripts is not portable.
6441 # `end' is used to avoid that the second main sed command (meant for
6442 # 0-ary CPP macros) applies to n-ary macro definitions.
6443 # See the Autoconf documentation for `clear'.
6444 cat >confdef2sed.sed <<\_ACEOF
6449 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6451 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6454 # If some macros were called several times there might be several times
6455 # the same #defines, which is useless. Nevertheless, we may not want to
6456 # sort them, since we want the *last* AC-DEFINE to be honored.
6457 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6458 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6459 rm -f confdef2sed.sed
6461 # This sed command replaces #undef with comments. This is necessary, for
6462 # example, in the case of _POSIX_SOURCE, which is predefined and required
6463 # on some systems where configure will not decide to define it.
6464 cat >>conftest.undefs <<\_ACEOF
6465 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6468 # Break up conftest.defines because some shells have a limit on the size
6469 # of here documents, and old seds have small limits too (100 cmds).
6470 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6471 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6472 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6473 echo ' :' >>$CONFIG_STATUS
6475 while grep . conftest.defines >/dev/null
6477 # Write a limited-size here document to $tmp/defines.sed.
6478 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6479 # Speed up: don't consider the non `#define' lines.
6480 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6481 # Work around the forget-to-reset-the-flag bug.
6482 echo 't clr' >>$CONFIG_STATUS
6483 echo ': clr' >>$CONFIG_STATUS
6484 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6486 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6490 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6491 rm -f conftest.defines
6492 mv conftest.tail conftest.defines
6494 rm -f conftest.defines
6495 echo ' fi # grep' >>$CONFIG_STATUS
6496 echo >>$CONFIG_STATUS
6498 # Break up conftest.undefs because some shells have a limit on the size
6499 # of here documents, and old seds have small limits too (100 cmds).
6500 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6502 while grep . conftest.undefs >/dev/null
6504 # Write a limited-size here document to $tmp/undefs.sed.
6505 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6506 # Speed up: don't consider the non `#undef'
6507 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6508 # Work around the forget-to-reset-the-flag bug.
6509 echo 't clr' >>$CONFIG_STATUS
6510 echo ': clr' >>$CONFIG_STATUS
6511 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6513 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6517 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6518 rm -f conftest.undefs
6519 mv conftest.tail conftest.undefs
6521 rm -f conftest.undefs
6523 cat >>$CONFIG_STATUS <<\_ACEOF
6524 # Let's still pretend it is `configure' which instantiates (i.e., don't
6525 # use $as_me), people would be surprised to read:
6526 # /* config.h. Generated by config.status. */
6527 if test x"$ac_file" = x-; then
6528 echo "/* Generated by configure. */" >$tmp/config.h
6530 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6532 cat $tmp/in >>$tmp/config.h
6534 if test x"$ac_file" != x-; then
6535 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6536 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6537 echo "$as_me: $ac_file is unchanged" >&6;}
6539 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6540 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6541 X"$ac_file" : 'X\(//\)[^/]' \| \
6542 X"$ac_file" : 'X\(//\)$' \| \
6543 X"$ac_file" : 'X\(/\)' \| \
6544 . : '\(.\)' 2>/dev/null ||
6546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6547 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6548 /^X\(\/\/\)$/{ s//\1/; q; }
6549 /^X\(\/\).*/{ s//\1/; q; }
6551 { if $as_mkdir_p; then
6556 while test ! -d "$as_dir"; do
6557 as_dirs="$as_dir $as_dirs"
6558 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6559 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6560 X"$as_dir" : 'X\(//\)[^/]' \| \
6561 X"$as_dir" : 'X\(//\)$' \| \
6562 X"$as_dir" : 'X\(/\)' \| \
6563 . : '\(.\)' 2>/dev/null ||
6565 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6566 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6567 /^X\(\/\/\)$/{ s//\1/; q; }
6568 /^X\(\/\).*/{ s//\1/; q; }
6571 test ! -n "$as_dirs" || mkdir $as_dirs
6572 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6573 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6574 { (exit 1); exit 1; }; }; }
6577 mv $tmp/config.h $ac_file
6583 # Compute $ac_file's index in $config_headers.
6585 for _am_header in $config_headers :; do
6587 $ac_file | $ac_file:* )
6590 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6593 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6594 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6595 X$ac_file : 'X\(//\)[^/]' \| \
6596 X$ac_file : 'X\(//\)$' \| \
6597 X$ac_file : 'X\(/\)' \| \
6598 . : '\(.\)' 2>/dev/null ||
6600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6601 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6602 /^X\(\/\/\)$/{ s//\1/; q; }
6603 /^X\(\/\).*/{ s//\1/; q; }
6604 s/.*/./; q'`/stamp-h$_am_stamp_count
6607 cat >>$CONFIG_STATUS <<\_ACEOF
6610 # CONFIG_COMMANDS section.
6612 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6613 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6614 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6615 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6616 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6617 X"$ac_dest" : 'X\(//\)[^/]' \| \
6618 X"$ac_dest" : 'X\(//\)$' \| \
6619 X"$ac_dest" : 'X\(/\)' \| \
6620 . : '\(.\)' 2>/dev/null ||
6622 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6623 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6624 /^X\(\/\/\)$/{ s//\1/; q; }
6625 /^X\(\/\).*/{ s//\1/; q; }
6627 { if $as_mkdir_p; then
6632 while test ! -d "$as_dir"; do
6633 as_dirs="$as_dir $as_dirs"
6634 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6635 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6636 X"$as_dir" : 'X\(//\)[^/]' \| \
6637 X"$as_dir" : 'X\(//\)$' \| \
6638 X"$as_dir" : 'X\(/\)' \| \
6639 . : '\(.\)' 2>/dev/null ||
6641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6642 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6643 /^X\(\/\/\)$/{ s//\1/; q; }
6644 /^X\(\/\).*/{ s//\1/; q; }
6647 test ! -n "$as_dirs" || mkdir $as_dirs
6648 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6649 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6650 { (exit 1); exit 1; }; }; }
6654 if test "$ac_dir" != .; then
6655 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6656 # A "../" for each directory in $ac_dir_suffix.
6657 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6659 ac_dir_suffix= ac_top_builddir=
6663 .) # No --srcdir option. We are building in place.
6665 if test -z "$ac_top_builddir"; then
6668 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6670 [\\/]* | ?:[\\/]* ) # Absolute path.
6671 ac_srcdir=$srcdir$ac_dir_suffix;
6672 ac_top_srcdir=$srcdir ;;
6674 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6675 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6678 # Do not use `cd foo && pwd` to compute absolute paths, because
6679 # the directories may not exist.
6681 .) ac_abs_builddir="$ac_dir";;
6684 .) ac_abs_builddir=`pwd`;;
6685 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6686 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6689 case $ac_abs_builddir in
6690 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6692 case ${ac_top_builddir}. in
6693 .) ac_abs_top_builddir=$ac_abs_builddir;;
6694 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6695 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6698 case $ac_abs_builddir in
6699 .) ac_abs_srcdir=$ac_srcdir;;
6702 .) ac_abs_srcdir=$ac_abs_builddir;;
6703 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6704 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6707 case $ac_abs_builddir in
6708 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6710 case $ac_top_srcdir in
6711 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6712 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6713 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6718 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6719 echo "$as_me: executing $ac_dest commands" >&6;}
6721 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6722 # Strip MF so we end up with the name of the file.
6723 mf=`echo "$mf" | sed -e 's/:.*$//'`
6724 # Check whether this is an Automake generated Makefile or not.
6725 # We used to match only the files named `Makefile.in', but
6726 # some people rename them; so instead we look at the file content.
6727 # Grep'ing the first line is not enough: some people post-process
6728 # each Makefile.in and add a new line on top of each file to say so.
6729 # So let's grep whole file.
6730 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6731 dirpart=`(dirname "$mf") 2>/dev/null ||
6732 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6733 X"$mf" : 'X\(//\)[^/]' \| \
6734 X"$mf" : 'X\(//\)$' \| \
6735 X"$mf" : 'X\(/\)' \| \
6736 . : '\(.\)' 2>/dev/null ||
6738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6739 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6740 /^X\(\/\/\)$/{ s//\1/; q; }
6741 /^X\(\/\).*/{ s//\1/; q; }
6746 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6747 # Extract the definition of DEP_FILES from the Makefile without
6749 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6750 test -z "$DEPDIR" && continue
6751 # When using ansi2knr, U may be empty or an underscore; expand it
6752 U=`sed -n 's/^U = //p' < "$mf"`
6753 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6754 # We invoke sed twice because it is the simplest approach to
6755 # changing $(DEPDIR) to its actual value in the expansion.
6756 for file in `sed -n '
6757 /^DEP_FILES = .*\\\\$/ {
6766 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6767 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6768 # Make sure the directory exists.
6769 test -f "$dirpart/$file" && continue
6770 fdir=`(dirname "$file") 2>/dev/null ||
6771 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6772 X"$file" : 'X\(//\)[^/]' \| \
6773 X"$file" : 'X\(//\)$' \| \
6774 X"$file" : 'X\(/\)' \| \
6775 . : '\(.\)' 2>/dev/null ||
6777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6778 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6779 /^X\(\/\/\)$/{ s//\1/; q; }
6780 /^X\(\/\).*/{ s//\1/; q; }
6782 { if $as_mkdir_p; then
6783 mkdir -p $dirpart/$fdir
6785 as_dir=$dirpart/$fdir
6787 while test ! -d "$as_dir"; do
6788 as_dirs="$as_dir $as_dirs"
6789 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6790 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6791 X"$as_dir" : 'X\(//\)[^/]' \| \
6792 X"$as_dir" : 'X\(//\)$' \| \
6793 X"$as_dir" : 'X\(/\)' \| \
6794 . : '\(.\)' 2>/dev/null ||
6796 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6797 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6798 /^X\(\/\/\)$/{ s//\1/; q; }
6799 /^X\(\/\).*/{ s//\1/; q; }
6802 test ! -n "$as_dirs" || mkdir $as_dirs
6803 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6804 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6805 { (exit 1); exit 1; }; }; }
6807 # echo "creating $dirpart/$file"
6808 echo '# dummy' > "$dirpart/$file"
6816 cat >>$CONFIG_STATUS <<\_ACEOF
6818 { (exit 0); exit 0; }
6820 chmod +x $CONFIG_STATUS
6821 ac_clean_files=$ac_clean_files_save
6824 # configure is writing to config.log, and then calls config.status.
6825 # config.status does its own redirection, appending to config.log.
6826 # Unfortunately, on DOS this fails, as config.log is still kept open
6827 # by configure, so config.status won't be able to write to it; its
6828 # output is simply discarded. So we exec the FD to /dev/null,
6829 # effectively closing config.log, so it can be properly (re)opened and
6830 # appended to by config.status. When coming back to configure, we
6831 # need to make the FD available again.
6832 if test "$no_create" != yes; then
6834 ac_config_status_args=
6835 test "$silent" = yes &&
6836 ac_config_status_args="$ac_config_status_args --quiet"
6838 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6840 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6841 # would make configure fail if this is the last instruction.
6842 $ac_cs_success || { (exit 1); exit 1; }