diff --git a/configure b/configure index b844309..bd159fb 100755 --- a/configure +++ b/configure @@ -6212,6 +6212,13 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_get_version" >&5 $as_echo "$ac_cv_lib_ssl_SSL_get_version" >&6; } if test "x$ac_cv_lib_ssl_SSL_get_version" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBSSL 1 +_ACEOF + + LIBS="-lssl $LIBS" + +else as_fn_error $? "Can not find libssl." "$LINENO" 5 fi diff --git a/configure.ac b/configure.ac index 79c828e..df86516 100644 --- a/configure.ac +++ b/configure.ac @@ -23,7 +23,7 @@ AM_GNU_GETTEXT([external]) AC_CHECK_LIB([idn2], [idn2_to_ascii_8z], [], AC_MSG_ERROR([Can not this function find libidn2.])) -AC_CHECK_LIB([ssl], [SSL_get_version], AC_MSG_ERROR([Can not find libssl.])) +AC_CHECK_LIB([ssl], [SSL_get_version], [], AC_MSG_ERROR([Can not find libssl.])) AC_PATH_PROG([LISP_COMPILER],[sbcl],[no])