Skip to content
Snippets Groups Projects
Commit 273f5b2d authored by Jack Nagel's avatar Jack Nagel
Browse files

Merge XQuartz and X11 modules

parent 8887fe76
No related branches found
No related tags found
No related merge requests found
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 ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment