diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-11-03 15:21:51 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-11-03 15:21:51 +0000 |
commit | d49dfe66cfb0e13094e5918b9857c4eb474a53f6 (patch) | |
tree | a55467e2179e622d1d3657a5e15593ca8b964ef7 /src/gallium/state_trackers/xorg | |
parent | 12376d8ea384f8a984daf6892a2bd07a70604962 (diff) | |
download | external_mesa3d-d49dfe66cfb0e13094e5918b9857c4eb474a53f6.zip external_mesa3d-d49dfe66cfb0e13094e5918b9857c4eb474a53f6.tar.gz external_mesa3d-d49dfe66cfb0e13094e5918b9857c4eb474a53f6.tar.bz2 |
st/xorg: Detect libkms with scons too.
Diffstat (limited to 'src/gallium/state_trackers/xorg')
-rw-r--r-- | src/gallium/state_trackers/xorg/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/SConscript b/src/gallium/state_trackers/xorg/SConscript index ffaa1c2..bc7821f 100644 --- a/src/gallium/state_trackers/xorg/SConscript +++ b/src/gallium/state_trackers/xorg/SConscript @@ -14,6 +14,9 @@ env.Append(CPPPATH = [ env.ParseConfig('pkg-config --cflags --libs libdrm xorg-server') +if env['kms']: + env.Append(CPPDEFINES = ['HAVE_LIBKMS']) + conf = env.Configure() if conf.CheckHeader('X11/extensions/dpmsconst.h'): |