summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-06 10:53:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-06 10:53:04 +0000
commit1cede1dab27a78668e1572b861ee1229a87a764b (patch)
tree8e4f4697aa6c069834d96174406db07421144075 /win32
parent6a5cdfacbf2577e86a84555b24ba2cbc03bfa394 (diff)
reaply r48278
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/setup.mak7
1 files changed, 7 insertions, 0 deletions
diff --git a/win32/setup.mak b/win32/setup.mak
index f64d24d..f00418e 100644
--- a/win32/setup.mak
+++ b/win32/setup.mak
@@ -66,7 +66,14 @@ USE_RUBYGEMS = $(USE_RUBYGEMS)
@for %I in (ruby.exe) do @echo BASERUBY = %~s$$PATH:I>> $(MAKEFILE)
@echo !if "$$(BASERUBY)" == "">> $(MAKEFILE)
@echo BASERUBY = echo executable host ruby is required. use --with-baseruby option.^& exit 1 >> $(MAKEFILE)
+ @echo HAVE_BASERUBY = no>> $(MAKEFILE)
+ @echo !else>> $(MAKEFILE)
+ @echo HAVE_BASERUBY = yes>> $(MAKEFILE)
@echo !endif>> $(MAKEFILE)
+!elseif [$(BASERUBY) -eexit 2> nul] == 0
+ @echo HAVE_BASERUBY = yes>> $(MAKEFILE)
+!else
+ @echo HAVE_BASERUBY = no>> $(MAKEFILE)
!endif
-system-vars-: -osname- -runtime- -headers-