4 # AX_BOOST_UNIT_TEST_FRAMEWORK
8 # Test for Unit_Test_Framework library from the Boost C++ libraries. The
9 # macro requires a preceding call to AX_BOOST_BASE.
13 # AC_SUBST(BOOST_UNIT_TEST_FRAMEWORK_LIB)
17 # HAVE_BOOST_UNIT_TEST_FRAMEWORK
21 # Copyright (c) 2008 Thomas Porschberg <thomas@randspringer.de>
22 # Copyright (c) 2008 Free Software Foundation, Inc.
24 # Copying and distribution of this file, with or without modification, are
25 # permitted in any medium without royalty provided the copyright notice
26 # and this notice are preserved.
28 AC_DEFUN([AX_BOOST_UNIT_TEST_FRAMEWORK],
30 AC_REQUIRE([AX_BOOST_BASE])
31 _AX_BOOST_CHECK([boost_unit_test_framework],
32 [@%:@include <boost/test/unit_test.hpp>],
33 [using boost::unit_test::test_suite;
34 test_suite* test= BOOST_TEST_SUITE( "Unit test example 1" );