qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: Stop using "which" in ./configure


From: Jamie Lokier
Subject: Re: [Qemu-devel] Re: Stop using "which" in ./configure
Date: Thu, 21 Jan 2010 16:53:57 +0000
User-agent: Mutt/1.5.13 (2006-08-11)

Måns Rullgård wrote:
>   If IFS is not set, the shell shall behave as if the value of IFS is
>   <space>, <tab>, and <newline>
> 
> If you make that IFS=${local_ifs:-$(printf ' \t\n')} it should be safe.
> Likewise if you set the value first.

Remove the colon.  The above will wrongly change empty IFS, which
is not the same as unset IFS.

That said, nobody should expect ./configure to work if IFS has an
unusual value anyway.  Probably .configure should just set it to the
standard value at the start.

-- Jamie




reply via email to

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