#16546 introduced a regression in the configure
:
0$ ./autogen.sh
1$ ./configure --disable-wallet --without-utils --without-daemon --without-gui --disable-tests --disable-bench
2...
3checking whether to build test_bitcoin... no
4checking whether to reduce exports... no
5checking that generated files are newer than configure... done
6configure: error: conditional "ENABLE_EXTERNAL_SIGNER" was never defined.
7Usually 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.