use pkg-config's macro for detection, for cross-build compatibility
Submitted by Yves-Alexis Perez
Assigned to Xfce Bug Triage
Description
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.
Patch 3773, "update check for pkg-config":
proper-pkg-config-check
Version: 4.8.0