summaryrefslogtreecommitdiff
path: root/config/python.m4
diff options
context:
space:
mode:
authorPeter Eisentraut2015-05-02 01:38:21 +0000
committerPeter Eisentraut2015-05-02 01:38:21 +0000
commitd664a10f9623fd2198b257e513bce849d439a773 (patch)
tree122918562558012874096a6dc041f186df4252cd /config/python.m4
parent77477e745be534c5925cf7cb8b9c6a7698c575a3 (diff)
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.
Diffstat (limited to 'config/python.m4')
-rw-r--r--config/python.m41
1 files changed, 0 insertions, 1 deletions
diff --git a/config/python.m4 b/config/python.m4
index 7012c536d79..c8f784ed47d 100644
--- a/config/python.m4
+++ b/config/python.m4
@@ -93,7 +93,6 @@ AC_MSG_RESULT([${python_libspec} ${python_additional_libs}])
AC_SUBST(python_libdir)[]dnl
AC_SUBST(python_libspec)[]dnl
AC_SUBST(python_additional_libs)[]dnl
-AC_SUBST(python_enable_shared)[]dnl
# threaded python is not supported on OpenBSD
AC_MSG_CHECKING(whether Python is compiled with thread support)