jim 99/09/10 09:52:46
Modified: src/lib/apr configure configure.in
Log:
Not all tests support -e, so use -x
Revision Changes Path
1.6 +1 -1 apache-2.0/src/lib/apr/configure
Index: configure
===================================================================
RCS file: /export/home/cvs/apache-2.0/src/lib/apr/configure,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- configure 1999/09/03 14:20:17 1.5
+++ configure 1999/09/10 16:52:39 1.6
@@ -1541,7 +1541,7 @@
# Use /bin/sh if it exists, otherwise go looking for sh in the path
-if (test -z "$SH" -a -e /bin/sh); then
+if (test -z "$SH" -a -x /bin/sh); then
SH="/bin/sh"
fi
# Extract the first word of "sh", so it can be a program name with args.
1.9 +1 -1 apache-2.0/src/lib/apr/configure.in
Index: configure.in
===================================================================
RCS file: /export/home/cvs/apache-2.0/src/lib/apr/configure.in,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- configure.in 1999/09/07 13:16:22 1.8
+++ configure.in 1999/09/10 16:52:42 1.9
@@ -50,7 +50,7 @@
AC_C_INLINE
# Use /bin/sh if it exists, otherwise go looking for sh in the path
-if (test -z "$SH" -a -e /bin/sh); then
+if (test -z "$SH" -a -x /bin/sh); then
SH="/bin/sh"
fi
AC_CHECK_PROG(SH, sh, sh)