Skip to content

Commit 4ce6d2b

Browse files
committed
Require Boost 1.48 or later.
1 parent 2b023dc commit 4ce6d2b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

acinclude.m4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ AC_DEFUN([QL_CHECK_BOOST_DEVEL],
5555
# ----------------------
5656
# Check whether the Boost installation is up to date
5757
AC_DEFUN([QL_CHECK_BOOST_VERSION],
58-
[AC_MSG_CHECKING([for Boost version >= 1.43])
58+
[AC_MSG_CHECKING([for Boost version >= 1.48])
5959
AC_REQUIRE([QL_CHECK_BOOST_DEVEL])
6060
AC_TRY_COMPILE(
6161
[@%:@include <boost/version.hpp>],
62-
[@%:@if BOOST_VERSION < 104300
62+
[@%:@if BOOST_VERSION < 104800
6363
@%:@error too old
6464
@%:@endif],
6565
[AC_MSG_RESULT([yes])],
@@ -146,7 +146,7 @@ AC_DEFUN([QL_CHECK_BOOST_UNIT_TEST],
146146
boost_unit_test_framework-$CC_BASENAME-mt \
147147
boost_unit_test_framework-mt ; do
148148
LIBS="$ql_original_LIBS -l$boost_lib"
149-
# 1.33.1 or 1.34 static
149+
# static version
150150
CXXFLAGS="$ql_original_CXXFLAGS"
151151
boost_unit_found=no
152152
AC_LINK_IFELSE([AC_LANG_SOURCE(
@@ -162,7 +162,7 @@ AC_DEFUN([QL_CHECK_BOOST_UNIT_TEST],
162162
boost_defines=""
163163
break],
164164
[])
165-
# 1.34 shared
165+
# shared version
166166
CXXFLAGS="$ql_original_CXXFLAGS -DBOOST_TEST_MAIN -DBOOST_TEST_DYN_LINK"
167167
boost_unit_found=no
168168
AC_LINK_IFELSE([AC_LANG_SOURCE(

ql/qldefines.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
#include <boost/config.hpp>
3939
#include <boost/version.hpp>
40-
#if BOOST_VERSION < 103900
40+
#if BOOST_VERSION < 104800
4141
#error using an old version of Boost, please update.
4242
#endif
4343
#if !defined(BOOST_ENABLE_ASSERT_HANDLER)

0 commit comments

Comments
 (0)