Merge - Issue #12372: POSIX semaphores are broken on AIX: don't use them.

This commit is contained in:
Charles-François Natali 2011-07-21 19:49:47 +02:00
commit db57e8d186
3 changed files with 6 additions and 11 deletions

View file

@ -234,6 +234,8 @@ Core and Builtins
Library Library
------- -------
- Issue #12372: POSIX semaphores are broken on AIX: don't use them.
- Issue #12551: Provide a get_channel_binding() method on SSL sockets so as - Issue #12551: Provide a get_channel_binding() method on SSL sockets so as
to get channel binding data for the current SSL session (only the to get channel binding data for the current SSL session (only the
"tls-unique" channel binding is implemented). This allows the implementation "tls-unique" channel binding is implemented). This allows the implementation

6
configure vendored
View file

@ -8800,11 +8800,7 @@ $as_echo "#define HAVE_PTHREAD_DESTRUCTOR 1" >>confdefs.h
$as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
;; ;;
AIX/5) AIX/*)
$as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
;;
AIX/6)
$as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h $as_echo "#define HAVE_BROKEN_POSIX_SEMAPHORES 1" >>confdefs.h
;; ;;

View file

@ -2190,12 +2190,9 @@ if test "$posix_threads" = "yes"; then
SunOS/5.8) AC_DEFINE(HAVE_BROKEN_POSIX_SEMAPHORES, 1, SunOS/5.8) AC_DEFINE(HAVE_BROKEN_POSIX_SEMAPHORES, 1,
[Define if the Posix semaphores do not work on your system]) [Define if the Posix semaphores do not work on your system])
;; ;;
AIX/5) AC_DEFINE(HAVE_BROKEN_POSIX_SEMAPHORES, 1, AIX/*) AC_DEFINE(HAVE_BROKEN_POSIX_SEMAPHORES, 1,
[Define if the Posix semaphores do not work on your system]) [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 esac
AC_MSG_CHECKING(if PTHREAD_SCOPE_SYSTEM is supported) AC_MSG_CHECKING(if PTHREAD_SCOPE_SYSTEM is supported)