Thread: pgsql: PL/Python: Make build on OS X more flexible

pgsql: PL/Python: Make build on OS X more flexible

From
Peter Eisentraut
Date:
PL/Python: Make build on OS X more flexible

The PL/Python build on OS X was previously hardcoded to use the system
installation of Python, ignoring whatever was specified to configure.
Except that it would use the header files from configure, which could
lead to mismatches.  It was not possible to build against a custom
Python installation.

Now, we check in configure how the specified Python installation was
built and use that, supporting framework and non-framework builds.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/fc8745070a53469a43ecbf999dc5692a36a649cc

Modified Files
--------------
config/python.m4         |   14 +++++++++++---
configure                |   16 ++++++++++++----
src/Makefile.global.in   |    2 +-
src/pl/plpython/Makefile |   22 +++++++++++-----------
4 files changed, 35 insertions(+), 19 deletions(-)