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

This commit is contained in:
Juan RP
2021-06-26 17:07:16 +02:00
committed by Duncan Overbruck
parent 778dbab22b
commit 18a2a2b0a7
Vendored
+1 -1
View File
@@ -106,7 +106,7 @@ done
_which()
{
x="$(which "$1" 2>/dev/null)"
x="$(command -v "$1" 2>/dev/null)"
if [ -n "$x" ]; then
echo "$x"
return 0