aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2012-07-10 21:01:16 -0500
committerJack Nagel2012-07-25 12:04:42 -0500
commita772fb97ab9b25bbecf78192c01e6252dfdb89cc (patch)
treebc285b83e49d093b625a6732d9bc4f8552746d8d /Library/Homebrew
parent4eeb0e64413065c2454c206a2733a8010204b45a (diff)
downloadbrew-a772fb97ab9b25bbecf78192c01e6252dfdb89cc.tar.bz2
Add MacOS::Xcode.provides_gcc?
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/xcode.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/xcode.rb b/Library/Homebrew/xcode.rb
index 74c5fbd9f..ab3062ed0 100644
--- a/Library/Homebrew/xcode.rb
+++ b/Library/Homebrew/xcode.rb
@@ -122,6 +122,10 @@ module MacOS::Xcode extend self
def provides_autotools?
version.to_f < 4.3
end
+
+ def provides_gcc?
+ version.to_f < 4.3
+ end
end
module MacOS::CLT extend self