pkg.m4 should check that $PKG_CONFIG is a pkg-config binary
Submitted by Samuel Thibault
Assigned to pkg..@..op.org
We have seen a user erroneously define PKG_CONFIG to its /usr/local/lib/pkgconfig, and thus all our configure.ac pkg-config tests were failing and we were wondering why... pkg.m4 should make sure that $PKG_CONFIG really is a binary (e.g. by running it with --help) and loudly error out otherwise.