automake-patches
[Top][All Lists]
Advanced

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

FYI: master now depends on unreleased Autoconf


From: Ralf Wildenhues
Subject: FYI: master now depends on unreleased Autoconf
Date: Sat, 8 Mar 2008 13:38:28 +0100
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

I'm about to apply the fast install patch.  Since it needs the fixed
AC_PROG_INSTALL, git master of Automake will depend on an unreleased
Autoconf version, which I'm putting in with the patch below (diffs of
generated files not shown, as always).

With respect to committing generated files, I will try to stick to this
policy: Whenever I commit changes that change generated files, I will
use an up to date git Autoconf to rebuild it.  

When the next Autoconf version (alpha, beta, or stable) is released,
then that will be used (and sticked to, unless needed otherwise) and
the version jumping will stop again.

Cheers, and sorry for any inconveniences,
Ralf

    Require unreleased Autoconf for fixed AC_PROG_INSTALL.
    
    * m4/init.m4 (AM_INIT_AUTOMAKE): Bump AC_PREREQ to 2.61-341,
    regenerate files.
    * configure.ac: Also require Autoconf 2.61-341, to catch
    failure early and provide a sensible error message.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

diff --git a/configure.ac b/configure.ac
index 11e989e..5198d9e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
 # Process this file with autoconf to produce a configure script.
 
 # Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
-# 2004, 2006, 2007  Free Software Foundation, Inc.
+# 2004, 2006, 2007, 2008  Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -100,7 +100,7 @@ fi
 
 AC_CACHE_CHECK([whether autoconf is recent enough], [am_cv_autoconf_version],
 [mkdir conftest
-echo 'AC''_PREREQ(2.60)' > conftest/conftest.ac
+echo 'AC''_PREREQ(2.61a-341)' > conftest/conftest.ac
 if AM_RUN_LOG([cd conftest && eval $am_AUTOCONF -o /dev/null conftest.ac]);
 then
   am_cv_autoconf_version=yes
@@ -109,7 +109,7 @@ else
 fi
 rm -rf conftest])
 if test "$am_cv_autoconf_version" = no; then
-  AC_MSG_ERROR([Autoconf 2.60 or better is required.])
+  AC_MSG_ERROR([Autoconf 2.61a-341 or better is required.])
 fi
 
 # Test for ln.  We need use it to install the versioned binaries.
diff --git a/m4/init.m4 b/m4/init.m4
index 3e673db..1f5c437 100644
--- a/m4/init.m4
+++ b/m4/init.m4
@@ -7,7 +7,7 @@
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 13
+# serial 14
 
 # This macro actually does too much.  Some checks are only needed if
 # your package does certain things.  But this isn't really a big deal.
@@ -24,7 +24,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.60])dnl
+[AC_PREREQ([2.61a-341])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




reply via email to

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