From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HGWyF-0001N8-Gv for qemu-devel@nongnu.org; Mon, 12 Feb 2007 03:55:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HGWyD-0001Mu-9c for qemu-devel@nongnu.org; Mon, 12 Feb 2007 03:55:34 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HGWyD-0001Mr-29 for qemu-devel@nongnu.org; Mon, 12 Feb 2007 03:55:33 -0500 Received: from 210-145-021-227.jp.fiberbit.net ([210.145.21.227] helo=rome.local.gazonk.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1HGWyC-0006Vi-C4 for qemu-devel@nongnu.org; Mon, 12 Feb 2007 03:55:32 -0500 Received: from [192.168.75.3] (conan.local.gazonk.net [192.168.75.3]) by rome.local.gazonk.net (8.13.7+Sun/8.13.7) with ESMTP id l1C8tQpu019340 for ; Mon, 12 Feb 2007 17:55:29 +0900 (JST) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <45CF554C.8070805@codemonkey.ws> References: <45CE7A08.9090601@codemonkey.ws> <45CF554C.8070805@codemonkey.ws> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <2F8427AE-BC1B-4DD9-BC1F-08B4E57B8F80@gazonk.net> Content-Transfer-Encoding: 7bit From: Krister Joas Subject: Re: [Qemu-devel] [PATCH] Remove bash-ism from configure Date: Mon, 12 Feb 2007 17:55:25 +0900 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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