]> granicus.if.org Git - sudo/commitdiff
added SUDO_PROG_PWD
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 4 Jun 1994 18:46:49 +0000 (18:46 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 4 Jun 1994 18:46:49 +0000 (18:46 +0000)
aclocal.m4

index a4973b10808695ed50f86c6b2bd5ce028e2c334d..517ec4f44190c9ec48c3d170c76d3db72fe77c93 100644 (file)
@@ -81,6 +81,20 @@ elif test -f "/usr/local/bin/vi"; then
 fi
 ])dnl
 dnl
+dnl check for pwd
+dnl
+define(SUDO_PROG_PWD,
+[if test -f "/usr/bin/pwd"; then
+    AC_DEFINE(_PATH_PWD, "/usr/bin/pwd")
+elif test -f "/bin/pwd"; then
+    AC_DEFINE(_PATH_PWD, "/bin/pwd")
+elif test -f "/usr/ucb/pwd"; then
+    AC_DEFINE(_PATH_PWD, "/usr/ucb/pwd")
+elif test -f "/usr/sbin/pwd"; then
+    AC_DEFINE(_PATH_PWD, "/usr/sbin/pwd")
+fi
+])dnl
+dnl
 dnl check for known UNIX variants
 dnl XXX - check to see that uname was checked first
 dnl