From: Kevin McCarthy Date: Tue, 20 Aug 2019 21:57:29 +0000 (-0700) Subject: Fix --with-sqlite3 test for autocrypt. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=577d5d1407672941763ce45167975cbb45d96bf5;p=mutt Fix --with-sqlite3 test for autocrypt. Since $with_sqlite3 can contain a path, we want to check if it is "no", not that it isn't "yes". --- diff --git a/configure.ac b/configure.ac index 08f5e380..7c03844e 100644 --- a/configure.ac +++ b/configure.ac @@ -149,7 +149,7 @@ AC_ARG_ENABLE(autocrypt, [], [enable_autocrypt=no]) if test x$enable_autocrypt = xyes; then - if test x$with_sqlite3 != xyes; then + if test x$with_sqlite3 = xno; then AC_MSG_ERROR([autocrypt requires --with-sqlite3]) fi AC_DEFINE(USE_AUTOCRYPT,1,[ Define if you want support for autocrypt. ])