incompatibilities instead of making them fatal.
* tests/missing4.test: Adjust.
* NEWS: Update.
Problem reported by Bruno Haible in
<http://lists.gnu.org/archive/html/bug-automake/2007-06/msg00010.html>.
+2007-06-23 Paul Eggert <eggert@cs.ucla.edu>
+ Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * aclocal.in (write_aclocal): Warn about autoconf
+ incompatibilities instead of making them fatal.
+ * tests/missing4.test: Adjust.
+ * NEWS: Update.
+ Problem reported by Bruno Haible in
+ <http://lists.gnu.org/archive/html/bug-automake/2007-06/msg00010.html>.
+
2007-05-03 Stepan Kasal <kasal@ucw.cz>
* doc/automake.texi, lib/Automake/Rule.pm: Fix typos.
New in 1.10a:
+* Changes to aclocal:
+
+ - The autoconf version check implemented by aclocal in aclocal.m4
+ (and new in Automake 1.10) is degraded to a warning. This helps
+ in the common case where the Autoconf versions used are compatible.
+
* Languages changes:
- subdir-object mode works now with Fortran (F77, FC, preprocessed
# use it in the header below. autom4te will output the name of
# the file in the diagnostic anyway.
$output = "m4_if(m4_PACKAGE_VERSION, [$ac_version],,
-[m4_fatal([this file was generated for autoconf $ac_version.
-You have another version of autoconf. If you want to use that,
-you should regenerate the build system entirely.], [63])])
+[m4_warning([this file was generated for autoconf $ac_version.
+You have another version of autoconf. It may work, but is not guaranteed to.
+If you have problems, you may need to regenerate the build system entirely.
+To do so, use the procedure documented by the package, typically `autoreconf'.])])
$output";
}
# PARTICULAR PURPOSE.
m4_if(m4_PACKAGE_VERSION, [2.61],,
-[m4_fatal([this file was generated for autoconf 2.61.
-You have another version of autoconf. If you want to use that,
-you should regenerate the build system entirely.], [63])])
+[m4_warning([this file was generated for autoconf 2.61.
+You have another version of autoconf. It may work, but is not guaranteed to.
+If you have problems, you may need to regenerate the build system entirely.
+To do so, use the procedure documented by the package, typically `autoreconf'.])])
m4_include([m4/amversion.m4])
m4_include([m4/auxdir.m4])
#! /bin/sh
-# Copyright (C) 2006 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2007 Free Software Foundation, Inc.
#
# This file is part of GNU Automake.
#
$MAKE 2>stderr
cat stderr
-grep 'WARNING:.*automake.*probably too old' stderr
-grep 'WARNING:.*autoconf.*probably too old' stderr
-test 2 = `grep -c 'aclocal.m4:.*this file was generated for' stderr`
+grep 'You have another version of autoconf' stderr
+grep -c 'aclocal.m4:.*this file was generated for' stderr
$MAKE 2>stderr
cat stderr
-grep 'WARNING:.*automake.*probably too old' stderr && exit 1
-grep 'WARNING:.*autoconf.*probably too old' stderr && exit 1
+grep 'You have another version of autoconf' stderr && exit 1
grep 'aclocal.m4:.*this file was generated for' stderr && exit 1
: