[Python-checkins] python/dist/src configure,1.375,1.376 configure.in,1.386,1.387 pyconfig.h.in,1.69,1.70
loewis@users.sourceforge.net
loewis@users.sourceforge.net
2003年1月21日 02:14:43 -0800
Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1:/tmp/cvs-serv25008
Modified Files:
configure configure.in pyconfig.h.in
Log Message:
Don't use Posix semaphores on Solaris 8. Fixes #662787.
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.375
retrieving revision 1.376
diff -C2 -d -r1.375 -r1.376
*** configure 20 Jan 2003 10:47:48 -0000 1.375
--- configure 21 Jan 2003 10:14:39 -0000 1.376
***************
*** 1,4 ****
#! /bin/sh
! # From configure.in Revision: 1.385 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3.
--- 1,4 ----
#! /bin/sh
! # 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,11135 ****
--- 11132,11144 ----
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
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.386
retrieving revision 1.387
diff -C2 -d -r1.386 -r1.387
*** configure.in 20 Jan 2003 10:47:47 -0000 1.386
--- configure.in 21 Jan 2003 10:14:40 -0000 1.387
***************
*** 1448,1451 ****
--- 1448,1457 ----
fi
+ # Bug 662787: Using semaphores causes unexplicable hangs on Solaris 8.
+ case $ac_sys_system/$ac_sys_release in
+ SunOS/5.8) 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)
AC_CACHE_VAL(ac_cv_pthread_system_supported,
Index: pyconfig.h.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/pyconfig.h.in,v
retrieving revision 1.69
retrieving revision 1.70
diff -C2 -d -r1.69 -r1.70
*** pyconfig.h.in 7 Jan 2003 22:42:49 -0000 1.69
--- pyconfig.h.in 21 Jan 2003 10:14:40 -0000 1.70
***************
*** 45,48 ****
--- 45,51 ----
#undef HAVE_BROKEN_NICE
+ /* Define if the Posix semaphores do not work on your system */
+ #undef HAVE_BROKEN_POSIX_SEMAPHORES
+
/* Define to 1 if you have the `chown' function. */
#undef HAVE_CHOWN