summaryrefslogtreecommitdiff
path: root/setup_guile_test_env.in
diff options
context:
space:
mode:
authorEric Blossom2010-11-12 15:04:10 -0800
committerEric Blossom2010-11-12 15:04:10 -0800
commit76e2fa796a42df7951f05f73428e178c84879b79 (patch)
treecf0529954d36b04ca17c86b8eb55a45a97a925cf /setup_guile_test_env.in
parent2947504322ac5105f9181adbdbd035aa02ad0f41 (diff)
downloadgnuradio-76e2fa796a42df7951f05f73428e178c84879b79.tar.gz
gnuradio-76e2fa796a42df7951f05f73428e178c84879b79.tar.bz2
gnuradio-76e2fa796a42df7951f05f73428e178c84879b79.zip
make check in gr-audio-alsa now confirms ability to load guile bindings.
Diffstat (limited to 'setup_guile_test_env.in')
-rw-r--r--setup_guile_test_env.in13
1 files changed, 6 insertions, 7 deletions
diff --git a/setup_guile_test_env.in b/setup_guile_test_env.in
index 4878a4413..23456f31d 100644
--- a/setup_guile_test_env.in
+++ b/setup_guile_test_env.in
@@ -12,8 +12,8 @@ abs_top_builddir=@abs_top_builddir@
# FIXME add in withdirs
-# 1st argument is absolute path to component C++ shared library build directory
-# 2nd argument is absolute path to hand coded guile source directory
+# 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
function add_local_paths(){
@@ -22,11 +22,10 @@ function add_local_paths(){
echo "$0: requires 3 args" 1>&2
exit 1
fi
- echo FIXME: $0: implement add_local_paths
- # [ -n "$1" ] && prepend LTDL_LIBRARY_PATH "$1/.libs"
- # [ -n "$2" ] && prepend GUILE_LOAD_PATH "$2"
- # [ -n "$3" ] && prepend LTDL_LIBRARY_PATH "$3/.libs"
- # [ -n "$3" ] && prepend GUILE_LOAD_PATH "$3/guile"
+ [ -n "$1" ] && prepend GUILE_LOAD_PATH "$1"
+ [ -n "$2" ] && prepend LTDL_LIBRARY_PATH "$2/.libs"
+ [ -n "$3" ] && prepend LTDL_LIBRARY_PATH "$3/.libs"
+ [ -n "$3" ] && prepend GUILE_LOAD_PATH "$3"
}
# usage: prepend <path-varname> <dir>