Skip to content

Commit 29f65a8

Browse files
committed
Don't reject threaded Python on FreeBSD.
According to Chris Rees, this has worked for awhile, and the current FreeBSD port is removing the test anyway.
1 parent 1fee1bf commit 29f65a8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

config/python.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ AC_SUBST(python_libdir)[]dnl
8080
AC_SUBST(python_libspec)[]dnl
8181
AC_SUBST(python_additional_libs)[]dnl
8282
83-
# threaded python is not supported on bsd's
83+
# threaded python is not supported on OpenBSD
8484
AC_MSG_CHECKING(whether Python is compiled with thread support)
8585
pythreads=`${PYTHON} -c "import sys; print(int('thread' in sys.builtin_module_names))"`
8686
if test "$pythreads" = "1"; then
8787
AC_MSG_RESULT(yes)
8888
case $host_os in
89-
openbsd*|freebsd*)
89+
openbsd*)
9090
AC_MSG_ERROR([threaded Python not supported on this platform])
9191
;;
9292
esac

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7094,15 +7094,15 @@ python_additional_libs=`${PYTHON} -c "import distutils.sysconfig,string; print('
70947094
$as_echo "${python_libspec} ${python_additional_libs}" >&6; }
70957095

70967096

7097-
# threaded python is not supported on bsd's
7097+
# threaded python is not supported on OpenBSD
70987098
{ $as_echo "$as_me:$LINENO: checking whether Python is compiled with thread support" >&5
70997099
$as_echo_n "checking whether Python is compiled with thread support... " >&6; }
71007100
pythreads=`${PYTHON} -c "import sys; print(int('thread' in sys.builtin_module_names))"`
71017101
if test "$pythreads" = "1"; then
71027102
{ $as_echo "$as_me:$LINENO: result: yes" >&5
71037103
$as_echo "yes" >&6; }
71047104
case $host_os in
7105-
openbsd*|freebsd*)
7105+
openbsd*)
71067106
{ { $as_echo "$as_me:$LINENO: error: threaded Python not supported on this platform" >&5
71077107
$as_echo "$as_me: error: threaded Python not supported on this platform" >&2;}
71087108
{ (exit 1); exit 1; }; }

0 commit comments

Comments
 (0)