[Top][All Lists]

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

Re: autoconf 2.64 fails when IFS is changed

From: Eric Blake
Subject: Re: autoconf 2.64 fails when IFS is changed
Date: Thu, 25 Feb 2010 14:12:53 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20090812 Thunderbird/ Mnenhy/

According to Ralf Wildenhues on 7/28/2009 12:39 PM:
> Hello Arkadiusz,
>> old_IFS=$IFS
>> IFS=","
>> IFS="$old_IFS"
>> address@hidden ~/test/1]$ ./configure
>> ./configure[1640]: print -r --: not found
>> configure: creating ./config.status
> Thanks for the report.  This will probably mean that we will document
> that you should not change, or that you need to restore, IFS when
> invoking Autoconf macros.  In general, we really cannot guarantee which
> macros will expand to IFS-sensitive code and which won't, so you may
> have to assume they all will.

Cleaning out some old mails in my inbox.  I agree with Ralf that the best
we can do is document IFS better (it is easier to do that than to ask all
internal uses of $* to reset IFS to the defaults).  I will be pushing this.

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library

Attachment: autoconf.patch252
Description: Text document

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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