Description: Use cross-build compatible macro for finding pkg-config.
 .
 The package uses AC_PATH_PROG to discover the location of pkg-config(1). This
 macro fails to select the correct version to support cross-compilation.
 .
 This patch changes it to use AC_PATH_TOOL.
 .
 Refer to https://bugs.debian.org/884798 for details.
Origin: other
Last-Update: 2024-11-30

=== modified file 'configure.ac'
--- a/configure.ac	2024-11-30 11:28:43 +0000
+++ b/configure.ac	2024-11-30 11:28:55 +0000
@@ -24,7 +24,7 @@
 AC_PROG_LIBTOOL
 LIBTOOL="$LIBTOOL --silent"
 AC_PROG_INSTALL
-AC_PATH_PROG(PKG_CONFIG, [pkg-config], [no])
+AC_PATH_TOOL(PKG_CONFIG, [pkg-config], [no])
 
 LIBPURPLE_DATADIR=`pkg-config --variable=datadir purple`
 AC_SUBST(LIBPURPLE_DATADIR)

