summaryrefslogtreecommitdiff
path: root/infrastructure/m4/ax_check_ssl.m4
diff options
context:
space:
mode:
Diffstat (limited to 'infrastructure/m4/ax_check_ssl.m4')
-rw-r--r--infrastructure/m4/ax_check_ssl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/infrastructure/m4/ax_check_ssl.m4 b/infrastructure/m4/ax_check_ssl.m4
index 039c8398..03362bb6 100644
--- a/infrastructure/m4/ax_check_ssl.m4
+++ b/infrastructure/m4/ax_check_ssl.m4
@@ -27,7 +27,7 @@ AC_DEFUN([AX_CHECK_SSL], [
ax_check_ssl_found=yes
AC_CHECK_HEADERS([openssl/ssl.h],, [ax_check_ssl_found=no])
- AC_CHECK_LIB([ssl], [SSL_read],, [ax_check_ssl_found=no])
+ AC_CHECK_LIB([ssl], [SSL_read],, [ax_check_ssl_found=no], [-lcrypto])
if test "x$ax_check_ssl_found" = "xyes"; then
AC_DEFINE([HAVE_SSL], 1, [Define to 1 if SSL is available])