autoconf/lib/m4sugar
Eric Blake 33239cbd38 Fix m4_map, and add some more utility macros.
* lib/m4sugar/m4sugar.m4 (m4_apply, m4_count, m4_dquote_elt)
(m4_echo, m4_make_list): New documented macros.
(_m4_quote, _m4_shift2): New helper macros.
(m4_map): Change semantics to allow calling macro without
arguments.
(m4_map_sep): Likewise.  Also change semantics to quote separator,
to match m4_join and m4_append.
(m4_version_unletter): Fix use of m4_map.
* doc/autoconf.texi (Evaluation Macros): Document m4_apply,
m4_count, m4_dquote_elt, m4_echo, m4_make_list.
(Text processing Macros): Mention m4_dquote as a faster
alternative to joining with commas.
(Looping constructs): Document m4_map, m4_map_sep.
* NEWS: Mention new macros.

Signed-off-by: Eric Blake <ebb9@byu.net>
2007-10-16 12:00:00 -06:00
..
.cvsignore Add m4sh.m4f and m4sugar.m4f 2002-02-06 15:54:42 +00:00
.gitignore Prepare for conversion to git. 2007-09-14 22:25:56 +00:00
m4sh.m4 Enhance AS_HELP_STRING. 2007-10-15 12:18:24 -06:00
m4sugar.m4 Fix m4_map, and add some more utility macros. 2007-10-16 12:00:00 -06:00
Makefile.am Publish m4_ifndef, m4_version_compare, m4_AUTOCONF_VERSION. 2007-09-13 03:21:18 +00:00
Makefile.in Whenever possible, use the vertical bar as sed delimiter. 2007-09-24 21:57:21 +02:00