From 478479427993b795a670ab6d2785e46e446d09d6 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 13 Oct 2005 20:40:04 +0000 Subject: [PATCH] Enable threaded python builds on freebsd5, per report from Jim C. Nasby --- config/python.m4 | 4 ++-- configure | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/python.m4 b/config/python.m4 index 40792a3650..1bfc826d50 100644 --- a/config/python.m4 +++ b/config/python.m4 @@ -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 diff --git a/configure b/configure index 8184df24fb..de721917c5 100755 --- a/configure +++ b/configure @@ -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; }; } -- 2.40.0