1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
From: Helmut Grohne <helmut@subdivi.de>
Date: Sat, 20 Jan 2024 22:11:22 +0100
Subject: Use recommended upstream macro PKG_PROG_PKG_CONFIG to detect pkg-config
This ensures that during cross-compilation it detects the host architecture
pkg-config in preference to the build architecture pkg-config.
Bug-Debian: https://bugs.debian.org/1061247
--- libgsf-1.14.51.orig/configure.ac
+++ libgsf-1.14.51/configure.ac
@@ -49,7 +49,7 @@
AC_FUNC_FSEEKO
AC_SYS_LARGEFILE
-AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+PKG_PROG_PKG_CONFIG
dnl Gettext/i18n stuff
# FIXME: Remove AM_GNU_GETTEXT_VERSION once autoreconf supports REQUIRE_VERSION
|