summaryrefslogtreecommitdiffstats
path: root/Modules/Setup.thread.in
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Setup.thread.in')
-rw-r--r--Modules/Setup.thread.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/Modules/Setup.thread.in b/Modules/Setup.thread.in
new file mode 100644
index 0000000..2b136c1
--- /dev/null
+++ b/Modules/Setup.thread.in
@@ -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