]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
botan: Look for Botan 3 in configure script
authorTobias Brunner <tobias@strongswan.org>
Fri, 29 Jan 2021 15:45:02 +0000 (16:45 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 15 Feb 2021 08:23:56 +0000 (09:23 +0100)
configure.ac

index ea7fd00b963335912020455cd35816cf5a8dac4d..520775c1c4061f93d9d913d690aaa56295507084 100644 (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