Move OS::Mac::Xcode.provides_autotools? to compat
Closes #125. Signed-off-by: Misty De Meo <mistydemeo@github.com>
This commit is contained in:
parent
f5f41f2079
commit
534d6fd527
@ -13,3 +13,4 @@ require "compat/keg"
|
|||||||
require "compat/pathname"
|
require "compat/pathname"
|
||||||
require "compat/dependency_collector"
|
require "compat/dependency_collector"
|
||||||
require "compat/language/haskell"
|
require "compat/language/haskell"
|
||||||
|
require "compat/xcode"
|
||||||
|
11
Library/Homebrew/compat/xcode.rb
Normal file
11
Library/Homebrew/compat/xcode.rb
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
module OS
|
||||||
|
module Mac
|
||||||
|
module Xcode
|
||||||
|
extend self
|
||||||
|
|
||||||
|
def provides_autotools?
|
||||||
|
version < "4.3"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
@ -138,10 +138,6 @@ module OS
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def provides_autotools?
|
|
||||||
version < "4.3"
|
|
||||||
end
|
|
||||||
|
|
||||||
def provides_gcc?
|
def provides_gcc?
|
||||||
version < "4.3"
|
version < "4.3"
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user