aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-15 10:44:29 -0700
committerAdam Vandenberg2011-03-29 10:02:56 -0700
commit0301f4d6344051864af3d885863abd4fb6e5ea00 (patch)
tree150f6e2c1c44746cfe59297282ff29ba9b2379ce /Library
parenteee48a1cd503c60580671032aaabcdae949d6b97 (diff)
downloadhomebrew-0301f4d6344051864af3d885863abd4fb6e5ea00.tar.bz2
Add warning about m4 macros.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/install.rb8
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