configure.ac: Make 'guild' configure check fatal, otherwise one gets 'compile: command not found' during make

This commit is contained in:
Cyprien Nicolas (fulax) 2012-08-26 13:37:37 +02:00 committed by Ludovic Courtès
parent 8f6201a31f
commit 73f9a978ef
1 changed files with 3 additions and 0 deletions

View File

@ -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])],