Use BOOST_TEST_MODULE instead of BOOST_AUTO_TEST_MAIN and include
unit_test.hpp instead of auto_unit_test.hpp.
LIBS="${saveLIBS} -l${l}"
AC_LINK_IFELSE([AC_LANG_SOURCE([[
#define BOOST_TEST_DYN_LINK
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);
BOOST_AUTO_TEST_CASE( t )
{
BOOST_CHECK(1);