From d9f62b5b989477223a03b26e79a78fee05dd2c51 Mon Sep 17 00:00:00 2001 From: djcb Date: Sat, 9 Feb 2019 14:36:20 +0200 Subject: [PATCH] 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. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 465bc05d..8076b869 100644 --- a/configure.ac +++ b/configure.ac @@ -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"]) ############################################################################### ###############################################################################