[PATCH xserver] glamor: do not build Xv support when --disable-xv

Olivier Fourdan ofourdan at redhat.com
Wed Mar 9 15:45:18 UTC 2016


Signed-off-by: Olivier Fourdan <ofourdan at redhat.com>
---
 glamor/Makefile.am | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/glamor/Makefile.am b/glamor/Makefile.am
index c488029..c631c53 100644
--- a/glamor/Makefile.am
+++ b/glamor/Makefile.am
@@ -46,10 +46,14 @@ libglamor_la_SOURCES = \
 	glamor_compositerects.c\
 	glamor_utils.c\
 	glamor_utils.h\
-	glamor_xv.c \
 	glamor_sync.c \
 	glamor.h
 
+if XV
+libglamor_la_SOURCES += \
+	glamor_xv.c
+endif
+
 libglamor_egl_stubs_la_SOURCES = glamor_egl_stubs.c
 
 sdk_HEADERS = glamor.h
-- 
2.5.0



More information about the xorg-devel mailing list