From cba36bbe65c5df5d2a16d7780beceb2faefb6c75 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 30 Jan 2008 22:54:18 +0000 Subject: Bug #1234: Fixed semaphore errors on AIX 5.2 --- Misc/NEWS | 2 ++ configure | 8 +++++++- configure.in | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Misc/NEWS b/Misc/NEWS index ce4a312..7b36919 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -1383,6 +1383,8 @@ Tools/Demos Build ----- +- Bug #1234: Fixed semaphore errors on AIX 5.2 + - Issue #1726: Remove Python/atof.c from PCBuild/pythoncore.vcproj - Removed PCbuild8/ directory and added a new build directory for VS 2005 diff --git a/configure b/configure index 843e0b5..1a7dfc4 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 59819 . +# From configure.in Revision: 60141 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for python 2.6. # @@ -14391,6 +14391,12 @@ cat >>confdefs.h <<\_ACEOF _ACEOF ;; + AIX/5) +cat >>confdefs.h <<\_ACEOF +#define HAVE_BROKEN_POSIX_SEMAPHORES 1 +_ACEOF + + ;; esac { echo "$as_me:$LINENO: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5 diff --git a/configure.in b/configure.in index 64699ff..2ee4744 100644 --- a/configure.in +++ b/configure.in @@ -1993,6 +1993,9 @@ if test "$posix_threads" = "yes"; then SunOS/5.8) AC_DEFINE(HAVE_BROKEN_POSIX_SEMAPHORES, 1, Define if the Posix semaphores do not work on your system) ;; + AIX/5) AC_DEFINE(HAVE_BROKEN_POSIX_SEMAPHORES, 1, + Define if the Posix semaphores do not work on your system) + ;; esac AC_MSG_CHECKING(if PTHREAD_SCOPE_SYSTEM is supported) -- cgit v0.12