summaryrefslogtreecommitdiff
path: root/infrastructure
diff options
context:
space:
mode:
Diffstat (limited to 'infrastructure')
-rw-r--r--infrastructure/m4/ax_check_ssl.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/infrastructure/m4/ax_check_ssl.m4 b/infrastructure/m4/ax_check_ssl.m4
index 9b2beac4..78b99f7e 100644
--- a/infrastructure/m4/ax_check_ssl.m4
+++ b/infrastructure/m4/ax_check_ssl.m4
@@ -27,8 +27,8 @@ AC_DEFUN([AX_CHECK_SSL], [
ax_check_ssl_found=yes
AC_CHECK_HEADERS([openssl/ssl.h],, [ax_check_ssl_found=no])
- AC_CHECK_LIB([crypto], [HMAC_CTX_init])
- AC_CHECK_LIB([ssl], [SSL_read],, [ax_check_ssl_found=no])
+ AC_SEARCH_LIBS([HMAC_CTX_init], [crypto])
+ AC_SEARCH_LIBS([SSL_read], [ssl],, [ax_check_ssl_found=no])
if test "x$ax_check_ssl_found" = "xyes"; then
AC_DEFINE([HAVE_SSL], 1, [Define to 1 if SSL is available])