autoconf-patches
[Top][All Lists]
Advanced

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

AS_EXECUTABLE_P enhancement


From: Stepan Kasal
Subject: AS_EXECUTABLE_P enhancement
Date: Fri, 10 Dec 2004 15:57:40 +0100
User-agent: Mutt/1.4.1i

Hi,
  AS_EXECUTABLE_P(file) currently expands to
        test -f file

I have read the discussion from Jan and Feb 2001 when this macro was
introduced, and only a month later reduced to the good old ``test -f''.

I propose

        (test -f && test -x)
or
        (test -f && : )

depending on a check at the init time.
 
Reading that discussion, I noticed no platform which would be harmed by
this.

Patch attached, opinions welcome,
        Stepan

Attachment: autoconf-20041210-test-x.patch
Description: Text document


reply via email to

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