Do not build keyxboxd if sqlite has been disabled.

* configure.ac: Move clearing of build_keyboxd out of the conditional.
--

GnuPG-bug-id: 5588
This commit is contained in:
Werner Koch 2021-10-10 18:37:50 +02:00
parent e99b9890c2
commit cf29c7dec0
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 4 additions and 1 deletions

View File

@ -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")