autoconf-patches
[Top][All Lists]
Advanced

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

Re: AC_INIT regression


From: Paolo Bonzini
Subject: Re: AC_INIT regression
Date: Tue, 20 Jul 2010 09:26:49 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Thunderbird/3.0.5

On 07/20/2010 12:16 AM, Eric Blake wrote:
At this point, I'm thinking of using AS_LITERAL_HEREDOC_IF plus one
additional check for "; all other uses of AC_PACKAGE_STRING and friends
appeared to be inside "", so it's just a documentation matter to mention
that these strings should be double-quoted for project-generic code
(such as automake), but an individual project that follows stricter
rules (such as coreutils version string always being a single shell
word) can get by with referencing AC_PACKAGE_VERSION outside double quotes.

Considering Automake does

AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])

I think that's fine, but since you are at it you should also check for single quotes.

Paolo



reply via email to

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