summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-03-19 16:09:34 +0100
committerLudovic Courtès <ludo@gnu.org>2015-03-19 23:15:50 +0100
commit0e991c25d6b407c5a48328424d808d6d43562eb7 (patch)
treed376522e17565b66b004d7f2c5e6d64dfac24e6b /configure.ac
parentf643a6e9d8c75528311ef57bb84029f9233c2ade (diff)
downloadguix-0e991c25d6b407c5a48328424d808d6d43562eb7.tar.gz
build: Detect lack of guile.m4 at autoconf time.
* configure.ac: Add 'm4_pattern_forbid' invocation.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files 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])