Added test case for the new boost test requirement when --enable-tests is used

This commit is contained in:
Mark de Wever 2007-12-21 20:46:43 +00:00
parent 412b5a8d97
commit 8342b2443c

View file

@ -888,6 +888,14 @@ CPPFLAGS="$BOOST_CPPFLAGS $CPPFLAGS"
LDFLAGS="$BOOST_IOSTREAMS_LDFLAGS $LDFLAGS"
LIBS="$BOOST_IOSTREAMS_LIBS $LIBS"
if test "x$tests" = "xyes"; then
BOOST_TEST
LDFLAGS="$BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS $LDFLAGS"
LIBS="$BOOST_UNIT_TEST_FRAMEWORK_LIBS $LIBS"
fi
#######################################################################
# Tune gettext stuff for our needs #
#######################################################################