[Top][All Lists]

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

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

From: Akim Demaille
Subject: Re: autoconf 2.49c fails if '.' is in PATH
Date: 02 Feb 2001 12:30:35 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake)

| 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?

Doh!  s/-x/-d/g.

| How about test -x $f && test ! -d $f ?

Yeah, indeed.  There are few chances to meet some other kind of
special files in here.

Still, `-f' is definitely better where we can use it.  The question
is, `is test -x my-dir positive on DOS environments'?  If so, then on
this arg the second `test' can be just `:'.

reply via email to

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