[Python-checkins] CVS: python/dist/src configure,1.151,1.152 configure.in,1.161,1.162
Guido van Rossum
python-dev@python.org
Fri, 22 Sep 2000 12:41:59 -0700
Update of /cvsroot/python/python/dist/src
In directory slayer.i.sourceforge.net:/tmp/cvs-serv2038
Modified Files:
configure configure.in
Log Message:
Poke-and-hope attempt to fix Bugs #115006 and #114324: fix the test
for pthread_t (to calculate its size) to work even if pthread_t is a
struct.
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.151
retrieving revision 1.152
diff -C2 -r1.151 -r1.152
*** configure 2000/09/22 16:15:54 1.151
--- configure 2000/09/22 19:41:55 1.152
***************
*** 1,5 ****
#! /bin/sh
! # From configure.in Revision: 1.161
# Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
#! /bin/sh
! # From configure.in Revision: 1.162
# Guess values for system-dependent variables and create Makefiles.
***************
*** 770,774 ****
echo "$ac_t""$with_cxx" 1>&6
! SET_CXX="CXX = $CXX"
#AC_MSG_CHECKING(CCC)
--- 770,774 ----
echo "$ac_t""$with_cxx" 1>&6
! SET_CXX="CXX=$CXX"
#AC_MSG_CHECKING(CCC)
***************
*** 2523,2527 ****
#include <pthread.h>
int main() {
! pthread_t x; x = (pthread_t)0;
; return 0; }
EOF
--- 2523,2527 ----
#include <pthread.h>
int main() {
! pthread_t x; x = *(pthread_t)*0;
; return 0; }
EOF
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.161
retrieving revision 1.162
diff -C2 -r1.161 -r1.162
*** configure.in 2000/09/22 16:15:54 1.161
--- configure.in 2000/09/22 19:41:56 1.162
***************
*** 171,175 ****
])
AC_MSG_RESULT($with_cxx)
! SET_CXX="CXX = $CXX"
#AC_MSG_CHECKING(CCC)
--- 171,175 ----
])
AC_MSG_RESULT($with_cxx)
! SET_CXX="CXX=$CXX"
#AC_MSG_CHECKING(CCC)
***************
*** 478,482 ****
AC_MSG_CHECKING(for pthread_t)
have_pthread_t=no
! AC_TRY_COMPILE([#include <pthread.h>], [pthread_t x; x = (pthread_t)0;], have_pthread_t=yes)
AC_MSG_RESULT($have_pthread_t)
if test "$have_pthread_t" = yes ; then
--- 478,482 ----
AC_MSG_CHECKING(for pthread_t)
have_pthread_t=no
! AC_TRY_COMPILE([#include <pthread.h>], [pthread_t x; x = *(pthread_t)*0;], have_pthread_t=yes)
AC_MSG_RESULT($have_pthread_t)
if test "$have_pthread_t" = yes ; then