diff options
| author | Mike McQuaid | 2012-11-12 20:17:30 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2012-11-12 20:17:57 +0000 |
| commit | a50954b21079ae3dd0f826b864012db8f98c5db7 (patch) | |
| tree | b835c4f56d5c736a9e665bfd15796e16ac0bd94a /Library | |
| parent | 6d86b008de85844712bc6312e46531e462a06822 (diff) | |
| download | homebrew-a50954b21079ae3dd0f826b864012db8f98c5db7.tar.bz2 | |
Remove m4 macro warning.
Fixes #15956.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index a47a03b37..218848a3d 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -157,7 +157,6 @@ class FormulaInstaller audit_lib check_manpages check_infopages - check_m4 end keg = Keg.new(f.prefix) @@ -437,25 +436,6 @@ class FormulaInstaller check_jars check_non_libraries end - - def check_m4 - # Newer versions of Xcode don't come with autotools - return unless MacOS::Xcode.provides_autotools? - - # If the user has added our path to dirlist, don't complain - return if File.open("/usr/share/aclocal/dirlist") do |dirlist| - dirlist.grep(%r{^#{HOMEBREW_PREFIX}/share/aclocal$}).length > 0 - end rescue false - - # Check for installed m4 files - if Dir[f.share+"aclocal/*.m4"].length > 0 - opoo 'm4 macros were installed to "share/aclocal".' - puts "Homebrew does not append \"#{HOMEBREW_PREFIX}/share/aclocal\"" - puts "to \"/usr/share/aclocal/dirlist\". If an autoconf script you use" - puts "requires these m4 macros, you'll need to add this path manually." - @show_summary_heading = true - end - end end |
