check for OpenSSL headers in auto-detection
OpenSSL headers have been removed on El Capitane which renders it unusable for us.
This commit is contained in:
parent
bccf2120cd
commit
b9b3b2a86e
|
@ -494,6 +494,10 @@ case "${enable_openssl}" in
|
|||
have_openssl="no"
|
||||
;;
|
||||
detect)
|
||||
saved_CFLAGS="${CFLAGS}"
|
||||
CFLAGS="${CFLAGS} ${OPENSSL_CFLAGS}"
|
||||
AC_CHECK_HEADERS([openssl/crypto.h],,[have_openssl="no"])
|
||||
CFLAGS="${saved_CFLAGS}"
|
||||
if test "${have_openssl}" = "yes"; then
|
||||
enable_openssl="yes"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue