glamor: do not build Xv support when --disable-xv

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
(cherry picked from commit 25ce263fd8)
This commit is contained in:
Olivier Fourdan 2016-03-09 16:45:18 +01:00 committed by Adam Jackson
parent 9fc05b85e5
commit 5af20f1563

View File

@ -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