```
This PR adds additional configure flags to packages in depends to explicitly disable features we aren't using; similar to #16183. It also fixes passing --without-tools to qrencode.
```
Backport of core [[https://github.com/bitcoin/bitcoin/pull/16370 | PR16370]].
Depends on D5633.