[Python-checkins] python/dist/src configure,1.338,1.339 configure.in,1.349,1.350 pyconfig.h.in,1.49,1.50

loewis@users.sourceforge.net loewis@users.sourceforge.net
2002年10月04日 00:21:26 -0700


Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv31341
Modified Files:
	configure configure.in pyconfig.h.in 
Log Message:
Patch #618347: Work around Solaris 2.6 pthread.h bug. Will backport to 2.2.
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.338
retrieving revision 1.339
diff -C2 -d -r1.338 -r1.339
*** configure	30 Sep 2002 16:19:47 -0000	1.338
--- configure	4 Oct 2002 07:21:21 -0000	1.339
***************
*** 1,4 ****
 #! /bin/sh
! # From configure.in Revision: 1.348 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.53.
--- 1,4 ----
 #! /bin/sh
! # From configure.in Revision: 1.349 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.53.
***************
*** 10886,10889 ****
--- 10886,10900 ----
 esac
 fi
+ 
+ if test "$posix_threads" = yes -a \
+ 		"$ac_sys_system" = "SunOS" -a \
+ 		"$ac_sys_release" = "5.6"; then
+ 
+ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_PTHREAD_DESTRUCTOR 1
+ _ACEOF
+ 
+ 	fi
+ 
 fi
 
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.349
retrieving revision 1.350
diff -C2 -d -r1.349 -r1.350
*** configure.in	30 Sep 2002 16:19:47 -0000	1.349
--- configure.in	4 Oct 2002 07:21:24 -0000	1.350
***************
*** 1327,1330 ****
--- 1327,1338 ----
 esac
 fi
+ 
+ if test "$posix_threads" = yes -a \
+ 		"$ac_sys_system" = "SunOS" -a \
+ 		"$ac_sys_release" = "5.6"; then
+ 		AC_DEFINE(HAVE_PTHREAD_DESTRUCTOR, 1,
+ 		[Defined for Solaris 2.6 bug in pthread header.])
+ 	fi
+ 
 fi
 
Index: pyconfig.h.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/pyconfig.h.in,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -d -r1.49 -r1.50
*** pyconfig.h.in	10 Sep 2002 09:16:13 -0000	1.49
--- pyconfig.h.in	4 Oct 2002 07:21:24 -0000	1.50
***************
*** 305,308 ****
--- 305,311 ----
 #undef HAVE_PTH
 
+ /* Defined for Solaris 2.6 bug in pthread header. */
+ #undef HAVE_PTHREAD_DESTRUCTOR
+ 
 /* Define to 1 if you have the <pthread.h> header file. */
 #undef HAVE_PTHREAD_H

AltStyle によって変換されたページ (->オリジナル) /