X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fbuilt-with.c;h=0c70010beca5548c012b531edb70691703df5ca6;hp=27384bd044bc16999b6ddccf686433c983209c76;hb=HEAD;hpb=008a5e92eb157e2bb8622cb2fbf644deba5ba4b4 diff --git a/lib/built-with.c b/lib/built-with.c index 27384bd0..275e72b8 100644 --- a/lib/built-with.c +++ b/lib/built-with.c @@ -25,11 +25,15 @@ 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; }