Define BOOST_AUTO_TEST_MAIN for unit test lib test
[m4-moved-to-github.git] / boost.m4
index cdf6c64..13c7f3d 100644 (file)
--- a/boost.m4
+++ b/boost.m4
@@ -83,6 +83,7 @@ int x = BOOST_VERSION;
                            LIBS="${saveLIBS} -l${l}"
                            AC_LINK_IFELSE([AC_LANG_PROGRAM([[
 #define BOOST_TEST_DYN_LINK
+#define BOOST_AUTO_TEST_MAIN
 #include <boost/test/auto_unit_test.hpp>
 BOOST_AUTO_TEST_CASE( t ) 
 {