From 73f9a978ef2bf0c0b115115e8837504636b8bbca Mon Sep 17 00:00:00 2001 From: "Cyprien Nicolas (fulax)" Date: Sun, 26 Aug 2012 13:37:37 +0200 Subject: [PATCH] configure.ac: Make 'guild' configure check fatal, otherwise one gets 'compile: command not found' during make --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) 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])],