diff options
author | davygrvy <davygrvy@noemail.net> | 2003-12-23 02:38:22 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@noemail.net> | 2003-12-23 02:38:22 (GMT) |
commit | aeac7fe036e793892575c050ddd51409dd8ee0f3 (patch) | |
tree | 5c6acfb6a807edceeba46c7a42382600847a38ca /win | |
parent | 166778c95b88103084907dabc30a619a41b71718 (diff) | |
download | tcl-aeac7fe036e793892575c050ddd51409dd8ee0f3.zip tcl-aeac7fe036e793892575c050ddd51409dd8ee0f3.tar.gz tcl-aeac7fe036e793892575c050ddd51409dd8ee0f3.tar.bz2 |
VERSION macro now set by reading tcl.h for it.
FossilOrigin-Name: cff1bedef26df0754d35d5603238b2b993b8c6b2
Diffstat (limited to 'win')
-rw-r--r-- | win/makefile.vc | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/win/makefile.vc b/win/makefile.vc index 7e308ae..f7eaa8d 100644 --- a/win/makefile.vc +++ b/win/makefile.vc @@ -12,7 +12,7 @@ # Copyright (c) 2001-2002 David Gravereaux. # #------------------------------------------------------------------------------ -# RCS: @(#) $Id: makefile.vc,v 1.113 2003/11/10 22:55:48 dgp Exp $ +# RCS: @(#) $Id: makefile.vc,v 1.114 2003/12/23 02:38:23 davygrvy Exp $ #------------------------------------------------------------------------------ !if "$(MSVCDIR)" == "" @@ -159,7 +159,18 @@ PROJECT = tcl !include "rules.vc" STUBPREFIX = $(PROJECT)stub -DOTVERSION = 8.5 + +!if [nmakehlp -g ../generic/tcl.h TCL_VERSION] == 85 +DOTVERSION = 8.5 +!elseif [nmakehlp -g ../generic/tcl.h TCL_VERSION] == 86 +DOTVERSION = 8.6 +!elseif [nmakehlp -g ../generic/tcl.h TCL_VERSION] == 90 +DOTVERSION = 9.0 +!elseif [nmakehlp -g ../generic/tcl.h TCL_VERSION] == 0 +MSG =^ +Can't get version string from ../generic/tcl.h +!error $(MSG) +!endif VERSION = $(DOTVERSION:.=) DDEDOTVERSION = 1.3 |