[PATCH] xserver: xorg-server.m4: use PKG_CONFIG variable rather than executable name

Dan Nicholson dbn.lists at gmail.com
Sun Dec 20 12:04:35 PST 2009


On Sun, Dec 20, 2009 at 11:41 AM, Gaetan Nadon
<gaetan.nadon at videotron.ca> wrote:
> Hi,
>
> This is a preventive maintenance patch to fix a dormant bug. It is intended
> for the git master branch.
> The xorg-server macro  XORG_DRIVER_CHECK_EXT() uses the hard-coded
> executable name "pkg-config" (without a path) rather than the variable
> PKG_CONFIG which is defined during configuration:
>
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
>
> The user is invited to overwrite the value of PKG_CONFIG if need be. This
> feature will only work if all invocation of this program is done through
> PKG_CONFIG variable. All driver modules use this macro. Output of
> ./configure --help:

Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>

--
Dan


More information about the xorg-devel mailing list