X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=m4%2Fopenssl.m4;h=e5c0939555b570aa7664ac45a4448f743deebd8d;hp=2ef9c37853104a993e731e55d8b950710bd38145;hb=f0aa9641e82fb6e09c1e485366d14dddaa7f7c36;hpb=c2752b961c9262386b940c2c053b9909bee22859 diff --git a/m4/openssl.m4 b/m4/openssl.m4 index 2ef9c378..e5c09395 100644 --- a/m4/openssl.m4 +++ b/m4/openssl.m4 @@ -31,6 +31,14 @@ AC_DEFUN(tinc_OPENSSL, AC_CHECK_FUNCS(RAND_pseudo_bytes) + AC_CHECK_FUNC(OpenSSL_add_all_algorithms, + [], + AC_CHECK_FUNC(SSLeay_add_all_algorithms, + [AC_DEFINE(HAVE_SSLEAY_ADD_ALL_ALGORITHMS)], + [AC_MSG_ERROR("Missing required OpenSSL functionality!")] + ) + ) + AC_CHECK_FUNC(dlopen, [], AC_CHECK_LIB(dl, dlopen,