qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Remove bash-ism from configure


From: Krister Joas
Subject: Re: [Qemu-devel] [PATCH] Remove bash-ism from configure
Date: Mon, 12 Feb 2007 17:55:25 +0900

On Feb 12, 2007, at 2:41 AM, Anthony Liguori wrote:
Johannes Schindelin wrote:
Hi,

On Sat, 10 Feb 2007, Anthony Liguori wrote:

This is one I introduced in the gcc-3.x autodetect. It's against CVS from a little while ago so hopefully it's just fuzz.


AFAICT "which" is not really portable, either. But then, I always have a bash, so I really don't care.


On my system, which is an executable, not a shell command so it's outside the scope of bashism. It's also used elsewhere within configure.

You should take a look at that executable. On most systems I know, / usr/bin/which is a csh script. It has to be because it also finds aliases. It may or may not be portable to use 'which', I'm not really sure, but it's not very efficient.

Krister





reply via email to

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