[svn] commit: r3864 - in /branches/trac436: configure.ac src/lib/nsas/tests/Makefile.am
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Dec 16 09:08:14 UTC 2010
Author: jinmei
Date: Thu Dec 16 09:08:14 2010
New Revision: 3864
Log:
add notes about future policy changes
Modified:
branches/trac436/configure.ac
branches/trac436/src/lib/nsas/tests/Makefile.am
Modified: branches/trac436/configure.ac
==============================================================================
--- branches/trac436/configure.ac (original)
+++ branches/trac436/configure.ac Thu Dec 16 09:08:14 2010
@@ -326,6 +326,10 @@
# 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"
Modified: branches/trac436/src/lib/nsas/tests/Makefile.am
==============================================================================
--- branches/trac436/src/lib/nsas/tests/Makefile.am (original)
+++ branches/trac436/src/lib/nsas/tests/Makefile.am Thu Dec 16 09:08:14 2010
@@ -47,6 +47,8 @@
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
More information about the bind10-changes
mailing list