From: Sam James Date: Sun, 19 Jun 2022 22:53:42 +0000 (+0100) Subject: lib/configure: respect $PKG_CONFIG completely X-Git-Tag: v3.9.0~20^2 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=a74832198ab36683a867c79b3d6ef2cac9baad55;p=pciutils.git lib/configure: respect $PKG_CONFIG completely Signed-off-by: Sam James --- diff --git a/lib/configure b/lib/configure index 1c3343a..85bf0b8 100755 --- a/lib/configure +++ b/lib/configure @@ -268,7 +268,7 @@ if [ "$sys" = linux ] ; then if [ "$HWDB" = yes -o "$HWDB" = no ] ; then echo "$HWDB (set manually)" else - if `command -v pkg-config >/dev/null && pkg-config --atleast-version=196 libudev` ; then + if `command -v $PKG_CONFIG >/dev/null && $PKG_CONFIG --atleast-version=196 libudev` ; then HWDB=yes else HWDB=no