From 770c06ed4e6c1097d6e305a0a9427c3c783b787c Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Mon, 23 Nov 2015 12:39:22 +0100 Subject: gpg: If sqlite is not available, don't build things depending on it. * configure.ac: Define the automake conditional SQLITE3. * tests/openpgp/Makefile.am (TESTS): Move the sqlite3 dependent tests to... (sqlite3_dependent_tests): ... this new variable. If SQLITE3 is not defined, then clear this variable. -- Signed-off-by: Neal H. Walfield --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 57bf85e1c..d9aac71cb 100644 --- a/configure.ac +++ b/configure.ac @@ -820,6 +820,8 @@ if test x"$use_tofu" = xyes ; then fi fi +AM_CONDITIONAL(SQLITE3, test "$have_sqlite" = "yes") + if test x"$use_tofu" = xyes ; then AC_DEFINE(USE_TOFU, 1, [Enable to build the TOFU code]) fi -- cgit v1.2.3