From ddbfe353c2100400f60d6bd012cc175ca4b518ab Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 1 Aug 2025 21:32:17 +0900 Subject: Use autogen.sh if exists --- tool/make-snapshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/make-snapshot b/tool/make-snapshot index 7a9797d13d..7d4fce4f15 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -430,7 +430,7 @@ def package(vcs, rev, destdir, tmp = nil) puts "cross.rb:", File.read("cross.rb").gsub(/^/, "> "), "" if $VERBOSE unless File.exist?("configure") print "creating configure..." - unless system([ENV["AUTOCONF"]]*2) + unless system(File.exist?(gen = "./autogen.sh") ? gen : [ENV["AUTOCONF"]]*2) puts $colorize.fail(" failed") return end -- cgit v1.2.3