aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMax Howell2012-02-27 00:41:17 +0000
committerMax Howell2012-02-27 03:35:11 +0000
commitb0c81fcc5d5744fdad7b1eb0f8ccbf455b2573d3 (patch)
treefcde6ef2c5ebc23259d01ac7ecb892e835519b25 /Library/Homebrew/cmd
parent28f7e01875b3d56b1c4ac720f7e4f9add77e7d31 (diff)
downloadhomebrew-b0c81fcc5d5744fdad7b1eb0f8ccbf455b2573d3.tar.bz2
Autoconf, Automake and Libtool
We need these now for Xcode-4.3/CLT4X installations. Also prevent m4 error in installer. And prevent brew doctor complaining if we're Xcode 4.3 or above. Closes #10349. Fixes #10423. Refs #9179.
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/doctor.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 0a833add3..eff374366 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -620,6 +620,8 @@ def check_git_newline_settings
end
def check_for_autoconf
+ return if MacOS.xcode_version >= "4.3"
+
autoconf = `/usr/bin/which autoconf`.chomp
safe_autoconfs = %w[/usr/bin/autoconf /Developer/usr/bin/autoconf]
unless autoconf.empty? or safe_autoconfs.include? autoconf