Commit 12a1030e authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

add notes about future policy changes


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac436@3864 e5f2f494-b856-4b98-b285-d166d9295462
parent 1de3838b
...@@ -326,6 +326,10 @@ AC_SUBST(BOOST_INCLUDES) ...@@ -326,6 +326,10 @@ AC_SUBST(BOOST_INCLUDES)
# Using boost::mutex can result in requiring libboost_thread with older # Using boost::mutex can result in requiring libboost_thread with older
# versions of Boost. We'd like to avoid relying on a compiled Boost library # versions of Boost. We'd like to avoid relying on a compiled Boost library
# whenever possible, so we need to check for it step by step. # whenever possible, so we need to check for it step by step.
#
# NOTE: another fix of this problem is to simply require newer versions of
# boost. If we choose that solution we should simplify the following tricky
# checks accordingly and all Makefile.am's that refer to NEED_LIBBOOST_THREAD.
AC_MSG_CHECKING(for boost::mutex) AC_MSG_CHECKING(for boost::mutex)
CPPFLAGS_SAVES="$CPPFLAGS" CPPFLAGS_SAVES="$CPPFLAGS"
LIBS_SAVES="$LIBS" LIBS_SAVES="$LIBS"
......
...@@ -47,6 +47,8 @@ run_unittests_SOURCES += random_number_generator_unittest.cc ...@@ -47,6 +47,8 @@ run_unittests_SOURCES += random_number_generator_unittest.cc
run_unittests_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES) run_unittests_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES)
run_unittests_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS) run_unittests_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS)
run_unittests_LDADD = $(GTEST_LDADD) run_unittests_LDADD = $(GTEST_LDADD)
# NOTE: we may have to clean up this hack later (see the note in configure.ac)
if NEED_LIBBOOST_THREAD if NEED_LIBBOOST_THREAD
run_unittests_LDADD += -lboost_thread run_unittests_LDADD += -lboost_thread
endif endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment