1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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

literal "autoconf".

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2013-05-26 15:51:13 +00:00
parent 4ae72030f2
commit 22415d4ff9
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Mon May 27 00:31:09 2013 NARUSE, Yui <naruse@ruby-lang.org>
* tool/make-snapshot: use ENV["AUTOCONF"] instead of directly using
literal "autoconf".
Sun May 26 21:31:46 2013 Koichi Sasada <ko1@atdot.net>
* hash.c, include/ruby/ruby.h: support WB protected hash.

View file

@ -38,6 +38,7 @@ ENV["MV"] ||= "mv"
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)
end
unless File.exist?("configure")
print "creating configure..."
unless system("autoconf")
unless system(ENV["AUTOCONF"])
puts " failed"
return
end