]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
authorAkim Demaille <akim@epita.fr>
Fri, 23 May 2003 13:14:30 +0000 (13:14 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 23 May 2003 13:14:30 +0000 (13:14 +0000)
exit 63, so that we (or Automake's "missing") can tell the
difference with a plain failure.
* doc/autoconf.texi (Notices): Adjust.

ChangeLog
doc/autoconf.texi
lib/m4sugar/m4sugar.m4

index d5ad75359b342deb2e84f52c96abdfef8cd67511..c4742bbfe41c89ff82b873c30ac5ca04461d5b6a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-05-23  Akim Demaille  <akim@epita.fr>
+
+       * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an
+       exit 63, so that we (or Automake's "missing") can tell the
+       difference with a plain failure.
+       * doc/autoconf.texi (Notices): Adjust.
+
 2003-05-23  Akim Demaille  <akim@epita.fr>
 
        * Makefile.am, bin/Makefile.am, config/Makefile.am,
index 7b4377b97fd944915348eeef91de88d1c48732e2..adec2017e736dca95eb20376a61db1aa0d195807 100644 (file)
@@ -1639,9 +1639,9 @@ scripts.  Using them is optional.
 @acindex{PREREQ}
 @cindex Version
 Ensure that a recent enough version of Autoconf is being used.  If the
-version of Autoconf being used to create @command{configure} is earlier
-than @var{version}, print an error message to the standard error output
-and do not create @command{configure}.  For example:
+version of Autoconf being used to create @command{configure} is
+earlier than @var{version}, print an error message to the standard
+error output and exit with failure (exit status is 63).  For example:
 
 @example
 AC_PREREQ(@value{VERSION})
index 76aae7d7adc74d0fd6a607e0b27a05212b1589c3..dbb7c388ba15c419f3cf883b1f9e5f753d4bf25d 100644 (file)
@@ -1762,7 +1762,8 @@ m4_include([m4sugar/version.m4])
 m4_define([m4_version_prereq],
 [m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]), [$1]), -1,
        [m4_default([$3],
-                  [m4_fatal([Autoconf version $1 or higher is required])])],
+                  [m4_fatal([Autoconf version $1 or higher is required],
+                            63)])],
        [$2])[]dnl
 ])