Skip to content

Conversation

hebasto
Copy link
Member

@hebasto hebasto commented Mar 2, 2021

#16546 introduced a regression in the configure:

$ ./autogen.sh
$ ./configure --disable-wallet --without-utils --without-daemon --without-gui --disable-tests --disable-bench
...
checking whether to build test_bitcoin... no
checking whether to reduce exports... no
checking that generated files are newer than configure... done
configure: error: conditional "ENABLE_EXTERNAL_SIGNER" was never defined.
Usually this means the macro was only invoked conditionally.

This PR fixes this bug, and refactors indentation to make easier to spot similar bugs in the future.

hebasto added 2 commits March 2, 2021 18:55
This makes easier to spot conditional macros.
This change fixes an error when the value of the "use_boost" variable is
equal to "no".
@hebasto
Copy link
Member Author

hebasto commented Mar 2, 2021

cc @Sjors

@Sjors
Copy link
Member

Sjors commented Mar 2, 2021

utACK a412813

Copy link
Member

@fanquake fanquake left a comment

Choose a reason for hiding this comment

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

ACK a412813 - this fixes the bug described, and improves readability.

@fanquake fanquake merged commit 4f223e9 into bitcoin:master Mar 3, 2021
@hebasto hebasto deleted the 210302-signer branch March 3, 2021 06:30
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Mar 3, 2021
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 16, 2022
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.

5 participants