summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2009-11-10 10:09:56 -0800
committerMichel Dänzer <[email protected]>2009-11-10 10:09:56 -0800
commit5e17c89eadd1a1a5555caa235cf7696e335d25f5 (patch)
tree10f796d5fabecbf602ef1978c0779963e440fc94 /src/gallium/state_trackers
parent413e933fd57c53e6d6659cfcf21aba42249f43ca (diff)
st/xorg: Fix SCons build.
Check for new DPMS header and add xorg_renderer.c source file.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/xorg/SConscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/SConscript b/src/gallium/state_trackers/xorg/SConscript
index 6165bae7a4b..5d0b6613ac7 100644
--- a/src/gallium/state_trackers/xorg/SConscript
+++ b/src/gallium/state_trackers/xorg/SConscript
@@ -13,6 +13,11 @@ if 'xorg' in env['statetrackers']:
env.ParseConfig('pkg-config --cflags --libs xorg-server')
+ conf = env.Configure()
+
+ if conf.CheckHeader('X11/extensions/dpmsconst.h'):
+ env.Append(CPPDEFINES = [('HAVE_XEXTPROTO_71', '1')])
+
st_xorg = env.ConvenienceLibrary(
target = 'st_xorg',
source = [ 'xorg_composite.c',
@@ -22,6 +27,7 @@ if 'xorg' in env['statetrackers']:
'xorg_exa.c',
'xorg_exa_tgsi.c',
'xorg_output.c',
+ 'xorg_renderer.c',
'xorg_xv.c',
]
)