configure: Don't use cross_prefix when invoking pkg-config
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Tue, 23 Jan 2024 20:26:36 +0000 (09:26 +1300)
committerJens Axboe <axboe@kernel.dk>
Tue, 23 Jan 2024 23:28:31 +0000 (16:28 -0700)
commit1ee0469f6d180a98d31196bea787f37269ff9cdd
tree3507edd2cc8c0283b584ab508f39fdbf6169df43
parent8b3190c3ea38af87778a68c576947f8797215d33
configure: Don't use cross_prefix when invoking pkg-config

pkg-config doesn't need to have a cross prefixed version. It can be
pointed at alternate sysroots with environment variables like
PKG_CONFIG_SYSROOT_DIR. The configure script was already inconsistent
with using `pkg-config` in some places and `${cross_prefix}pkg-config`
in others. Make check_min_lib_version() and the gtk checks consistent
with the rest by dropping the `${cross_prefix}` usage with pkg-config.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20240123202636.179467-1-chris.packham@alliedtelesis.co.nz
Signed-off-by: Jens Axboe <axboe@kernel.dk>
configure