diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2009-12-15 22:59:55 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2009-12-15 22:59:55 +0000 |
commit | dd4cd55c15886c46378dc27f44f59a6de8c4d45b (patch) | |
tree | 021133526bdb9db2cb6968f0eecde686d008eb1b /configure | |
parent | 21d11e7ee2d9fb47fc06b53f8e54fe07e7f1c18a (diff) | |
download | postgresql-dd4cd55c15886c46378dc27f44f59a6de8c4d45b.tar.gz |
Python 3 support in PL/Python
Behaves more or less unchanged compared to Python 2, but the new language
variant is called plpython3u. Documentation describing the naming scheme
is included.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -677,6 +677,7 @@ python_libdir python_includespec python_configdir python_version +python_majorversion PYTHON perl_embed_ldflags perl_useshrplib @@ -6964,6 +6965,7 @@ $as_echo "$as_me: error: distutils module not found" >&2;} fi { $as_echo "$as_me:$LINENO: checking Python configuration directory" >&5 $as_echo_n "checking Python configuration directory... " >&6; } +python_majorversion=`${PYTHON} -c "import sys; print(sys.version[0])"` python_version=`${PYTHON} -c "import sys; print(sys.version[:3])"` python_configdir=`${PYTHON} -c "from distutils.sysconfig import get_python_lib as f; import os; print(os.path.join(f(plat_specific=1,standard_lib=1),'config'))"` python_includespec=`${PYTHON} -c "import distutils.sysconfig; print('-I'+distutils.sysconfig.get_python_inc())"` |