From ad6dfd941b36ce7a8ecf41705c855fe44eddd3b3 Mon Sep 17 00:00:00 2001 From: Martin Schitter Date: Tue, 1 Jul 2025 06:12:50 +0000 Subject: [PATCH] build: Check the Guile-Git version for required procedures. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes runtime errors caused by outdated guile-git installations from third-party Linux distributions. * configure.ac: Add ‘GUILE_MODULE_REQUIRED_EXPORT’ use. Change-Id: Ie29f9c4ca4246c0ddacb0597973304a2a56c52bf Signed-off-by: Ludovic Courtès --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 67769d8a437..0dff7db691e 100644 --- a/configure.ac +++ b/configure.ac @@ -146,6 +146,9 @@ if test "x$have_guile_git" != "xyes"; then AC_MSG_ERROR([Guile-Git is missing; please install it.]) fi +dnl Check Guile-Git version resp. required recently added symbol. +GUILE_MODULE_REQUIRED_EXPORT([(git)], [graph-descendant?]) + dnl Check for Guile-JSON. GUIX_CHECK_GUILE_JSON if test "x$guix_cv_have_recent_guile_json" != "xyes"; then