Support multiple arguments to m4_defn, m4_popdef, and m4_undefine.
commit36d8106f6dadede2d202cc1a71cb7dbbd7924fc9
authorEric Blake <ebb9@byu.net>
Fri, 18 Jul 2008 20:26:41 +0000 (18 14:26 -0600)
committerEric Blake <ebb9@byu.net>
Sat, 19 Jul 2008 19:11:45 +0000 (19 13:11 -0600)
treea83bdabba9660e019e57950544e66d9b819e8f0b
parent8c938c72f01272d23a5b7f110b8c0c0abbdf20f6
Support multiple arguments to m4_defn, m4_popdef, and m4_undefine.

* lib/m4sugar/m4sugar.m4 (m4_defn, m4_popdef, m4_undefine): Loop
through all variables, per POSIX and newer m4.
(_m4_text_wrap): Exploit the looping capabilities.
* tests/m4sugar.at (m4@&t@_defn): Test this.
* NEWS: Document it.
* doc/autoconf.texi (Redefined M4 Macros) <m4_defn, m4_popdef>
<m4_undefine>: Likewise.

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