From 18caa8f178c971ff61ccc4c5730c657a2bac3e84 Mon Sep 17 00:00:00 2001 From: usa Date: Sun, 26 Jan 2003 10:29:05 +0000 Subject: * instruby.rb ($mflags.set?): Check $make instead of $nmake, sinse there is no such a variable. * instruby.rb ($mflags.set?), ext/extmk.rb ($mflags.set?): Return false if unmatched. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- instruby.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'instruby.rb') diff --git a/instruby.rb b/instruby.rb index e69ec072c4..fc8639f112 100644 --- a/instruby.rb +++ b/instruby.rb @@ -36,8 +36,9 @@ def parse_args() def $mflags.set?(flag) # Only nmake puts flags together - if $nmake == ?m + if /nmake/ =~ $make grep(/^-(?!-).*#{'%c' % flag}/i) { return true } + false else include?('-%c' % flag) end -- cgit v1.2.3