summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2017-11-17 15:46:23 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2017-11-17 15:46:23 (GMT)
commit335305de9cd5835ff41ab2b95ca46360fe7257fc (patch)
tree7c2c67752111bb7982ec95fdf5339fe1892923ae /win
parent42236b435fc3744a44500a2a63fd951f3c377afc (diff)
downloadtcl-335305de9cd5835ff41ab2b95ca46360fe7257fc.zip
tcl-335305de9cd5835ff41ab2b95ca46360fe7257fc.tar.gz
tcl-335305de9cd5835ff41ab2b95ca46360fe7257fc.tar.bz2
Added back nothreads option.
Diffstat (limited to 'win')
-rw-r--r--win/rules.vc8
1 files changed, 6 insertions, 2 deletions
diff --git a/win/rules.vc b/win/rules.vc
index 1351455..af39a94 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -704,7 +704,12 @@ TCL_USE_STATIC_PACKAGES = 0
!endif
!if [nmakehlp -f $(OPTS) "nothreads"]
-!error Option "nothreads" no longer supported. Threads required for sockets, registry and dde to work.
+!message *** Compile explicitly for non-threaded tcl
+TCL_THREADS = 0
+USE_THREAD_ALLOC= 0
+!else
+TCL_THREADS = 1
+USE_THREAD_ALLOC= 1
!endif
!if [nmakehlp -f $(OPTS) "symbols"]
@@ -749,7 +754,6 @@ USE_THREAD_ALLOC = 1
!endif
!if [nmakehlp -f $(OPTS) "tclalloc"]
-!error *** Option `tclalloc` is
USE_THREAD_ALLOC = 0
!endif