From 374a6b4fe5d08e5152fd71e0803541884ea60e0f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 16 Aug 2011 15:31:24 +0200 Subject: [PATCH] configure: update use of Boost unit test. Use BOOST_TEST_MODULE instead of BOOST_AUTO_TEST_MAIN and include unit_test.hpp instead of auto_unit_test.hpp. --- boost.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boost.m4 b/boost.m4 index 1f6f03a..d2dd704 100644 --- a/boost.m4 +++ b/boost.m4 @@ -99,8 +99,8 @@ int x = BOOST_VERSION; LIBS="${saveLIBS} -l${l}" AC_LINK_IFELSE([AC_LANG_SOURCE([[ #define BOOST_TEST_DYN_LINK -#define BOOST_AUTO_TEST_MAIN -#include +#define BOOST_TEST_MODULE configure +#include BOOST_AUTO_TEST_CASE( t ) { BOOST_CHECK(1); -- 1.7.10.4