Use PKG_CHECK_MODULES provided by pkg.m4 from pkgconfig.
Created attachment 516 [details] [review] Using PKG_CHECK_MODULES macro.
Done in CVS, thanks for the patch.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.