2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Use pstat() on HP-UX to determine the tty device.

This commit is contained in:
Todd C. Miller
2013-02-28 09:01:08 -05:00
parent 9a4bd3cce4
commit e30b0bd121
4 changed files with 46 additions and 4 deletions

11
configure vendored
View File

@@ -14181,6 +14181,17 @@ $as_echo "$sudo_cv_var_daportable" >&6; }
test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
;;
esac
for ac_func in pstat_getproc
do :
ac_fn_c_check_func "$LINENO" "pstat_getproc" "ac_cv_func_pstat_getproc"
if test "x$ac_cv_func_pstat_getproc" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_PSTAT_GETPROC 1
_ACEOF
fi
done
;;
*-dec-osf*)
# ignore envariables wrt dynamic lib path