autotools: No need to link against libssl

This commit is contained in:
Cory Fields 2014-01-24 17:29:04 -05:00
parent 0e9baf6fde
commit 6e7a6d479a
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ if test x"$use_pkgconfig" = x"yes"; then
: #NOP
])
else
AC_CHECK_HEADER(openssl/ssl.h,[AC_CHECK_LIB(ssl, main,[has_libssl=yes; SSL_LIBS=-lssl; AC_DEFINE(HAVE_LIBSSL,1,[Define this symbol if libssl is installed])])])
AC_CHECK_HEADER(openssl/ssl.h,[has_libssl=yes; AC_DEFINE(HAVE_LIBSSL,1,[Define this symbol if libssl is installed])])
AC_CHECK_HEADER(openssl/crypto.h,[AC_CHECK_LIB(crypto, main,[has_libcrypto=yes; CRYPTO_LIBS=-lcrypto; AC_DEFINE(HAVE_LIBCRYPTO,1,[Define this symbol if libcrypto is installed])]
)])
LIBS=