File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ AS_IF([test "$enable_ssl" != "no"],[
43
43
dnl PKG_CHECK_MODULES() doesn't check for headers
44
44
dnl OSX for example has the lib, but not headers, so double confirm if OpenSSL works
45
45
AS_IF ( [ test "$enable_ssl" = "openssl" -o "$enable_openssl" = "auto"] , [
46
+ old_CFLAGS=$CFLAGS
47
+ CFLAGS=$SSL_CFLAGS
46
48
AC_CHECK_HEADERS ( [ openssl/bio.h openssl/ssl.h openssl/err.h openssl/crypto.h] ,
47
49
[ have_ssl_headers=yes] ,
48
50
[ have_ssl_headers=no] )
@@ -54,6 +56,7 @@ AS_IF([test "$enable_ssl" != "no"],[
54
56
SSL_LIBS=""
55
57
enable_ssl=auto
56
58
fi
59
+ CFLAGS=$old_CFLAGS
57
60
] )
58
61
AS_IF ( [ test "$enable_ssl" != "openssl" -a "$os_darwin" = "yes"] ,[
59
62
SSL_LIBS="-framework Security -framework CoreFoundation"
You can’t perform that action at this time.
0 commit comments