789
790
if test -z "$ssllibdir"; then
790
791
AC_MSG_RESULT([Not found])
793
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])])
794
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])])
800
799
AC_DEFINE([HAVE_OPENSSL], 1, [Define to 1 if you have openssl.])