diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-07-19 20:12:58 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-07-19 20:12:58 +0200 |
commit | d0d36f312f57583d1cad45d84efc2ac41441cdfe (patch) | |
tree | 0a8a5bc2fca7d1196ab1eb9bedba5d06092267bf /configure.ac | |
parent | d95f45cd407b631f21de0800eec6ccdb452a048f (diff) | |
download | curl-d0d36f312f57583d1cad45d84efc2ac41441cdfe.tar.gz |
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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
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 |