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: Akim Demaille
Subject: Re: 09test-AC_HELP_STRING.diff
Date: Tue, 29 Apr 2003 12:12:04 +0200
User-agent: 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.

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...




reply via email to

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