summaryrefslogtreecommitdiffstats
path: root/tags/a/autotools-pkg-config-macro-not-cross-compilation-safe.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/a/autotools-pkg-config-macro-not-cross-compilation-safe.tag')
-rw-r--r--tags/a/autotools-pkg-config-macro-not-cross-compilation-safe.tag10
1 files changed, 10 insertions, 0 deletions
diff --git a/tags/a/autotools-pkg-config-macro-not-cross-compilation-safe.tag b/tags/a/autotools-pkg-config-macro-not-cross-compilation-safe.tag
new file mode 100644
index 0000000..b1b4cda
--- /dev/null
+++ b/tags/a/autotools-pkg-config-macro-not-cross-compilation-safe.tag
@@ -0,0 +1,10 @@
+Tag: autotools-pkg-config-macro-not-cross-compilation-safe
+Severity: warning
+Check: build-systems/autotools
+Explanation: The package appears to use <code>AC&lowbar;PATH&lowbar;PROG</code> to discover the
+ location of <code>pkg-config(1)</code>. This macro fails to select the correct
+ version to support cross-compilation.
+ .
+ A better way would be to use the <code>PKG&lowbar;PROG&lowbar;PKG&lowbar;CONFIG</code> macro from
+ <code>pkg.m4</code> and then using the <code>$PKG&lowbar;CONFIG</code> shell variable.
+See-Also: Bug#884798