aboutsummaryrefslogtreecommitdiff
path: root/config/python.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/python.m4')
-rw-r--r--config/python.m414
1 files changed, 0 insertions, 14 deletions
diff --git a/config/python.m4 b/config/python.m4
index 2c3afae315c..bd0ac103c93 100644
--- a/config/python.m4
+++ b/config/python.m4
@@ -85,18 +85,4 @@ AC_SUBST(python_libdir)[]dnl
AC_SUBST(python_libspec)[]dnl
AC_SUBST(python_additional_libs)[]dnl
-# threaded python is not supported on OpenBSD
-AC_MSG_CHECKING(whether Python is compiled with thread support)
-pythreads=`${PYTHON} -c "import sys; print(int('thread' in sys.builtin_module_names))"`
-if test "$pythreads" = "1"; then
- AC_MSG_RESULT(yes)
- case $host_os in
- openbsd*)
- AC_MSG_ERROR([threaded Python not supported on this platform])
- ;;
- esac
-else
- AC_MSG_RESULT(no)
-fi
-
])# PGAC_CHECK_PYTHON_EMBED_SETUP