]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* THANKS: Update.
authorEric Blake <ebb9@byu.net>
Thu, 26 Oct 2006 16:32:11 +0000 (16:32 +0000)
committerEric Blake <ebb9@byu.net>
Thu, 26 Oct 2006 16:32:11 +0000 (16:32 +0000)
* doc/autoconf.texi (Evaluation Macros): Improve the example to
show effect on macros that expand with commas.
Reported by Joel E. Denny.

doc/autoconf.texi

index 91abeaefe245bd205e3478861a4d11a116db94ec..fd8d2c3044ebc83823d4091b9f3c55da2bf56e78 100644 (file)
@@ -9921,14 +9921,24 @@ using these macros, (ii), using @code{m4_quote}, and (iii), using
 $ @kbd{cat example.m4}
 # Overquote, so that quotes are visible.
 m4_define([show], [$[]1 = [$1], $[]@@ = [$@@]])
+m4_define([mkargs], [1, 2, 3])
+m4_define([arg1], [[$1]])
 m4_divert(0)dnl
 show(a, b)
 show(m4_quote(a, b))
 show(m4_dquote(a, b))
+arg1(mkargs)
+arg1([mkargs])
+arg1(m4_quote(mkargs))
+arg1(m4_dquote(mkargs))
 $ @kbd{autom4te -l m4sugar example.m4}
 $1 = a, $@@ = [a],[b]
 $1 = a,b, $@@ = [a,b]
 $1 = [a],[b], $@@ = [[a],[b]]
+1
+mkargs
+1,2,3
+[1],[2],[3]
 @end example