summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-04-05 14:21:22 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-04-05 14:21:22 +0200
commited6e7baa37dea00ba693a331d80e8cc82530e5c0 (patch)
tree0879ddc61cf43efa72b352b4e7a1e2a2dadcbed3
parentdcb33b50435c4aae226e9f5cb8dc6b00c6c74905 (diff)
Depend on Guile Redis.
-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 e515de1..13c89e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,6 +41,11 @@ if test "x$have_gcrypt" != "xyes"; then
AC_MSG_ERROR([Guile Gcrypt is missing; please install it.])
fi
+GUILE_MODULE_AVAILABLE([have_guile_redis], [(redis)])
+if test "x$have_guile_redis" != "xyes"; then
+ AC_MSG_ERROR([Guile Redis is missing; please install it.])
+fi
+
dnl GUILE_MODULE_AVAILABLE([have_fibers], [(fibers web server)])
dnl if test "x$have_fibers" != "xyes"; then
dnl AC_MSG_ERROR([Guile fibers is missing; please install it.])
diff --git a/guix.scm b/guix.scm
index f01921e..8ddf12e 100644
--- a/guix.scm
+++ b/guix.scm
@@ -45,6 +45,7 @@
("guile-gcrypt" ,guile-gcrypt)
("guile-json" ,guile-json-3)
;("guile-fibers" ,guile-fibers)
+ ("guile-redis" ,guile-redis)
("guile-sqlite3" ,guile-sqlite3)
("guile-syntax-highlight" ,guile-syntax-highlight)
("guile" ,guile-2.2)