[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tue, 29 Apr 2003 12:12:04 +0200
Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3 (gnu/linux)
Derek> I'm still looking into m4_dquote()ing the m4_format() call, as
Derek> you suggested, but straight replacement really messes things
Derek> up. Off the top of my head, the results look like an
Derek> m4_append() with a comma (`,') as a seperator. I will have to
Derek> analyze the problem deeper to figure out why.
The main problem is to keep the semantics of Autoconf active here.
Each (quoted) argument ought to be evaluated once, to perform macro
expansion once. Your proposal break this rule.
m4_define([FOO], [Foo Foo Foo Foo Foo Foo Foo Foo])
echo "AC_HELP_STRING([FOO], [FOO], [FOO])"
Ought to work. But technically, this is nearly impossible in all the
cases (such as the one you mention) without changing M4. Once someone