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.
This commit is contained in:
Ludovic Courtès 2016-03-03 17:46:58 +01:00
parent 8a56a3d7a3
commit 7016184245
1 changed files with 1 additions and 1 deletions

View File

@ -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 \