For 0.13, I’d prefer to keep the requirements the same as before: All platforms require pkg-config except for Windows.
For now, I believe I’ve fixed up the current issues and regressions. Fixes: #8228, replaces #8242.
Post-0.13, I believe the consensus is to treat Windows like the others and require pkg-config across the board. We can drop all of the non-pkg-config paths, and simply AC_REQUIRE(PKG_PROG_PKG_CONFIG)