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 755390 - configure: Direct "pkg-config" usage break prefixed setup
configure: Direct "pkg-config" usage break prefixed setup
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2015-09-22 08:17 UTC by Quentin "Sardem FF7" Glidic
Modified: 2015-09-22 15:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to use ${PKG_CONFIG} (918 bytes, patch)
2015-09-22 08:18 UTC, Quentin "Sardem FF7" Glidic
none Details | Review

Description Quentin "Sardem FF7" Glidic 2015-09-22 08:17:49 UTC
On a system with only a prefixed toolchain (from gcc/binutils to pkg-config) using "pkg-config" directly is wrong.

PKG_PROG_PKG_CONFIG, which is required by any PKG_CHECK_MODULES call, will nicely set ${PKG_CONFIG} to the correct value (i.e. AC_PATH_TOOL, with prefix if needed), just use it.
Comment 1 Quentin "Sardem FF7" Glidic 2015-09-22 08:18:40 UTC
Created attachment 311831 [details] [review]
Patch to use ${PKG_CONFIG}
Comment 2 Paolo Bacchilega 2015-09-22 15:21:02 UTC
pushed to master, thank you.