]> git.ipfire.org Git - thirdparty/autoconf.git/commit
m4sugar: fix regression in AC_MSG_ERROR expansion
authorEric Blake <eblake@redhat.com>
Thu, 16 Sep 2010 14:43:27 +0000 (08:43 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 16 Sep 2010 15:07:31 +0000 (09:07 -0600)
commitf6030a3204a9b87e9b346e6eff4ce1117382fc86
tree4cc3d4744f1631e4c2747f8c9b0b8f0756775ad5
parent9144856609b28e8b4f58bca4d44489ddc23170a9
m4sugar: fix regression in AC_MSG_ERROR expansion

AS_ERROR Regression introduced in commit cffdc3947, but the
underlying problem stems from the introduction of m4_defun_init
in commit d0c5f482.

* lib/m4sugar/m4sugar.m4 (m4_defun_init): Avoid macro
concatenation on subsequent expansions
* tests/m4sh.at (AS_WARN and AS_ERROR): New test.
* tests/m4sugar.at (m4@&t@_require: one-shot initialization):
Enhance test.
* NEWS: Document the fix.
* THANKS: Update.
Reported by Adrian Bunk and and Nishio Futoshi.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
NEWS
THANKS
lib/m4sugar/m4sugar.m4
tests/m4sh.at
tests/m4sugar.at