1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

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
This commit is contained in:
Daniel Stenberg 2011-07-19 20:12:58 +02:00
parent d95f45cd40
commit d0d36f312f

View File

@ -1330,7 +1330,7 @@ if test X"$OPT_SSL" != Xno; then
dnl the user told us to look dnl the user told us to look
OPENSSL_PCDIR="$OPT_SSL/lib/pkgconfig" OPENSSL_PCDIR="$OPT_SSL/lib/pkgconfig"
AC_MSG_NOTICE([PKG_CONFIG_LIBDIR will be set to "$OPENSSL_PCDIR"]) 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" PKGTEST="yes"
fi fi