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

ruby-changes:32389

From: nobu <ko1@a...>
Date: Tue, 31 Dec 2013 15:34:42 +0900 (JST)
Subject: [ruby-changes:32389] nobu:r44468 (trunk): mkconfig.rb: pass version numbers

nobu	2013-12-31 15:34:35 +0900 (Tue, 31 Dec 2013)

  New Revision: 44468

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

  Log:
    mkconfig.rb: pass version numbers
    
    * tool/mkconfig.rb (RbConfig): version numbers are also needed by
      RUBY_SO_NAME.

  Modified files:
    trunk/tool/mkconfig.rb
Index: tool/mkconfig.rb
===================================================================
--- tool/mkconfig.rb	(revision 44467)
+++ tool/mkconfig.rb	(revision 44468)
@@ -75,7 +75,7 @@ File.foreach "config.status" do |line| https://github.com/ruby/ruby/blob/trunk/tool/mkconfig.rb#L75
     case name
     when /^(?:ac_.*|configure_input|(?:top_)?srcdir|\w+OBJS)$/; next
     when /^(?:X|(?:MINI|RUN|BASE)RUBY$)/; next
-    when /^(?:MAJOR|MINOR|TEENY)$/; next
+    when /^(?:MAJOR|MINOR|TEENY)$/; vars[name] = val; next
     when /^LIBRUBY_D?LD/; next
     when /^RUBY_INSTALL_NAME$/; next vars[name] = (install_name = val).dup if $install_name
     when /^RUBY_SO_NAME$/; next vars[name] = (so_name = val).dup if $so_name

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

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