summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@courtesan.com>1999-09-08 08:06:28 +0000
committerTodd C. Miller <Todd.Miller@courtesan.com>1999-09-08 08:06:28 +0000
commit09c0d1308c4c6cca8aa29958b7360d33d8c95329 (patch)
tree2eb6bef7ffcbe2157729f34157a48c10a933121b /aclocal.m4
parent34f847e78e8cc0437c5182cbed4a97eeb6173b9a (diff)
downloadsudo-09c0d1308c4c6cca8aa29958b7360d33d8c95329.tar.gz
Add support for "Defaults" line in sudoers to make configuration variables
changable at runtime (and on a global, per-host and per-user basis). Both the names and the internal representation are still subject to change. It was necessary to make sudo_user.runas but a char ** instead of a char * since this value can be changed by a Defaults line. There is a similar (but more complicated) issue with sudo_user.prompt but it is handled differently at the moment. Add a "-L" flag to list the name of options with their descriptions. This may only be temporary. Move some prototypes to parse.h Be much less restrictive on what is allowed for a username.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m420
1 files changed, 0 insertions, 20 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index fc6f3f052..f10e26160 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -305,26 +305,6 @@ AC_DEFINE_UNQUOTED(MAX_UID_T_LEN, $sudo_cv_uid_t_len)
])
dnl
-dnl check for facilitynames and prioritynames in syslog.h
-dnl 4.4BSD has these but most others do not.
-dnl
-AC_DEFUN(SUDO_SYSLOG_NAMES,
-[AC_MSG_CHECKING(for facilitynames and prioritynames in syslog.h)
-AC_CACHE_VAL(sudo_cv_syslog_names,
-[
-AC_TRY_COMPILE([
-#define SYSLOG_NAMES
-#include <stdio.h>
-#include <syslog.h>
-], [ CODE *p=&prioritynames[0]; CODE *f=&facilitynames[0]; ],
-sudo_cv_syslog_names=yes, sudo_cv_syslog_names=no)])dnl
-AC_MSG_RESULT($sudo_cv_syslog_names)
-if test $sudo_cv_syslog_names = yes; then
- AC_DEFINE(HAVE_SYSLOG_NAMES)
-fi
-])
-
-dnl
dnl check for "long long"
dnl XXX hard to cache since it includes 2 tests
dnl