[Pkg-xfce-devel] Bug#632502: Bug#632502: src:xfce4-dev-tools: please use pkg-config's macro for detection, for cross-build compatibility

Yves-Alexis Perez corsac at debian.org
Sun Jul 3 11:17:25 UTC 2011

forwarded 632502 https://bugzilla.xfce.org/show_bug.cgi?id=7787
tag 632502 upstream

On sam., 2011-07-02 at 22:12 +0000, Steve Langasek wrote:
> Package: src:xfce4-dev-tools
> Version: 4.8.0-1
> Severity: normal
> User: ubuntu-devel at lists.ubuntu.com
> Usertags: origin-ubuntu ubuntu-patch oneiric

> Hi there,
> When testing a cross-build of libxfce4util in connection with multiarch, I
> found a bug whereby pkg-config was being detected instead of
> arm-linux-gnueabi-pkg-config, which was odd because the standard pkg-config
> macros (which get included in the libxfce4util aclocal.m4 anyway via
> GTK_DOC_CHECK) work fine for cross-compilation: they invoke
> AC_PATH_TOOL(pkg-config), where the XDT_PROG_PKG_CONFIG() macro calls
> AC_PATH_PROG(pkg-config).
> The attached patch addresses this by having XDT_PROG_PKG_CONFIG() call the
> standard PKG_PROG_PKG_CONFIG() macro, which presumably is ok because
> pkg-config should be available in the build environment.  But if you prefer
> not to add dependencies on external macros, then please at least update the
> macro to call AC_PATH_TOOL() in place of AC_PATH_PROG().
I've asked upstream pov on related bug, I'll wait a few days to get
their feeling before including it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20110703/e793b511/attachment.pgp>

More information about the Pkg-xfce-devel mailing list