From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NXBR8-000836-Sr for qemu-devel@nongnu.org; Tue, 19 Jan 2010 05:35:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NXBR3-0007zp-Dg for qemu-devel@nongnu.org; Tue, 19 Jan 2010 05:35:50 -0500 Received: from [199.232.76.173] (port=54425 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXBR3-0007zc-64 for qemu-devel@nongnu.org; Tue, 19 Jan 2010 05:35:45 -0500 Received: from moutng.kundenserver.de ([212.227.126.171]:56037) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NXBR2-0004q1-LJ for qemu-devel@nongnu.org; Tue, 19 Jan 2010 05:35:45 -0500 Message-Id: <29350830.3036701263897341123.JavaMail.servlet@kundenserver> From: Laurent Vivier Subject: RE: [Qemu-devel] Stop using "which" in ./configure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Jan 2010 11:35:41 +0100 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: lool@dooz.org Cc: qemu-devel@nongnu.org > Hi > > Following the thread on the sdl-config patch, please find attached a > patch to add a couple of portable shell functions which allow testing > whehter a command/builtin is available and to find the full pathname of > an executable in the PATH. This also replaces all uses of "which" in > ./configure. (This should be applied on top of the sdl-config patch.) > > Thanks, Why don't you use "type -P" for "path_of" ?" Regards, Laurent --=20 --------------------- Laurent@vivier.eu --------------------- "Tout ce qui est impossible reste =C3=A0 accomplir" Jules Verne "Things are only impossible until they're not" Jean-Luc Picard