On Fri, Jun 23, 2017 at 02:06:29PM +0200, Diego Biurrun wrote:
> Check for xcb as well as xcb-shape before enabling libxcb since newer
> versions of libxcb have xcb-foo pkg-config files that do not declare
> their xcb dependency so that required linker flags will not be generated.
>
> Use helper f
Check for xcb as well as xcb-shape before enabling libxcb since newer
versions of libxcb have xcb-foo pkg-config files that do not declare
their xcb dependency so that required linker flags will not be generated.
Use helper functions to simplify libxcb check, drop unused variables.
(cherry picked