Lintian ReportsBETA

autotools-pkg-config-macro-not-cross-compilation-safe

The package appears to use AC_PATH_PROG to discover the location of pkg-config(1). This macro fails to select the correct version to support cross-compilation.

A better way would be to use the PKG_PROG_PKG_CONFIG macro from pkg.m4 and then using the $PKG_CONFIG shell variable.

For more information please consult:

The tag is present in Lintian version 2.114.163. That is the most recent version we know about.

We use semantic versions. The patch number is a commit step indicator relative to the 2.112.0 release tag in our Git repository.

You can find the detection logic for this version at commit 131c0f4. For merge requests, please use the latest version in the Lintian check build-systems/autotools.

Visibility: warning

The following 99 source packages in the archive triggered the tag 111 times (in any Lintian version).

There were no overrides.