comparison src/Make_cyg_ming.mak @ 7523:55cd9a99514d v7.4.1063

commit https://github.com/vim/vim/commit/eca99bd45f094b1b12e22b9d6b206bd05dc9a38c Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 7 22:50:05 2016 +0100 patch 7.4.1063 Problem: TCL_VER_LONG and DYNAMIC_TCL_VER are not set when building with Cygwin and MingW. Solution: Add TCL_VER_LONG and DYNAMIC_TCL_VER to the makefile.
author Christian Brabandt <cb@256bit.org>
date Thu, 07 Jan 2016 23:00:08 +0100
parents 665330ac1d78
children 0acbe61244ac
comparison
equal deleted inserted replaced
7522:1905305349c9 7523:55cd9a99514d
261 261
262 # TCL interface: 262 # TCL interface:
263 # TCL=[Path to TCL directory] (Set inside Make_cyg.mak or Make_ming.mak) 263 # TCL=[Path to TCL directory] (Set inside Make_cyg.mak or Make_ming.mak)
264 # DYNAMIC_TCL=yes (to load the TCL DLL dynamically) 264 # DYNAMIC_TCL=yes (to load the TCL DLL dynamically)
265 # TCL_VER=[TCL version, eg 83, 84] (default is 83) 265 # TCL_VER=[TCL version, eg 83, 84] (default is 83)
266 # TCL_VER_LONG=[Tcl version, eg 8.3] (default is 8.3)
267 # You must set TCL_VER_LONG when you set TCL_VER.
266 ifdef TCL 268 ifdef TCL
267 ifndef DYNAMIC_TCL 269 ifndef DYNAMIC_TCL
268 DYNAMIC_TCL=yes 270 DYNAMIC_TCL=yes
269 endif 271 endif
270 ifndef TCL_VER 272 ifndef TCL_VER
271 TCL_VER = 83 273 TCL_VER = 83
274 endif
275 ifndef TCL_VER_LONG
276 TCL_VER_LONG = 8.3
272 endif 277 endif
273 TCLINC += -I$(TCL)/include 278 TCLINC += -I$(TCL)/include
274 endif 279 endif
275 280
276 281
460 endif 465 endif
461 466
462 ifdef TCL 467 ifdef TCL
463 CFLAGS += -DFEAT_TCL $(TCLINC) 468 CFLAGS += -DFEAT_TCL $(TCLINC)
464 ifeq (yes, $(DYNAMIC_TCL)) 469 ifeq (yes, $(DYNAMIC_TCL))
465 CFLAGS += -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl$(TCL_VER).dll\" 470 CFLAGS += -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl$(TCL_VER).dll\" -DDYNAMIC_TCL_VER=\"$(TCL_VER_LONG)\"
466 endif 471 endif
467 endif 472 endif
468 473
469 ifeq ($(POSTSCRIPT),yes) 474 ifeq ($(POSTSCRIPT),yes)
470 DEFINES += -DMSWINPS 475 DEFINES += -DMSWINPS