]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Change the semantics of AS_EXIT without argument.
authorEric Blake <ebb9@byu.net>
Fri, 21 Nov 2008 15:12:12 +0000 (08:12 -0700)
committerEric Blake <ebb9@byu.net>
Fri, 21 Nov 2008 15:13:04 +0000 (08:13 -0700)
commitbbc3dc81cce49f892b3345c4c1cfa9737eefcd61
treef40670285cba8b47c61acd73ecc5bb131f5a7d6c
parent26ba3d53187631bd8febe617a957df5063ed2fe6
Change the semantics of AS_EXIT without argument.

* lib/m4sugar/m4sh.m4 (_AS_EXIT_PREPARE): When defaulting, use $?
even if it is 0.
(AS_ERROR): Guarantee non-zero status.
* bin/autoconf.as (exit_missing_arg, getopt): Revert prior change;
we want non-zero status.
* tests/m4sh.at (AS@&t@_EXIT): Update test accordingly.
* doc/autoconf.texi (Common Shell Constructs) <AS_EXIT>: Update
the documentation.
<AS_SET_STATUS>: Don't overly restrict implementation.
(Printing Messages) <AC_MSG_ERROR>: Describe better default.
Suggestions by Paolo Bonzini and Ralf Wildenhues.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
bin/autoconf.as
doc/autoconf.texi
lib/m4sugar/m4sh.m4
tests/m4sh.at