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

ruby-changes:28883

From: naruse <ko1@a...>
Date: Mon, 27 May 2013 00:51:23 +0900 (JST)
Subject: [ruby-changes:28883] naruse:r40935 (trunk): * tool/make-snapshot: use ENV["AUTOCONF"] instead of directly using

naruse	2013-05-27 00:51:13 +0900 (Mon, 27 May 2013)

  New Revision: 40935

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

  Log:
    * tool/make-snapshot: use ENV["AUTOCONF"] instead of directly using
      literal "autoconf".

  Modified files:
    trunk/ChangeLog
    trunk/tool/make-snapshot

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 40934)
+++ ChangeLog	(revision 40935)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon May 27 00:31:09 2013  NARUSE, Yui  <naruse@r...>
+
+	* tool/make-snapshot: use ENV["AUTOCONF"] instead of directly using
+	  literal "autoconf".
+
 Sun May 26 21:31:46 2013  Koichi Sasada  <ko1@a...>
 
 	* hash.c, include/ruby/ruby.h: support WB protected hash.
Index: tool/make-snapshot
===================================================================
--- tool/make-snapshot	(revision 40934)
+++ tool/make-snapshot	(revision 40935)
@@ -38,6 +38,7 @@ ENV["MV"] ||= "mv" https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L38
 ENV["RM"] ||= "rm -f"
 ENV["MINIRUBY"] ||= "ruby"
 ENV["PROGRAM"] ||= "ruby"
+ENV["AUTOCONF"] ||= "autoconf"
 
 class String
   # for older ruby
@@ -179,7 +180,7 @@ def package(rev, destdir) https://github.com/ruby/ruby/blob/trunk/tool/make-snapshot#L180
     end
     unless File.exist?("configure")
       print "creating configure..."
-      unless system("autoconf")
+      unless system(ENV["AUTOCONF"])
         puts " failed"
         return
       end

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

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