summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-01-21 10:14:41 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-01-21 10:14:41 (GMT)
commitdfc33fd8db811feea2bfb974e9da3ed7aea4b10d (patch)
treef087488e9d89546778edc3000e884f63942294ac /configure
parent2da75faa871a1f8b7389c41319e1a1d3926b9852 (diff)
downloadcpython-dfc33fd8db811feea2bfb974e9da3ed7aea4b10d.zip
cpython-dfc33fd8db811feea2bfb974e9da3ed7aea4b10d.tar.gz
cpython-dfc33fd8db811feea2bfb974e9da3ed7aea4b10d.tar.bz2
Don't use Posix semaphores on Solaris 8. Fixes #662787.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure b/configure
index df432d8..c94f2a1 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.385 .
+# From configure.in Revision: 1.386 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3.
#
@@ -11132,6 +11132,15 @@ _ACEOF
fi
+ # Bug 662787: Using semaphores causes unexplicable hangs on Solaris 8.
+ case $ac_sys_system/$ac_sys_release in
+ SunOS/5.8)
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_BROKEN_POSIX_SEMAPHORES 1
+_ACEOF
+;;
+ esac
+
echo "$as_me:$LINENO: checking if PTHREAD_SCOPE_SYSTEM is supported" >&5
echo $ECHO_N "checking if PTHREAD_SCOPE_SYSTEM is supported... $ECHO_C" >&6
if test "${ac_cv_pthread_system_supported+set}" = set; then