aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-11-23 16:24:52 +0100
committerLudovic Courtès <ludo@gnu.org>2013-11-23 18:21:44 +0100
commitff1cbb95383b25cf1d6b533c8a046329ee53d1db (patch)
treeec5ff403e8dfde9f5109ab330d58a3cd09e34a1e /configure.ac
parent248c06454eb9c14966b6701a2de41dc7e3c62886 (diff)
downloadguix-ff1cbb95383b25cf1d6b533c8a046329ee53d1db.tar
guix-ff1cbb95383b25cf1d6b533c8a046329ee53d1db.tar.gz
build: Make sure pkg.m4 is present.
Suggested by John Darrington <john@darrington.wattle.id.au>. * configure.ac: Forbid occurrences of 'PKG_CHECK_MODULES' in the output.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7a67efa2ea..252b8f71a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,6 +41,10 @@ AC_ARG_ENABLE([daemon],
guix_localstatedir="`eval echo $localstatedir | sed -e "s|NONE|/usr/local|g"`"
AC_SUBST([guix_localstatedir])
+dnl We require the pkg.m4 set of macros from pkg-config.
+dnl Make sure it's available.
+m4_pattern_forbid([PKG_CHECK_MODULES])
+
PKG_CHECK_MODULES([GUILE], [guile-2.0 >= 2.0.5])
AC_PATH_PROG([GUILE], [guile])
AC_PATH_PROG([GUILD], [guild])