aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/audit.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 030555beb..6812dd118 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -275,9 +275,10 @@ class FormulaAuditor
end
# build tools should be flagged properly
+ # but don't complain about automake; it needs autoconf at runtime
if text =~ /depends_on ['"](#{BUILD_TIME_DEPS*'|'})['"]$/
problem "#{$1} dependency should be \"depends_on '#{$1}' => :build\""
- end
+ end unless f.name == "automake"
# FileUtils is included in Formula
if text =~ /FileUtils\.(\w+)/