comparison src/Make_cyg_ming.mak @ 10149:cd9823840f2e v7.4.2345

commit https://github.com/vim/vim/commit/0eaadec6b275a8add49242e1940855fcd154ba64 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 8 20:28:45 2016 +0200 patch 7.4.2345 Problem: For MinGW RUBY_API_VER_LONG isn't set correctly. Many default version numbers are outdated. Solution: Set RUBY_API_VER_LONG to RUBY_VER_LONG. Use latest stable releases for defaults. (Ken Takata)
author Christian Brabandt <cb@256bit.org>
date Thu, 08 Sep 2016 20:30:07 +0200
parents 8bfcb960e6bd
children 70680eba1940
comparison
equal deleted inserted replaced
10148:65403e63cf77 10149:cd9823840f2e
154 154
155 155
156 # Perl interface: 156 # Perl interface:
157 # PERL=[Path to Perl directory] (Set inside Make_cyg.mak or Make_ming.mak) 157 # PERL=[Path to Perl directory] (Set inside Make_cyg.mak or Make_ming.mak)
158 # DYNAMIC_PERL=yes (to load the Perl DLL dynamically) 158 # DYNAMIC_PERL=yes (to load the Perl DLL dynamically)
159 # PERL_VER=[Perl version, eg 56, 58, 510] (default is 56) 159 # PERL_VER=[Perl version, eg 56, 58, 510] (default is 524)
160 ifdef PERL 160 ifdef PERL
161 ifndef PERL_VER 161 ifndef PERL_VER
162 PERL_VER=56 162 PERL_VER=524
163 endif 163 endif
164 ifndef DYNAMIC_PERL 164 ifndef DYNAMIC_PERL
165 DYNAMIC_PERL=yes 165 DYNAMIC_PERL=yes
166 endif 166 endif
167 # on Linux, for cross-compile, it's here: 167 # on Linux, for cross-compile, it's here:
186 endif 186 endif
187 187
188 # Lua interface: 188 # Lua interface:
189 # LUA=[Path to Lua directory] (Set inside Make_cyg.mak or Make_ming.mak) 189 # LUA=[Path to Lua directory] (Set inside Make_cyg.mak or Make_ming.mak)
190 # DYNAMIC_LUA=yes (to load the Lua DLL dynamically) 190 # DYNAMIC_LUA=yes (to load the Lua DLL dynamically)
191 # LUA_VER=[Lua version, eg 51, 52] (default is 51) 191 # LUA_VER=[Lua version, eg 51, 52] (default is 53)
192 ifdef LUA 192 ifdef LUA
193 ifndef DYNAMIC_LUA 193 ifndef DYNAMIC_LUA
194 DYNAMIC_LUA=yes 194 DYNAMIC_LUA=yes
195 endif 195 endif
196 196
197 ifndef LUA_VER 197 ifndef LUA_VER
198 LUA_VER=51 198 LUA_VER=53
199 endif 199 endif
200 200
201 ifeq (no,$(DYNAMIC_LUA)) 201 ifeq (no,$(DYNAMIC_LUA))
202 LUA_LIB = -L$(LUA)/lib -llua 202 LUA_LIB = -L$(LUA)/lib -llua
203 endif 203 endif
205 endif 205 endif
206 206
207 # MzScheme interface: 207 # MzScheme interface:
208 # MZSCHEME=[Path to MzScheme directory] (Set inside Make_cyg.mak or Make_ming.mak) 208 # MZSCHEME=[Path to MzScheme directory] (Set inside Make_cyg.mak or Make_ming.mak)
209 # DYNAMIC_MZSCHEME=yes (to load the MzScheme DLL dynamically) 209 # DYNAMIC_MZSCHEME=yes (to load the MzScheme DLL dynamically)
210 # MZSCHEME_VER=[MzScheme version] (default is 205_000) 210 # MZSCHEME_VER=[MzScheme version] (default is 3m_a0solc (6.6))
211 # MZSCHEME_DEBUG=no 211 # MZSCHEME_DEBUG=no
212 ifdef MZSCHEME 212 ifdef MZSCHEME
213 ifndef DYNAMIC_MZSCHEME 213 ifndef DYNAMIC_MZSCHEME
214 DYNAMIC_MZSCHEME=yes 214 DYNAMIC_MZSCHEME=yes
215 endif 215 endif
216 216
217 ifndef MZSCHEME_VER 217 ifndef MZSCHEME_VER
218 MZSCHEME_VER=205_000 218 MZSCHEME_VER=3m_a0solc
219 endif 219 endif
220 220
221 # for version 4.x we need to generate byte-code for Scheme base 221 # for version 4.x we need to generate byte-code for Scheme base
222 ifndef MZSCHEME_GENERATE_BASE 222 ifndef MZSCHEME_GENERATE_BASE
223 MZSCHEME_GENERATE_BASE=no 223 MZSCHEME_GENERATE_BASE=no
261 endif 261 endif
262 262
263 # Python interface: 263 # Python interface:
264 # PYTHON=[Path to Python directory] (Set inside Make_cyg.mak or Make_ming.mak) 264 # PYTHON=[Path to Python directory] (Set inside Make_cyg.mak or Make_ming.mak)
265 # DYNAMIC_PYTHON=yes (to load the Python DLL dynamically) 265 # DYNAMIC_PYTHON=yes (to load the Python DLL dynamically)
266 # PYTHON_VER=[Python version, eg 22, 23, ..., 27] (default is 22) 266 # PYTHON_VER=[Python version, eg 22, 23, ..., 27] (default is 27)
267 ifdef PYTHON 267 ifdef PYTHON
268 ifndef DYNAMIC_PYTHON 268 ifndef DYNAMIC_PYTHON
269 DYNAMIC_PYTHON=yes 269 DYNAMIC_PYTHON=yes
270 endif 270 endif
271 271
294 endif 294 endif
295 295
296 # Python3 interface: 296 # Python3 interface:
297 # PYTHON3=[Path to Python3 directory] (Set inside Make_cyg.mak or Make_ming.mak) 297 # PYTHON3=[Path to Python3 directory] (Set inside Make_cyg.mak or Make_ming.mak)
298 # DYNAMIC_PYTHON3=yes (to load the Python3 DLL dynamically) 298 # DYNAMIC_PYTHON3=yes (to load the Python3 DLL dynamically)
299 # PYTHON3_VER=[Python3 version, eg 31, 32] (default is 31) 299 # PYTHON3_VER=[Python3 version, eg 31, 32] (default is 35)
300 ifdef PYTHON3 300 ifdef PYTHON3
301 ifndef DYNAMIC_PYTHON3 301 ifndef DYNAMIC_PYTHON3
302 DYNAMIC_PYTHON3=yes 302 DYNAMIC_PYTHON3=yes
303 endif 303 endif
304 304
305 ifndef PYTHON3_VER 305 ifndef PYTHON3_VER
306 PYTHON3_VER=31 306 PYTHON3_VER=35
307 endif 307 endif
308 ifndef DYNAMIC_PYTHON3_DLL 308 ifndef DYNAMIC_PYTHON3_DLL
309 DYNAMIC_PYTHON3_DLL=python$(PYTHON3_VER).dll 309 DYNAMIC_PYTHON3_DLL=python$(PYTHON3_VER).dll
310 endif 310 endif
311 ifdef PYTHON3_HOME 311 ifdef PYTHON3_HOME
326 endif 326 endif
327 327
328 # TCL interface: 328 # TCL interface:
329 # TCL=[Path to TCL directory] (Set inside Make_cyg.mak or Make_ming.mak) 329 # TCL=[Path to TCL directory] (Set inside Make_cyg.mak or Make_ming.mak)
330 # DYNAMIC_TCL=yes (to load the TCL DLL dynamically) 330 # DYNAMIC_TCL=yes (to load the TCL DLL dynamically)
331 # TCL_VER=[TCL version, eg 83, 84] (default is 83) 331 # TCL_VER=[TCL version, eg 83, 84] (default is 86)
332 # TCL_VER_LONG=[Tcl version, eg 8.3] (default is 8.3) 332 # TCL_VER_LONG=[Tcl version, eg 8.3] (default is 8.6)
333 # You must set TCL_VER_LONG when you set TCL_VER. 333 # You must set TCL_VER_LONG when you set TCL_VER.
334 ifdef TCL 334 ifdef TCL
335 ifndef DYNAMIC_TCL 335 ifndef DYNAMIC_TCL
336 DYNAMIC_TCL=yes 336 DYNAMIC_TCL=yes
337 endif 337 endif
338 ifndef TCL_VER 338 ifndef TCL_VER
339 TCL_VER = 83 339 TCL_VER = 86
340 endif 340 endif
341 ifndef TCL_VER_LONG 341 ifndef TCL_VER_LONG
342 TCL_VER_LONG = 8.3 342 TCL_VER_LONG = 8.6
343 endif 343 endif
344 TCLINC += -I$(TCL)/include 344 TCLINC += -I$(TCL)/include
345 endif 345 endif
346 346
347 347
365 endif 365 endif
366 ifndef RUBY_VER_LONG 366 ifndef RUBY_VER_LONG
367 RUBY_VER_LONG = 2.2.0 367 RUBY_VER_LONG = 2.2.0
368 endif 368 endif
369 ifndef RUBY_API_VER_LONG 369 ifndef RUBY_API_VER_LONG
370 RUBY_API_VER_LONG = $(RUBY_API_VER_LONG) 370 RUBY_API_VER_LONG = $(RUBY_VER_LONG)
371 endif 371 endif
372 ifndef RUBY_API_VER 372 ifndef RUBY_API_VER
373 RUBY_API_VER = $(subst .,,$(RUBY_API_VER_LONG)) 373 RUBY_API_VER = $(subst .,,$(RUBY_API_VER_LONG))
374 endif 374 endif
375 375