Commit 58c53bde authored by Jan Včelák's avatar Jan Včelák 🚀

build: fix pkcs11 compatibility detection

parent c62966b4
......@@ -131,7 +131,7 @@ PKG_CHECK_MODULES([gnutls], [gnutls >= 3.0 nettle], [
LIBS="$LIBS $gnutls_LIBS"
AC_CHECK_FUNC([gnutls_pkcs11_privkey_generate3], [enable_pkcs11=yes], [enable_pkcs11=no])
AC_CHECK_FUNC([gnutls_pkcs11_copy_pubkey], [enable_pkcs11=yes], [enable_pkcs11=no])
AS_IF([test "$enable_pkcs11" = yes],
[AC_DEFINE([ENABLE_PKCS11], [1], [PKCS 11 support available])])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment