summaryrefslogtreecommitdiff
path: root/src/Make_mvc.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-07-10 16:12:48 +0200
committerBram Moolenaar <Bram@vim.org>2015-07-10 16:12:48 +0200
commit5c5c9801b1e28050a40cef80aeba1ecdea6ea411 (patch)
treeab45649dadf77d8a7cae47b5e9fc2e5c1c200593 /src/Make_mvc.mak
parent5f1e68b7bc241118e5dd8fc781147fdda881ada8 (diff)
downloadvim-5c5c9801b1e28050a40cef80aeba1ecdea6ea411.zip
patch 7.4.772
Problem: Racket 6.2 is not supported on MS-Windows. Solution: Check for the "racket" subdirectory. (Weiyong Mao)
Diffstat (limited to 'src/Make_mvc.mak')
-rw-r--r--src/Make_mvc.mak7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak
index a6534c8bb..722127deb 100644
--- a/src/Make_mvc.mak
+++ b/src/Make_mvc.mak
@@ -797,7 +797,8 @@ MZSCHEME_VER = 205_000
!endif
CFLAGS = $(CFLAGS) -DFEAT_MZSCHEME -I $(MZSCHEME)\include
!if EXIST("$(MZSCHEME)\collects\scheme\base.ss") \
- || EXIST("$(MZSCHEME)\collects\scheme\base.rkt")
+ || EXIST("$(MZSCHEME)\collects\scheme\base.rkt") \
+ || EXIST("$(MZSCHEME)\collects\racket\base.rkt")
# for MzScheme >= 4 we need to include byte code for basic Scheme stuff
MZSCHEME_EXTRA_DEP = mzscheme_base.c
CFLAGS = $(CFLAGS) -DINCLUDE_MZSCHEME_BASE
@@ -1170,7 +1171,11 @@ $(OUTDIR)/if_mzsch.obj: $(OUTDIR) if_mzsch.c if_mzsch.h $(INCL) $(MZSCHEME_EXTRA
$(CC) $(CFLAGS) if_mzsch.c \
-DMZSCHEME_COLLECTS=\"$(MZSCHEME:\=\\)\\collects\"
mzscheme_base.c:
+!IF "$(MZSCHEME_MAIN_LIB)" == "racket"
+ $(MZSCHEME)\raco ctool --c-mods mzscheme_base.c ++lib scheme/base
+!ELSE
$(MZSCHEME)\mzc --c-mods mzscheme_base.c ++lib scheme/base
+!ENDIF
$(OUTDIR)/if_python.obj: $(OUTDIR) if_python.c if_py_both.h $(INCL)
$(CC) $(CFLAGS) $(PYTHON_INC) if_python.c