autoconf
[Top][All Lists]
Advanced

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

RE: autoconf 2.49c fails if '.' is in PATH


From: Bernard Dautrevaux
Subject: RE: autoconf 2.49c fails if '.' is in PATH
Date: Thu, 1 Feb 2001 11:44:51 +0100

> -----Original Message-----
> From: Alexandre Oliva [mailto:address@hidden
> Sent: Wednesday, January 31, 2001 10:25 PM
> To: Akim Demaille
> Cc: address@hidden; address@hidden
> Subject: Re: autoconf 2.49c fails if '.' is in PATH
> 
> 
> On Jan 31, 2001, Akim Demaille <address@hidden> wrote:
> 
> >>>>>> "Markus" == Markus F X J Oberhumer 
> <address@hidden> 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: address@hidden
                address@hidden
-------------------------------------------- 



reply via email to

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