1
0
Fork 0

- fixed ssl checking in configure script (was given error when the library was actually found).

This commit is contained in:
cage 2020-12-13 20:56:27 +01:00
parent 806e28c5bd
commit 549f364576
2 changed files with 8 additions and 1 deletions

7
configure vendored
View File

@ -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

View File

@ -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])