Alex Kost skribis: > David Thompson (2014-09-30 03:31 +0400) wrote: > >> Ludovic Courtès writes: >> >>> David Thompson skribis: >>> >>>> Oh yeah, almost forgot about the Automake rule! My autotools skills are >>>> weak so I'm not sure how to write this. Could you point me in the right >>>> direction? >>> >>> In configure.ac, do something like: >>> >>> GUILE_MODULE_AVAILABLE([have_guile_json], [(json)]) >>> AM_CONDITIONAL([HAVE_GUILE_JSON], [text "x$have_guile_json" = "xyes"]) >>> >>> and in Makefile.am: >>> >>> if HAVE_GUILE_JSON >>> TESTS += tests/pypi.scm >>> endif >> >> Done and pushed! Thanks! Woo! > Hello, I don't have guile-json and "make" has failed for me because > (guix import pypi) wants json module. Is it required now? > > Perhaps it would be safe (?) to adjust “Makefile.am” like this: Alternately, we could do this: