X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=m4%2Fopenssl.m4;h=e5c0939555b570aa7664ac45a4448f743deebd8d;hp=2ef9c37853104a993e731e55d8b950710bd38145;hb=d9a62c6354d1e2ad78ee8c610518ae9f9ab012d1;hpb=1e2bdc2b6d28c76c63fc9fd36169b90fa0994388 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,