On Aug 9, 2020, at 12:59, David Mathog <dmat...@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
  n...@python.org -- []
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/archives/list/distutils-sig@python.org/message/7SABV5LJNAGTN24NJPMVYJASHZMPJKLC/

Reply via email to