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: Tim Van Holder
Subject: RE: autoconf 2.49c fails if '.' is in PATH
Date: Sun, 4 Feb 2001 17:26:11 +0100

First off, sorry for the delay in replying; I just set up a new PC and
there is still much migrating and configuring to do...

> But I never read explicitly your environment also has this problem.
> Has it, or has it not?  Because we can
it has.

> Unix:
> test -x && test -f
> 
> DOS says no to test -x directory
> test -x && :
> 
> DOS says yes to test -x directory
> test -x && test ! -d

As previously stated, this will still break if the directory containing
foo.exe also has a subdir named foo. But I guess this is not that likely
and is better than the current test.
Using 'test -x && test -f' would be even safer (probably), but would
negate the use of -x on systems like DJGPP and Cygwin that emulate the
executable bit for extension-based executables.




reply via email to

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