* lib/mkmf.rb (mkmf_failed): check if Makefile is created without

create_makefile.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2005-03-20 13:51:48 +00:00
parent 104ea6ca93
commit 2bf474b1a3
2 changed files with 6 additions and 1 deletions

View file

@ -1053,7 +1053,7 @@ Provided configuration options:
MESSAGE
def mkmf_failed(path)
unless $makefile_created
unless $makefile_created or File.exist?("Makefile")
opts = $arg_config.collect {|t, n| "\t#{t}#{"=#{n}" if n}\n"}
abort "*** #{path} failed ***\n" + FailedMassage + opts.join
end