botan: Look for Botan 3 in configure script

This commit is contained in:
Tobias Brunner 2021-01-29 16:45:02 +01:00
parent 97857eaa12
commit eb399fb438
1 changed files with 2 additions and 1 deletions

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