Skip to content

Commit 642e028

Browse files
committed
remove --with(out)-signal-module, since the signal module is non-optional
1 parent 161a88a commit 642e028

5 files changed

Lines changed: 2 additions & 59 deletions

File tree

Makefile.pre.in

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,6 @@ MODULE_OBJS= \
254254
Modules/main.o \
255255
Modules/gcmodule.o
256256

257-
# Used of signalmodule.o is not available
258-
SIGNAL_OBJS= @SIGNAL_OBJS@
259-
260257
IO_H= Modules/_io/_iomodule.h
261258

262259
IO_OBJS= \
@@ -448,7 +445,6 @@ LIBRARY_OBJS_OMIT_FROZEN= \
448445
$(OBJECT_OBJS) \
449446
$(PYTHON_OBJS) \
450447
$(MODULE_OBJS) \
451-
$(SIGNAL_OBJS) \
452448
$(MODOBJS)
453449

454450
LIBRARY_OBJS= \
@@ -598,7 +594,7 @@ $(LIBRARY): $(LIBRARY_OBJS)
598594
$(AR) $(ARFLAGS) $@ $(PARSER_OBJS)
599595
$(AR) $(ARFLAGS) $@ $(OBJECT_OBJS)
600596
$(AR) $(ARFLAGS) $@ $(PYTHON_OBJS) Python/frozen.o
601-
$(AR) $(ARFLAGS) $@ $(MODULE_OBJS) $(SIGNAL_OBJS)
597+
$(AR) $(ARFLAGS) $@ $(MODULE_OBJS)
602598
$(AR) $(ARFLAGS) $@ $(MODOBJS)
603599
$(RANLIB) $@
604600

@@ -718,7 +714,6 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \
718714
$(OBJECT_OBJS) \
719715
$(PYTHON_OBJS) \
720716
$(MODULE_OBJS) \
721-
$(SIGNAL_OBJS) \
722717
$(MODOBJS) \
723718
$(srcdir)/Modules/getbuildinfo.c
724719
$(CC) -c $(PY_CORE_CFLAGS) \

Modules/Setup.config.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,5 @@
66
# Threading
77
@USE_THREAD_MODULE@_thread _threadmodule.c
88

9-
# The signal module
10-
@USE_SIGNAL_MODULE@_signal signalmodule.c
11-
129
# The rest of the modules previously listed in this file are built
1310
# by the setup.py script in Python 2.1 and later.

Modules/Setup.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ _operator _operator.c # operator.add() and similar goodies
117117
_collections _collectionsmodule.c # Container types
118118
itertools itertoolsmodule.c # Functions creating iterators for efficient looping
119119
atexit atexitmodule.c # Register functions to be run at interpreter-shutdown
120+
_signal signalmodule.c
120121
_stat _stat.c # stat.h interface
121122
time timemodule.c # -lm # time operations and variables
122123

configure

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -645,8 +645,6 @@ DLINCLDIR
645645
THREADOBJ
646646
LDLAST
647647
USE_THREAD_MODULE
648-
SIGNAL_OBJS
649-
USE_SIGNAL_MODULE
650648
TCLTK_LIBS
651649
TCLTK_INCLUDES
652650
LIBFFI_INCLUDEDIR
@@ -828,7 +826,6 @@ enable_loadable_sqlite_extensions
828826
with_tcltk_includes
829827
with_tcltk_libs
830828
with_dbmliborder
831-
with_signal_module
832829
with_threads
833830
with_thread
834831
enable_ipv6
@@ -1532,7 +1529,6 @@ Optional Packages:
15321529
order to check db backends for dbm. Valid value is a
15331530
colon separated string with the backend names
15341531
`ndbm', `gdbm' and `bdb'.
1535-
--with-signal-module disable/enable signal module
15361532
--with(out)-threads[=DIRECTORY]
15371533
disable/enable thread support
15381534
--with(out)-thread[=DIRECTORY]
@@ -9964,32 +9960,6 @@ fi
99649960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_dbmliborder" >&5
99659961
$as_echo "$with_dbmliborder" >&6; }
99669962

9967-
# Determine if signalmodule should be used.
9968-
9969-
9970-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-signal-module" >&5
9971-
$as_echo_n "checking for --with-signal-module... " >&6; }
9972-
9973-
# Check whether --with-signal-module was given.
9974-
if test "${with_signal_module+set}" = set; then :
9975-
withval=$with_signal_module;
9976-
fi
9977-
9978-
9979-
if test -z "$with_signal_module"
9980-
then with_signal_module="yes"
9981-
fi
9982-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_signal_module" >&5
9983-
$as_echo "$with_signal_module" >&6; }
9984-
9985-
if test "${with_signal_module}" = "yes"; then
9986-
USE_SIGNAL_MODULE=""
9987-
SIGNAL_OBJS=""
9988-
else
9989-
USE_SIGNAL_MODULE="#"
9990-
SIGNAL_OBJS="Parser/intrcheck.o Python/sigcheck.o"
9991-
fi
9992-
99939963
# This is used to generate Setup.config
99949964

99959965
USE_THREAD_MODULE=""

configure.ac

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2814,26 +2814,6 @@ else
28142814
fi])
28152815
AC_MSG_RESULT($with_dbmliborder)
28162816

2817-
# Determine if signalmodule should be used.
2818-
AC_SUBST(USE_SIGNAL_MODULE)
2819-
AC_SUBST(SIGNAL_OBJS)
2820-
AC_MSG_CHECKING(for --with-signal-module)
2821-
AC_ARG_WITH(signal-module,
2822-
AS_HELP_STRING([--with-signal-module], [disable/enable signal module]))
2823-
2824-
if test -z "$with_signal_module"
2825-
then with_signal_module="yes"
2826-
fi
2827-
AC_MSG_RESULT($with_signal_module)
2828-
2829-
if test "${with_signal_module}" = "yes"; then
2830-
USE_SIGNAL_MODULE=""
2831-
SIGNAL_OBJS=""
2832-
else
2833-
USE_SIGNAL_MODULE="#"
2834-
SIGNAL_OBJS="Parser/intrcheck.o Python/sigcheck.o"
2835-
fi
2836-
28372817
# This is used to generate Setup.config
28382818
AC_SUBST(USE_THREAD_MODULE)
28392819
USE_THREAD_MODULE=""

0 commit comments

Comments
 (0)