[Python-checkins] CVS: python/dist/src acconfig.h,1.28,1.29 config.h.in,2.53,2.54 configure,1.111,1.112 configure.in,1.119,1.120
Guido van Rossum
python-dev@python.org
Mon, 8 May 2000 09:41:41 -0400 (EDT)
Update of /projects/cvsroot/python/dist/src
In directory eric:/projects/python/develop/guido/src
Modified Files:
acconfig.h config.h.in configure configure.in
Log Message:
Andy Dustman: add GNU pth user-space thread support.
Index: acconfig.h
===================================================================
RCS file: /projects/cvsroot/python/dist/src/acconfig.h,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -r1.28 -r1.29
*** acconfig.h 2000/04/24 15:12:03 1.28
--- acconfig.h 2000/05/08 13:41:37 1.29
***************
*** 36,39 ****
--- 36,42 ----
#undef GETTIMEOFDAY_NO_TZ
+ /* Define if you have GNU PTH threads */
+ #undef _GNU_PTH
+
/* Define this if your time.h defines altzone */
#undef HAVE_ALTZONE
Index: config.h.in
===================================================================
RCS file: /projects/cvsroot/python/dist/src/config.h.in,v
retrieving revision 2.53
retrieving revision 2.54
diff -C2 -r2.53 -r2.54
*** config.h.in 2000/04/24 15:12:03 2.53
--- config.h.in 2000/05/08 13:41:37 2.54
***************
*** 104,107 ****
--- 104,110 ----
#undef GETTIMEOFDAY_NO_TZ
+ /* Define if you have GNU PTH threads */
+ #undef _GNU_PTH
+
/* Define this if your time.h defines altzone */
#undef HAVE_ALTZONE
Index: configure
===================================================================
RCS file: /projects/cvsroot/python/dist/src/configure,v
retrieving revision 1.111
retrieving revision 1.112
diff -C2 -r1.111 -r1.112
*** configure 2000/04/24 15:12:03 1.111
--- configure 2000/05/08 13:41:37 1.112
***************
*** 1,5 ****
#! /bin/sh
! # From configure.in Revision: 1.119
# Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
#! /bin/sh
! # From configure.in Revision: 1.120
[...1863 lines suppressed...]
ac_cv_c_bigendian=no
--- 5241,5245 ----
}
EOF
! if { (eval echo configure:5244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_c_bigendian=no
***************
*** 5217,5221 ****
# Check for --with-wctype-functions
echo $ac_n "checking for --with-wctype-functions""... $ac_c" 1>&6
! echo "configure:5220: checking for --with-wctype-functions" >&5
# Check whether --with-wctype-functions or --without-wctype-functions was given.
if test "${with_wctype_functions+set}" = set; then
--- 5267,5271 ----
# Check for --with-wctype-functions
echo $ac_n "checking for --with-wctype-functions""... $ac_c" 1>&6
! echo "configure:5270: checking for --with-wctype-functions" >&5
# Check whether --with-wctype-functions or --without-wctype-functions was given.
if test "${with_wctype_functions+set}" = set; then
Index: configure.in
===================================================================
RCS file: /projects/cvsroot/python/dist/src/configure.in,v
retrieving revision 1.119
retrieving revision 1.120
diff -C2 -r1.119 -r1.120
*** configure.in 2000/04/24 15:12:04 1.119
--- configure.in 2000/05/08 13:41:38 1.120
***************
*** 1,4 ****
dnl Process this file with autoconf 2.0 or later to make a configure script.
! AC_REVISION($Revision: 1.119 $)
AC_PREREQ(2.0)
AC_INIT(Include/object.h)
--- 1,4 ----
dnl Process this file with autoconf 2.0 or later to make a configure script.
! AC_REVISION($Revision: 1.120 $)
AC_PREREQ(2.0)
AC_INIT(Include/object.h)
***************
*** 655,658 ****
--- 655,662 ----
AC_DEFINE(C_THREADS)
LIBOBJS="$LIBOBJS thread.o"],[
+ AC_CHECK_LIB(pth, pth_init, [AC_DEFINE(WITH_THREAD)
+ AC_DEFINE(_GNU_PTH)
+ LIBS="-lpth $LIBS"
+ LIBOBJS="$LIBOBJS thread.o"],[
AC_CHECK_LIB(pthread, pthread_create, [AC_DEFINE(WITH_THREAD)
AC_DEFINE(_POSIX_THREADS)
***************
*** 681,685 ****
LIBS="$LIBS -lcma"
LIBOBJS="$LIBOBJS thread.o"])
! ])])])])])])])
AC_CHECK_LIB(mpc, usconfig, [AC_DEFINE(WITH_THREAD)
--- 685,689 ----
LIBS="$LIBS -lcma"
LIBOBJS="$LIBOBJS thread.o"])
! ])])])])])])])])
AC_CHECK_LIB(mpc, usconfig, [AC_DEFINE(WITH_THREAD)