> -----Original Message-----
> From: Alexandre Oliva [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 31, 2001 10:25 PM
> To: Akim Demaille
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: autoconf 2.49c fails if '.' is in PATH
> 
> 
> On Jan 31, 2001, Akim Demaille <[EMAIL PROTECTED]> wrote:
> 
> >>>>>> "Markus" == Markus F X J Oberhumer 
> <[EMAIL PROTECTED]> writes:
> Markus> After a look through the sources it seems that AS_EXECUTABLE_P
> Markus> should use both "test -f" and "test -x" on systems that
> Markus> support it, and "test -f" otherwise (DOS, Win, ...)
> 
> > Good call, I was going to text ! -x.
> 
> Huh?
> 
> How about test -x $f && test ! -d $f ?
> 

This will preclude finding gcc.exe (on Cygwin), if there is a gcc directory
side-by-side... 
I agree this would be a bit confusing and I don't know exactly if it will
work as expected. However, this may cause quite difficult to diagnose bugs
;-(

Regards,

        Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:    +33 (0) 1 47 68 80 80
Fax:    +33 (0) 1 47 88 97 85
e-mail: [EMAIL PROTECTED]
                [EMAIL PROTECTED]
-------------------------------------------- 

Reply via email to