pgsql: PL/Python: Make build on OS X more flexible - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: PL/Python: Make build on OS X more flexible
Date
Msg-id E1TrUJT-0000x0-3n@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Revert "PL/Python: Remove workaround for returning booleans in P
Next
From: Magnus Hagander
Date:
Subject: pgsql: Centralize single quote escaping in src/port/quotes.c