Make "guile-avahi" dependency optional.
authorMathieu Othacehe <othacehe@gnu.org>
Sun, 29 Nov 2020 17:05:11 +0000 (18:05 +0100)
committerMathieu Othacehe <othacehe@gnu.org>
Sun, 29 Nov 2020 18:22:05 +0000 (19:22 +0100)
commit35a32fefb4695442265809805145b7a262ae4988
treed8847c7757849179f75fa615ae798ee0a6b99dde
parentd9f05c70a6af1087de1717ff20036efa1afef5fb
Make "guile-avahi" dependency optional.

* configure.ac (HAVE_GUILE_AVAHI): New conditional.
* Makefile.am (MODULES): Add "guix/avahi.scm" and "guix/scripts/discover.scm"
if HAVE_GUILE_AVAHI is set.
* guix/scripts/publish.scm: Autoload (guix avahi).
* guix/scripts/substitute.scm: Autoload (guix scripts discovery).
Makefile.am
configure.ac
guix/scripts/publish.scm
guix/scripts/substitute.scm