mirror of
https://github.com/postgres/postgres.git
synced 2025-05-12 00:01:58 -04:00
Enable threaded python builds on freebsd5, per report from Jim C. Nasby
This commit is contained in:
parent
12ee2b98ce
commit
4784794279
@ -1,7 +1,7 @@
|
||||
#
|
||||
# Autoconf macros for configuring the build of Python extension modules
|
||||
#
|
||||
# $PostgreSQL: pgsql/config/python.m4,v 1.12 2005/09/26 16:48:28 momjian Exp $
|
||||
# $PostgreSQL: pgsql/config/python.m4,v 1.13 2005/10/13 20:40:04 momjian Exp $
|
||||
#
|
||||
|
||||
# PGAC_PATH_PYTHON
|
||||
@ -84,7 +84,7 @@ pythreads=`${PYTHON} -c "import sys; print int('thread' in sys.builtin_module_na
|
||||
if test "$pythreads" = "1"; then
|
||||
AC_MSG_RESULT(yes)
|
||||
case $host_os in
|
||||
openbsd*|freebsd*)
|
||||
openbsd*|freebsd4*)
|
||||
AC_MSG_ERROR([*** Threaded Python not supported on this platform ***])
|
||||
;;
|
||||
esac
|
||||
|
2
configure
vendored
2
configure
vendored
@ -4698,7 +4698,7 @@ if test "$pythreads" = "1"; then
|
||||
echo "$as_me:$LINENO: result: yes" >&5
|
||||
echo "${ECHO_T}yes" >&6
|
||||
case $host_os in
|
||||
openbsd*|freebsd*)
|
||||
openbsd*|freebsd4*)
|
||||
{ { echo "$as_me:$LINENO: error: *** Threaded Python not supported on this platform ***" >&5
|
||||
echo "$as_me: error: *** Threaded Python not supported on this platform ***" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user