guile: require guile-snarf to be available

Even if guile 2.2 is otherwise available, we'd still fail to build if guile
can't find guile-snarf. One example where this happens is on debian,
which has guile-snarf, but not guile-snarf-2.2.

Of course ideally guile-snarf without the '-2.2' would work... but at
least for now let's fix the build-breakage.
This commit is contained in:
djcb 2019-02-09 14:36:20 +02:00
parent 156c421113
commit d9f62b5b98
1 changed files with 2 additions and 1 deletions

View File

@ -244,7 +244,8 @@ AS_IF([test "x$enable_guile" != "xno"],[
AC_DEFINE(BUILD_GUILE,[1], [Do we support Guile?])
])
])
AM_CONDITIONAL(BUILD_GUILE,[test -n "$GUILE_EFFECTIVE_VERSION"])
AM_CONDITIONAL(BUILD_GUILE,
[ test -n "$GUILE_EFFECTIVE_VERSION" -a -n "$GUILE_SNARF"])
###############################################################################
###############################################################################