From 33a299428d1adc12b57d2ba0ee89c9393f08834a Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Mon, 30 Aug 2010 14:52:00 +0000 Subject: [PATCH] =?UTF-8?q?Issue=20#9700:=20define=20HAVE=5FBROKEN=5FPOSIX?= =?UTF-8?q?=5FSEMAPHORES=20under=20AIX=206.x.=20=20Patch=20by=20S=C3=A9bas?= =?UTF-8?q?tien=20Sabl=C3=A9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Misc/ACKS | 1 + Misc/NEWS | 3 +++ configure | 6 +++++- configure.in | 3 +++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Misc/ACKS b/Misc/ACKS index 0ab67dda60d..d841e1ad27d 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -705,6 +705,7 @@ Jeff Rush Sam Rushing Mark Russell Nick Russo +Sébastien Sablé Hajime Saitou George Sakkis Rich Salz diff --git a/Misc/NEWS b/Misc/NEWS index 574cf1cc7bf..32d26ff8b13 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -347,6 +347,9 @@ Tests Build ----- +- Issue #9700: define HAVE_BROKEN_POSIX_SEMAPHORES under AIX 6.x. Patch by + Sébastien Sablé. + - Don't run pgen twice when using make -j. diff --git a/configure b/configure index 9c9b9747629..4dd233207e9 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 83580 . +# From configure.in Revision: 83986 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.65 for python 3.2. # @@ -8745,6 +8745,10 @@ $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h ;; + AIX/6) +$as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h + + ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5 diff --git a/configure.in b/configure.in index eb753bb93fa..f36b28c453e 100644 --- a/configure.in +++ b/configure.in @@ -2226,6 +2226,9 @@ if test "$posix_threads" = "yes"; then AIX/5) AC_DEFINE(HAVE_BROKEN_POSIX_SEMAPHORES, 1, [Define if the Posix semaphores do not work on your system]) ;; + AIX/6) 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)