Merge XQuartz and X11 modules
This commit is contained in:
parent
8887fe7606
commit
273f5b2ddd
@ -1,5 +1,7 @@
|
|||||||
module OS
|
module OS
|
||||||
module Mac
|
module Mac
|
||||||
|
X11 = XQuartz = Module.new
|
||||||
|
|
||||||
module XQuartz
|
module XQuartz
|
||||||
extend self
|
extend self
|
||||||
|
|
||||||
@ -87,18 +89,6 @@ module OS
|
|||||||
def installed?
|
def installed?
|
||||||
!version.nil? && !prefix.nil?
|
!version.nil? && !prefix.nil?
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
module X11
|
|
||||||
extend self
|
|
||||||
|
|
||||||
def prefix
|
|
||||||
MacOS::XQuartz.prefix
|
|
||||||
end
|
|
||||||
|
|
||||||
def installed?
|
|
||||||
MacOS::XQuartz.installed?
|
|
||||||
end
|
|
||||||
|
|
||||||
# If XQuartz and/or the CLT are installed, headers will be found under
|
# If XQuartz and/or the CLT are installed, headers will be found under
|
||||||
# /opt/X11/include or /usr/X11/include. For Xcode-only systems, they are
|
# /opt/X11/include or /usr/X11/include. For Xcode-only systems, they are
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user