From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Move interpreter shared library detection to configure
Date: Sat, 02 May 2015 01:39:48 +0000
Message-ID: <E1YoMPE-0005FI-Gq@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Move interpreter shared library detection to configure
For building PL/Perl, PL/Python, and PL/Tcl, we need a shared library of
libperl, libpython, and libtcl, respectively. Previously, this was
checked in the makefiles, skipping the PL build with a warning if no
shared library was available. Now this is checked in configure, with an
error if no shared library is available.
The previous situation arose because in the olden days, the configure
options --with-perl, --with-python, and --with-tcl controlled whether
frontend interfaces for those languages would be built. The procedural
languages were added later, and shared libraries were often not
available in the beginning. So it was decided skip the builds of the
procedural languages in those cases. The frontend interfaces have since
been removed from the tree, and shared libraries are now available most
of the time, so that setup makes much less sense now.
Also, the new setup allows contrib modules and pgxs users to rely on the
respective PLs being available based on configure flags.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/d664a10f9623fd2198b257e513bce849d439a773
Modified Files
--------------
config/python.m4 | 1 -
configure | 41 +++++++++++++++++++++++++++++++++++++----
configure.in | 38 +++++++++++++++++++++++++++++++++++++-
src/Makefile.global.in | 3 ---
src/pl/plperl/GNUmakefile | 21 ---------------------
src/pl/plpython/Makefile | 32 --------------------------------
src/pl/tcl/Makefile | 26 --------------------------
7 files changed, 74 insertions(+), 88 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter_e@gmx.net
Subject: Re: pgsql: Move interpreter shared library detection to configure
In-Reply-To: <E1YoMPE-0005FI-Gq@gemulon.postgresql.org>
References: <E1YoMPE-0005FI-Gq@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox