diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-12-10 04:24:01 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-12-10 13:58:20 +0900 |
commit | fc8d22f89124d2b7f1df5de87274e86ccefadbd2 (patch) | |
tree | 3755815b772590a703aa7c6d2a910e62c7052f18 /win32/setup.mak | |
parent | 7a976c106030f37d6ab72b1abaef10e575bb8809 (diff) | |
download | ruby-fc8d22f89124d2b7f1df5de87274e86ccefadbd2.tar.gz |
Win32: Move fallback BASERUBY definition
Diffstat (limited to 'win32/setup.mak')
-rw-r--r-- | win32/setup.mak | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/win32/setup.mak b/win32/setup.mak index ddad061442..2ae4e1cfd5 100644 --- a/win32/setup.mak +++ b/win32/setup.mak @@ -67,19 +67,7 @@ MJIT_SUPPORT = $(MJIT_SUPPORT) << !if defined(BASERUBY) @echo BASERUBY = $(BASERUBY:/=\)>> $(MAKEFILE) -!else - @for %I in (ruby.exe) do @echo BASERUBY = %~s$$PATH:I --disable=gems>> $(MAKEFILE) !endif - @type << >> $(MAKEFILE) -$(BANG)if "$$(BASERUBY)" == "" -BASERUBY = echo executable host ruby is required. use --with-baseruby option.^& exit 1 -HAVE_BASERUBY = no -$(BANG)elseif [($$(BASERUBY) -eexit) > nul 2> nul] == 0 -HAVE_BASERUBY = yes -$(BANG)else -HAVE_BASERUBY = no -$(BANG)endif -<< !if "$(RUBY_DEVEL)" == "yes" RUBY_DEVEL = yes !endif |