aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-07-19 20:12:58 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-07-19 20:12:58 +0200
commitd0d36f312f57583d1cad45d84efc2ac41441cdfe (patch)
tree0a8a5bc2fca7d1196ab1eb9bedba5d06092267bf
parentd95f45cd407b631f21de0800eec6ccdb452a048f (diff)
configure: avoid "test -e"
"test -e" is POSIX but clearly was not supported by the SunOS sh version, -f is supported and should be a decent equivalent Bug: http://curl.haxx.se/bug/view.cgi?id=3371574
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b5adde5ec..b1fbf3ea2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1330,7 +1330,7 @@ if test X"$OPT_SSL" != Xno; then
dnl the user told us to look
OPENSSL_PCDIR="$OPT_SSL/lib/pkgconfig"
AC_MSG_NOTICE([PKG_CONFIG_LIBDIR will be set to "$OPENSSL_PCDIR"])
- if test -e "$OPENSSL_PCDIR/openssl.pc"; then
+ if test -f "$OPENSSL_PCDIR/openssl.pc"; then
PKGTEST="yes"
fi