summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-10 12:21:16 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-10 12:21:16 +0100
commit648311b9b9d9d974fb2d76dacfe956fc7b842401 (patch)
treeef75ef86ec91c12a4479456e30ea3e712b79c38d
parent4bd415ea47282017a4048c42ee963f2ce20e1c97 (diff)
Declare Guile JSON as a dependency.
-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 2442982..f24c741 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,6 +11,11 @@ if test "x$GUILD" = "x"; then
AC_MSG_ERROR(['guild' binary not found; please check your guile-2.2 installation.])
fi
+GUILE_MODULE_AVAILABLE([have_json], [(json)])
+if test "x$have_json" != "xyes"; then
+ AC_MSG_ERROR([Guile-JSON is missing; please install it.])
+fi
+
GUILE_MODULE_AVAILABLE([have_guile_debbugs], [(debbugs soap)])
if test "x$have_guile_debbugs" != "xyes"; then
AC_MSG_ERROR([Guile-Debbugs is missing; please install it.])
diff --git a/guix.scm b/guix.scm
index bcde7f0..abc2187 100644
--- a/guix.scm
+++ b/guix.scm
@@ -100,6 +100,7 @@ Debbugs bug tracker's SOAP service.")
(inputs
`(("guile-debbugs" ,guile-debbugs-next)
("guile-email" ,guile-email)
+ ("guile-json" ,guile-json)
("guile-fibers" ,guile-fibers)
("guile-syntax-highlight" ,guile-syntax-highlight)
("guile" ,guile-2.2.4)))