diff options
Diffstat (limited to 'infrastructure/m4/boxbackup_tests.m4')
-rw-r--r-- | infrastructure/m4/boxbackup_tests.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/infrastructure/m4/boxbackup_tests.m4 b/infrastructure/m4/boxbackup_tests.m4 index f2b44ff0..15f132cb 100644 --- a/infrastructure/m4/boxbackup_tests.m4 +++ b/infrastructure/m4/boxbackup_tests.m4 @@ -128,6 +128,7 @@ AC_CHECK_FUNCS([dlsym dladdr]) AC_SEARCH_LIBS([gethostbyname], [nsl socket resolv]) AC_SEARCH_LIBS([shutdown], [nsl socket resolv]) AX_CHECK_SSL(, [AC_MSG_ERROR([[OpenSSL is not installed but is required]])]) +AC_CHECK_DECLS([SSL_R_EE_KEY_TOO_SMALL],,, [[#include <openssl/ssl.h>]]) AC_ARG_ENABLE( [old-ssl], [AC_HELP_STRING([--enable-old-ssl], @@ -144,6 +145,7 @@ Upgrade or read the documentation for alternatives]]) ]) AC_CHECK_FUNCS([SSL_CTX_set_security_level], [HAVE_SSL_CTX_SET_SECURITY_LEVEL=1]) AC_SUBST([HAVE_SSL_CTX_SET_SECURITY_LEVEL]) +AC_CHECK_FUNCS([OPENSSL_cleanup]) ### Checks for header files. |