Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc0efc2c

Browse files
committed
Don't reject threaded Python on FreeBSD.
According to Chris Rees, this has worked for awhile, and the currentFreeBSD port is removing the test anyway.
1 parent83fcaff commitc0efc2c

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 onbsd's
88+
# threaded python is not supported onOpenBSD
8989
AC_MSG_CHECKING(whetherPythoniscompiledwiththreadsupport)
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
@@ -7401,15 +7401,15 @@ python_additional_libs=`${PYTHON} -c "import distutils.sysconfig; print(' '.join
74017401
$as_echo "${python_libspec} ${python_additional_libs}" >&6; }
74027402

74037403

7404-
# threaded python is not supported onbsd's
7404+
# threaded python is not supported onOpenBSD
74057405
{ $as_echo "$as_me:$LINENO: checking whether Python is compiled with thread support" >&5
74067406
$as_echo_n "checking whether Python is compiled with thread support... " >&6; }
74077407
pythreads=`${PYTHON} -c "import sys; print(int('thread' in sys.builtin_module_names))"`
74087408
if test "$pythreads" = "1"; then
74097409
{ $as_echo "$as_me:$LINENO: result: yes" >&5
74107410
$as_echo "yes" >&6; }
74117411
case $host_os in
7412-
openbsd*|freebsd*)
7412+
openbsd*)
74137413
{ { $as_echo "$as_me:$LINENO: error: threaded Python not supported on this platform" >&5
74147414
$as_echo "$as_me: error: threaded Python not supported on this platform" >&2;}
74157415
{ (exit 1); exit 1; }; }

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp