From cf29c7dec0e845040a71aac383ee9f1dda901590 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sun, 10 Oct 2021 18:37:50 +0200 Subject: [PATCH] Do not build keyxboxd if sqlite has been disabled. * configure.ac: Move clearing of build_keyboxd out of the conditional. -- GnuPG-bug-id: 5588 --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index df6029810..5cdd31655 100644 --- a/configure.ac +++ b/configure.ac @@ -981,7 +981,6 @@ if test x"$use_tofu" = xyes ; then AC_SUBST([SQLITE3_LIBS]) else use_tofu=no - build_keyboxd=no tmp=$(echo "$SQLITE3_PKG_ERRORS" | tr '\n' '\v' | sed 's/\v/\n*** /g') AC_MSG_WARN([[ *** @@ -990,6 +989,10 @@ if test x"$use_tofu" = xyes ; then *** $tmp]]) fi fi +if test "$have_sqlite" != "yes"; then + build_keyboxd=no +fi + AM_CONDITIONAL(SQLITE3, test "$have_sqlite" = "yes")