From 7fa3208b026fcdcba6c5566af3bf6a99bf71a187 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 15 Mar 2011 10:44:29 -0700 Subject: [PATCH] Add warning about m4 macros. --- Library/Homebrew/install.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index a77fd66a32..99624933d3 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