summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common/SConscript
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-07-07 15:57:41 +0100
committerEmil Velikov <[email protected]>2015-07-22 16:35:25 +0100
commit9ab5b644ef64ee23f88a6687cc541ee4e745234a (patch)
treeee48ab8d85d85c8b7511451bc4494b13982d27c6 /src/mesa/drivers/dri/common/SConscript
parent1c328b8aa79b0644160082b7e9e02df18ab3ca48 (diff)
dri/common: use HAVE_LIBDRM over __NOT_HAVE_DRM_H
See previous commit message for details. Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/common/SConscript')
-rw-r--r--src/mesa/drivers/dri/common/SConscript4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/common/SConscript b/src/mesa/drivers/dri/common/SConscript
index b402736db69..adaac291662 100644
--- a/src/mesa/drivers/dri/common/SConscript
+++ b/src/mesa/drivers/dri/common/SConscript
@@ -32,10 +32,7 @@ drienv.AppendUnique(LIBS = [
'expat',
])
-# if HAVE_DRI2
drienv.PkgUseModules('DRM')
-# else
-#env.Append(CPPDEFINES = ['__NOT_HAVE_DRM_H'])
sources = drienv.ParseSourceList('Makefile.sources', ['DRI_COMMON_FILES', 'XMLCONFIG_FILES' ])
@@ -57,7 +54,6 @@ env.Append(CPPPATH = [
])
env.Append(CPPDEFINES = [
- '__NOT_HAVE_DRM_H',
'HAVE_DLADDR',
])