Always compile gcmodule.
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>
Wed, 29 Aug 2001 23:44:38 +0000 (23:44 +0000)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>
Wed, 29 Aug 2001 23:44:38 +0000 (23:44 +0000)
Makefile.pre.in
configure.in

index 6a6325e93065a6a2817da689e3ab92409b77927d..d87226775643c03b0c6a6c8568f74f1abddf7d64 100644 (file)
@@ -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@
index 329c07ede1d89aa87b68d35031e8fb77782234f9..03537060b8212b9ab3407164e0e5f5461ecbcdb7 100644 (file)
@@ -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)