build: Check the Guile-Git version for required procedures.

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 <ludo@gnu.org>
This commit is contained in:
Martin Schitter 2025-07-01 06:12:50 +00:00 committed by Ludovic Courtès
parent 647a084991
commit ad6dfd941b
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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