summary refs log tree commit diff
path: root/configure.ac
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 /configure.ac
parentb8743fef8a44b09f4797d0834e0440cd1e5afaea (diff)
downloadguix-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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 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