summaryrefslogtreecommitdiffstats
path: root/Modules/Setup.config.in
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2000-06-30 16:12:15 (GMT)
committerBarry Warsaw <barry@python.org>2000-06-30 16:12:15 (GMT)
commit257543c78d099f45d94e7f557214648768bd7460 (patch)
tree0573c84037ca87e9bb9ca1c2347bb741bc560d42 /Modules/Setup.config.in
parent5a06fae399da5bb4165902114a7e046dd05fe165 (diff)
downloadcpython-257543c78d099f45d94e7f557214648768bd7460.zip
cpython-257543c78d099f45d94e7f557214648768bd7460.tar.gz
cpython-257543c78d099f45d94e7f557214648768bd7460.tar.bz2
Setup.thread.in was misnamed so it has been replaced by
Setup.config.in. The latter contains all configure-time selectable modules; currently thread and gc.
Diffstat (limited to 'Modules/Setup.config.in')
-rw-r--r--Modules/Setup.config.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/Modules/Setup.config.in b/Modules/Setup.config.in
new file mode 100644
index 0000000..649567c
--- /dev/null
+++ b/Modules/Setup.config.in
@@ -0,0 +1,14 @@
+# This file is transmogrified into Setup.config by config.status.
+
+# The purpose of this file is to conditionally enable certain modules
+# based on configure-time options. Currently thread support and
+# garbage collection support are the only two modules so enabled.
+
+# *NOTE*: if the configure script decides it can't support threads,
+# the thread module will still be enabled and cause compile errors.
+# The solution is to use --without-threads on platforms that don't
+# support threads.
+@USE_THREAD_MODULE@thread threadmodule.c
+
+# Garbage collection enabled with --with-cycle-gc
+@USE_GC_MODULE@gc gcmodule.c