Lintian ReportsBETA

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

Tag versions

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

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.

Please refer to Bug#884798 for details.

Visibility: warning

Check: build-systems/autotools

The following 105 source packages in the archive triggered the tag 117 times.

We found 6 overrides. The tag performed 95% of the time.