From: Adam Dickmeiss Date: Tue, 16 Aug 2011 13:31:24 +0000 (+0200) Subject: configure: update use of Boost unit test. X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=374a6b4fe5d08e5152fd71e0803541884ea60e0f;p=m4-moved-to-github.git 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. --- 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);