Skip to content

Conversation

hebasto
Copy link
Member

@hebasto hebasto commented Aug 2, 2022

This PR is a follow up of #24065 and fixes the help string according to the actual default value

bitcoin/configure.ac

Lines 324 to 327 in 816ca01

AC_ARG_ENABLE([external-signer],
[AS_HELP_STRING([--enable-external-signer],[compile external signer support (default is yes, requires Boost::Process)])],
[use_external_signer=$enableval],
[use_external_signer=auto])

Copy link
Contributor

@kristapsk kristapsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cr utACK 8df063e

Copy link
Member

@jarolrod jarolrod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 8df063e

This is correct, it's documented in the code a few lines below :)

relevant output of ./configure -help on this PR branch:

--enable-external-signer
                          compile external signer support (default is auto,
                          requires Boost::Process)

@@ -322,7 +322,7 @@ AC_ARG_ENABLE([werror],
[enable_werror=no])

AC_ARG_ENABLE([external-signer],
[AS_HELP_STRING([--enable-external-signer],[compile external signer support (default is yes, requires Boost::Process)])],
[AS_HELP_STRING([--enable-external-signer],[compile external signer support (default is auto, requires Boost::Process)])],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the default is auto, you can also supply yes and no. Should we follow the convention used elsewhere of specifying the possible inputs, so for example, the help output could be:

--enable-external-signer[=yes|no|auto]
                          compile external signer support (default is auto,
                          requires Boost::Process)

@fanquake fanquake merged commit f765d4e into bitcoin:master Aug 4, 2022
@hebasto hebasto deleted the 220802-signer branch August 4, 2022 08:08
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Aug 4, 2022
…gner` configure option

8df063e build: Fix help string for `--enable-external-signer` configure option (Hennadii Stepanov)

Pull request description:

  This PR is a follow up of bitcoin#24065 and fixes the help string according to the actual default value https://github.com/bitcoin/bitcoin/blob/816ca01650f4cc66a61ac2f9b0f8b74cd9cd0cf8/configure.ac#L324-L327

ACKs for top commit:
  kristapsk:
    cr utACK 8df063e
  jarolrod:
    ACK 8df063e

Tree-SHA512: ad3f457a53c9238ddd8ded9efd1224e564e6cb9da8b7ff7733a11e32a7daad5c0f6c6223509218f44944a874470cb0d2447897662eaf4e78c763b30785717c50
@bitcoin bitcoin locked and limited conversation to collaborators Aug 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants