botan: Look for Botan 3 in configure script

This commit is contained in:
Tobias Brunner
2021-02-15 09:23:56 +01:00
parent 97857eaa12
commit eb399fb438
+2 -1
View File
@@ -1173,7 +1173,8 @@ if test x$gcrypt = xtrue; then
fi
if test x$botan = xtrue; then
PKG_CHECK_MODULES(botan, [botan-2])
PKG_CHECK_MODULES(botan, [botan-3], [],
[PKG_CHECK_MODULES(botan, [botan-2])])
AC_SUBST(botan_CFLAGS)
AC_SUBST(botan_LIBS)
fi