]> granicus.if.org Git - mutt/commitdiff
Fix --with-sqlite3 test for autocrypt.
authorKevin McCarthy <kevin@8t8.us>
Tue, 20 Aug 2019 21:57:29 +0000 (14:57 -0700)
committerKevin McCarthy <kevin@8t8.us>
Tue, 20 Aug 2019 21:57:29 +0000 (14:57 -0700)
Since $with_sqlite3 can contain a path, we want to check if it is
"no", not that it isn't "yes".

configure.ac

index 08f5e380b44129cf0a6ff7cf8f6bd8e6c06136c9..7c03844e6651d927200e265c7bc72b91e9a48afd 100644 (file)
@@ -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. ])