mkvtoolnix/ac/boost.m4
Moritz Bunkus 5df94b0387
Boost: test for multi-precision library; require at least v1.66.0
I know compilation fails in the multi-precision library with 1.60.0,
the previous requirement. The oldest OS I still support is CentOS 7,
which has 1.69 via EPEL. CentOS 8 is next which comes with 1.66.0, and
that compiles fine. So let's take that as the new baseline.
2021-05-30 14:24:21 +02:00

15 lines
451 B
Plaintext

# boost's headers must be present.
AX_BOOST_BASE([1.66.0])
AX_BOOST_CHECK_HEADERS([boost/multiprecision/cpp_int.hpp],,[
AC_MSG_ERROR([Boost's multi-precision library is required but wasn't found])
])
AX_BOOST_CHECK_HEADERS([boost/operators.hpp],,[
AC_MSG_ERROR([Boost's Operators library is required but wasn't found])
])
AX_BOOST_CHECK_HEADERS([boost/rational.hpp],,[
AC_MSG_ERROR([Boost's rational library is required but wasn't found])
])