[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


_______________________________________________
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to