]> git.notmuchmail.org Git - notmuch/blobdiff - lib/built-with.c
emacs: Add new option notmuch-search-hide-excluded
[notmuch] / lib / built-with.c
index 635ed3b39f52557f9110a78a9f101faa21868e41..275e72b89e84d3de95ac73d628576d8da1211d0d 100644 (file)
@@ -25,10 +25,16 @@ notmuch_bool_t
 notmuch_built_with (const char *name)
 {
     if (STRNCMP_LITERAL (name, "compact") == 0) {
-       return HAVE_XAPIAN_COMPACT;
+       return true;
     } else if (STRNCMP_LITERAL (name, "field_processor") == 0) {
-       return HAVE_XAPIAN_FIELD_PROCESSOR;
+       return true;
+    } else if (STRNCMP_LITERAL (name, "retry_lock") == 0) {
+       return HAVE_XAPIAN_DB_RETRY_LOCK;
+    } else if (STRNCMP_LITERAL (name, "session_key") == 0) {
+       return true;
+    } else if (STRNCMP_LITERAL (name, "sexp_queries") == 0) {
+       return HAVE_SFSEXP;
     } else {
-       return FALSE;
+       return false;
     }
 }