|
@@ -30,9 +30,10 @@ dnl compile managed_mapped_file (can be empty).
|
|
dnl It is of no use if "WOULDFAIL" is yes.
|
|
dnl It is of no use if "WOULDFAIL" is yes.
|
|
dnl BOOST_STATIC_ASSERT_WOULDFAIL set to "yes" if BOOST_STATIC_ASSERT would
|
|
dnl BOOST_STATIC_ASSERT_WOULDFAIL set to "yes" if BOOST_STATIC_ASSERT would
|
|
dnl cause build error; otherwise set to "no"
|
|
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_DEFUN([AX_BOOST_FOR_BIND10], [
|
|
AC_LANG_SAVE
|
|
AC_LANG_SAVE
|
|
@@ -117,13 +118,13 @@ if test "X$GXX" = "Xyes"; then
|
|
#error Too old
|
|
#error Too old
|
|
#endif
|
|
#endif
|
|
],,[AC_MSG_RESULT(no)
|
|
],,[AC_MSG_RESULT(no)
|
|
- BOOST_RBTREE_OLD=no
|
|
|
|
|
|
+ BOOST_OFFSET_PTR_OLD=no
|
|
],[AC_MSG_RESULT(yes)
|
|
],[AC_MSG_RESULT(yes)
|
|
- BOOST_RBTREE_OLD=yes])
|
|
|
|
|
|
+ BOOST_OFFSET_PTR_OLD=yes])
|
|
else
|
|
else
|
|
# This doesn't matter for non-g++
|
|
# This doesn't matter for non-g++
|
|
BOOST_NUMERIC_CAST_WOULDFAIL=no
|
|
BOOST_NUMERIC_CAST_WOULDFAIL=no
|
|
- BOOST_RBTREE_OLD=no
|
|
|
|
|
|
+ BOOST_OFFSET_PTR_OLD=no
|
|
fi
|
|
fi
|
|
|
|
|
|
# Boost interprocess::managed_mapped_file is highly system dependent and
|
|
# Boost interprocess::managed_mapped_file is highly system dependent and
|