summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-04-21 23:25:00 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-04-21 23:25:00 +0200
commitdacf0ed1457ff385ee3e71c9d08f544c7e351224 (patch)
tree7d0fd0a983abee462e0f650228de80c1ce2224f6
parentc85015dac8110bd7a4c37375b9eb05ebeadedf74 (diff)
Check for Guile Xapian.
-rw-r--r--configure.ac5
-rw-r--r--guix.scm1
2 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1be10ad..4323a23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,6 +51,11 @@ if test "x$have_guile_webutils" != "xyes"; then
AC_MSG_ERROR([Guile Webutils is missing; please install it.])
fi
+GUILE_MODULE_AVAILABLE([have_guile_xapian], [(xapian xapian)])
+if test "x$have_guile_xapian" != "xyes"; then
+ AC_MSG_ERROR([Guile Xapian is missing; please install it.])
+fi
+
dnl GUILE_MODULE_AVAILABLE([have_fibers], [(fibers web server)])
dnl if test "x$have_fibers" != "xyes"; then
diff --git a/guix.scm b/guix.scm
index fa0ff11..2f2e335 100644
--- a/guix.scm
+++ b/guix.scm
@@ -48,6 +48,7 @@
("guile-redis" ,guile-redis)
("guile-sqlite3" ,guile-sqlite3)
("guile-syntax-highlight" ,guile-syntax-highlight)
+ ("guile-xapian" ,guile-xapian)
("guile-webutils" ,guile-webutils)
("guile" ,guile-2.2)
("mumimu" ,(@@ (gnu packages mail) mumimu))