aboutsummaryrefslogtreecommitdiff
path: root/build-aux/m4/ax_boost_system.m4
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2016-03-19 15:24:00 +0800
committerfanquake <fanquake@gmail.com>2016-03-19 15:24:00 +0800
commitcf5c786fc3244b6aedcc4a2f839f5248f95fafa1 (patch)
tree5cdc61abe600b62b3192afe23e52aeac647aca0a /build-aux/m4/ax_boost_system.m4
parentf034bced269c4859809d320dcfbdc4b008191b85 (diff)
downloadbitcoin-cf5c786fc3244b6aedcc4a2f839f5248f95fafa1.tar.xz
[build-aux] Update Boost & check macros to latest serials
Diffstat (limited to 'build-aux/m4/ax_boost_system.m4')
-rw-r--r--build-aux/m4/ax_boost_system.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/build-aux/m4/ax_boost_system.m4 b/build-aux/m4/ax_boost_system.m4
index 9c78280fca..1c05450cbe 100644
--- a/build-aux/m4/ax_boost_system.m4
+++ b/build-aux/m4/ax_boost_system.m4
@@ -31,7 +31,7 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 17
+#serial 18
AC_DEFUN([AX_BOOST_SYSTEM],
[
@@ -68,9 +68,10 @@ AC_DEFUN([AX_BOOST_SYSTEM],
ax_cv_boost_system,
[AC_LANG_PUSH([C++])
CXXFLAGS_SAVE=$CXXFLAGS
+ CXXFLAGS=
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <boost/system/error_code.hpp>]],
- [[boost::system::system_category]])],
+ [[boost::system::error_category *a = 0;]])],
ax_cv_boost_system=yes, ax_cv_boost_system=no)
CXXFLAGS=$CXXFLAGS_SAVE
AC_LANG_POP([C++])