]> granicus.if.org Git - postgresql/commit
PL/Python: Make build on OS X more flexible
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 5 Jan 2013 13:56:14 +0000 (08:56 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 5 Jan 2013 13:56:14 +0000 (08:56 -0500)
commitfc8745070a53469a43ecbf999dc5692a36a649cc
tree37576ca6e7172b822af95e732631d8ba8e5f5685
parent7e938e3c56590899bcfa587ad0220869cb9be951
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.
config/python.m4
configure
src/Makefile.global.in
src/pl/plpython/Makefile