1 /* notmuch - Not much of an email program, (just index and search)
3 * Copyright © 2016 David Bremner
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see https://www.gnu.org/licenses/ .
18 * Author: David Bremner <david@tethera.net>
22 #include "notmuch-private.h"
25 notmuch_built_with (const char *name)
27 if (STRNCMP_LITERAL (name, "compact") == 0) {
28 return HAVE_XAPIAN_COMPACT;
29 } else if (STRNCMP_LITERAL (name, "field_processor") == 0) {
30 return HAVE_XAPIAN_FIELD_PROCESSOR;
31 } else if (STRNCMP_LITERAL (name, "retry_lock") == 0) {
32 return HAVE_XAPIAN_DB_RETRY_LOCK;
33 } else if (STRNCMP_LITERAL (name, "session_key") == 0) {