]> mj.ucw.cz Git - pciutils.git/commitdiff
lib/configure: respect $PKG_CONFIG completely
authorSam James <sam@gentoo.org>
Sun, 19 Jun 2022 22:53:42 +0000 (23:53 +0100)
committerSam James <sam@gentoo.org>
Sun, 19 Jun 2022 22:53:42 +0000 (23:53 +0100)
Signed-off-by: Sam James <sam@gentoo.org>
lib/configure

index 1c3343a7997019b68eb226fe41f520b94afb51c6..85bf0b8fe49e72e184bf1dd3e0dbb59d2d5f880f 100755 (executable)
@@ -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