aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2012-11-12 20:17:30 +0000
committerMike McQuaid2012-11-12 20:17:57 +0000
commitc6a8dd247e4c31ca1e9e2dba613fae9b9e65b78a (patch)
treee4584959d6af2bde056b147687976a647ac2798a /Library/Homebrew
parentbce7dedb6a6219fbacd9a90d6eb91854708d6e2a (diff)
downloadbrew-c6a8dd247e4c31ca1e9e2dba613fae9b9e65b78a.tar.bz2
Remove m4 macro warning.
Fixes Homebrew/homebrew#15956.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula_installer.rb20
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