[Python-checkins] CVS: python/dist/src config.h.in,2.59,2.60 configure.in,1.129,1.130 configure,1.120,1.121

Jeremy Hylton python-dev@python.org
2000年6月29日 21:57:57 -0700


Update of /cvsroot/python/python/dist/src
In directory slayer.i.sourceforge.net:/tmp/cvs-serv29090
Modified Files:
	config.h.in configure.in configure 
Log Message:
penultimate phase of Neil Schemenauer's GC patches
update configure files (turn --with-cycle-gc on for beta release?)
Index: config.h.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/config.h.in,v
retrieving revision 2.59
retrieving revision 2.60
diff -C2 -r2.59 -r2.60
*** config.h.in	2000年06月30日 02:44:41	2.59
--- config.h.in	2000年06月30日 04:57:55	2.60
***************
*** 211,214 ****
--- 211,217 ----
 #undef WITH_NEXT_FRAMEWORK
 
+ /* Define if you want cycle garbage collection */
+ #undef WITH_CYCLE_GC
+ 
 /* The number of bytes in an off_t. */
 #undef SIZEOF_OFF_T
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.129
retrieving revision 1.130
diff -C2 -r1.129 -r1.130
*** configure.in	2000年06月30日 02:48:53	1.129
--- configure.in	2000年06月30日 04:57:55	1.130
***************
*** 1117,1120 ****
--- 1117,1131 ----
 [AC_MSG_RESULT(no)])
 
+ # Check for GC support
+ AC_SUBST(USE_GC_MODULE)
+ USE_GC_MODULE="#"
+ AC_MSG_CHECKING(for --with-cycle-gc)
+ AC_ARG_WITH(cycle-gc, [--with-cycle-gc enable garbage collection], [
+ AC_MSG_RESULT($withval)
+ AC_DEFINE(WITH_CYCLE_GC)
+ USE_GC_MODULE=
+ ],
+ AC_MSG_RESULT(no))
+ 
 # THIS MUST BE LAST, IT CAN BREAK OTHER TESTS!
 # Add sys/socket.h to confdefs.h
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.120
retrieving revision 1.121
diff -C2 -r1.120 -r1.121
*** configure	2000年06月30日 02:48:53	1.120
--- configure	2000年06月30日 04:57:55	1.121
***************
*** 46,49 ****
--- 46,51 ----
 ac_help="$ac_help
 --with-wctype-functions use wctype.h functions"
+ ac_help="$ac_help
+ --with-cycle-gc enable garbage collection"
 
 # Initialize some variables set by options.
***************
*** 566,570 ****
 
[...3819 lines suppressed...]
 #include <sys/types.h>
--- 5632,5641 ----
 EOF
 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
! echo "configure:5635: 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 5640 "configure"
 #include "confdefs.h"
 #include <sys/types.h>
***************
*** 5814,5817 ****
--- 5837,5841 ----
 s%@LIBM@%$LIBM%g
 s%@LIBC@%$LIBC%g
+ s%@USE_GC_MODULE@%$USE_GC_MODULE%g
 
 CEOF

AltStyle によって変換されたページ (->オリジナル) /