qemu-devel
[Top][All Lists]
Advanced

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

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


From: Loïc Minier
Subject: Re: [Qemu-devel] Stop using "which" in ./configure
Date: Tue, 19 Jan 2010 12:47:50 +0100

On Tue, Jan 19, 2010, Loïc Minier wrote:
>  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.)

 Please find attached a new version of the patch with a simpler version
 of path_of() which uses IFS instead of the ${foo#bar} and ${foo%%bar}
 constructs.  It also removes the special casing of an empty PATH.

-- 
Loïc Minier

Attachment: 0001-Add-and-use-has-and-path_of-funcs.patch
Description: Text Data


reply via email to

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