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