diff options
| author | Jack Nagel | 2012-07-10 21:01:16 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-07-25 12:04:42 -0500 |
| commit | a772fb97ab9b25bbecf78192c01e6252dfdb89cc (patch) | |
| tree | bc285b83e49d093b625a6732d9bc4f8552746d8d /Library | |
| parent | 4eeb0e64413065c2454c206a2733a8010204b45a (diff) | |
| download | brew-a772fb97ab9b25bbecf78192c01e6252dfdb89cc.tar.bz2 | |
Add MacOS::Xcode.provides_gcc?
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/xcode.rb | 4 |
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 |
