summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-03-03 17:46:58 +0100
committerLudovic Courtès <ludo@gnu.org>2016-03-03 17:46:58 +0100
commit7016184245a3cf53fbe062901babdc76b85a7319 (patch)
tree624dfd119d38b444db59995781a5b159b9db0619
parent8a56a3d7a3be5c44c4e3e174a0073298b5b88c5b (diff)
downloadguix-7016184245a3cf53fbe062901babdc76b85a7319.tar.gz
build: Build (guix import github) only when Guile-JSON is available.
Reported by Justus Winter <justus@gnupg.org>.

* Makefile.am (MODULES): Add guix/import/github.scm only when
HAVE_GUILE_JSON.
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 4c53779aaa..6f8e57c9cc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -109,7 +109,6 @@ MODULES =					\
   guix/import/cran.scm				\
   guix/import/hackage.scm			\
   guix/import/elpa.scm   			\
-  guix/import/github.scm   			\
   guix/scripts.scm				\
   guix/scripts/download.scm			\
   guix/scripts/build.scm			\
@@ -143,6 +142,7 @@ MODULES =					\
 if HAVE_GUILE_JSON
 
 MODULES +=					\
+  guix/import/github.scm   			\
   guix/import/json.scm				\
   guix/import/pypi.scm				\
   guix/scripts/import/pypi.scm			\