diff options
author | Rob Savoye | 2010-10-13 16:44:13 -0600 |
---|---|---|
committer | Eric Blossom | 2010-11-10 12:10:44 -0800 |
commit | 29e800af251d748bfb48b8409e89136be06aab82 (patch) | |
tree | 532e3b9f6b064913379079ed4bb3c2ab805e42ba | |
parent | b932cd640044f4ccedaca201840f983acf4bef16 (diff) | |
download | gnuradio-29e800af251d748bfb48b8409e89136be06aab82.tar.gz gnuradio-29e800af251d748bfb48b8409e89136be06aab82.tar.bz2 gnuradio-29e800af251d748bfb48b8409e89136be06aab82.zip |
add support for using Tcl and Guile as output languages
-rw-r--r-- | config/gr_scripting.m4 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/config/gr_scripting.m4 b/config/gr_scripting.m4 index e030a8102..001f3b7e3 100644 --- a/config/gr_scripting.m4 +++ b/config/gr_scripting.m4 @@ -26,5 +26,16 @@ AC_DEFUN([GR_SCRIPTING],[ SWIG_PROG(1.3.31) SWIG_ENABLE_CXX - SWIG_PYTHON + dnl We need python at build time, as it's used as for utilities. If python + dnl isn't enabled, then we don't want the SWIG support for python. + AC_REQUIRE([AM_PATH_PYTHON]) + if test x${enable_python} = xyes; then + SWIG_PYTHON + fi + if test x${enable_tcl} = xyes; then + SWIG_TCL + fi + if test x${enable_guile} = xyes; then + SWIG_GUILE + fi ]) |