@@ -139,18 +139,6 @@ AC_ARG_ENABLE([upnp-default],
139139 [ use_upnp_default=$enableval] ,
140140 [ use_upnp_default=no] )
141141
142- dnl Enable external signer support when opting in to boost process (and not opting out of wallet)
143- if test x$with_boost_process = xyes && test x$enable_wallet != xno; then
144- use_external_signer_default=yes;
145- else
146- use_external_signer_default=no;
147- fi
148-
149- AC_ARG_ENABLE ( [ external-signer] ,
150- [ AS_HELP_STRING ( [ --enable-external-signer] ,[ compile external signer support (requires Boost::Process)] ) ] ,
151- [ use_external_signer=$enableval] ,
152- [ use_external_signer=$use_external_signer_default] )
153-
154142AC_ARG_ENABLE ( tests ,
155143 AS_HELP_STRING ( [ --disable-tests] ,[ do not compile tests (default is to compile)] ) ,
156144 [ use_tests=$enableval] ,
@@ -1150,6 +1138,18 @@ else
11501138 BITCOIN_QT_CONFIGURE
11511139fi
11521140
1141+ dnl Enable external signer support when opting in to boost process, or building GUI, but not opting out of wallet)
1142+ if (test x$with_boost_process = xyes || test x$bitcoin_enable_qt != xno) && test x$enable_wallet != xno; then
1143+ use_external_signer_default=yes;
1144+ else
1145+ use_external_signer_default=no;
1146+ fi
1147+
1148+ AC_ARG_ENABLE ( [ external-signer] ,
1149+ [ AS_HELP_STRING ( [ --enable-external-signer] ,[ compile external signer support (requires Boost::Process)] ) ] ,
1150+ [ use_external_signer=$enableval] ,
1151+ [ use_external_signer=$use_external_signer_default] )
1152+
11531153if test x$enable_wallet != xno; then
11541154 dnl Check for libdb_cxx only if wallet enabled
11551155 BITCOIN_FIND_BDB48
0 commit comments