Skip to content

Commit 957f358

Browse files
committed
build: remove check for Boost Process header
Now that we require Boost 1.64.0+, Boost Process will be available.
1 parent df2c933 commit 957f358

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

configure.ac

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1422,25 +1422,16 @@ if test x$use_boost = xyes; then
14221422
AX_BOOST_SYSTEM
14231423
AX_BOOST_FILESYSTEM
14241424

1425-
dnl Opt-in to Boost Process if external signer support is requested
1426-
if test "x$use_external_signer" != xno; then
1427-
AC_MSG_CHECKING(for Boost Process)
1428-
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <boost/process.hpp>]],
1429-
[[ boost::process::child* child = new boost::process::child; delete child; ]])],
1430-
[ AC_MSG_RESULT(yes)
1431-
AC_DEFINE([ENABLE_EXTERNAL_SIGNER],,[define if external signer support is enabled])
1432-
],
1433-
[ AC_MSG_ERROR([Boost::Process is required for external signer support, but not available!])]
1434-
)
1435-
fi
1436-
14371425
if test x$suppress_external_warnings != xno; then
14381426
BOOST_CPPFLAGS=SUPPRESS_WARNINGS($BOOST_CPPFLAGS)
14391427
fi
14401428

14411429
BOOST_LIBS="$BOOST_LDFLAGS $BOOST_SYSTEM_LIB $BOOST_FILESYSTEM_LIB"
14421430
fi
14431431

1432+
if test "x$use_external_signer" != xno; then
1433+
AC_DEFINE([ENABLE_EXTERNAL_SIGNER],,[define if external signer support is enabled])
1434+
fi
14441435
AM_CONDITIONAL([ENABLE_EXTERNAL_SIGNER], [test "x$use_external_signer" = "xyes"])
14451436

14461437
dnl Check for reduced exports

0 commit comments

Comments
 (0)