From d582b399781f6fd80c63d07746524196603972e4 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 25 Jan 2022 16:49:57 +0100 Subject: build: Require Guile >= 3.0.3. Fixes . Reported by Efraim Flashner . * configure.ac: Require Guile >= 3.0.3. * doc/guix.texi (Requirements): Update accordingly. --- configure.ac | 3 +++ doc/guix.texi | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 341cff8fbd..a9b1a72887 100644 --- a/configure.ac +++ b/configure.ac @@ -102,6 +102,9 @@ if test "x$GUILD" = "x"; then AC_MSG_ERROR(['guild' binary not found; please check your Guile installation.]) fi +dnl (guix ui), notably, requires 'default-optimization-level' added in 3.0.3. +PKG_CHECK_MODULES([GUILE], [guile-3.0 >= 3.0.3]) + dnl Get CFLAGS and LDFLAGS for libguile. GUILE_FLAGS diff --git a/doc/guix.texi b/doc/guix.texi index 97674d0fa7..6e3a780ccb 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -894,7 +894,8 @@ GNU Guix is available for download from its website at GNU Guix depends on the following packages: @itemize -@item @url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x; +@item @url{https://gnu.org/software/guile/, GNU Guile}, version 3.0.x, +version 3.0.3 or later; @item @url{https://notabug.org/cwebber/guile-gcrypt, Guile-Gcrypt}, version 0.1.0 or later; @item -- cgit v1.2.3