summaryrefslogtreecommitdiff
path: root/config/gr_guile.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/gr_guile.m4')
-rw-r--r--config/gr_guile.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/config/gr_guile.m4 b/config/gr_guile.m4
index 4d8d61d43..b5879e081 100644
--- a/config/gr_guile.m4
+++ b/config/gr_guile.m4
@@ -35,7 +35,11 @@ AC_DEFUN([GUILE_DEVEL],[
GUILE_PKLIBDIR="`${GUILE_CONFIG} info pkglibdir`"
GUILE_PKDATADIR="`${GUILE_CONFIG} info pkgdatadir`/site"
else
- AC_MSG_ERROR([You need to install the guile development files (e.g., libguile-dev, guile-devel, etc.)!])
+ dnl Only break on an error if we are using guile.
+ dnl This should be taken care of in gr_scripting.m4 and I don't know why it's not.
+ if test x${enable_guile} = xyes; then
+ AC_MSG_ERROR([You need to install the guile development files (e.g., libguile-dev, guile-devel, etc.)!])
+ fi
GUILE_CFLAGS=""
GUILE_PKLIBDIR=""
GUILE_LIBS="Wl,-Bsymbolic-functions -lguile -lgmp -lcrypt"