Update trunk to revision 3.3svn
[debian/gnuradio] / gr-howto-write-a-block / configure.ac
1 dnl 
2 dnl  Copyright 2004,2005,2007,2008,2009 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 AC_INIT(gr-howto-write-a-block,3.3svn)
23 AC_PREREQ(2.57)
24 AC_CONFIG_AUX_DIR([.])  
25
26 dnl This is kind of non-standard, but it sure shortens up this file :-)
27 m4_include([config/gr_standalone.m4])
28 GR_STANDALONE
29
30 dnl Check for any libraries you need
31 dnl AC_CHECK_LIBRARY
32
33 dnl Check for header files you need
34 dnl AC_CHECK_HEADERS(fcntl.h limits.h strings.h sys/ioctl.h sys/time.h unistd.h)
35 dnl AC_CHECK_HEADERS(sys/mman.h)
36
37 dnl Checks for library functions.
38 dnl AC_CHECK_FUNCS([])
39
40 dnl We pick up the boost cppflags, cxxflags and thread lib via GNURADIO_CORE
41 dnl
42 dnl If you need additional boost libraries, you'll need to
43 dnl uncomment AX_BOOST_BASE, plus some of the following:
44 dnl
45 dnl calls AC_SUBST(BOOST_CPPFLAGS), AC_SUBST(BOOST_LDFLAGS) and defines HAVE_BOOST
46 dnl AX_BOOST_BASE([1.35])
47 dnl
48 dnl All the rest of these call AC_SUBST(BOOST_<foo>_LIB) and define HAVE_BOOST_<foo>
49 dnl
50 dnl AX_BOOST_DATE_TIME
51 dnl AX_BOOST_FILESYSTEM
52 dnl AX_BOOST_IOSTREAMS
53 dnl AX_BOOST_PROGRAM_OPTIONS
54 dnl AX_BOOST_REGEX
55 dnl AX_BOOST_SERIALIZATION
56 dnl AX_BOOST_SIGNALS
57 dnl AX_BOOST_SYSTEM
58 dnl AX_BOOST_TEST_EXEC_MONITOR
59 dnl AX_BOOST_UNIT_TEST_FRAMEWORK
60 dnl AX_BOOST_WSERIALIZATION
61
62 AC_CONFIG_FILES([\
63           Makefile \
64           config/Makefile \
65           doc/Makefile \
66           src/Makefile \
67           src/lib/Makefile \
68           src/python/Makefile \
69           src/python/run_tests \
70         ])
71
72 dnl run_tests is created from run_tests.in.  Make it executable.
73 AC_CONFIG_COMMANDS([run_tests], [chmod +x src/python/run_tests])
74
75 AC_OUTPUT