summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH_Konishi <H_Konishi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-27 14:05:25 +0000
committerH_Konishi <H_Konishi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-10-27 14:05:25 +0000
commit68c497e3a7fa0d240ed71158ec398cf7ea2e0f4e (patch)
tree139f1788bc7fb3a5e9275ec84093a27311f21b19
parent7de3b37866d4e0f0de32ef9683752a8a68e7786c (diff)
downloadruby-68c497e3a7fa0d240ed71158ec398cf7ea2e0f4e.tar.gz
ruby-68c497e3a7fa0d240ed71158ec398cf7ea2e0f4e.tar.xz
ruby-68c497e3a7fa0d240ed71158ec398cf7ea2e0f4e.zip
ext/extmk.rb(78) : The unnecessary error when installing by bccwin32 is controlled.
lib/mkmf.rb(773) : Also in the case of bccwin32, the path was added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog7
-rw-r--r--ext/extmk.rb3
-rw-r--r--lib/mkmf.rb2
3 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0417b6524..ac3f3e53b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+Sun Oct 27 22:59:50 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp>
+
+ * ext/extmk.rb(78) : The unnecessary error when installing by bccwin32
+ is controlled.
+
+ * lib/mkmf.rb(773) : Also in the case of bccwin32, the path was added.
+
Sat Oct 26 10:11:47 2002 Akinori MUSHA <knu@iDaemons.org>
* node.h (nd_type): cast the value to int.
diff --git a/ext/extmk.rb b/ext/extmk.rb
index b9b943c0e..bfd39f920 100644
--- a/ext/extmk.rb
+++ b/ext/extmk.rb
@@ -75,6 +75,9 @@ def extmake(target)
else
open("./Makefile", "w") {|f|
f.print configuration($srcdir), makerules(nil), "install:\n"
+ if /bccwin32/ =~ RUBY_PLATFORM
+ f.print "\t@\n"
+ end
}
end
if $static
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index e19fdb35f..ba7d6cd8f 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -770,7 +770,7 @@ DISTCLEANFILES = #{distcleanfiles.join(' ')}
mfile.printf "###\n"
while line = dfile.gets()
line.gsub!(/\.o\b/, ".#{$OBJEXT}")
- line.gsub!(/(\s)([^\s\/]+\.[ch])/, '\1{$(srcdir)}\2') if $nmake
+ line.gsub!(/(\s)([^\s\/]+\.[ch])/, '\1{$(srcdir)}\2') if $nmake||$bccwin
line.gsub!(/\$\(hdrdir\)\/config.h/, $config_h) if $config_h
mfile.print line
end