X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fbuilt-with.c;h=89958e1222d3582588f69de59958f717074c7902;hb=a4b1c3933137ca71793f185a82c44442233c2b46;hp=7ea1d7fdc788968f6e509e11f7a51a6fa5d14541;hpb=792bea5aff135107fd970f51f3ef8c65f68194de;p=notmuch diff --git a/lib/built-with.c b/lib/built-with.c index 7ea1d7fd..89958e12 100644 --- a/lib/built-with.c +++ b/lib/built-with.c @@ -13,7 +13,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program. If not, see http://www.gnu.org/licenses/ . + * along with this program. If not, see https://www.gnu.org/licenses/ . * * Author: David Bremner */ @@ -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, "sexpr_query") == 0) { + return HAVE_SFSEXP; } else { - return FALSE; + return false; } }