aboutsummaryrefslogtreecommitdiff
path: root/lib/built-with.c
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2016-06-26 17:29:45 +0200
committerDavid Bremner <david@tethera.net>2016-06-29 09:05:49 +0200
commit3a45d29ed4d753bcf72f2fa0bb37fefd4d18f96a (patch)
treec4dffae574ab108a7ab2d755280239bd400d1b51 /lib/built-with.c
parent6450813e8f211c87e9a2b48c76fb0c99c57410d2 (diff)
lib: add built_with handling for XAPIAN_DB_RETRY_LOCK
This support will be present only if the appropriate version of xapian is available _and_ the user did not disable the feature when building. So there really needs to be some way for the user to check.
Diffstat (limited to 'lib/built-with.c')
-rw-r--r--lib/built-with.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/built-with.c b/lib/built-with.c
index 635ed3b3..2f1f0b5c 100644
--- a/lib/built-with.c
+++ b/lib/built-with.c
@@ -28,6 +28,8 @@ notmuch_built_with (const char *name)
return HAVE_XAPIAN_COMPACT;
} else if (STRNCMP_LITERAL (name, "field_processor") == 0) {
return HAVE_XAPIAN_FIELD_PROCESSOR;
+ } else if (STRNCMP_LITERAL (name, "retry_lock") == 0) {
+ return HAVE_XAPIAN_DB_RETRY_LOCK;
} else {
return FALSE;
}