aboutsummaryrefslogtreecommitdiff
path: root/lib/built-with.c
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-08-24 08:17:11 -0700
committerDavid Bremner <david@tethera.net>2021-09-04 17:07:19 -0700
commita83ad52da40b51b8419cae3c9ce1517ac33e547c (patch)
tree2bb8e2db7abeae9ae904e8b34d3e3aa1f5b71769 /lib/built-with.c
parentd447b694b498c3e18a22f1eb15139a798c6aab26 (diff)
configure: optional library sfsexp
The configure part is essentially the same as the other checks using pkg-config. Since the optional inclusion of this feature changes what options are available to the user, include it in the "built_with" pseudo-configuration keys.
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 0c70010b..89958e12 100644
--- a/lib/built-with.c
+++ b/lib/built-with.c
@@ -32,6 +32,8 @@ notmuch_built_with (const char *name)
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;
}