2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59c for GNU Automake 1.9a.
5 # Report bugs to <bug-automake@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005 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 (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 file name" >&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 as_func_ret_success () {
152 as_func_ret_failure () {
157 if as_func_success; then
161 echo as_func_success failed.
164 if as_func_failure; then
166 echo as_func_failure succeeded.
169 if as_func_ret_success; then
173 echo as_func_ret_success failed.
176 if as_func_ret_failure; then
178 echo as_func_ret_failure succeeded.
181 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
185 echo positional parameters were not saved.
188 test \$exitcode = 0) || { (exit 1); exit 1; }
193 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
194 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
195 ") 2> /dev/null; then
199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
200 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
203 test -z "$as_dir" && as_dir=.
206 for as_base in sh bash ksh sh5; do
207 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
213 for as_shell in $as_candidate_shells $SHELL; do
214 if { ($as_shell) 2> /dev/null <<\_ASEOF
215 # Be Bourne compatible
216 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
219 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
220 # is contrary to our usage. Disable this feature.
221 alias -g '${1+"$@"}'='"$@"'
223 elif (set -o posix) >/dev/null 2>&1; then
226 BIN_SH=xpg4; export BIN_SH # for Tru64
227 DUALCASE=1; export DUALCASE # for MKS sh
232 CONFIG_SHELL=$as_shell
234 if { $as_shell 2> /dev/null <<\_ASEOF
235 # Be Bourne compatible
236 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
239 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
240 # is contrary to our usage. Disable this feature.
241 alias -g '${1+"$@"}'='"$@"'
243 elif (set -o posix) >/dev/null 2>&1; then
246 BIN_SH=xpg4; export BIN_SH # for Tru64
247 DUALCASE=1; export DUALCASE # for MKS sh
259 as_func_ret_success () {
262 as_func_ret_failure () {
267 if as_func_success; then
271 echo as_func_success failed.
274 if as_func_failure; then
276 echo as_func_failure succeeded.
279 if as_func_ret_success; then
283 echo as_func_ret_success failed.
286 if as_func_ret_failure; then
288 echo as_func_ret_failure succeeded.
291 if ( set x; as_func_ret_success y && test x = "$1" ); then
295 echo positional parameters were not saved.
298 test $exitcode = 0) || { (exit 1); exit 1; }
303 test "x$as_lineno_1" != "x$as_lineno_2" &&
304 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
315 if test "x$CONFIG_SHELL" != x; then
316 for as_var in BASH_ENV ENV
317 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
320 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
324 if test $as_have_required = no; then
325 echo This script requires a shell more modern than all the
326 echo shells that I found on your system. Please install a
327 echo modern shell, or manually run the script under such a
328 echo shell if you do have one.
329 { (exit 1); exit 1; }
339 (eval "as_func_return () {
348 as_func_ret_success () {
351 as_func_ret_failure () {
356 if as_func_success; then
360 echo as_func_success failed.
363 if as_func_failure; then
365 echo as_func_failure succeeded.
368 if as_func_ret_success; then
372 echo as_func_ret_success failed.
375 if as_func_ret_failure; then
377 echo as_func_ret_failure succeeded.
380 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
384 echo positional parameters were not saved.
387 test \$exitcode = 0") || {
388 echo No shell found that supports shell functions.
389 echo Please tell autoconf@gnu.org about your system,
390 echo including any error possibly output before this
398 test "x$as_lineno_1" != "x$as_lineno_2" &&
399 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
401 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
402 # uniformly replaced by the line number. The first 'sed' inserts a
403 # line-number line after each line using $LINENO; the second 'sed'
404 # does the real work. The second script uses 'N' to pair each
405 # line-number line with the line containing $LINENO, and appends
406 # trailing '-' during substitution so that $LINENO is not a special
408 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
409 # scripts with optimization help from Paolo Bonzini. Blame Lee
410 # E. McMahon (1931-1989) for sed's syntax. :-)
422 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
426 chmod +x $as_me.lineno ||
427 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
428 { (exit 1); exit 1; }; }
430 # Don't try to exec as it changes $[0], causing all sort of problems
431 # (the dirname of $[0] is not the place where we might find the
432 # original and so on. Autoconf is especially sensible to this).
434 # Exit status is that of the last command.
439 ECHO_C= ECHO_N= ECHO_T=
443 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
450 if expr a : '\(a\)' >/dev/null 2>&1; then
456 rm -f conf$$ conf$$.exe conf$$.file
458 if ln -s conf$$.file conf$$ 2>/dev/null; then
459 # We could just check for DJGPP; but this test a) works b) is more generic
460 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
461 if test -f conf$$.exe; then
462 # Don't use ln at all; we don't have any links
467 elif ln conf$$.file conf$$ 2>/dev/null; then
472 rm -f conf$$ conf$$.exe conf$$.file
474 if mkdir -p . 2>/dev/null; then
477 test -d ./-p && rmdir ./-p
481 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
482 # systems may use methods other than mode bits to determine executability.
483 cat >conf$$.file <<_ASEOF
488 if test -x conf$$.file >/dev/null 2>&1; then
489 as_executable_p="test -x"
495 # Sed expression to map a string onto a valid CPP name.
496 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
498 # Sed expression to map a string onto a valid variable name.
499 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
503 # We need space, tab and new line, in precisely that order.
512 exec 7<&0 </dev/null 6>&1
515 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
516 # so uname gets run too.
517 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
522 ac_default_prefix=/usr/local
524 ac_config_libobj_dir=.
530 SHELL=${CONFIG_SHELL-/bin/sh}
532 # Identity of this package.
533 PACKAGE_NAME='GNU Automake'
534 PACKAGE_TARNAME='automake'
535 PACKAGE_VERSION='1.9a'
536 PACKAGE_STRING='GNU Automake 1.9a'
537 PACKAGE_BUGREPORT='bug-automake@gnu.org'
539 ac_unique_file="automake.in"
549 program_transform_name
595 INSTALL_STRIP_PROGRAM
615 ac_precious_vars='build_alias
620 # Initialize some variables set by options.
622 ac_init_version=false
623 # The variables have the same names as the options, with
624 # dashes changed to underlines.
632 program_transform_name=s,x,x,
640 # Installation directory options.
641 # These are left unexpanded so users can "make install exec_prefix=/foo"
642 # and all the variables that are supposed to be based on exec_prefix
643 # by default will actually change.
644 # Use braces instead of parens because sh, perl, etc. also accept them.
645 # (The list follows the same order as the GNU Coding Standards.)
646 bindir='${exec_prefix}/bin'
647 sbindir='${exec_prefix}/sbin'
648 libexecdir='${exec_prefix}/libexec'
649 datarootdir='${prefix}/share'
650 datadir='${datarootdir}'
651 sysconfdir='${prefix}/etc'
652 sharedstatedir='${prefix}/com'
653 localstatedir='${prefix}/var'
654 includedir='${prefix}/include'
655 oldincludedir='/usr/include'
656 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
657 infodir='${datarootdir}/info'
662 libdir='${exec_prefix}/lib'
663 localedir='${datarootdir}/locale'
664 mandir='${datarootdir}/man'
670 # If the previous option needs an argument, assign it.
671 if test -n "$ac_prev"; then
672 eval $ac_prev=\$ac_option
678 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
682 # Accept the important Cygnus configure options, so we can diagnose typos.
684 case $ac_dashdash$ac_option in
688 -bindir | --bindir | --bindi | --bind | --bin | --bi)
690 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
693 -build | --build | --buil | --bui | --bu)
694 ac_prev=build_alias ;;
695 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
696 build_alias=$ac_optarg ;;
698 -cache-file | --cache-file | --cache-fil | --cache-fi \
699 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
700 ac_prev=cache_file ;;
701 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
702 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
703 cache_file=$ac_optarg ;;
706 cache_file=config.cache ;;
708 -datadir | --datadir | --datadi | --datad)
710 -datadir=* | --datadir=* | --datadi=* | --datad=*)
711 datadir=$ac_optarg ;;
713 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
714 | --dataroo | --dataro | --datar)
715 ac_prev=datarootdir ;;
716 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
717 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
718 datarootdir=$ac_optarg ;;
720 -disable-* | --disable-*)
721 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
722 # Reject names that are not valid shell variable names.
723 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
724 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
725 { (exit 1); exit 1; }; }
726 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
727 eval enable_$ac_feature=no ;;
729 -docdir | --docdir | --docdi | --doc | --do)
731 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
734 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
736 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
739 -enable-* | --enable-*)
740 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
741 # Reject names that are not valid shell variable names.
742 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
743 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
744 { (exit 1); exit 1; }; }
745 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
746 eval enable_$ac_feature=\$ac_optarg ;;
748 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
749 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
750 | --exec | --exe | --ex)
751 ac_prev=exec_prefix ;;
752 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
753 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
754 | --exec=* | --exe=* | --ex=*)
755 exec_prefix=$ac_optarg ;;
757 -gas | --gas | --ga | --g)
758 # Obsolete; use --with-gas.
761 -help | --help | --hel | --he | -h)
763 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
764 ac_init_help=recursive ;;
765 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
766 ac_init_help=short ;;
768 -host | --host | --hos | --ho)
769 ac_prev=host_alias ;;
770 -host=* | --host=* | --hos=* | --ho=*)
771 host_alias=$ac_optarg ;;
773 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
775 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
777 htmldir=$ac_optarg ;;
779 -includedir | --includedir | --includedi | --included | --include \
780 | --includ | --inclu | --incl | --inc)
781 ac_prev=includedir ;;
782 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
783 | --includ=* | --inclu=* | --incl=* | --inc=*)
784 includedir=$ac_optarg ;;
786 -infodir | --infodir | --infodi | --infod | --info | --inf)
788 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
789 infodir=$ac_optarg ;;
791 -libdir | --libdir | --libdi | --libd)
793 -libdir=* | --libdir=* | --libdi=* | --libd=*)
796 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
797 | --libexe | --libex | --libe)
798 ac_prev=libexecdir ;;
799 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
800 | --libexe=* | --libex=* | --libe=*)
801 libexecdir=$ac_optarg ;;
803 -localedir | --localedir | --localedi | --localed | --locale)
805 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
806 localedir=$ac_optarg ;;
808 -localstatedir | --localstatedir | --localstatedi | --localstated \
809 | --localstate | --localstat | --localsta | --localst | --locals)
810 ac_prev=localstatedir ;;
811 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
812 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
813 localstatedir=$ac_optarg ;;
815 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
817 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
821 # Obsolete; use --without-fp.
824 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
825 | --no-cr | --no-c | -n)
828 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
829 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
832 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
833 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
834 | --oldin | --oldi | --old | --ol | --o)
835 ac_prev=oldincludedir ;;
836 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
837 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
838 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
839 oldincludedir=$ac_optarg ;;
841 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
843 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
846 -program-prefix | --program-prefix | --program-prefi | --program-pref \
847 | --program-pre | --program-pr | --program-p)
848 ac_prev=program_prefix ;;
849 -program-prefix=* | --program-prefix=* | --program-prefi=* \
850 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
851 program_prefix=$ac_optarg ;;
853 -program-suffix | --program-suffix | --program-suffi | --program-suff \
854 | --program-suf | --program-su | --program-s)
855 ac_prev=program_suffix ;;
856 -program-suffix=* | --program-suffix=* | --program-suffi=* \
857 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
858 program_suffix=$ac_optarg ;;
860 -program-transform-name | --program-transform-name \
861 | --program-transform-nam | --program-transform-na \
862 | --program-transform-n | --program-transform- \
863 | --program-transform | --program-transfor \
864 | --program-transfo | --program-transf \
865 | --program-trans | --program-tran \
866 | --progr-tra | --program-tr | --program-t)
867 ac_prev=program_transform_name ;;
868 -program-transform-name=* | --program-transform-name=* \
869 | --program-transform-nam=* | --program-transform-na=* \
870 | --program-transform-n=* | --program-transform-=* \
871 | --program-transform=* | --program-transfor=* \
872 | --program-transfo=* | --program-transf=* \
873 | --program-trans=* | --program-tran=* \
874 | --progr-tra=* | --program-tr=* | --program-t=*)
875 program_transform_name=$ac_optarg ;;
877 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
879 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
882 -psdir | --psdir | --psdi | --psd | --ps)
884 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
887 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
888 | -silent | --silent | --silen | --sile | --sil)
891 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
893 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
895 sbindir=$ac_optarg ;;
897 -sharedstatedir | --sharedstatedir | --sharedstatedi \
898 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
899 | --sharedst | --shareds | --shared | --share | --shar \
901 ac_prev=sharedstatedir ;;
902 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
903 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
904 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
906 sharedstatedir=$ac_optarg ;;
908 -site | --site | --sit)
910 -site=* | --site=* | --sit=*)
913 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
915 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
918 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
919 | --syscon | --sysco | --sysc | --sys | --sy)
920 ac_prev=sysconfdir ;;
921 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
922 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
923 sysconfdir=$ac_optarg ;;
925 -target | --target | --targe | --targ | --tar | --ta | --t)
926 ac_prev=target_alias ;;
927 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
928 target_alias=$ac_optarg ;;
930 -v | -verbose | --verbose | --verbos | --verbo | --verb)
933 -version | --version | --versio | --versi | --vers | -V)
937 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
938 # Reject names that are not valid shell variable names.
939 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
940 { echo "$as_me: error: invalid package name: $ac_package" >&2
941 { (exit 1); exit 1; }; }
942 ac_package=`echo $ac_package| sed 's/-/_/g'`
943 eval with_$ac_package=\$ac_optarg ;;
945 -without-* | --without-*)
946 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
949 { echo "$as_me: error: invalid package name: $ac_package" >&2
950 { (exit 1); exit 1; }; }
951 ac_package=`echo $ac_package | sed 's/-/_/g'`
952 eval with_$ac_package=no ;;
955 # Obsolete; use --with-x.
958 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
959 | --x-incl | --x-inc | --x-in | --x-i)
960 ac_prev=x_includes ;;
961 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
962 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
963 x_includes=$ac_optarg ;;
965 -x-libraries | --x-libraries | --x-librarie | --x-librari \
966 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
967 ac_prev=x_libraries ;;
968 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
969 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
970 x_libraries=$ac_optarg ;;
972 -*) { echo "$as_me: error: unrecognized option: $ac_option
973 Try \`$0 --help' for more information." >&2
974 { (exit 1); exit 1; }; }
978 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
979 # Reject names that are not valid shell variable names.
980 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
981 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
982 { (exit 1); exit 1; }; }
983 eval $ac_envvar=\$ac_optarg
987 # FIXME: should be removed in autoconf 3.0.
988 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
989 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
990 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
991 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
997 if test -n "$ac_prev"; then
998 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
999 { echo "$as_me: error: missing argument to $ac_option" >&2
1000 { (exit 1); exit 1; }; }
1003 # Be sure to have absolute directory names.
1004 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1005 datadir sysconfdir sharedstatedir localstatedir includedir \
1006 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1007 libdir localedir mandir
1009 eval ac_val=\$$ac_var
1011 [\\/$]* | ?:[\\/]* ) continue;;
1012 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1014 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1015 { (exit 1); exit 1; }; }
1018 # There might be people who depend on the old broken behavior: `$host'
1019 # used to hold the argument of --host etc.
1020 # FIXME: To remove some day.
1023 target=$target_alias
1025 # FIXME: To remove some day.
1026 if test "x$host_alias" != x; then
1027 if test "x$build_alias" = x; then
1028 cross_compiling=maybe
1029 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1030 If a cross compiler is detected then cross compile mode will be used." >&2
1031 elif test "x$build_alias" != "x$host_alias"; then
1037 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1039 test "$silent" = yes && exec 6>/dev/null
1042 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1043 ac_ls_di=`ls -di .` &&
1044 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1045 { echo "$as_me: error: Working directory cannot be determined" >&2
1046 { (exit 1); exit 1; }; }
1047 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1048 { echo "$as_me: error: pwd does not report name of working directory" >&2
1049 { (exit 1); exit 1; }; }
1052 # Find the source files, if location was not specified.
1053 if test -z "$srcdir"; then
1054 ac_srcdir_defaulted=yes
1055 # Try the directory containing this script, then the parent directory.
1056 ac_confdir=`(dirname "$0") 2>/dev/null ||
1057 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1058 X"$0" : 'X\(//\)[^/]' \| \
1059 X"$0" : 'X\(//\)$' \| \
1060 X"$0" : 'X\(/\)' \| \
1061 . : '\(.\)' 2>/dev/null ||
1063 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1064 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1065 /^X\(\/\/\)$/{ s//\1/; q; }
1066 /^X\(\/\).*/{ s//\1/; q; }
1069 if test ! -r "$srcdir/$ac_unique_file"; then
1073 ac_srcdir_defaulted=no
1075 if test ! -r "$srcdir/$ac_unique_file"; then
1076 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1077 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1078 { (exit 1); exit 1; }; }
1080 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1082 cd $srcdir && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1083 { (exit 1); exit 1; }; }
1085 # When building in place, set srcdir=.
1086 if test "$ac_abs_confdir" = "$ac_pwd"; then
1089 # Remove unnecessary trailing slashes from srcdir.
1090 # Double slashes in file names in object file debugging info
1091 # mess up M-x gdb in Emacs.
1093 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1095 for ac_var in $ac_precious_vars; do
1096 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1097 eval ac_env_${ac_var}_value=\$${ac_var}
1098 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1099 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1103 # Report the --help message.
1105 if test "$ac_init_help" = "long"; then
1106 # Omit some internal or obsolete options to make the list less imposing.
1107 # This message is too long to be a string in the A/UX 3.1 sh.
1109 \`configure' configures GNU Automake 1.9a to adapt to many kinds of systems.
1111 Usage: $0 [OPTION]... [VAR=VALUE]...
1113 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1114 VAR=VALUE. See below for descriptions of some of the useful variables.
1116 Defaults for the options are specified in brackets.
1119 -h, --help display this help and exit
1120 --help=short display options specific to this package
1121 --help=recursive display the short help of all the included packages
1122 -V, --version display version information and exit
1123 -q, --quiet, --silent do not print \`checking...' messages
1124 --cache-file=FILE cache test results in FILE [disabled]
1125 -C, --config-cache alias for \`--cache-file=config.cache'
1126 -n, --no-create do not create output files
1127 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1129 Installation directories:
1130 --prefix=PREFIX install architecture-independent files in PREFIX
1131 [$ac_default_prefix]
1132 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1135 By default, \`make install' will install all the files in
1136 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1137 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1138 for instance \`--prefix=\$HOME'.
1140 For better control, use the options below.
1142 Fine tuning of the installation directories:
1143 --bindir=DIR user executables [EPREFIX/bin]
1144 --sbindir=DIR system admin executables [EPREFIX/sbin]
1145 --libexecdir=DIR program executables [EPREFIX/libexec]
1146 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1147 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1148 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1149 --libdir=DIR object code libraries [EPREFIX/lib]
1150 --includedir=DIR C header files [PREFIX/include]
1151 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1152 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1153 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1154 --infodir=DIR info documentation [DATAROOTDIR/info]
1155 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1156 --mandir=DIR man documentation [DATAROOTDIR/man]
1157 --docdir=DIR documentation root [DATAROOTDIR/doc/automake]
1158 --htmldir=DIR html documentation [DOCDIR]
1159 --dvidir=DIR dvi documentation [DOCDIR]
1160 --pdfdir=DIR pdf documentation [DOCDIR]
1161 --psdir=DIR ps documentation [DOCDIR]
1167 --program-prefix=PREFIX prepend PREFIX to installed program names
1168 --program-suffix=SUFFIX append SUFFIX to installed program names
1169 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1172 --build=BUILD configure for building on BUILD [guessed]
1176 if test -n "$ac_init_help"; then
1177 case $ac_init_help in
1178 short | recursive ) echo "Configuration of GNU Automake 1.9a:";;
1182 Report bugs to <bug-automake@gnu.org>.
1187 if test "$ac_init_help" = "recursive"; then
1188 # If there are subdirs, report their specific --help.
1189 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1190 test -d $ac_dir || continue
1194 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1196 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1197 # A ".." for each directory in $ac_dir_suffix.
1198 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1199 case $ac_top_builddir_sub in
1200 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1201 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1204 ac_abs_top_builddir=$ac_pwd
1205 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1206 # for backward compatibility:
1207 ac_top_builddir=$ac_top_build_prefix
1210 .) # We are building in place.
1212 ac_top_srcdir=$ac_top_builddir_sub
1213 ac_abs_top_srcdir=$ac_pwd ;;
1214 [\\/]* | ?:[\\/]* ) # Absolute name.
1215 ac_srcdir=$srcdir$ac_dir_suffix;
1216 ac_top_srcdir=$srcdir
1217 ac_abs_top_srcdir=$srcdir ;;
1219 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1220 ac_top_srcdir=$ac_top_build_prefix$srcdir
1221 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1223 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1225 cd $ac_dir || { ac_status=$?; continue; }
1226 # Check for guested configure; otherwise get Cygnus style configure.
1227 if test -f $ac_srcdir/configure.gnu; then
1229 $SHELL $ac_srcdir/configure.gnu --help=recursive
1230 elif test -f $ac_srcdir/configure; then
1232 $SHELL $ac_srcdir/configure --help=recursive
1233 elif test -f $ac_srcdir/configure.ac ||
1234 test -f $ac_srcdir/configure.in; then
1236 $ac_configure --help
1238 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1240 cd "$ac_pwd" || { ac_status=$?; break; }
1244 test -n "$ac_init_help" && exit $ac_status
1245 if $ac_init_version; then
1247 GNU Automake configure 1.9a
1248 generated by GNU Autoconf 2.59c
1250 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1251 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
1252 This configure script is free software; the Free Software Foundation
1253 gives unlimited permission to copy, distribute and modify it.
1259 This file contains any messages produced by compilers while
1260 running configure, to aid debugging if configure makes a mistake.
1262 It was created by GNU Automake $as_me 1.9a, which was
1263 generated by GNU Autoconf 2.59c. Invocation command line was
1274 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1275 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1276 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1277 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1278 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1280 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1281 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1283 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1284 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1285 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1286 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1287 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1288 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1289 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1297 test -z "$as_dir" && as_dir=.
1298 echo "PATH: $as_dir"
1313 # Keep a trace of the command line.
1314 # Strip out --no-create and --no-recursion so they do not pile up.
1315 # Strip out --silent because we don't want to record it for future runs.
1316 # Also quote any args containing shell meta-characters.
1317 # Make two passes to allow for proper duplicate-argument suppression.
1322 ac_must_keep_next=false
1328 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1329 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1330 | -silent | --silent | --silen | --sile | --sil)
1332 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1333 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1336 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1338 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1339 if test $ac_must_keep_next = true; then
1340 ac_must_keep_next=false # Got value, back to normal.
1343 *=* | --config-cache | -C | -disable-* | --disable-* \
1344 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1345 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1346 | -with-* | --with-* | -without-* | --without-* | --x)
1347 case "$ac_configure_args0 " in
1348 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1351 -* ) ac_must_keep_next=true ;;
1354 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1355 # Get rid of the leading space.
1361 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1362 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1364 # When interrupted or exit'd, cleanup temporary files, and complete
1365 # config.log. We remove comments because anyway the quotes in there
1366 # would cause problems or look ugly.
1367 # WARNING: Be sure not to use single quotes in there, as some shells,
1368 # such as our DU 5.0 friend, will then `close' the trap.
1369 trap 'exit_status=$?
1370 # Save into config.log some information that might help in debugging.
1375 ## ---------------- ##
1376 ## Cache variables. ##
1377 ## ---------------- ##
1380 # The following way of writing the cache mishandles newlines in values,
1383 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1386 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1387 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1391 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1398 ## ----------------- ##
1399 ## Output variables. ##
1400 ## ----------------- ##
1403 for ac_var in $ac_subst_vars
1405 eval ac_val=\$$ac_var
1406 echo "$ac_var='"'"'$ac_val'"'"'"
1410 if test -n "$ac_subst_files"; then
1412 ## ------------------- ##
1413 ## File substitutions. ##
1414 ## ------------------- ##
1417 for ac_var in $ac_subst_files
1419 eval ac_val=\$$ac_var
1420 echo "$ac_var='"'"'$ac_val'"'"'"
1425 if test -s confdefs.h; then
1432 sed "/^$/d" confdefs.h | sort
1435 test "$ac_signal" != 0 &&
1436 echo "$as_me: caught signal $ac_signal"
1437 echo "$as_me: exit $exit_status"
1439 rm -f core *.core core.conftest.* &&
1440 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1443 for ac_signal in 1 2 13 15; do
1444 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1448 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1449 rm -f -r conftest* confdefs.h
1451 # Predefined preprocessor variables.
1453 cat >>confdefs.h <<_ACEOF
1454 #define PACKAGE_NAME "$PACKAGE_NAME"
1458 cat >>confdefs.h <<_ACEOF
1459 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1463 cat >>confdefs.h <<_ACEOF
1464 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1468 cat >>confdefs.h <<_ACEOF
1469 #define PACKAGE_STRING "$PACKAGE_STRING"
1473 cat >>confdefs.h <<_ACEOF
1474 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1478 # Let the site file select an alternate cache file if it wants to.
1479 # Prefer explicitly selected file to automatically selected ones.
1480 if test -n "$CONFIG_SITE"; then
1481 set x "$CONFIG_SITE"
1482 elif test "x$prefix" != xNONE; then
1483 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1485 set x "$ac_default_prefix/share/config.site" \
1486 "$ac_default_prefix/etc/config.site"
1491 if test -r "$ac_site_file"; then
1492 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1493 echo "$as_me: loading site script $ac_site_file" >&6;}
1494 sed 's/^/| /' "$ac_site_file" >&5
1499 if test -r "$cache_file"; then
1500 # Some versions of bash will fail to source /dev/null (special
1501 # files actually), so we avoid doing that.
1502 if test -f "$cache_file"; then
1503 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1504 echo "$as_me: loading cache $cache_file" >&6;}
1506 [\\/]* | ?:[\\/]* ) . $cache_file;;
1507 *) . ./$cache_file;;
1511 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1512 echo "$as_me: creating cache $cache_file" >&6;}
1516 # Check that the precious variables saved in the cache have kept the same
1518 ac_cache_corrupted=false
1519 for ac_var in $ac_precious_vars; do
1520 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1521 eval ac_new_set=\$ac_env_${ac_var}_set
1522 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1523 eval ac_new_val=\$ac_env_${ac_var}_value
1524 case $ac_old_set,$ac_new_set in
1526 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1527 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1528 ac_cache_corrupted=: ;;
1530 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1531 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1532 ac_cache_corrupted=: ;;
1535 if test "x$ac_old_val" != "x$ac_new_val"; then
1536 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1537 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1538 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1539 echo "$as_me: former value: $ac_old_val" >&2;}
1540 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1541 echo "$as_me: current value: $ac_new_val" >&2;}
1542 ac_cache_corrupted=:
1545 # Pass precious variables to config.status.
1546 if test "$ac_new_set" = set; then
1548 *" "*|*" "*|*[\\\[\~\#\$\^\&\*\(\)\{\}\|\;\<\>\?\"\']*|*\]*)
1549 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1550 *) ac_arg=$ac_var=$ac_new_val ;;
1552 case " $ac_configure_args " in
1553 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1554 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1558 if $ac_cache_corrupted; then
1559 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1560 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1561 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1562 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1563 { (exit 1); exit 1; }; }
1591 ac_cpp='$CPP $CPPFLAGS'
1592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1600 for ac_dir in lib $srcdir/lib; do
1601 if test -f $ac_dir/install-sh; then
1603 ac_install_sh="$ac_aux_dir/install-sh -c"
1605 elif test -f $ac_dir/install.sh; then
1607 ac_install_sh="$ac_aux_dir/install.sh -c"
1609 elif test -f $ac_dir/shtool; then
1611 ac_install_sh="$ac_aux_dir/shtool install -c"
1615 if test -z "$ac_aux_dir"; then
1616 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&5
1617 echo "$as_me: error: cannot find install-sh or install.sh in lib $srcdir/lib" >&2;}
1618 { (exit 1); exit 1; }; }
1620 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1621 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1622 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1625 # Make sure we can run config.sub.
1626 $ac_config_sub sun4 >/dev/null 2>&1 ||
1627 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1628 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1629 { (exit 1); exit 1; }; }
1631 { echo "$as_me:$LINENO: checking build system type" >&5
1632 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1633 if test "${ac_cv_build+set}" = set; then
1634 echo $ECHO_N "(cached) $ECHO_C" >&6
1636 ac_build_alias=$build_alias
1637 test "x$ac_build_alias" = x &&
1638 ac_build_alias=`$ac_config_guess`
1639 test "x$ac_build_alias" = x &&
1640 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1641 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1642 { (exit 1); exit 1; }; }
1643 ac_cv_build=`$ac_config_sub $ac_build_alias` ||
1644 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_build_alias failed" >&5
1645 echo "$as_me: error: $ac_config_sub $ac_build_alias failed" >&2;}
1646 { (exit 1); exit 1; }; }
1649 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1650 echo "${ECHO_T}$ac_cv_build" >&6; }
1651 case $ac_cv_build in
1653 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1654 echo "$as_me: error: invalid value of canonical build" >&2;}
1655 { (exit 1); exit 1; }; };;
1658 ac_save_IFS=$IFS; IFS='-'
1669 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1670 # way we can run Autoconf tests from configure (or from the test
1671 # suite) without being bothered by `missing'.
1672 am_AUTOCONF="${AUTOCONF-autoconf}"
1675 am__api_version='1.9a'
1677 # Find a good install program. We prefer a C program (faster),
1678 # so one script is as good as another. But avoid the broken or
1679 # incompatible versions:
1680 # SysV /etc/install, /usr/sbin/install
1681 # SunOS /usr/etc/install
1682 # IRIX /sbin/install
1684 # AmigaOS /C/install, which installs bootblocks on floppy discs
1685 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1686 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1687 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1688 # OS/2's system install, which has a completely different semantic
1689 # ./install, which can be erroneously created by make from ./install.sh.
1690 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1691 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1692 if test -z "$INSTALL"; then
1693 if test "${ac_cv_path_install+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1700 test -z "$as_dir" && as_dir=.
1701 # Account for people who put trailing slashes in PATH elements.
1703 ./ | .// | /cC/* | \
1704 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1705 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1708 # OSF1 and SCO ODT 3.0 have their own names for install.
1709 # Don't use installbsd from OSF since it installs stuff as root
1711 for ac_prog in ginstall scoinst install; do
1712 for ac_exec_ext in '' $ac_executable_extensions; do
1713 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1714 if test $ac_prog = install &&
1715 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1716 # AIX install. It has an incompatible calling convention.
1718 elif test $ac_prog = install &&
1719 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1720 # program-specific install script used by HP pwplus--don't use.
1723 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1735 if test "${ac_cv_path_install+set}" = set; then
1736 INSTALL=$ac_cv_path_install
1738 # As a last resort, use the slow shell script. Don't cache a
1739 # value for INSTALL within a source directory, because that will
1740 # break other packages using the cache if that directory is
1741 # removed, or if the value is a relative name.
1742 INSTALL=$ac_install_sh
1745 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1746 echo "${ECHO_T}$INSTALL" >&6; }
1748 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1749 # It thinks the first close brace ends the variable substitution.
1750 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1752 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1754 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1756 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1757 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1760 echo timestamp > conftest.file
1761 # Do `set' in a subshell so we don't clobber the current shell's
1762 # arguments. Must try -L first in case configure is actually a
1763 # symlink; some systems play weird games with the mod time of symlinks
1764 # (eg FreeBSD returns the mod time of the symlink's containing
1767 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1768 if test "$*" = "X"; then
1770 set X `ls -t $srcdir/configure conftest.file`
1773 if test "$*" != "X $srcdir/configure conftest.file" \
1774 && test "$*" != "X conftest.file $srcdir/configure"; then
1776 # If neither matched, then we have a broken ls. This can happen
1777 # if, for instance, CONFIG_SHELL is bash and it inherits a
1778 # broken ls alias from the environment. This has actually
1779 # happened. Such a system could not be considered "sane".
1780 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1781 alias in your environment" >&5
1782 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1783 alias in your environment" >&2;}
1784 { (exit 1); exit 1; }; }
1787 test "$2" = conftest.file
1793 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1794 Check your system clock" >&5
1795 echo "$as_me: error: newly created file is older than distributed files!
1796 Check your system clock" >&2;}
1797 { (exit 1); exit 1; }; }
1799 { echo "$as_me:$LINENO: result: yes" >&5
1800 echo "${ECHO_T}yes" >&6; }
1801 test "$program_prefix" != NONE &&
1802 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1803 # Use a double $ so make ignores it.
1804 test "$program_suffix" != NONE &&
1805 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1806 # Double any \ or $. echo might interpret backslashes.
1807 # By default was `s,x,x', remove it if useless.
1808 cat <<\_ACEOF >conftest.sed
1809 s/[\\$]/&&/g;s/;s,x,x,$//
1811 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1814 # expand $ac_aux_dir to an absolute path
1815 am_aux_dir=`cd $ac_aux_dir && pwd`
1817 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1818 # Use eval to expand $SHELL
1819 if eval "$MISSING --run true"; then
1820 am_missing_run="$MISSING --run "
1823 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1824 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1827 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1828 # We used to define $(mkdir_p) as `mkdir -p -- .', in order to
1829 # allow $(mkdir_p) to be used without argument. As in
1830 # $(mkdir_p) $(somedir)
1831 # where $(somedir) is conditionally defined. However we don't do
1833 # 1. before we restricted the check to GNU mkdir, `mkdir -p .' was
1834 # reported to fail in read-only directories. The system where this
1835 # happened has been forgotten.
1836 # 2. in practice we call $(mkdir_p) on directories such as
1837 # $(mkdir_p) "$(DESTDIR)$(somedir)"
1838 # and we don't want to create $(DESTDIR) if $(somedir) is empty.
1839 # To support the latter case, we have to write
1840 # test -z "$(somedir)" || $(mkdir_p) "$(DESTDIR)$(somedir)"
1841 # so $(mkdir_p) always has an argument.
1842 # We will have better chances of detecting a missing test if
1843 # $(mkdir_p) complains about missing arguments.
1844 # 3. $(mkdir_p) is named after `mkdir -p' and we don't expect this
1845 # to accept no argument.
1846 # 4. having something like `mkdir .' in the output is unsightly.
1847 mkdir_p='mkdir -p --'
1849 # On NextStep and OpenStep, the `mkdir' command does not
1850 # recognize any option. It will interpret all options as
1851 # directories to create.
1852 for d in ./-p ./--version;
1854 test -d $d && rmdir $d
1856 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1857 if test -f "$ac_aux_dir/mkinstalldirs"; then
1858 mkdir_p='$(mkinstalldirs)'
1860 mkdir_p='$(install_sh) -d'
1864 for ac_prog in gawk mawk nawk awk
1866 # Extract the first word of "$ac_prog", so it can be a program name with args.
1867 set dummy $ac_prog; ac_word=$2
1868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1870 if test "${ac_cv_prog_AWK+set}" = set; then
1871 echo $ECHO_N "(cached) $ECHO_C" >&6
1873 if test -n "$AWK"; then
1874 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1880 test -z "$as_dir" && as_dir=.
1881 for ac_exec_ext in '' $ac_executable_extensions; do
1882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1883 ac_cv_prog_AWK="$ac_prog"
1884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1893 if test -n "$AWK"; then
1894 { echo "$as_me:$LINENO: result: $AWK" >&5
1895 echo "${ECHO_T}$AWK" >&6; }
1897 { echo "$as_me:$LINENO: result: no" >&5
1898 echo "${ECHO_T}no" >&6; }
1902 test -n "$AWK" && break
1905 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1906 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1907 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1908 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1909 echo $ECHO_N "(cached) $ECHO_C" >&6
1911 cat >conftest.make <<\_ACEOF
1914 @echo 'ac_maketemp=X"$(MAKE)"'
1916 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1917 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1918 if test "$ac_maketemp" != X ; then
1919 eval ac_cv_prog_make_${ac_make}_set=yes
1921 eval ac_cv_prog_make_${ac_make}_set=no
1925 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1926 { echo "$as_me:$LINENO: result: yes" >&5
1927 echo "${ECHO_T}yes" >&6; }
1930 { echo "$as_me:$LINENO: result: no" >&5
1931 echo "${ECHO_T}no" >&6; }
1932 SET_MAKE="MAKE=${MAKE-make}"
1935 rm -rf .tst 2>/dev/null
1936 mkdir .tst 2>/dev/null
1937 if test -d .tst; then
1942 rmdir .tst 2>/dev/null
1944 # test to see if srcdir already configured
1945 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1946 test -f $srcdir/config.status; then
1947 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1948 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1949 { (exit 1); exit 1; }; }
1952 # test whether we have cygpath
1953 if test -z "$CYGPATH_W"; then
1954 if (cygpath --version) >/dev/null 2>/dev/null; then
1955 CYGPATH_W='cygpath -w'
1962 # Define the identity of the package.
1967 cat >>confdefs.h <<_ACEOF
1968 #define PACKAGE "$PACKAGE"
1972 cat >>confdefs.h <<_ACEOF
1973 #define VERSION "$VERSION"
1976 # Some tools Automake needs.
1978 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1981 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1984 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1987 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1990 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1992 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1994 # Installed binaries are usually stripped using `strip' when the user
1995 # run `make install-strip'. However `strip' might not be the right
1996 # tool to use in cross-compilation environments, therefore Automake
1997 # will honor the `STRIP' environment variable to overrule this program.
1998 if test "$cross_compiling" != no; then
1999 if test -n "$ac_tool_prefix"; then
2000 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2001 set dummy ${ac_tool_prefix}strip; ac_word=$2
2002 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2004 if test "${ac_cv_prog_STRIP+set}" = set; then
2005 echo $ECHO_N "(cached) $ECHO_C" >&6
2007 if test -n "$STRIP"; then
2008 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2014 test -z "$as_dir" && as_dir=.
2015 for ac_exec_ext in '' $ac_executable_extensions; do
2016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2017 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2026 STRIP=$ac_cv_prog_STRIP
2027 if test -n "$STRIP"; then
2028 { echo "$as_me:$LINENO: result: $STRIP" >&5
2029 echo "${ECHO_T}$STRIP" >&6; }
2031 { echo "$as_me:$LINENO: result: no" >&5
2032 echo "${ECHO_T}no" >&6; }
2037 if test -z "$ac_cv_prog_STRIP"; then
2039 # Extract the first word of "strip", so it can be a program name with args.
2040 set dummy strip; ac_word=$2
2041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2043 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2046 if test -n "$ac_ct_STRIP"; then
2047 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2053 test -z "$as_dir" && as_dir=.
2054 for ac_exec_ext in '' $ac_executable_extensions; do
2055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2056 ac_cv_prog_ac_ct_STRIP="strip"
2057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2065 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2066 if test -n "$ac_ct_STRIP"; then
2067 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2068 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2070 { echo "$as_me:$LINENO: result: no" >&5
2071 echo "${ECHO_T}no" >&6; }
2074 if test "x$ac_ct_STRIP" = x; then
2077 if test "$build" != "$host"; then
2078 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2079 whose name does not start with the host triplet. If you think this
2080 configuration is useful to you, please write to autoconf@gnu.org." >&5
2081 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2082 whose name does not start with the host triplet. If you think this
2083 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2088 STRIP="$ac_cv_prog_STRIP"
2092 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2094 # We need awk for the "check" target. The system "awk" is bad on
2096 # Always define AMTAR for backward compatibility.
2098 AMTAR=${AMTAR-"${am_missing_run}tar"}
2100 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2107 # The API version is the base version. We must guarantee
2108 # compatibility for all releases with the same API version.
2109 # Our current rule is that:
2110 # * All releases, including the prereleases, in an X.Y series
2111 # are compatible. So 1.5.1c is compatible with 1.5.
2112 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2114 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2117 # A versioned directory, defined here for convenience.
2118 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
2121 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2122 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2123 ACLOCAL="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/aclocal --acdir=m4"
2124 AUTOMAKE="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/automake --libdir=lib"
2126 # Extract the first word of "perl", so it can be a program name with args.
2127 set dummy perl; ac_word=$2
2128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2130 if test "${ac_cv_path_PERL+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2135 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2142 test -z "$as_dir" && as_dir=.
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2145 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2155 if test -n "$PERL"; then
2156 { echo "$as_me:$LINENO: result: $PERL" >&5
2157 echo "${ECHO_T}$PERL" >&6; }
2159 { echo "$as_me:$LINENO: result: no" >&5
2160 echo "${ECHO_T}no" >&6; }
2163 PERL=$ac_cv_path_PERL
2165 if test -z "$PERL"; then
2166 { { echo "$as_me:$LINENO: error: perl not found" >&5
2167 echo "$as_me: error: perl not found" >&2;}
2168 { (exit 1); exit 1; }; }
2170 $PERL -e 'require 5.006;' || {
2171 { { echo "$as_me:$LINENO: error: perl 5.6 or better is required. If you have several perl
2172 versions installed, select the one Automake should use using
2173 ./configure PERL=/path/to/perl" >&5
2174 echo "$as_me: error: perl 5.6 or better is required. If you have several perl
2175 versions installed, select the one Automake should use using
2176 ./configure PERL=/path/to/perl" >&2;}
2177 { (exit 1); exit 1; }; }
2180 # The test suite will skip some tests if tex is absent.
2181 # Extract the first word of "tex", so it can be a program name with args.
2182 set dummy tex; ac_word=$2
2183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2185 if test "${ac_cv_prog_TEX+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 if test -n "$TEX"; then
2189 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 test -z "$as_dir" && as_dir=.
2196 for ac_exec_ext in '' $ac_executable_extensions; do
2197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2198 ac_cv_prog_TEX="tex"
2199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2208 if test -n "$TEX"; then
2209 { echo "$as_me:$LINENO: result: $TEX" >&5
2210 echo "${ECHO_T}$TEX" >&6; }
2212 { echo "$as_me:$LINENO: result: no" >&5
2213 echo "${ECHO_T}no" >&6; }
2218 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2219 # deletion of any files created (such as those added to
2220 # autom4te.cache). We used to perform only the last of the three
2221 # following tests, but some users were unable to figure out that their
2222 # installation was broken since --version appeared to work.
2224 { echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
2225 echo $ECHO_N "checking whether autoconf is installed... $ECHO_C" >&6; }
2226 if test "${am_cv_autoconf_installed+set}" = set; then
2227 echo $ECHO_N "(cached) $ECHO_C" >&6
2229 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2230 (eval $am_AUTOCONF --version) >&5 2>&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); };
2235 am_cv_autoconf_installed=yes
2237 am_cv_autoconf_installed=no
2240 { echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
2241 echo "${ECHO_T}$am_cv_autoconf_installed" >&6; }
2242 if test "$am_cv_autoconf_installed" = no; then
2243 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required.
2244 Please make sure it is installed and in your PATH." >&5
2245 echo "$as_me: error: Autoconf 2.58 or better is required.
2246 Please make sure it is installed and in your PATH." >&2;}
2247 { (exit 1); exit 1; }; }
2250 { echo "$as_me:$LINENO: checking whether autoconf works" >&5
2251 echo $ECHO_N "checking whether autoconf works... $ECHO_C" >&6; }
2252 if test "${am_cv_autoconf_works+set}" = set; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2256 echo 'AC''_INIT' > conftest/conftest.ac
2257 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2258 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); };
2263 am_cv_autoconf_works=yes
2265 am_cv_autoconf_works=no
2269 { echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
2270 echo "${ECHO_T}$am_cv_autoconf_works" >&6; }
2271 if test "$am_cv_autoconf_works" = no; then
2272 { { echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
2273 Please check config.log for error messages before this one." >&5
2274 echo "$as_me: error: The installed version of autoconf does not work.
2275 Please check config.log for error messages before this one." >&2;}
2276 { (exit 1); exit 1; }; }
2279 { echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
2280 echo $ECHO_N "checking whether autoconf is recent enough... $ECHO_C" >&6; }
2281 if test "${am_cv_autoconf_version+set}" = set; then
2282 echo $ECHO_N "(cached) $ECHO_C" >&6
2285 echo 'AC''_PREREQ(2.58)' > conftest/conftest.ac
2286 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2287 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290 (exit $ac_status); };
2292 am_cv_autoconf_version=yes
2294 am_cv_autoconf_version=no
2298 { echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
2299 echo "${ECHO_T}$am_cv_autoconf_version" >&6; }
2300 if test "$am_cv_autoconf_version" = no; then
2301 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required." >&5
2302 echo "$as_me: error: Autoconf 2.58 or better is required." >&2;}
2303 { (exit 1); exit 1; }; }
2306 # Test for ln. We need use it to install the versioned binaries.
2307 { echo "$as_me:$LINENO: checking whether ln works" >&5
2308 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
2309 if test "${am_cv_prog_ln+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 rm -f conftest conftest.file
2315 if ln conftest.file conftest 2>/dev/null; then
2318 am_cv_prog_ln='cp -p'
2320 rm -f conftest conftest.file
2326 test "x$am_cv_prog_ln" = xln && result=yes
2327 { echo "$as_me:$LINENO: result: $result" >&5
2328 echo "${ECHO_T}$result" >&6; }
2330 # The amount we should wait after modifying files depends on the platform.
2331 # On Windows '95, '98 and ME, files modifications have 2-seconds
2332 # granularity and can be up to 3 seconds in the future w.r.t. the
2333 # system clock. When it is important to ensure one file is older
2334 # than another we wait at least 5 seconds between creations.
2336 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2337 *) MODIFICATION_DELAY=2;;
2341 # Test for things needed by the test suite.
2342 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2343 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2344 if test "${ac_cv_path_GREP+set}" = set; then
2345 echo $ECHO_N "(cached) $ECHO_C" >&6
2347 # Extract the first word of "grep ggrep" to use in msg output
2348 if test -z "$GREP"; then
2349 set dummy grep ggrep; ac_prog_name=$2
2350 if test "${ac_cv_path_GREP+set}" = set; then
2351 echo $ECHO_N "(cached) $ECHO_C" >&6
2353 ac_path_GREP_found=false
2354 # Loop through the user's path and test for each of PROGNAME-LIST
2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2359 test -z "$as_dir" && as_dir=.
2360 for ac_prog in grep ggrep; do
2361 for ac_exec_ext in '' $ac_executable_extensions; do
2362 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2363 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2364 # Check for GNU ac_path_GREP and select it if it is found.
2365 # Check for GNU $ac_path_GREP
2366 case `"$ac_path_GREP" --version 2>&1` in
2368 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2371 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2374 cat "conftest.in" "conftest.in" >"conftest.tmp"
2375 mv "conftest.tmp" "conftest.in"
2376 cp "conftest.in" "conftest.nl"
2377 echo 'GREP' >> "conftest.nl"
2378 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2379 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2380 ac_count=`expr $ac_count + 1`
2381 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2382 # Best one so far, save it but keep looking for a better one
2383 ac_cv_path_GREP="$ac_path_GREP"
2384 ac_path_GREP_max=$ac_count
2386 # 10*(2^10) chars as input seems more than enough
2387 test $ac_count -gt 10 && break
2393 $ac_path_GREP_found && break 3
2402 GREP="$ac_cv_path_GREP"
2403 if test -z "$GREP"; then
2404 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2405 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2406 { (exit 1); exit 1; }; }
2410 ac_cv_path_GREP=$GREP
2415 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2416 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2417 GREP="$ac_cv_path_GREP"
2420 { echo "$as_me:$LINENO: checking for egrep" >&5
2421 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2422 if test "${ac_cv_path_EGREP+set}" = set; then
2423 echo $ECHO_N "(cached) $ECHO_C" >&6
2425 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2426 then ac_cv_path_EGREP="$GREP -E"
2428 # Extract the first word of "egrep" to use in msg output
2429 if test -z "$EGREP"; then
2430 set dummy egrep; ac_prog_name=$2
2431 if test "${ac_cv_path_EGREP+set}" = set; then
2432 echo $ECHO_N "(cached) $ECHO_C" >&6
2434 ac_path_EGREP_found=false
2435 # Loop through the user's path and test for each of PROGNAME-LIST
2436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2440 test -z "$as_dir" && as_dir=.
2441 for ac_prog in egrep; do
2442 for ac_exec_ext in '' $ac_executable_extensions; do
2443 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2444 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
2445 # Check for GNU ac_path_EGREP and select it if it is found.
2446 # Check for GNU $ac_path_EGREP
2447 case `"$ac_path_EGREP" --version 2>&1` in
2449 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2452 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2455 cat "conftest.in" "conftest.in" >"conftest.tmp"
2456 mv "conftest.tmp" "conftest.in"
2457 cp "conftest.in" "conftest.nl"
2458 echo 'EGREP' >> "conftest.nl"
2459 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2460 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2461 ac_count=`expr $ac_count + 1`
2462 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2463 # Best one so far, save it but keep looking for a better one
2464 ac_cv_path_EGREP="$ac_path_EGREP"
2465 ac_path_EGREP_max=$ac_count
2467 # 10*(2^10) chars as input seems more than enough
2468 test $ac_count -gt 10 && break
2474 $ac_path_EGREP_found && break 3
2483 EGREP="$ac_cv_path_EGREP"
2484 if test -z "$EGREP"; then
2485 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2486 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2487 { (exit 1); exit 1; }; }
2491 ac_cv_path_EGREP=$EGREP
2497 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2498 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2499 EGREP="$ac_cv_path_EGREP"
2502 { echo "$as_me:$LINENO: checking for fgrep" >&5
2503 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
2504 if test "${ac_cv_path_FGREP+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
2508 then ac_cv_path_FGREP="$GREP -F"
2510 # Extract the first word of "fgrep" to use in msg output
2511 if test -z "$FGREP"; then
2512 set dummy fgrep; ac_prog_name=$2
2513 if test "${ac_cv_path_FGREP+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2516 ac_path_FGREP_found=false
2517 # Loop through the user's path and test for each of PROGNAME-LIST
2518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2519 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2522 test -z "$as_dir" && as_dir=.
2523 for ac_prog in fgrep; do
2524 for ac_exec_ext in '' $ac_executable_extensions; do
2525 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2526 { test -f "$ac_path_FGREP" && $as_executable_p "$ac_path_FGREP"; } || continue
2527 # Check for GNU ac_path_FGREP and select it if it is found.
2528 # Check for GNU $ac_path_FGREP
2529 case `"$ac_path_FGREP" --version 2>&1` in
2531 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
2534 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2537 cat "conftest.in" "conftest.in" >"conftest.tmp"
2538 mv "conftest.tmp" "conftest.in"
2539 cp "conftest.in" "conftest.nl"
2540 echo 'FGREP' >> "conftest.nl"
2541 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
2542 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2543 ac_count=`expr $ac_count + 1`
2544 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2545 # Best one so far, save it but keep looking for a better one
2546 ac_cv_path_FGREP="$ac_path_FGREP"
2547 ac_path_FGREP_max=$ac_count
2549 # 10*(2^10) chars as input seems more than enough
2550 test $ac_count -gt 10 && break
2556 $ac_path_FGREP_found && break 3
2565 FGREP="$ac_cv_path_FGREP"
2566 if test -z "$FGREP"; then
2567 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2568 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2569 { (exit 1); exit 1; }; }
2573 ac_cv_path_FGREP=$FGREP
2579 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
2580 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
2581 FGREP="$ac_cv_path_FGREP"
2585 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"
2587 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2589 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2592 cat >confcache <<\_ACEOF
2593 # This file is a shell script that caches the results of configure
2594 # tests run on this system so they can be shared between configure
2595 # scripts and configure runs, see configure's option --config-cache.
2596 # It is not useful on other systems. If it contains results you don't
2597 # want to keep, you may remove or edit it.
2599 # config.status only pays attention to the cache file if you give it
2600 # the --recheck option to rerun configure.
2602 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2603 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2608 # The following way of writing the cache mishandles newlines in values,
2609 # but we know of no workaround that is simple, portable, and efficient.
2610 # So, don't put newlines in cache variables' values.
2611 # Ultrix sh set writes to stderr and can't be redirected directly,
2612 # and sets the high bit in the cache file unless we assign to the vars.
2615 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2617 # `set' does not quote correctly, so add quotes (double-quote
2618 # substitution turns \\\\ into \\, and sed turns \\ into \).
2621 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2624 # `set' quotes correctly as required by POSIX, so do not add quotes.
2626 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2633 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2635 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2637 if diff $cache_file confcache >/dev/null 2>&1; then :; else
2638 if test -w $cache_file; then
2639 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2640 cat confcache >$cache_file
2642 echo "not updating unwritable cache $cache_file"
2647 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2648 # Let make expand exec_prefix.
2649 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2651 # Transform confdefs.h into DEFS.
2652 # Protect against shell expansion while executing Makefile rules.
2653 # Protect against Makefile macro expansion.
2655 # If the first sed substitution is executed (which looks for macros that
2656 # take arguments), then we branch to the quote section. Otherwise,
2657 # look for a macro that doesn't take arguments.
2658 cat >confdef2opt.sed <<\_ACEOF
2661 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2663 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2667 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2673 # We use echo to avoid assuming a particular line-breaking character.
2674 # The extra dot is to prevent the shell from consuming trailing
2675 # line-breaks from the sub-command output. A line-break within
2676 # single-quotes doesn't work because, if this script is created in a
2677 # platform that uses two characters for line-breaks (e.g., DOS), tr
2679 ac_LF_and_DOT=`echo; echo .`
2680 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2681 rm -f confdef2opt.sed
2686 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2687 # 1. Remove the extension, and $U if already installed.
2688 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2689 ac_i=`echo "$ac_i" | sed "$ac_script"`
2690 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2691 # will be set to the directory where LIBOBJS objects are built.
2692 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2693 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2697 LTLIBOBJS=$ac_ltlibobjs
2701 : ${CONFIG_STATUS=./config.status}
2702 ac_clean_files_save=$ac_clean_files
2703 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2704 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2705 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2706 cat >$CONFIG_STATUS <<_ACEOF
2708 # Generated by $as_me.
2709 # Run this file to recreate the current configuration.
2710 # Compiler output produced by configure, useful for debugging
2711 # configure, is in config.log if it exists.
2716 SHELL=\${CONFIG_SHELL-$SHELL}
2719 cat >>$CONFIG_STATUS <<\_ACEOF
2720 ## --------------------- ##
2721 ## M4sh Initialization. ##
2722 ## --------------------- ##
2724 # Be Bourne compatible
2725 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2728 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2729 # is contrary to our usage. Disable this feature.
2730 alias -g '${1+"$@"}'='"$@"'
2731 setopt NO_GLOB_SUBST
2732 elif (set -o posix) >/dev/null 2>&1; then
2735 BIN_SH=xpg4; export BIN_SH # for Tru64
2736 DUALCASE=1; export DUALCASE # for MKS sh
2740 # Avoid depending upon Character Ranges.
2741 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2742 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2743 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2744 as_cr_digits='0123456789'
2745 as_cr_alnum=$as_cr_Letters$as_cr_digits
2747 # The user is always right.
2748 if test "${PATH_SEPARATOR+set}" != set; then
2749 echo "#! /bin/sh" >conf$$.sh
2750 echo "exit 0" >>conf$$.sh
2752 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2760 # Support unset when possible.
2761 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2768 # Find who we are. Look in the path if we contain no path at all
2771 *[\\/]* ) as_myself=$0 ;;
2772 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2776 test -z "$as_dir" && as_dir=.
2777 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2782 # We did not find ourselves, most probably we were run as `sh COMMAND'
2783 # in which case we are not to be found in the path.
2784 if test "x$as_myself" = x; then
2787 if test ! -f "$as_myself"; then
2788 { echo "$as_me: error: cannot find myself; rerun with an absolute file name" >&2
2789 { (exit 1); exit 1; }; }
2792 # Work around bugs in pre-3.0 UWIN ksh.
2793 for as_var in ENV MAIL MAILPATH
2794 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2802 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2803 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2804 LC_TELEPHONE LC_TIME
2806 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2807 eval $as_var=C; export $as_var
2809 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2813 # Required to use basename.
2814 if expr a : '\(a\)' >/dev/null 2>&1; then
2820 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2821 as_basename=basename
2827 # Name of the executable.
2828 as_me=`$as_basename "$0" ||
2829 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2830 X"$0" : 'X\(//\)$' \| \
2831 X"$0" : 'X\(/\)$' \| \
2832 . : '\(.\)' 2>/dev/null ||
2834 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2835 /^X\/\(\/\/\)$/{ s//\1/; q; }
2836 /^X\/\(\/\).*/{ s//\1/; q; }
2844 test "x$as_lineno_1" != "x$as_lineno_2" &&
2845 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2847 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2848 # uniformly replaced by the line number. The first 'sed' inserts a
2849 # line-number line after each line using $LINENO; the second 'sed'
2850 # does the real work. The second script uses 'N' to pair each
2851 # line-number line with the line containing $LINENO, and appends
2852 # trailing '-' during substitution so that $LINENO is not a special
2854 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2855 # scripts with optimization help from Paolo Bonzini. Blame Lee
2856 # E. McMahon (1931-1989) for sed's syntax. :-)
2868 s,[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\),\2\1\2,
2872 chmod +x $as_me.lineno ||
2873 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2874 { (exit 1); exit 1; }; }
2876 # Don't try to exec as it changes $[0], causing all sort of problems
2877 # (the dirname of $[0] is not the place where we might find the
2878 # original and so on. Autoconf is especially sensible to this).
2880 # Exit status is that of the last command.
2885 ECHO_C= ECHO_N= ECHO_T=
2888 case `echo 'x\c'` in
2889 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2896 if expr a : '\(a\)' >/dev/null 2>&1; then
2902 rm -f conf$$ conf$$.exe conf$$.file
2904 if ln -s conf$$.file conf$$ 2>/dev/null; then
2905 # We could just check for DJGPP; but this test a) works b) is more generic
2906 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2907 if test -f conf$$.exe; then
2908 # Don't use ln at all; we don't have any links
2913 elif ln conf$$.file conf$$ 2>/dev/null; then
2918 rm -f conf$$ conf$$.exe conf$$.file
2920 if mkdir -p . 2>/dev/null; then
2923 test -d ./-p && rmdir ./-p
2927 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
2928 # systems may use methods other than mode bits to determine executability.
2929 cat >conf$$.file <<_ASEOF
2933 chmod +x conf$$.file
2934 if test -x conf$$.file >/dev/null 2>&1; then
2935 as_executable_p="test -x"
2941 # Sed expression to map a string onto a valid CPP name.
2942 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2944 # Sed expression to map a string onto a valid variable name.
2945 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2949 # We need space, tab and new line, in precisely that order.
2959 # Save the log message, to keep $[0] and so on meaningful, and to
2960 # report actual input values of CONFIG_FILES etc. instead of their
2961 # values after options handling.
2963 This file was extended by GNU Automake $as_me 1.9a, which was
2964 generated by GNU Autoconf 2.59c. Invocation command line was
2966 CONFIG_FILES = $CONFIG_FILES
2967 CONFIG_HEADERS = $CONFIG_HEADERS
2968 CONFIG_LINKS = $CONFIG_LINKS
2969 CONFIG_COMMANDS = $CONFIG_COMMANDS
2972 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2977 cat >>$CONFIG_STATUS <<_ACEOF
2978 # Files that config.status was made for.
2979 config_files="$ac_config_files"
2983 cat >>$CONFIG_STATUS <<\_ACEOF
2985 \`$as_me' instantiates files from templates according to the
2986 current configuration.
2988 Usage: $0 [OPTIONS] [FILE]...
2990 -h, --help print this help, then exit
2991 -V, --version print version number, then exit
2992 -q, --quiet do not print progress messages
2993 -d, --debug don't remove temporary files
2994 --recheck update $as_me by reconfiguring in the same conditions
2995 --file=FILE[:TEMPLATE]
2996 instantiate the configuration file FILE
2998 Configuration files:
3001 Report bugs to <bug-autoconf@gnu.org>."
3004 cat >>$CONFIG_STATUS <<_ACEOF
3006 GNU Automake config.status 1.9a
3007 configured by $0, generated by GNU Autoconf 2.59c,
3008 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3010 Copyright (C) 2005 Free Software Foundation, Inc.
3011 This config.status script is free software; the Free Software Foundation
3012 gives unlimited permission to copy, distribute and modify it."
3020 cat >>$CONFIG_STATUS <<\_ACEOF
3021 # If no file are specified by the user, then we need to provide default
3022 # value. By we need to know if files were specified by the user.
3028 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3029 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3040 # Handling of the options.
3041 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3043 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3044 echo "$ac_cs_version"; exit ;;
3045 --debug | --debu | --deb | --de | --d | -d )
3047 --file | --fil | --fi | --f )
3049 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3050 ac_need_defaults=false;;
3051 --he | --h | --help | --hel | -h )
3052 echo "$ac_cs_usage"; exit ;;
3053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3054 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3058 -*) { echo "$as_me: error: unrecognized option: $1
3059 Try \`$0 --help' for more information." >&2
3060 { (exit 1); exit 1; }; } ;;
3062 *) ac_config_targets="$ac_config_targets $1"
3063 ac_need_defaults=false ;;
3069 ac_configure_extra_args=
3071 if $ac_cs_silent; then
3073 ac_configure_extra_args="$ac_configure_extra_args --silent"
3079 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3080 ## Running $as_me. ##
3086 cat >>$CONFIG_STATUS <<_ACEOF
3087 if \$ac_cs_recheck; then
3088 echo "running CONFIG_SHELL=$SHELL $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3091 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3096 APIVERSION=$APIVERSION
3100 cat >>$CONFIG_STATUS <<\_ACEOF
3102 # Handling of arguments.
3103 for ac_config_target in $ac_config_targets
3105 case $ac_config_target in
3106 Makefile) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3107 doc/Makefile) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3108 lib/Automake/Makefile) CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3109 lib/Automake/tests/Makefile) CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3110 lib/Makefile) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3111 lib/am/Makefile) CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3112 m4/Makefile) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3113 tests/Makefile) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3114 tests/defs) CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3115 tests/aclocal-${APIVERSION}) CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3116 tests/automake-${APIVERSION}) CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3118 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3119 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3120 { (exit 1); exit 1; }; };;
3125 # If the user did not use the arguments to specify the items to instantiate,
3126 # then the envvar interface is used. Set only those that are not.
3127 # We use the long form for the default assignment because of an extremely
3128 # bizarre bug on SunOS 4.1.3.
3129 if $ac_need_defaults; then
3130 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3133 # Have a temporary directory for convenience. Make it in the build tree
3134 # simply because there is no reason against having it here, and in addition,
3135 # creating and moving files from /tmp can sometimes cause problems.
3136 # Hook for its removal unless debugging.
3137 # Note that there is a small window in which the directory will not be cleaned:
3138 # after its creation but before its name has been assigned to `$tmp'.
3142 trap 'exit_status=$?
3143 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3145 trap '{ (exit 1); exit 1; }' 1 2 13 15
3147 # Create a (secure) tmp directory for tmp files.
3150 tmp=`(umask 077 && mktemp -d -q "./confXXXXXX") 2>/dev/null` &&
3151 test -n "$tmp" && test -d "$tmp"
3154 tmp=./conf$$-$RANDOM
3155 (umask 077 && mkdir "$tmp")
3158 echo "$me: cannot create a temporary directory in ." >&2
3159 { (exit 1); exit 1; }
3163 # Set up the sed scripts for CONFIG_FILES section.
3166 # No need to generate the scripts if there are no CONFIG_FILES.
3167 # This happens for instance when ./config.status config.h
3168 if test -n "$CONFIG_FILES"; then
3175 for ac_last_try in false false false false false :; do
3176 cat >conf$$subs.sed <<_ACEOF
3177 SHELL!$SHELL$ac_delim
3178 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3179 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3180 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3181 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3182 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3183 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3184 exec_prefix!$exec_prefix$ac_delim
3185 prefix!$prefix$ac_delim
3186 program_transform_name!$program_transform_name$ac_delim
3187 bindir!$bindir$ac_delim
3188 sbindir!$sbindir$ac_delim
3189 libexecdir!$libexecdir$ac_delim
3190 datarootdir!$datarootdir$ac_delim
3191 datadir!$datadir$ac_delim
3192 sysconfdir!$sysconfdir$ac_delim
3193 sharedstatedir!$sharedstatedir$ac_delim
3194 localstatedir!$localstatedir$ac_delim
3195 includedir!$includedir$ac_delim
3196 oldincludedir!$oldincludedir$ac_delim
3197 docdir!$docdir$ac_delim
3198 infodir!$infodir$ac_delim
3199 htmldir!$htmldir$ac_delim
3200 dvidir!$dvidir$ac_delim
3201 pdfdir!$pdfdir$ac_delim
3202 psdir!$psdir$ac_delim
3203 libdir!$libdir$ac_delim
3204 localedir!$localedir$ac_delim
3205 mandir!$mandir$ac_delim
3207 ECHO_C!$ECHO_C$ac_delim
3208 ECHO_N!$ECHO_N$ac_delim
3209 ECHO_T!$ECHO_T$ac_delim
3211 build_alias!$build_alias$ac_delim
3212 host_alias!$host_alias$ac_delim
3213 target_alias!$target_alias$ac_delim
3214 build!$build$ac_delim
3215 build_cpu!$build_cpu$ac_delim
3216 build_vendor!$build_vendor$ac_delim
3217 build_os!$build_os$ac_delim
3218 am_AUTOCONF!$am_AUTOCONF$ac_delim
3219 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3220 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3221 INSTALL_DATA!$INSTALL_DATA$ac_delim
3222 CYGPATH_W!$CYGPATH_W$ac_delim
3223 PACKAGE!$PACKAGE$ac_delim
3224 VERSION!$VERSION$ac_delim
3225 ACLOCAL!$ACLOCAL$ac_delim
3226 AUTOCONF!$AUTOCONF$ac_delim
3227 AUTOMAKE!$AUTOMAKE$ac_delim
3228 AUTOHEADER!$AUTOHEADER$ac_delim
3229 MAKEINFO!$MAKEINFO$ac_delim
3230 install_sh!$install_sh$ac_delim
3231 STRIP!$STRIP$ac_delim
3232 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3233 mkdir_p!$mkdir_p$ac_delim
3235 SET_MAKE!$SET_MAKE$ac_delim
3236 am__leading_dot!$am__leading_dot$ac_delim
3237 AMTAR!$AMTAR$ac_delim
3238 am__tar!$am__tar$ac_delim
3239 am__untar!$am__untar$ac_delim
3240 APIVERSION!$APIVERSION$ac_delim
3241 pkgvdatadir!$pkgvdatadir$ac_delim
3245 MODIFICATION_DELAY!$MODIFICATION_DELAY$ac_delim
3247 EGREP!$EGREP$ac_delim
3248 FGREP!$FGREP$ac_delim
3249 LIBOBJS!$LIBOBJS$ac_delim
3250 LTLIBOBJS!$LTLIBOBJS$ac_delim
3253 if test `grep -c "$ac_delim\$" conf$$subs.sed` = 74; then
3255 elif $ac_last_try; then
3256 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3257 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3258 { (exit 1); exit 1; }; }
3260 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3265 if grep '^CEOF$' conf$$subs.sed >/dev/null; then
3266 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
3267 ac_eof=`expr 0$ac_eof + 1`
3270 cat >>$CONFIG_STATUS <<_ACEOF
3271 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3272 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3275 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3276 s/^/s,@/; s/!/@,|#_!!_#|/
3279 s/'"$ac_delim"'$/,g/; t
3281 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3282 ' >>$CONFIG_STATUS <conf$$subs.sed
3283 rm -f conf$$subs.sed
3284 cat >>$CONFIG_STATUS <<_ACEOF
3291 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3292 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3293 # trailing colons and then remove the whole line if VPATH becomes empty
3294 # (actually we leave an empty line to preserve line numbers).
3295 if test "x$srcdir" = x.; then
3296 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3297 s/:*\$(srcdir):*/:/;
3298 s/:*\${srcdir}:*/:/;
3300 s/^\([^=]*=[ ]*\):*/\1/;
3306 cat >>$CONFIG_STATUS <<\_ACEOF
3307 fi # test -n "$CONFIG_FILES"
3310 for ac_tag in :F $CONFIG_FILES
3313 :[FHLC]) ac_mode=$ac_tag; continue;;
3315 case $ac_mode$ac_tag in
3317 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3318 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3319 { (exit 1); exit 1; }; };;
3320 :[FH]-) ac_tag=-:-;;
3321 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3338 -) ac_f="$tmp/stdin";;
3339 *) # Look for the file first in the build tree, then in the source tree
3340 # (if the path is not absolute). The absolute path cannot be DOS-style,
3341 # because $ac_f cannot contain `:'.
3345 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3347 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3348 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3349 { (exit 1); exit 1; }; };;
3351 ac_file_inputs="$ac_file_inputs $ac_f"
3354 # Let's still pretend it is `configure' which instantiates (i.e., don't
3355 # use $as_me), people would be surprised to read:
3356 # /* config.h. Generated by config.status. */
3357 configure_input="Generated from "`IFS=:
3358 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3359 if test x"$ac_file" != x-; then
3360 configure_input="$ac_file. $configure_input"
3361 { echo "$as_me:$LINENO: creating $ac_file" >&5
3362 echo "$as_me: creating $ac_file" >&6;}
3366 *:-:* | *:-) cat >"$tmp/stdin";;
3371 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3372 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3373 X"$ac_file" : 'X\(//\)[^/]' \| \
3374 X"$ac_file" : 'X\(//\)$' \| \
3375 X"$ac_file" : 'X\(/\)' \| \
3376 . : '\(.\)' 2>/dev/null ||
3378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3379 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3380 /^X\(\/\/\)$/{ s//\1/; q; }
3381 /^X\(\/\).*/{ s//\1/; q; }
3383 { if $as_mkdir_p; then
3384 test -d "$ac_dir" || mkdir -p "$ac_dir"
3388 while test ! -d "$as_dir"; do
3389 as_dirs="$as_dir $as_dirs"
3390 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3391 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3392 X"$as_dir" : 'X\(//\)[^/]' \| \
3393 X"$as_dir" : 'X\(//\)$' \| \
3394 X"$as_dir" : 'X\(/\)' \| \
3395 . : '\(.\)' 2>/dev/null ||
3397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3398 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3399 /^X\(\/\/\)$/{ s//\1/; q; }
3400 /^X\(\/\).*/{ s//\1/; q; }
3403 test ! -n "$as_dirs" || mkdir $as_dirs
3404 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3405 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3406 { (exit 1); exit 1; }; }; }
3411 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3413 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3414 # A ".." for each directory in $ac_dir_suffix.
3415 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3416 case $ac_top_builddir_sub in
3417 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3418 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3421 ac_abs_top_builddir=$ac_pwd
3422 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3423 # for backward compatibility:
3424 ac_top_builddir=$ac_top_build_prefix
3427 .) # We are building in place.
3429 ac_top_srcdir=$ac_top_builddir_sub
3430 ac_abs_top_srcdir=$ac_pwd ;;
3431 [\\/]* | ?:[\\/]* ) # Absolute name.
3432 ac_srcdir=$srcdir$ac_dir_suffix;
3433 ac_top_srcdir=$srcdir
3434 ac_abs_top_srcdir=$srcdir ;;
3436 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3437 ac_top_srcdir=$ac_top_build_prefix$srcdir
3438 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3440 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3450 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3451 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3456 # Neutralize VPATH when `$srcdir' = `.'.
3457 # Shell code in configure.ac might set extrasub.
3458 # FIXME: do we really want to maintain this feature?
3459 cat >>$CONFIG_STATUS <<_ACEOF
3463 cat >>$CONFIG_STATUS <<\_ACEOF
3465 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3466 s&@configure_input@&$configure_input&;t t
3467 s&@top_builddir@&$ac_top_builddir_sub&;t t
3468 s&@srcdir@&$ac_srcdir&;t t
3469 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3470 s&@top_srcdir@&$ac_top_srcdir&;t t
3471 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3472 s&@builddir@&$ac_builddir&;t t
3473 s&@abs_builddir@&$ac_abs_builddir&;t t
3474 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3475 s&@INSTALL@&$ac_INSTALL&;t t
3476 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3480 -) cat "$tmp/out"; rm -f "$tmp/out";;
3481 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3490 case $ac_file$ac_mode in
3491 tests/aclocal-${APIVERSION}:F) chmod +x tests/aclocal-${APIVERSION} ;;
3492 tests/automake-${APIVERSION}:F) chmod +x tests/automake-${APIVERSION} ;;
3498 { (exit 0); exit 0; }
3500 chmod +x $CONFIG_STATUS
3501 ac_clean_files=$ac_clean_files_save
3504 # configure is writing to config.log, and then calls config.status.
3505 # config.status does its own redirection, appending to config.log.
3506 # Unfortunately, on DOS this fails, as config.log is still kept open
3507 # by configure, so config.status won't be able to write to it; its
3508 # output is simply discarded. So we exec the FD to /dev/null,
3509 # effectively closing config.log, so it can be properly (re)opened and
3510 # appended to by config.status. When coming back to configure, we
3511 # need to make the FD available again.
3512 if test "$no_create" != yes; then
3514 ac_config_status_args=
3515 test "$silent" = yes &&
3516 ac_config_status_args="$ac_config_status_args --quiet"
3518 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3520 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3521 # would make configure fail if this is the last instruction.
3522 $ac_cs_success || { (exit 1); exit 1; }