automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: AC_PREREQ(2.58)


From: Alexandre Duret-Lutz
Subject: FYI: AC_PREREQ(2.58)
Date: Wed, 05 Nov 2003 22:31:19 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

I'm checking this in.

2003-11-05  Alexandre Duret-Lutz  <address@hidden>

        * m4/init.m4 (AM_INIT_AUTOMAKE): Require Autoconf 2.58.
        * configure.ac: Require Autoconf 2.58a, and check for 2.58.

Index: NEWS
===================================================================
RCS file: /cvs/automake/automake/NEWS,v
retrieving revision 1.234
diff -u -r1.234 NEWS
--- NEWS        21 Oct 2003 16:29:03 -0000      1.234
+++ NEWS        5 Nov 2003 21:25:56 -0000
@@ -6,7 +6,7 @@
 
 * Requirements
 
-  - Autoconf 2.57b or greater is required.
+  - Autoconf 2.58 or greater is required.
 
 * New features
 
Index: configure.ac
===================================================================
RCS file: /cvs/automake/automake/configure.ac,v
retrieving revision 1.1
diff -u -r1.1 configure.ac
--- configure.ac        24 Sep 2003 21:20:05 -0000      1.1
+++ configure.ac        5 Nov 2003 21:25:59 -0000
@@ -18,7 +18,12 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
-AC_PREREQ(2.57b)
+dnl Autoconf 2.58 defines abs_top_builddir incorrectly, so we
+dnl have to require 2.58a, otherwise all our test cases will fail
+dnl (abs_top_builddir is used in tests/automake.in).  Note that
+dnl this is a requirement for the Automake package itself.
+dnl Automake users can still use Autoconf 2.58.
+AC_PREREQ(2.58a)
 AC_INIT([GNU Automake], [1.7a], address@hidden)
 
 AC_CONFIG_SRCDIR(automake.in)
@@ -67,9 +72,9 @@
 # deletion of any files created (such as those added to
 # autom4te.cache).
 mkdir conftest
-echo 'AC''_PREREQ(2.54)' > conftest/conftest.ac
+echo 'AC''_PREREQ(2.58)' > conftest/conftest.ac
 AM_RUN_LOG([cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac]) || {
-   AC_MSG_ERROR([Autoconf 2.54 or better is required.
+   AC_MSG_ERROR([Autoconf 2.58 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.])
 }
Index: m4/init.m4
===================================================================
RCS file: /cvs/automake/automake/m4/init.m4,v
retrieving revision 1.56
diff -u -r1.56 init.m4
--- m4/init.m4  24 Aug 2003 19:56:07 -0000      1.56
+++ m4/init.m4  5 Nov 2003 21:25:59 -0000
@@ -35,7 +35,7 @@
 # arguments mandatory, and then we can depend on a new Autoconf
 # release and drop the old call support.
 AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.57b])dnl
+[AC_PREREQ([2.58])dnl
 dnl Autoconf wants to disallow AM_ names.  We explicitly allow
 dnl the ones we care about.
 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl

-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]