diff options
| author | Adam Vandenberg | 2012-07-09 08:39:23 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-07-09 08:39:36 -0700 |
| commit | cd6fe1f44413f519d64a3f219c6b29aae82ee6b7 (patch) | |
| tree | 53f5be30f56bcc6417152ae98ad34400fe45fa2d /Library | |
| parent | e9645e3fb89effd1df14a3a315bb512023c041a4 (diff) | |
| download | homebrew-cd6fe1f44413f519d64a3f219c6b29aae82ee6b7.tar.bz2 | |
Add some comments
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index a7fd0d07f..5356f166e 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -376,13 +376,15 @@ class FormulaInstaller end def check_m4 + # Newer versions of Xcode don't come with autotools return if MacOS.xcode_version.to_f >= 4.3 + # 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 m4 files + # 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\"" |
