build: Require Guile 2.2.3 or later.

* configure.ac: For 2.2.x, require 2.2.3 or later.
This commit is contained in:
Ludovic Courtès 2020-03-11 16:13:03 +01:00
parent 3c1ea8dcef
commit e688c2df39
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -96,7 +96,11 @@ dnl 'GUILE_EFFECTIVE_VERSION'.
GUILE_PKG([3.0 2.2]) GUILE_PKG([3.0 2.2])
GUILE_PROGS GUILE_PROGS
if test "x$GUILD" = "x"; then if test "x$GUILD" = "x"; then
AC_MSG_ERROR(['guild' binary not found; please check your guile-2.x installation.]) AC_MSG_ERROR(['guild' binary not found; please check your Guile installation.])
fi
if test "x$GUILE_EFFECTIVE_VERSION" = "x2.2"; then
PKG_CHECK_MODULES([GUILE], [guile-2.2 >= 2.2.3])
fi fi
dnl Installation directories for .scm and .go files. dnl Installation directories for .scm and .go files.