From 07b45cad8e823774ca2d34f48baf0fe0edd60da6 Mon Sep 17 00:00:00 2001 From: Patrick Lodder Date: Sun, 26 Oct 2025 13:09:43 -0400 Subject: [PATCH 1/2] build: remove check for boost < 1.49 --- configure.ac | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/configure.ac b/configure.ac index b1b839431..b0a3a6cd1 100644 --- a/configure.ac +++ b/configure.ac @@ -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 From a949e0505eb7eb82476b4769f95f4456e71942f0 Mon Sep 17 00:00:00 2001 From: Patrick Lodder Date: Sun, 26 Oct 2025 13:14:26 -0400 Subject: [PATCH 2/2] build: remove additional "ok" in configure --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b0a3a6cd1..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.