[Python-checkins] CVS: python/dist/src configure.in,1.293,1.294 configure,1.284,1.285

Jack Jansen jackjansen@users.sourceforge.net
Fri, 08 Mar 2002 05:43:04 -0800


Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv26013

Modified Files:
	configure.in configure 
Log Message:
When testing for availability of pthreads without special compiler options
or libraries also look for thread_detach. SGI has thread_create in libc
but complete pthread support only in -lpthread. Fixes #522393.

2.2.1 candidate.Killed by signal 2.



Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.293
retrieving revision 1.294
diff -C2 -d -r1.293 -r1.294
*** configure.in	7 Mar 2002 09:58:56 -0000	1.293
--- configure.in	8 Mar 2002 13:43:01 -0000	1.294
***************
*** 466,469 ****
--- 466,470 ----
    if(pthread_create(&p,NULL,routine,NULL)!=0)
      return 1;
+   (void)pthread_detach(p);
    return 0;
  }
***************
*** 498,501 ****
--- 499,503 ----
    if(pthread_create(&p,NULL,routine,NULL)!=0)
      return 1;
+   (void)pthread_detach(p);
    return 0;
  }

Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.284
retrieving revision 1.285
diff -C2 -d -r1.284 -r1.285
*** configure	7 Mar 2002 09:59:15 -0000	1.284
--- configure	8 Mar 2002 13:43:01 -0000	1.285
***************
*** 1,5 ****
  #! /bin/sh
  
! # From configure.in Revision: 1.292 
  
  # Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
  #! /bin/sh
  
! # From configure.in Revision: 1.293 
  
[...4383 lines suppressed...]
  if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
    cat > conftest.$ac_ext <<EOF
! #line 7545 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
***************
*** 7596,7600 ****
  SRCDIRS="Parser Grammar Objects Python Modules"
  echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:7599: checking for build directories" >&5
  for dir in $SRCDIRS; do
      if test ! -d $dir; then
--- 7598,7602 ----
  SRCDIRS="Parser Grammar Objects Python Modules"
  echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:7601: checking for build directories" >&5
  for dir in $SRCDIRS; do
      if test ! -d $dir; then