autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 09test-AC_HELP_STRING.diff


From: Derek Robert Price
Subject: Re: 09test-AC_HELP_STRING.diff
Date: Tue, 29 Apr 2003 18:21:41 -0400
User-agent: 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.

Hi Derek,

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.

For instance

m4_define([FOO], [Foo Foo Foo Foo Foo Foo Foo Foo])
AC_INIT
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
has time...

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.

Derek

--
               *8^)

Email: address@hidden

Get CVS support at <http://ximbiot.com>!
--
My karma ran over my dogma.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]