[Python-checkins] CVS: python/dist/src configure,1.286,1.287 configure.in,1.296,1.297

Martin v. L?wis loewis@users.sourceforge.net
Fri, 15 Mar 2002 05:48:23 -0800


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

Modified Files:
	configure configure.in 
Log Message:
Patch  527434: Avoid double inclusion of thread.o on Sol2.8.


Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.286
retrieving revision 1.287
diff -C2 -d -r1.286 -r1.287
*** configure	12 Mar 2002 15:25:52 -0000	1.286
--- configure	15 Mar 2002 13:48:19 -0000	1.287
***************
*** 1,5 ****
  #! /bin/sh
  
! # From configure.in Revision: 1.295 
  
  # Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
  #! /bin/sh
  
! # From configure.in Revision: 1.296 
  
[...2439 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 7548 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
***************
*** 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
--- 7601,7605 ----
  SRCDIRS="Parser Grammar Objects Python Modules"
  echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:7604: checking for build directories" >&5
  for dir in $SRCDIRS; do
      if test ! -d $dir; then

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.296
retrieving revision 1.297
diff -C2 -d -r1.296 -r1.297
*** configure.in	12 Mar 2002 15:25:52 -0000	1.296
--- configure.in	15 Mar 2002 13:48:21 -0000	1.297
***************
*** 1134,1141 ****
      LIBOBJS="$LIBOBJS thread.o"
      USE_THREAD_MODULE=""])
!     AC_CHECK_LIB(thread, thr_create, [AC_DEFINE(WITH_THREAD)
!     LIBS="$LIBS -lthread"
!     LIBOBJS="$LIBOBJS thread.o"
!     USE_THREAD_MODULE=""])
  
      if test "$USE_THREAD_MODULE" != "#"
--- 1134,1144 ----
      LIBOBJS="$LIBOBJS thread.o"
      USE_THREAD_MODULE=""])
! 
!     if test $posix_threads != "yes"; then     
!       AC_CHECK_LIB(thread, thr_create, [AC_DEFINE(WITH_THREAD)
!       LIBS="$LIBS -lthread"
!       LIBOBJS="$LIBOBJS thread.o"
!       USE_THREAD_MODULE=""])
!     fi
  
      if test "$USE_THREAD_MODULE" != "#"