[Python-checkins] CVS: python/dist/src configure,1.137,1.138 configure.in,1.148,1.149

Thomas Wouters python-dev@python.org
Sat, 26 Aug 2000 04:33:46 -0700


Update of /cvsroot/python/python/dist/src
In directory slayer.i.sourceforge.net:/tmp/cvs-serv4068

Modified Files:
	configure configure.in 
Log Message:

Don't enable the 'thread' module if threads are not possible.



Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.137
retrieving revision 1.138
diff -C2 -r1.137 -r1.138
*** configure	2000/08/25 01:14:08	1.137
--- configure	2000/08/26 11:33:43	1.138
***************
*** 1,5 ****
  #! /bin/sh
  
! # From configure.in Revision: 1.147 
  
  # Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
  #! /bin/sh
  
! # From configure.in Revision: 1.148 
  
[...1793 lines suppressed...]
  echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
! echo "configure:5776: checking for socklen_t" >&5
  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 5781 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
--- 5777,5786 ----
  EOF
  echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
! echo "configure:5780: checking for socklen_t" >&5
  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 5785 "configure"
  #include "confdefs.h"
  #include <sys/types.h>

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.148
retrieving revision 1.149
diff -C2 -r1.148 -r1.149
*** configure.in	2000/08/25 01:14:07	1.148
--- configure.in	2000/08/26 11:33:43	1.149
***************
*** 766,778 ****
      AC_DEFINE(_POSIX_THREADS)
      LIBS="$LIBS -lcma"
!     LIBOBJS="$LIBOBJS thread.o"])
      ])])])])])])])])
  
      AC_CHECK_LIB(mpc, usconfig, [AC_DEFINE(WITH_THREAD)
      LIBS="$LIBS -lmpc"
!     LIBOBJS="$LIBOBJS thread.o"])
      AC_CHECK_LIB(thread, thr_create, [AC_DEFINE(WITH_THREAD)
      LIBS="$LIBS -lthread"
!     LIBOBJS="$LIBOBJS thread.o"])
  fi
  
--- 766,781 ----
      AC_DEFINE(_POSIX_THREADS)
      LIBS="$LIBS -lcma"
!     LIBOBJS="$LIBOBJS thread.o"],[
!     USE_THREAD_MODULE="#"])
      ])])])])])])])])
  
      AC_CHECK_LIB(mpc, usconfig, [AC_DEFINE(WITH_THREAD)
      LIBS="$LIBS -lmpc"
!     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=""])
  fi