summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-12-03 11:22:38 -0500
committerKristian Høgsberg <krh@redhat.com>2008-12-03 11:22:38 -0500
commit110a71d11ab7a1a55a6a24d792457fdef0b0746d (patch)
treeef71f8b0d99e625210458319a1135bca2a0804b7 /glx
parentfd2d40b7ec5d685dac55453eb1f2da672dc83126 (diff)
Test for DRI2 extension in dri_internal.h and only enable AIGLX DRI2 if found.
Diffstat (limited to 'glx')
-rw-r--r--glx/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/glx/Makefile.am b/glx/Makefile.am
index 8c705a74f..bec35bf21 100644
--- a/glx/Makefile.am
+++ b/glx/Makefile.am
@@ -24,7 +24,7 @@ INCLUDES = \
-I$(top_srcdir)/hw/xfree86/dri \
-I$(top_srcdir)/mi
-if DRI2
+if DRI2_AIGLX
INCLUDES += -I$(top_srcdir)/hw/xfree86/dri2
endif
@@ -53,7 +53,7 @@ libglxdri_la_SOURCES = \
extension_string.c \
extension_string.h
-if DRI2
+if DRI2_AIGLX
libglxdri_la_SOURCES += glxdri2.c
endif