aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-01-25 18:35:30 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2022-01-25 18:35:30 -0500
commite2217706619520fc70cb4fb41abf7535956e7bef (patch)
tree856224c8bed9615ffc58f23c822e7f63ccdfbbb2
parente1f860f13459e186479319aa9f65ef184277805f (diff)
downloadpostgresql-e2217706619520fc70cb4fb41abf7535956e7bef.tar.gz
postgresql-e2217706619520fc70cb4fb41abf7535956e7bef.zip
Revert "Temporarily add some information about python include paths to configure."
This reverts commit f032f63e727c1ab07603b3d1cd88d50f850d5738. We don't need it anymore.
-rw-r--r--config/python.m421
-rwxr-xr-xconfigure23
2 files changed, 0 insertions, 44 deletions
diff --git a/config/python.m4 b/config/python.m4
index 3aa59cf6020..d41aeb2876a 100644
--- a/config/python.m4
+++ b/config/python.m4
@@ -68,27 +68,6 @@ if test "$PORTNAME" = win32 ; then
fi
AC_MSG_RESULT([$python_includespec])
-python_ways=`${PYTHON} -c "
-import distutils.sysconfig as ds
-import os
-import sysconfig as s
-print('ds.get_python_inc(False): %s' % ds.get_python_inc(False))
-print('s path include: %s' % s.get_path('include'))
-print('ds.get_python_inc(True): %s' % ds.get_python_inc(True))
-print('s path platinclude: %s' % s.get_path('platinclude'))
-print('ds var INCLUDEPY: %s' % ds.get_config_var('INCLUDEPY'))
-print('s var INCLUDEPY: %s' % s.get_config_var('INCLUDEPY'))
-print('ds var CONFINCLUDEPY: %s' % ds.get_config_var('CONFINCLUDEPY'))
-print('s var CONFINCLUDEPY: %s' % s.get_config_var('CONFINCLUDEPY'))
-print('')
-print('ds get_python_inc(False)/Python.h exists: %s' % os.path.exists(os.path.join(ds.get_python_inc(False), 'Python.h')))
-print('ds get_python_inc(True)/Python.h exists: %s' % os.path.exists(os.path.join(ds.get_python_inc(True), 'Python.h')))
-print('s var INCLUDEPY/Python.h exists: %s' % os.path.exists(os.path.join(ds.get_config_var('INCLUDEPY'), 'Python.h')))
-print('s var CONFINCLUDEPY/Python.h exists: %s' % os.path.exists(os.path.join(ds.get_config_var('CONFINCLUDEPY'), 'Python.h')))
-"` 2>/dev/null
-AC_MSG_NOTICE([python include paths, different approaches:
-$python_ways])
-
AC_SUBST(python_majorversion)[]dnl
AC_SUBST(python_version)[]dnl
AC_SUBST(python_includespec)[]dnl
diff --git a/configure b/configure
index 841ac41a39b..3f2aea0d7de 100755
--- a/configure
+++ b/configure
@@ -10383,29 +10383,6 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $python_includespec" >&5
$as_echo "$python_includespec" >&6; }
-python_ways=`${PYTHON} -c "
-import distutils.sysconfig as ds
-import os
-import sysconfig as s
-print('ds.get_python_inc(False): %s' % ds.get_python_inc(False))
-print('s path include: %s' % s.get_path('include'))
-print('ds.get_python_inc(True): %s' % ds.get_python_inc(True))
-print('s path platinclude: %s' % s.get_path('platinclude'))
-print('ds var INCLUDEPY: %s' % ds.get_config_var('INCLUDEPY'))
-print('s var INCLUDEPY: %s' % s.get_config_var('INCLUDEPY'))
-print('ds var CONFINCLUDEPY: %s' % ds.get_config_var('CONFINCLUDEPY'))
-print('s var CONFINCLUDEPY: %s' % s.get_config_var('CONFINCLUDEPY'))
-print('')
-print('ds get_python_inc(False)/Python.h exists: %s' % os.path.exists(os.path.join(ds.get_python_inc(False), 'Python.h')))
-print('ds get_python_inc(True)/Python.h exists: %s' % os.path.exists(os.path.join(ds.get_python_inc(True), 'Python.h')))
-print('s var INCLUDEPY/Python.h exists: %s' % os.path.exists(os.path.join(ds.get_config_var('INCLUDEPY'), 'Python.h')))
-print('s var CONFINCLUDEPY/Python.h exists: %s' % os.path.exists(os.path.join(ds.get_config_var('CONFINCLUDEPY'), 'Python.h')))
-"` 2>/dev/null
-{ $as_echo "$as_me:${as_lineno-$LINENO}: python include paths, different approaches:
-$python_ways" >&5
-$as_echo "$as_me: python include paths, different approaches:
-$python_ways" >&6;}
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link an embedded Python application" >&5