aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/utils.rb')
-rw-r--r--Library/Homebrew/utils.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index a34e108de..52b85bd19 100644
--- a/Library/Homebrew/utils.rb
+++ b/Library/Homebrew/utils.rb
@@ -276,4 +276,8 @@ def dump_build_env env
value = env[k]
puts "#{k}: #{value}" if value
end
+end
+
+def x11_installed?
+ Pathname.new('/usr/X11/lib/libpng.dylib').exist?
end \ No newline at end of file