bug-libtool
[Top][All Lists]
Advanced

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

Re: [GNU Autoconf 2.60] testsuite: 3 120 failed


From: Bob Friesenhahn
Subject: Re: [GNU Autoconf 2.60] testsuite: 3 120 failed
Date: Sun, 11 Feb 2007 10:52:33 -0600 (CST)

On Sun, 11 Feb 2007, Peter O'Gorman wrote:

Hi Ralf,

Could we test if test -x works and use that? I know that this is barely used, but it bugs me that test -f does not test for the executable bit :)

I think autoconf has this:

if test -x / >/dev/null 2>&1; then
  as_executable_p='test -x'
else
 as_executable_p='test -f'
fi

I seem to recall that with some versions of the MSYS shell 'test -x' pretends to work (but does not). It is best to make sure before depending on it. Some systems don't support the notion of 'executable' files.

Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/





reply via email to

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