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 518892 - Allow override of pkg-config results
Allow override of pkg-config results
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: common
git master
Other Linux
: Normal enhancement
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-02-26 17:59 UTC by Edward Hervey
Modified: 2008-04-17 18:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Allow override of pkg-config detected values for GLIB (1.20 KB, patch)
2008-02-26 18:00 UTC, Edward Hervey
none Details | Review
Proper implementation (638 bytes, patch)
2008-02-26 18:35 UTC, Edward Hervey
committed Details | Review

Description Edward Hervey 2008-02-26 17:59:54 UTC
in the configure documentation, it says that the GLIB_CFLAGS/GLIB_LIBS environment variables can override the values discovered by pkg-config.

The attached patch actually allows doing so.
Comment 1 Edward Hervey 2008-02-26 18:00:23 UTC
Created attachment 106009 [details] [review]
Allow override of pkg-config detected values for GLIB
Comment 2 Edward Hervey 2008-02-26 18:35:45 UTC
Created attachment 106013 [details] [review]
Proper implementation

This is a much better fix, it was in fact already fixed in system-wide pkg.m4

This should fix the behaviour for all CFLAGS/LIBS overrides offered in ./configure --help
Comment 3 Edward Hervey 2008-03-03 18:16:30 UTC
2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>

	* m4/pkg.m4:
	Allow override of pkg-config results, as proposed by configure --help.
	This is in fact just a backport from upstream pkg.m4.
	Fixes #518892