diff options
author | Eric Blossom | 2010-11-13 16:19:48 -0800 |
---|---|---|
committer | Eric Blossom | 2010-11-13 16:19:48 -0800 |
commit | abde5affda1533c518cce06d5edcffa4eda52340 (patch) | |
tree | ae4bc874f5af57bfe1871111f1cf9e3f601860c8 /config/grc_gr_guile.m4 | |
parent | cefeb248677decabaeccff7ba2a526343baa215a (diff) | |
download | gnuradio-abde5affda1533c518cce06d5edcffa4eda52340.tar.gz gnuradio-abde5affda1533c518cce06d5edcffa4eda52340.tar.bz2 gnuradio-abde5affda1533c518cce06d5edcffa4eda52340.zip |
dail-tone.wfd example waveform can be loaded and run by gr-run-waveform.
Write new app, gr-run-waveform, that reads waveforms and runs them.
We'll need to turn this into a small piece of C/C++ code that embeds
guile, but the guts of it is working.
Diffstat (limited to 'config/grc_gr_guile.m4')
-rw-r--r-- | config/grc_gr_guile.m4 | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/config/grc_gr_guile.m4 b/config/grc_gr_guile.m4 new file mode 100644 index 000000000..35d6834eb --- /dev/null +++ b/config/grc_gr_guile.m4 @@ -0,0 +1,36 @@ +dnl Copyright 2001,2002,2003,2004,2005,2006,2008,2009,2010 Free Software Foundation, Inc. +dnl +dnl This file is part of GNU Radio +dnl +dnl GNU Radio is free software; you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation; either version 3, or (at your option) +dnl any later version. +dnl +dnl GNU Radio is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with GNU Radio; see the file COPYING. If not, write to +dnl the Free Software Foundation, Inc., 51 Franklin Street, +dnl Boston, MA 02110-1301, USA. + +AC_DEFUN([GRC_GR_GUILE],[ + GRC_ENABLE(gr-guile) + + dnl Don't do gr-guile if gnuradio-core skipped + GRC_CHECK_DEPENDENCY(gr-guile, gnuradio-core) + + AC_CONFIG_FILES([ \ + gr-guile/Makefile \ + gr-guile/apps/Makefile \ + gr-guile/example-waveforms/Makefile \ + ]) + + GRC_BUILD_CONDITIONAL(gr-guile,[ + dnl run_tests is created from run_tests.in. Make it executable. + dnl AC_CONFIG_COMMANDS([run_tests_guile], [chmod +x gr-guile/apps/run_guile_tests]) + ]) +]) |