diff options
| author | Adam Vandenberg | 2011-03-15 10:44:29 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-29 10:02:56 -0700 |
| commit | 7fa3208b026fcdcba6c5566af3bf6a99bf71a187 (patch) | |
| tree | 5ec43d666cb259be26f109446e64c5fd5ff1a112 /Library | |
| parent | a2aa0c0bffad7d6afe864fbcfc13689a43b9d552 (diff) | |
| download | brew-7fa3208b026fcdcba6c5566af3bf6a99bf71a187.tar.bz2 | |
Add warning about m4 macros.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/install.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index a77fd66a3..99624933d 100755 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -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 |
