summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/gr_guile.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/config/gr_guile.m4 b/config/gr_guile.m4
index f6cc15216..90d4dfe9d 100644
--- a/config/gr_guile.m4
+++ b/config/gr_guile.m4
@@ -32,11 +32,16 @@ AC_DEFUN([GUILE_DEVEL],[
if test x${GUILE_CONFIG} != x; then
GUILE_CFLAGS="`${GUILE_CONFIG} compile`"
GUILE_LIBS="`${GUILE_CONFIG} link`"
+ GUILE_PKLIBDIR="`${GUILE_CONFIG} info pkglibdir`"
+ GUILE_PKDATADIR="`${GUILE_CONFIG} info pkgdatadir`/site"
else
GUILE_CFLAGS=""
+ GUILE_PKLIBDIR=""
GUILE_LIBS="Wl,-Bsymbolic-functions -lguile lgmp -lcrypt"
fi
AC_SUBST(GUILE_CFLAGS)
+ AC_SUBST(GUILE_PKLIBDIR)
+ AC_SUBST(GUILE_PKDATADIR)
AC_SUBST(GUILE_LIBS)
])