summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block/config
diff options
context:
space:
mode:
authorEric Blossom2010-12-06 19:47:42 -0800
committerEric Blossom2010-12-06 19:47:42 -0800
commitcc088ab014791450d9d5d88564f3f889ece74909 (patch)
tree18737047ca13daa94dda3cb49f43487cdc29c885 /gr-howto-write-a-block/config
parente8542abdbf4da924dcdc54bfe2e7a20cda55c26b (diff)
downloadgnuradio-cc088ab014791450d9d5d88564f3f889ece74909.tar.gz
gnuradio-cc088ab014791450d9d5d88564f3f889ece74909.tar.bz2
gnuradio-cc088ab014791450d9d5d88564f3f889ece74909.zip
Add guile QA code to gr-howto-write-a-block
Diffstat (limited to 'gr-howto-write-a-block/config')
-rw-r--r--gr-howto-write-a-block/config/gr_standalone.m47
1 files changed, 6 insertions, 1 deletions
diff --git a/gr-howto-write-a-block/config/gr_standalone.m4 b/gr-howto-write-a-block/config/gr_standalone.m4
index 0e2ded584..d4acaec2f 100644
--- a/gr-howto-write-a-block/config/gr_standalone.m4
+++ b/gr-howto-write-a-block/config/gr_standalone.m4
@@ -1,5 +1,5 @@
dnl
-dnl Copyright 2008,2009 Free Software Foundation, Inc.
+dnl Copyright 2008,2009,2010 Free Software Foundation, Inc.
dnl
dnl This file is part of GNU Radio
dnl
@@ -111,6 +111,11 @@ m4_define([GR_STANDALONE],
PKG_CHECK_MODULES(GNURADIO_CORE, gnuradio-core >= 3)
LIBS="$LIBS $GNURADIO_CORE_LIBS"
+ gnuradio_core_GUILE_LOAD_PATH="`pkg-config --variable=guile_load_path gnuradio-core`"
+ gnuradio_core_LIBDIRPATH="`pkg-config --variable=libdir gnuradio-core`"
+ AC_SUBST(gnuradio_core_GUILE_LOAD_PATH)
+ AC_SUBST(gnuradio_core_LIBDIRPATH)
+
dnl Allow user to choose whether to generate SWIG/Python
dnl Default is enabled
AC_ARG_ENABLE([python],