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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: PL/Python: Make build on OS X more flexible
Date: 2013-01-05 14:01:27
Message-ID: E1TrUJT-0000x0-3n@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2013-01-05 14:41:59 pgsql: Centralize single quote escaping in src/port/quotes.c
Previous Message Peter Eisentraut 2013-01-05 13:31:22 pgsql: doc: Update CREATE FUNCTION compatibility information