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:
  Show dependency tree
 
Reported: 2005-04-13 08:18 UTC by James Henstridge
Modified: 2005-07-02 12:48 UTC (History)
0 users

See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments

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.

Note You need to log in before you can comment on or make changes to this bug.