]> granicus.if.org Git - python/commitdiff
Bug #1234: Fixed semaphore errors on AIX 5.2
authorChristian Heimes <christian@cheimes.de>
Wed, 30 Jan 2008 22:54:18 +0000 (22:54 +0000)
committerChristian Heimes <christian@cheimes.de>
Wed, 30 Jan 2008 22:54:18 +0000 (22:54 +0000)
Misc/NEWS
configure
configure.in

index ce4a31247bb633ed7e1b2a7da87889fbedd6f811..7b36919c9e82f0095a974f1bd5e07280b91c1571 100644 (file)
--- 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
index 843e0b5523a55bbc75d537c46b3bfa2557d1565b..1a7dfc43d3ed5347a3e11cf2a3c5c06b9066b955 100755 (executable)
--- 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
 
                       ;;
index 64699ffaf238469b2bd785584c3a845a08c16851..2ee47445b68c5daeae1e6909b4b1777a6f9a0d83 100644 (file)
@@ -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)