Skip to content

Commit 8c4f9c5

Browse files
committed
Fix build
Signed-off-by: Martin Sustrik <[email protected]>
1 parent 3f1b638 commit 8c4f9c5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

configure.ac

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ AM_PROG_CC_C_O
6363
# --enable-tls #
6464
################################################################################
6565

66+
# Compatibility checks for libtls integration
67+
CHECK_LIBC_COMPAT
68+
CHECK_CRYPTO_COMPAT
69+
6670
AC_ARG_ENABLE([tls], [AS_HELP_STRING([--enable-tls],
6771
[Enable TLS sockets [default=no]])])
6872

@@ -74,9 +78,6 @@ if test "x$enable_tls" = "xyes"; then
7478
AC_MSG_ERROR([libssl not found; install OpenSSL]))
7579
AC_CHECK_LIB([crypto], [BIO_read], [],
7680
AC_MSG_ERROR([libcrypto not found; install OpenSSL]))
77-
# Compatibility checks for libtls integration
78-
CHECK_LIBC_COMPAT
79-
CHECK_CRYPTO_COMPAT
8081

8182
# Compatibility checks with OpenSSL implementation
8283
AC_CHECK_FUNCS([SSL_CTX_set_alpn_protos SSL_get0_alpn_selected], [],

0 commit comments

Comments
 (0)