]> granicus.if.org Git - vim/commitdiff
patch 8.0.0989: ActiveTcl dll name has changed in 8.6.6 v8.0.0989
authorBram Moolenaar <Bram@vim.org>
Wed, 23 Aug 2017 20:40:41 +0000 (22:40 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 23 Aug 2017 20:40:41 +0000 (22:40 +0200)
Problem:    ActiveTcl dll name has changed in 8.6.6.
Solution:   Adjust the makefile. (Ken Takata)

src/Make_cyg_ming.mak
src/Make_mvc.mak
src/version.c

index 1c368badf1d8bae5d519879ea696eab11c247a0a..52db5613801125f4a16382ee703f88f2aafade3e 100644 (file)
@@ -340,6 +340,7 @@ endif
 #        TCL_VER=[TCL version, eg 83, 84] (default is 86)
 #        TCL_VER_LONG=[Tcl version, eg 8.3] (default is 8.6)
 #          You must set TCL_VER_LONG when you set TCL_VER.
+#        TCL_DLL=[TCL dll name, eg tcl86.dll] (default is tcl86.dll)
 ifdef TCL
 ifndef DYNAMIC_TCL
 DYNAMIC_TCL=yes
@@ -350,6 +351,9 @@ endif
 ifndef TCL_VER_LONG
 TCL_VER_LONG = 8.6
 endif
+ifndef TCL_DLL
+TCL_DLL = tcl$(TCL_VER).dll
+endif
 TCLINC += -I$(TCL)/include
 endif
 
@@ -526,7 +530,7 @@ endif
 ifdef TCL
 CFLAGS += -DFEAT_TCL $(TCLINC)
 ifeq (yes, $(DYNAMIC_TCL))
-CFLAGS += -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl$(TCL_VER).dll\" -DDYNAMIC_TCL_VER=\"$(TCL_VER_LONG)\"
+CFLAGS += -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"$(TCL_DLL)\" -DDYNAMIC_TCL_VER=\"$(TCL_VER_LONG)\"
 endif
 endif
 
index 4180b7c76f17e89de90f6e8dd10e34955dbb35e9..c8c1d11736c8d399cb6b23e6c4777c3cd5e35417 100644 (file)
@@ -84,6 +84,7 @@
 #        TCL_VER=[Tcl version, e.g. 80, 83]  (default is 86)
 #        TCL_VER_LONG=[Tcl version, eg 8.3] (default is 8.6)
 #          You must set TCL_VER_LONG when you set TCL_VER.
+#        TCL_DLL=[Tcl dll name, e.g. tcl86.dll]  (default is tcl86.dll)
 #
 #      Cscope support: CSCOPE=yes
 #
@@ -832,7 +833,9 @@ TCL_VER_LONG = 8.6
 !message Tcl requested (version $(TCL_VER)) - root dir is "$(TCL)"
 !if "$(DYNAMIC_TCL)" == "yes"
 !message Tcl DLL will be loaded dynamically
+!ifndef TCL_DLL
 TCL_DLL = tcl$(TCL_VER).dll
+!endif
 CFLAGS  = $(CFLAGS) -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"$(TCL_DLL)\" \
                -DDYNAMIC_TCL_VER=\"$(TCL_VER_LONG)\"
 TCL_OBJ        = $(OUTDIR)\if_tcl.obj
index 83cb3d9115a9a5057d89af48312e513f13186618..9d4d4318146d60c64f76b6c6af63fb0c5f3e476d 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    989,
 /**/
     988,
 /**/