aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-06-19 23:53:42 +0100
committerSam James <sam@gentoo.org>2022-06-19 23:53:42 +0100
commita74832198ab36683a867c79b3d6ef2cac9baad55 (patch)
tree33361f4ca737d0244f578558f1fd0f806b47f42c
parent91bf24dd3c91f826377548b7e164b49cfed56f9a (diff)
downloadpciutils-a74832198ab36683a867c79b3d6ef2cac9baad55.tar.gz
lib/configure: respect $PKG_CONFIG completely
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-xlib/configure2
1 files changed, 1 insertions, 1 deletions
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