From: Todd C. Miller Date: Sat, 4 Jun 1994 18:46:49 +0000 (+0000) Subject: added SUDO_PROG_PWD X-Git-Tag: SUDO_1_3_1~196 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84e75c6ee34f36b34d2ad590b9185a30566d8223;p=sudo added SUDO_PROG_PWD --- diff --git a/aclocal.m4 b/aclocal.m4 index a4973b108..517ec4f44 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -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