aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorNeal H. Walfield <[email protected]>2015-11-23 11:39:22 +0000
committerNeal H. Walfield <[email protected]>2015-11-23 11:42:31 +0000
commit770c06ed4e6c1097d6e305a0a9427c3c783b787c (patch)
tree58589e28a54436f134bb06ea3b769aa124a0f62a /configure.ac
parentgpg: Allow updating the expiration time of multiple subkeys at once. (diff)
downloadgnupg-770c06ed4e6c1097d6e305a0a9427c3c783b787c.tar.gz
gnupg-770c06ed4e6c1097d6e305a0a9427c3c783b787c.zip
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 <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
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