@@ -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] ,
@@ -1148,6 +1136,18 @@ else
11481136 BITCOIN_QT_CONFIGURE
11491137fi
11501138
1139+ dnl Enable external signer support when opting in to boost process, or building GUI, but not opting out of wallet)
1140+ if (test x$with_boost_process = xyes || test x$bitcoin_enable_qt != xno) && test x$enable_wallet != xno; then
1141+ use_external_signer_default=yes;
1142+ else
1143+ use_external_signer_default=no;
1144+ fi
1145+
1146+ AC_ARG_ENABLE ( [ external-signer] ,
1147+ [ AS_HELP_STRING ( [ --enable-external-signer] ,[ compile external signer support (requires Boost::Process)] ) ] ,
1148+ [ use_external_signer=$enableval] ,
1149+ [ use_external_signer=$use_external_signer_default] )
1150+
11511151if test x$enable_wallet != xno; then
11521152 dnl Check for libdb_cxx only if wallet enabled
11531153 BITCOIN_FIND_BDB48
0 commit comments