Issue #9700: define HAVE_BROKEN_POSIX_SEMAPHORES under AIX 6.x. Patch by

Sébastien Sablé.
This commit is contained in:
Antoine Pitrou 2010-08-30 14:52:00 +00:00
parent 33856de84d
commit 33a299428d
4 changed files with 12 additions and 1 deletions

View File

@ -705,6 +705,7 @@ Jeff Rush
Sam Rushing
Mark Russell
Nick Russo
Sébastien Sablé
Hajime Saitou
George Sakkis
Rich Salz

View File

@ -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.

6
configure vendored
View File

@ -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

View 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)