pgsql: Improve detection of Python 3.2 installations

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve detection of Python 3.2 installations
Date: 2011-08-18 11:48:12
Message-ID: E1Qu152-0006iz-7z@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve detection of Python 3.2 installations

Because of ABI tagging, the library version number might no longer be
exactly the Python version number, so do extra lookups. This affects
installations without a shared library, such as ActiveState's
installer.

Also update the way to detect the location of the 'config' directory,
which can also be versioned.

Ashesh Vashi

Branch
------
master

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

Modified Files
--------------
config/python.m4 | 9 +++++++--
configure | 9 +++++++--
2 files changed, 14 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-08-18 13:46:52 Re: pgsql: Properly handle empty arrays returned from plperl functions.
Previous Message Peter Eisentraut 2011-08-18 11:47:57 pgsql: Change PyInit_plpy to external linkage