summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xtool/make-snapshot3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9d33441b99..0a69f653c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 2c0db91cd4..32ae1722a7 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -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