]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #9700: define HAVE_BROKEN_POSIX_SEMAPHORES under AIX 6.x. Patch by
authorAntoine Pitrou <solipsis@pitrou.net>
Mon, 30 Aug 2010 14:52:00 +0000 (14:52 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Mon, 30 Aug 2010 14:52:00 +0000 (14:52 +0000)
Sébastien Sablé.

Misc/ACKS
Misc/NEWS
configure
configure.in

index 0ab67dda60db3b0b94033cdbc0dd0752a3ef787c..d841e1ad27d400b58db4d6bdf5b55194dea491c1 100644 (file)
--- 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
index 574cf1cc7bf3c5eeb2effd79c005bcedb810d213..32d26ff8b13c31e34546f7c29c12647996400915 100644 (file)
--- 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.
 
 
index 9c9b9747629ac502f66ccb85b8ad824f6e0a1b54..4dd233207e97b41523f97f52a2c697d31af126fc 100755 (executable)
--- 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
index eb753bb93fa0d9ccf643cb1bc3eabcdf0b81fb78..f36b28c453e8ebd68d2c95e37b5119b0fe3b2b38 100644 (file)
@@ -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)