Define BOOST_AUTO_TEST_MAIN for unit test lib test
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 21 Apr 2008 08:49:27 +0000 (10:49 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 21 Apr 2008 08:49:27 +0000 (10:49 +0200)
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 ) 
 {