Merge pull request #5780

8438074 build: fix dynamic boost check when --with-boost= is used (cherry picked from commit a7d1f035ae) (Cory Fields)
This commit is contained in:
Wladimir J. van der Laan 2015-02-10 12:16:17 +01:00
commit 924d7e5a07
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

View File

@ -436,7 +436,7 @@ if test x$use_tests = xyes; then
dnl Determine if -DBOOST_TEST_DYN_LINK is needed
AC_MSG_CHECKING([for dynamic linked boost test])
TEMP_LIBS="$LIBS"
LIBS="$LIBS $BOOST_UNIT_TEST_FRAMEWORK_LIB"
LIBS="$LIBS $BOOST_LDFLAGS $BOOST_UNIT_TEST_FRAMEWORK_LIB"
TEMP_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
AC_LINK_IFELSE([AC_LANG_SOURCE([