summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorAkim Demaille <akim@epita.fr>2005-01-27 09:25:45 +0000
committerAkim Demaille <akim@epita.fr>2005-01-27 09:25:45 +0000
commit157d3252f42461e0ec5678020b27c8ae341b0eff (patch)
treec44e9e3fc6a095e685347994f25d820a3d41238b /aclocal.m4
parent4ef522eeb12c63f4174e4f13eb9be924eab7dd6c (diff)
downloadautomake-157d3252f42461e0ec5678020b27c8ae341b0eff.tar.gz
automake-157d3252f42461e0ec5678020b27c8ae341b0eff.tar.bz2
automake-157d3252f42461e0ec5678020b27c8ae341b0eff.zip
* lib/Automake/Configure_ac.pm: s/filename/file_name/g.
From Paul Eggert.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m49
1 files changed, 8 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index f24ed7950..7a1aa926b 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -21,7 +21,14 @@
# ----------------------------
# Automake X.Y traces this macro to ensure aclocal.m4 has been
# generated from the m4 files accompanying Automake X.Y.
-AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9a"])
+# (This private macro should not be called outside this file.)
+AC_DEFUN([AM_AUTOMAKE_VERSION],
+[am__api_version='1.9a'
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
+dnl require some minimum version. Point them to the right macro.
+m4_if([$1], [1.9a], [],
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
+])
# AM_SET_CURRENT_AUTOMAKE_VERSION
# -------------------------------