From b4766a4d9ee5dca0d9491ae320131f065242b574 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sat, 20 Oct 2018 14:07:59 +0000 Subject: support --disable-mjit-support on mswin32/64. * win32/configure.bat: add --enable/disable-mjit-support configure.bat options. * win32/setup.mak: ditto. * win32/Makefile.sub: ditto. * win32/Makefile.sub: fix typo for congig.status file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/configure.bat | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'win32/configure.bat') diff --git a/win32/configure.bat b/win32/configure.bat index 09de87a1a5..fa8966e0c9 100755 --- a/win32/configure.bat +++ b/win32/configure.bat @@ -36,6 +36,8 @@ if "%1" == "--enable-debug-env" goto :enable-debug-env if "%1" == "--disable-debug-env" goto :disable-debug-env if "%1" == "--enable-rubygems" goto :enable-rubygems if "%1" == "--disable-rubygems" goto :disable-rubygems +if "%1" == "--enable-mjit-support" goto :enable-mjit-support +if "%1" == "--disable-mjit-support" goto :disable-mjit-support if "%1" == "--extout" goto :extout if "%1" == "--path" goto :path if "%1" == "--with-baseruby" goto :baseruby @@ -152,6 +154,16 @@ goto :loop ; echo>>confargs.tmp %1 \ shift goto :loop ; +:enable-mjit-support + echo>> ~tmp~.mak "MJIT_SUPPORT=yes" \ + echo>>confargs.tmp %1 \ + shift +goto :loop ; +:disable-mjit-support + echo>> ~tmp~.mak "MJIT_SUPPORT=no" \ + echo>>confargs.tmp %1 \ + shift +goto :loop ; :ntver echo>> ~tmp~.mak "NTVER=%~2" \ echo>>confargs.tmp %1=%2 \ -- cgit v1.2.1