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
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
_______________________________________________
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool