If pkg-config
is not installed, pkg-config
’s pkg.m4
is not installed and thus the macro PKG_PROG_PKG_CONFIG
is not expanded.
Fixes #8228.
With this change, the output without pkg-config
installed is:
0...
1configure.ac:83: error: PKG_PROG_PKG_CONFIG macro not expanded, please install pkg-config
2 If this token and others are legitimate, please use m4_pattern_allow.
3 See the Autoconf documentation.
4autoreconf: /usr/bin/autoconf failed with exit status: 1
5bitcoin@linux-fx0x:~/bitcoin>