Fix a FTCBFS issue because of using AC_PATH_PROG
authorHelmut Grohne <helmut@subdivi.de>
Tue, 19 May 2026 20:40:20 +0000 (22:40 +0200)
committerAndreas Dolp <dev@andreas-dolp.de>
Tue, 19 May 2026 20:40:20 +0000 (22:40 +0200)
commitfe0bfaca05eff8ee53af45da83fd08d7ed22b587
treec95a0c78a9f9357a7d74647f61de84fcf1fffbc8
parentf2062819d34705cb596c44ac0b9c6bb0689657f9
Fix a FTCBFS issue because of using AC_PATH_PROG

Bug-Debian: https://bugs.debian.org/895996
Last-Update: 2025-07-11

This patch fixes a FTCBFS issue caused by using AC_PATH_PROG to
discover the location of pkg-config, which fails to select the
correct version on cross-compilations. The corresponding lintian
warning 'autotools-pkg-config-macro-not-cross-compilation-safe'
suggests to use PKG_PROG_PKG_CONFIG and $PKG_CONFIG instead.

Gbp-Pq: Name cross.patch
configure.ac