[前][次][番号順一覧][スレッド一覧]

ruby-changes:27095

From: nobu <ko1@a...>
Date: Fri, 8 Feb 2013 09:39:33 +0900 (JST)
Subject: [ruby-changes:27095] nobu:r39147 (trunk): mkmf.rb: RUBY_VERSION_NAME

nobu	2013-02-08 09:35:20 +0900 (Fri, 08 Feb 2013)

  New Revision: 39147

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39147

  Log:
    mkmf.rb: RUBY_VERSION_NAME
    
    * lib/mkmf.rb (MakeMakefile#configuration): set all ruby names.
      hdrdir now needs RUBY_VERSION_NAME.

  Modified files:
    trunk/ChangeLog
    trunk/lib/mkmf.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39146)
+++ ChangeLog	(revision 39147)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Feb  8 09:35:17 2013  Nobuyoshi Nakada  <nobu@r...>
+
+	* lib/mkmf.rb (MakeMakefile#configuration): set all ruby names.
+	  hdrdir now needs RUBY_VERSION_NAME.
+
 Fri Feb  8 08:58:26 2013  Eric Hodel  <drbrain@s...>
 
 	* lib/rubygems/package/old.rb:  Fix loading old format gems on ruby
Index: lib/mkmf.rb
===================================================================
--- lib/mkmf.rb	(revision 39146)
+++ lib/mkmf.rb	(revision 39147)
@@ -1854,9 +1854,11 @@ LDSHAREDXX = #{config_string('LDSHAREDXX https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L1854
 AR = #{CONFIG['AR']}
 EXEEXT = #{CONFIG['EXEEXT']}
 
-RUBY_BASE_NAME = #{CONFIG['RUBY_BASE_NAME']}
-RUBY_INSTALL_NAME = #{CONFIG['RUBY_INSTALL_NAME']}
-RUBY_SO_NAME = #{CONFIG['RUBY_SO_NAME']}
+}
+    CONFIG.each do |key, val|
+      mk << "#{key} = #{val}\n" if /^RUBY.*NAME/ =~ key
+    end
+    mk << %{
 arch = #{CONFIG['arch']}
 sitearch = #{CONFIG['sitearch']}
 ruby_version = #{RbConfig::CONFIG['ruby_version']}

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]