Commit 20c4a887 authored by Marico Xu's avatar Marico Xu

Add check for xextproto in

drmmode_display.c already tries to check if the xext proto is 7.1 or above to include the correct header,
but until now the used constant was not checked/defined during configure at all.
Add the configure part is based on what xf86-video-modesetting does.

Change-Id: I1a37cb258f9f137731b083aeb2f3e572dc8977a2
parent fe19c29e
......@@ -82,6 +82,11 @@ PKG_CHECK_MODULES(XORG,
PKG_CHECK_MODULES(XEXT, [xextproto >=],
HAVE_XEXTPROTO_71="yes"; AC_DEFINE(HAVE_XEXTPROTO_71, 1, [xextproto 7.1 available]),
# Checks for header files.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment