Commit 47847942 authored by Bruce Momjian's avatar Bruce Momjian

Enable threaded python builds on freebsd5, per report from Jim C. Nasby

parent 12ee2b98
# #
# Autoconf macros for configuring the build of Python extension modules # 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 # PGAC_PATH_PYTHON
...@@ -84,7 +84,7 @@ pythreads=`${PYTHON} -c "import sys; print int('thread' in sys.builtin_module_na ...@@ -84,7 +84,7 @@ pythreads=`${PYTHON} -c "import sys; print int('thread' in sys.builtin_module_na
if test "$pythreads" = "1"; then if test "$pythreads" = "1"; then
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
case $host_os in case $host_os in
openbsd*|freebsd*) openbsd*|freebsd4*)
AC_MSG_ERROR([*** Threaded Python not supported on this platform ***]) AC_MSG_ERROR([*** Threaded Python not supported on this platform ***])
;; ;;
esac esac
......
...@@ -4698,7 +4698,7 @@ if test "$pythreads" = "1"; then ...@@ -4698,7 +4698,7 @@ if test "$pythreads" = "1"; then
echo "$as_me:$LINENO: result: yes" >&5 echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6 echo "${ECHO_T}yes" >&6
case $host_os in case $host_os in
openbsd*|freebsd*) openbsd*|freebsd4*)
{ { echo "$as_me:$LINENO: error: *** Threaded Python not supported on this platform ***" >&5 { { 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;} echo "$as_me: error: *** Threaded Python not supported on this platform ***" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment