summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-01-30 22:54:18 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-01-30 22:54:18 (GMT)
commitcba36bbe65c5df5d2a16d7780beceb2faefb6c75 (patch)
tree86ac7bd35094e4f827cb1861a32422a972b735e1
parenta44327a9a226619a4eb0e658d30211baf920480b (diff)
downloadcpython-cba36bbe65c5df5d2a16d7780beceb2faefb6c75.zip
cpython-cba36bbe65c5df5d2a16d7780beceb2faefb6c75.tar.gz
cpython-cba36bbe65c5df5d2a16d7780beceb2faefb6c75.tar.bz2
Bug #1234: Fixed semaphore errors on AIX 5.2
-rw-r--r--Misc/NEWS2
-rwxr-xr-xconfigure8
-rw-r--r--configure.in3
3 files changed, 12 insertions, 1 deletions
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)