summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2019-01-27 13:17:35 +0200
committerAlon Bar-Lev <alon.barlev@gmail.com>2019-01-27 13:17:35 +0200
commitae715f6703f73476dbe51b1281da6f69fdad0de5 (patch)
tree9eba708bc13fea83e5624cb93835f6824fd41435
parent8175c5e4cc85120ae2acee3cc640c23f30b4ec5d (diff)
downloadgnutls-ae715f6703f73476dbe51b1281da6f69fdad0de5.tar.gz
build: detect previous supported guile
A recent change in the m4 macro of guile enforces latest guile: --- AC_DEFUN([GUILE_PROGS], [_guile_required_version="m4_default([$1], [$GUILE_EFFECTIVE_VERSION])" if test -z "$_guile_required_version"; then _guile_required_version=2.2 fi --- The result: --- checking for guile-snarf... /usr/bin/guile-snarf checking for guild... /usr/bin/guild checking for guile-2.2... no checking for guile2.2... no checking for guile-2... no checking for guile2... no checking for guile... /usr/bin/guile checking for Guile version >= 2.2... configure: error: Guile 2.2 required, but 2.0.14 found --- Probably best to specify the supported version explicitly when calling GUILE_PROGS, to keep existing behavior calling the GUILE_PKG detects the existing packages. Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ea6f39c533..7568363ef3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -859,6 +859,7 @@ if test "$opt_guile_bindings" = "yes"; then
AC_PATH_PROG([GUILD], [guild])
AC_SUBST([GUILD])
+ GUILE_PKG
GUILE_PROGS
GUILE_FLAGS