summaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 2 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac
index 179297d..01b8fee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,21 +90,13 @@ AC_ARG_WITH(guile,
esac], [wguile=true])
if test x$wguile = xtrue; then
-dnl AC_CHECK_HEADER(guile/gh.h,,wguile=false)
- AC_MSG_CHECKING(for Guile)
- guile-config link > /dev/null || {
- AC_MSG_RESULT(no)
- wguile=false
- }
+ PKG_CHECK_MODULES(GUILE,guile-2.0 >= 2.0,[wguile=true],[wguile=false])
fi
if test x$wguile = xtrue; then
- GUILE_CFLAGS="`guile-config compile`"
- GUILE_LDFLAGS="`guile-config link`"
- LIBS="$LIBS $GUILE_LDFLAGS"
+ LIBS="$LIBS $GUILE_LIBS"
AM_CFLAGS="$AM_CFLAGS $GUILE_CFLAGS"
AC_SUBST(MAKE_GUILE)
- AC_MSG_RESULT(yes)
fi
AM_CONDITIONAL(MAKE_GUILE, test x$wguile = xtrue)