X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=configure.ac;h=2bba8129b92a834a998a1aea84fee9b475e3cdde;hb=8e875411f29b017313482637cbc5b74a69f4ddde;hp=34dcd060a5891a07dc6ea8c62ca53a7209f2a376;hpb=83c4cb37c39f01d038c808132a6ec990a0c75aa3;p=paraslash.git diff --git a/configure.ac b/configure.ac index 34dcd060..2bba8129 100644 --- a/configure.ac +++ b/configure.ac @@ -109,6 +109,10 @@ if test $HAVE_OPENSSL = yes; then will be removed in the next major paraslash release. Please upgrade your openssl installation.]) fi + AC_CHECK_LIB([crypto], [OSSL_PARAM_construct_BN], [HAVE_OSSL_PARAM=yes], + [HAVE_OSSL_PARAM=no]) + test $HAVE_OSSL_PARAM = yes && + AC_DEFINE([HAVE_OSSL_PARAM], [1], [openssl >= 3.0]) HAVE_OPENSSL_THREAD_STOP=yes AC_CHECK_DECL([OPENSSL_thread_stop], [], [HAVE_OPENSSL_THREAD_STOP=no],