build: Make AM_CONDITIONAL([ENABLE_EXTERNAL_SIGNER]) unconditional

This change fixes an error when the value of the "use_boost" variable is
equal to "no".
This commit is contained in:
Hennadii Stepanov 2021-03-02 18:59:05 +02:00
parent 9fef209945
commit a4128138b4
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -1406,8 +1406,6 @@ if test x$use_boost = xyes; then
)
fi
AM_CONDITIONAL([ENABLE_EXTERNAL_SIGNER], [test "x$use_external_signer" = "xyes"])
if test x$suppress_external_warnings != xno; then
BOOST_CPPFLAGS=SUPPRESS_WARNINGS($BOOST_CPPFLAGS)
fi
@ -1420,6 +1418,8 @@ if test x$use_boost = xyes; then
BOOST_LIBS="$BOOST_LDFLAGS $BOOST_SYSTEM_LIB $BOOST_FILESYSTEM_LIB"
fi
AM_CONDITIONAL([ENABLE_EXTERNAL_SIGNER], [test "x$use_external_signer" = "xyes"])
dnl Check for reduced exports
if test x$use_reduce_exports = xyes; then
AX_CHECK_COMPILE_FLAG([-fvisibility=hidden],[CXXFLAGS="$CXXFLAGS -fvisibility=hidden"],