mirror of https://github.com/BOINC/boinc.git
Add check for "-L/..." in "$SSL_LIBS"
Checking for "-lssl" in "$LIBCURL" may not be enough to find where is the SSL lib The test may fail with "cannot find -lssl" and "cannot find -lcrypto" Add additional check if "$SSL_LIBS" can provide the SSL lib before moving on
This commit is contained in:
parent
f3176087af
commit
b83bf6e571
|
@ -110,6 +110,11 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG],
|
||||||
LIBCURL="${LIBCURL} ${SSL_LIBS}"
|
LIBCURL="${LIBCURL} ${SSL_LIBS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# fix cannot find -lssl
|
||||||
|
if test "x`echo \""$SSL_LIBS"\" | grep '\-L/'`" != 'x' ; then
|
||||||
|
LIBCURL="${LIBCURL} ${SSL_LIBS}"
|
||||||
|
fi
|
||||||
|
|
||||||
# This is so silly, but Apple actually has a bug in their
|
# This is so silly, but Apple actually has a bug in their
|
||||||
# curl-config script. Fixed in Tiger, but there are still
|
# curl-config script. Fixed in Tiger, but there are still
|
||||||
# lots of Panther installs around.
|
# lots of Panther installs around.
|
||||||
|
|
Loading…
Reference in New Issue