Merged r7478:7608 from michaelld/t186 into trunk. Adds ability to compile GNU Radio...
[debian/gnuradio] / config / grc_gnuradio_examples.m4
1 # Copyright 2001,2002,2003,2004,2005,2006,2008 Free Software Foundation, Inc.
2
3 # This file is part of GNU Radio
4
5 # GNU Radio is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3, or (at your option)
8 # any later version.
9
10 # GNU Radio is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14
15 # You should have received a copy of the GNU General Public License
16 # along with GNU Radio; see the file COPYING.  If not, write to
17 # the Free Software Foundation, Inc., 51 Franklin Street,
18 # Boston, MA 02110-1301, USA.
19
20 AC_DEFUN([GRC_GNURADIO_EXAMPLES],[
21     GRC_ENABLE([gnuradio-examples])
22
23     AC_CONFIG_FILES([ \
24         gnuradio-examples/Makefile \
25         gnuradio-examples/c++/Makefile \
26         gnuradio-examples/python/Makefile \
27         gnuradio-examples/python/apps/hf_explorer/Makefile \
28         gnuradio-examples/python/apps/hf_radio/Makefile \
29         gnuradio-examples/python/apps/Makefile \
30         gnuradio-examples/python/audio/Makefile \
31         gnuradio-examples/python/dect/Makefile \
32         gnuradio-examples/python/digital/Makefile \
33         gnuradio-examples/python/digital_voice/Makefile \
34         gnuradio-examples/python/multi-antenna/Makefile \
35         gnuradio-examples/python/multi_usrp/Makefile \
36         gnuradio-examples/python/network/Makefile \
37         gnuradio-examples/python/ofdm/Makefile \
38         gnuradio-examples/python/usrp/Makefile \
39     ])
40
41     passed=yes
42     # Don't do gnuradio-examples if gnuradio-core skipped
43     if test x$gnuradio_core_skipped = xyes; then
44         AC_MSG_RESULT([Component gnuradio-examples requires gnuradio-core, which is not being built or specified via pre-installed files.])
45         passed=no
46     fi
47
48     GRC_BUILD_CONDITIONAL([gnuradio-examples])
49 ])