From 001b6b8b70734db1fa2f68e45c1db8337ba9f662 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 15 Apr 2011 13:01:37 -0400 Subject: glx: Make --disable-dri not disable AIGLX Either the DRI1 or DRI2 loaders are sufficient. Reviewed-by: Ian Romanick Signed-off-by: Adam Jackson --- glx/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'glx/Makefile.am') 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 -- cgit v1.2.3