|
From: | Peter O'Gorman |
Subject: | Re: [GNU Autoconf 2.60] testsuite: 3 120 failed |
Date: | Sun, 11 Feb 2007 21:18:56 +0900 |
[cutting autoconf-patches list] On Feb 11, 2007, at 6:33 PM, Ralf Wildenhues wrote:
OK to apply? + +# Cheap backport of AS_EXECUTABLE_P and required macros +# from Autoconf 2.59; we should not use $as_executable_p directly. + +# _AS_TEST_PREPARE +# ---------------- +m4_ifndef([_AS_TEST_PREPARE], +[m4_defun([_AS_TEST_PREPARE], +[as_executable_p="test -f"
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 Peter
[Prev in Thread] | Current Thread | [Next in Thread] |