bug-autoconf
[Top][All Lists]
Advanced

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

Re: autoconf-2.66: AC_CONFIG_SUBDIRS and AC_INIT warns


From: Eric Blake
Subject: Re: autoconf-2.66: AC_CONFIG_SUBDIRS and AC_INIT warns
Date: Wed, 07 Jul 2010 08:47:20 -0600
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 Mnenhy/0.8.2 Thunderbird/3.0.5

On 07/06/2010 05:09 PM, Bruno Haible wrote:
>> My current recommendation on this, since it's a warning only, is to
>> either ignore it, or use -Wno-syntax to silence it for now.  WDYT?
> 
> There is no reason for the warning, because the version string does not
> contain characters that would be dangerous in comments, inside single-quotes,
> inside double-quotes, or in here documents (namely newline, single-quote,
> double-quote, backslash, dollar). Therefore the warning should not be
> present.

Hmm, for AS_BOX, I changed things to avoid AS_LITERAL_IF altogether,
and just hard-coded the check for $, \, and ` (the three things that are
not safe for an unquoted here-doc).  I could probably do the same
for AC_INIT on the version string, but I'm out of time this morning for
attempting that.  Maybe tonight...

(And I finally figured out a way to get my normal email client to
work remotely, instead of suffering through the web-mail interface
that was breaking threading).

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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