| 1 |
Description: Use cross-build compatible macro for finding pkg-config. |
| 2 |
. |
| 3 |
The package uses AC_PATH_PROG to discover the location of pkg-config(1). This |
| 4 |
macro fails to select the correct version to support cross-compilation. |
| 5 |
. |
| 6 |
This patch changes it to use AC_PATH_TOOL. |
| 7 |
. |
| 8 |
Refer to https://bugs.debian.org/884798 for details. |
| 9 |
Origin: other |
| 10 |
Last-Update: 2020-11-10 |
| 11 |
|
| 12 |
=== modified file 'configure.ac' |
| 13 |
--- a/configure.ac 2020-11-04 15:41:30 +0000 |
| 14 |
+++ b/configure.ac 2020-11-10 16:36:54 +0000 |
| 15 |
@@ -30,7 +30,7 @@ |
| 16 |
AC_SUBST(LIBTOOL_DEPS) |
| 17 |
|
| 18 |
dnl Check for pkg-config |
| 19 |
-AC_PATH_PROG(PKGCONFIG,[pkg-config]) |
| 20 |
+AC_PATH_TOOL(PKGCONFIG,[pkg-config]) |
| 21 |
|
| 22 |
dnl Support of internationalization (i18n) |
| 23 |
AM_GNU_GETTEXT([external]) |
| 24 |
|