Commit 0fd41d23 authored by José Fonseca's avatar José Fonseca

scons: Restore x11 tool behavior for backwards compatability.

parent ab9ca6ca
......@@ -29,12 +29,24 @@ Tool-specific initialization for X11
def generate(env):
# XXX: backwards compatability only
env.Append(CPPPATH = ['/usr/X11R6/include'])
env.Append(LIBPATH = ['/usr/X11R6/lib'])
env.Append(LIBS = [
def exists(env):
return True
# TODO: actually detect the presence of the headers
if env['platform'] in ('linux', 'freebsd', 'darwin'):
return True
return False
# vim:set ts=4 sw=4 et:
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment