summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorCyprien Nicolas (fulax) <c.nicolas+gitorious@gmail.com>2012-08-26 13:37:37 +0200
committerLudovic Courtès <ludo@gnu.org>2012-08-27 15:44:32 +0200
commit73f9a978ef2bf0c0b115115e8837504636b8bbca (patch)
tree7631fd974f8bc4dff67355814e54f0188ec7f3da /configure.ac
parent8f6201a31f54ac7a6ea028a2980a783abc8b1369 (diff)
downloadguix-73f9a978ef2bf0c0b115115e8837504636b8bbca.tar.gz
configure.ac: Make 'guild' configure check fatal, otherwise one gets 'compile: command not found' during make
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0683fd5ceb..3c7150fc75 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,6 +22,9 @@ AC_CANONICAL_HOST
 PKG_CHECK_MODULES([GUILE], [guile-2.0])
 AC_PATH_PROG([GUILE], [guile])
 AC_PATH_PROG([GUILD], [guild])
+if test "x$GUILD" = "x"; then
+   AC_MSG_ERROR(['guild' binary not found; please check your guile-2.x installation.])
+fi
 
 AC_ARG_WITH([nix-prefix],
   [AS_HELP_STRING([--with-nix-prefix=DIR], [search for Nix in DIR])],