summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-04-15 13:01:37 -0400
committerAdam Jackson <ajax@redhat.com>2011-04-15 17:47:20 -0400
commit001b6b8b70734db1fa2f68e45c1db8337ba9f662 (patch)
treef1c7cb7be056b75d94ce01c5b4823466c494897d /glx
parentf8540b9dcc1fba886be5c4ce7ea0d74952cb48c4 (diff)
glx: Make --disable-dri not disable AIGLX
Either the DRI1 or DRI2 loaders are sufficient. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'glx')
-rw-r--r--glx/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/glx/Makefile.am b/glx/Makefile.am
index 72531f248..ef8677a7c 100644
--- a/glx/Makefile.am
+++ b/glx/Makefile.am
@@ -48,10 +48,13 @@ glapi_sources = \
glthread.h
libglxdri_la_SOURCES = \
- glxdri.c \
extension_string.c \
extension_string.h
+if DRI
+libglxdri_la_SOURCES += glxdri.c
+endif
+
if DRI2_AIGLX
libglxdri_la_SOURCES += glxdri2.c
endif