2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59a for GNU Automake 1.9a.
5 # Report bugs to <bug-automake@gnu.org>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
8 # 2003, 2004 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
31 # Avoid depending upon Character Ranges.
32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits='0123456789'
36 as_cr_alnum=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
59 # Find who we are. Look in the path if we contain no path at all
62 *[\\/]* ) as_myself=$0 ;;
63 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
67 test -z "$as_dir" && as_dir=.
68 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73 # We did not find ourselves, most probably we were run as `sh COMMAND'
74 # in which case we are not to be found in the path.
75 if test "x$as_myself" = x; then
78 if test ! -f "$as_myself"; then
79 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
80 { (exit 1); exit 1; }; }
83 # Work around bugs in pre-3.0 UWIN ksh.
84 for as_var in ENV MAIL MAILPATH
85 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
93 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
94 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
97 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
98 eval $as_var=C; export $as_var
100 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 # Required to use basename.
105 if expr a : '\(a\)' >/dev/null 2>&1; then
111 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
118 # Name of the executable.
119 as_me=`$as_basename "$0" ||
120 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
121 X"$0" : 'X\(//\)$' \| \
122 X"$0" : 'X\(/\)$' \| \
123 . : '\(.\)' 2>/dev/null ||
125 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
126 /^X\/\(\/\/\)$/{ s//\1/; q; }
127 /^X\/\(\/\).*/{ s//\1/; q; }
132 if test "x$CONFIG_SHELL" = x; then
133 if (eval ":") 2>/dev/null; then
139 if test $as_have_required = yes && (eval ":
149 func_ret_success () {
152 func_ret_failure () {
157 if func_success; then
161 echo func_failure succeeded.
164 if func_failure; then
166 echo func_success failed.
169 if func_ret_success; then
173 echo func_ret_success failed.
176 if func_ret_failure; then
178 echo func_ret_failure succeeded.
181 test \$exitcode = 0) || { (exit 1); exit 1; }
186 as_lineno_3=\`(expr \$as_lineno_1 + 1) 2>/dev/null\`
187 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
188 test \"x\$as_lineno_3\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
189 ") 2> /dev/null; then
193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 test -z "$as_dir" && as_dir=.
200 for as_base in sh bash ksh sh5; do
201 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
207 for as_shell in $as_candidate_shells $SHELL; do
208 if { $as_shell 2> /dev/null <<\_ASEOF
209 # Be Bourne compatible
210 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
213 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
214 # is contrary to our usage. Disable this feature.
215 alias -g '${1+"$@"}'='"$@"'
217 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
220 BIN_SH=xpg4; export BIN_SH # for Tru64
221 DUALCASE=1; export DUALCASE # for MKS sh
226 CONFIG_SHELL=$as_shell
228 if { $as_shell 2> /dev/null <<\_ASEOF
229 # Be Bourne compatible
230 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
233 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
234 # is contrary to our usage. Disable this feature.
235 alias -g '${1+"$@"}'='"$@"'
237 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
240 BIN_SH=xpg4; export BIN_SH # for Tru64
241 DUALCASE=1; export DUALCASE # for MKS sh
253 func_ret_success () {
256 func_ret_failure () {
261 if func_success; then
265 echo func_failure succeeded.
268 if func_failure; then
270 echo func_success failed.
273 if func_ret_success; then
277 echo func_ret_success failed.
280 if func_ret_failure; then
282 echo func_ret_failure succeeded.
285 test $exitcode = 0) || { (exit 1); exit 1; }
290 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
291 test "x$as_lineno_1" != "x$as_lineno_2" &&
292 test "x$as_lineno_3" = "x$as_lineno_2") || { (exit 1); exit 1; }
303 if test "x$CONFIG_SHELL" != x; then
304 for as_var in BASH_ENV ENV
305 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
308 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
312 if test $as_have_required = no; then
313 echo This script requires a shell more modern than all the
314 echo shells that I found on your system. Please install a
315 echo modern shell, or manually run the script under such a
316 echo shell if you do have one.
317 { (exit 1); exit 1; }
327 (eval "func_return () {
336 func_ret_success () {
339 func_ret_failure () {
344 if func_success; then
348 echo func_failure succeeded.
351 if func_failure; then
353 echo func_success failed.
356 if func_ret_success; then
360 echo func_ret_success failed.
363 if func_ret_failure; then
365 echo func_ret_failure succeeded.
368 test \$exitcode = 0") || {
369 echo No shell found that supports shell functions.
370 echo Please tell autoconf@gnu.org about your system,
371 echo including any error possibly output before this
379 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
380 test "x$as_lineno_1" != "x$as_lineno_2" &&
381 test "x$as_lineno_3" = "x$as_lineno_2" || {
383 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
384 # uniformly replaced by the line number. The first 'sed' inserts a
385 # line-number line after each line using $LINENO; the second 'sed'
386 # does the real work. The second script uses 'N' to pair each
387 # line-number line with the line containing $LINENO, and appends
388 # trailing '-' during substitution so that $LINENO is not a special
390 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
391 # scripts with optimization help from Paolo Bonzini. Blame Lee
392 # E. McMahon (1931-1989) for sed's syntax. :-)
404 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
408 chmod +x $as_me.lineno ||
409 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
410 { (exit 1); exit 1; }; }
412 # Don't try to exec as it changes $[0], causing all sort of problems
413 # (the dirname of $[0] is not the place where we might find the
414 # original and so on. Autoconf is especially sensible to this).
416 # Exit status is that of the last command.
421 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
422 *c*,-n*) ECHO_N= ECHO_C='
424 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
425 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
428 if expr a : '\(a\)' >/dev/null 2>&1; then
434 rm -f conf$$ conf$$.exe conf$$.file
436 if ln -s conf$$.file conf$$ 2>/dev/null; then
437 # We could just check for DJGPP; but this test a) works b) is more generic
438 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
439 if test -f conf$$.exe; then
440 # Don't use ln at all; we don't have any links
445 elif ln conf$$.file conf$$ 2>/dev/null; then
450 rm -f conf$$ conf$$.exe conf$$.file
452 if mkdir -p . 2>/dev/null; then
455 test -d ./-p && rmdir ./-p
459 as_executable_p="test -f"
461 # Sed expression to map a string onto a valid CPP name.
462 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
464 # Sed expression to map a string onto a valid variable name.
465 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
469 # We need space, tab and new line, in precisely that order.
479 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
480 # so uname gets run too.
481 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
488 ac_default_prefix=/usr/local
489 ac_config_libobj_dir=.
494 SHELL=${CONFIG_SHELL-/bin/sh}
496 # Maximum number of lines to put in a shell here document.
497 # This variable seems obsolete. It should probably be removed, and
498 # only ac_max_sed_lines should be used.
499 : ${ac_max_here_lines=38}
501 # Identity of this package.
502 PACKAGE_NAME='GNU Automake'
503 PACKAGE_TARNAME='automake'
504 PACKAGE_VERSION='1.9a'
505 PACKAGE_STRING='GNU Automake 1.9a'
506 PACKAGE_BUGREPORT='bug-automake@gnu.org'
508 ac_unique_file="automake.in"
509 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 build build_cpu build_vendor build_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar APIVERSION pkgvdatadir PERL TEX LN MODIFICATION_DELAY GREP EGREP FGREP LIBOBJS LTLIBOBJS'
512 # Initialize some variables set by options.
514 ac_init_version=false
515 # The variables have the same names as the options, with
516 # dashes changed to underlines.
524 program_transform_name=s,x,x,
532 # Installation directory options.
533 # These are left unexpanded so users can "make install exec_prefix=/foo"
534 # and all the variables that are supposed to be based on exec_prefix
535 # by default will actually change.
536 # Use braces instead of parens because sh, perl, etc. also accept them.
537 bindir='${exec_prefix}/bin'
538 sbindir='${exec_prefix}/sbin'
539 libexecdir='${exec_prefix}/libexec'
540 datadir='${prefix}/share'
541 sysconfdir='${prefix}/etc'
542 sharedstatedir='${prefix}/com'
543 localstatedir='${prefix}/var'
544 libdir='${exec_prefix}/lib'
545 includedir='${prefix}/include'
546 oldincludedir='/usr/include'
547 infodir='${prefix}/info'
548 mandir='${prefix}/man'
553 # If the previous option needs an argument, assign it.
554 if test -n "$ac_prev"; then
555 eval "$ac_prev=\$ac_option"
560 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
562 # Accept the important Cygnus configure options, so we can diagnose typos.
566 -bindir | --bindir | --bindi | --bind | --bin | --bi)
568 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
571 -build | --build | --buil | --bui | --bu)
572 ac_prev=build_alias ;;
573 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
574 build_alias=$ac_optarg ;;
576 -cache-file | --cache-file | --cache-fil | --cache-fi \
577 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
578 ac_prev=cache_file ;;
579 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
580 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
581 cache_file=$ac_optarg ;;
584 cache_file=config.cache ;;
586 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
588 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
590 datadir=$ac_optarg ;;
592 -disable-* | --disable-*)
593 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
594 # Reject names that are not valid shell variable names.
595 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
596 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
597 { (exit 1); exit 1; }; }
598 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
599 eval "enable_$ac_feature=no" ;;
601 -enable-* | --enable-*)
602 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
606 { (exit 1); exit 1; }; }
607 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
609 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
612 eval "enable_$ac_feature='$ac_optarg'" ;;
614 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
615 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
616 | --exec | --exe | --ex)
617 ac_prev=exec_prefix ;;
618 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
619 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
620 | --exec=* | --exe=* | --ex=*)
621 exec_prefix=$ac_optarg ;;
623 -gas | --gas | --ga | --g)
624 # Obsolete; use --with-gas.
627 -help | --help | --hel | --he | -h)
629 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
630 ac_init_help=recursive ;;
631 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
632 ac_init_help=short ;;
634 -host | --host | --hos | --ho)
635 ac_prev=host_alias ;;
636 -host=* | --host=* | --hos=* | --ho=*)
637 host_alias=$ac_optarg ;;
639 -includedir | --includedir | --includedi | --included | --include \
640 | --includ | --inclu | --incl | --inc)
641 ac_prev=includedir ;;
642 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
643 | --includ=* | --inclu=* | --incl=* | --inc=*)
644 includedir=$ac_optarg ;;
646 -infodir | --infodir | --infodi | --infod | --info | --inf)
648 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
649 infodir=$ac_optarg ;;
651 -libdir | --libdir | --libdi | --libd)
653 -libdir=* | --libdir=* | --libdi=* | --libd=*)
656 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
657 | --libexe | --libex | --libe)
658 ac_prev=libexecdir ;;
659 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
660 | --libexe=* | --libex=* | --libe=*)
661 libexecdir=$ac_optarg ;;
663 -localstatedir | --localstatedir | --localstatedi | --localstated \
664 | --localstate | --localstat | --localsta | --localst \
665 | --locals | --local | --loca | --loc | --lo)
666 ac_prev=localstatedir ;;
667 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
668 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
669 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
670 localstatedir=$ac_optarg ;;
672 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
674 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
678 # Obsolete; use --without-fp.
681 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
682 | --no-cr | --no-c | -n)
685 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
686 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
689 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
690 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
691 | --oldin | --oldi | --old | --ol | --o)
692 ac_prev=oldincludedir ;;
693 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
694 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
695 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
696 oldincludedir=$ac_optarg ;;
698 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
700 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
703 -program-prefix | --program-prefix | --program-prefi | --program-pref \
704 | --program-pre | --program-pr | --program-p)
705 ac_prev=program_prefix ;;
706 -program-prefix=* | --program-prefix=* | --program-prefi=* \
707 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
708 program_prefix=$ac_optarg ;;
710 -program-suffix | --program-suffix | --program-suffi | --program-suff \
711 | --program-suf | --program-su | --program-s)
712 ac_prev=program_suffix ;;
713 -program-suffix=* | --program-suffix=* | --program-suffi=* \
714 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
715 program_suffix=$ac_optarg ;;
717 -program-transform-name | --program-transform-name \
718 | --program-transform-nam | --program-transform-na \
719 | --program-transform-n | --program-transform- \
720 | --program-transform | --program-transfor \
721 | --program-transfo | --program-transf \
722 | --program-trans | --program-tran \
723 | --progr-tra | --program-tr | --program-t)
724 ac_prev=program_transform_name ;;
725 -program-transform-name=* | --program-transform-name=* \
726 | --program-transform-nam=* | --program-transform-na=* \
727 | --program-transform-n=* | --program-transform-=* \
728 | --program-transform=* | --program-transfor=* \
729 | --program-transfo=* | --program-transf=* \
730 | --program-trans=* | --program-tran=* \
731 | --progr-tra=* | --program-tr=* | --program-t=*)
732 program_transform_name=$ac_optarg ;;
734 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
735 | -silent | --silent | --silen | --sile | --sil)
738 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
740 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
742 sbindir=$ac_optarg ;;
744 -sharedstatedir | --sharedstatedir | --sharedstatedi \
745 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
746 | --sharedst | --shareds | --shared | --share | --shar \
748 ac_prev=sharedstatedir ;;
749 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
750 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
751 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
753 sharedstatedir=$ac_optarg ;;
755 -site | --site | --sit)
757 -site=* | --site=* | --sit=*)
760 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
762 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
765 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
766 | --syscon | --sysco | --sysc | --sys | --sy)
767 ac_prev=sysconfdir ;;
768 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
769 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
770 sysconfdir=$ac_optarg ;;
772 -target | --target | --targe | --targ | --tar | --ta | --t)
773 ac_prev=target_alias ;;
774 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
775 target_alias=$ac_optarg ;;
777 -v | -verbose | --verbose | --verbos | --verbo | --verb)
780 -version | --version | --versio | --versi | --vers | -V)
784 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
785 # Reject names that are not valid shell variable names.
786 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
787 { echo "$as_me: error: invalid package name: $ac_package" >&2
788 { (exit 1); exit 1; }; }
789 ac_package=`echo $ac_package| sed 's/-/_/g'`
791 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
794 eval "with_$ac_package='$ac_optarg'" ;;
796 -without-* | --without-*)
797 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
798 # Reject names that are not valid shell variable names.
799 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
800 { echo "$as_me: error: invalid package name: $ac_package" >&2
801 { (exit 1); exit 1; }; }
802 ac_package=`echo $ac_package | sed 's/-/_/g'`
803 eval "with_$ac_package=no" ;;
806 # Obsolete; use --with-x.
809 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
810 | --x-incl | --x-inc | --x-in | --x-i)
811 ac_prev=x_includes ;;
812 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
813 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
814 x_includes=$ac_optarg ;;
816 -x-libraries | --x-libraries | --x-librarie | --x-librari \
817 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
818 ac_prev=x_libraries ;;
819 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
820 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
821 x_libraries=$ac_optarg ;;
823 -*) { echo "$as_me: error: unrecognized option: $ac_option
824 Try \`$0 --help' for more information." >&2
825 { (exit 1); exit 1; }; }
829 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
830 # Reject names that are not valid shell variable names.
831 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
832 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
833 { (exit 1); exit 1; }; }
834 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
835 eval "$ac_envvar='$ac_optarg'"
839 # FIXME: should be removed in autoconf 3.0.
840 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
841 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
842 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
843 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
849 if test -n "$ac_prev"; then
850 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
851 { echo "$as_me: error: missing argument to $ac_option" >&2
852 { (exit 1); exit 1; }; }
855 # Be sure to have absolute paths.
856 for ac_var in exec_prefix prefix
858 eval ac_val=$`echo $ac_var`
860 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
861 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
862 { (exit 1); exit 1; }; };;
866 # Be sure to have absolute paths.
867 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
868 localstatedir libdir includedir oldincludedir infodir mandir
870 eval ac_val=$`echo $ac_var`
872 [\\/$]* | ?:[\\/]* ) ;;
873 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
874 { (exit 1); exit 1; }; };;
878 # There might be people who depend on the old broken behavior: `$host'
879 # used to hold the argument of --host etc.
880 # FIXME: To remove some day.
885 # FIXME: To remove some day.
886 if test "x$host_alias" != x; then
887 if test "x$build_alias" = x; then
888 cross_compiling=maybe
889 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
890 If a cross compiler is detected then cross compile mode will be used." >&2
891 elif test "x$build_alias" != "x$host_alias"; then
897 test -n "$host_alias" && ac_tool_prefix=$host_alias-
899 test "$silent" = yes && exec 6>/dev/null
902 # Find the source files, if location was not specified.
903 if test -z "$srcdir"; then
904 ac_srcdir_defaulted=yes
905 # Try the directory containing this script, then its parent.
906 ac_confdir=`(dirname "$0") 2>/dev/null ||
907 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
908 X"$0" : 'X\(//\)[^/]' \| \
909 X"$0" : 'X\(//\)$' \| \
910 X"$0" : 'X\(/\)' \| \
911 . : '\(.\)' 2>/dev/null ||
913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
914 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
915 /^X\(\/\/\)$/{ s//\1/; q; }
916 /^X\(\/\).*/{ s//\1/; q; }
919 if test ! -r $srcdir/$ac_unique_file; then
923 ac_srcdir_defaulted=no
925 if test ! -r $srcdir/$ac_unique_file; then
926 if test "$ac_srcdir_defaulted" = yes; then
927 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
928 { (exit 1); exit 1; }; }
930 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
931 { (exit 1); exit 1; }; }
934 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
935 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
936 { (exit 1); exit 1; }; }
937 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
938 ac_env_build_alias_set=${build_alias+set}
939 ac_env_build_alias_value=$build_alias
940 ac_cv_env_build_alias_set=${build_alias+set}
941 ac_cv_env_build_alias_value=$build_alias
942 ac_env_host_alias_set=${host_alias+set}
943 ac_env_host_alias_value=$host_alias
944 ac_cv_env_host_alias_set=${host_alias+set}
945 ac_cv_env_host_alias_value=$host_alias
946 ac_env_target_alias_set=${target_alias+set}
947 ac_env_target_alias_value=$target_alias
948 ac_cv_env_target_alias_set=${target_alias+set}
949 ac_cv_env_target_alias_value=$target_alias
952 # Report the --help message.
954 if test "$ac_init_help" = "long"; then
955 # Omit some internal or obsolete options to make the list less imposing.
956 # This message is too long to be a string in the A/UX 3.1 sh.
958 \`configure' configures GNU Automake 1.9a to adapt to many kinds of systems.
960 Usage: $0 [OPTION]... [VAR=VALUE]...
962 To assign environment variables (e.g., CC, CFLAGS...), specify them as
963 VAR=VALUE. See below for descriptions of some of the useful variables.
965 Defaults for the options are specified in brackets.
968 -h, --help display this help and exit
969 --help=short display options specific to this package
970 --help=recursive display the short help of all the included packages
971 -V, --version display version information and exit
972 -q, --quiet, --silent do not print \`checking...' messages
973 --cache-file=FILE cache test results in FILE [disabled]
974 -C, --config-cache alias for \`--cache-file=config.cache'
975 -n, --no-create do not create output files
976 --srcdir=DIR find the sources in DIR [configure dir or \`..']
981 Installation directories:
982 --prefix=PREFIX install architecture-independent files in PREFIX
984 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
987 By default, \`make install' will install all the files in
988 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
989 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
990 for instance \`--prefix=\$HOME'.
992 For better control, use the options below.
994 Fine tuning of the installation directories:
995 --bindir=DIR user executables [EPREFIX/bin]
996 --sbindir=DIR system admin executables [EPREFIX/sbin]
997 --libexecdir=DIR program executables [EPREFIX/libexec]
998 --datadir=DIR read-only architecture-independent data [PREFIX/share]
999 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1000 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1001 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1002 --libdir=DIR object code libraries [EPREFIX/lib]
1003 --includedir=DIR C header files [PREFIX/include]
1004 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1005 --infodir=DIR info documentation [PREFIX/info]
1006 --mandir=DIR man documentation [PREFIX/man]
1012 --program-prefix=PREFIX prepend PREFIX to installed program names
1013 --program-suffix=SUFFIX append SUFFIX to installed program names
1014 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1017 --build=BUILD configure for building on BUILD [guessed]
1021 if test -n "$ac_init_help"; then
1022 case $ac_init_help in
1023 short | recursive ) echo "Configuration of GNU Automake 1.9a:";;
1027 Report bugs to <bug-automake@gnu.org>.
1031 if test "$ac_init_help" = "recursive"; then
1032 # If there are subdirs, report their specific --help.
1034 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1035 test -d $ac_dir || continue
1038 if test "$ac_dir" != .; then
1039 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1040 # A "../" for each directory in $ac_dir_suffix.
1041 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1043 ac_dir_suffix= ac_top_builddir=
1047 .) # No --srcdir option. We are building in place.
1049 if test -z "$ac_top_builddir"; then
1052 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1054 [\\/]* | ?:[\\/]* ) # Absolute path.
1055 ac_srcdir=$srcdir$ac_dir_suffix;
1056 ac_top_srcdir=$srcdir ;;
1058 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1059 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1062 # Do not use `cd foo && pwd` to compute absolute paths, because
1063 # the directories may not exist.
1065 .) ac_abs_builddir="$ac_dir";;
1068 .) ac_abs_builddir=`pwd`;;
1069 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1070 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1073 case $ac_abs_builddir in
1074 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1076 case ${ac_top_builddir}. in
1077 .) ac_abs_top_builddir=$ac_abs_builddir;;
1078 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1079 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1082 case $ac_abs_builddir in
1083 .) ac_abs_srcdir=$ac_srcdir;;
1086 .) ac_abs_srcdir=$ac_abs_builddir;;
1087 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1088 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1091 case $ac_abs_builddir in
1092 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1094 case $ac_top_srcdir in
1095 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1096 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1097 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1102 # Check for guested configure; otherwise get Cygnus style configure.
1103 if test -f $ac_srcdir/configure.gnu; then
1105 $SHELL $ac_srcdir/configure.gnu --help=recursive
1106 elif test -f $ac_srcdir/configure; then
1108 $SHELL $ac_srcdir/configure --help=recursive
1109 elif test -f $ac_srcdir/configure.ac ||
1110 test -f $ac_srcdir/configure.in; then
1112 $ac_configure --help
1114 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1120 test -n "$ac_init_help" && exit 0
1121 if $ac_init_version; then
1123 GNU Automake configure 1.9a
1124 generated by GNU Autoconf 2.59a
1126 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
1127 2003, 2004 Free Software Foundation, Inc.
1128 This configure script is free software; the Free Software Foundation
1129 gives unlimited permission to copy, distribute and modify it.
1135 This file contains any messages produced by compilers while
1136 running configure, to aid debugging if configure makes a mistake.
1138 It was created by GNU Automake $as_me 1.9a, which was
1139 generated by GNU Autoconf 2.59a. Invocation command line was
1150 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1151 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1152 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1153 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1154 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1156 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1157 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1159 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1160 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1161 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1162 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1163 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1164 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1165 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1173 test -z "$as_dir" && as_dir=.
1174 echo "PATH: $as_dir"
1189 # Keep a trace of the command line.
1190 # Strip out --no-create and --no-recursion so they do not pile up.
1191 # Strip out --silent because we don't want to record it for future runs.
1192 # Also quote any args containing shell meta-characters.
1193 # Make two passes to allow for proper duplicate-argument suppression.
1198 ac_must_keep_next=false
1204 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1205 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1206 | -silent | --silent | --silen | --sile | --sil)
1208 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1209 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1212 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1214 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1215 if test $ac_must_keep_next = true; then
1216 ac_must_keep_next=false # Got value, back to normal.
1219 *=* | --config-cache | -C | -disable-* | --disable-* \
1220 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1221 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1222 | -with-* | --with-* | -without-* | --without-* | --x)
1223 case "$ac_configure_args0 " in
1224 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1227 -* ) ac_must_keep_next=true ;;
1230 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1231 # Get rid of the leading space.
1237 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1238 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1240 # When interrupted or exit'd, cleanup temporary files, and complete
1241 # config.log. We remove comments because anyway the quotes in there
1242 # would cause problems or look ugly.
1243 # WARNING: Be sure not to use single quotes in there, as some shells,
1244 # such as our DU 5.0 friend, will then `close' the trap.
1245 trap 'exit_status=$?
1246 # Save into config.log some information that might help in debugging.
1251 ## ---------------- ##
1252 ## Cache variables. ##
1253 ## ---------------- ##
1256 # The following way of writing the cache mishandles newlines in values,
1259 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1262 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1263 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1267 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1274 ## ----------------- ##
1275 ## Output variables. ##
1276 ## ----------------- ##
1279 for ac_var in $ac_subst_vars
1281 eval ac_val=$`echo $ac_var`
1282 echo "$ac_var='"'"'$ac_val'"'"'"
1286 if test -n "$ac_subst_files"; then
1293 for ac_var in $ac_subst_files
1295 eval ac_val=$`echo $ac_var`
1296 echo "$ac_var='"'"'$ac_val'"'"'"
1301 if test -s confdefs.h; then
1308 sed "/^$/d" confdefs.h | sort
1311 test "$ac_signal" != 0 &&
1312 echo "$as_me: caught signal $ac_signal"
1313 echo "$as_me: exit $exit_status"
1315 rm -f core *.core &&
1316 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1319 for ac_signal in 1 2 13 15; do
1320 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1324 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1325 rm -f -r conftest* confdefs.h
1326 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1327 # NextStep 3.3 (patch 3) loses unless the first echo outputs at least 14 bytes.
1329 echo "$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space$ac_space" >confdefs.h
1331 # Predefined preprocessor variables.
1333 cat >>confdefs.h <<_ACEOF
1334 #define PACKAGE_NAME "$PACKAGE_NAME"
1338 cat >>confdefs.h <<_ACEOF
1339 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1343 cat >>confdefs.h <<_ACEOF
1344 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_STRING "$PACKAGE_STRING"
1353 cat >>confdefs.h <<_ACEOF
1354 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1358 # Let the site file select an alternate cache file if it wants to.
1359 # Prefer explicitly selected file to automatically selected ones.
1360 if test -z "$CONFIG_SITE"; then
1361 if test "x$prefix" != xNONE; then
1362 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1364 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1367 for ac_site_file in $CONFIG_SITE; do
1368 if test -r "$ac_site_file"; then
1369 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1370 echo "$as_me: loading site script $ac_site_file" >&6;}
1371 sed 's/^/| /' "$ac_site_file" >&5
1376 if test -r "$cache_file"; then
1377 # Some versions of bash will fail to source /dev/null (special
1378 # files actually), so we avoid doing that.
1379 if test -f "$cache_file"; then
1380 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1381 echo "$as_me: loading cache $cache_file" >&6;}
1383 [\\/]* | ?:[\\/]* ) . $cache_file;;
1384 *) . ./$cache_file;;
1388 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1389 echo "$as_me: creating cache $cache_file" >&6;}
1393 # Check that the precious variables saved in the cache have kept the same
1395 ac_cache_corrupted=false
1396 for ac_var in `(set) 2>&1 |
1397 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1398 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1399 eval ac_new_set=\$ac_env_${ac_var}_set
1400 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1401 eval ac_new_val="\$ac_env_${ac_var}_value"
1402 case $ac_old_set,$ac_new_set in
1404 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1405 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1406 ac_cache_corrupted=: ;;
1408 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1409 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1410 ac_cache_corrupted=: ;;
1413 if test "x$ac_old_val" != "x$ac_new_val"; then
1414 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1415 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1416 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1417 echo "$as_me: former value: $ac_old_val" >&2;}
1418 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1419 echo "$as_me: current value: $ac_new_val" >&2;}
1420 ac_cache_corrupted=:
1423 # Pass precious variables to config.status.
1424 if test "$ac_new_set" = set; then
1426 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1427 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1428 *) ac_arg=$ac_var=$ac_new_val ;;
1430 case " $ac_configure_args " in
1431 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1432 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1436 if $ac_cache_corrupted; then
1437 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1438 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1439 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1440 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1441 { (exit 1); exit 1; }; }
1445 ac_cpp='$CPP $CPPFLAGS'
1446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1479 for ac_dir in lib $srcdir/lib; do
1480 if test -f $ac_dir/install-sh; then
1482 ac_install_sh="$ac_aux_dir/install-sh -c"
1484 elif test -f $ac_dir/install.sh; then
1486 ac_install_sh="$ac_aux_dir/install.sh -c"
1488 elif test -f $ac_dir/shtool; then
1490 ac_install_sh="$ac_aux_dir/shtool install -c"
1494 if test -z "$ac_aux_dir"; then
1495 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&5
1496 echo "$as_me: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&2;}
1497 { (exit 1); exit 1; }; }
1499 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1500 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1501 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1504 # Make sure we can run config.sub.
1505 $ac_config_sub sun4 >/dev/null 2>&1 ||
1506 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1507 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1508 { (exit 1); exit 1; }; }
1510 echo "$as_me:$LINENO: checking build system type" >&5
1511 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1512 if test "${ac_cv_build+set}" = set; then
1513 echo $ECHO_N "(cached) $ECHO_C" >&6
1515 ac_cv_build_alias=$build_alias
1516 test -z "$ac_cv_build_alias" &&
1517 ac_cv_build_alias=`$ac_config_guess`
1518 test -z "$ac_cv_build_alias" &&
1519 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1520 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1521 { (exit 1); exit 1; }; }
1522 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1523 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1524 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1525 { (exit 1); exit 1; }; }
1528 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1529 echo "${ECHO_T}$ac_cv_build" >&6
1531 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1532 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1533 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1537 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it;
1538 # this way we can run Autoconf tests from configure without being
1539 # bothered by `missing'.
1540 am_AUTOCONF=${AUTOCONF-autoconf}
1542 am__api_version="1.9a"
1543 # Find a good install program. We prefer a C program (faster),
1544 # so one script is as good as another. But avoid the broken or
1545 # incompatible versions:
1546 # SysV /etc/install, /usr/sbin/install
1547 # SunOS /usr/etc/install
1548 # IRIX /sbin/install
1550 # AmigaOS /C/install, which installs bootblocks on floppy discs
1551 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1552 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1553 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1554 # OS/2's system install, which has a completely different semantic
1555 # ./install, which can be erroneously created by make from ./install.sh.
1556 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1557 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1558 if test -z "$INSTALL"; then
1559 if test "${ac_cv_path_install+set}" = set; then
1560 echo $ECHO_N "(cached) $ECHO_C" >&6
1562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1566 test -z "$as_dir" && as_dir=.
1567 # Account for people who put trailing slashes in PATH elements.
1569 ./ | .// | /cC/* | \
1570 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1571 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1574 # OSF1 and SCO ODT 3.0 have their own names for install.
1575 # Don't use installbsd from OSF since it installs stuff as root
1577 for ac_prog in ginstall scoinst install; do
1578 for ac_exec_ext in '' $ac_executable_extensions; do
1579 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1580 if test $ac_prog = install &&
1581 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1582 # AIX install. It has an incompatible calling convention.
1584 elif test $ac_prog = install &&
1585 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1586 # program-specific install script used by HP pwplus--don't use.
1589 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1601 if test "${ac_cv_path_install+set}" = set; then
1602 INSTALL=$ac_cv_path_install
1604 # As a last resort, use the slow shell script. We don't cache a
1605 # path for INSTALL within a source directory, because that will
1606 # break other packages using the cache if that directory is
1607 # removed, or if the path is relative.
1608 INSTALL=$ac_install_sh
1611 echo "$as_me:$LINENO: result: $INSTALL" >&5
1612 echo "${ECHO_T}$INSTALL" >&6
1614 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1615 # It thinks the first close brace ends the variable substitution.
1616 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1618 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1620 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1622 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1623 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1626 echo timestamp > conftest.file
1627 # Do `set' in a subshell so we don't clobber the current shell's
1628 # arguments. Must try -L first in case configure is actually a
1629 # symlink; some systems play weird games with the mod time of symlinks
1630 # (eg FreeBSD returns the mod time of the symlink's containing
1633 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1634 if test "$*" = "X"; then
1636 set X `ls -t $srcdir/configure conftest.file`
1639 if test "$*" != "X $srcdir/configure conftest.file" \
1640 && test "$*" != "X conftest.file $srcdir/configure"; then
1642 # If neither matched, then we have a broken ls. This can happen
1643 # if, for instance, CONFIG_SHELL is bash and it inherits a
1644 # broken ls alias from the environment. This has actually
1645 # happened. Such a system could not be considered "sane".
1646 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1647 alias in your environment" >&5
1648 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1649 alias in your environment" >&2;}
1650 { (exit 1); exit 1; }; }
1653 test "$2" = conftest.file
1659 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1660 Check your system clock" >&5
1661 echo "$as_me: error: newly created file is older than distributed files!
1662 Check your system clock" >&2;}
1663 { (exit 1); exit 1; }; }
1665 echo "$as_me:$LINENO: result: yes" >&5
1666 echo "${ECHO_T}yes" >&6
1667 test "$program_prefix" != NONE &&
1668 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1669 # Use a double $ so make ignores it.
1670 test "$program_suffix" != NONE &&
1671 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1672 # Double any \ or $. echo might interpret backslashes.
1673 # By default was `s,x,x', remove it if useless.
1674 cat <<\_ACEOF >conftest.sed
1675 s/[\\$]/&&/g;s/;s,x,x,$//
1677 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1680 # expand $ac_aux_dir to an absolute path
1681 am_aux_dir=`cd $ac_aux_dir && pwd`
1683 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1684 # Use eval to expand $SHELL
1685 if eval "$MISSING --run true"; then
1686 am_missing_run="$MISSING --run "
1689 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1690 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1693 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1694 # We used to keeping the `.' as first argument, in order to
1695 # allow $(mkdir_p) to be used without argument. As in
1696 # $(mkdir_p) $(somedir)
1697 # where $(somedir) is conditionally defined. However this is wrong
1699 # 1. if the package is installed by a user who cannot write `.'
1700 # make install will fail,
1701 # 2. the above comment should most certainly read
1702 # $(mkdir_p) $(DESTDIR)$(somedir)
1703 # so it does not work when $(somedir) is undefined and
1704 # $(DESTDIR) is not.
1705 # To support the latter case, we have to write
1706 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1707 # so the `.' trick is pointless.
1708 mkdir_p='mkdir -p --'
1710 # On NextStep and OpenStep, the `mkdir' command does not
1711 # recognize any option. It will interpret all options as
1712 # directories to create, and then abort because `.' already
1714 for d in ./-p ./--version;
1716 test -d $d && rmdir $d
1718 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1719 if test -f "$ac_aux_dir/mkinstalldirs"; then
1720 mkdir_p='$(mkinstalldirs)'
1722 mkdir_p='$(install_sh) -d'
1726 for ac_prog in gawk mawk nawk awk
1728 # Extract the first word of "$ac_prog", so it can be a program name with args.
1729 set dummy $ac_prog; ac_word=$2
1730 echo "$as_me:$LINENO: checking for $ac_word" >&5
1731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1732 if test "${ac_cv_prog_AWK+set}" = set; then
1733 echo $ECHO_N "(cached) $ECHO_C" >&6
1735 if test -n "$AWK"; then
1736 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1742 test -z "$as_dir" && as_dir=.
1743 for ac_exec_ext in '' $ac_executable_extensions; do
1744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1745 ac_cv_prog_AWK="$ac_prog"
1746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1755 if test -n "$AWK"; then
1756 echo "$as_me:$LINENO: result: $AWK" >&5
1757 echo "${ECHO_T}$AWK" >&6
1759 echo "$as_me:$LINENO: result: no" >&5
1760 echo "${ECHO_T}no" >&6
1763 test -n "$AWK" && break
1766 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1767 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1768 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1769 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1770 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 cat >conftest.make <<\_ACEOF
1774 @echo 'ac_maketemp="$(MAKE)"'
1776 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1777 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1778 if test -n "$ac_maketemp"; then
1779 eval ac_cv_prog_make_${ac_make}_set=yes
1781 eval ac_cv_prog_make_${ac_make}_set=no
1785 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1786 echo "$as_me:$LINENO: result: yes" >&5
1787 echo "${ECHO_T}yes" >&6
1790 echo "$as_me:$LINENO: result: no" >&5
1791 echo "${ECHO_T}no" >&6
1792 SET_MAKE="MAKE=${MAKE-make}"
1795 rm -rf .tst 2>/dev/null
1796 mkdir .tst 2>/dev/null
1797 if test -d .tst; then
1802 rmdir .tst 2>/dev/null
1804 # test to see if srcdir already configured
1805 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1806 test -f $srcdir/config.status; then
1807 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1808 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1809 { (exit 1); exit 1; }; }
1812 # test whether we have cygpath
1813 if test -z "$CYGPATH_W"; then
1814 if (cygpath --version) >/dev/null 2>/dev/null; then
1815 CYGPATH_W='cygpath -w'
1822 # Define the identity of the package.
1827 cat >>confdefs.h <<_ACEOF
1828 #define PACKAGE "$PACKAGE"
1832 cat >>confdefs.h <<_ACEOF
1833 #define VERSION "$VERSION"
1836 # Some tools Automake needs.
1838 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1841 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1844 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1847 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1850 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1852 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1854 # Installed binaries are usually stripped using `strip' when the user
1855 # run `make install-strip'. However `strip' might not be the right
1856 # tool to use in cross-compilation environments, therefore Automake
1857 # will honor the `STRIP' environment variable to overrule this program.
1858 if test "$cross_compiling" != no; then
1859 if test -n "$ac_tool_prefix"; then
1860 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1861 set dummy ${ac_tool_prefix}strip; ac_word=$2
1862 echo "$as_me:$LINENO: checking for $ac_word" >&5
1863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1864 if test "${ac_cv_prog_STRIP+set}" = set; then
1865 echo $ECHO_N "(cached) $ECHO_C" >&6
1867 if test -n "$STRIP"; then
1868 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1874 test -z "$as_dir" && as_dir=.
1875 for ac_exec_ext in '' $ac_executable_extensions; do
1876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1877 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1886 STRIP=$ac_cv_prog_STRIP
1887 if test -n "$STRIP"; then
1888 echo "$as_me:$LINENO: result: $STRIP" >&5
1889 echo "${ECHO_T}$STRIP" >&6
1891 echo "$as_me:$LINENO: result: no" >&5
1892 echo "${ECHO_T}no" >&6
1896 if test -z "$ac_cv_prog_STRIP"; then
1898 # Extract the first word of "strip", so it can be a program name with args.
1899 set dummy strip; ac_word=$2
1900 echo "$as_me:$LINENO: checking for $ac_word" >&5
1901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1902 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1903 echo $ECHO_N "(cached) $ECHO_C" >&6
1905 if test -n "$ac_ct_STRIP"; then
1906 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912 test -z "$as_dir" && as_dir=.
1913 for ac_exec_ext in '' $ac_executable_extensions; do
1914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1915 ac_cv_prog_ac_ct_STRIP="strip"
1916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1924 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1925 if test -n "$ac_ct_STRIP"; then
1926 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1927 echo "${ECHO_T}$ac_ct_STRIP" >&6
1929 echo "$as_me:$LINENO: result: no" >&5
1930 echo "${ECHO_T}no" >&6
1933 if test "x$ac_ct_STRIP" = x; then
1936 if test "$build" != "$host"; then
1937 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1938 whose name does not start with the host triplet. If you think this
1939 configuration is useful to you, please write to autoconf@gnu.org." >&5
1940 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1941 whose name does not start with the host triplet. If you think this
1942 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1947 STRIP="$ac_cv_prog_STRIP"
1951 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1953 # We need awk for the "check" target. The system "awk" is bad on
1955 # Always define AMTAR for backward compatibility.
1957 AMTAR=${AMTAR-"${am_missing_run}tar"}
1959 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1966 # The API version is the base version. We must guarantee
1967 # compatibility for all releases with the same API version.
1968 # Our current rule is that:
1969 # * All releases, including the prereleases, in an X.Y series
1970 # are compatible. So 1.5.1c is compatible with 1.5.
1971 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
1973 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
1976 # A versioned directory, defined here for convenience.
1977 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
1980 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
1981 # hence `.' is really what we want for perllibdir, libdir, and acdir.
1982 ACLOCAL="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/aclocal --acdir=m4"
1983 AUTOMAKE="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/automake --libdir=lib"
1985 # Extract the first word of "perl", so it can be a program name with args.
1986 set dummy perl; ac_word=$2
1987 echo "$as_me:$LINENO: checking for $ac_word" >&5
1988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1989 if test "${ac_cv_path_PERL+set}" = set; then
1990 echo $ECHO_N "(cached) $ECHO_C" >&6
1994 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001 test -z "$as_dir" && as_dir=.
2002 for ac_exec_ext in '' $ac_executable_extensions; do
2003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2004 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2014 PERL=$ac_cv_path_PERL
2016 if test -n "$PERL"; then
2017 echo "$as_me:$LINENO: result: $PERL" >&5
2018 echo "${ECHO_T}$PERL" >&6
2020 echo "$as_me:$LINENO: result: no" >&5
2021 echo "${ECHO_T}no" >&6
2024 if test -z "$PERL"; then
2025 { { echo "$as_me:$LINENO: error: perl not found" >&5
2026 echo "$as_me: error: perl not found" >&2;}
2027 { (exit 1); exit 1; }; }
2029 $PERL -e 'require 5.006;' || {
2030 { { echo "$as_me:$LINENO: error: perl 5.6 or better is required. If you have several perl
2031 versions installed, select the one Automake should use using
2032 ./configure PERL=/path/to/perl" >&5
2033 echo "$as_me: error: perl 5.6 or better is required. If you have several perl
2034 versions installed, select the one Automake should use using
2035 ./configure PERL=/path/to/perl" >&2;}
2036 { (exit 1); exit 1; }; }
2039 # The test suite will skip some tests if tex is absent.
2040 # Extract the first word of "tex", so it can be a program name with args.
2041 set dummy tex; ac_word=$2
2042 echo "$as_me:$LINENO: checking for $ac_word" >&5
2043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2044 if test "${ac_cv_prog_TEX+set}" = set; then
2045 echo $ECHO_N "(cached) $ECHO_C" >&6
2047 if test -n "$TEX"; then
2048 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2054 test -z "$as_dir" && as_dir=.
2055 for ac_exec_ext in '' $ac_executable_extensions; do
2056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2057 ac_cv_prog_TEX="tex"
2058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2067 if test -n "$TEX"; then
2068 echo "$as_me:$LINENO: result: $TEX" >&5
2069 echo "${ECHO_T}$TEX" >&6
2071 echo "$as_me:$LINENO: result: no" >&5
2072 echo "${ECHO_T}no" >&6
2076 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2077 # deletion of any files created (such as those added to
2078 # autom4te.cache). We used to perform only the last of the three
2079 # following tests, but some users were unable to figure out that their
2080 # installation was broken since --version appeared to work.
2082 echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
2083 echo $ECHO_N "checking whether autoconf is installed... $ECHO_C" >&6
2084 if test "${am_cv_autoconf_installed+set}" = set; then
2085 echo $ECHO_N "(cached) $ECHO_C" >&6
2087 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2088 (eval $am_AUTOCONF --version) >&5 2>&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); };
2093 am_cv_autoconf_installed=yes
2095 am_cv_autoconf_installed=no
2098 echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
2099 echo "${ECHO_T}$am_cv_autoconf_installed" >&6
2100 if test "$am_cv_autoconf_installed" = no; then
2101 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required.
2102 Please make sure it is installed and in your PATH." >&5
2103 echo "$as_me: error: Autoconf 2.58 or better is required.
2104 Please make sure it is installed and in your PATH." >&2;}
2105 { (exit 1); exit 1; }; }
2108 echo "$as_me:$LINENO: checking whether autoconf works" >&5
2109 echo $ECHO_N "checking whether autoconf works... $ECHO_C" >&6
2110 if test "${am_cv_autoconf_works+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2114 echo 'AC''_INIT' > conftest/conftest.ac
2115 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2116 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); };
2121 am_cv_autoconf_works=yes
2123 am_cv_autoconf_works=no
2127 echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
2128 echo "${ECHO_T}$am_cv_autoconf_works" >&6
2129 if test "$am_cv_autoconf_works" = no; then
2130 { { echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
2131 Please check config.log for error messages before this one." >&5
2132 echo "$as_me: error: The installed version of autoconf does not work.
2133 Please check config.log for error messages before this one." >&2;}
2134 { (exit 1); exit 1; }; }
2137 echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
2138 echo $ECHO_N "checking whether autoconf is recent enough... $ECHO_C" >&6
2139 if test "${am_cv_autoconf_version+set}" = set; then
2140 echo $ECHO_N "(cached) $ECHO_C" >&6
2143 echo 'AC''_PREREQ(2.58)' > conftest/conftest.ac
2144 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2145 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); };
2150 am_cv_autoconf_version=yes
2152 am_cv_autoconf_version=no
2156 echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
2157 echo "${ECHO_T}$am_cv_autoconf_version" >&6
2158 if test "$am_cv_autoconf_version" = no; then
2159 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required." >&5
2160 echo "$as_me: error: Autoconf 2.58 or better is required." >&2;}
2161 { (exit 1); exit 1; }; }
2164 # Test for ln. We need use it to install the versioned binaries.
2165 echo "$as_me:$LINENO: checking whether ln works" >&5
2166 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
2167 if test "${am_cv_prog_ln+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2171 rm -f conftest conftest.file
2173 if ln conftest.file conftest 2>/dev/null; then
2176 am_cv_prog_ln='cp -p'
2178 rm -f conftest conftest.file
2184 test "x$am_cv_prog_ln" = xln && result=yes
2185 echo "$as_me:$LINENO: result: $result" >&5
2186 echo "${ECHO_T}$result" >&6
2188 # The amount we should wait after modifying files depends on the platform.
2189 # On Windows '95, '98 and ME, files modifications have 2-seconds
2190 # granularity and can be up to 3 seconds in the future w.r.t. the
2191 # system clock. When it is important to ensure one file is older
2192 # than another we wait at least 5 seconds between creations.
2194 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2195 *) MODIFICATION_DELAY=2;;
2199 # Test for things needed by the test suite.
2200 echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2201 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6
2202 if test "${ac_cv_path_GREP+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2205 # Extract the first word of "grep ggrep" to use in msg output
2206 if test -z "$GREP"; then
2207 set dummy grep ggrep; ac_prog_name=$2
2208 if test "${ac_cv_path_GREP+set}" = set; then
2209 echo $ECHO_N "(cached) $ECHO_C" >&6
2211 # Create a temporary directory, and hook for its removal unless debugging.
2214 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
2215 trap '{ (exit 1); exit 1; }' 1 2 13 15
2218 # Create a (secure) tmp directory for tmp files.
2221 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/GREPXXXXXX") 2>/dev/null` &&
2222 test -n "$tmp" && test -d "$tmp"
2225 tmp=$TMPDIR/GREP$$-$RANDOM
2226 (umask 077 && mkdir $tmp)
2229 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2230 { (exit 1); exit 1; }
2232 ac_path_GREP_found=false
2233 # Loop through the user's path and test for each of PROGNAME-LIST
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235 as_dummy="$PATH:/usr/xpg4/bin"
2236 for as_dir in $as_dummy
2239 test -z "$as_dir" && as_dir=.
2240 for ac_prog in grep ggrep; do
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2243 test -f "$ac_path_GREP" || continue
2244 $ac_path_GREP_found || if $as_executable_p "$ac_path_GREP"; then
2245 # Check for GNU ac_path_GREP and select it if it is found.
2246 # Check for GNU $ac_path_GREP
2247 if "$ac_path_GREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2248 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:
2251 echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
2254 cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
2255 mv "$tmp/conftest.tmp" "$tmp/conftest.in"
2256 cp "$tmp/conftest.in" "$tmp/conftest.nl"
2257 echo 'GREP' >> "$tmp/conftest.nl"
2258 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev/null || break
2259 diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
2260 ac_count=`expr $ac_count + 1`
2261 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2262 # Best one so far, save it but keep looking for a better one
2263 ac_cv_path_GREP="$ac_path_GREP"
2264 ac_path_GREP_max=$ac_count
2266 # 10*(2^10) chars as input seems more than enough
2267 test $ac_count -gt 10 && break
2273 $ac_path_GREP_found && break 3
2283 GREP="$ac_cv_path_GREP"
2284 if test -z "$GREP"; then
2285 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2286 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2287 { (exit 1); exit 1; }; }
2294 echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2295 echo "${ECHO_T}$ac_cv_path_GREP" >&6
2296 GREP="$ac_cv_path_GREP"
2299 echo "$as_me:$LINENO: checking for egrep" >&5
2300 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2301 if test "${ac_cv_path_EGREP+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1
2305 then ac_cv_path_EGREP="$GREP -E"
2307 # Extract the first word of "egrep" to use in msg output
2308 if test -z "$EGREP"; then
2309 set dummy egrep; ac_prog_name=$2
2310 if test "${ac_cv_path_EGREP+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 # Create a temporary directory, and hook for its removal unless debugging.
2316 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
2317 trap '{ (exit 1); exit 1; }' 1 2 13 15
2320 # Create a (secure) tmp directory for tmp files.
2323 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/EGREPXXXXXX") 2>/dev/null` &&
2324 test -n "$tmp" && test -d "$tmp"
2327 tmp=$TMPDIR/EGREP$$-$RANDOM
2328 (umask 077 && mkdir $tmp)
2331 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2332 { (exit 1); exit 1; }
2334 ac_path_EGREP_found=false
2335 # Loop through the user's path and test for each of PROGNAME-LIST
2336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2337 as_dummy="$PATH:/usr/xpg4/bin"
2338 for as_dir in $as_dummy
2341 test -z "$as_dir" && as_dir=.
2342 for ac_prog in egrep; do
2343 for ac_exec_ext in '' $ac_executable_extensions; do
2344 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2345 test -f "$ac_path_EGREP" || continue
2346 $ac_path_EGREP_found || if $as_executable_p "$ac_path_EGREP"; then
2347 # Check for GNU ac_path_EGREP and select it if it is found.
2348 # Check for GNU $ac_path_EGREP
2349 if "$ac_path_EGREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2350 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:
2353 echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
2356 cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
2357 mv "$tmp/conftest.tmp" "$tmp/conftest.in"
2358 cp "$tmp/conftest.in" "$tmp/conftest.nl"
2359 echo 'EGREP' >> "$tmp/conftest.nl"
2360 "$ac_path_EGREP" 'EGREP$' < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev/null || break
2361 diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
2362 ac_count=`expr $ac_count + 1`
2363 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2364 # Best one so far, save it but keep looking for a better one
2365 ac_cv_path_EGREP="$ac_path_EGREP"
2366 ac_path_EGREP_max=$ac_count
2368 # 10*(2^10) chars as input seems more than enough
2369 test $ac_count -gt 10 && break
2375 $ac_path_EGREP_found && break 3
2385 EGREP="$ac_cv_path_EGREP"
2386 if test -z "$EGREP"; then
2387 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2388 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2389 { (exit 1); exit 1; }; }
2397 echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2398 echo "${ECHO_T}$ac_cv_path_EGREP" >&6
2399 EGREP="$ac_cv_path_EGREP"
2402 echo "$as_me:$LINENO: checking for fgrep" >&5
2403 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
2404 if test "${ac_cv_path_FGREP+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2407 if echo 'ab*c' | ($GREP -F 'ab*c') >/dev/null 2>&1
2408 then ac_cv_path_FGREP="$GREP -F"
2410 # Extract the first word of "fgrep" to use in msg output
2411 if test -z "$FGREP"; then
2412 set dummy fgrep; ac_prog_name=$2
2413 if test "${ac_cv_path_FGREP+set}" = set; then
2414 echo $ECHO_N "(cached) $ECHO_C" >&6
2416 # Create a temporary directory, and hook for its removal unless debugging.
2419 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
2420 trap '{ (exit 1); exit 1; }' 1 2 13 15
2423 # Create a (secure) tmp directory for tmp files.
2426 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/FGREPXXXXXX") 2>/dev/null` &&
2427 test -n "$tmp" && test -d "$tmp"
2430 tmp=$TMPDIR/FGREP$$-$RANDOM
2431 (umask 077 && mkdir $tmp)
2434 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2435 { (exit 1); exit 1; }
2437 ac_path_FGREP_found=false
2438 # Loop through the user's path and test for each of PROGNAME-LIST
2439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2440 as_dummy="$PATH:/usr/xpg4/bin"
2441 for as_dir in $as_dummy
2444 test -z "$as_dir" && as_dir=.
2445 for ac_prog in fgrep; do
2446 for ac_exec_ext in '' $ac_executable_extensions; do
2447 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2448 test -f "$ac_path_FGREP" || continue
2449 $ac_path_FGREP_found || if $as_executable_p "$ac_path_FGREP"; then
2450 # Check for GNU ac_path_FGREP and select it if it is found.
2451 # Check for GNU $ac_path_FGREP
2452 if "$ac_path_FGREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2453 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:
2456 echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
2459 cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
2460 mv "$tmp/conftest.tmp" "$tmp/conftest.in"
2461 cp "$tmp/conftest.in" "$tmp/conftest.nl"
2462 echo 'FGREP' >> "$tmp/conftest.nl"
2463 "$ac_path_FGREP" FGREP < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev/null || break
2464 diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
2465 ac_count=`expr $ac_count + 1`
2466 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2467 # Best one so far, save it but keep looking for a better one
2468 ac_cv_path_FGREP="$ac_path_FGREP"
2469 ac_path_FGREP_max=$ac_count
2471 # 10*(2^10) chars as input seems more than enough
2472 test $ac_count -gt 10 && break
2478 $ac_path_FGREP_found && break 3
2488 FGREP="$ac_cv_path_FGREP"
2489 if test -z "$FGREP"; then
2490 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2491 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2492 { (exit 1); exit 1; }; }
2500 echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
2501 echo "${ECHO_T}$ac_cv_path_FGREP" >&6
2502 FGREP="$ac_cv_path_FGREP"
2506 ac_config_files="$ac_config_files Makefile doc/Makefile lib/Automake/Makefile lib/Automake/tests/Makefile lib/Makefile lib/am/Makefile m4/Makefile tests/Makefile tests/defs"
2508 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2510 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2513 cat >confcache <<\_ACEOF
2514 # This file is a shell script that caches the results of configure
2515 # tests run on this system so they can be shared between configure
2516 # scripts and configure runs, see configure's option --config-cache.
2517 # It is not useful on other systems. If it contains results you don't
2518 # want to keep, you may remove or edit it.
2520 # config.status only pays attention to the cache file if you give it
2521 # the --recheck option to rerun configure.
2523 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2524 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2529 # The following way of writing the cache mishandles newlines in values,
2530 # but we know of no workaround that is simple, portable, and efficient.
2531 # So, don't put newlines in cache variables' values.
2532 # Ultrix sh set writes to stderr and can't be redirected directly,
2533 # and sets the high bit in the cache file unless we assign to the vars.
2536 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2538 # `set' does not quote correctly, so add quotes (double-quote
2539 # substitution turns \\\\ into \\, and sed turns \\ into \).
2542 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2545 # `set' quotes correctly as required by POSIX, so do not add quotes.
2547 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2554 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2556 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2558 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2559 if test -w $cache_file; then
2560 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2561 cat confcache >$cache_file
2563 echo "not updating unwritable cache $cache_file"
2568 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2569 # Let make expand exec_prefix.
2570 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2572 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2573 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2574 # trailing colons and then remove the whole line if VPATH becomes empty
2575 # (actually we leave an empty line to preserve line numbers).
2576 if test "x$srcdir" = x.; then
2577 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2578 s/:*\$(srcdir):*/:/;
2579 s/:*\${srcdir}:*/:/;
2581 s/^\([^=]*=[ ]*\):*/\1/;
2587 # Transform confdefs.h into DEFS.
2588 # Protect against shell expansion while executing Makefile rules.
2589 # Protect against Makefile macro expansion.
2591 # If the first sed substitution is executed (which looks for macros that
2592 # take arguments), then we branch to the quote section. Otherwise,
2593 # look for a macro that doesn't take arguments.
2594 cat >confdef2opt.sed <<\_ACEOF
2597 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2599 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2603 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2609 # We use echo to avoid assuming a particular line-breaking character.
2610 # The extra dot is to prevent the shell from consuming trailing
2611 # line-breaks from the sub-command output. A line-break within
2612 # single-quotes doesn't work because, if this script is created in a
2613 # platform that uses two characters for line-breaks (e.g., DOS), tr
2615 ac_LF_and_DOT=`echo; echo .`
2616 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2617 rm -f confdef2opt.sed
2622 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2623 # 1. Remove the extension, and $U if already installed.
2624 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2625 ac_i=`echo "$ac_i" | sed "$ac_script"`
2627 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2628 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2632 LTLIBOBJS=$ac_ltlibobjs
2636 : ${CONFIG_STATUS=./config.status}
2637 ac_clean_files_save=$ac_clean_files
2638 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2639 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2640 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2641 cat >$CONFIG_STATUS <<_ACEOF
2643 # Generated by $as_me.
2644 # Run this file to recreate the current configuration.
2645 # Compiler output produced by configure, useful for debugging
2646 # configure, is in config.log if it exists.
2651 SHELL=\${CONFIG_SHELL-$SHELL}
2654 cat >>$CONFIG_STATUS <<\_ACEOF
2655 ## --------------------- ##
2656 ## M4sh Initialization. ##
2657 ## --------------------- ##
2659 # Be Bourne compatible
2660 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2663 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2664 # is contrary to our usage. Disable this feature.
2665 alias -g '${1+"$@"}'='"$@"'
2666 setopt NO_GLOB_SUBST
2667 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2670 BIN_SH=xpg4; export BIN_SH # for Tru64
2671 DUALCASE=1; export DUALCASE # for MKS sh
2675 # Avoid depending upon Character Ranges.
2676 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2677 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2678 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2679 as_cr_digits='0123456789'
2680 as_cr_alnum=$as_cr_Letters$as_cr_digits
2682 # The user is always right.
2683 if test "${PATH_SEPARATOR+set}" != set; then
2684 echo "#! /bin/sh" >conf$$.sh
2685 echo "exit 0" >>conf$$.sh
2687 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2695 # Support unset when possible.
2696 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2703 # Find who we are. Look in the path if we contain no path at all
2706 *[\\/]* ) as_myself=$0 ;;
2707 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2711 test -z "$as_dir" && as_dir=.
2712 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2717 # We did not find ourselves, most probably we were run as `sh COMMAND'
2718 # in which case we are not to be found in the path.
2719 if test "x$as_myself" = x; then
2722 if test ! -f "$as_myself"; then
2723 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2724 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2725 { (exit 1); exit 1; }; }
2728 # Work around bugs in pre-3.0 UWIN ksh.
2729 for as_var in ENV MAIL MAILPATH
2730 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2738 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2739 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2740 LC_TELEPHONE LC_TIME
2742 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2743 eval $as_var=C; export $as_var
2745 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2749 # Required to use basename.
2750 if expr a : '\(a\)' >/dev/null 2>&1; then
2756 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2757 as_basename=basename
2763 # Name of the executable.
2764 as_me=`$as_basename "$0" ||
2765 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2766 X"$0" : 'X\(//\)$' \| \
2767 X"$0" : 'X\(/\)$' \| \
2768 . : '\(.\)' 2>/dev/null ||
2770 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2771 /^X\/\(\/\/\)$/{ s//\1/; q; }
2772 /^X\/\(\/\).*/{ s//\1/; q; }
2780 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2781 test "x$as_lineno_1" != "x$as_lineno_2" &&
2782 test "x$as_lineno_3" = "x$as_lineno_2" || {
2784 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2785 # uniformly replaced by the line number. The first 'sed' inserts a
2786 # line-number line after each line using $LINENO; the second 'sed'
2787 # does the real work. The second script uses 'N' to pair each
2788 # line-number line with the line containing $LINENO, and appends
2789 # trailing '-' during substitution so that $LINENO is not a special
2791 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2792 # scripts with optimization help from Paolo Bonzini. Blame Lee
2793 # E. McMahon (1931-1989) for sed's syntax. :-)
2805 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
2809 chmod +x $as_me.lineno ||
2810 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2811 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2812 { (exit 1); exit 1; }; }
2814 # Don't try to exec as it changes $[0], causing all sort of problems
2815 # (the dirname of $[0] is not the place where we might find the
2816 # original and so on. Autoconf is especially sensible to this).
2818 # Exit status is that of the last command.
2823 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2824 *c*,-n*) ECHO_N= ECHO_C='
2826 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2827 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2830 if expr a : '\(a\)' >/dev/null 2>&1; then
2836 rm -f conf$$ conf$$.exe conf$$.file
2838 if ln -s conf$$.file conf$$ 2>/dev/null; then
2839 # We could just check for DJGPP; but this test a) works b) is more generic
2840 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2841 if test -f conf$$.exe; then
2842 # Don't use ln at all; we don't have any links
2847 elif ln conf$$.file conf$$ 2>/dev/null; then
2852 rm -f conf$$ conf$$.exe conf$$.file
2854 if mkdir -p . 2>/dev/null; then
2857 test -d ./-p && rmdir ./-p
2861 as_executable_p="test -f"
2863 # Sed expression to map a string onto a valid CPP name.
2864 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2866 # Sed expression to map a string onto a valid variable name.
2867 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2871 # We need space, tab and new line, in precisely that order.
2881 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2882 # report actual input values of CONFIG_FILES etc. instead of their
2883 # values after options handling. Logging --version etc. is OK.
2887 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2888 ## Running $as_me. ##
2893 This file was extended by GNU Automake $as_me 1.9a, which was
2894 generated by GNU Autoconf 2.59a. Invocation command line was
2896 CONFIG_FILES = $CONFIG_FILES
2897 CONFIG_HEADERS = $CONFIG_HEADERS
2898 CONFIG_LINKS = $CONFIG_LINKS
2899 CONFIG_COMMANDS = $CONFIG_COMMANDS
2903 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2907 # Files that config.status was made for.
2908 if test -n "$ac_config_files"; then
2909 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2912 if test -n "$ac_config_headers"; then
2913 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2916 if test -n "$ac_config_links"; then
2917 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2920 if test -n "$ac_config_commands"; then
2921 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2924 cat >>$CONFIG_STATUS <<\_ACEOF
2927 \`$as_me' instantiates files from templates according to the
2928 current configuration.
2930 Usage: $0 [OPTIONS] [FILE]...
2932 -h, --help print this help, then exit
2933 -V, --version print version number, then exit
2934 -q, --quiet do not print progress messages
2935 -d, --debug don't remove temporary files
2936 --recheck update $as_me by reconfiguring in the same conditions
2937 --file=FILE[:TEMPLATE]
2938 instantiate the configuration file FILE
2940 Configuration files:
2943 Report bugs to <bug-autoconf@gnu.org>."
2946 cat >>$CONFIG_STATUS <<_ACEOF
2948 GNU Automake config.status 1.9a
2949 configured by $0, generated by GNU Autoconf 2.59a,
2950 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2952 Copyright (C) 2004 Free Software Foundation, Inc.
2953 This config.status script is free software; the Free Software Foundation
2954 gives unlimited permission to copy, distribute and modify it."
2959 cat >>$CONFIG_STATUS <<\_ACEOF
2960 # If no file are specified by the user, then we need to provide default
2961 # value. By we need to know if files were specified by the user.
2967 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2968 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2976 *) # This is not an option, so the user has probably given explicit
2979 ac_need_defaults=false;;
2983 # Handling of the options.
2985 cat >>$CONFIG_STATUS <<\_ACEOF
2986 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2988 --version | --vers* | -V )
2989 echo "$ac_cs_version"; exit 0 ;;
2991 # Conflict between --help and --header
2992 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2993 Try \`$0 --help' for more information." >&5
2994 echo "$as_me: error: ambiguous option: $1
2995 Try \`$0 --help' for more information." >&2;}
2996 { (exit 1); exit 1; }; };;
2997 --help | --hel | -h )
2998 echo "$ac_cs_usage"; exit 0 ;;
2999 --debug | --d* | -d )
3001 --file | --fil | --fi | --f )
3003 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3004 ac_need_defaults=false;;
3005 --header | --heade | --head | --hea )
3007 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3008 ac_need_defaults=false;;
3009 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3010 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3014 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3015 Try \`$0 --help' for more information." >&5
3016 echo "$as_me: error: unrecognized option: $1
3017 Try \`$0 --help' for more information." >&2;}
3018 { (exit 1); exit 1; }; } ;;
3020 *) ac_config_targets="$ac_config_targets $1" ;;
3026 ac_configure_extra_args=
3028 if $ac_cs_silent; then
3030 ac_configure_extra_args="$ac_configure_extra_args --silent"
3034 cat >>$CONFIG_STATUS <<_ACEOF
3035 if \$ac_cs_recheck; then
3036 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3037 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3042 cat >>$CONFIG_STATUS <<_ACEOF
3044 # INIT-COMMANDS section.
3047 APIVERSION=$APIVERSION
3053 cat >>$CONFIG_STATUS <<\_ACEOF
3054 for ac_config_target in $ac_config_targets
3056 case "$ac_config_target" in
3057 # Handling of arguments.
3058 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3059 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3060 "lib/Automake/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3061 "lib/Automake/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3062 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3063 "lib/am/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3064 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3065 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3066 "tests/defs" ) CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3067 "tests/aclocal-${APIVERSION}" ) CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3068 "tests/automake-${APIVERSION}" ) CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3069 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3070 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3071 { (exit 1); exit 1; }; };;
3075 # If the user did not use the arguments to specify the items to instantiate,
3076 # then the envvar interface is used. Set only those that are not.
3077 # We use the long form for the default assignment because of an extremely
3078 # bizarre bug on SunOS 4.1.3.
3079 if $ac_need_defaults; then
3080 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3083 # Have a temporary directory for convenience. Make it in the build tree
3084 # simply because there is no reason to put it here, and in addition,
3085 # creating and moving files from /tmp can sometimes cause problems.
3086 # Create a temporary directory, and hook for its removal unless debugging.
3089 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
3090 trap '{ (exit 1); exit 1; }' 1 2 13 15
3093 # Create a (secure) tmp directory for tmp files.
3096 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3097 test -n "$tmp" && test -d "$tmp"
3100 tmp=./confstat$$-$RANDOM
3101 (umask 077 && mkdir $tmp)
3104 echo "$me: cannot create a temporary directory in ." >&2
3105 { (exit 1); exit 1; }
3110 cat >>$CONFIG_STATUS <<_ACEOF
3113 # CONFIG_FILES section.
3116 # No need to generate the scripts if there are no CONFIG_FILES.
3117 # This happens for instance when ./config.status config.h
3118 if test -n "\$CONFIG_FILES"; then
3119 # Protect against being on the right side of a sed subst in config.status.
3120 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3121 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3122 s,@SHELL@,$SHELL,;t t
3123 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3124 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3125 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3126 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3127 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3128 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3129 s,@exec_prefix@,$exec_prefix,;t t
3130 s,@prefix@,$prefix,;t t
3131 s,@program_transform_name@,$program_transform_name,;t t
3132 s,@bindir@,$bindir,;t t
3133 s,@sbindir@,$sbindir,;t t
3134 s,@libexecdir@,$libexecdir,;t t
3135 s,@datadir@,$datadir,;t t
3136 s,@sysconfdir@,$sysconfdir,;t t
3137 s,@sharedstatedir@,$sharedstatedir,;t t
3138 s,@localstatedir@,$localstatedir,;t t
3139 s,@libdir@,$libdir,;t t
3140 s,@includedir@,$includedir,;t t
3141 s,@oldincludedir@,$oldincludedir,;t t
3142 s,@infodir@,$infodir,;t t
3143 s,@mandir@,$mandir,;t t
3144 s,@build_alias@,$build_alias,;t t
3145 s,@host_alias@,$host_alias,;t t
3146 s,@target_alias@,$target_alias,;t t
3148 s,@ECHO_C@,$ECHO_C,;t t
3149 s,@ECHO_N@,$ECHO_N,;t t
3150 s,@ECHO_T@,$ECHO_T,;t t
3152 s,@build@,$build,;t t
3153 s,@build_cpu@,$build_cpu,;t t
3154 s,@build_vendor@,$build_vendor,;t t
3155 s,@build_os@,$build_os,;t t
3156 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3157 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3158 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3159 s,@CYGPATH_W@,$CYGPATH_W,;t t
3160 s,@PACKAGE@,$PACKAGE,;t t
3161 s,@VERSION@,$VERSION,;t t
3162 s,@ACLOCAL@,$ACLOCAL,;t t
3163 s,@AUTOCONF@,$AUTOCONF,;t t
3164 s,@AUTOMAKE@,$AUTOMAKE,;t t
3165 s,@AUTOHEADER@,$AUTOHEADER,;t t
3166 s,@MAKEINFO@,$MAKEINFO,;t t
3167 s,@install_sh@,$install_sh,;t t
3168 s,@STRIP@,$STRIP,;t t
3169 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3170 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3171 s,@mkdir_p@,$mkdir_p,;t t
3173 s,@SET_MAKE@,$SET_MAKE,;t t
3174 s,@am__leading_dot@,$am__leading_dot,;t t
3175 s,@AMTAR@,$AMTAR,;t t
3176 s,@am__tar@,$am__tar,;t t
3177 s,@am__untar@,$am__untar,;t t
3178 s,@APIVERSION@,$APIVERSION,;t t
3179 s,@pkgvdatadir@,$pkgvdatadir,;t t
3183 s,@MODIFICATION_DELAY@,$MODIFICATION_DELAY,;t t
3185 s,@EGREP@,$EGREP,;t t
3186 s,@FGREP@,$FGREP,;t t
3187 s,@LIBOBJS@,$LIBOBJS,;t t
3188 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3193 cat >>$CONFIG_STATUS <<\_ACEOF
3194 # Split the substitutions into bite-sized pieces for seds with
3195 # small command number limits, like on Digital OSF/1 and HP-UX.
3197 ac_sed_frag=1 # Number of current file.
3198 ac_beg=1 # First line for current file.
3199 ac_end=$ac_max_sed_lines # Line after last line for current file.
3202 while $ac_more_lines; do
3203 if test $ac_beg -gt 1; then
3204 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3206 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3208 if test ! -s $tmp/subs.frag; then
3211 # The purpose of the label and of the branching condition is to
3212 # speed up the sed processing (if there are no `@' at all, there
3213 # is no need to browse any of the substitutions).
3214 # These are the two extra sed commands mentioned above.
3216 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3217 if test -z "$ac_sed_cmds"; then
3218 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3220 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3222 ac_sed_frag=`expr $ac_sed_frag + 1`
3224 ac_end=`expr $ac_end + $ac_max_sed_lines`
3227 if test -z "$ac_sed_cmds"; then
3230 fi # test -n "$CONFIG_FILES"
3233 cat >>$CONFIG_STATUS <<\_ACEOF
3234 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3235 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3237 - | *:- | *:-:* ) # input from stdin
3239 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3240 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3241 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3242 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3243 * ) ac_file_in=$ac_file.in ;;
3246 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3247 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3248 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3249 X"$ac_file" : 'X\(//\)[^/]' \| \
3250 X"$ac_file" : 'X\(//\)$' \| \
3251 X"$ac_file" : 'X\(/\)' \| \
3252 . : '\(.\)' 2>/dev/null ||
3254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3255 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3256 /^X\(\/\/\)$/{ s//\1/; q; }
3257 /^X\(\/\).*/{ s//\1/; q; }
3259 { if $as_mkdir_p; then
3260 test -d "$ac_dir" || mkdir -p "$ac_dir"
3264 while test ! -d "$as_dir"; do
3265 as_dirs="$as_dir $as_dirs"
3266 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3267 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3268 X"$as_dir" : 'X\(//\)[^/]' \| \
3269 X"$as_dir" : 'X\(//\)$' \| \
3270 X"$as_dir" : 'X\(/\)' \| \
3271 . : '\(.\)' 2>/dev/null ||
3273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3274 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3275 /^X\(\/\/\)$/{ s//\1/; q; }
3276 /^X\(\/\).*/{ s//\1/; q; }
3279 test ! -n "$as_dirs" || mkdir $as_dirs
3280 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3281 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3282 { (exit 1); exit 1; }; }; }
3286 if test "$ac_dir" != .; then
3287 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3288 # A "../" for each directory in $ac_dir_suffix.
3289 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3291 ac_dir_suffix= ac_top_builddir=
3295 .) # No --srcdir option. We are building in place.
3297 if test -z "$ac_top_builddir"; then
3300 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3302 [\\/]* | ?:[\\/]* ) # Absolute path.
3303 ac_srcdir=$srcdir$ac_dir_suffix;
3304 ac_top_srcdir=$srcdir ;;
3306 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3307 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3310 # Do not use `cd foo && pwd` to compute absolute paths, because
3311 # the directories may not exist.
3313 .) ac_abs_builddir="$ac_dir";;
3316 .) ac_abs_builddir=`pwd`;;
3317 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3318 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3321 case $ac_abs_builddir in
3322 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3324 case ${ac_top_builddir}. in
3325 .) ac_abs_top_builddir=$ac_abs_builddir;;
3326 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3327 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3330 case $ac_abs_builddir in
3331 .) ac_abs_srcdir=$ac_srcdir;;
3334 .) ac_abs_srcdir=$ac_abs_builddir;;
3335 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3336 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3339 case $ac_abs_builddir in
3340 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3342 case $ac_top_srcdir in
3343 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3344 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3345 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3351 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3352 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3355 if test x"$ac_file" != x-; then
3356 { echo "$as_me:$LINENO: creating $ac_file" >&5
3357 echo "$as_me: creating $ac_file" >&6;}
3360 # Let's still pretend it is `configure' which instantiates (i.e., don't
3361 # use $as_me), people would be surprised to read:
3362 # /* config.h. Generated by config.status. */
3363 if test x"$ac_file" = x-; then
3366 configure_input="$ac_file. "
3368 configure_input=$configure_input"Generated from `echo $ac_file_in |
3369 sed 's,.*/,,'` by configure."
3371 # First look for the input files in the build tree, otherwise in the
3373 ac_file_inputs=`IFS=:
3374 for f in $ac_file_in; do
3376 -) echo $tmp/stdin ;;
3378 # Absolute (can't be DOS-style, as IFS=:)
3379 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3380 echo "$as_me: error: cannot find input file: $f" >&2;}
3381 { (exit 1); exit 1; }; }
3384 if test -f "$f"; then
3387 elif test -f "$srcdir/$f"; then
3392 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3393 echo "$as_me: error: cannot find input file: $f" >&2;}
3394 { (exit 1); exit 1; }; }
3397 done` || { (exit 1); exit 1; }
3399 cat >>$CONFIG_STATUS <<_ACEOF
3403 cat >>$CONFIG_STATUS <<\_ACEOF
3405 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3406 s,@configure_input@,$configure_input,;t t
3407 s,@srcdir@,$ac_srcdir,;t t
3408 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3409 s,@top_srcdir@,$ac_top_srcdir,;t t
3410 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3411 s,@builddir@,$ac_builddir,;t t
3412 s,@abs_builddir@,$ac_abs_builddir,;t t
3413 s,@top_builddir@,$ac_top_builddir,;t t
3414 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3415 s,@INSTALL@,$ac_INSTALL,;t t
3416 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3418 if test x"$ac_file" != x-; then
3419 mv $tmp/out $ac_file
3425 # Run the commands associated with the file.
3427 tests/aclocal-${APIVERSION} ) chmod +x tests/aclocal-${APIVERSION} ;;
3428 tests/automake-${APIVERSION} ) chmod +x tests/automake-${APIVERSION} ;;
3433 cat >>$CONFIG_STATUS <<\_ACEOF
3435 { (exit 0); exit 0; }
3437 chmod +x $CONFIG_STATUS
3438 ac_clean_files=$ac_clean_files_save
3441 # configure is writing to config.log, and then calls config.status.
3442 # config.status does its own redirection, appending to config.log.
3443 # Unfortunately, on DOS this fails, as config.log is still kept open
3444 # by configure, so config.status won't be able to write to it; its
3445 # output is simply discarded. So we exec the FD to /dev/null,
3446 # effectively closing config.log, so it can be properly (re)opened and
3447 # appended to by config.status. When coming back to configure, we
3448 # need to make the FD available again.
3449 if test "$no_create" != yes; then
3451 ac_config_status_args=
3452 test "$silent" = yes &&
3453 ac_config_status_args="$ac_config_status_args --quiet"
3455 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3457 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3458 # would make configure fail if this is the last instruction.
3459 $ac_cs_success || { (exit 1); exit 1; }