~ruther/guix-local

ad6dfd941b36ce7a8ecf41705c855fe44eddd3b3 — Martin Schitter 1 year, 1 month ago 647a084
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>
1 files changed, 3 insertions(+), 0 deletions(-)

M configure.ac
M configure.ac => configure.ac +3 -0
@@ 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