glamor: Let GLAMOR_DDX implicit GLAMOR.

If user only enable GLAMOR_DDX, he must also want GLAMOR.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
This commit is contained in:
Zhigang Gong 2011-08-31 17:43:46 +08:00
parent f08988455c
commit 7daf9af086

View File

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