aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/xcode.rb
diff options
context:
space:
mode:
authorJack Nagel2012-07-09 15:19:30 -0500
committerJack Nagel2012-07-25 12:04:41 -0500
commit234dd8513baec7c53383a432b39494d7553faf83 (patch)
tree3cc34246a92a32795d68da167f3f3b41bb1ea8a9 /Library/Homebrew/xcode.rb
parent16be488466ed384efae2a890cfcff5401e11590f (diff)
downloadhomebrew-234dd8513baec7c53383a432b39494d7553faf83.tar.bz2
Add MacOS::Xcode.provides_autotools?
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/xcode.rb')
-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 f7512c459..74c5fbd9f 100644
--- a/Library/Homebrew/xcode.rb
+++ b/Library/Homebrew/xcode.rb
@@ -118,6 +118,10 @@ module MacOS::Xcode extend self
end
end
end
+
+ def provides_autotools?
+ version.to_f < 4.3
+ end
end
module MacOS::CLT extend self