]> mj.ucw.cz Git - pciutils.git/commit
lib/configure: drop usage of which
authorSam James <sam@gentoo.org>
Sun, 19 Jun 2022 22:52:22 +0000 (23:52 +0100)
committerSam James <sam@gentoo.org>
Sun, 19 Jun 2022 22:52:46 +0000 (23:52 +0100)
commit91bf24dd3c91f826377548b7e164b49cfed56f9a
tree644329800a9fa39499bf75155de9567d513a0adf
parentd224993d423bcd0e88d8eacc0464bc3a66972e95
lib/configure: drop usage of which

'which' is not required by POSIX and is an external command which may not be
available, and 'command -v' does the job just fine.

Debian and Gentoo at least are both making efforts to drop which from
their base system package list.

Signed-off-by: Sam James <sam@gentoo.org>
lib/configure