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 392636 - glib-2.0.m4 ignores PKG_CONFIG environment variable
glib-2.0.m4 ignores PKG_CONFIG environment variable
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2007-01-04 07:12 UTC by Yevgen Muntyan
Modified: 2007-01-08 04:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use pkg-config own macro to find it (717 bytes, patch)
2007-01-04 07:14 UTC, Yevgen Muntyan
none Details | Review

Description Yevgen Muntyan 2007-01-04 07:12:56 UTC
glib-2.0.m4 uses AC_PATH_PROG which ignores PKG_CONFIG environment variable, so overriding pkg-config won't work with GTK, even though PKG_* macros do accept PKG_CONFIG variable for this (and it's important for cross-compiling).
Comment 1 Yevgen Muntyan 2007-01-04 07:14:14 UTC
Created attachment 79363 [details] [review]
Use pkg-config own macro to find it
Comment 2 Matthias Clasen 2007-01-08 04:45:22 UTC
2007-01-07  Matthias Clasen  <mclasen@redhat.com>

        * m4macros/glib-2.0.m4: Use PKG_PROG_PKG_CONFIG.  (#392636,
        Yevgen Muntyan)