summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-11-22 10:51:24 -0500
committerOlivier Fourdan <ofourdan@redhat.com>2016-11-30 09:47:43 +0100
commite1d30075c923f96a375895d74ea12a3c92a640c6 (patch)
tree3f06b4beca5c05588560342051c4d21a159f37fe
parent59ad0e6a416d8e23f9d962af67a16ee28ec7867b (diff)
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>
-rw-r--r--configure.ac5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 6fd853bb9..93c81a644 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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