[PATCH xserver] configure: Enable glamor when building just Xwayland
Eric Anholt
eric at anholt.net
Wed Nov 23 19:47:16 UTC 2016
Alan Coopersmith <alan.coopersmith at oracle.com> writes:
> On 11/22/16 04:58 PM, Eric Anholt wrote:
>> Adam Jackson <ajax at redhat.com> writes:
>>
>>> 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
>>
>> Doesn't that want a "> /dev/null" to not spit the 'yes' into the
>> configure output? Other than that, this is great.
>
> Isn't that what the -q option to grep does?
Missed that. In that case,
Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20161123/b7a7d81c/attachment.sig>
More information about the xorg-devel
mailing list