diff Modules/Setup.thread.in @ 6738:3bef55cb744b legacy-trunk

Moved the thread module to its own Setup.thread(.in) file, which is edited by the config.status script depending on whether --with-thread is specified or not. Also needs changes to configure(.in).
author Guido van Rossum <guido@python.org>
date Thu, 04 Dec 1997 00:48:27 +0000
parents
children e042c4c38605
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Modules/Setup.thread.in	Thu Dec 04 00:48:27 1997 +0000
@@ -0,0 +1,11 @@
+# This file is transmogrified into Setup.thread by config.status.
+
+# Its purpose is to automatically enable the thread module when the
+# --with-thread argument is given to the configure script.
+
+# *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 not to use --with-thread on platforms that don't
+# support threads.
+
+@USE_THREAD_MODULE@thread threadmodule.c