On Aug 9, 2020, at 12:59, David Mathog <dmathog@gmail.com> wrote:
How are you even supposed to find out?
pkg-config, in any Posix environment. Within a pure Windows environment or on some obscure OS, I have no idea. Just skip this test if it is not supported in a given environment? Better that it works in some environments than in none.
Just to be clear, pkg-config is not part of any Posix standard, AFAIK, so you cannot depend on it being available. For example, Apple does not include pkg-config in macOS releases (although third-party package distributors like Homebrew and MacPorts do optionally provide it for their packages). And use of pkg-config doesn't solve finding dependencies at run time, which may be a different environment than that at build time. -- Ned Deily nad@python.org -- []