Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f22bd15

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 d3158f3 commit f22bd15

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
@@ -85,13 +85,13 @@ AC_SUBST(python_libdir)[]dnl
8585
AC_SUBST(python_libspec)[]dnl
8686
AC_SUBST(python_additional_libs)[]dnl
8787
88-
# threaded python is not supported on bsd's
88+
# threaded python is not supported on OpenBSD
8989
AC_MSG_CHECKING(whether Python is compiled with thread support)
9090
pythreads=`${PYTHON} -c "import sys; print(int('thread' in sys.builtin_module_names))"`
9191
if test "$pythreads" = "1"; then
9292
AC_MSG_RESULT(yes)
9393
case $host_os in
94-
openbsd*|freebsd*)
94+
openbsd*)
9595
AC_MSG_ERROR([threaded Python not supported on this platform])
9696
;;
9797
esac

configure

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

73437343

7344-
# threaded python is not supported on bsd's
7344+
# threaded python is not supported on OpenBSD
73457345
{ $as_echo "$as_me:$LINENO: checking whether Python is compiled with thread support" >&5
73467346
$as_echo_n "checking whether Python is compiled with thread support... " >&6; }
73477347
pythreads=`${PYTHON} -c "import sys; print(int('thread' in sys.builtin_module_names))"`
73487348
if test "$pythreads" = "1"; then
73497349
{ $as_echo "$as_me:$LINENO: result: yes" >&5
73507350
$as_echo "yes" >&6; }
73517351
case $host_os in
7352-
openbsd*|freebsd*)
7352+
openbsd*)
73537353
{ { $as_echo "$as_me:$LINENO: error: threaded Python not supported on this platform" >&5
73547354
$as_echo "$as_me: error: threaded Python not supported on this platform" >&2;}
73557355
{ (exit 1); exit 1; }; }

0 commit comments

Comments
 (0)