+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,
@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})
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
])