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}/automake-${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.005;' || {
2030 { { echo "$as_me:$LINENO: error: perl 5.005 or better is required" >&5
2031 echo "$as_me: error: perl 5.005 or better is required" >&2;}
2032 { (exit 1); exit 1; }; }
2035 # The test suite will skip some tests if tex is absent.
2036 # Extract the first word of "tex", so it can be a program name with args.
2037 set dummy tex; ac_word=$2
2038 echo "$as_me:$LINENO: checking for $ac_word" >&5
2039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2040 if test "${ac_cv_prog_TEX+set}" = set; then
2041 echo $ECHO_N "(cached) $ECHO_C" >&6
2043 if test -n "$TEX"; then
2044 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050 test -z "$as_dir" && as_dir=.
2051 for ac_exec_ext in '' $ac_executable_extensions; do
2052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2053 ac_cv_prog_TEX="tex"
2054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2063 if test -n "$TEX"; then
2064 echo "$as_me:$LINENO: result: $TEX" >&5
2065 echo "${ECHO_T}$TEX" >&6
2067 echo "$as_me:$LINENO: result: no" >&5
2068 echo "${ECHO_T}no" >&6
2072 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2073 # deletion of any files created (such as those added to
2074 # autom4te.cache). We used to perform only the last of the three
2075 # following tests, but some users were unable to figure out that their
2076 # installation was broken since --version appeared to work.
2078 echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
2079 echo $ECHO_N "checking whether autoconf is installed... $ECHO_C" >&6
2080 if test "${am_cv_autoconf_installed+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2083 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2084 (eval $am_AUTOCONF --version) >&5 2>&5
2086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2087 (exit $ac_status); };
2089 am_cv_autoconf_installed=yes
2091 am_cv_autoconf_installed=no
2094 echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
2095 echo "${ECHO_T}$am_cv_autoconf_installed" >&6
2096 if test "$am_cv_autoconf_installed" = no; then
2097 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required.
2098 Please make sure it is installed and in your PATH." >&5
2099 echo "$as_me: error: Autoconf 2.58 or better is required.
2100 Please make sure it is installed and in your PATH." >&2;}
2101 { (exit 1); exit 1; }; }
2104 echo "$as_me:$LINENO: checking whether autoconf works" >&5
2105 echo $ECHO_N "checking whether autoconf works... $ECHO_C" >&6
2106 if test "${am_cv_autoconf_works+set}" = set; then
2107 echo $ECHO_N "(cached) $ECHO_C" >&6
2110 echo 'AC''_INIT' > conftest/conftest.ac
2111 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2112 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115 (exit $ac_status); };
2117 am_cv_autoconf_works=yes
2119 am_cv_autoconf_works=no
2123 echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
2124 echo "${ECHO_T}$am_cv_autoconf_works" >&6
2125 if test "$am_cv_autoconf_works" = no; then
2126 { { echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
2127 Please check config.log for error messages before this one." >&5
2128 echo "$as_me: error: The installed version of autoconf does not work.
2129 Please check config.log for error messages before this one." >&2;}
2130 { (exit 1); exit 1; }; }
2133 echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
2134 echo $ECHO_N "checking whether autoconf is recent enough... $ECHO_C" >&6
2135 if test "${am_cv_autoconf_version+set}" = set; then
2136 echo $ECHO_N "(cached) $ECHO_C" >&6
2139 echo 'AC''_PREREQ(2.58)' > conftest/conftest.ac
2140 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2141 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2144 (exit $ac_status); };
2146 am_cv_autoconf_version=yes
2148 am_cv_autoconf_version=no
2152 echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
2153 echo "${ECHO_T}$am_cv_autoconf_version" >&6
2154 if test "$am_cv_autoconf_version" = no; then
2155 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required." >&5
2156 echo "$as_me: error: Autoconf 2.58 or better is required." >&2;}
2157 { (exit 1); exit 1; }; }
2160 # Test for ln. We need use it to install the versioned binaries.
2161 echo "$as_me:$LINENO: checking whether ln works" >&5
2162 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
2163 if test "${am_cv_prog_ln+set}" = set; then
2164 echo $ECHO_N "(cached) $ECHO_C" >&6
2167 rm -f conftest conftest.file
2169 if ln conftest.file conftest 2>/dev/null; then
2172 am_cv_prog_ln='cp -p'
2174 rm -f conftest conftest.file
2180 test "x$am_cv_prog_ln" = xln && result=yes
2181 echo "$as_me:$LINENO: result: $result" >&5
2182 echo "${ECHO_T}$result" >&6
2184 # The amount we should wait after modifying files depends on the platform.
2185 # On Windows '95, '98 and ME, files modifications have 2-seconds
2186 # granularity and can be up to 3 seconds in the future w.r.t. the
2187 # system clock. When it is important to ensure one file is older
2188 # than another we wait at least 5 seconds between creations.
2190 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2191 *) MODIFICATION_DELAY=2;;
2195 # Test for things needed by the test suite.
2196 echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2197 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6
2198 if test "${ac_cv_path_GREP+set}" = set; then
2199 echo $ECHO_N "(cached) $ECHO_C" >&6
2201 # Extract the first word of "grep ggrep" to use in msg output
2202 if test -z "$GREP"; then
2203 set dummy grep ggrep; ac_prog_name=$2
2204 if test "${ac_cv_path_GREP+set}" = set; then
2205 echo $ECHO_N "(cached) $ECHO_C" >&6
2207 # Create a temporary directory, and hook for its removal unless debugging.
2210 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
2211 trap '{ (exit 1); exit 1; }' 1 2 13 15
2214 # Create a (secure) tmp directory for tmp files.
2217 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/GREPXXXXXX") 2>/dev/null` &&
2218 test -n "$tmp" && test -d "$tmp"
2221 tmp=$TMPDIR/GREP$$-$RANDOM
2222 (umask 077 && mkdir $tmp)
2225 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2226 { (exit 1); exit 1; }
2228 ac_path_GREP_found=false
2229 # Loop through the user's path and test for each of PROGNAME-LIST
2230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2231 as_dummy="$PATH:/usr/xpg4/bin"
2232 for as_dir in $as_dummy
2235 test -z "$as_dir" && as_dir=.
2236 for ac_prog in grep ggrep; do
2237 for ac_exec_ext in '' $ac_executable_extensions; do
2238 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2239 test -f "$ac_path_GREP" || continue
2240 $ac_path_GREP_found || if $as_executable_p "$ac_path_GREP"; then
2241 # Check for GNU ac_path_GREP and select it if it is found.
2242 # Check for GNU $ac_path_GREP
2243 if "$ac_path_GREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2244 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:
2247 echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
2250 cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
2251 mv "$tmp/conftest.tmp" "$tmp/conftest.in"
2252 cp "$tmp/conftest.in" "$tmp/conftest.nl"
2253 echo 'GREP' >> "$tmp/conftest.nl"
2254 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev/null || break
2255 diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
2256 ac_count=`expr $ac_count + 1`
2257 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2258 # Best one so far, save it but keep looking for a better one
2259 ac_cv_path_GREP="$ac_path_GREP"
2260 ac_path_GREP_max=$ac_count
2262 # 10*(2^10) chars as input seems more than enough
2263 test $ac_count -gt 10 && break
2269 $ac_path_GREP_found && break 3
2279 GREP="$ac_cv_path_GREP"
2280 if test -z "$GREP"; then
2281 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2282 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2283 { (exit 1); exit 1; }; }
2290 echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2291 echo "${ECHO_T}$ac_cv_path_GREP" >&6
2292 GREP="$ac_cv_path_GREP"
2295 echo "$as_me:$LINENO: checking for egrep" >&5
2296 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2297 if test "${ac_cv_path_EGREP+set}" = set; then
2298 echo $ECHO_N "(cached) $ECHO_C" >&6
2300 if echo a | ($GREP -E '(a|b)') >/dev/null 2>&1
2301 then ac_cv_path_EGREP="$GREP -E"
2303 # Extract the first word of "egrep" to use in msg output
2304 if test -z "$EGREP"; then
2305 set dummy egrep; ac_prog_name=$2
2306 if test "${ac_cv_path_EGREP+set}" = set; then
2307 echo $ECHO_N "(cached) $ECHO_C" >&6
2309 # Create a temporary directory, and hook for its removal unless debugging.
2312 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
2313 trap '{ (exit 1); exit 1; }' 1 2 13 15
2316 # Create a (secure) tmp directory for tmp files.
2319 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/EGREPXXXXXX") 2>/dev/null` &&
2320 test -n "$tmp" && test -d "$tmp"
2323 tmp=$TMPDIR/EGREP$$-$RANDOM
2324 (umask 077 && mkdir $tmp)
2327 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2328 { (exit 1); exit 1; }
2330 ac_path_EGREP_found=false
2331 # Loop through the user's path and test for each of PROGNAME-LIST
2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333 as_dummy="$PATH:/usr/xpg4/bin"
2334 for as_dir in $as_dummy
2337 test -z "$as_dir" && as_dir=.
2338 for ac_prog in egrep; do
2339 for ac_exec_ext in '' $ac_executable_extensions; do
2340 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2341 test -f "$ac_path_EGREP" || continue
2342 $ac_path_EGREP_found || if $as_executable_p "$ac_path_EGREP"; then
2343 # Check for GNU ac_path_EGREP and select it if it is found.
2344 # Check for GNU $ac_path_EGREP
2345 if "$ac_path_EGREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2346 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:
2349 echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
2352 cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
2353 mv "$tmp/conftest.tmp" "$tmp/conftest.in"
2354 cp "$tmp/conftest.in" "$tmp/conftest.nl"
2355 echo 'EGREP' >> "$tmp/conftest.nl"
2356 "$ac_path_EGREP" 'EGREP$' < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev/null || break
2357 diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
2358 ac_count=`expr $ac_count + 1`
2359 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2360 # Best one so far, save it but keep looking for a better one
2361 ac_cv_path_EGREP="$ac_path_EGREP"
2362 ac_path_EGREP_max=$ac_count
2364 # 10*(2^10) chars as input seems more than enough
2365 test $ac_count -gt 10 && break
2371 $ac_path_EGREP_found && break 3
2381 EGREP="$ac_cv_path_EGREP"
2382 if test -z "$EGREP"; then
2383 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2384 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2385 { (exit 1); exit 1; }; }
2393 echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2394 echo "${ECHO_T}$ac_cv_path_EGREP" >&6
2395 EGREP="$ac_cv_path_EGREP"
2398 echo "$as_me:$LINENO: checking for fgrep" >&5
2399 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
2400 if test "${ac_cv_path_FGREP+set}" = set; then
2401 echo $ECHO_N "(cached) $ECHO_C" >&6
2403 if echo 'ab*c' | ($GREP -F 'ab*c') >/dev/null 2>&1
2404 then ac_cv_path_FGREP="$GREP -F"
2406 # Extract the first word of "fgrep" to use in msg output
2407 if test -z "$FGREP"; then
2408 set dummy fgrep; ac_prog_name=$2
2409 if test "${ac_cv_path_FGREP+set}" = set; then
2410 echo $ECHO_N "(cached) $ECHO_C" >&6
2412 # Create a temporary directory, and hook for its removal unless debugging.
2415 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
2416 trap '{ (exit 1); exit 1; }' 1 2 13 15
2419 # Create a (secure) tmp directory for tmp files.
2422 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/FGREPXXXXXX") 2>/dev/null` &&
2423 test -n "$tmp" && test -d "$tmp"
2426 tmp=$TMPDIR/FGREP$$-$RANDOM
2427 (umask 077 && mkdir $tmp)
2430 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
2431 { (exit 1); exit 1; }
2433 ac_path_FGREP_found=false
2434 # Loop through the user's path and test for each of PROGNAME-LIST
2435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2436 as_dummy="$PATH:/usr/xpg4/bin"
2437 for as_dir in $as_dummy
2440 test -z "$as_dir" && as_dir=.
2441 for ac_prog in fgrep; do
2442 for ac_exec_ext in '' $ac_executable_extensions; do
2443 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2444 test -f "$ac_path_FGREP" || continue
2445 $ac_path_FGREP_found || if $as_executable_p "$ac_path_FGREP"; then
2446 # Check for GNU ac_path_FGREP and select it if it is found.
2447 # Check for GNU $ac_path_FGREP
2448 if "$ac_path_FGREP" --version 2>&1 < /dev/null | grep 'GNU' >/dev/null; then
2449 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:
2452 echo $ECHO_N "0123456789$ECHO_C" >"$tmp/conftest.in"
2455 cat "$tmp/conftest.in" "$tmp/conftest.in" >"$tmp/conftest.tmp"
2456 mv "$tmp/conftest.tmp" "$tmp/conftest.in"
2457 cp "$tmp/conftest.in" "$tmp/conftest.nl"
2458 echo 'FGREP' >> "$tmp/conftest.nl"
2459 "$ac_path_FGREP" FGREP < "$tmp/conftest.nl" >"$tmp/conftest.out" 2>/dev/null || break
2460 diff "$tmp/conftest.out" "$tmp/conftest.nl" >/dev/null 2>&1 || break
2461 ac_count=`expr $ac_count + 1`
2462 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2463 # Best one so far, save it but keep looking for a better one
2464 ac_cv_path_FGREP="$ac_path_FGREP"
2465 ac_path_FGREP_max=$ac_count
2467 # 10*(2^10) chars as input seems more than enough
2468 test $ac_count -gt 10 && break
2474 $ac_path_FGREP_found && break 3
2484 FGREP="$ac_cv_path_FGREP"
2485 if test -z "$FGREP"; then
2486 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&5
2487 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH:/usr/xpg4/bin" >&2;}
2488 { (exit 1); exit 1; }; }
2496 echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
2497 echo "${ECHO_T}$ac_cv_path_FGREP" >&6
2498 FGREP="$ac_cv_path_FGREP"
2502 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"
2504 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2506 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2509 cat >confcache <<\_ACEOF
2510 # This file is a shell script that caches the results of configure
2511 # tests run on this system so they can be shared between configure
2512 # scripts and configure runs, see configure's option --config-cache.
2513 # It is not useful on other systems. If it contains results you don't
2514 # want to keep, you may remove or edit it.
2516 # config.status only pays attention to the cache file if you give it
2517 # the --recheck option to rerun configure.
2519 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2520 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2525 # The following way of writing the cache mishandles newlines in values,
2526 # but we know of no workaround that is simple, portable, and efficient.
2527 # So, don't put newlines in cache variables' values.
2528 # Ultrix sh set writes to stderr and can't be redirected directly,
2529 # and sets the high bit in the cache file unless we assign to the vars.
2532 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2534 # `set' does not quote correctly, so add quotes (double-quote
2535 # substitution turns \\\\ into \\, and sed turns \\ into \).
2538 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2541 # `set' quotes correctly as required by POSIX, so do not add quotes.
2543 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2550 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2552 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2554 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2555 if test -w $cache_file; then
2556 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2557 cat confcache >$cache_file
2559 echo "not updating unwritable cache $cache_file"
2564 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2565 # Let make expand exec_prefix.
2566 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2568 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2569 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2570 # trailing colons and then remove the whole line if VPATH becomes empty
2571 # (actually we leave an empty line to preserve line numbers).
2572 if test "x$srcdir" = x.; then
2573 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2574 s/:*\$(srcdir):*/:/;
2575 s/:*\${srcdir}:*/:/;
2577 s/^\([^=]*=[ ]*\):*/\1/;
2583 # Transform confdefs.h into DEFS.
2584 # Protect against shell expansion while executing Makefile rules.
2585 # Protect against Makefile macro expansion.
2587 # If the first sed substitution is executed (which looks for macros that
2588 # take arguments), then we branch to the quote section. Otherwise,
2589 # look for a macro that doesn't take arguments.
2590 cat >confdef2opt.sed <<\_ACEOF
2593 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2595 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2599 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2605 # We use echo to avoid assuming a particular line-breaking character.
2606 # The extra dot is to prevent the shell from consuming trailing
2607 # line-breaks from the sub-command output. A line-break within
2608 # single-quotes doesn't work because, if this script is created in a
2609 # platform that uses two characters for line-breaks (e.g., DOS), tr
2611 ac_LF_and_DOT=`echo; echo .`
2612 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2613 rm -f confdef2opt.sed
2618 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2619 # 1. Remove the extension, and $U if already installed.
2620 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2621 ac_i=`echo "$ac_i" | sed "$ac_script"`
2623 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2624 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2628 LTLIBOBJS=$ac_ltlibobjs
2632 : ${CONFIG_STATUS=./config.status}
2633 ac_clean_files_save=$ac_clean_files
2634 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2635 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2636 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2637 cat >$CONFIG_STATUS <<_ACEOF
2639 # Generated by $as_me.
2640 # Run this file to recreate the current configuration.
2641 # Compiler output produced by configure, useful for debugging
2642 # configure, is in config.log if it exists.
2647 SHELL=\${CONFIG_SHELL-$SHELL}
2650 cat >>$CONFIG_STATUS <<\_ACEOF
2651 ## --------------------- ##
2652 ## M4sh Initialization. ##
2653 ## --------------------- ##
2655 # Be Bourne compatible
2656 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2659 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2660 # is contrary to our usage. Disable this feature.
2661 alias -g '${1+"$@"}'='"$@"'
2662 setopt NO_GLOB_SUBST
2663 elif test -n "${BASH_VERSION+set}${KSH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2666 BIN_SH=xpg4; export BIN_SH # for Tru64
2667 DUALCASE=1; export DUALCASE # for MKS sh
2671 # Avoid depending upon Character Ranges.
2672 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2673 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2674 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2675 as_cr_digits='0123456789'
2676 as_cr_alnum=$as_cr_Letters$as_cr_digits
2678 # The user is always right.
2679 if test "${PATH_SEPARATOR+set}" != set; then
2680 echo "#! /bin/sh" >conf$$.sh
2681 echo "exit 0" >>conf$$.sh
2683 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2691 # Support unset when possible.
2692 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2699 # Find who we are. Look in the path if we contain no path at all
2702 *[\\/]* ) as_myself=$0 ;;
2703 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707 test -z "$as_dir" && as_dir=.
2708 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2713 # We did not find ourselves, most probably we were run as `sh COMMAND'
2714 # in which case we are not to be found in the path.
2715 if test "x$as_myself" = x; then
2718 if test ! -f "$as_myself"; then
2719 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2720 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2721 { (exit 1); exit 1; }; }
2724 # Work around bugs in pre-3.0 UWIN ksh.
2725 for as_var in ENV MAIL MAILPATH
2726 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2734 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2735 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2736 LC_TELEPHONE LC_TIME
2738 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2739 eval $as_var=C; export $as_var
2741 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2745 # Required to use basename.
2746 if expr a : '\(a\)' >/dev/null 2>&1; then
2752 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2753 as_basename=basename
2759 # Name of the executable.
2760 as_me=`$as_basename "$0" ||
2761 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2762 X"$0" : 'X\(//\)$' \| \
2763 X"$0" : 'X\(/\)$' \| \
2764 . : '\(.\)' 2>/dev/null ||
2766 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2767 /^X\/\(\/\/\)$/{ s//\1/; q; }
2768 /^X\/\(\/\).*/{ s//\1/; q; }
2776 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2777 test "x$as_lineno_1" != "x$as_lineno_2" &&
2778 test "x$as_lineno_3" = "x$as_lineno_2" || {
2780 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2781 # uniformly replaced by the line number. The first 'sed' inserts a
2782 # line-number line after each line using $LINENO; the second 'sed'
2783 # does the real work. The second script uses 'N' to pair each
2784 # line-number line with the line containing $LINENO, and appends
2785 # trailing '-' during substitution so that $LINENO is not a special
2787 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2788 # scripts with optimization help from Paolo Bonzini. Blame Lee
2789 # E. McMahon (1931-1989) for sed's syntax. :-)
2801 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
2805 chmod +x $as_me.lineno ||
2806 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2807 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2808 { (exit 1); exit 1; }; }
2810 # Don't try to exec as it changes $[0], causing all sort of problems
2811 # (the dirname of $[0] is not the place where we might find the
2812 # original and so on. Autoconf is especially sensible to this).
2814 # Exit status is that of the last command.
2819 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2820 *c*,-n*) ECHO_N= ECHO_C='
2822 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2823 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
2826 if expr a : '\(a\)' >/dev/null 2>&1; then
2832 rm -f conf$$ conf$$.exe conf$$.file
2834 if ln -s conf$$.file conf$$ 2>/dev/null; then
2835 # We could just check for DJGPP; but this test a) works b) is more generic
2836 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2837 if test -f conf$$.exe; then
2838 # Don't use ln at all; we don't have any links
2843 elif ln conf$$.file conf$$ 2>/dev/null; then
2848 rm -f conf$$ conf$$.exe conf$$.file
2850 if mkdir -p . 2>/dev/null; then
2853 test -d ./-p && rmdir ./-p
2857 as_executable_p="test -f"
2859 # Sed expression to map a string onto a valid CPP name.
2860 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2862 # Sed expression to map a string onto a valid variable name.
2863 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2867 # We need space, tab and new line, in precisely that order.
2877 # Open the log real soon, to keep \$[0] and so on meaningful, and to
2878 # report actual input values of CONFIG_FILES etc. instead of their
2879 # values after options handling. Logging --version etc. is OK.
2883 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2884 ## Running $as_me. ##
2889 This file was extended by GNU Automake $as_me 1.9a, which was
2890 generated by GNU Autoconf 2.59a. Invocation command line was
2892 CONFIG_FILES = $CONFIG_FILES
2893 CONFIG_HEADERS = $CONFIG_HEADERS
2894 CONFIG_LINKS = $CONFIG_LINKS
2895 CONFIG_COMMANDS = $CONFIG_COMMANDS
2899 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2903 # Files that config.status was made for.
2904 if test -n "$ac_config_files"; then
2905 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2908 if test -n "$ac_config_headers"; then
2909 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2912 if test -n "$ac_config_links"; then
2913 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2916 if test -n "$ac_config_commands"; then
2917 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2920 cat >>$CONFIG_STATUS <<\_ACEOF
2923 \`$as_me' instantiates files from templates according to the
2924 current configuration.
2926 Usage: $0 [OPTIONS] [FILE]...
2928 -h, --help print this help, then exit
2929 -V, --version print version number, then exit
2930 -q, --quiet do not print progress messages
2931 -d, --debug don't remove temporary files
2932 --recheck update $as_me by reconfiguring in the same conditions
2933 --file=FILE[:TEMPLATE]
2934 instantiate the configuration file FILE
2936 Configuration files:
2939 Report bugs to <bug-autoconf@gnu.org>."
2942 cat >>$CONFIG_STATUS <<_ACEOF
2944 GNU Automake config.status 1.9a
2945 configured by $0, generated by GNU Autoconf 2.59a,
2946 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2948 Copyright (C) 2004 Free Software Foundation, Inc.
2949 This config.status script is free software; the Free Software Foundation
2950 gives unlimited permission to copy, distribute and modify it."
2955 cat >>$CONFIG_STATUS <<\_ACEOF
2956 # If no file are specified by the user, then we need to provide default
2957 # value. By we need to know if files were specified by the user.
2963 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2964 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2972 *) # This is not an option, so the user has probably given explicit
2975 ac_need_defaults=false;;
2979 # Handling of the options.
2981 cat >>$CONFIG_STATUS <<\_ACEOF
2982 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2984 --version | --vers* | -V )
2985 echo "$ac_cs_version"; exit 0 ;;
2987 # Conflict between --help and --header
2988 { { echo "$as_me:$LINENO: error: ambiguous option: $1
2989 Try \`$0 --help' for more information." >&5
2990 echo "$as_me: error: ambiguous option: $1
2991 Try \`$0 --help' for more information." >&2;}
2992 { (exit 1); exit 1; }; };;
2993 --help | --hel | -h )
2994 echo "$ac_cs_usage"; exit 0 ;;
2995 --debug | --d* | -d )
2997 --file | --fil | --fi | --f )
2999 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3000 ac_need_defaults=false;;
3001 --header | --heade | --head | --hea )
3003 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3004 ac_need_defaults=false;;
3005 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3006 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3010 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3011 Try \`$0 --help' for more information." >&5
3012 echo "$as_me: error: unrecognized option: $1
3013 Try \`$0 --help' for more information." >&2;}
3014 { (exit 1); exit 1; }; } ;;
3016 *) ac_config_targets="$ac_config_targets $1" ;;
3022 ac_configure_extra_args=
3024 if $ac_cs_silent; then
3026 ac_configure_extra_args="$ac_configure_extra_args --silent"
3030 cat >>$CONFIG_STATUS <<_ACEOF
3031 if \$ac_cs_recheck; then
3032 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3033 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3038 cat >>$CONFIG_STATUS <<_ACEOF
3040 # INIT-COMMANDS section.
3043 APIVERSION=$APIVERSION
3049 cat >>$CONFIG_STATUS <<\_ACEOF
3050 for ac_config_target in $ac_config_targets
3052 case "$ac_config_target" in
3053 # Handling of arguments.
3054 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3055 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3056 "lib/Automake/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3057 "lib/Automake/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3058 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3059 "lib/am/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3060 "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3061 "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3062 "tests/defs" ) CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3063 "tests/aclocal-${APIVERSION}" ) CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3064 "tests/automake-${APIVERSION}" ) CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3065 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3066 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3067 { (exit 1); exit 1; }; };;
3071 # If the user did not use the arguments to specify the items to instantiate,
3072 # then the envvar interface is used. Set only those that are not.
3073 # We use the long form for the default assignment because of an extremely
3074 # bizarre bug on SunOS 4.1.3.
3075 if $ac_need_defaults; then
3076 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3079 # Have a temporary directory for convenience. Make it in the build tree
3080 # simply because there is no reason to put it here, and in addition,
3081 # creating and moving files from /tmp can sometimes cause problems.
3082 # Create a temporary directory, and hook for its removal unless debugging.
3085 trap 'exit_status=$?; rm -f -r $tmp && exit $exit_status' 0
3086 trap '{ (exit 1); exit 1; }' 1 2 13 15
3089 # Create a (secure) tmp directory for tmp files.
3092 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3093 test -n "$tmp" && test -d "$tmp"
3096 tmp=./confstat$$-$RANDOM
3097 (umask 077 && mkdir $tmp)
3100 echo "$me: cannot create a temporary directory in ." >&2
3101 { (exit 1); exit 1; }
3106 cat >>$CONFIG_STATUS <<_ACEOF
3109 # CONFIG_FILES section.
3112 # No need to generate the scripts if there are no CONFIG_FILES.
3113 # This happens for instance when ./config.status config.h
3114 if test -n "\$CONFIG_FILES"; then
3115 # Protect against being on the right side of a sed subst in config.status.
3116 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3117 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3118 s,@SHELL@,$SHELL,;t t
3119 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3120 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3121 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3122 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3123 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3124 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3125 s,@exec_prefix@,$exec_prefix,;t t
3126 s,@prefix@,$prefix,;t t
3127 s,@program_transform_name@,$program_transform_name,;t t
3128 s,@bindir@,$bindir,;t t
3129 s,@sbindir@,$sbindir,;t t
3130 s,@libexecdir@,$libexecdir,;t t
3131 s,@datadir@,$datadir,;t t
3132 s,@sysconfdir@,$sysconfdir,;t t
3133 s,@sharedstatedir@,$sharedstatedir,;t t
3134 s,@localstatedir@,$localstatedir,;t t
3135 s,@libdir@,$libdir,;t t
3136 s,@includedir@,$includedir,;t t
3137 s,@oldincludedir@,$oldincludedir,;t t
3138 s,@infodir@,$infodir,;t t
3139 s,@mandir@,$mandir,;t t
3140 s,@build_alias@,$build_alias,;t t
3141 s,@host_alias@,$host_alias,;t t
3142 s,@target_alias@,$target_alias,;t t
3144 s,@ECHO_C@,$ECHO_C,;t t
3145 s,@ECHO_N@,$ECHO_N,;t t
3146 s,@ECHO_T@,$ECHO_T,;t t
3148 s,@build@,$build,;t t
3149 s,@build_cpu@,$build_cpu,;t t
3150 s,@build_vendor@,$build_vendor,;t t
3151 s,@build_os@,$build_os,;t t
3152 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3153 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3154 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3155 s,@CYGPATH_W@,$CYGPATH_W,;t t
3156 s,@PACKAGE@,$PACKAGE,;t t
3157 s,@VERSION@,$VERSION,;t t
3158 s,@ACLOCAL@,$ACLOCAL,;t t
3159 s,@AUTOCONF@,$AUTOCONF,;t t
3160 s,@AUTOMAKE@,$AUTOMAKE,;t t
3161 s,@AUTOHEADER@,$AUTOHEADER,;t t
3162 s,@MAKEINFO@,$MAKEINFO,;t t
3163 s,@install_sh@,$install_sh,;t t
3164 s,@STRIP@,$STRIP,;t t
3165 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3166 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3167 s,@mkdir_p@,$mkdir_p,;t t
3169 s,@SET_MAKE@,$SET_MAKE,;t t
3170 s,@am__leading_dot@,$am__leading_dot,;t t
3171 s,@AMTAR@,$AMTAR,;t t
3172 s,@am__tar@,$am__tar,;t t
3173 s,@am__untar@,$am__untar,;t t
3174 s,@APIVERSION@,$APIVERSION,;t t
3175 s,@pkgvdatadir@,$pkgvdatadir,;t t
3179 s,@MODIFICATION_DELAY@,$MODIFICATION_DELAY,;t t
3181 s,@EGREP@,$EGREP,;t t
3182 s,@FGREP@,$FGREP,;t t
3183 s,@LIBOBJS@,$LIBOBJS,;t t
3184 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3189 cat >>$CONFIG_STATUS <<\_ACEOF
3190 # Split the substitutions into bite-sized pieces for seds with
3191 # small command number limits, like on Digital OSF/1 and HP-UX.
3193 ac_sed_frag=1 # Number of current file.
3194 ac_beg=1 # First line for current file.
3195 ac_end=$ac_max_sed_lines # Line after last line for current file.
3198 while $ac_more_lines; do
3199 if test $ac_beg -gt 1; then
3200 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3202 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3204 if test ! -s $tmp/subs.frag; then
3207 # The purpose of the label and of the branching condition is to
3208 # speed up the sed processing (if there are no `@' at all, there
3209 # is no need to browse any of the substitutions).
3210 # These are the two extra sed commands mentioned above.
3212 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3213 if test -z "$ac_sed_cmds"; then
3214 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3216 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3218 ac_sed_frag=`expr $ac_sed_frag + 1`
3220 ac_end=`expr $ac_end + $ac_max_sed_lines`
3223 if test -z "$ac_sed_cmds"; then
3226 fi # test -n "$CONFIG_FILES"
3229 cat >>$CONFIG_STATUS <<\_ACEOF
3230 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3231 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3233 - | *:- | *:-:* ) # input from stdin
3235 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3236 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3237 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3238 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3239 * ) ac_file_in=$ac_file.in ;;
3242 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3243 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3244 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3245 X"$ac_file" : 'X\(//\)[^/]' \| \
3246 X"$ac_file" : 'X\(//\)$' \| \
3247 X"$ac_file" : 'X\(/\)' \| \
3248 . : '\(.\)' 2>/dev/null ||
3250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3251 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3252 /^X\(\/\/\)$/{ s//\1/; q; }
3253 /^X\(\/\).*/{ s//\1/; q; }
3255 { if $as_mkdir_p; then
3256 test -d "$ac_dir" || mkdir -p "$ac_dir"
3260 while test ! -d "$as_dir"; do
3261 as_dirs="$as_dir $as_dirs"
3262 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3263 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3264 X"$as_dir" : 'X\(//\)[^/]' \| \
3265 X"$as_dir" : 'X\(//\)$' \| \
3266 X"$as_dir" : 'X\(/\)' \| \
3267 . : '\(.\)' 2>/dev/null ||
3269 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3270 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3271 /^X\(\/\/\)$/{ s//\1/; q; }
3272 /^X\(\/\).*/{ s//\1/; q; }
3275 test ! -n "$as_dirs" || mkdir $as_dirs
3276 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3277 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3278 { (exit 1); exit 1; }; }; }
3282 if test "$ac_dir" != .; then
3283 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3284 # A "../" for each directory in $ac_dir_suffix.
3285 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3287 ac_dir_suffix= ac_top_builddir=
3291 .) # No --srcdir option. We are building in place.
3293 if test -z "$ac_top_builddir"; then
3296 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3298 [\\/]* | ?:[\\/]* ) # Absolute path.
3299 ac_srcdir=$srcdir$ac_dir_suffix;
3300 ac_top_srcdir=$srcdir ;;
3302 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3303 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3306 # Do not use `cd foo && pwd` to compute absolute paths, because
3307 # the directories may not exist.
3309 .) ac_abs_builddir="$ac_dir";;
3312 .) ac_abs_builddir=`pwd`;;
3313 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3314 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3317 case $ac_abs_builddir in
3318 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3320 case ${ac_top_builddir}. in
3321 .) ac_abs_top_builddir=$ac_abs_builddir;;
3322 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3323 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3326 case $ac_abs_builddir in
3327 .) ac_abs_srcdir=$ac_srcdir;;
3330 .) ac_abs_srcdir=$ac_abs_builddir;;
3331 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3332 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3335 case $ac_abs_builddir in
3336 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3338 case $ac_top_srcdir in
3339 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3340 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3341 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3347 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3348 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3351 if test x"$ac_file" != x-; then
3352 { echo "$as_me:$LINENO: creating $ac_file" >&5
3353 echo "$as_me: creating $ac_file" >&6;}
3356 # Let's still pretend it is `configure' which instantiates (i.e., don't
3357 # use $as_me), people would be surprised to read:
3358 # /* config.h. Generated by config.status. */
3359 if test x"$ac_file" = x-; then
3362 configure_input="$ac_file. "
3364 configure_input=$configure_input"Generated from `echo $ac_file_in |
3365 sed 's,.*/,,'` by configure."
3367 # First look for the input files in the build tree, otherwise in the
3369 ac_file_inputs=`IFS=:
3370 for f in $ac_file_in; do
3372 -) echo $tmp/stdin ;;
3374 # Absolute (can't be DOS-style, as IFS=:)
3375 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3376 echo "$as_me: error: cannot find input file: $f" >&2;}
3377 { (exit 1); exit 1; }; }
3380 if test -f "$f"; then
3383 elif test -f "$srcdir/$f"; then
3388 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3389 echo "$as_me: error: cannot find input file: $f" >&2;}
3390 { (exit 1); exit 1; }; }
3393 done` || { (exit 1); exit 1; }
3395 cat >>$CONFIG_STATUS <<_ACEOF
3399 cat >>$CONFIG_STATUS <<\_ACEOF
3401 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3402 s,@configure_input@,$configure_input,;t t
3403 s,@srcdir@,$ac_srcdir,;t t
3404 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3405 s,@top_srcdir@,$ac_top_srcdir,;t t
3406 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3407 s,@builddir@,$ac_builddir,;t t
3408 s,@abs_builddir@,$ac_abs_builddir,;t t
3409 s,@top_builddir@,$ac_top_builddir,;t t
3410 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3411 s,@INSTALL@,$ac_INSTALL,;t t
3412 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3414 if test x"$ac_file" != x-; then
3415 mv $tmp/out $ac_file
3421 # Run the commands associated with the file.
3423 tests/aclocal-${APIVERSION} ) chmod +x tests/aclocal-${APIVERSION} ;;
3424 tests/automake-${APIVERSION} ) chmod +x tests/automake-${APIVERSION} ;;
3429 cat >>$CONFIG_STATUS <<\_ACEOF
3431 { (exit 0); exit 0; }
3433 chmod +x $CONFIG_STATUS
3434 ac_clean_files=$ac_clean_files_save
3437 # configure is writing to config.log, and then calls config.status.
3438 # config.status does its own redirection, appending to config.log.
3439 # Unfortunately, on DOS this fails, as config.log is still kept open
3440 # by configure, so config.status won't be able to write to it; its
3441 # output is simply discarded. So we exec the FD to /dev/null,
3442 # effectively closing config.log, so it can be properly (re)opened and
3443 # appended to by config.status. When coming back to configure, we
3444 # need to make the FD available again.
3445 if test "$no_create" != yes; then
3447 ac_config_status_args=
3448 test "$silent" = yes &&
3449 ac_config_status_args="$ac_config_status_args --quiet"
3451 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3453 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3454 # would make configure fail if this is the last instruction.
3455 $ac_cs_success || { (exit 1); exit 1; }