diff --git a/configure.ac b/configure.ac index b1b839431..f2c9589e1 100644 --- a/configure.ac +++ b/configure.ac @@ -740,7 +740,7 @@ dnl Minimum required Boost version define(MINIMUM_REQUIRED_BOOST, 1.60.0) dnl Check for boost libs -AX_BOOST_BASE([MINIMUM_REQUIRED_BOOST], AC_MSG_RESULT(ok), AC_MSG_ERROR(Need at least boost 1.60.0)) +AX_BOOST_BASE([MINIMUM_REQUIRED_BOOST], , AC_MSG_ERROR(Need at least boost 1.60.0)) dnl As of boost 1.69.0, boost_system is header-only and dnl as of version 1.89.0 it is fully removed. @@ -795,26 +795,6 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [ AC_MSG_RESULT(yes); HAVE_O_CLOEXEC=1 ], [ AC_MSG_RESULT(no); HAVE_O_CLOEXEC=0 ] ) - -if test x$use_reduce_exports = xyes; then - AC_MSG_CHECKING([for working boost reduced exports]) - TEMP_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$BOOST_CPPFLAGS $CPPFLAGS" - AC_PREPROC_IFELSE([AC_LANG_PROGRAM([[ - @%:@include - ]], [[ - #if BOOST_VERSION >= 104900 - // Everything is okay - #else - # error Boost version is too old - #endif - ]])],[ - AC_MSG_RESULT(yes) - ],[ - AC_MSG_ERROR([boost versions < 1.49 are known to be broken with reduced exports. Use --disable-reduce-exports.]) - ]) - CPPFLAGS="$TEMP_CPPFLAGS" -fi fi if test x$use_reduce_exports = xyes; then