791
792
if test -z "$ssllibdir"; then
792
793
AC_MSG_RESULT([Not found])
795
AC_CHECK_LIB([ssl], [SSL_library_init], [], [AC_MSG_ERROR([Could not find SSL library, please use --with-ssl-lib-dir option or disabled the SSL support using --without-ssl])])
796
AC_CHECK_LIB([crypto],[CRYPTO_new_ex_data], [], [AC_MSG_ERROR([Could not find SSL library, please use --with-ssl-lib-dir option or disabled the SSL support using --without-ssl])])
802
801
AC_DEFINE([HAVE_OPENSSL], 1, [Define to 1 if you have openssl.])