summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-20 13:51:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-20 13:51:48 +0000
commit2bf474b1a31a3600e2f94d11326c538580f757ca (patch)
tree25ff1bc0563ff57a409ee31ffcc4b9597acc23e8
parent104ea6ca93ec66c7c48d579a5360cfdd3d114f16 (diff)
* 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
-rw-r--r--ChangeLog5
-rw-r--r--lib/mkmf.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7957857a3e..4fad314c7c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Mar 20 22:51:19 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * lib/mkmf.rb (mkmf_failed): check if Makefile is created without
+ create_makefile.
+
Sat Mar 19 23:48:10 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* misc/ruby-mode.el (ruby-expr-beg): returned true always.
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index f15d0ead36..5263c4b07b 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