Re: [libav-devel] [v12] [PATCH 2/2] configure: Simplify and fix libxcb check

2017-06-25 Thread Diego Biurrun
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

[libav-devel] [v12] [PATCH 2/2] configure: Simplify and fix libxcb check

2017-06-23 Thread Diego Biurrun
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