! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
use pkg-config's macro for detection, for cross-build compatibility
Status:
RESOLVED: FIXED
Product:
Xfce4-dev-tools
Component:
General

Comments

Description Yves-Alexis Perez editbugs 2011-07-03 13:16:02 CEST
Created attachment 3773 
update check for pkg-config

Hey,

Steve Langasek, in a multi-arch effort for Debian and Ubuntu, discovered an issue in xfce4-dev-tools. The downstream bug is at http://bugs.debian.org/632502 but basically it's a matter of calling AC_PATH_TOOL() instead of AC_PATH_PROG().

As the patch in the downstream bug is a double diff I'm attaching the single patch here for convenience. It takes a different road, using PKG_PROG_PKG_CONFIG() to detect the correct pkg-config.

Feel free to ping me (or reply to the debian bug and Steve Langasek) if you need anything.
Comment 1 Nick Schermer editbugs 2011-07-03 19:45:00 CEST
Pushed a fix in f2eb2c2 to use the macro. To avoid the clueless undefined warning if pkg-config is not installed, the whole thing is in a m4_ifdef and some better warnings we used to have.

Bug #7787

Reported by:
Yves-Alexis Perez
Reported on: 2011-07-03
Last modified on: 2011-07-03

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Attachments

update check for pkg-config (2.35 KB, patch)
2011-07-03 13:16 CEST , Yves-Alexis Perez
no flags

Additional information