[issue28207] Use pkg-config to find dependencies

Kubilay Kocak report at bugs.python.org
Tue Sep 27 01:25:51 EDT 2016


Kubilay Kocak added the comment:

This (adding support for pkg-config) should be done in tandem with adding --with-foo-{include,library} arguments for each *external* dependency, which can be used for: libffi, readline, libintl, openssl, sqlite, db*, among others.

Values obtained from pkg-config should then use the same variables, but only if they are/have not been specified at the command line (./configure).

Doing this and a few other best-practice, standard autoconf things will enable us to drastically simplify and remove hacks in the Python configure.ac, Makefile and setup.py's long term.

----------
nosy: +koobs

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28207>
_______________________________________


More information about the Python-bugs-list mailing list