[PATCH xserver] configure: Enable glamor when building just Xwayland

Pekka Paalanen ppaalanen at gmail.com
Wed Nov 23 08:06:45 UTC 2016


On Tue, 22 Nov 2016 10:51:24 -0500
Adam Jackson <ajax at redhat.com> wrote:

> Signed-off-by: Adam Jackson <ajax at redhat.com>
> ---
>  configure.ac | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 6fd853b..93c81a6 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

Hi Adam,

thanks for this, works nicely enabling glamor when I build only Xwayland.

Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
Tested-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.x.org/archives/xorg-devel/attachments/20161123/74be495b/attachment.sig>


More information about the xorg-devel mailing list