Skip to content

Commit ddbfe35

Browse files
committed
Use autogen.sh if exists
1 parent 449cc25 commit ddbfe35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/make-snapshot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ def package(vcs, rev, destdir, tmp = nil)
430430
puts "cross.rb:", File.read("cross.rb").gsub(/^/, "> "), "" if $VERBOSE
431431
unless File.exist?("configure")
432432
print "creating configure..."
433-
unless system([ENV["AUTOCONF"]]*2)
433+
unless system(File.exist?(gen = "./autogen.sh") ? gen : [ENV["AUTOCONF"]]*2)
434434
puts $colorize.fail(" failed")
435435
return
436436
end

0 commit comments

Comments
 (0)