Lintian tag information: autotools-pkg-config-macro-not-cross-compilation-safe (type: warning)

Description (from lintian-explain-tags)

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
Show-Always: no
Check: build-systems/autotools

Affected packages

source version binary tag type tag information count
apertium-crh-tur 0.3.0-2 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [apertium-tur-0.2.0/configure.ac:80] 1
apertium-hbs-eng 0.5.1-2 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [apertium-hbs-0.5.0/configure.ac:55] 1
apertium-hbs-slv 0.5.1-2 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [apertium-hbs-0.5.0/configure.ac:55] 1
apertium-hin 0.1.0~r59158-4 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:55] 1
apertium-kaz-tat 0.2.1-1 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [apertium-tat-0.1.0/configure.ac:80] 1
apertium-kaz-tat 0.2.1-1 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [apertium-kaz-0.1.0/configure.ac:80] 1
apertium-urd 0.1.0~r61311-3 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:55] 1
bodr 10-3 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:14] 1
chroma 1.19-2 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:58] 1
clanlib 1.0~svn3827-11.2 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:66] 1
compiz-plugins-main 2:0.8.18-6 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:104] 1
courier 1.0.16-3.2 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [libs/tcpd/configure.ac:40] 1
criticalmass 1:1.0.2-4 overridden autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [curl/configure.ac:794] 1
davix 0.8.7-1 overridden autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [deps/libneon/configure.in:132] 1
directfb 1.7.7-13 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.in:1720] 1
gdb 15.1-1 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [gdb/configure.ac:1117] 1
gretl 2024b-2 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:660] 1
ldapvi 1.7-11.1 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.in:49] 1
libcryptui 3.12.2-8 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:43] 1
libgdiplus 6.1+dfsg-1.1 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:19] 1
libgsf 1.14.52-1 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:52] 1
libhdate 1.6.02-2.1 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.in:34] 1
libsmpp34 1.14.4-1 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:31] 1
lintian-brush 0.157 overridden autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [tests/autotools-pkg-config-macro-not-cross-compilation-safe/complex/in/configure.ac:11] 1
lives 3.0.2-1.2 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:152] 1
lmod 8.6.19-1 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:644] 1
lmod 8.6.19-1 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:932] 1
mono 6.12.0.199+dfsg-1 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:996] 1
neon27 0.33.0-1.1 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:140] 1
nextepc 0.3.10+nods-4.2 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:82] 1
ntfs-3g 1:2022.10.3-4 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:316] 1
nvi 1.81.6-23 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [dist/configure.in:270] 1
omniorb-dfsg 4.3.2+ds1-1.1 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:39] 1
pidgin-privacy-please 0.7.1-5 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:27] 1
plink2 2.00~a5.8-231123+dfsg-1 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [pgenlibr/configure.ac:6] 1
r-cran-nloptr 2.1.1-1 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:38] 1
r-cran-stringi 1.8.4-1 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:357] 1
sawfish 1:1.12.0-3 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.ac:62] 1
xnee 3.19-9.2 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.in:19] 1
xnee 3.19-9.2 warning autotools-pkg-config-macro-not-cross-compilation-safe AC_PATH_PROG [configure.in:335] 1