Hello Laurent, Good or bad "type -P" skips the aliases.
Thanks Chris > -----Original Message----- > From: > qemu-devel-bounces+chris.krumme=windriver....@nongnu.org > [mailto:qemu-devel-bounces+chris.krumme=windriver....@nongnu.o > rg] On Behalf Of Laurent Vivier > Sent: Tuesday, January 19, 2010 4:36 AM > To: l...@dooz.org > Cc: qemu-devel@nongnu.org > Subject: RE: [Qemu-devel] Stop using "which" in ./configure > > > 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 > -- > --------------------- laur...@vivier.eu --------------------- > "Tout ce qui est impossible reste à accomplir" Jules Verne > "Things are only impossible until they're not" Jean-Luc Picard > > >