bug-autoconf
[Top][All Lists]
Advanced

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

Re: Readonly shell variables containing newlines break caching


From: Eric Blake
Subject: Re: Readonly shell variables containing newlines break caching
Date: Wed, 3 Aug 2016 20:44:29 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 08/03/2016 06:19 PM, Quinn Grier wrote:
It appears that a configure script tries to unset all shell variables
that contain newlines in a subshell as part of the caching code. This
causes the subshell to exit early if any of the variables is readonly.

Autoconf in general is not expecting readonly variables, so it may be a very difficult task to clean it up to work nicely with such a restrictive environment. Patches are welcome, but since the obvious solution is "don't use readonly variables in an autoconf script", I'm probably not going to be the one to write such patches.

--
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org



reply via email to

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