configure: Use PKG_PROG_PKG_CONFIG macro to allow cross building.
commit92bc458fac499c8c491234525a70a0277c5e46fc
authorDoug Torrance <dtorrance@piedmont.edu>
Mon, 30 Jan 2017 19:00:40 +0000 (30 14:00 -0500)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 31 Jan 2017 01:44:56 +0000 (31 01:44 +0000)
tree948e20c8e1ec3f4ace7d12ff2e2bfef075a2208c
parent6f3dbfeabafd3256886b857ae04efb8b99412b85
configure: Use PKG_PROG_PKG_CONFIG macro to allow cross building.

Patch by Helmut Grohne <helmut@subdivi.de> to fix Debian bug #853236 [1]:

> wmaker fails to cross build from source, because it forces the use of
> pkg-config without $ac_tool_prefix. Discovering pkg-config with the
> PKG_PROG_PKG_CONFIG macro considers $ac_tool_prefix and thus makes cross
> compilation succeed. Please consider applying the attached patch after
> stretch is released.
>
> Helmut

[1] https://bugs.debian.org/853236
configure.ac