summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-08-29 23:44:38 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-08-29 23:44:38 (GMT)
commit9c63e6d6827575f8ee8b09d1a87bd50e8ceba484 (patch)
tree5c45dd2507231faa4e3478ba1750e8d3ac80f2e9
parente4685ec57e74ec37f234907df45159bcd1899a25 (diff)
downloadcpython-9c63e6d6827575f8ee8b09d1a87bd50e8ceba484.zip
cpython-9c63e6d6827575f8ee8b09d1a87bd50e8ceba484.tar.gz
cpython-9c63e6d6827575f8ee8b09d1a87bd50e8ceba484.tar.bz2
Always compile gcmodule.
-rw-r--r--Makefile.pre.in3
-rw-r--r--configure.in6
2 files changed, 3 insertions, 6 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 6a6325e..d872267 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -159,7 +159,8 @@ PYTHON= python$(EXE)
MODULE_OBJS= \
Modules/config.o \
Modules/getpath.o \
- Modules/main.o
+ Modules/main.o \
+ Modules/gcmodule.o
# Used of signalmodule.o is not available
SIGNAL_OBJS= @SIGNAL_OBJS@
diff --git a/configure.in b/configure.in
index 329c07e..0353706 100644
--- a/configure.in
+++ b/configure.in
@@ -1121,8 +1121,6 @@ if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
fi
# 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(out)-cycle-gc disable/enable garbage collection])
@@ -1130,10 +1128,8 @@ AC_ARG_WITH(cycle-gc,
if test -z "$with_cycle_gc"
then with_cycle_gc="yes"
fi
-if test "$with_cycle_gc" = "no"
+if test "$with_cycle_gc" != "no"
then
- USE_GC_MODULE="#"
-else
AC_DEFINE(WITH_CYCLE_GC)
fi
AC_MSG_RESULT($with_cycle_gc)