summaryrefslogtreecommitdiff
path: root/tool/make-snapshot
diff options
context:
space:
mode:
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot3
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 79289d6bfb..901ec14ff4 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -407,13 +407,14 @@ def package(vcs, rev, destdir, tmp = nil)
end
unless File.exist?("configure")
print "creating configure..."
- unless system([ENV["AUTOCONF"]]*2)
+ unless system(ENV["AUTOCONF"], "-I", "tool/m4", "-o", "configure")
puts $colorize.fail(" failed")
return
end
puts $colorize.pass(" done")
end
clean.add("autom4te.cache")
+ clean.add("tool/m4/autom4te.cache")
clean.add("enc/unicode/data")
print "creating prerequisites..."
if File.file?("common.mk") && /^prereq/ =~ commonmk = IO.read("common.mk")