summaryrefslogtreecommitdiff
blob: 12909025c18cade71ac9f36b714334e6a7b99664 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
https://bugs.gentoo.org/781185
--- a/configure.ac
+++ b/configure.ac
@@ -25,3 +25,3 @@
 		AC_MSG_CHECKING([whether we can locate the su program])
-		supath=`which su 2>/dev/null`
+		supath=`command -v su 2>/dev/null`
 		if test "x$supath" = "x"; then
@@ -36,3 +36,3 @@
 		AC_MSG_CHECKING([whether we can locate the sudo program])
-		sudopath=`which sudo 2>/dev/null`
+		sudopath=`command -v sudo 2>/dev/null`
 		if test "x$sudopath" = "x"; then