diff options
author | Eric Blossom <eb@comsec.com> | 2010-11-21 16:01:48 -0800 |
---|---|---|
committer | Eric Blossom <eb@comsec.com> | 2010-11-21 16:01:48 -0800 |
commit | ff62557a42b6ce89a711f9d0603c0fe52a891ed8 (patch) | |
tree | ed2f5241cb6d8d7627f5b18b84b03cd0673f4f5c /gnuradio-core | |
parent | 4aa79b727486e1ecb4decf1945b178eb6a93cc4c (diff) |
Make Guile bindings work with --with-gnuradio-core et al.
Diffstat (limited to 'gnuradio-core')
-rw-r--r-- | gnuradio-core/gnuradio-core.pc.in | 1 | ||||
-rw-r--r-- | gnuradio-core/src/guile/run_guile_tests.in | 12 |
2 files changed, 8 insertions, 5 deletions
diff --git a/gnuradio-core/gnuradio-core.pc.in b/gnuradio-core/gnuradio-core.pc.in index 5d743a4e90..40c26a129d 100644 --- a/gnuradio-core/gnuradio-core.pc.in +++ b/gnuradio-core/gnuradio-core.pc.in @@ -2,6 +2,7 @@ prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@/gnuradio +guile_load_path=@prefix@/share/guile/site Name: gnuradio-core Description: GNU Software Radio toolkit diff --git a/gnuradio-core/src/guile/run_guile_tests.in b/gnuradio-core/src/guile/run_guile_tests.in index 3aca7bdb09..61968065e8 100644 --- a/gnuradio-core/src/guile/run_guile_tests.in +++ b/gnuradio-core/src/guile/run_guile_tests.in @@ -2,14 +2,16 @@ . @top_builddir@/setup_guile_test_env +# Since we're in gnuradio-core, we don't need to add anything, +# but we do need to call add_local_paths to set everything up + # 1st argument is absolute path to hand coded guile source directory # 2nd argument is absolute path to component C++ shared library build directory # 3nd argument is absolute path to component SWIG build directory -# We're in gnuradio-core, we don't need these -# add_local_paths \ -# "" \ -# "" \ -# "" +add_local_paths \ + "" \ + "" \ + "" @GUILE@ -e main -c '(use-modules (gnuradio test-suite guile-test))' -t @srcdir@/tests |