configure: Enable glamor when building just Xwayland

Signed-off-by: Adam Jackson <ajax@redhat.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Adam Jackson 2016-11-22 10:51:24 -05:00 committed by Olivier Fourdan
parent 59ad0e6a41
commit e1d30075c9

View File

@ -2138,10 +2138,7 @@ AM_CONDITIONAL([XORG_DRIVER_MODESETTING], [test "x$XORG_DRIVER_MODESETTING" = xy
dnl glamor
if test "x$GLAMOR" = xauto; then
if test "x$XORG" = xyes; then
GLAMOR=yes
fi
if test "x$XEPHYR" = xyes; then
if echo "$XORG" "$XEPHYR" "$XWAYLAND" | grep -q yes ; then
GLAMOR=yes
fi
fi