#3992 closed defect (fixed)
Use PKG_PROG_PKG_CONFIG macro from pkg.m4 to detect pkg-config.
Reported by: | sebastic | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.4.4 |
Component: | build | Version: | 2.4.x |
Keywords: | Cc: | sebastic |
Description
The AC_PATH_PROG
macro fails to select the correct version to support cross-compilation.
This triggers a lintian issue for the Debian package builds: autotools-pkg-config-macro-not-cross-compilation-safe
The package appears to use
AC_PATH_PROG
to discover the location ofpkg-config(1)
. This macro fails to select the correct version to support cross-compilation.A better way would be to use the
PKG_PROG_PKG_CONFIG
macro frompkg.m4
and then using the$PKG_CONFIG
shell variable.Refer to https://bugs.debian.org/884798 for details.
The attached patch implements this suggestion.
Attachments (1)
Change History (6)
by , 7 years ago
Attachment: | autotools-pkg-config-macro-not-cross-compilation-safe.patch added |
---|
comment:1 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 7 years ago
Milestone: | PostGIS 2.4.3 → PostGIS 2.4.4 |
---|
Note:
See TracTickets
for help on using tickets.
In 16324: