configure: use command -v rather than which(1).

This commit is contained in:
Juan RP
2021-02-01 15:00:34 +01:00
committed by Duncan Overbruck
parent 778dbab22b
commit 18a2a2b0a7

2
configure vendored
View File

@ -106,7 +106,7 @@ done
_which() _which()
{ {
x="$(which "$1" 2>/dev/null)" x="$(command -v "$1" 2>/dev/null)"
if [ -n "$x" ]; then if [ -n "$x" ]; then
echo "$x" echo "$x"
return 0 return 0