Browse Source

add notes about future policy changes

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac436@3864 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 14 years ago
parent
commit
12a1030e02
2 changed files with 6 additions and 0 deletions
  1. 4 0
      configure.ac
  2. 2 0
      src/lib/nsas/tests/Makefile.am

+ 4 - 0
configure.ac

@@ -326,6 +326,10 @@ AC_SUBST(BOOST_INCLUDES)
 # 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
 # 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)
 CPPFLAGS_SAVES="$CPPFLAGS"
 LIBS_SAVES="$LIBS"

+ 2 - 0
src/lib/nsas/tests/Makefile.am

@@ -47,6 +47,8 @@ run_unittests_SOURCES += random_number_generator_unittest.cc
 run_unittests_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES)
 run_unittests_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS)
 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
 run_unittests_LDADD += -lboost_thread
 endif