File: ac-path-pkgconfig.patch

package info (click to toggle)
libvmdk 20240510-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,400 kB
  • sloc: ansic: 203,232; sh: 6,444; makefile: 1,244; python: 520; cpp: 88; sed: 16
file content (23 lines) | stat: -rw-r--r-- 711 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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: 2020-11-12

=== modified file 'configure.ac'
--- a/configure.ac	2020-10-10 04:54:28 +0000
+++ b/configure.ac	2020-11-12 23:32:52 +0000
@@ -30,7 +30,7 @@
 AC_SUBST(LIBTOOL_DEPS)
 
 dnl Check for pkg-config
-AC_PATH_PROG(PKGCONFIG,[pkg-config])
+AC_PATH_TOOL(PKGCONFIG,[pkg-config])
 
 dnl Support of internationalization (i18n)
 AM_GNU_GETTEXT([external])