Statistics
| Branch: | Tag: | Revision:

root / config / grc_gr_sounder.m4 @ 2711e51f

History | View | Annotate | Download (1.6 kB)

1 c6baf9d4 jcorgan
dnl Copyright 2007 Free Software Foundation, Inc.
2 c6baf9d4 jcorgan
dnl 
3 c6baf9d4 jcorgan
dnl This file is part of GNU Radio
4 c6baf9d4 jcorgan
dnl 
5 c6baf9d4 jcorgan
dnl GNU Radio is free software; you can redistribute it and/or modify
6 c6baf9d4 jcorgan
dnl it under the terms of the GNU General Public License as published by
7 c6baf9d4 jcorgan
dnl the Free Software Foundation; either version 2, or (at your option)
8 c6baf9d4 jcorgan
dnl any later version.
9 c6baf9d4 jcorgan
dnl 
10 c6baf9d4 jcorgan
dnl GNU Radio is distributed in the hope that it will be useful,
11 c6baf9d4 jcorgan
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
12 c6baf9d4 jcorgan
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 c6baf9d4 jcorgan
dnl GNU General Public License for more details.
14 c6baf9d4 jcorgan
dnl 
15 c6baf9d4 jcorgan
dnl You should have received a copy of the GNU General Public License
16 c6baf9d4 jcorgan
dnl along with GNU Radio; see the file COPYING.  If not, write to
17 c6baf9d4 jcorgan
dnl the Free Software Foundation, Inc., 51 Franklin Street,
18 c6baf9d4 jcorgan
dnl Boston, MA 02110-1301, USA.
19 c6baf9d4 jcorgan
20 c6baf9d4 jcorgan
AC_DEFUN([GRC_GR_SOUNDER],[
21 c6baf9d4 jcorgan
    GRC_ENABLE([gr-sounder])
22 c6baf9d4 jcorgan
23 c6baf9d4 jcorgan
    AC_CONFIG_FILES([ \
24 c6baf9d4 jcorgan
	 gr-sounder/Makefile \
25 c6baf9d4 jcorgan
	 gr-sounder/doc/Makefile \
26 c6baf9d4 jcorgan
	 gr-sounder/src/Makefile \
27 c6baf9d4 jcorgan
	 gr-sounder/src/fpga/Makefile \
28 c6baf9d4 jcorgan
	 gr-sounder/src/fpga/top/Makefile \
29 c6baf9d4 jcorgan
         gr-sounder/src/fpga/lib/Makefile \
30 2711e51f jcorgan
	 gr-sounder/src/fpga/tb/Makefile \
31 c6baf9d4 jcorgan
	 gr-sounder/src/lib/Makefile \
32 c6baf9d4 jcorgan
	 gr-sounder/src/python/Makefile \
33 c6baf9d4 jcorgan
         gr-sounder/src/python/run_tests
34 c6baf9d4 jcorgan
    ])
35 c6baf9d4 jcorgan
36 c6baf9d4 jcorgan
    passed=yes
37 c6baf9d4 jcorgan
    # Don't do gr-sounder if usrp skipped
38 c6baf9d4 jcorgan
    for dir in $skipped_dirs
39 c6baf9d4 jcorgan
    do
40 c6baf9d4 jcorgan
	if test x$dir = xusrp; then
41 c6baf9d4 jcorgan
	    AC_MSG_RESULT([Component gr-sounder requires usrp, which is not being built.])
42 c6baf9d4 jcorgan
	    passed=no
43 c6baf9d4 jcorgan
	fi
44 c6baf9d4 jcorgan
    done
45 c6baf9d4 jcorgan
46 c6baf9d4 jcorgan
    GRC_BUILD_CONDITIONAL([gr-sounder],[
47 c6baf9d4 jcorgan
	dnl run_tests is created from run_tests.in.  Make it executable.
48 c6baf9d4 jcorgan
	AC_CONFIG_COMMANDS([run_tests_sounder], [chmod +x gr-sounder/src/python/run_tests])
49 c6baf9d4 jcorgan
    ])
50 c6baf9d4 jcorgan
])