From: Christian Heimes Date: Wed, 30 Jan 2008 22:54:18 +0000 (+0000) Subject: Bug #1234: Fixed semaphore errors on AIX 5.2 X-Git-Tag: v2.6a1~335 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cba36bbe65c5df5d2a16d7780beceb2faefb6c75;p=python Bug #1234: Fixed semaphore errors on AIX 5.2 --- diff --git a/Misc/NEWS b/Misc/NEWS index ce4a31247b..7b36919c9e 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 843e0b5523..1a7dfc43d3 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. # @@ -14388,6 +14388,12 @@ _ACEOF SunOS/5.8) cat >>confdefs.h <<\_ACEOF #define HAVE_BROKEN_POSIX_SEMAPHORES 1 +_ACEOF + + ;; + AIX/5) +cat >>confdefs.h <<\_ACEOF +#define HAVE_BROKEN_POSIX_SEMAPHORES 1 _ACEOF ;; diff --git a/configure.in b/configure.in index 64699ffaf2..2ee47445b6 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)