version, otherwise we won't notice that Autoconf isn't installed.
Augment the error message with a few questions to help users.
+2002-12-01 Alexandre Duret-Lutz <adl@gnu.org>
+
+ * configure.in: Do not use missing while checking for Autoconf's
+ version, otherwise we won't notice that Autoconf isn't installed.
+ Augment the error message with a few questions to help users.
+
2002-11-30 Alexandre Duret-Lutz <adl@gnu.org>
* tests/gnits2.test, tests/gnits3.test: Move the greps inside the
mostlyclean-aminfo:
-rm -f automake.aux automake.cm automake.cp automake.cps automake.cv \
- automake.fn automake.ky automake.log automake.op automake.ov \
- automake.pg automake.tmp automake.toc automake.tp automake.tr \
- automake.vr automake.vrs automake.dvi automake.pdf \
- automake.ps
+ automake.fn automake.ky automake.kys automake.log automake.op \
+ automake.ov automake.pg automake.pgs automake.tmp \
+ automake.toc automake.tp automake.tps automake.tr automake.vr \
+ automake.vrs automake.dvi automake.pdf automake.ps
maintainer-clean-aminfo:
list='$(INFO_DEPS)'; for i in $$list; do \
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
+# Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it;
+# this way we can run Autoconf tests from configure without being
+# bothered by `missing'.
+am_AUTOCONF=${AUTOCONF-autoconf}
+
am__api_version="1.7a"
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
# autom4te.cache).
mkdir conftest
echo 'AC''_PREREQ(2.54)' > conftest/conftest.ac
-{ echo "$as_me:$LINENO: cd conftest && eval $AUTOCONF -o /dev/null conftest.ac" >&5
- (cd conftest && eval $AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
+{ echo "$as_me:$LINENO: cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac" >&5
+ (cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac) >&5 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } || {
- { { echo "$as_me:$LINENO: error: Autoconf 2.54 or better is required" >&5
-echo "$as_me: error: Autoconf 2.54 or better is required" >&2;}
+ { { echo "$as_me:$LINENO: error: Autoconf 2.54 or better is required.
+ Is it installed? Is it in your PATH? (try running \`autoconf --version')
+ Is it working? See also config.log for error messages before this one." >&5
+echo "$as_me: error: Autoconf 2.54 or better is required.
+ Is it installed? Is it in your PATH? (try running \`autoconf --version')
+ Is it working? See also config.log for error messages before this one." >&2;}
{ (exit 1); exit 1; }; }
}
rm -rf conftest
AC_CONFIG_SRCDIR(automake.in)
AC_CONFIG_AUX_DIR(lib)
+# Save the AUTOCONF setting before AM_INIT_AUTOMAKE overrides it;
+# this way we can run Autoconf tests from configure without being
+# bothered by `missing'.
+am_AUTOCONF=${AUTOCONF-autoconf}
+
AM_INIT_AUTOMAKE([1.6 dist-bzip2])
# The API version is the base version. We must guarantee
# autom4te.cache).
mkdir conftest
echo 'AC''_PREREQ(2.54)' > conftest/conftest.ac
-AM_RUN_LOG([cd conftest && eval $AUTOCONF -o /dev/null conftest.ac]) || {
- AC_MSG_ERROR([Autoconf 2.54 or better is required])
+AM_RUN_LOG([cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac]) || {
+ AC_MSG_ERROR([Autoconf 2.54 or better is required.
+ Is it installed? Is it in your PATH? (try running `autoconf --version')
+ Is it working? See also config.log for error messages before this one.])
}
rm -rf conftest
-@set UPDATED 17 November 2002
+@set UPDATED 13 November 2002
@set UPDATED-MONTH November 2002
@set EDITION 1.7a
@set VERSION 1.7a
-@set UPDATED 17 November 2002
+@set UPDATED 13 November 2002
@set UPDATED-MONTH November 2002
@set EDITION 1.7a
@set VERSION 1.7a