Skip to content

Commit

Permalink
Add warning about m4 macros.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamv committed Mar 29, 2011
1 parent eee48a1 commit 0301f4d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Library/Homebrew/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,14 @@ def install f
end
end

# Check for 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."
end

# link from Cellar to Prefix
begin
keg.link
Expand Down

0 comments on commit 0301f4d

Please sign in to comment.