[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Derek Robert Price
Tue, 29 Apr 2003 18:21:41 -0400
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
Akim Demaille wrote:
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
So you are suggesting I drop this one completely? You have more M4
experience than I do, so if you tell me I'm wasting my time trying to
fix this in AC, I'll probably trust you. I've already spent quite a few
hours trying to get this one right.
I could use an "|" in my help text in place of ",". It won't be
consistent with the other options, but for now I could view that as minor.
Get CVS support at <http://ximbiot.com>!
My karma ran over my dogma.