mirror of
https://github.com/python/cpython.git
synced 2025-01-22 00:15:52 +08:00
penultimate phase of Neil Schemenauer's GC patches
update configure files (turn --with-cycle-gc on for beta release?)
This commit is contained in:
parent
57a2f7f8ef
commit
2a2c218525
@ -210,6 +210,9 @@
|
||||
(shared library plus accessory files). */
|
||||
#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
|
||||
|
||||
|
11
configure.in
11
configure.in
@ -1116,6 +1116,17 @@ else AC_MSG_RESULT(no)
|
||||
fi],
|
||||
[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
|
||||
cat >> confdefs.h <<\EOF
|
||||
|
Loading…
Reference in New Issue
Block a user