GNOME Bugzilla – Bug 405288
Configure checks use pkg-config directly
Last modified: 2007-02-07 11:08:05 UTC
The configure checks in gst-check.m4 use pkg-config directly. It's better to use $PKG_CONFIG because the pkg-config in the path may not be the one you want. This is often the case when cross compiling. The attached patch fixes the issue.
Created attachment 82073 [details] [review] Patch to use $PKG_CONFIG instead of pkg-config directly.
Committed, thanks: 2007-02-07 Tim-Philipp Müller <tim at centricular dot net> Patch by: Will Newton <will.newton gmail com> * m4/gst-check.m4: Use $PKG_CONFIG rather than pkg-config directly, the one in our path might not be the one we want, like when cross-compiling. Also, other macros such as PKG_CHECK_MODULES use $PKG_CONFIG, so we should probably too just for consistency. Fixes #405288.