Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c63e6d

Browse files
committed
Always compile gcmodule.
1 parent e4685ec commit 9c63e6d

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

Makefile.pre.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ PYTHON= python$(EXE)
159159
MODULE_OBJS= \
160160
Modules/config.o \
161161
Modules/getpath.o \
162-
Modules/main.o
162+
Modules/main.o \
163+
Modules/gcmodule.o
163164

164165
# Used of signalmodule.o is not available
165166
SIGNAL_OBJS= @SIGNAL_OBJS@

configure.in

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,19 +1121,15 @@ if test "$ipv6" = "yes" -a "$ipv6lib" != "none"; then
11211121
fi
11221122

11231123
# Check for GC support
1124-
AC_SUBST(USE_GC_MODULE)
1125-
USE_GC_MODULE=""
11261124
AC_MSG_CHECKING(for --with-cycle-gc)
11271125
AC_ARG_WITH(cycle-gc,
11281126
[ --with(out)-cycle-gc disable/enable garbage collection])
11291127

11301128
if test -z "$with_cycle_gc"
11311129
then with_cycle_gc="yes"
11321130
fi
1133-
if test "$with_cycle_gc" = "no"
1131+
if test "$with_cycle_gc" != "no"
11341132
then
1135-
USE_GC_MODULE="#"
1136-
else
11371133
AC_DEFINE(WITH_CYCLE_GC)
11381134
fi
11391135
AC_MSG_RESULT($with_cycle_gc)

0 commit comments

Comments
 (0)