diff options
author | Alexandre Duret-Lutz <adl@gnu.org> | 2006-04-21 19:02:29 +0000 |
---|---|---|
committer | Alexandre Duret-Lutz <adl@gnu.org> | 2006-04-21 19:02:29 +0000 |
commit | 0562c007c70d0346938f82c1d4d950e88c3528bd (patch) | |
tree | 20854bb6460a905c8cfb0fd19c8704ffe62da36a /aclocal.m4 | |
parent | f2bc3b45f3a28fec6837e07ada63b124df0720a4 (diff) | |
download | automake-0562c007c70d0346938f82c1d4d950e88c3528bd.tar.gz |
* m4/amversion.in (_AM_AUTOCONF_VERSION): New macro.
(AM_SET_CURRENT_AUTOMAKE_VERSION): Call it.
* aclocal.in (trace_used_macros): Trace _AM_AUTOCONF_VERSION.
(write_aclocal): Output a check for Autoconf's version in aclocal.m4.
Doing so ensures that users cannot build configure and Makefiles
with two different autoconf versions. Report from Noah Misch.
* tests/missing4.test: New file.
* tests/Makefile.am (TESTS): Add it.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 739c7d937..f348e6b74 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -11,6 +11,9 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. +m4_if(m4_PACKAGE_VERSION, [2.59c],, +[m4_fatal([this file was generated for autoconf 2.59c], [63])]) + m4_include([m4/amversion.m4]) m4_include([m4/auxdir.m4]) m4_include([m4/init.m4]) |