completion of adding new filter design interfaces to gr_firdes.i. Still need to...
[debian/gnuradio] / gr-howto-write-a-block / configure.ac
1 dnl 
2 dnl  Copyright 2004,2005,2007,2008 Free Software Foundation, Inc.
3 dnl  
4 dnl  This file is part of GNU Radio
5 dnl  
6 dnl  GNU Radio is free software; you can redistribute it and/or modify
7 dnl  it under the terms of the GNU General Public License as published by
8 dnl  the Free Software Foundation; either version 3, or (at your option)
9 dnl  any later version.
10 dnl  
11 dnl  GNU Radio is distributed in the hope that it will be useful,
12 dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 dnl  GNU General Public License for more details.
15 dnl  
16 dnl  You should have received a copy of the GNU General Public License
17 dnl  along with GNU Radio; see the file COPYING.  If not, write to
18 dnl  the Free Software Foundation, Inc., 51 Franklin Street,
19 dnl  Boston, MA 02110-1301, USA.
20 dnl 
21
22 dnl This is kind of non-standard, but it sure shortens up this file :-)
23 m4_include([config/gr_standalone.m4])
24
25 GR_STANDALONE(gr-howto-write-a-block,3.1.svn)
26
27 dnl Check for any libraries you need
28 dnl AC_CHECK_LIBRARY
29
30 dnl Check for header files you need
31 dnl AC_CHECK_HEADERS(fcntl.h limits.h strings.h sys/ioctl.h sys/time.h unistd.h)
32 dnl AC_CHECK_HEADERS(sys/mman.h)
33
34 dnl Checks for library functions.
35 dnl AC_CHECK_FUNCS([])
36
37 dnl We pick up the boost cppflags, cxxflags and thread lib via GNURADIO_CORE
38 dnl
39 dnl If you need additional boost libraries, you'll need to
40 dnl uncomment AX_BOOST_BASE, plus some of the following:
41 dnl
42 dnl calls AC_SUBST(BOOST_CPPFLAGS), AC_SUBST(BOOST_LDFLAGS) and defines HAVE_BOOST
43 dnl AX_BOOST_BASE([1.35])
44 dnl
45 dnl All the rest of these call AC_SUBST(BOOST_<foo>_LIB) and define HAVE_BOOST_<foo>
46 dnl
47 dnl AX_BOOST_DATE_TIME
48 dnl AX_BOOST_FILESYSTEM
49 dnl AX_BOOST_IOSTREAMS
50 dnl AX_BOOST_PROGRAM_OPTIONS
51 dnl AX_BOOST_REGEX
52 dnl AX_BOOST_SERIALIZATION
53 dnl AX_BOOST_SIGNALS
54 dnl AX_BOOST_SYSTEM
55 dnl AX_BOOST_TEST_EXEC_MONITOR
56 dnl AX_BOOST_UNIT_TEST_FRAMEWORK
57 dnl AX_BOOST_WSERIALIZATION
58
59
60 STD_DEFINES_AND_INCLUDES="$GNURADIO_CORE_CFLAGS"
61 AC_SUBST(STD_DEFINES_AND_INCLUDES)
62  
63 AC_CONFIG_FILES([\
64           Makefile \
65           config/Makefile \
66           doc/Makefile \
67           src/Makefile \
68           src/lib/Makefile \
69           src/python/Makefile \
70           src/python/run_tests \
71         ])
72
73 dnl run_tests is created from run_tests.in.  Make it executable.
74 AC_CONFIG_COMMANDS([run_tests], [chmod +x src/python/run_tests])
75
76 AC_OUTPUT