Skip to content

Commit 4784794

Browse files
committed
Enable threaded python builds on freebsd5, per report from Jim C. Nasby
1 parent 12ee2b9 commit 4784794

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy