aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-01-25 16:49:57 +0100
committerLudovic Courtès <ludo@gnu.org>2022-01-25 23:54:44 +0100
commitd582b399781f6fd80c63d07746524196603972e4 (patch)
tree8b5fbc8b0491b9c89a46c7a4fc20d40683382602
parentb8743fef8a44b09f4797d0834e0440cd1e5afaea (diff)
downloadguix-d582b399781f6fd80c63d07746524196603972e4.tar
guix-d582b399781f6fd80c63d07746524196603972e4.tar.gz
build: Require Guile >= 3.0.3.
Fixes <https://issues.guix.gnu.org/53157>. Reported by Efraim Flashner <efraim@flashner.co.il>. * configure.ac: Require Guile >= 3.0.3. * doc/guix.texi (Requirements): Update accordingly.
-rw-r--r--configure.ac3
-rw-r--r--doc/guix.texi3
2 files changed, 5 insertions, 1 deletions
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