Use m4_PACKAGE_VERSION, not AC_AUTOCONF_VERSION.
authorEric Blake <ebb9@byu.net>
Mon, 3 Mar 2008 22:48:54 +0000 (23:48 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 3 Mar 2008 22:52:19 +0000 (23:52 +0100)
* configure.ac: The latter is only in post-2.61 autoconf.

configure.ac

index 6608278..7b3f7de 100644 (file)
@@ -337,7 +337,7 @@ dnl Allow maintainer rules under GNU make even in VPATH builds.  This does
 dnl not work in autoconf 2.61 or earlier, but we don't want to require
 dnl non-maintainers to use unreleased autoconf, hence the version test.
 dnl TODO remove the version check once autoconf 2.62 is released.
-m4_if(m4_version_compare([2.61a.100], m4_defn([AC_AUTOCONF_VERSION])), [1], [],
+m4_if(m4_version_compare([2.61a.100], m4_defn([m4_PACKAGE_VERSION])), [1], [],
       [AC_CONFIG_LINKS([GNUmakefile:GNUmakefile])])
 
 AC_CONFIG_FILES(