diff options
| author | Mathieu Othacehe <othacehe@gnu.org> | 2020-11-29 18:05:11 +0100 |
|---|---|---|
| committer | Mathieu Othacehe <othacehe@gnu.org> | 2020-11-29 19:22:05 +0100 |
| commit | 35a32fefb4695442265809805145b7a262ae4988 (patch) | |
| tree | d8847c7757849179f75fa615ae798ee0a6b99dde /configure.ac | |
| parent | d9f05c70a6af1087de1717ff20036efa1afef5fb (diff) | |
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).
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 307e8b361f9..942e84164a3 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -163,9 +163,8 @@ fi | |||
| 163 | 163 | ||
| 164 | dnl Check for Guile-Avahi. | 164 | dnl Check for Guile-Avahi. |
| 165 | GUILE_MODULE_AVAILABLE([have_guile_avahi], [(avahi)]) | 165 | GUILE_MODULE_AVAILABLE([have_guile_avahi], [(avahi)]) |
| 166 | if test "x$have_guile_avahi" != "xyes"; then | 166 | AM_CONDITIONAL([HAVE_GUILE_AVAHI], |
| 167 | AC_MSG_ERROR([Guile-Avahi is missing; please install it.]) | 167 | [test "x$have_guile_avahi" = "xyes"]) |
| 168 | fi | ||
| 169 | 168 | ||
| 170 | dnl Guile-newt is used by the graphical installer. | 169 | dnl Guile-newt is used by the graphical installer. |
| 171 | GUILE_MODULE_AVAILABLE([have_guile_newt], [(newt)]) | 170 | GUILE_MODULE_AVAILABLE([have_guile_newt], [(newt)]) |
