configure: update use of Boost unit test.
[m4-moved-to-github.git] / boost.m4
index 1f6f03a..d2dd704 100644 (file)
--- 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 <boost/test/auto_unit_test.hpp>
+#define BOOST_TEST_MODULE configure
+#include <boost/test/unit_test.hpp>
 BOOST_AUTO_TEST_CASE( t ) 
 {
     BOOST_CHECK(1);