These checks are handled by the LT_INIT
macro.
Inspired by bitcoin-core/secp256k1#1088.
On master (f3e0ace8ecd84009a23da6b0de47f01d79c45772):
0$ ./configure --with-incompatible-bdb 2>&1 | grep -n -E 'ranlib\.\.\.|strip\.\.\.'
156:checking for strip... strip
257:checking for ranlib... ranlib
3102:checking for ranlib... /usr/bin/ranlib
4103:checking for strip... /usr/bin/strip
5380:checking for strip... strip
6381:checking for ranlib... ranlib
With this PR:
0$ ./configure --with-incompatible-bdb 2>&1 | grep -n -E 'ranlib\.\.\.|strip\.\.\.'
156:checking for strip... strip
257:checking for ranlib... ranlib
3377:checking for strip... strip
4378:checking for ranlib... ranlib
5$ CONFIG_SITE=$PWD/depends/x86_64-apple-darwin/share/config.site ./configure 2>&1 | grep -n -E 'ranlib\.\.\.|strip\.\.\.'
68:checking for x86_64-apple-darwin-strip... /home/hebasto/GitHub/bitcoin/depends/x86_64-apple-darwin/native/bin/x86_64-apple-darwin-strip
761:checking for x86_64-apple-darwin-strip... (cached) /home/hebasto/GitHub/bitcoin/depends/x86_64-apple-darwin/native/bin/x86_64-apple-darwin-strip
862:checking for x86_64-apple-darwin-ranlib... /home/hebasto/GitHub/bitcoin/depends/x86_64-apple-darwin/native/bin/x86_64-apple-darwin-ranlib
9188:checking whether the linker accepts -Wl,-dead_strip... yes
10367:checking for x86_64-apple-darwin-strip... /home/hebasto/GitHub/bitcoin/depends/x86_64-apple-darwin/native/bin/x86_64-apple-darwin-strip
11411:checking for x86_64-apple-darwin-strip... (cached) /home/hebasto/GitHub/bitcoin/depends/x86_64-apple-darwin/native/bin/x86_64-apple-darwin-strip
12412:checking for x86_64-apple-darwin-ranlib... /home/hebasto/GitHub/bitcoin/depends/x86_64-apple-darwin/native/bin/x86_64-apple-darwin-ranlib
Guix builds on x86_64
:
0...