summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye2010-10-18 17:45:30 -0600
committerEric Blossom2010-11-10 12:10:45 -0800
commit478398e431d1d20a7095d3b78b15e388eb71318e (patch)
tree80ad17a799aedf34ab58a51494a7e3ea42ab16bf
parentc4f8aab885d6a188591cebc9683cc297b60b445c (diff)
downloadgnuradio-478398e431d1d20a7095d3b78b15e388eb71318e.tar.gz
gnuradio-478398e431d1d20a7095d3b78b15e388eb71318e.tar.bz2
gnuradio-478398e431d1d20a7095d3b78b15e388eb71318e.zip
add variables for the data and lib directories as specified by guile-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)
])