]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Allow AS_IF in shell lists.
authorEric Blake <ebb9@byu.net>
Mon, 20 Oct 2008 22:18:05 +0000 (16:18 -0600)
committerEric Blake <ebb9@byu.net>
Wed, 22 Oct 2008 03:03:57 +0000 (21:03 -0600)
commitb837cd019d07cffa7eb5609b0492330c94c7fcdd
treee0301f1883512b0c44e7c825a4815deeb4369ea5
parent6d4ddfda94ca34ce164d40af710d99317ddfc536
Allow AS_IF in shell lists.

* lib/m4sugar/m4sh.m4 (AS_IF): Always execute test, in case of
side effects.  Allow continuation of script on same line as fi.
(_AS_DETECT_BETTER_SHELL): Adjust clients.
(AS_VAR_IF, AS_VAR_SET_IF): For now, supply newline no longer
given by AS_IF.
* lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Likewise.
* lib/autoconf/general.m4 (_AC_ENABLE_IF): Likewise.
(AC_EGREP_CPP, _AC_RUN_IFELSE): Adjust client.
* lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Likewise.
* doc/autoconf.texi (Common Shell Constructs) <AS_IF>: Fix typo.
(Polymorphic Variables): Move mention of dnl to the only two
AS_VAR functions that need it.

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