projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d95f45c
)
configure: avoid "test -e"
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 19 Jul 2011 18:12:58 +0000
(20:12 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 19 Jul 2011 18:12:58 +0000
(20:12 +0200)
"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
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
b5adde5
..
b1fbf3e
100644
(file)
--- 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