Lintian ReportsBETA

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

Tag versions

The tag is present in Lintian version 2.104.319. 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: cruft

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

We found 7 overrides. The tag performed 94% of the time.