From c5d383bae1e5b3d0df94e85bffe5964bf4861ac0 Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 17 Dec 2010 04:29:16 +0000 Subject: [PATCH] * win32/setup.mak (BASERUBY): quit with an error when BASERUBY was not able to set, just like configure.in does. [ruby-dev:42782] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ win32/setup.mak | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5409f279de..8c890636b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Dec 17 13:26:54 2010 NAKAMURA Usaku + + * win32/setup.mak (BASERUBY): quit with an error when BASERUBY was not + able to set, just like configure.in does. [ruby-dev:42782] + Fri Dec 17 07:04:09 2010 Tanaka Akira * iseq.c: parenthesize macro arguments. diff --git a/win32/setup.mak b/win32/setup.mak index 4ba0ceec3d..69444d019b 100644 --- a/win32/setup.mak +++ b/win32/setup.mak @@ -61,6 +61,9 @@ NTVER = $(NTVER) << !if !defined(BASERUBY) @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 !endif>> $(MAKEFILE) !endif -system-vars-: -runtime- -unicows-