summaryrefslogtreecommitdiff
path: root/glx/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'glx/Makefile.am')
-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