All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krister Joas <krister@gazonk.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Remove bash-ism from configure
Date: Mon, 12 Feb 2007 17:55:25 +0900	[thread overview]
Message-ID: <2F8427AE-BC1B-4DD9-BC1F-08B4E57B8F80@gazonk.net> (raw)
In-Reply-To: <45CF554C.8070805@codemonkey.ws>

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

  parent reply	other threads:[~2007-02-12  8:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-11  2:06 [Qemu-devel] [PATCH] Remove bash-ism from configure Anthony Liguori
2007-02-11 16:38 ` Johannes Schindelin
2007-02-11 17:41   ` Anthony Liguori
2007-02-11 22:58     ` [Qemu-devel] " Oleg Verych
2007-02-12  8:55     ` Krister Joas [this message]
2007-02-12  9:17       ` [Qemu-devel] " Jernej Simončič
2007-02-12 12:25         ` Krister Joas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2F8427AE-BC1B-4DD9-BC1F-08B4E57B8F80@gazonk.net \
    --to=krister@gazonk.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.