2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59e 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, 2006 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+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
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
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
68 # Find who we are. Look in the path if we contain no directory separator.
70 *[\\/]* ) as_myself=$0 ;;
71 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75 test -z "$as_dir" && as_dir=.
76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x; then
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C; export $as_var
109 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 # Required to use basename.
114 if expr a : '\(a\)' >/dev/null 2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
128 # Name of the executable.
129 as_me=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
152 if test "x$CONFIG_SHELL" = x; then
153 if (eval ":") 2>/dev/null; then
159 if test $as_have_required = yes && (eval ":
169 as_func_ret_success () {
172 as_func_ret_failure () {
177 if as_func_success; then
181 echo as_func_success failed.
184 if as_func_failure; then
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev/null; then
219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
226 for as_base in sh bash ksh sh5; do
227 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
234 for as_shell in $as_candidate_shells $SHELL; do
235 # Try only shells which exist, to save several forks.
236 if test -f "$as_shell" &&
237 { ("$as_shell") 2> /dev/null <<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
247 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
249 BIN_SH=xpg4; export BIN_SH # for Tru64
250 DUALCASE=1; export DUALCASE # for MKS sh
255 CONFIG_SHELL=$as_shell
257 if { "$as_shell" 2> /dev/null <<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269 BIN_SH=xpg4; export BIN_SH # for Tru64
270 DUALCASE=1; export DUALCASE # for MKS sh
282 as_func_ret_success () {
285 as_func_ret_failure () {
290 if as_func_success; then
294 echo as_func_success failed.
297 if as_func_failure; then
299 echo as_func_failure succeeded.
302 if as_func_ret_success; then
306 echo as_func_ret_success failed.
309 if as_func_ret_failure; then
311 echo as_func_ret_failure succeeded.
314 if ( set x; as_func_ret_success y && test x = "$1" ); then
318 echo positional parameters were not saved.
321 test $exitcode = 0) || { (exit 1); exit 1; }
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
338 if test "x$CONFIG_SHELL" != x; then
339 for as_var in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no; then
348 echo This script requires a shell more modern than all the
349 echo shells that I found on your system. Please install a
350 echo modern shell, or manually run the script under such a
351 echo shell if you do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
371 as_func_ret_success () {
374 as_func_ret_failure () {
379 if as_func_success; then
383 echo as_func_success failed.
386 if as_func_failure; then
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 echo positional parameters were not saved.
410 test \$exitcode = 0") || {
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system,
413 echo including any error possibly output before this
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x "$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
462 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
468 ECHO_C= ECHO_N= ECHO_T=
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 if expr a : '\(a\)' >/dev/null 2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
486 rm -f conf$$ conf$$.exe conf$$.file
487 if test -d conf$$.dir; then
488 rm -f conf$$.dir/conf$$.file
494 if ln -s conf$$.file conf$$ 2>/dev/null; then
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
502 elif ln conf$$.file conf$$ 2>/dev/null; then
507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508 rmdir conf$$.dir 2>/dev/null
510 if mkdir -p . 2>/dev/null; then
513 test -d ./-p && rmdir ./-p
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.file <<_ASEOF
524 if test -x conf$$.file >/dev/null 2>&1; then
525 as_executable_p="test -x"
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev/null 6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix=/usr/local
551 ac_config_libobj_dir=.
557 SHELL=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
560 PACKAGE_NAME='GNU Automake'
561 PACKAGE_TARNAME='automake'
562 PACKAGE_VERSION='1.9a'
563 PACKAGE_STRING='GNU Automake 1.9a'
564 PACKAGE_BUGREPORT='bug-automake@gnu.org'
566 ac_unique_file="automake.in"
576 program_transform_name
622 INSTALL_STRIP_PROGRAM
642 ac_precious_vars='build_alias
647 # Initialize some variables set by options.
649 ac_init_version=false
650 # The variables have the same names as the options, with
651 # dashes changed to underlines.
659 program_transform_name=s,x,x,
667 # Installation directory options.
668 # These are left unexpanded so users can "make install exec_prefix=/foo"
669 # and all the variables that are supposed to be based on exec_prefix
670 # by default will actually change.
671 # Use braces instead of parens because sh, perl, etc. also accept them.
672 # (The list follows the same order as the GNU Coding Standards.)
673 bindir='${exec_prefix}/bin'
674 sbindir='${exec_prefix}/sbin'
675 libexecdir='${exec_prefix}/libexec'
676 datarootdir='${prefix}/share'
677 datadir='${datarootdir}'
678 sysconfdir='${prefix}/etc'
679 sharedstatedir='${prefix}/com'
680 localstatedir='${prefix}/var'
681 includedir='${prefix}/include'
682 oldincludedir='/usr/include'
683 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
684 infodir='${datarootdir}/info'
689 libdir='${exec_prefix}/lib'
690 localedir='${datarootdir}/locale'
691 mandir='${datarootdir}/man'
697 # If the previous option needs an argument, assign it.
698 if test -n "$ac_prev"; then
699 eval $ac_prev=\$ac_option
705 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
709 # Accept the important Cygnus configure options, so we can diagnose typos.
711 case $ac_dashdash$ac_option in
715 -bindir | --bindir | --bindi | --bind | --bin | --bi)
717 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
720 -build | --build | --buil | --bui | --bu)
721 ac_prev=build_alias ;;
722 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
723 build_alias=$ac_optarg ;;
725 -cache-file | --cache-file | --cache-fil | --cache-fi \
726 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
727 ac_prev=cache_file ;;
728 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
729 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
730 cache_file=$ac_optarg ;;
733 cache_file=config.cache ;;
735 -datadir | --datadir | --datadi | --datad)
737 -datadir=* | --datadir=* | --datadi=* | --datad=*)
738 datadir=$ac_optarg ;;
740 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
741 | --dataroo | --dataro | --datar)
742 ac_prev=datarootdir ;;
743 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
744 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
745 datarootdir=$ac_optarg ;;
747 -disable-* | --disable-*)
748 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
749 # Reject names that are not valid shell variable names.
750 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
751 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
752 { (exit 1); exit 1; }; }
753 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
754 eval enable_$ac_feature=no ;;
756 -docdir | --docdir | --docdi | --doc | --do)
758 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
761 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
763 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
766 -enable-* | --enable-*)
767 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
768 # Reject names that are not valid shell variable names.
769 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
770 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
771 { (exit 1); exit 1; }; }
772 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
773 eval enable_$ac_feature=\$ac_optarg ;;
775 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
776 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
777 | --exec | --exe | --ex)
778 ac_prev=exec_prefix ;;
779 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
780 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
781 | --exec=* | --exe=* | --ex=*)
782 exec_prefix=$ac_optarg ;;
784 -gas | --gas | --ga | --g)
785 # Obsolete; use --with-gas.
788 -help | --help | --hel | --he | -h)
790 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
791 ac_init_help=recursive ;;
792 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
793 ac_init_help=short ;;
795 -host | --host | --hos | --ho)
796 ac_prev=host_alias ;;
797 -host=* | --host=* | --hos=* | --ho=*)
798 host_alias=$ac_optarg ;;
800 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
802 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
804 htmldir=$ac_optarg ;;
806 -includedir | --includedir | --includedi | --included | --include \
807 | --includ | --inclu | --incl | --inc)
808 ac_prev=includedir ;;
809 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
810 | --includ=* | --inclu=* | --incl=* | --inc=*)
811 includedir=$ac_optarg ;;
813 -infodir | --infodir | --infodi | --infod | --info | --inf)
815 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
816 infodir=$ac_optarg ;;
818 -libdir | --libdir | --libdi | --libd)
820 -libdir=* | --libdir=* | --libdi=* | --libd=*)
823 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
824 | --libexe | --libex | --libe)
825 ac_prev=libexecdir ;;
826 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
827 | --libexe=* | --libex=* | --libe=*)
828 libexecdir=$ac_optarg ;;
830 -localedir | --localedir | --localedi | --localed | --locale)
832 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
833 localedir=$ac_optarg ;;
835 -localstatedir | --localstatedir | --localstatedi | --localstated \
836 | --localstate | --localstat | --localsta | --localst | --locals)
837 ac_prev=localstatedir ;;
838 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
839 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
840 localstatedir=$ac_optarg ;;
842 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
844 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
848 # Obsolete; use --without-fp.
851 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
852 | --no-cr | --no-c | -n)
855 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
856 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
859 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
860 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
861 | --oldin | --oldi | --old | --ol | --o)
862 ac_prev=oldincludedir ;;
863 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
864 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
865 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
866 oldincludedir=$ac_optarg ;;
868 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
870 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
873 -program-prefix | --program-prefix | --program-prefi | --program-pref \
874 | --program-pre | --program-pr | --program-p)
875 ac_prev=program_prefix ;;
876 -program-prefix=* | --program-prefix=* | --program-prefi=* \
877 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
878 program_prefix=$ac_optarg ;;
880 -program-suffix | --program-suffix | --program-suffi | --program-suff \
881 | --program-suf | --program-su | --program-s)
882 ac_prev=program_suffix ;;
883 -program-suffix=* | --program-suffix=* | --program-suffi=* \
884 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
885 program_suffix=$ac_optarg ;;
887 -program-transform-name | --program-transform-name \
888 | --program-transform-nam | --program-transform-na \
889 | --program-transform-n | --program-transform- \
890 | --program-transform | --program-transfor \
891 | --program-transfo | --program-transf \
892 | --program-trans | --program-tran \
893 | --progr-tra | --program-tr | --program-t)
894 ac_prev=program_transform_name ;;
895 -program-transform-name=* | --program-transform-name=* \
896 | --program-transform-nam=* | --program-transform-na=* \
897 | --program-transform-n=* | --program-transform-=* \
898 | --program-transform=* | --program-transfor=* \
899 | --program-transfo=* | --program-transf=* \
900 | --program-trans=* | --program-tran=* \
901 | --progr-tra=* | --program-tr=* | --program-t=*)
902 program_transform_name=$ac_optarg ;;
904 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
906 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
909 -psdir | --psdir | --psdi | --psd | --ps)
911 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
914 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
915 | -silent | --silent | --silen | --sile | --sil)
918 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
920 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
922 sbindir=$ac_optarg ;;
924 -sharedstatedir | --sharedstatedir | --sharedstatedi \
925 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
926 | --sharedst | --shareds | --shared | --share | --shar \
928 ac_prev=sharedstatedir ;;
929 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
930 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
931 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
933 sharedstatedir=$ac_optarg ;;
935 -site | --site | --sit)
937 -site=* | --site=* | --sit=*)
940 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
942 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
945 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
946 | --syscon | --sysco | --sysc | --sys | --sy)
947 ac_prev=sysconfdir ;;
948 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
949 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
950 sysconfdir=$ac_optarg ;;
952 -target | --target | --targe | --targ | --tar | --ta | --t)
953 ac_prev=target_alias ;;
954 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
955 target_alias=$ac_optarg ;;
957 -v | -verbose | --verbose | --verbos | --verbo | --verb)
960 -version | --version | --versio | --versi | --vers | -V)
964 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
965 # Reject names that are not valid shell variable names.
966 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
967 { echo "$as_me: error: invalid package name: $ac_package" >&2
968 { (exit 1); exit 1; }; }
969 ac_package=`echo $ac_package| sed 's/-/_/g'`
970 eval with_$ac_package=\$ac_optarg ;;
972 -without-* | --without-*)
973 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
976 { echo "$as_me: error: invalid package name: $ac_package" >&2
977 { (exit 1); exit 1; }; }
978 ac_package=`echo $ac_package | sed 's/-/_/g'`
979 eval with_$ac_package=no ;;
982 # Obsolete; use --with-x.
985 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
986 | --x-incl | --x-inc | --x-in | --x-i)
987 ac_prev=x_includes ;;
988 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
989 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
990 x_includes=$ac_optarg ;;
992 -x-libraries | --x-libraries | --x-librarie | --x-librari \
993 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
994 ac_prev=x_libraries ;;
995 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
996 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
997 x_libraries=$ac_optarg ;;
999 -*) { echo "$as_me: error: unrecognized option: $ac_option
1000 Try \`$0 --help' for more information." >&2
1001 { (exit 1); exit 1; }; }
1005 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1008 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1009 { (exit 1); exit 1; }; }
1010 eval $ac_envvar=\$ac_optarg
1011 export $ac_envvar ;;
1014 # FIXME: should be removed in autoconf 3.0.
1015 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1016 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1017 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1018 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1024 if test -n "$ac_prev"; then
1025 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1026 { echo "$as_me: error: missing argument to $ac_option" >&2
1027 { (exit 1); exit 1; }; }
1030 # Be sure to have absolute directory names.
1031 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1032 datadir sysconfdir sharedstatedir localstatedir includedir \
1033 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1034 libdir localedir mandir
1036 eval ac_val=\$$ac_var
1038 [\\/$]* | ?:[\\/]* ) continue;;
1039 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1041 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1042 { (exit 1); exit 1; }; }
1045 # There might be people who depend on the old broken behavior: `$host'
1046 # used to hold the argument of --host etc.
1047 # FIXME: To remove some day.
1050 target=$target_alias
1052 # FIXME: To remove some day.
1053 if test "x$host_alias" != x; then
1054 if test "x$build_alias" = x; then
1055 cross_compiling=maybe
1056 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1057 If a cross compiler is detected then cross compile mode will be used." >&2
1058 elif test "x$build_alias" != "x$host_alias"; then
1064 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1066 test "$silent" = yes && exec 6>/dev/null
1069 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1070 ac_ls_di=`ls -di .` &&
1071 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1072 { echo "$as_me: error: Working directory cannot be determined" >&2
1073 { (exit 1); exit 1; }; }
1074 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1075 { echo "$as_me: error: pwd does not report name of working directory" >&2
1076 { (exit 1); exit 1; }; }
1079 # Find the source files, if location was not specified.
1080 if test -z "$srcdir"; then
1081 ac_srcdir_defaulted=yes
1082 # Try the directory containing this script, then the parent directory.
1083 ac_confdir=`$as_dirname -- "$0" ||
1084 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1085 X"$0" : 'X\(//\)[^/]' \| \
1086 X"$0" : 'X\(//\)$' \| \
1087 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1107 if test ! -r "$srcdir/$ac_unique_file"; then
1111 ac_srcdir_defaulted=no
1113 if test ! -r "$srcdir/$ac_unique_file"; then
1114 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1115 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1116 { (exit 1); exit 1; }; }
1118 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1120 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1121 { (exit 1); exit 1; }; }
1123 # When building in place, set srcdir=.
1124 if test "$ac_abs_confdir" = "$ac_pwd"; then
1127 # Remove unnecessary trailing slashes from srcdir.
1128 # Double slashes in file names in object file debugging info
1129 # mess up M-x gdb in Emacs.
1131 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1133 for ac_var in $ac_precious_vars; do
1134 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1135 eval ac_env_${ac_var}_value=\$${ac_var}
1136 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1137 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1141 # Report the --help message.
1143 if test "$ac_init_help" = "long"; then
1144 # Omit some internal or obsolete options to make the list less imposing.
1145 # This message is too long to be a string in the A/UX 3.1 sh.
1147 \`configure' configures GNU Automake 1.9a to adapt to many kinds of systems.
1149 Usage: $0 [OPTION]... [VAR=VALUE]...
1151 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1152 VAR=VALUE. See below for descriptions of some of the useful variables.
1154 Defaults for the options are specified in brackets.
1157 -h, --help display this help and exit
1158 --help=short display options specific to this package
1159 --help=recursive display the short help of all the included packages
1160 -V, --version display version information and exit
1161 -q, --quiet, --silent do not print \`checking...' messages
1162 --cache-file=FILE cache test results in FILE [disabled]
1163 -C, --config-cache alias for \`--cache-file=config.cache'
1164 -n, --no-create do not create output files
1165 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1167 Installation directories:
1168 --prefix=PREFIX install architecture-independent files in PREFIX
1169 [$ac_default_prefix]
1170 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1173 By default, \`make install' will install all the files in
1174 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1175 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1176 for instance \`--prefix=\$HOME'.
1178 For better control, use the options below.
1180 Fine tuning of the installation directories:
1181 --bindir=DIR user executables [EPREFIX/bin]
1182 --sbindir=DIR system admin executables [EPREFIX/sbin]
1183 --libexecdir=DIR program executables [EPREFIX/libexec]
1184 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1185 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1186 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1187 --libdir=DIR object code libraries [EPREFIX/lib]
1188 --includedir=DIR C header files [PREFIX/include]
1189 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1190 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1191 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1192 --infodir=DIR info documentation [DATAROOTDIR/info]
1193 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1194 --mandir=DIR man documentation [DATAROOTDIR/man]
1195 --docdir=DIR documentation root [DATAROOTDIR/doc/automake]
1196 --htmldir=DIR html documentation [DOCDIR]
1197 --dvidir=DIR dvi documentation [DOCDIR]
1198 --pdfdir=DIR pdf documentation [DOCDIR]
1199 --psdir=DIR ps documentation [DOCDIR]
1205 --program-prefix=PREFIX prepend PREFIX to installed program names
1206 --program-suffix=SUFFIX append SUFFIX to installed program names
1207 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1210 --build=BUILD configure for building on BUILD [guessed]
1214 if test -n "$ac_init_help"; then
1215 case $ac_init_help in
1216 short | recursive ) echo "Configuration of GNU Automake 1.9a:";;
1220 Report bugs to <bug-automake@gnu.org>.
1225 if test "$ac_init_help" = "recursive"; then
1226 # If there are subdirs, report their specific --help.
1227 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1228 test -d "$ac_dir" || continue
1232 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1234 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1235 # A ".." for each directory in $ac_dir_suffix.
1236 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1237 case $ac_top_builddir_sub in
1238 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1239 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1242 ac_abs_top_builddir=$ac_pwd
1243 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1244 # for backward compatibility:
1245 ac_top_builddir=$ac_top_build_prefix
1248 .) # We are building in place.
1250 ac_top_srcdir=$ac_top_builddir_sub
1251 ac_abs_top_srcdir=$ac_pwd ;;
1252 [\\/]* | ?:[\\/]* ) # Absolute name.
1253 ac_srcdir=$srcdir$ac_dir_suffix;
1254 ac_top_srcdir=$srcdir
1255 ac_abs_top_srcdir=$srcdir ;;
1257 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1258 ac_top_srcdir=$ac_top_build_prefix$srcdir
1259 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1261 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1263 cd "$ac_dir" || { ac_status=$?; continue; }
1264 # Check for guested configure.
1265 if test -f "$ac_srcdir/configure.gnu"; then
1267 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1268 elif test -f "$ac_srcdir/configure"; then
1270 $SHELL "$ac_srcdir/configure" --help=recursive
1272 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1274 cd "$ac_pwd" || { ac_status=$?; break; }
1278 test -n "$ac_init_help" && exit $ac_status
1279 if $ac_init_version; then
1281 GNU Automake configure 1.9a
1282 generated by GNU Autoconf 2.59e
1284 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1285 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1286 This configure script is free software; the Free Software Foundation
1287 gives unlimited permission to copy, distribute and modify it.
1291 cat >config.log <<_ACEOF
1292 This file contains any messages produced by compilers while
1293 running configure, to aid debugging if configure makes a mistake.
1295 It was created by GNU Automake $as_me 1.9a, which was
1296 generated by GNU Autoconf 2.59e. Invocation command line was
1308 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1309 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1310 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1311 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1312 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1314 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1315 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1317 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1318 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1319 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1320 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1321 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1322 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1323 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1331 test -z "$as_dir" && as_dir=.
1332 echo "PATH: $as_dir"
1348 # Keep a trace of the command line.
1349 # Strip out --no-create and --no-recursion so they do not pile up.
1350 # Strip out --silent because we don't want to record it for future runs.
1351 # Also quote any args containing shell meta-characters.
1352 # Make two passes to allow for proper duplicate-argument suppression.
1356 ac_must_keep_next=false
1362 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1363 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1364 | -silent | --silent | --silen | --sile | --sil)
1367 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1370 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1372 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1373 if test $ac_must_keep_next = true; then
1374 ac_must_keep_next=false # Got value, back to normal.
1377 *=* | --config-cache | -C | -disable-* | --disable-* \
1378 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1379 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1380 | -with-* | --with-* | -without-* | --without-* | --x)
1381 case "$ac_configure_args0 " in
1382 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1385 -* ) ac_must_keep_next=true ;;
1388 ac_configure_args="$ac_configure_args '$ac_arg'"
1393 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1394 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1396 # When interrupted or exit'd, cleanup temporary files, and complete
1397 # config.log. We remove comments because anyway the quotes in there
1398 # would cause problems or look ugly.
1399 # WARNING: Use '\'' to represent an apostrophe within the trap.
1400 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1401 trap 'exit_status=$?
1402 # Save into config.log some information that might help in debugging.
1407 ## ---------------- ##
1408 ## Cache variables. ##
1409 ## ---------------- ##
1412 # The following way of writing the cache mishandles newlines in values,
1414 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1415 eval ac_val=\$$ac_var
1419 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1420 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1423 _ | IFS | as_nl) ;; #(
1424 *) $as_unset $ac_var ;;
1429 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1430 *${as_nl}ac_space=\ *)
1432 "s/'\''/'\''\\\\'\'''\''/g;
1433 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1436 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1444 ## ----------------- ##
1445 ## Output variables. ##
1446 ## ----------------- ##
1449 for ac_var in $ac_subst_vars
1451 eval ac_val=\$$ac_var
1453 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1455 echo "$ac_var='\''$ac_val'\''"
1459 if test -n "$ac_subst_files"; then
1461 ## ------------------- ##
1462 ## File substitutions. ##
1463 ## ------------------- ##
1466 for ac_var in $ac_subst_files
1468 eval ac_val=\$$ac_var
1470 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1472 echo "$ac_var='\''$ac_val'\''"
1477 if test -s confdefs.h; then
1487 test "$ac_signal" != 0 &&
1488 echo "$as_me: caught signal $ac_signal"
1489 echo "$as_me: exit $exit_status"
1491 rm -f core *.core core.conftest.* &&
1492 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1495 for ac_signal in 1 2 13 15; do
1496 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1500 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1501 rm -f -r conftest* confdefs.h
1503 # Predefined preprocessor variables.
1505 cat >>confdefs.h <<_ACEOF
1506 #define PACKAGE_NAME "$PACKAGE_NAME"
1510 cat >>confdefs.h <<_ACEOF
1511 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1515 cat >>confdefs.h <<_ACEOF
1516 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1520 cat >>confdefs.h <<_ACEOF
1521 #define PACKAGE_STRING "$PACKAGE_STRING"
1525 cat >>confdefs.h <<_ACEOF
1526 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1530 # Let the site file select an alternate cache file if it wants to.
1531 # Prefer explicitly selected file to automatically selected ones.
1532 if test -n "$CONFIG_SITE"; then
1533 set x "$CONFIG_SITE"
1534 elif test "x$prefix" != xNONE; then
1535 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1537 set x "$ac_default_prefix/share/config.site" \
1538 "$ac_default_prefix/etc/config.site"
1543 if test -r "$ac_site_file"; then
1544 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1545 echo "$as_me: loading site script $ac_site_file" >&6;}
1546 sed 's/^/| /' "$ac_site_file" >&5
1551 if test -r "$cache_file"; then
1552 # Some versions of bash will fail to source /dev/null (special
1553 # files actually), so we avoid doing that.
1554 if test -f "$cache_file"; then
1555 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1556 echo "$as_me: loading cache $cache_file" >&6;}
1558 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1559 *) . "./$cache_file";;
1563 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1564 echo "$as_me: creating cache $cache_file" >&6;}
1568 # Check that the precious variables saved in the cache have kept the same
1570 ac_cache_corrupted=false
1571 for ac_var in $ac_precious_vars; do
1572 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1573 eval ac_new_set=\$ac_env_${ac_var}_set
1574 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1575 eval ac_new_val=\$ac_env_${ac_var}_value
1576 case $ac_old_set,$ac_new_set in
1578 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1579 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1580 ac_cache_corrupted=: ;;
1582 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1583 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1584 ac_cache_corrupted=: ;;
1587 if test "x$ac_old_val" != "x$ac_new_val"; then
1588 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1589 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1590 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1591 echo "$as_me: former value: $ac_old_val" >&2;}
1592 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1593 echo "$as_me: current value: $ac_new_val" >&2;}
1594 ac_cache_corrupted=:
1597 # Pass precious variables to config.status.
1598 if test "$ac_new_set" = set; then
1600 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1601 *) ac_arg=$ac_var=$ac_new_val ;;
1603 case " $ac_configure_args " in
1604 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1605 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1609 if $ac_cache_corrupted; then
1610 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1611 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1612 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1613 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1614 { (exit 1); exit 1; }; }
1642 ac_cpp='$CPP $CPPFLAGS'
1643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1651 for ac_dir in lib "$srcdir"/lib; do
1652 if test -f "$ac_dir/install-sh"; then
1654 ac_install_sh="$ac_aux_dir/install-sh -c"
1656 elif test -f "$ac_dir/install.sh"; then
1658 ac_install_sh="$ac_aux_dir/install.sh -c"
1660 elif test -f "$ac_dir/shtool"; then
1662 ac_install_sh="$ac_aux_dir/shtool install -c"
1666 if test -z "$ac_aux_dir"; then
1667 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in lib \"$srcdir\"/lib" >&5
1668 echo "$as_me: error: cannot find install-sh or install.sh in lib \"$srcdir\"/lib" >&2;}
1669 { (exit 1); exit 1; }; }
1672 # These three variables are undocumented and unsupported,
1673 # and are intended to be withdrawn in a future Autoconf release.
1674 # They can cause serious problems if a builder's source tree is in a directory
1675 # whose full name contains unusual characters.
1676 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1677 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1678 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1682 # Make sure we can run config.sub.
1683 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1684 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1685 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1686 { (exit 1); exit 1; }; }
1688 { echo "$as_me:$LINENO: checking build system type" >&5
1689 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1690 if test "${ac_cv_build+set}" = set; then
1691 echo $ECHO_N "(cached) $ECHO_C" >&6
1693 ac_build_alias=$build_alias
1694 test "x$ac_build_alias" = x &&
1695 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1696 test "x$ac_build_alias" = x &&
1697 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1698 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1699 { (exit 1); exit 1; }; }
1700 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1701 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1702 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1703 { (exit 1); exit 1; }; }
1706 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1707 echo "${ECHO_T}$ac_cv_build" >&6; }
1708 case $ac_cv_build in
1710 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1711 echo "$as_me: error: invalid value of canonical build" >&2;}
1712 { (exit 1); exit 1; }; };;
1715 ac_save_IFS=$IFS; IFS='-'
1721 # Remember, the first character of IFS is used to create $*,
1722 # except with old shells:
1725 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1729 # Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it; this
1730 # way we can run Autoconf tests from configure (or from the test
1731 # suite) without being bothered by `missing'.
1732 am_AUTOCONF="${AUTOCONF-autoconf}"
1735 am__api_version='1.9a'
1737 # Find a good install program. We prefer a C program (faster),
1738 # so one script is as good as another. But avoid the broken or
1739 # incompatible versions:
1740 # SysV /etc/install, /usr/sbin/install
1741 # SunOS /usr/etc/install
1742 # IRIX /sbin/install
1744 # AmigaOS /C/install, which installs bootblocks on floppy discs
1745 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1746 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1747 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1748 # OS/2's system install, which has a completely different semantic
1749 # ./install, which can be erroneously created by make from ./install.sh.
1750 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1751 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1752 if test -z "$INSTALL"; then
1753 if test "${ac_cv_path_install+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
1756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1760 test -z "$as_dir" && as_dir=.
1761 # Account for people who put trailing slashes in PATH elements.
1763 ./ | .// | /cC/* | \
1764 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1765 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1768 # OSF1 and SCO ODT 3.0 have their own names for install.
1769 # Don't use installbsd from OSF since it installs stuff as root
1771 for ac_prog in ginstall scoinst install; do
1772 for ac_exec_ext in '' $ac_executable_extensions; do
1773 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1774 if test $ac_prog = install &&
1775 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1776 # AIX install. It has an incompatible calling convention.
1778 elif test $ac_prog = install &&
1779 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1780 # program-specific install script used by HP pwplus--don't use.
1783 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1796 if test "${ac_cv_path_install+set}" = set; then
1797 INSTALL=$ac_cv_path_install
1799 # As a last resort, use the slow shell script. Don't cache a
1800 # value for INSTALL within a source directory, because that will
1801 # break other packages using the cache if that directory is
1802 # removed, or if the value is a relative name.
1803 INSTALL=$ac_install_sh
1806 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1807 echo "${ECHO_T}$INSTALL" >&6; }
1809 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1810 # It thinks the first close brace ends the variable substitution.
1811 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1813 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1815 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1817 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1818 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1821 echo timestamp > conftest.file
1822 # Do `set' in a subshell so we don't clobber the current shell's
1823 # arguments. Must try -L first in case configure is actually a
1824 # symlink; some systems play weird games with the mod time of symlinks
1825 # (eg FreeBSD returns the mod time of the symlink's containing
1828 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1829 if test "$*" = "X"; then
1831 set X `ls -t $srcdir/configure conftest.file`
1834 if test "$*" != "X $srcdir/configure conftest.file" \
1835 && test "$*" != "X conftest.file $srcdir/configure"; then
1837 # If neither matched, then we have a broken ls. This can happen
1838 # if, for instance, CONFIG_SHELL is bash and it inherits a
1839 # broken ls alias from the environment. This has actually
1840 # happened. Such a system could not be considered "sane".
1841 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1842 alias in your environment" >&5
1843 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1844 alias in your environment" >&2;}
1845 { (exit 1); exit 1; }; }
1848 test "$2" = conftest.file
1854 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1855 Check your system clock" >&5
1856 echo "$as_me: error: newly created file is older than distributed files!
1857 Check your system clock" >&2;}
1858 { (exit 1); exit 1; }; }
1860 { echo "$as_me:$LINENO: result: yes" >&5
1861 echo "${ECHO_T}yes" >&6; }
1862 test "$program_prefix" != NONE &&
1863 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1864 # Use a double $ so make ignores it.
1865 test "$program_suffix" != NONE &&
1866 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1867 # Double any \ or $. echo might interpret backslashes.
1868 # By default was `s,x,x', remove it if useless.
1869 cat <<\_ACEOF >conftest.sed
1870 s/[\\$]/&&/g;s/;s,x,x,$//
1872 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1875 # expand $ac_aux_dir to an absolute path
1876 am_aux_dir=`cd $ac_aux_dir && pwd`
1878 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1879 # Use eval to expand $SHELL
1880 if eval "$MISSING --run true"; then
1881 am_missing_run="$MISSING --run "
1884 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1885 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1888 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1889 # We used to define $(mkdir_p) as `mkdir -p .', in order to
1890 # allow $(mkdir_p) to be used without argument. As in
1891 # $(mkdir_p) $(somedir)
1892 # where $(somedir) is conditionally defined. However we don't do
1894 # 1. before we restricted the check to GNU mkdir, `mkdir -p .' was
1895 # reported to fail in read-only directories. The system where this
1896 # happened has been forgotten.
1897 # 2. in practice we call $(mkdir_p) on directories such as
1898 # $(mkdir_p) "$(DESTDIR)$(somedir)"
1899 # and we don't want to create $(DESTDIR) if $(somedir) is empty.
1900 # To support the latter case, we have to write
1901 # test -z "$(somedir)" || $(mkdir_p) "$(DESTDIR)$(somedir)"
1902 # so $(mkdir_p) always has an argument.
1903 # We will have better chances of detecting a missing test if
1904 # $(mkdir_p) complains about missing arguments.
1905 # 3. $(mkdir_p) is named after `mkdir -p' and we don't expect this
1906 # to accept no argument.
1907 # 4. having something like `mkdir .' in the output is unsightly.
1910 # On NextStep and OpenStep, the `mkdir' command does not
1911 # recognize any option. It will interpret all options as
1912 # directories to create.
1913 for d in ./-p ./--version;
1915 test -d $d && rmdir $d
1917 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1918 if test -f "$ac_aux_dir/mkinstalldirs"; then
1919 mkdir_p='$(mkinstalldirs)'
1921 mkdir_p='$(install_sh) -d'
1925 for ac_prog in gawk mawk nawk awk
1927 # Extract the first word of "$ac_prog", so it can be a program name with args.
1928 set dummy $ac_prog; ac_word=$2
1929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1931 if test "${ac_cv_prog_AWK+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 if test -n "$AWK"; then
1935 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 test -z "$as_dir" && as_dir=.
1942 for ac_exec_ext in '' $ac_executable_extensions; do
1943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1944 ac_cv_prog_AWK="$ac_prog"
1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1955 if test -n "$AWK"; then
1956 { echo "$as_me:$LINENO: result: $AWK" >&5
1957 echo "${ECHO_T}$AWK" >&6; }
1959 { echo "$as_me:$LINENO: result: no" >&5
1960 echo "${ECHO_T}no" >&6; }
1964 test -n "$AWK" && break
1967 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1968 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1969 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/^a-zA-Z0-9_/_/g'`
1970 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1971 echo $ECHO_N "(cached) $ECHO_C" >&6
1973 cat >conftest.make <<\_ACEOF
1976 @echo '@@@%%%=$(MAKE)=@@@%%%'
1978 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1979 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1981 eval ac_cv_prog_make_${ac_make}_set=yes;;
1983 eval ac_cv_prog_make_${ac_make}_set=no;;
1987 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1988 { echo "$as_me:$LINENO: result: yes" >&5
1989 echo "${ECHO_T}yes" >&6; }
1992 { echo "$as_me:$LINENO: result: no" >&5
1993 echo "${ECHO_T}no" >&6; }
1994 SET_MAKE="MAKE=${MAKE-make}"
1997 rm -rf .tst 2>/dev/null
1998 mkdir .tst 2>/dev/null
1999 if test -d .tst; then
2004 rmdir .tst 2>/dev/null
2006 # test to see if srcdir already configured
2007 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2008 test -f $srcdir/config.status; then
2009 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2010 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2011 { (exit 1); exit 1; }; }
2014 # test whether we have cygpath
2015 if test -z "$CYGPATH_W"; then
2016 if (cygpath --version) >/dev/null 2>/dev/null; then
2017 CYGPATH_W='cygpath -w'
2024 # Define the identity of the package.
2029 cat >>confdefs.h <<_ACEOF
2030 #define PACKAGE "$PACKAGE"
2034 cat >>confdefs.h <<_ACEOF
2035 #define VERSION "$VERSION"
2038 # Some tools Automake needs.
2040 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2043 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2046 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2049 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2052 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2054 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2056 # Installed binaries are usually stripped using `strip' when the user
2057 # run `make install-strip'. However `strip' might not be the right
2058 # tool to use in cross-compilation environments, therefore Automake
2059 # will honor the `STRIP' environment variable to overrule this program.
2060 if test "$cross_compiling" != no; then
2061 if test -n "$ac_tool_prefix"; then
2062 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2063 set dummy ${ac_tool_prefix}strip; ac_word=$2
2064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2066 if test "${ac_cv_prog_STRIP+set}" = set; then
2067 echo $ECHO_N "(cached) $ECHO_C" >&6
2069 if test -n "$STRIP"; then
2070 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 test -z "$as_dir" && as_dir=.
2077 for ac_exec_ext in '' $ac_executable_extensions; do
2078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2079 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2089 STRIP=$ac_cv_prog_STRIP
2090 if test -n "$STRIP"; then
2091 { echo "$as_me:$LINENO: result: $STRIP" >&5
2092 echo "${ECHO_T}$STRIP" >&6; }
2094 { echo "$as_me:$LINENO: result: no" >&5
2095 echo "${ECHO_T}no" >&6; }
2100 if test -z "$ac_cv_prog_STRIP"; then
2102 # Extract the first word of "strip", so it can be a program name with args.
2103 set dummy strip; ac_word=$2
2104 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2106 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2107 echo $ECHO_N "(cached) $ECHO_C" >&6
2109 if test -n "$ac_ct_STRIP"; then
2110 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2116 test -z "$as_dir" && as_dir=.
2117 for ac_exec_ext in '' $ac_executable_extensions; do
2118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2119 ac_cv_prog_ac_ct_STRIP="strip"
2120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2129 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2130 if test -n "$ac_ct_STRIP"; then
2131 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2132 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2134 { echo "$as_me:$LINENO: result: no" >&5
2135 echo "${ECHO_T}no" >&6; }
2138 if test "x$ac_ct_STRIP" = x; then
2141 case $cross_compiling:$ac_tool_warned in
2143 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2144 whose name does not start with the host triplet. If you think this
2145 configuration is useful to you, please write to autoconf@gnu.org." >&5
2146 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2147 whose name does not start with the host triplet. If you think this
2148 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2149 ac_tool_warned=yes ;;
2154 STRIP="$ac_cv_prog_STRIP"
2158 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2160 # We need awk for the "check" target. The system "awk" is bad on
2162 # Always define AMTAR for backward compatibility.
2164 AMTAR=${AMTAR-"${am_missing_run}tar"}
2166 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2173 # The API version is the base version. We must guarantee
2174 # compatibility for all releases with the same API version.
2175 # Our current rule is that:
2176 # * All releases, including the prereleases, in an X.Y series
2177 # are compatible. So 1.5.1c is compatible with 1.5.
2178 # * Prereleases on the trunk are all incompatible -- 1.5b and 1.5c
2180 APIVERSION=`echo "$VERSION" | sed -e 's/^\([0-9]*\.[0-9]*[a-z]*\).*$/\1/'`
2183 # A versioned directory, defined here for convenience.
2184 pkgvdatadir="\${datadir}/$PACKAGE-$APIVERSION"
2187 # $AUTOMAKE and $ACLOCAL are always run after a `cd $top_srcdir',
2188 # hence `.' is really what we want for perllibdir, libdir, and acdir.
2189 ACLOCAL="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/aclocal -I m4"
2190 AUTOMAKE="perllibdir=`pwd`\"/lib$PATH_SEPARATOR./lib\" `pwd`/automake --libdir=lib"
2192 # Extract the first word of "perl", so it can be a program name with args.
2193 set dummy perl; ac_word=$2
2194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2196 if test "${ac_cv_path_PERL+set}" = set; then
2197 echo $ECHO_N "(cached) $ECHO_C" >&6
2201 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2208 test -z "$as_dir" && as_dir=.
2209 for ac_exec_ext in '' $ac_executable_extensions; do
2210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2211 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2222 PERL=$ac_cv_path_PERL
2223 if test -n "$PERL"; then
2224 { echo "$as_me:$LINENO: result: $PERL" >&5
2225 echo "${ECHO_T}$PERL" >&6; }
2227 { echo "$as_me:$LINENO: result: no" >&5
2228 echo "${ECHO_T}no" >&6; }
2232 if test -z "$PERL"; then
2233 { { echo "$as_me:$LINENO: error: perl not found" >&5
2234 echo "$as_me: error: perl not found" >&2;}
2235 { (exit 1); exit 1; }; }
2237 $PERL -e 'require 5.006;' || {
2238 { { echo "$as_me:$LINENO: error: perl 5.6 or better is required; perl 5.8.2 or better
2239 is recommended. If you have several perl versions
2240 installed, select the one Automake should use using
2241 ./configure PERL=/path/to/perl" >&5
2242 echo "$as_me: error: perl 5.6 or better is required; perl 5.8.2 or better
2243 is recommended. If you have several perl versions
2244 installed, select the one Automake should use using
2245 ./configure PERL=/path/to/perl" >&2;}
2246 { (exit 1); exit 1; }; }
2249 # The test suite will skip some tests if tex is absent.
2250 # Extract the first word of "tex", so it can be a program name with args.
2251 set dummy tex; ac_word=$2
2252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2254 if test "${ac_cv_prog_TEX+set}" = set; then
2255 echo $ECHO_N "(cached) $ECHO_C" >&6
2257 if test -n "$TEX"; then
2258 ac_cv_prog_TEX="$TEX" # Let the user override the test.
2260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2264 test -z "$as_dir" && as_dir=.
2265 for ac_exec_ext in '' $ac_executable_extensions; do
2266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2267 ac_cv_prog_TEX="tex"
2268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278 if test -n "$TEX"; then
2279 { echo "$as_me:$LINENO: result: $TEX" >&5
2280 echo "${ECHO_T}$TEX" >&6; }
2282 { echo "$as_me:$LINENO: result: no" >&5
2283 echo "${ECHO_T}no" >&6; }
2288 # Test for Autoconf. We run Autoconf in a subdirectory to ease
2289 # deletion of any files created (such as those added to
2290 # autom4te.cache). We used to perform only the last of the three
2291 # following tests, but some users were unable to figure out that their
2292 # installation was broken since --version appeared to work.
2294 { echo "$as_me:$LINENO: checking whether autoconf is installed" >&5
2295 echo $ECHO_N "checking whether autoconf is installed... $ECHO_C" >&6; }
2296 if test "${am_cv_autoconf_installed+set}" = set; then
2297 echo $ECHO_N "(cached) $ECHO_C" >&6
2299 if { echo "$as_me:$LINENO: eval $am_AUTOCONF --version" >&5
2300 (eval $am_AUTOCONF --version) >&5 2>&5
2302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2303 (exit $ac_status); };
2305 am_cv_autoconf_installed=yes
2307 am_cv_autoconf_installed=no
2310 { echo "$as_me:$LINENO: result: $am_cv_autoconf_installed" >&5
2311 echo "${ECHO_T}$am_cv_autoconf_installed" >&6; }
2312 if test "$am_cv_autoconf_installed" = no; then
2313 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required.
2314 Please make sure it is installed and in your PATH." >&5
2315 echo "$as_me: error: Autoconf 2.58 or better is required.
2316 Please make sure it is installed and in your PATH." >&2;}
2317 { (exit 1); exit 1; }; }
2320 { echo "$as_me:$LINENO: checking whether autoconf works" >&5
2321 echo $ECHO_N "checking whether autoconf works... $ECHO_C" >&6; }
2322 if test "${am_cv_autoconf_works+set}" = set; then
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
2326 echo 'AC''_INIT' > conftest/conftest.ac
2327 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2328 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); };
2333 am_cv_autoconf_works=yes
2335 am_cv_autoconf_works=no
2339 { echo "$as_me:$LINENO: result: $am_cv_autoconf_works" >&5
2340 echo "${ECHO_T}$am_cv_autoconf_works" >&6; }
2341 if test "$am_cv_autoconf_works" = no; then
2342 { { echo "$as_me:$LINENO: error: The installed version of autoconf does not work.
2343 Please check config.log for error messages before this one." >&5
2344 echo "$as_me: error: The installed version of autoconf does not work.
2345 Please check config.log for error messages before this one." >&2;}
2346 { (exit 1); exit 1; }; }
2349 { echo "$as_me:$LINENO: checking whether autoconf is recent enough" >&5
2350 echo $ECHO_N "checking whether autoconf is recent enough... $ECHO_C" >&6; }
2351 if test "${am_cv_autoconf_version+set}" = set; then
2352 echo $ECHO_N "(cached) $ECHO_C" >&6
2355 echo 'AC''_PREREQ(2.58)' > conftest/conftest.ac
2356 if { echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
2357 (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); };
2362 am_cv_autoconf_version=yes
2364 am_cv_autoconf_version=no
2368 { echo "$as_me:$LINENO: result: $am_cv_autoconf_version" >&5
2369 echo "${ECHO_T}$am_cv_autoconf_version" >&6; }
2370 if test "$am_cv_autoconf_version" = no; then
2371 { { echo "$as_me:$LINENO: error: Autoconf 2.58 or better is required." >&5
2372 echo "$as_me: error: Autoconf 2.58 or better is required." >&2;}
2373 { (exit 1); exit 1; }; }
2376 # Test for ln. We need use it to install the versioned binaries.
2377 { echo "$as_me:$LINENO: checking whether ln works" >&5
2378 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
2379 if test "${am_cv_prog_ln+set}" = set; then
2380 echo $ECHO_N "(cached) $ECHO_C" >&6
2383 rm -f conftest conftest.file
2385 if ln conftest.file conftest 2>/dev/null; then
2388 am_cv_prog_ln='cp -p'
2390 rm -f conftest conftest.file
2396 test "x$am_cv_prog_ln" = xln && result=yes
2397 { echo "$as_me:$LINENO: result: $result" >&5
2398 echo "${ECHO_T}$result" >&6; }
2400 # The amount we should wait after modifying files depends on the platform.
2401 # On Windows '95, '98 and ME, files modifications have 2-seconds
2402 # granularity and can be up to 3 seconds in the future w.r.t. the
2403 # system clock. When it is important to ensure one file is older
2404 # than another we wait at least 5 seconds between creations.
2406 *-pc-msdosdjgpp) MODIFICATION_DELAY=5;;
2407 *) MODIFICATION_DELAY=2;;
2411 # Test for things needed by the test suite.
2412 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
2413 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
2414 if test "${ac_cv_path_GREP+set}" = set; then
2415 echo $ECHO_N "(cached) $ECHO_C" >&6
2417 # Extract the first word of "grep ggrep" to use in msg output
2418 if test -z "$GREP"; then
2419 set dummy grep ggrep; ac_prog_name=$2
2420 if test "${ac_cv_path_GREP+set}" = set; then
2421 echo $ECHO_N "(cached) $ECHO_C" >&6
2423 ac_path_GREP_found=false
2424 # Loop through the user's path and test for each of PROGNAME-LIST
2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2426 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2429 test -z "$as_dir" && as_dir=.
2430 for ac_prog in grep ggrep; do
2431 for ac_exec_ext in '' $ac_executable_extensions; do
2432 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2433 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
2434 # Check for GNU ac_path_GREP and select it if it is found.
2435 # Check for GNU $ac_path_GREP
2436 case `"$ac_path_GREP" --version 2>&1` in
2438 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2441 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2444 cat "conftest.in" "conftest.in" >"conftest.tmp"
2445 mv "conftest.tmp" "conftest.in"
2446 cp "conftest.in" "conftest.nl"
2447 echo 'GREP' >> "conftest.nl"
2448 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2449 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2450 ac_count=`expr $ac_count + 1`
2451 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2452 # Best one so far, save it but keep looking for a better one
2453 ac_cv_path_GREP="$ac_path_GREP"
2454 ac_path_GREP_max=$ac_count
2456 # 10*(2^10) chars as input seems more than enough
2457 test $ac_count -gt 10 && break
2459 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2463 $ac_path_GREP_found && break 3
2473 GREP="$ac_cv_path_GREP"
2474 if test -z "$GREP"; then
2475 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2476 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2477 { (exit 1); exit 1; }; }
2481 ac_cv_path_GREP=$GREP
2486 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
2487 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
2488 GREP="$ac_cv_path_GREP"
2491 { echo "$as_me:$LINENO: checking for egrep" >&5
2492 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
2493 if test "${ac_cv_path_EGREP+set}" = set; then
2494 echo $ECHO_N "(cached) $ECHO_C" >&6
2496 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2497 then ac_cv_path_EGREP="$GREP -E"
2499 # Extract the first word of "egrep" to use in msg output
2500 if test -z "$EGREP"; then
2501 set dummy egrep; ac_prog_name=$2
2502 if test "${ac_cv_path_EGREP+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 ac_path_EGREP_found=false
2506 # Loop through the user's path and test for each of PROGNAME-LIST
2507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2508 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2511 test -z "$as_dir" && as_dir=.
2512 for ac_prog in egrep; do
2513 for ac_exec_ext in '' $ac_executable_extensions; do
2514 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2515 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
2516 # Check for GNU ac_path_EGREP and select it if it is found.
2517 # Check for GNU $ac_path_EGREP
2518 case `"$ac_path_EGREP" --version 2>&1` in
2520 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2523 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2526 cat "conftest.in" "conftest.in" >"conftest.tmp"
2527 mv "conftest.tmp" "conftest.in"
2528 cp "conftest.in" "conftest.nl"
2529 echo 'EGREP' >> "conftest.nl"
2530 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2531 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2532 ac_count=`expr $ac_count + 1`
2533 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2534 # Best one so far, save it but keep looking for a better one
2535 ac_cv_path_EGREP="$ac_path_EGREP"
2536 ac_path_EGREP_max=$ac_count
2538 # 10*(2^10) chars as input seems more than enough
2539 test $ac_count -gt 10 && break
2541 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2545 $ac_path_EGREP_found && break 3
2555 EGREP="$ac_cv_path_EGREP"
2556 if test -z "$EGREP"; then
2557 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2558 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2559 { (exit 1); exit 1; }; }
2563 ac_cv_path_EGREP=$EGREP
2569 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
2570 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
2571 EGREP="$ac_cv_path_EGREP"
2574 { echo "$as_me:$LINENO: checking for fgrep" >&5
2575 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
2576 if test "${ac_cv_path_FGREP+set}" = set; then
2577 echo $ECHO_N "(cached) $ECHO_C" >&6
2579 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
2580 then ac_cv_path_FGREP="$GREP -F"
2582 # Extract the first word of "fgrep" to use in msg output
2583 if test -z "$FGREP"; then
2584 set dummy fgrep; ac_prog_name=$2
2585 if test "${ac_cv_path_FGREP+set}" = set; then
2586 echo $ECHO_N "(cached) $ECHO_C" >&6
2588 ac_path_FGREP_found=false
2589 # Loop through the user's path and test for each of PROGNAME-LIST
2590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2591 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2594 test -z "$as_dir" && as_dir=.
2595 for ac_prog in fgrep; do
2596 for ac_exec_ext in '' $ac_executable_extensions; do
2597 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
2598 { test -f "$ac_path_FGREP" && $as_executable_p "$ac_path_FGREP"; } || continue
2599 # Check for GNU ac_path_FGREP and select it if it is found.
2600 # Check for GNU $ac_path_FGREP
2601 case `"$ac_path_FGREP" --version 2>&1` in
2603 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
2606 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
2609 cat "conftest.in" "conftest.in" >"conftest.tmp"
2610 mv "conftest.tmp" "conftest.in"
2611 cp "conftest.in" "conftest.nl"
2612 echo 'FGREP' >> "conftest.nl"
2613 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
2614 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2615 ac_count=`expr $ac_count + 1`
2616 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
2617 # Best one so far, save it but keep looking for a better one
2618 ac_cv_path_FGREP="$ac_path_FGREP"
2619 ac_path_FGREP_max=$ac_count
2621 # 10*(2^10) chars as input seems more than enough
2622 test $ac_count -gt 10 && break
2624 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2628 $ac_path_FGREP_found && break 3
2638 FGREP="$ac_cv_path_FGREP"
2639 if test -z "$FGREP"; then
2640 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
2641 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
2642 { (exit 1); exit 1; }; }
2646 ac_cv_path_FGREP=$FGREP
2652 { echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
2653 echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
2654 FGREP="$ac_cv_path_FGREP"
2658 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"
2660 ac_config_files="$ac_config_files tests/aclocal-${APIVERSION}:tests/aclocal.in"
2662 ac_config_files="$ac_config_files tests/automake-${APIVERSION}:tests/automake.in"
2665 cat >confcache <<\_ACEOF
2666 # This file is a shell script that caches the results of configure
2667 # tests run on this system so they can be shared between configure
2668 # scripts and configure runs, see configure's option --config-cache.
2669 # It is not useful on other systems. If it contains results you don't
2670 # want to keep, you may remove or edit it.
2672 # config.status only pays attention to the cache file if you give it
2673 # the --recheck option to rerun configure.
2675 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2676 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2681 # The following way of writing the cache mishandles newlines in values,
2682 # but we know of no workaround that is simple, portable, and efficient.
2683 # So, we kill variables containing newlines.
2684 # Ultrix sh set writes to stderr and can't be redirected directly,
2685 # and sets the high bit in the cache file unless we assign to the vars.
2687 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2688 eval ac_val=\$$ac_var
2692 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2693 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2696 _ | IFS | as_nl) ;; #(
2697 *) $as_unset $ac_var ;;
2703 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2704 *${as_nl}ac_space=\ *)
2705 # `set' does not quote correctly, so add quotes (double-quote
2706 # substitution turns \\\\ into \\, and sed turns \\ into \).
2709 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2712 # `set' quotes correctly as required by POSIX, so do not add quotes.
2713 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2722 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2724 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2726 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2727 if test -w "$cache_file"; then
2728 test "x$cache_file" != "x/dev/null" &&
2729 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2730 echo "$as_me: updating cache $cache_file" >&6;}
2731 cat confcache >$cache_file
2733 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2734 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2739 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2740 # Let make expand exec_prefix.
2741 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2743 # Transform confdefs.h into DEFS.
2744 # Protect against shell expansion while executing Makefile rules.
2745 # Protect against Makefile macro expansion.
2747 # If the first sed substitution is executed (which looks for macros that
2748 # take arguments), then branch to the quote section. Otherwise,
2749 # look for a macro that doesn't take arguments.
2753 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2755 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2759 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2772 DEFS=`sed -n "$ac_script" confdefs.h`
2777 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2778 # 1. Remove the extension, and $U if already installed.
2779 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2780 ac_i=`echo "$ac_i" | sed "$ac_script"`
2781 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2782 # will be set to the directory where LIBOBJS objects are built.
2783 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2784 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2788 LTLIBOBJS=$ac_ltlibobjs
2792 : ${CONFIG_STATUS=./config.status}
2793 ac_clean_files_save=$ac_clean_files
2794 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2795 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2796 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2797 cat >$CONFIG_STATUS <<_ACEOF
2799 # Generated by $as_me.
2800 # Run this file to recreate the current configuration.
2801 # Compiler output produced by configure, useful for debugging
2802 # configure, is in config.log if it exists.
2807 SHELL=\${CONFIG_SHELL-$SHELL}
2810 cat >>$CONFIG_STATUS <<\_ACEOF
2811 ## --------------------- ##
2812 ## M4sh Initialization. ##
2813 ## --------------------- ##
2815 # Be Bourne compatible
2816 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2819 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2820 # is contrary to our usage. Disable this feature.
2821 alias -g '${1+"$@"}'='"$@"'
2822 setopt NO_GLOB_SUBST
2824 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
2826 BIN_SH=xpg4; export BIN_SH # for Tru64
2827 DUALCASE=1; export DUALCASE # for MKS sh
2831 # Avoid depending upon Character Ranges.
2832 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2833 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2834 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2835 as_cr_digits='0123456789'
2836 as_cr_alnum=$as_cr_Letters$as_cr_digits
2838 # The user is always right.
2839 if test "${PATH_SEPARATOR+set}" != set; then
2840 echo "#! /bin/sh" >conf$$.sh
2841 echo "exit 0" >>conf$$.sh
2843 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2851 # Support unset when possible.
2852 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2860 # We need space, tab and new line, in precisely that order. Quoting is
2861 # there to prevent editors from complaining about space-tab.
2862 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2863 # splitting by setting IFS to empty value.)
2868 # Find who we are. Look in the path if we contain no directory separator.
2870 *[\\/]* ) as_myself=$0 ;;
2871 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2875 test -z "$as_dir" && as_dir=.
2876 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2882 # We did not find ourselves, most probably we were run as `sh COMMAND'
2883 # in which case we are not to be found in the path.
2884 if test "x$as_myself" = x; then
2887 if test ! -f "$as_myself"; then
2888 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2889 { (exit 1); exit 1; }
2892 # Work around bugs in pre-3.0 UWIN ksh.
2893 for as_var in ENV MAIL MAILPATH
2894 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2902 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2903 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2904 LC_TELEPHONE LC_TIME
2906 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2907 eval $as_var=C; export $as_var
2909 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2913 # Required to use basename.
2914 if expr a : '\(a\)' >/dev/null 2>&1 &&
2915 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2921 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2922 as_basename=basename
2928 # Name of the executable.
2929 as_me=`$as_basename -- "$0" ||
2930 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2931 X"$0" : 'X\(//\)$' \| \
2932 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2934 sed '/^.*\/\([^/][^/]*\)\/*$/{
2955 test "x$as_lineno_1" != "x$as_lineno_2" &&
2956 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2958 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2959 # uniformly replaced by the line number. The first 'sed' inserts a
2960 # line-number line after each line using $LINENO; the second 'sed'
2961 # does the real work. The second script uses 'N' to pair each
2962 # line-number line with the line containing $LINENO, and appends
2963 # trailing '-' during substitution so that $LINENO is not a special
2965 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2966 # scripts with optimization help from Paolo Bonzini. Blame Lee
2967 # E. McMahon (1931-1989) for sed's syntax. :-)
2979 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2983 chmod +x "$as_me.lineno" ||
2984 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2985 { (exit 1); exit 1; }; }
2987 # Don't try to exec as it changes $[0], causing all sort of problems
2988 # (the dirname of $[0] is not the place where we might find the
2989 # original and so on. Autoconf is especially sensitive to this).
2991 # Exit status is that of the last command.
2996 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3002 ECHO_C= ECHO_N= ECHO_T=
3005 case `echo 'x\c'` in
3006 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3013 if expr a : '\(a\)' >/dev/null 2>&1 &&
3014 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3020 rm -f conf$$ conf$$.exe conf$$.file
3021 if test -d conf$$.dir; then
3022 rm -f conf$$.dir/conf$$.file
3028 if ln -s conf$$.file conf$$ 2>/dev/null; then
3030 # ... but there are two gotchas:
3031 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3032 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3033 # In both cases, we have to default to `cp -p'.
3034 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3036 elif ln conf$$.file conf$$ 2>/dev/null; then
3041 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3042 rmdir conf$$.dir 2>/dev/null
3044 if mkdir -p . 2>/dev/null; then
3047 test -d ./-p && rmdir ./-p
3051 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
3052 # systems may use methods other than mode bits to determine executability.
3053 cat >conf$$.file <<_ASEOF
3057 chmod +x conf$$.file
3058 if test -x conf$$.file >/dev/null 2>&1; then
3059 as_executable_p="test -x"
3065 # Sed expression to map a string onto a valid CPP name.
3066 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3068 # Sed expression to map a string onto a valid variable name.
3069 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3074 # Save the log message, to keep $[0] and so on meaningful, and to
3075 # report actual input values of CONFIG_FILES etc. instead of their
3076 # values after options handling.
3078 This file was extended by GNU Automake $as_me 1.9a, which was
3079 generated by GNU Autoconf 2.59e. Invocation command line was
3081 CONFIG_FILES = $CONFIG_FILES
3082 CONFIG_HEADERS = $CONFIG_HEADERS
3083 CONFIG_LINKS = $CONFIG_LINKS
3084 CONFIG_COMMANDS = $CONFIG_COMMANDS
3087 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3092 cat >>$CONFIG_STATUS <<_ACEOF
3093 # Files that config.status was made for.
3094 config_files="$ac_config_files"
3098 cat >>$CONFIG_STATUS <<\_ACEOF
3100 \`$as_me' instantiates files from templates according to the
3101 current configuration.
3103 Usage: $0 [OPTIONS] [FILE]...
3105 -h, --help print this help, then exit
3106 -V, --version print version number, then exit
3107 -q, --quiet do not print progress messages
3108 -d, --debug don't remove temporary files
3109 --recheck update $as_me by reconfiguring in the same conditions
3110 --file=FILE[:TEMPLATE]
3111 instantiate the configuration file FILE
3113 Configuration files:
3116 Report bugs to <bug-autoconf@gnu.org>."
3119 cat >>$CONFIG_STATUS <<_ACEOF
3121 GNU Automake config.status 1.9a
3122 configured by $0, generated by GNU Autoconf 2.59e,
3123 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3125 Copyright (C) 2006 Free Software Foundation, Inc.
3126 This config.status script is free software; the Free Software Foundation
3127 gives unlimited permission to copy, distribute and modify it."
3134 cat >>$CONFIG_STATUS <<\_ACEOF
3135 # If no file are specified by the user, then we need to provide default
3136 # value. By we need to know if files were specified by the user.
3142 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3143 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3154 # Handling of the options.
3155 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3157 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3158 echo "$ac_cs_version"; exit ;;
3159 --debug | --debu | --deb | --de | --d | -d )
3161 --file | --fil | --fi | --f )
3163 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3164 ac_need_defaults=false;;
3165 --he | --h | --help | --hel | -h )
3166 echo "$ac_cs_usage"; exit ;;
3167 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3168 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3172 -*) { echo "$as_me: error: unrecognized option: $1
3173 Try \`$0 --help' for more information." >&2
3174 { (exit 1); exit 1; }; } ;;
3176 *) ac_config_targets="$ac_config_targets $1"
3177 ac_need_defaults=false ;;
3183 ac_configure_extra_args=
3185 if $ac_cs_silent; then
3187 ac_configure_extra_args="$ac_configure_extra_args --silent"
3191 cat >>$CONFIG_STATUS <<_ACEOF
3192 if \$ac_cs_recheck; then
3193 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3196 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3200 cat >>$CONFIG_STATUS <<\_ACEOF
3204 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3205 ## Running $as_me. ##
3211 cat >>$CONFIG_STATUS <<_ACEOF
3215 APIVERSION=$APIVERSION
3219 cat >>$CONFIG_STATUS <<\_ACEOF
3221 # Handling of arguments.
3222 for ac_config_target in $ac_config_targets
3224 case $ac_config_target in
3225 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3226 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3227 "lib/Automake/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/Makefile" ;;
3228 "lib/Automake/tests/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Automake/tests/Makefile" ;;
3229 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
3230 "lib/am/Makefile") CONFIG_FILES="$CONFIG_FILES lib/am/Makefile" ;;
3231 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
3232 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
3233 "tests/defs") CONFIG_FILES="$CONFIG_FILES tests/defs" ;;
3234 "tests/aclocal-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/aclocal-${APIVERSION}:tests/aclocal.in" ;;
3235 "tests/automake-${APIVERSION}") CONFIG_FILES="$CONFIG_FILES tests/automake-${APIVERSION}:tests/automake.in" ;;
3237 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3238 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3239 { (exit 1); exit 1; }; };;
3244 # If the user did not use the arguments to specify the items to instantiate,
3245 # then the envvar interface is used. Set only those that are not.
3246 # We use the long form for the default assignment because of an extremely
3247 # bizarre bug on SunOS 4.1.3.
3248 if $ac_need_defaults; then
3249 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3252 # Have a temporary directory for convenience. Make it in the build tree
3253 # simply because there is no reason against having it here, and in addition,
3254 # creating and moving files from /tmp can sometimes cause problems.
3255 # Hook for its removal unless debugging.
3256 # Note that there is a small window in which the directory will not be cleaned:
3257 # after its creation but before its name has been assigned to `$tmp'.
3261 trap 'exit_status=$?
3262 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3264 trap '{ (exit 1); exit 1; }' 1 2 13 15
3266 # Create a (secure) tmp directory for tmp files.
3269 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3270 test -n "$tmp" && test -d "$tmp"
3273 tmp=./conf$$-$RANDOM
3274 (umask 077 && mkdir "$tmp")
3277 echo "$me: cannot create a temporary directory in ." >&2
3278 { (exit 1); exit 1; }
3282 # Set up the sed scripts for CONFIG_FILES section.
3285 # No need to generate the scripts if there are no CONFIG_FILES.
3286 # This happens for instance when ./config.status config.h
3287 if test -n "$CONFIG_FILES"; then
3294 for ac_last_try in false false false false false :; do
3295 cat >conf$$subs.sed <<_ACEOF
3296 SHELL!$SHELL$ac_delim
3297 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
3298 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
3299 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
3300 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
3301 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
3302 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
3303 exec_prefix!$exec_prefix$ac_delim
3304 prefix!$prefix$ac_delim
3305 program_transform_name!$program_transform_name$ac_delim
3306 bindir!$bindir$ac_delim
3307 sbindir!$sbindir$ac_delim
3308 libexecdir!$libexecdir$ac_delim
3309 datarootdir!$datarootdir$ac_delim
3310 datadir!$datadir$ac_delim
3311 sysconfdir!$sysconfdir$ac_delim
3312 sharedstatedir!$sharedstatedir$ac_delim
3313 localstatedir!$localstatedir$ac_delim
3314 includedir!$includedir$ac_delim
3315 oldincludedir!$oldincludedir$ac_delim
3316 docdir!$docdir$ac_delim
3317 infodir!$infodir$ac_delim
3318 htmldir!$htmldir$ac_delim
3319 dvidir!$dvidir$ac_delim
3320 pdfdir!$pdfdir$ac_delim
3321 psdir!$psdir$ac_delim
3322 libdir!$libdir$ac_delim
3323 localedir!$localedir$ac_delim
3324 mandir!$mandir$ac_delim
3326 ECHO_C!$ECHO_C$ac_delim
3327 ECHO_N!$ECHO_N$ac_delim
3328 ECHO_T!$ECHO_T$ac_delim
3330 build_alias!$build_alias$ac_delim
3331 host_alias!$host_alias$ac_delim
3332 target_alias!$target_alias$ac_delim
3333 build!$build$ac_delim
3334 build_cpu!$build_cpu$ac_delim
3335 build_vendor!$build_vendor$ac_delim
3336 build_os!$build_os$ac_delim
3337 am_AUTOCONF!$am_AUTOCONF$ac_delim
3338 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
3339 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
3340 INSTALL_DATA!$INSTALL_DATA$ac_delim
3341 CYGPATH_W!$CYGPATH_W$ac_delim
3342 PACKAGE!$PACKAGE$ac_delim
3343 VERSION!$VERSION$ac_delim
3344 ACLOCAL!$ACLOCAL$ac_delim
3345 AUTOCONF!$AUTOCONF$ac_delim
3346 AUTOMAKE!$AUTOMAKE$ac_delim
3347 AUTOHEADER!$AUTOHEADER$ac_delim
3348 MAKEINFO!$MAKEINFO$ac_delim
3349 install_sh!$install_sh$ac_delim
3350 STRIP!$STRIP$ac_delim
3351 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
3352 mkdir_p!$mkdir_p$ac_delim
3354 SET_MAKE!$SET_MAKE$ac_delim
3355 am__leading_dot!$am__leading_dot$ac_delim
3356 AMTAR!$AMTAR$ac_delim
3357 am__tar!$am__tar$ac_delim
3358 am__untar!$am__untar$ac_delim
3359 APIVERSION!$APIVERSION$ac_delim
3360 pkgvdatadir!$pkgvdatadir$ac_delim
3364 MODIFICATION_DELAY!$MODIFICATION_DELAY$ac_delim
3366 EGREP!$EGREP$ac_delim
3367 FGREP!$FGREP$ac_delim
3368 LIBOBJS!$LIBOBJS$ac_delim
3369 LTLIBOBJS!$LTLIBOBJS$ac_delim
3372 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
3374 elif $ac_last_try; then
3375 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3376 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3377 { (exit 1); exit 1; }; }
3379 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3383 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
3384 if test -n "$ac_eof"; then
3385 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
3386 ac_eof=`expr $ac_eof + 1`
3389 cat >>$CONFIG_STATUS <<_ACEOF
3390 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
3391 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
3394 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
3395 s/^/s,@/; s/!/@,|#_!!_#|/
3398 s/'"$ac_delim"'$/,g/; t
3400 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
3401 ' >>$CONFIG_STATUS <conf$$subs.sed
3402 rm -f conf$$subs.sed
3403 cat >>$CONFIG_STATUS <<_ACEOF
3410 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3411 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3412 # trailing colons and then remove the whole line if VPATH becomes empty
3413 # (actually we leave an empty line to preserve line numbers).
3414 if test "x$srcdir" = x.; then
3415 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3419 s/^\([^=]*=[ ]*\):*/\1/
3425 cat >>$CONFIG_STATUS <<\_ACEOF
3426 fi # test -n "$CONFIG_FILES"
3429 for ac_tag in :F $CONFIG_FILES
3432 :[FHLC]) ac_mode=$ac_tag; continue;;
3434 case $ac_mode$ac_tag in
3436 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3437 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3438 { (exit 1); exit 1; }; };;
3439 :[FH]-) ac_tag=-:-;;
3440 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3457 -) ac_f="$tmp/stdin";;
3458 *) # Look for the file first in the build tree, then in the source tree
3459 # (if the path is not absolute). The absolute path cannot be DOS-style,
3460 # because $ac_f cannot contain `:'.
3464 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3466 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3467 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3468 { (exit 1); exit 1; }; };;
3470 ac_file_inputs="$ac_file_inputs $ac_f"
3473 # Let's still pretend it is `configure' which instantiates (i.e., don't
3474 # use $as_me), people would be surprised to read:
3475 # /* config.h. Generated by config.status. */
3476 configure_input="Generated from "`IFS=:
3477 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3478 if test x"$ac_file" != x-; then
3479 configure_input="$ac_file. $configure_input"
3480 { echo "$as_me:$LINENO: creating $ac_file" >&5
3481 echo "$as_me: creating $ac_file" >&6;}
3485 *:-:* | *:-) cat >"$tmp/stdin";;
3490 ac_dir=`$as_dirname -- "$ac_file" ||
3491 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3492 X"$ac_file" : 'X\(//\)[^/]' \| \
3493 X"$ac_file" : 'X\(//\)$' \| \
3494 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3515 -*) as_dir=./$as_dir;;
3517 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3521 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3522 *) as_qdir=$as_dir;;
3524 as_dirs="'$as_qdir' $as_dirs"
3525 as_dir=`$as_dirname -- "$as_dir" ||
3526 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3527 X"$as_dir" : 'X\(//\)[^/]' \| \
3528 X"$as_dir" : 'X\(//\)$' \| \
3529 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3548 test -d "$as_dir" && break
3550 test -z "$as_dirs" || eval "mkdir $as_dirs"
3551 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3552 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3553 { (exit 1); exit 1; }; }; }
3557 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3559 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3560 # A ".." for each directory in $ac_dir_suffix.
3561 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3562 case $ac_top_builddir_sub in
3563 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3564 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3567 ac_abs_top_builddir=$ac_pwd
3568 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3569 # for backward compatibility:
3570 ac_top_builddir=$ac_top_build_prefix
3573 .) # We are building in place.
3575 ac_top_srcdir=$ac_top_builddir_sub
3576 ac_abs_top_srcdir=$ac_pwd ;;
3577 [\\/]* | ?:[\\/]* ) # Absolute name.
3578 ac_srcdir=$srcdir$ac_dir_suffix;
3579 ac_top_srcdir=$srcdir
3580 ac_abs_top_srcdir=$srcdir ;;
3582 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3583 ac_top_srcdir=$ac_top_build_prefix$srcdir
3584 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3586 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3596 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3597 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3601 cat >>$CONFIG_STATUS <<\_ACEOF
3602 # If the template does not know about datarootdir, expand it.
3603 # FIXME: This hack should be removed a few years after 2.60.
3604 ac_datarootdir_hack=; ac_datarootdir_seen=
3606 case `sed -n '/datarootdir/ {
3615 ' $ac_file_inputs` in
3616 *datarootdir*) ac_datarootdir_seen=yes;;
3617 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3618 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3619 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3621 cat >>$CONFIG_STATUS <<_ACEOF
3622 ac_datarootdir_hack='
3623 s&@datadir@&$datadir&g
3624 s&@docdir@&$docdir&g
3625 s&@infodir@&$infodir&g
3626 s&@localedir@&$localedir&g
3627 s&@mandir@&$mandir&g
3628 s&\\\${datarootdir}&$datarootdir&g' ;;
3632 # Neutralize VPATH when `$srcdir' = `.'.
3633 # Shell code in configure.ac might set extrasub.
3634 # FIXME: do we really want to maintain this feature?
3635 cat >>$CONFIG_STATUS <<_ACEOF
3639 cat >>$CONFIG_STATUS <<\_ACEOF
3641 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3642 s&@configure_input@&$configure_input&;t t
3643 s&@top_builddir@&$ac_top_builddir_sub&;t t
3644 s&@srcdir@&$ac_srcdir&;t t
3645 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3646 s&@top_srcdir@&$ac_top_srcdir&;t t
3647 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3648 s&@builddir@&$ac_builddir&;t t
3649 s&@abs_builddir@&$ac_abs_builddir&;t t
3650 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3651 s&@INSTALL@&$ac_INSTALL&;t t
3652 $ac_datarootdir_hack
3653 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3655 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3656 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3657 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3658 which seems to be undefined. Please make sure it is defined." >&5
3659 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3660 which seems to be undefined. Please make sure it is defined." >&2;}
3664 -) cat "$tmp/out"; rm -f "$tmp/out";;
3665 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3674 case $ac_file$ac_mode in
3675 "tests/aclocal-${APIVERSION}":F) chmod +x tests/aclocal-${APIVERSION} ;;
3676 "tests/automake-${APIVERSION}":F) chmod +x tests/automake-${APIVERSION} ;;
3682 { (exit 0); exit 0; }
3684 chmod +x $CONFIG_STATUS
3685 ac_clean_files=$ac_clean_files_save
3688 # configure is writing to config.log, and then calls config.status.
3689 # config.status does its own redirection, appending to config.log.
3690 # Unfortunately, on DOS this fails, as config.log is still kept open
3691 # by configure, so config.status won't be able to write to it; its
3692 # output is simply discarded. So we exec the FD to /dev/null,
3693 # effectively closing config.log, so it can be properly (re)opened and
3694 # appended to by config.status. When coming back to configure, we
3695 # need to make the FD available again.
3696 if test "$no_create" != yes; then
3698 ac_config_status_args=
3699 test "$silent" = yes &&
3700 ac_config_status_args="$ac_config_status_args --quiet"
3702 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3704 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3705 # would make configure fail if this is the last instruction.
3706 $ac_cs_success || { (exit 1); exit 1; }