2 dnl Copyright 2004,2005,2007,2008,2009 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.
25 AC_CONFIG_AUX_DIR([.])
32 dnl ustar required to have pathnames > 99 chars
33 _AM_SET_OPTION([tar-ustar])
34 AM_INIT_AUTOMAKE(gr-howto-write-a-block,$RELEASE)
36 dnl This is kind of non-standard, but it sure shortens up this file :-)
37 m4_include([config/gr_standalone.m4])
40 dnl Check for any libraries you need
43 dnl Check for header files you need
44 dnl AC_CHECK_HEADERS(fcntl.h limits.h strings.h sys/ioctl.h sys/time.h unistd.h)
45 dnl AC_CHECK_HEADERS(sys/mman.h)
47 dnl Checks for library functions.
48 dnl AC_CHECK_FUNCS([])
50 dnl We pick up the boost cppflags, cxxflags and thread lib via GNURADIO_CORE
52 dnl If you need additional boost libraries, you'll need to
53 dnl uncomment AX_BOOST_BASE, plus some of the following:
55 dnl calls AC_SUBST(BOOST_CPPFLAGS), AC_SUBST(BOOST_LDFLAGS) and defines HAVE_BOOST
56 dnl AX_BOOST_BASE([1.35])
58 dnl All the rest of these call AC_SUBST(BOOST_<foo>_LIB) and define HAVE_BOOST_<foo>
60 dnl AX_BOOST_DATE_TIME
61 dnl AX_BOOST_FILESYSTEM
62 dnl AX_BOOST_IOSTREAMS
63 dnl AX_BOOST_PROGRAM_OPTIONS
65 dnl AX_BOOST_SERIALIZATION
68 dnl AX_BOOST_TEST_EXEC_MONITOR
69 dnl AX_BOOST_UNIT_TEST_FRAMEWORK
70 dnl AX_BOOST_WSERIALIZATION
83 dnl run_tests is created from run_tests.in. Make it executable.
84 AC_CONFIG_COMMANDS([run_tests], [chmod +x python/run_tests])
88 echo Configured gr-howto-write-a-block release $RELEASE for build.