mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
libzdb: add compatibility with openssl 1.1
This patch merely updates the detection of the ssl library. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -141,7 +141,7 @@ AC_ARG_ENABLE([openssl],
|
||||
else
|
||||
openssl="true"
|
||||
if test "x$enableval" = "xyes"; then
|
||||
- AC_CHECK_LIB([ssl], [SSL_library_init], [], [AC_MSG_ERROR([libssl not found])])
|
||||
+ AC_CHECK_LIB([ssl], [SSL_CTX_new], [], [AC_MSG_ERROR([libssl not found])])
|
||||
AC_CHECK_LIB([crypto], [SHA1_Init], [], [AC_MSG_ERROR([libcrypto not found])])
|
||||
else
|
||||
AC_MSG_CHECKING([for openssl in $enableval])
|
||||
Reference in New Issue
Block a user