File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -1418,8 +1418,20 @@ if test "$use_external_signer" != "no"; then
1418
1418
use_external_signer="no";
1419
1419
;;
1420
1420
*)
1421
- use_external_signer="yes"
1422
- AC_DEFINE ( [ ENABLE_EXTERNAL_SIGNER] , [ 1] , [ Define if external signer support is enabled] )
1421
+ AC_MSG_CHECKING ( [ whether Boost.Process can be used] )
1422
+ AC_LINK_IFELSE ( [ AC_LANG_PROGRAM ( [ [ #include <boost/process.hpp>] ] ) ] ,
1423
+ [ have_boost_process="yes"] ,
1424
+ [ have_boost_process="no"] )
1425
+ AC_MSG_RESULT ( [ $have_boost_process] )
1426
+ if test "$have_boost_process" == "yes"; then
1427
+ use_external_signer="yes"
1428
+ AC_DEFINE ( [ ENABLE_EXTERNAL_SIGNER] , [ 1] , [ Define if external signer support is enabled] )
1429
+ else
1430
+ if test "$use_external_signer" = "yes"; then
1431
+ AC_MSG_ERROR ( [ External signing is not supported for this Boost version] )
1432
+ fi
1433
+ use_external_signer="no";
1434
+ fi
1423
1435
;;
1424
1436
esac
1425
1437
fi
You can’t perform that action at this time.
0 commit comments