Add dependence of gruel on guile; fixes ticket #410.
authorJohnathan Corgan <jcorgan@corganenterprises.com>
Sat, 10 Oct 2009 23:42:53 +0000 (16:42 -0700)
committerJohnathan Corgan <jcorgan@corganenterprises.com>
Sat, 10 Oct 2009 23:42:53 +0000 (16:42 -0700)
Patch-by: Don Ward <don2387ward@sprynet.com>
config/grc_gruel.m4

index 7295714341b63edcb9ad43417db5933aeffe2a34..d8ac95fed63265dd3fa7a11b3e0f49a0cb14f615 100644 (file)
@@ -25,6 +25,10 @@ AC_DEFUN([GRC_GRUEL],[
     dnl   with : if the --with code didn't error out
     dnl   yes  : if the --enable code passed muster and all dependencies are met
     dnl   no   : otherwise
+    if test $passed = yes; then
+       dnl Don't do gruel if guile not available
+       GRC_CHECK_GUILE(gruel)
+    fi
     if test $passed != with; then
        dnl how and where to find INCLUDES and LA and such
        gruel_INCLUDES="\