2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00
sudo/config.h.in

575 lines
15 KiB
C
Raw Normal View History

2002-11-22 19:08:10 +00:00
/* config.h.in. Generated from configure.in by autoheader. */
1994-03-10 07:45:06 +00:00
1998-10-15 06:25:10 +00:00
#ifndef _SUDO_CONFIG_H
#define _SUDO_CONFIG_H
2002-01-02 22:40:14 +00:00
/* Define if the `syslog' function returns a non-zero int to denote failure.
*/
#undef BROKEN_SYSLOG
2002-01-02 22:40:14 +00:00
/* Define if you want the insults from the "classic" version sudo. */
#undef CLASSIC_INSULTS
1994-03-10 07:45:06 +00:00
2002-01-02 22:40:14 +00:00
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. This function is required for `alloca.c' support on those systems.
*/
#undef CRAY_STACKSEG_END
1994-03-10 07:45:06 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you want insults culled from the twisted minds of CSOps. */
#undef CSOPS_INSULTS
1996-01-07 19:25:06 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if using `alloca.c'. */
2002-01-02 22:40:14 +00:00
#undef C_ALLOCA
1999-08-28 08:49:08 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you want sudo to display "command not allowed" instead of
"command not found" when a command cannot be found. */
#undef DONT_LEAK_PATH_INFO
1994-03-10 07:45:06 +00:00
2002-01-02 22:40:14 +00:00
/* A colon-separated list of pathnames to be used as the editor for visudo. */
#undef EDITOR
1994-03-10 07:45:06 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you want visudo to honor the EDITOR and VISUAL env variables. */
#undef ENV_EDITOR
1994-03-10 07:45:06 +00:00
2002-01-02 22:40:14 +00:00
/* If defined, users in this group need not enter a passwd (ie "sudo"). */
#undef EXEMPTGROUP
1994-03-10 07:45:06 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you want to require fully qualified hosts in sudoers. */
#undef FQDN
1994-09-20 23:21:14 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you want insults from the "Goon Show". */
#undef GOONS_INSULTS
2002-01-02 22:40:14 +00:00
/* Define if you want 2001-like insults. */
#undef HAL_INSULTS
1998-09-07 02:28:14 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you use AFS. */
#undef HAVE_AFS
1998-09-07 02:28:14 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have `alloca', as a function or macro. */
2002-01-02 22:40:14 +00:00
#undef HAVE_ALLOCA
1994-05-28 19:12:06 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
*/
2002-01-02 22:40:14 +00:00
#undef HAVE_ALLOCA_H
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `asprintf' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_ASPRINTF
2002-01-02 22:40:14 +00:00
/* Define if you use AIX general authentication. */
#undef HAVE_AUTHENTICATE
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `bigcrypt' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_BIGCRYPT
2002-01-02 22:40:14 +00:00
/* Define if you use BSD authentication. */
#undef HAVE_BSD_AUTH_H
1994-03-10 07:45:06 +00:00
/* Define to 1 if you have the `closefrom' function. */
#undef HAVE_CLOSEFROM
2002-01-02 22:40:14 +00:00
/* Define if you use OSF DCE. */
#undef HAVE_DCE
1994-03-10 07:45:06 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
2002-01-02 22:40:14 +00:00
#undef HAVE_DIRENT_H
1998-10-15 06:25:10 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `dispcrypt' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_DISPCRYPT
/* Define to 1 if you have the <err.h> header file. */
#undef HAVE_ERR_H
2004-01-21 21:57:59 +00:00
/* Define to 1 if you have the `fchown' function. */
#undef HAVE_FCHOWN
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `flock' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_FLOCK
2001-12-14 23:38:31 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you have the `fnmatch' function. */
#undef HAVE_FNMATCH
1994-07-14 21:43:09 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `freeifaddrs' function. */
#undef HAVE_FREEIFADDRS
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `fstat' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_FSTAT
1994-03-10 07:45:06 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you use the FWTK authsrv daemon. */
#undef HAVE_FWTK
1996-05-28 00:01:17 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you have the `getauthuid' function. (ULTRIX 4.x shadow passwords)
*/
#undef HAVE_GETAUTHUID
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `getcwd' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_GETCWD
1994-03-12 18:37:58 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `getdomainname' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_GETDOMAINNAME
1994-03-12 18:37:58 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `getifaddrs' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_GETIFADDRS
/* Define to 1 if you have the `getprogname' function. */
#undef HAVE_GETPROGNAME
2002-01-02 22:40:14 +00:00
/* Define if you have the `getprpwnam' function. (SecureWare-style shadow
passwords) */
#undef HAVE_GETPRPWNAM
2002-01-02 22:40:14 +00:00
/* Define if you have the `getpwanam' function. (SunOS 4.x shadow passwords)
*/
#undef HAVE_GETPWANAM
1994-06-06 23:31:51 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you have the `getspnam' function (SVR4-style shadow passwords) */
#undef HAVE_GETSPNAM
2001-12-08 19:48:03 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you have the `getspwuid' function. (HP-UX <= 9.X shadow
passwords) */
#undef HAVE_GETSPWUID
1994-05-24 00:26:19 +00:00
/* Define if your Kerberos is Heimdal. */
#undef HAVE_HEIMDAL
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `initgroups' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_INITGROUPS
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `initprivs' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_INITPRIVS
1994-10-04 16:53:54 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `innetgr' function. */
#undef HAVE_INNETGR
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <inttypes.h> header file. */
2002-01-02 22:40:14 +00:00
#undef HAVE_INTTYPES_H
2002-01-02 22:40:14 +00:00
/* Define if you have isblank(3). */
#undef HAVE_ISBLANK
2002-01-02 22:40:14 +00:00
/* Define if you have the `iscomsec' function. (HP-UX >= 10.x check for shadow
enabled) */
#undef HAVE_ISCOMSEC
2002-01-02 22:40:14 +00:00
/* Define if you have the `issecure' function. (SunOS 4.x check for shadow
enabled) */
#undef HAVE_ISSECURE
1995-06-18 00:46:01 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you use Kerberos IV. */
#undef HAVE_KERB4
1995-06-19 19:14:28 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you use Kerberos V. */
#undef HAVE_KERB5
1996-07-14 01:04:43 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `lockf' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_LOCKF
1998-09-07 16:42:32 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <login_cap.h> header file. */
2002-01-02 22:40:14 +00:00
#undef HAVE_LOGIN_CAP_H
1998-10-19 18:32:00 +00:00
2002-01-02 22:40:14 +00:00
/* Define if your compiler supports the "long long" type. */
#undef HAVE_LONG_LONG
1998-10-25 20:21:47 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `lsearch' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_LSEARCH
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <malloc.h> header file. */
2002-01-02 22:40:14 +00:00
#undef HAVE_MALLOC_H
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `memchr' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_MEMCHR
1998-11-03 19:56:04 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `memcpy' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_MEMCPY
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <memory.h> header file. */
2002-01-02 22:40:14 +00:00
#undef HAVE_MEMORY_H
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `memset' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_MEMSET
1998-11-03 19:56:04 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
2002-01-02 22:40:14 +00:00
#undef HAVE_NDIR_H
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <netgroup.h> header file. */
2002-01-02 22:40:14 +00:00
#undef HAVE_NETGROUP_H
1996-10-09 17:36:47 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you use NRL OPIE. */
#undef HAVE_OPIE
2002-01-02 22:40:14 +00:00
/* Define if you use PAM. */
#undef HAVE_PAM
/* Define to 1 if you have the <pam/pam_appl.h> header file. */
#undef HAVE_PAM_PAM_APPL_H
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <paths.h> header file. */
2002-01-02 22:40:14 +00:00
#undef HAVE_PATHS_H
2002-01-02 22:40:14 +00:00
/* Define if your struct sockadr has an sa_len field. */
#undef HAVE_SA_LEN
2002-01-02 22:40:14 +00:00
/* Define if you use SecurID. */
#undef HAVE_SECURID
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `setresuid' function. */
#undef HAVE_SETRESUID
1999-08-06 13:33:03 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `setreuid' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_SETREUID
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `setrlimit' function. */
#undef HAVE_SETRLIMIT
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `set_auth_parameters' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_SET_AUTH_PARAMETERS
2002-01-02 22:40:14 +00:00
/* Define if you use SIA. */
#undef HAVE_SIA
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `sigaction' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_SIGACTION
2002-01-02 22:40:14 +00:00
/* Define if <signal.h> has the sigaction_t typedef. */
#undef HAVE_SIGACTION_T
2002-11-22 19:08:10 +00:00
/* Define to 1 if the system has the type `sig_atomic_t'. */
2002-01-02 22:40:14 +00:00
#undef HAVE_SIG_ATOMIC_T
2002-01-02 22:40:14 +00:00
/* Define if you use S/Key. */
#undef HAVE_SKEY
1994-03-10 07:45:06 +00:00
2002-01-02 22:40:14 +00:00
/* Define if your S/Key library has skeyaccess(). */
#undef HAVE_SKEYACCESS
1996-06-26 02:29:04 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `snprintf' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_SNPRINTF
1994-03-10 07:45:06 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <stdint.h> header file. */
2002-01-02 22:40:14 +00:00
#undef HAVE_STDINT_H
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `strcasecmp' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_STRCASECMP
1994-03-10 07:45:06 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `strchr' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_STRCHR
1995-03-26 01:38:44 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `strerror' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_STRERROR
1995-06-18 19:08:31 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `strftime' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_STRFTIME
1994-03-12 18:37:58 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <strings.h> header file. */
2002-01-02 22:40:14 +00:00
#undef HAVE_STRINGS_H
1996-06-20 04:22:05 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <string.h> header file. */
2002-01-02 22:40:14 +00:00
#undef HAVE_STRING_H
1994-03-12 18:37:58 +00:00
2003-03-12 22:07:26 +00:00
/* Define to 1 if you have the `strlcat' function. */
#undef HAVE_STRLCAT
/* Define to 1 if you have the `strlcpy' function. */
#undef HAVE_STRLCPY
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `strrchr' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_STRRCHR
1994-05-29 00:28:57 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `sysconf' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_SYSCONF
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <sys/bsdtypes.h> header file. */
1996-01-09 17:41:38 +00:00
#undef HAVE_SYS_BSDTYPES_H
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
2002-01-02 22:40:14 +00:00
#undef HAVE_SYS_DIR_H
1996-10-08 23:21:28 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
2002-01-02 22:40:14 +00:00
#undef HAVE_SYS_NDIR_H
1995-07-01 20:04:35 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <sys/select.h> header file. */
2002-01-02 22:40:14 +00:00
#undef HAVE_SYS_SELECT_H
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <sys/sockio.h> header file. */
2002-01-02 22:40:14 +00:00
#undef HAVE_SYS_SOCKIO_H
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <sys/stat.h> header file. */
2002-01-02 22:40:14 +00:00
#undef HAVE_SYS_STAT_H
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <sys/types.h> header file. */
2002-01-02 22:40:14 +00:00
#undef HAVE_SYS_TYPES_H
1995-07-23 21:48:04 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you have the <termios.h> header file and the `tcgetattr'
function. */
#undef HAVE_TERMIOS_H
1995-07-12 21:05:37 +00:00
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <termio.h> header file. */
2002-01-02 22:40:14 +00:00
#undef HAVE_TERMIO_H
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `tzset' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_TZSET
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <unistd.h> header file. */
2002-01-02 22:40:14 +00:00
#undef HAVE_UNISTD_H
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `utime' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_UTIME
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the <utime.h> header file. */
2002-01-02 22:40:14 +00:00
#undef HAVE_UTIME_H
2002-01-02 22:40:14 +00:00
/* Define if you have a POSIX utime() (uses struct utimbuf). */
#undef HAVE_UTIME_POSIX
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `vasprintf' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_VASPRINTF
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `vsnprintf' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_VSNPRINTF
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `wait3' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_WAIT3
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `waitpid' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE_WAITPID
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the `_innetgr' function. */
2002-01-02 22:40:14 +00:00
#undef HAVE__INNETGR
1998-10-15 06:25:10 +00:00
/* Define if your crt0.o defines the __progname symbol for you. */
#undef HAVE___PROGNAME
2002-01-02 22:40:14 +00:00
/* Define if you want the hostname to be entered into the log file. */
1998-10-15 06:25:10 +00:00
#undef HOST_IN_LOG
2002-01-02 22:40:14 +00:00
/* Define if you want to ignore '.' and empty $PATH elements */
#undef IGNORE_DOT_PATH
1998-10-15 06:25:10 +00:00
2002-01-02 22:40:14 +00:00
/* The message given when a bad password is entered. */
#undef INCORRECT_PASSWORD
1998-10-15 06:25:10 +00:00
2002-01-02 22:40:14 +00:00
/* The syslog facility sudo will use. */
#undef LOGFAC
1998-10-15 06:25:10 +00:00
2002-01-02 22:40:14 +00:00
/* Define to SLOG_SYSLOG, SLOG_FILE, or SLOG_BOTH. */
#undef LOGGING
1998-10-15 06:25:10 +00:00
2002-01-02 22:40:14 +00:00
/* Define if sizeof(long) == sizeof(long long). */
#undef LONG_IS_QUAD
1998-10-15 06:25:10 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you want a two line OTP (S/Key or OPIE) prompt. */
#undef LONG_OTP_PROMPT
1998-10-15 06:25:10 +00:00
2002-01-02 22:40:14 +00:00
/* The subject of the mail sent by sudo to the MAILTO user/address. */
#undef MAILSUBJECT
2002-01-02 22:40:14 +00:00
/* The user or email address that sudo mail is sent to. */
#undef MAILTO
1998-10-15 06:25:10 +00:00
2002-01-02 22:40:14 +00:00
/* The max number of chars per log file line (for line wrapping). */
#undef MAXLOGFILELEN
1998-10-15 06:25:10 +00:00
2002-01-02 22:40:14 +00:00
/* Define to the max length of a uid_t in string context (excluding the NUL).
*/
#undef MAX_UID_T_LEN
1998-10-15 06:25:10 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you don't want sudo to prompt for a password by default. */
#undef NO_AUTHENTICATION
1998-10-15 06:25:10 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you don't want users to get the lecture the first they user sudo.
*/
#undef NO_LECTURE
1998-10-15 06:25:10 +00:00
/* Define to avoid runing the mailer as root. */
#undef NO_ROOT_MAILER
2002-01-02 22:40:14 +00:00
/* Define if root should not be allowed to use sudo. */
#undef NO_ROOT_SUDO
1998-10-15 06:25:10 +00:00
/* Define to avoid using POSIX saved ids. */
#undef NO_SAVED_IDS
2002-01-02 22:40:14 +00:00
/* The default password prompt. */
#undef PASSPROMPT
/* The passwd prompt timeout (in minutes). */
#undef PASSWORD_TIMEOUT
2004-02-04 04:38:56 +00:00
/* Define to replace politically incorrect insults with less offensive ones. */
#undef PC_INSULTS
2002-01-02 22:40:14 +00:00
/* The syslog priority sudo will use for unsuccessful attempts/errors. */
#undef PRI_FAILURE
2002-01-02 22:40:14 +00:00
/* The syslog priority sudo will use for successful attempts. */
#undef PRI_SUCCESS
1998-10-15 06:25:10 +00:00
2002-01-02 22:40:14 +00:00
/* Define as the return type of signal handlers (`int' or `void'). */
#undef RETSIGTYPE
1998-10-15 06:25:10 +00:00
2002-01-02 22:40:14 +00:00
/* The user sudo should run commands as by default. */
#undef RUNAS_DEFAULT
2003-04-13 19:48:15 +00:00
/* Define to override the user's path with a built-in one. */
2002-01-02 22:40:14 +00:00
#undef SECURE_PATH
1998-10-15 06:25:10 +00:00
2003-03-01 18:21:20 +00:00
/* Define to send mail when the user is not allowed to run a command. */
2002-01-02 22:40:14 +00:00
#undef SEND_MAIL_WHEN_NOT_OK
1998-10-15 06:25:10 +00:00
2003-03-12 22:07:26 +00:00
/* Define to send mail when the user is not allowed to run sudo on this host.
*/
#undef SEND_MAIL_WHEN_NO_HOST
2002-01-02 22:40:14 +00:00
/* Define to send mail when the user is not in the sudoers file. */
#undef SEND_MAIL_WHEN_NO_USER
1998-10-15 06:25:10 +00:00
2002-01-02 22:40:14 +00:00
/* Define if you want sudo to start a shell if given no arguments. */
1998-10-15 06:25:10 +00:00
#undef SHELL_IF_NO_ARGS
2003-01-20 20:58:48 +00:00
/* Define if you want sudo to set $HOME in shell mode. */
1998-10-15 06:25:10 +00:00
#undef SHELL_SETS_HOME
2002-01-02 22:40:14 +00:00
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at run-time.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown */
#undef STACK_DIRECTION
2002-11-22 19:08:10 +00:00
/* Define to 1 if you have the ANSI C header files. */
2002-01-02 22:40:14 +00:00
#undef STDC_HEADERS
2002-01-02 22:40:14 +00:00
/* Define if the code in interfaces.c does not compile for you. */
#undef STUB_LOAD_INTERFACES
2002-01-02 22:40:14 +00:00
/* The umask that the root-run prog should use. */
#undef SUDO_UMASK
2002-01-02 22:40:14 +00:00
/* The number of minutes before sudo asks for a password again. */
#undef TIMEOUT
2001-12-12 19:43:23 +00:00
2002-01-02 22:40:14 +00:00
/* The number of tries a user gets to enter their password. */
#undef TRIES_FOR_PASSWORD
2002-01-02 22:40:14 +00:00
/* Define if you wish to use execv() instead of execvp() when running
programs. */
#undef USE_EXECV
2002-01-02 22:40:14 +00:00
/* Define if you want to insult the user for entering an incorrect password.
*/
#undef USE_INSULTS
/* Define if you use stow packaging. */
#undef USE_STOW
2002-01-02 22:40:14 +00:00
/* Define if you want a different ticket file for each tty. */
#undef USE_TTY_TICKETS
2002-01-02 22:40:14 +00:00
/* Define to "void" if your compiler supports void pointers, else use "char".
*/
#undef VOID
2002-01-02 22:40:14 +00:00
/* Define to avoid using the passwd/shadow file for authentication. */
#undef WITHOUT_PASSWD
2002-01-02 22:40:14 +00:00
/* Enable non-POSIX extensions on AIX. */
#ifndef _ALL_SOURCE
# undef _ALL_SOURCE
#endif
2002-01-02 22:40:14 +00:00
/* Enable non-POSIX extensions on ConvexOS. */
#ifndef _CONVEX_SOURCE
# undef _CONVEX_SOURCE
#endif
2002-01-02 22:40:14 +00:00
/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE 1
#endif
2000-10-26 16:42:40 +00:00
2002-01-02 22:40:14 +00:00
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
/* Define if your system lacks the dev_t type. */
#undef dev_t
/* Define to `int' if <sys/types.h> doesn't define. */
#undef gid_t
2002-01-02 22:40:14 +00:00
/* Define if your system lacks the ino_t type. */
#undef ino_t
1998-10-15 06:25:10 +00:00
2002-01-02 22:40:14 +00:00
/* Define to `int' if <sys/types.h> does not define. */
#undef mode_t
/* Define to `int' if <signal.h> does not define. */
#undef sig_atomic_t
/* Define if your system lacks the size_t type. */
#undef size_t
/* Define if your system lacks the ssize_t type. */
#undef ssize_t
/* Define to `int' if <sys/types.h> doesn't define. */
#undef uid_t
/* Define to empty if the keyword `volatile' does not work. Warning: valid
code using `volatile' can become incorrect without. Disable with care. */
#undef volatile
1998-10-15 06:25:10 +00:00
/*
* Emulate a subset of waitpid() if we don't have it.
*/
#ifdef HAVE_WAITPID
2002-01-02 22:40:14 +00:00
# define sudo_waitpid(p, s, o) waitpid(p, s, o)
#else
2002-01-02 22:40:14 +00:00
# ifdef HAVE_WAIT3
# define sudo_waitpid(p, s, o) wait3(s, o, NULL)
# endif
#endif
/* GNU stow needs /etc/sudoers to be a symlink. */
2003-06-09 23:00:20 +00:00
#ifdef USE_STOW
# define stat_sudoers stat
#else
# define stat_sudoers lstat
#endif
1998-10-15 06:25:10 +00:00
#ifdef USE_EXECV
2004-01-05 01:39:57 +00:00
# define EXECV execv
1998-10-15 06:25:10 +00:00
#else
2004-01-05 01:39:57 +00:00
# define EXECV execvp
1998-10-15 06:25:10 +00:00
#endif /* USE_EXECV */
1998-09-10 22:51:36 +00:00
2004-01-22 00:02:36 +00:00
/* Macros to set/clear/test flags. */
#undef SET
#define SET(t, f) ((t) |= (f))
#undef CLR
#define CLR(t, f) ((t) &= ~(f))
#undef ISSET
#define ISSET(t, f) ((t) & (f))
2002-01-02 22:40:14 +00:00
/* New ANSI-style OS defs for HP-UX and ConvexOS. */
#if defined(hpux) && !defined(__hpux)
# define __hpux 1
#endif /* hpux */
#if defined(convex) && !defined(__convex__)
# define __convex__ 1
#endif /* convex */
/* BSD compatibility on some SVR4 systems. */
1998-11-18 20:25:12 +00:00
#ifdef __svr4__
2002-01-02 22:40:14 +00:00
# define BSD_COMP
1998-11-18 20:25:12 +00:00
#endif /* __svr4__ */
1998-10-15 06:25:10 +00:00
#endif /* _SUDO_CONFIG_H */