From 084cf8f6f8b9279f6402109029c9b4dd4f71e21e Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 20 Mar 2005 13:51:48 +0000 Subject: * lib/mkmf.rb (mkmf_failed): check if Makefile is created without create_makefile. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/mkmf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/mkmf.rb b/lib/mkmf.rb index f15d0ead3..5263c4b07 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -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 -- cgit