diff options
| author | djcb <djcb@djcbsoftware.nl> | 2019-02-09 14:36:20 +0200 |
|---|---|---|
| committer | djcb <djcb@djcbsoftware.nl> | 2019-02-09 14:36:20 +0200 |
| commit | d9f62b5b989477223a03b26e79a78fee05dd2c51 (patch) | |
| tree | 3cfe15244ac6efc5fde867d0f42777a680c9155b /configure.ac | |
| parent | 156c42111327ea6fa9d04112dfb186ab4745618e (diff) | |
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.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 465bc05..8076b86 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"]) ############################################################################### ############################################################################### |
