After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 405288 - Configure checks use pkg-config directly
Configure checks use pkg-config directly
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.11
Other Linux
: Normal normal
: 0.10.12
Assigned To: Tim-Philipp Müller
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-02-07 09:43 UTC by Will Newton
Modified: 2007-02-07 11:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to use $PKG_CONFIG instead of pkg-config directly. (1.30 KB, patch)
2007-02-07 09:47 UTC, Will Newton
committed Details | Review

Description Will Newton 2007-02-07 09:43:51 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.
Comment 1 Will Newton 2007-02-07 09:47:22 UTC
Created attachment 82073 [details] [review]
Patch to use $PKG_CONFIG instead of pkg-config directly.
Comment 2 Tim-Philipp Müller 2007-02-07 11:08:05 UTC
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.