Retire check for GCC 4.0 under XCode 4.x

XCode 4.x only includes GCC 4.2. Therefore, having `brew doctor` report that
GCC 4.0 is missing only spreads fear, uncertainty and doubt over a situation
that is status quo.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Charlie Sharpsteen 2011-07-20 23:26:11 -07:00 committed by Adam Vandenberg
parent 92b9edd34b
commit fbff2ee853

View File

@ -194,6 +194,7 @@ def check_gcc_versions
EOS
end
if MacOS.xcode_version < "4.0"
if gcc_40 == nil
puts <<-EOS.undent
We couldn't detect gcc 4.0.x. Some formulae require this compiler.
@ -207,6 +208,7 @@ def check_gcc_versions
EOS
end
end
end
def __check_subdir_access base
target = HOMEBREW_PREFIX+base