BIND 10 trac3025, updated. 290fb63c1c7640c8fdc8801b93c36f8ca0432b96 [3025] Rename variable

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Aug 12 10:03:43 UTC 2013


The branch, trac3025 has been updated
       via  290fb63c1c7640c8fdc8801b93c36f8ca0432b96 (commit)
      from  9c88046f2b021dded1981966b930029e765b5915 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 290fb63c1c7640c8fdc8801b93c36f8ca0432b96
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Mon Aug 12 12:03:09 2013 +0200

    [3025] Rename variable
    
    The bug is in offset pointer, not in the red-black tree.

-----------------------------------------------------------------------

Summary of changes:
 configure.ac                    |    2 +-
 m4macros/ax_boost_for_bind10.m4 |   13 +++++++------
 2 files changed, 8 insertions(+), 7 deletions(-)

-----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index a6278c3..762b896 100644
--- a/configure.ac
+++ b/configure.ac
@@ -912,7 +912,7 @@ if test "x$use_shared_memory" = "xyes"; then
 fi
 AC_SUBST(BOOST_MAPPED_FILE_CXXFLAG)
 
-if test "$BOOST_RBTREE_OLD" = "yes" -a "$use_shared_memory" = "yes" ; then
+if test "$BOOST_OFFSET_PTR_OLD" = "yes" -a "$use_shared_memory" = "yes" ; then
     AC_MSG_ERROR([You're trying to compile against boost older than 1.48 with
 shared memory. This is known to cause problems under certain situations.
 
diff --git a/m4macros/ax_boost_for_bind10.m4 b/m4macros/ax_boost_for_bind10.m4
index 1107ab7..3cc8c6f 100644
--- a/m4macros/ax_boost_for_bind10.m4
+++ b/m4macros/ax_boost_for_bind10.m4
@@ -30,9 +30,10 @@ dnl                             compile managed_mapped_file (can be empty).
 dnl                             It is of no use if "WOULDFAIL" is yes.
 dnl   BOOST_STATIC_ASSERT_WOULDFAIL set to "yes" if BOOST_STATIC_ASSERT would
 dnl                                 cause build error; otherwise set to "no"
-dnl   BOOST_RBTREE_OLD if the version of boost is older than 1.48. The old
-dnl                    version confuses some versions of gcc optimisations and
-dnl                    certain files should be compiled without optimisations.
+dnl   BOOST_OFFSET_PTR_OLD if the version of boost is older than 1.48. The old
+dnl                        version confuses some versions of gcc optimisations
+dnl                        and certain files should be compiled without
+dnl                        optimisations.
 
 AC_DEFUN([AX_BOOST_FOR_BIND10], [
 AC_LANG_SAVE
@@ -117,13 +118,13 @@ if test "X$GXX" = "Xyes"; then
    #error Too old
    #endif
    ],,[AC_MSG_RESULT(no)
-       BOOST_RBTREE_OLD=no
+       BOOST_OFFSET_PTR_OLD=no
    ],[AC_MSG_RESULT(yes)
-      BOOST_RBTREE_OLD=yes])
+      BOOST_OFFSET_PTR_OLD=yes])
 else
    # This doesn't matter for non-g++
    BOOST_NUMERIC_CAST_WOULDFAIL=no
-   BOOST_RBTREE_OLD=no
+   BOOST_OFFSET_PTR_OLD=no
 fi
 
 # Boost interprocess::managed_mapped_file is highly system dependent and



More information about the bind10-changes mailing list