bug-autoconf
[Top][All Lists]
Advanced

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

Re: Apostrophe in path


From: Eric Blake
Subject: Re: Apostrophe in path
Date: Tue, 13 May 2014 06:23:21 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On 05/13/2014 01:08 AM, Brendan McKay wrote:
> Apologies if this is a known bug.
> 
> Autoconf 2.65:  If the path to the current directory has a component with
> an apostrophe in it, an erroneous line is written to config.status.

Can you reproduce this with autoconf 2.69?

In general, having an unpaired ' in the current working directory is a
recipe for disaster; even if autoconf-generated scripts handle it
gracefully, you WILL have problems with automake, make, and probably
other tools.  And even if all the stock toolchains are taught to
generate sane code for a fully-quoted configure.ac, many packages have a
configure.ac that is not fully-quoted.  It's one of those situations
where you are better off picking a smarter name for your current working
directory, rather than trying to patch hundreds of packages to work
around your odd corner case.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
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]