From 0e991c25d6b407c5a48328424d808d6d43562eb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 19 Mar 2015 16:09:34 +0100 Subject: [PATCH] build: Detect lack of guile.m4 at autoconf time. * configure.ac: Add 'm4_pattern_forbid' invocation. --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 8291b0c5d0..f2f803a2cd 100644 --- a/configure.ac +++ b/configure.ac @@ -52,9 +52,10 @@ AC_SUBST([guix_sbindir]) GUIX_CHECK_FILE_NAME_LIMITS -dnl We require the pkg.m4 set of macros from pkg-config. -dnl Make sure it's available. +dnl We require pkg.m4 (from pkg-config) and guile.m4 (from Guile.) +dnl Make sure they are available. m4_pattern_forbid([PKG_CHECK_MODULES]) +m4_pattern_forbid([GUILE_MODULE_AVAILABLE]) PKG_CHECK_MODULES([GUILE], [guile-2.0 >= 2.0.5]) AC_PATH_PROG([GUILE], [guile])