From: Dave Hart Date: Tue, 14 Dec 2010 20:49:32 +0000 (+0000) Subject: [Bug 1751] correct -lcrypto -lz dependency test X-Git-Tag: NTP_4_2_7P94~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e83788e7607efc4490498f75d4259be9cad2962;p=thirdparty%2Fntp.git [Bug 1751] correct -lcrypto -lz dependency test bk: 4d07d85caP20h0NonL--GecMnwW5Pw --- diff --git a/m4/ntp_openssl.m4 b/m4/ntp_openssl.m4 index 58400a254..f80ac584d 100644 --- a/m4/ntp_openssl.m4 +++ b/m4/ntp_openssl.m4 @@ -168,9 +168,11 @@ case "$ntp_openssl" in [AC_LANG_PROGRAM( [[ #include "openssl/err.h" + #include "openssl/rand.h" ]], [[ ERR_load_crypto_strings(); + OpenSSL_add_all_algorithms(); ]] )], [ntp_cv_bare_lcrypto=yes], @@ -187,9 +189,11 @@ case "$ntp_openssl" in [AC_LANG_PROGRAM( [[ #include "openssl/err.h" + #include "openssl/rand.h" ]], [[ ERR_load_crypto_strings(); + OpenSSL_add_all_algorithms(); ]] )], [ntp_cv_lcrypto_lz=yes],