Merge #10228: build: regenerate bitcoin-config.h as necessary
Summary:
91ab8f5 build: fix bitcoin-config.h regeneration after touching build files (Cory Fields)
3577603 build: remove wonky auto top-level convenience targets (Cory Fields)
Tree-SHA512: 2e68634439eeb7eca43cd2858135a583bfe0cf146e021a8384a24f7267aacc6f99bdc7a6d497a04d32e6a03e9446f0f599afb5bd53346dadf19f47d5fb2ea9f9
Backport of Core PR10228
https://github.com/bitcoin/bitcoin/pull/10228/
Test Plan:
cd build/ make clean rm src/config/stamp-h1 rm src/config/bitcoin-config.h make check ls src/config/
make check should build successfully and bitcoin-config.h and stamp-h1 files should be present in build/src/config/.
Reviewers: deadalnix, Fabien, jasonbcox, markblundeberg, O1 Bitcoin ABC, #bitcoin_abc
Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc
Differential Revision: https://reviews.bitcoinabc.org/D3384