aboutsummaryrefslogtreecommitdiff
path: root/lib/built-with.c
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2017-11-30 03:59:28 -0500
committerDavid Bremner <david@tethera.net>2017-12-04 21:39:50 -0400
commit0ff13f862cd817fc1971900a433856a2a6146e24 (patch)
tree504d7c2558033720eb42ccc34ef00b4cfb554d0e /lib/built-with.c
parent5f2832ae2171714dfef6d0d3302f473526480157 (diff)
configure: session key handling in gmime maps to built_with("session_key")
This flag should make it easier to write the code for session-key handling. Note that this only works for GMime 2.6.21 and later (the session key interface wasn't available before then). It should be fine to build the rest of notmuch if this functionality isn't available. Note that this also adds the "session_key" built_with() aspect to libnotmuch.
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 27384bd0..9cffd9f9 100644
--- a/lib/built-with.c
+++ b/lib/built-with.c
@@ -30,6 +30,8 @@ notmuch_built_with (const char *name)
return HAVE_XAPIAN_FIELD_PROCESSOR;
} else if (STRNCMP_LITERAL (name, "retry_lock") == 0) {
return HAVE_XAPIAN_DB_RETRY_LOCK;
+ } else if (STRNCMP_LITERAL (name, "session_key") == 0) {
+ return HAVE_GMIME_SESSION_KEYS;
} else {
return false;
}