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 300449 - eog fails to build with pkg-config >= 0.16.0's PKG_CHECK_MODULES() macro
eog fails to build with pkg-config >= 0.16.0's PKG_CHECK_MODULES() macro
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: general
2.10.x
Other Linux
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-04-13 08:18 UTC by James Henstridge
Modified: 2005-07-02 12:48 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description James Henstridge 2005-04-13 08:18:03 UTC
The PKG_CHECK_MODULES() macro in the newer versions of pkg-config cache the
results of pkg-config runs based on the variable prefix.

The eog configure script contains the following:
    PKG_CHECK_MODULES(EXIF, libexif >= $LIBEXIF_REQUIRED, have_exif=yes,
have_exif=no)
    PKG_CHECK_MODULES(EXIF, libexif = $LIBEXIF_REQUIRED, have_old_libexif=yes,
have_old_libexif=no)

The second PKG_CHECK_MODULES() call gives an unexpected result, due to the
caching behaviour.  I managed to work around the problem by changing the second
occurence from "PKG_CHECK_MODULES(EXIF, ..." to "PKG_CHECK_MODULES(OLDEXIF, ..."
Comment 1 Paolo Borelli 2005-07-02 12:48:12 UTC
this is a pkg-config issue and is fixed in pkg-config 0.18.1. closing.