@@ -140,18 +140,6 @@ AC_ARG_ENABLE([upnp-default],
140
140
[ use_upnp_default=$enableval] ,
141
141
[ use_upnp_default=no] )
142
142
143
- dnl Enable external signer support when opting in to boost process (and not opting out of wallet)
144
- if test x$with_boost_process = xyes && test x$enable_wallet != xno; then
145
- use_external_signer_default=yes;
146
- else
147
- use_external_signer_default=no;
148
- fi
149
-
150
- AC_ARG_ENABLE ( [ external-signer] ,
151
- [ AS_HELP_STRING ( [ --enable-external-signer] ,[ compile external signer support (requires Boost::Process)] ) ] ,
152
- [ use_external_signer=$enableval] ,
153
- [ use_external_signer=$use_external_signer_default] )
154
-
155
143
AC_ARG_ENABLE ( tests ,
156
144
AS_HELP_STRING ( [ --disable-tests] ,[ do not compile tests (default is to compile)] ) ,
157
145
[ use_tests=$enableval] ,
@@ -1177,6 +1165,18 @@ else
1177
1165
BITCOIN_QT_CONFIGURE([ 5.5.1] )
1178
1166
fi
1179
1167
1168
+ dnl Enable external signer support when opting in to boost process, or building GUI, but not opting out of wallet)
1169
+ if (test x$with_boost_process = xyes || test x$bitcoin_enable_qt != xno) && test x$enable_wallet != xno; then
1170
+ use_external_signer_default=yes;
1171
+ else
1172
+ use_external_signer_default=no;
1173
+ fi
1174
+
1175
+ AC_ARG_ENABLE ( [ external-signer] ,
1176
+ [ AS_HELP_STRING ( [ --enable-external-signer] ,[ compile external signer support (requires Boost::Process)] ) ] ,
1177
+ [ use_external_signer=$enableval] ,
1178
+ [ use_external_signer=$use_external_signer_default] )
1179
+
1180
1180
if test x$enable_wallet != xno; then
1181
1181
dnl Check for libdb_cxx only if wallet enabled
1182
1182
BITCOIN_FIND_BDB48
0 commit comments