2 dnl Copyright 2004,2005,2007,2008 Free Software Foundation, Inc.
4 dnl This file is part of GNU Radio
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)
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.
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.
22 dnl This is kind of non-standard, but it sure shortens up this file :-)
23 m4_include([config/gr_standalone.m4])
25 GR_STANDALONE(gr-howto-write-a-block,3.1.svn)
27 dnl Check for any libraries you need
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)
34 dnl Checks for library functions.
35 dnl AC_CHECK_FUNCS([])
37 dnl We pick up the boost cppflags, cxxflags and thread lib via GNURADIO_CORE
39 dnl If you need additional boost libraries, you'll need to
40 dnl uncomment AX_BOOST_BASE, plus some of the following:
42 dnl calls AC_SUBST(BOOST_CPPFLAGS), AC_SUBST(BOOST_LDFLAGS) and defines HAVE_BOOST
43 dnl AX_BOOST_BASE([1.35])
45 dnl All the rest of these call AC_SUBST(BOOST_<foo>_LIB) and define HAVE_BOOST_<foo>
47 dnl AX_BOOST_DATE_TIME
48 dnl AX_BOOST_FILESYSTEM
49 dnl AX_BOOST_IOSTREAMS
50 dnl AX_BOOST_PROGRAM_OPTIONS
52 dnl AX_BOOST_SERIALIZATION
55 dnl AX_BOOST_TEST_EXEC_MONITOR
56 dnl AX_BOOST_UNIT_TEST_FRAMEWORK
57 dnl AX_BOOST_WSERIALIZATION
60 STD_DEFINES_AND_INCLUDES="$GNURADIO_CORE_CFLAGS"
61 AC_SUBST(STD_DEFINES_AND_INCLUDES)
70 src/python/run_tests \
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])