Add linear m4_cond for m4 1.4.x.
commit694606d3388848d4cf2ddbc9b329851e0a88f706
authorEric Blake <ebb9@byu.net>
Wed, 30 Jul 2008 22:44:03 +0000 (30 16:44 -0600)
committerEric Blake <ebb9@byu.net>
Wed, 6 Aug 2008 15:57:08 +0000 (6 09:57 -0600)
tree1e0747a4d620d04c1ae326b44710afe27e45295e
parent565b34d33bf6866721af917e6f90c18aafed1d3c
Add linear m4_cond for m4 1.4.x.

* lib/m4sugar/m4sugar.m4 (m4_cond): Split into...
(_m4_cond): ...this, for fewer macros per iteration.
* lib/m4sugar/foreach.m4 (_m4_cond): New implementation.
* tests/m4sugar.at (recursion): Test it.
* NEWS: Document the linear guarantee.

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