1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Punt when trying to build with threaded Python on FreeBSD.

Also cut back on excessive use of *** to decorate configure error messages.
If it's an error message, you are sure to see it without any decoration.
This commit is contained in:
Peter Eisentraut
2006-10-16 17:24:54 +00:00
parent e0dece127d
commit 6ab23dabf5
3 changed files with 76 additions and 94 deletions

View File

@ -1,7 +1,7 @@
#
# Autoconf macros for configuring the build of Python extension modules
#
# $PostgreSQL: pgsql/config/python.m4,v 1.13 2005/10/13 20:40:04 momjian Exp $
# $PostgreSQL: pgsql/config/python.m4,v 1.14 2006/10/16 17:24:54 petere Exp $
#
# PGAC_PATH_PYTHON
@ -84,8 +84,8 @@ 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*|freebsd4*)
AC_MSG_ERROR([*** Threaded Python not supported on this platform ***])
openbsd*|freebsd*)
AC_MSG_ERROR([threaded Python not supported on this platform])
;;
esac
else