]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - configure.ac
Merge topic branch t/sf_float into pu
[paraslash.git] / configure.ac
index 34dcd060a5891a07dc6ea8c62ca53a7209f2a376..2bba8129b92a834a998a1aea84fee9b475e3cdde 100644 (file)
@@ -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],