Fail configure when GUILE_PROGS cannot be found
authorMike Gerwitz <mtg@gnu.org>
Thu, 3 Dec 2015 02:51:41 +0000 (21:51 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 3 Dec 2015 15:34:50 +0000 (09:34 -0600)
Available in $prefix/share/aclocal/guile.m4

configure.ac

index 301321f8ef59f710f837cedf8f1c65dbb78a2008..6a4ff01aa5a6d55b988ca0ce03e9979608f6f240 100644 (file)
@@ -4,6 +4,10 @@ PKG_CHECK_MODULES([GUILE], [guile-2.0])
 
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
+m4_ifdef([GUILE_PROGS],
+         [],
+         [AC_ERROR(could not locate guile aclocal macros)])
+
 GUILE_PROGS
 
 AC_CONFIG_FILES([Makefile])