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

Commit4784794

Browse files
committed
Enable threaded python builds on freebsd5, per report from Jim C. Nasby
1 parent12ee2b9 commit4784794

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎config/python.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Autoconf macros for configuring the build of Python extension modules
33
#
4-
# $PostgreSQL: pgsql/config/python.m4,v 1.12 2005/09/26 16:48:28 momjian Exp $
4+
# $PostgreSQL: pgsql/config/python.m4,v 1.13 2005/10/13 20:40:04 momjian Exp $
55
#
66

77
# PGAC_PATH_PYTHON
@@ -84,7 +84,7 @@ pythreads=`${PYTHON} -c "import sys; print int('thread' in sys.builtin_module_na
8484
if test "$pythreads" = "1"; then
8585
AC_MSG_RESULT(yes)
8686
case $host_os in
87-
openbsd*|freebsd*)
87+
openbsd*|freebsd4*)
8888
AC_MSG_ERROR([*** Threaded Python not supported on this platform ***])
8989
;;
9090
esac

‎configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4698,7 +4698,7 @@ if test "$pythreads" = "1"; then
46984698
echo "$as_me:$LINENO: result: yes" >&5
46994699
echo "${ECHO_T}yes" >&6
47004700
case $host_os in
4701-
openbsd*|freebsd*)
4701+
openbsd*|freebsd4*)
47024702
{ { echo "$as_me:$LINENO: error: *** Threaded Python not supported on this platform ***" >&5
47034703
echo "$as_me: error: *** Threaded Python not supported on this platform ***" >&2;}
47044704
{ (exit 1); exit 1; }; }

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp