summaryrefslogtreecommitdiff
path: root/lib/autoconf/status.m4
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2008-11-18 20:58:19 -0700
committerEric Blake <ebb9@byu.net>2008-11-18 21:00:34 -0700
commite84b404ff0cfc9ab0b56a538fa17283d6688284e (patch)
treeff56a9546dd6547fecc736c6a7aee5f364944c03 /lib/autoconf/status.m4
parent12bb35717bf10ca68f2e40008334ab123dcbe152 (diff)
downloadautoconf-e84b404ff0cfc9ab0b56a538fa17283d6688284e.tar.gz
Alter default value of AS_EXIT.
* lib/m4sugar/m4sh.m4 (_AS_EXIT_PREPARE): Let as_func_exit parameter be optional. (AS_EXIT): Use it to make better default. (_AS_DETECT_BETTER_SHELL): Use new default. * bin/autoconf.as (exit_missing_arg, getopt): Likewise. * lib/autoconf/status.m4 (AC_OUTPUT): Likewise. * tests/m4sh.at (AS@&t@_EXIT): Update test. * doc/autoconf.texi (Common Shell Constructs) <AS_EXIT>: Mention new default behavior. (Limitations of Builtins) <trap>: Adjust to use new default. * NEWS: Mention the semantic change. Suggested by Ralf Wildenhues. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'lib/autoconf/status.m4')
-rw-r--r--lib/autoconf/status.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/autoconf/status.m4 b/lib/autoconf/status.m4
index c134bb7b..fe783583 100644
--- a/lib/autoconf/status.m4
+++ b/lib/autoconf/status.m4
@@ -1307,7 +1307,7 @@ if test "$no_create" != yes; then
exec AS_MESSAGE_LOG_FD>>config.log
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
# would make configure fail if this is the last instruction.
- $ac_cs_success || AS_EXIT([1])
+ $ac_cs_success || AS_EXIT
fi
dnl config.status should not do recursion.
AC_PROVIDE_IFELSE([AC_CONFIG_SUBDIRS], [_AC_OUTPUT_SUBDIRS()])dnl