From 7daf9af086624133d6c4857ed92d57ad2a492d86 Mon Sep 17 00:00:00 2001 From: Zhigang Gong Date: Wed, 31 Aug 2011 17:43:46 +0800 Subject: [PATCH] glamor: Let GLAMOR_DDX implicit GLAMOR. If user only enable GLAMOR_DDX, he must also want GLAMOR. Signed-off-by: Zhigang Gong --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 82c845ba7..80daf828b 100644 --- a/configure.ac +++ b/configure.ac @@ -1772,7 +1772,11 @@ AM_CONDITIONAL([XF86VIDMODE], [test "x$XF86VIDMODE" = xyes]) dnl glamor -AM_CONDITIONAL([GLAMOR], [test "x$XEPHYR" = xyes || test "x$GLAMOR_DDX" = xyes || test "x$GLAMOR" = xyes]) +if [test "x$XEPHYR" = xyes || test "x$GLAMOR_DDX" = xyes] ; then + GLAMOR=yes +fi + +AM_CONDITIONAL([GLAMOR], [test "x$GLAMOR" = xyes]) AM_CONDITIONAL([GLAMOR_GLES2], [test "x$GLAMOR_GLES2" = xyes]) AM_CONDITIONAL([GLAMOR_DDX], [test "x$GLAMOR_DDX" = xyes])