diff options
| author | Tomi Ollila <tomi.ollila@iki.fi> | 2020-04-22 00:07:29 +0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2020-04-23 21:28:45 -0300 |
| commit | 00cdfe10717020423870fdaf56e973db9aba9f5a (patch) | |
| tree | c958339dfb55e818f51657b62e8f1831868b34bf /lib/built-with.c | |
| parent | e02bb7e9fdbc96c66f32ce531509824f8afd4686 (diff) | |
build: drop support for xapian versions less than 1.4
Xapian 1.4 is over 3 years old now (1.4.0 released 2016-06-24),
and 1.2 has been deprecated in Notmuch version 0.27 (2018-06-13).
Xapian 1.4 supports compaction, field processors and retry locking;
conditionals checking compaction and field processors were removed
but user may want to disable retry locking at configure time so it
is kept.
Diffstat (limited to 'lib/built-with.c')
| -rw-r--r-- | lib/built-with.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/built-with.c b/lib/built-with.c index 320be6c5..0c70010b 100644 --- a/lib/built-with.c +++ b/lib/built-with.c @@ -25,9 +25,9 @@ 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) { |
