[Python-checkins] CVS: python/dist/src configure.in,1.230,1.231 configure,1.222,1.223

Martin v. L?wis loewis@users.sourceforge.net
Thu, 19 Jul 2001 07:21:15 -0700


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

Modified Files:
	configure.in configure 
Log Message:
Use -Kpthread when trying to find out the size of pthread_t.


Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.230
retrieving revision 1.231
diff -C2 -r1.230 -r1.231
*** configure.in	2001/07/19 11:00:40	1.230
--- configure.in	2001/07/19 14:21:10	1.231
***************
*** 647,650 ****
--- 647,654 ----
  
  # if have pthread_t then define SIZEOF_PTHREAD_T
+ ac_save_cc="$CC"
+ if test "$ac_cv_kpthread" = "yes"
+ then CC="$CC -Kpthread"
+ fi
  AC_MSG_CHECKING(for pthread_t)
  have_pthread_t=no
***************
*** 668,672 ****
    AC_DEFINE_UNQUOTED(SIZEOF_PTHREAD_T, $ac_cv_sizeof_pthread_t)
  fi
! 
  
  # Minor variations in building a framework between NextStep versions 4 and 5
--- 672,676 ----
    AC_DEFINE_UNQUOTED(SIZEOF_PTHREAD_T, $ac_cv_sizeof_pthread_t)
  fi
! CC="$ac_save_cc"
  
  # Minor variations in building a framework between NextStep versions 4 and 5

Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.222
retrieving revision 1.223
diff -C2 -r1.222 -r1.223
*** configure	2001/07/19 11:00:40	1.222
--- configure	2001/07/19 14:21:10	1.223
***************
*** 1,5 ****
  #! /bin/sh
  
! # From configure.in Revision: 1.229 
  
  # Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
  #! /bin/sh
  
! # From configure.in Revision: 1.230 
  
[...2882 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 6955 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
***************
*** 6997,7001 ****
  SRCDIRS="Parser Grammar Objects Python Modules"
  echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:7000: checking for build directories" >&5
  for dir in $SRCDIRS; do
      if test ! -d $dir; then
--- 7001,7005 ----
  SRCDIRS="Parser Grammar Objects Python Modules"
  echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:7004: checking for build directories" >&5
  for dir in $SRCDIRS; do
      if test ! -d $dir; then