Annotation of src/usr.bin/sudo/config.h.in, Revision 1.21
1.10 millert 1: /* config.h.in. Generated from configure.in by autoheader. */
1.1 millert 2:
3: #ifndef _SUDO_CONFIG_H
4: #define _SUDO_CONFIG_H
5:
1.15 millert 6: /* Define to 1 if the `syslog' function returns a non-zero int to denote
7: failure. */
1.6 millert 8: #undef BROKEN_SYSLOG
1.1 millert 9:
1.15 millert 10: /* Define to 1 if you want the insults from the "classic" version sudo. */
1.6 millert 11: #undef CLASSIC_INSULTS
1.1 millert 12:
1.6 millert 13: /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
14: systems. This function is required for `alloca.c' support on those systems.
15: */
16: #undef CRAY_STACKSEG_END
1.1 millert 17:
1.15 millert 18: /* Define to 1 if you want insults culled from the twisted minds of CSOps. */
1.6 millert 19: #undef CSOPS_INSULTS
1.1 millert 20:
1.10 millert 21: /* Define to 1 if using `alloca.c'. */
1.6 millert 22: #undef C_ALLOCA
1.1 millert 23:
1.15 millert 24: /* Define to 1 if you want sudo to display "command not allowed" instead of
1.6 millert 25: "command not found" when a command cannot be found. */
26: #undef DONT_LEAK_PATH_INFO
1.1 millert 27:
1.6 millert 28: /* A colon-separated list of pathnames to be used as the editor for visudo. */
29: #undef EDITOR
1.1 millert 30:
1.15 millert 31: /* Define to 1 if you want visudo to honor the EDITOR and VISUAL env
32: variables. */
1.6 millert 33: #undef ENV_EDITOR
1.1 millert 34:
1.6 millert 35: /* If defined, users in this group need not enter a passwd (ie "sudo"). */
36: #undef EXEMPTGROUP
1.1 millert 37:
1.15 millert 38: /* Define to 1 if you want to require fully qualified hosts in sudoers. */
1.6 millert 39: #undef FQDN
1.1 millert 40:
1.15 millert 41: /* Define to 1 if you want insults from the "Goon Show". */
1.6 millert 42: #undef GOONS_INSULTS
1.1 millert 43:
1.15 millert 44: /* Define to 1 if you want 2001-like insults. */
1.6 millert 45: #undef HAL_INSULTS
1.1 millert 46:
1.15 millert 47: /* Define to 1 if you use AFS. */
1.6 millert 48: #undef HAVE_AFS
1.1 millert 49:
1.17 millert 50: /* Define to 1 if you use AIX general authentication. */
51: #undef HAVE_AIXAUTH
52:
1.10 millert 53: /* Define to 1 if you have `alloca', as a function or macro. */
1.6 millert 54: #undef HAVE_ALLOCA
1.1 millert 55:
1.10 millert 56: /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
57: */
1.6 millert 58: #undef HAVE_ALLOCA_H
1.1 millert 59:
1.10 millert 60: /* Define to 1 if you have the `asprintf' function. */
1.6 millert 61: #undef HAVE_ASPRINTF
1.1 millert 62:
1.17 millert 63: /* Define to 1 if you have the `authenticate' function. */
1.6 millert 64: #undef HAVE_AUTHENTICATE
1.1 millert 65:
1.17 millert 66: /* Define to 1 if you have the `auth_challenge' function. */
67: #undef HAVE_AUTH_CHALLENGE
68:
1.10 millert 69: /* Define to 1 if you have the `bigcrypt' function. */
1.6 millert 70: #undef HAVE_BIGCRYPT
1.1 millert 71:
1.15 millert 72: /* Define to 1 if you use BSD authentication. */
1.6 millert 73: #undef HAVE_BSD_AUTH_H
1.1 millert 74:
1.14 millert 75: /* Define to 1 if you have the `closefrom' function. */
76: #undef HAVE_CLOSEFROM
77:
1.15 millert 78: /* Define to 1 if you use OSF DCE. */
1.6 millert 79: #undef HAVE_DCE
1.1 millert 80:
1.15 millert 81: /* Define to 1 if your `DIR' contains dd_fd. */
82: #undef HAVE_DD_FD
83:
1.21 ! millert 84: /* Define to 1 if you have the `dgettext' function. */
! 85: #undef HAVE_DGETTEXT
! 86:
1.10 millert 87: /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
88: */
1.6 millert 89: #undef HAVE_DIRENT_H
1.1 millert 90:
1.15 millert 91: /* Define to 1 if you have the `dirfd' function or macro. */
92: #undef HAVE_DIRFD
93:
1.10 millert 94: /* Define to 1 if you have the `dispcrypt' function. */
1.6 millert 95: #undef HAVE_DISPCRYPT
1.1 millert 96:
1.11 millert 97: /* Define to 1 if you have the <err.h> header file. */
98: #undef HAVE_ERR_H
99:
1.17 millert 100: /* Define to 1 if your glob.h defines the GLOB_BRACE and GLOB_TILDE flags. */
101: #undef HAVE_EXTENDED_GLOB
102:
103: /* Define to 1 if your system has the F_CLOSEM fcntl. */
104: #undef HAVE_FCNTL_CLOSEM
105:
1.10 millert 106: /* Define to 1 if you have the `flock' function. */
1.6 millert 107: #undef HAVE_FLOCK
1.1 millert 108:
1.15 millert 109: /* Define to 1 if you have the `fnmatch' function. */
1.1 millert 110: #undef HAVE_FNMATCH
111:
1.10 millert 112: /* Define to 1 if you have the `freeifaddrs' function. */
1.9 millert 113: #undef HAVE_FREEIFADDRS
114:
1.10 millert 115: /* Define to 1 if you have the `fstat' function. */
1.6 millert 116: #undef HAVE_FSTAT
117:
1.15 millert 118: /* Define to 1 if you have the `futime' function. */
119: #undef HAVE_FUTIME
120:
121: /* Define to 1 if you have the `futimes' function. */
122: #undef HAVE_FUTIMES
123:
124: /* Define to 1 if you have the `futimesat' function. */
125: #undef HAVE_FUTIMESAT
126:
127: /* Define to 1 if you use the FWTK authsrv daemon. */
1.6 millert 128: #undef HAVE_FWTK
1.1 millert 129:
1.18 millert 130: /* Define to 1 if you have the `getaddrinfo' function. */
131: #undef HAVE_GETADDRINFO
132:
1.15 millert 133: /* Define to 1 if you have the `getauthuid' function. (ULTRIX 4.x shadow
134: passwords) */
1.6 millert 135: #undef HAVE_GETAUTHUID
1.1 millert 136:
1.10 millert 137: /* Define to 1 if you have the `getcwd' function. */
1.6 millert 138: #undef HAVE_GETCWD
1.1 millert 139:
1.10 millert 140: /* Define to 1 if you have the `getdomainname' function. */
1.6 millert 141: #undef HAVE_GETDOMAINNAME
1.1 millert 142:
1.17 millert 143: /* Define to 1 if you have the `getgroups' function. */
144: #undef HAVE_GETGROUPS
145:
1.10 millert 146: /* Define to 1 if you have the `getifaddrs' function. */
1.6 millert 147: #undef HAVE_GETIFADDRS
1.1 millert 148:
1.11 millert 149: /* Define to 1 if you have the `getprogname' function. */
150: #undef HAVE_GETPROGNAME
151:
1.15 millert 152: /* Define to 1 if you have the `getprpwnam' function. (SecureWare-style shadow
1.6 millert 153: passwords) */
154: #undef HAVE_GETPRPWNAM
1.1 millert 155:
1.15 millert 156: /* Define to 1 if you have the `getpwanam' function. (SunOS 4.x shadow
157: passwords) */
1.6 millert 158: #undef HAVE_GETPWANAM
1.1 millert 159:
1.15 millert 160: /* Define to 1 if you have the `getspnam' function (SVR4-style shadow
161: passwords) */
1.6 millert 162: #undef HAVE_GETSPNAM
1.1 millert 163:
1.15 millert 164: /* Define to 1 if you have the `getspwuid' function. (HP-UX <= 9.X shadow
1.6 millert 165: passwords) */
166: #undef HAVE_GETSPWUID
1.1 millert 167:
1.16 millert 168: /* Define to 1 if you have the `gettimeofday' function. */
169: #undef HAVE_GETTIMEOFDAY
1.15 millert 170:
1.17 millert 171: /* Define to 1 if you have the `glob' function. */
172: #undef HAVE_GLOB
173:
1.15 millert 174: /* Define to 1 if your Kerberos is Heimdal. */
1.12 millert 175: #undef HAVE_HEIMDAL
176:
1.20 millert 177: /* Define to 1 if <netinet/in.h> contains struct in6_addr. */
178: #undef HAVE_IN6_ADDR
179:
1.10 millert 180: /* Define to 1 if you have the `initgroups' function. */
1.6 millert 181: #undef HAVE_INITGROUPS
1.1 millert 182:
1.10 millert 183: /* Define to 1 if you have the `initprivs' function. */
1.6 millert 184: #undef HAVE_INITPRIVS
1.1 millert 185:
1.10 millert 186: /* Define to 1 if you have the `innetgr' function. */
1.1 millert 187: #undef HAVE_INNETGR
188:
1.10 millert 189: /* Define to 1 if you have the <inttypes.h> header file. */
1.6 millert 190: #undef HAVE_INTTYPES_H
191:
192: /* Define if you have isblank(3). */
193: #undef HAVE_ISBLANK
194:
1.15 millert 195: /* Define to 1 if you have the `iscomsec' function. (HP-UX >= 10.x check for
196: shadow enabled) */
1.6 millert 197: #undef HAVE_ISCOMSEC
198:
1.15 millert 199: /* Define to 1 if you have the `issecure' function. (SunOS 4.x check for
200: shadow enabled) */
1.6 millert 201: #undef HAVE_ISSECURE
1.2 millert 202:
1.15 millert 203: /* Define to 1 if you use Kerberos IV. */
1.6 millert 204: #undef HAVE_KERB4
1.1 millert 205:
1.15 millert 206: /* Define to 1 if you use Kerberos V. */
1.6 millert 207: #undef HAVE_KERB5
1.1 millert 208:
1.17 millert 209: /* Define to 1 if you have the `krb5_init_secure_context' function. */
210: #undef HAVE_KRB5_INIT_SECURE_CONTEXT
211:
212: /* Define to 1 if you have the `krb5_verify_user' function. */
213: #undef HAVE_KRB5_VERIFY_USER
214:
1.15 millert 215: /* Define to 1 if your LDAP needs <lber.h>. (OpenLDAP does not) */
216: #undef HAVE_LBER_H
217:
218: /* Define to 1 if you use LDAP for sudoers. */
219: #undef HAVE_LDAP
220:
221: /* Define to 1 if you have the `ldap_initialize' function. */
222: #undef HAVE_LDAP_INITIALIZE
223:
224: /* Define to 1 if you have the `ldap_start_tls_s' function. */
225: #undef HAVE_LDAP_START_TLS_S
226:
1.10 millert 227: /* Define to 1 if you have the `lockf' function. */
1.6 millert 228: #undef HAVE_LOCKF
1.1 millert 229:
1.10 millert 230: /* Define to 1 if you have the <login_cap.h> header file. */
1.6 millert 231: #undef HAVE_LOGIN_CAP_H
1.1 millert 232:
1.6 millert 233: /* Define if your compiler supports the "long long" type. */
234: #undef HAVE_LONG_LONG
1.1 millert 235:
1.17 millert 236: /* Define to 1 if you have the `lrand48' function. */
237: #undef HAVE_LRAND48
238:
1.10 millert 239: /* Define to 1 if you have the `lsearch' function. */
1.6 millert 240: #undef HAVE_LSEARCH
1.1 millert 241:
1.10 millert 242: /* Define to 1 if you have the <malloc.h> header file. */
1.6 millert 243: #undef HAVE_MALLOC_H
1.1 millert 244:
1.10 millert 245: /* Define to 1 if you have the `memchr' function. */
1.6 millert 246: #undef HAVE_MEMCHR
1.1 millert 247:
1.10 millert 248: /* Define to 1 if you have the `memcpy' function. */
1.6 millert 249: #undef HAVE_MEMCPY
1.1 millert 250:
1.10 millert 251: /* Define to 1 if you have the <memory.h> header file. */
1.6 millert 252: #undef HAVE_MEMORY_H
1.1 millert 253:
1.17 millert 254: /* Define to 1 if you have the `memrchr' function. */
255: #undef HAVE_MEMRCHR
256:
1.10 millert 257: /* Define to 1 if you have the `memset' function. */
1.6 millert 258: #undef HAVE_MEMSET
1.1 millert 259:
1.17 millert 260: /* Define to 1 if you have the `mkstemp' function. */
261: #undef HAVE_MKSTEMP
262:
1.10 millert 263: /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
1.6 millert 264: #undef HAVE_NDIR_H
1.1 millert 265:
1.10 millert 266: /* Define to 1 if you have the <netgroup.h> header file. */
1.6 millert 267: #undef HAVE_NETGROUP_H
1.1 millert 268:
1.15 millert 269: /* Define to 1 if you use NRL OPIE. */
1.6 millert 270: #undef HAVE_OPIE
1.1 millert 271:
1.15 millert 272: /* Define to 1 if you use PAM authentication. */
1.6 millert 273: #undef HAVE_PAM
1.1 millert 274:
1.15 millert 275: /* Define to 1 if you have the <pam/pam_appl.h> header file. */
276: #undef HAVE_PAM_PAM_APPL_H
277:
1.10 millert 278: /* Define to 1 if you have the <paths.h> header file. */
1.6 millert 279: #undef HAVE_PATHS_H
1.1 millert 280:
1.17 millert 281: /* Define to 1 if you have the <project.h> header file. */
282: #undef HAVE_PROJECT_H
283:
284: /* Define to 1 if you have the `random' function. */
285: #undef HAVE_RANDOM
286:
1.6 millert 287: /* Define if your struct sockadr has an sa_len field. */
288: #undef HAVE_SA_LEN
1.1 millert 289:
1.15 millert 290: /* Define to 1 if you use SecurID for authentication. */
1.6 millert 291: #undef HAVE_SECURID
1.1 millert 292:
1.17 millert 293: /* Define to 1 if you have the <security/pam_appl.h> header file. */
294: #undef HAVE_SECURITY_PAM_APPL_H
295:
1.15 millert 296: /* Define to 1 if you have the `seteuid' function. */
297: #undef HAVE_SETEUID
298:
1.17 millert 299: /* Define to 1 if you have the `setlocale' function. */
300: #undef HAVE_SETLOCALE
301:
1.10 millert 302: /* Define to 1 if you have the `setresuid' function. */
303: #undef HAVE_SETRESUID
1.1 millert 304:
1.10 millert 305: /* Define to 1 if you have the `setreuid' function. */
1.6 millert 306: #undef HAVE_SETREUID
1.1 millert 307:
1.10 millert 308: /* Define to 1 if you have the `setrlimit' function. */
1.1 millert 309: #undef HAVE_SETRLIMIT
310:
1.10 millert 311: /* Define to 1 if you have the `set_auth_parameters' function. */
1.6 millert 312: #undef HAVE_SET_AUTH_PARAMETERS
313:
1.15 millert 314: /* Define to 1 if you use SIA authentication. */
1.6 millert 315: #undef HAVE_SIA
1.1 millert 316:
1.17 millert 317: /* Define to 1 if you have the `sia_ses_init' function. */
318: #undef HAVE_SIA_SES_INIT
319:
1.10 millert 320: /* Define to 1 if you have the `sigaction' function. */
1.6 millert 321: #undef HAVE_SIGACTION
1.1 millert 322:
1.15 millert 323: /* Define to 1 if <signal.h> has the sigaction_t typedef. */
1.6 millert 324: #undef HAVE_SIGACTION_T
1.1 millert 325:
1.10 millert 326: /* Define to 1 if the system has the type `sig_atomic_t'. */
1.6 millert 327: #undef HAVE_SIG_ATOMIC_T
1.1 millert 328:
1.15 millert 329: /* Define to 1 if you use S/Key. */
1.6 millert 330: #undef HAVE_SKEY
1.1 millert 331:
1.15 millert 332: /* Define to 1 if your S/Key library has skeyaccess(). */
1.6 millert 333: #undef HAVE_SKEYACCESS
1.1 millert 334:
1.10 millert 335: /* Define to 1 if you have the `snprintf' function. */
1.6 millert 336: #undef HAVE_SNPRINTF
1.1 millert 337:
1.10 millert 338: /* Define to 1 if you have the <stdint.h> header file. */
1.6 millert 339: #undef HAVE_STDINT_H
1.1 millert 340:
1.10 millert 341: /* Define to 1 if you have the <stdlib.h> header file. */
1.6 millert 342: #undef HAVE_STDLIB_H
1.1 millert 343:
1.10 millert 344: /* Define to 1 if you have the `strcasecmp' function. */
1.6 millert 345: #undef HAVE_STRCASECMP
1.1 millert 346:
1.10 millert 347: /* Define to 1 if you have the `strchr' function. */
1.6 millert 348: #undef HAVE_STRCHR
1.1 millert 349:
1.10 millert 350: /* Define to 1 if you have the `strerror' function. */
1.6 millert 351: #undef HAVE_STRERROR
1.1 millert 352:
1.10 millert 353: /* Define to 1 if you have the `strftime' function. */
1.6 millert 354: #undef HAVE_STRFTIME
1.1 millert 355:
1.10 millert 356: /* Define to 1 if you have the <strings.h> header file. */
1.6 millert 357: #undef HAVE_STRINGS_H
1.1 millert 358:
1.10 millert 359: /* Define to 1 if you have the <string.h> header file. */
1.6 millert 360: #undef HAVE_STRING_H
1.1 millert 361:
1.10 millert 362: /* Define to 1 if you have the `strlcat' function. */
363: #undef HAVE_STRLCAT
364:
365: /* Define to 1 if you have the `strlcpy' function. */
366: #undef HAVE_STRLCPY
367:
368: /* Define to 1 if you have the `strrchr' function. */
1.6 millert 369: #undef HAVE_STRRCHR
1.1 millert 370:
1.15 millert 371: /* Define to 1 if your struct stat has an st_mtim member */
372: #undef HAVE_ST_MTIM
373:
374: /* Define to 1 if your struct stat has an st_mtimespec member */
375: #undef HAVE_ST_MTIMESPEC
376:
1.10 millert 377: /* Define to 1 if you have the `sysconf' function. */
1.6 millert 378: #undef HAVE_SYSCONF
1.1 millert 379:
1.10 millert 380: /* Define to 1 if you have the <sys/bsdtypes.h> header file. */
1.1 millert 381: #undef HAVE_SYS_BSDTYPES_H
382:
1.10 millert 383: /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
384: */
1.6 millert 385: #undef HAVE_SYS_DIR_H
1.1 millert 386:
1.10 millert 387: /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
388: */
1.6 millert 389: #undef HAVE_SYS_NDIR_H
1.1 millert 390:
1.10 millert 391: /* Define to 1 if you have the <sys/select.h> header file. */
1.6 millert 392: #undef HAVE_SYS_SELECT_H
1.1 millert 393:
1.10 millert 394: /* Define to 1 if you have the <sys/sockio.h> header file. */
1.6 millert 395: #undef HAVE_SYS_SOCKIO_H
1.1 millert 396:
1.10 millert 397: /* Define to 1 if you have the <sys/stat.h> header file. */
1.6 millert 398: #undef HAVE_SYS_STAT_H
1.1 millert 399:
1.10 millert 400: /* Define to 1 if you have the <sys/types.h> header file. */
1.6 millert 401: #undef HAVE_SYS_TYPES_H
1.1 millert 402:
1.15 millert 403: /* Define to 1 if you have the <termios.h> header file and the `tcgetattr'
1.6 millert 404: function. */
405: #undef HAVE_TERMIOS_H
1.1 millert 406:
1.10 millert 407: /* Define to 1 if you have the <termio.h> header file. */
1.6 millert 408: #undef HAVE_TERMIO_H
1.1 millert 409:
1.15 millert 410: /* Define to 1 if you have struct timespec in sys/time.h */
411: #undef HAVE_TIMESPEC
1.16 millert 412:
1.17 millert 413: /* Define to 1 if you have a timespecsub macro or function that takes two
414: arguments (not three) */
1.16 millert 415: #undef HAVE_TIMESPECSUB2
1.15 millert 416:
1.10 millert 417: /* Define to 1 if you have the `tzset' function. */
1.6 millert 418: #undef HAVE_TZSET
1.1 millert 419:
1.10 millert 420: /* Define to 1 if you have the <unistd.h> header file. */
1.6 millert 421: #undef HAVE_UNISTD_H
1.1 millert 422:
1.15 millert 423: /* Define to 1 if you have the `utimes' function. */
424: #undef HAVE_UTIMES
1.1 millert 425:
1.10 millert 426: /* Define to 1 if you have the <utime.h> header file. */
1.6 millert 427: #undef HAVE_UTIME_H
1.1 millert 428:
1.10 millert 429: /* Define to 1 if you have the `vasprintf' function. */
1.6 millert 430: #undef HAVE_VASPRINTF
1.1 millert 431:
1.10 millert 432: /* Define to 1 if you have the `vsnprintf' function. */
1.6 millert 433: #undef HAVE_VSNPRINTF
1.1 millert 434:
1.10 millert 435: /* Define to 1 if you have the `wait3' function. */
1.6 millert 436: #undef HAVE_WAIT3
1.1 millert 437:
1.10 millert 438: /* Define to 1 if you have the `waitpid' function. */
1.6 millert 439: #undef HAVE_WAITPID
1.1 millert 440:
1.10 millert 441: /* Define to 1 if you have the `_innetgr' function. */
1.6 millert 442: #undef HAVE__INNETGR
1.11 millert 443:
1.15 millert 444: /* Define to 1 if your crt0.o defines the __progname symbol for you. */
1.11 millert 445: #undef HAVE___PROGNAME
1.1 millert 446:
1.15 millert 447: /* Define to 1 if you want the hostname to be entered into the log file. */
1.1 millert 448: #undef HOST_IN_LOG
449:
1.15 millert 450: /* Define to 1 if you want to ignore '.' and empty PATH elements */
1.6 millert 451: #undef IGNORE_DOT_PATH
1.1 millert 452:
1.6 millert 453: /* The message given when a bad password is entered. */
454: #undef INCORRECT_PASSWORD
1.1 millert 455:
1.6 millert 456: /* The syslog facility sudo will use. */
457: #undef LOGFAC
1.1 millert 458:
1.6 millert 459: /* Define to SLOG_SYSLOG, SLOG_FILE, or SLOG_BOTH. */
460: #undef LOGGING
1.1 millert 461:
1.6 millert 462: /* Define if sizeof(long) == sizeof(long long). */
463: #undef LONG_IS_QUAD
1.1 millert 464:
1.15 millert 465: /* Define to 1 if you want a two line OTP (S/Key or OPIE) prompt. */
1.6 millert 466: #undef LONG_OTP_PROMPT
1.1 millert 467:
1.17 millert 468: /* Define to the sub-directory in which libtool stores uninstalled libraries.
469: */
470: #undef LT_OBJDIR
471:
1.6 millert 472: /* The subject of the mail sent by sudo to the MAILTO user/address. */
473: #undef MAILSUBJECT
1.1 millert 474:
1.6 millert 475: /* The user or email address that sudo mail is sent to. */
476: #undef MAILTO
1.1 millert 477:
1.6 millert 478: /* The max number of chars per log file line (for line wrapping). */
479: #undef MAXLOGFILELEN
1.1 millert 480:
1.6 millert 481: /* Define to the max length of a uid_t in string context (excluding the NUL).
482: */
483: #undef MAX_UID_T_LEN
1.1 millert 484:
1.15 millert 485: /* Define to 1 if you don't want sudo to prompt for a password by default. */
1.6 millert 486: #undef NO_AUTHENTICATION
1.1 millert 487:
1.15 millert 488: /* Define to 1 if you don't want users to get the lecture the first they user
489: sudo. */
1.6 millert 490: #undef NO_LECTURE
1.1 millert 491:
1.19 millert 492: /* Define to 1 if you don't want to use sudo's PAM session support. */
493: #undef NO_PAM_SESSION
494:
1.8 millert 495: /* Define to avoid runing the mailer as root. */
496: #undef NO_ROOT_MAILER
497:
1.15 millert 498: /* Define to 1 if root should not be allowed to use sudo. */
1.6 millert 499: #undef NO_ROOT_SUDO
1.1 millert 500:
1.6 millert 501: /* The default password prompt. */
502: #undef PASSPROMPT
1.1 millert 503:
1.6 millert 504: /* The passwd prompt timeout (in minutes). */
505: #undef PASSWORD_TIMEOUT
1.1 millert 506:
1.15 millert 507: /* Define to 1 to replace politically incorrect insults with less offensive
508: ones. */
509: #undef PC_INSULTS
510:
1.6 millert 511: /* The syslog priority sudo will use for unsuccessful attempts/errors. */
1.1 millert 512: #undef PRI_FAILURE
513:
1.6 millert 514: /* The syslog priority sudo will use for successful attempts. */
515: #undef PRI_SUCCESS
1.1 millert 516:
1.6 millert 517: /* Define as the return type of signal handlers (`int' or `void'). */
518: #undef RETSIGTYPE
1.1 millert 519:
1.6 millert 520: /* The user sudo should run commands as by default. */
521: #undef RUNAS_DEFAULT
1.1 millert 522:
1.15 millert 523: /* Define to 1 to override the user's path with a built-in one. */
1.6 millert 524: #undef SECURE_PATH
1.1 millert 525:
1.15 millert 526: /* Define to 1 to send mail when the user is not allowed to run a command. */
1.6 millert 527: #undef SEND_MAIL_WHEN_NOT_OK
1.1 millert 528:
1.15 millert 529: /* Define to 1 to send mail when the user is not allowed to run sudo on this
530: host. */
1.1 millert 531: #undef SEND_MAIL_WHEN_NO_HOST
532:
1.15 millert 533: /* Define to 1 to send mail when the user is not in the sudoers file. */
1.6 millert 534: #undef SEND_MAIL_WHEN_NO_USER
1.1 millert 535:
1.15 millert 536: /* Define to 1 if you want sudo to start a shell if given no arguments. */
1.1 millert 537: #undef SHELL_IF_NO_ARGS
538:
1.15 millert 539: /* Define to 1 if you want sudo to set $HOME in shell mode. */
1.1 millert 540: #undef SHELL_SETS_HOME
541:
1.6 millert 542: /* If using the C implementation of alloca, define if you know the
543: direction of stack growth for your system; otherwise it will be
544: automatically deduced at run-time.
1.17 millert 545: STACK_DIRECTION > 0 => grows toward higher addresses
546: STACK_DIRECTION < 0 => grows toward lower addresses
547: STACK_DIRECTION = 0 => direction of growth unknown */
1.6 millert 548: #undef STACK_DIRECTION
549:
1.10 millert 550: /* Define to 1 if you have the ANSI C header files. */
1.6 millert 551: #undef STDC_HEADERS
552:
1.15 millert 553: /* Define to 1 if the code in interfaces.c does not compile for you. */
1.6 millert 554: #undef STUB_LOAD_INTERFACES
555:
556: /* The umask that the root-run prog should use. */
557: #undef SUDO_UMASK
558:
559: /* The number of minutes before sudo asks for a password again. */
560: #undef TIMEOUT
561:
1.17 millert 562: /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
563: #undef TIME_WITH_SYS_TIME
564:
1.6 millert 565: /* The number of tries a user gets to enter their password. */
566: #undef TRIES_FOR_PASSWORD
567:
1.15 millert 568: /* Define to 1 if you want to insult the user for entering an incorrect
569: password. */
1.6 millert 570: #undef USE_INSULTS
1.1 millert 571:
1.15 millert 572: /* Define to 1 if you use GNU stow packaging. */
1.10 millert 573: #undef USE_STOW
574:
1.15 millert 575: /* Define to 1 if you want a different ticket file for each tty. */
1.6 millert 576: #undef USE_TTY_TICKETS
1.1 millert 577:
1.6 millert 578: /* Define to "void" if your compiler supports void pointers, else use "char".
579: */
580: #undef VOID
581:
582: /* Define to avoid using the passwd/shadow file for authentication. */
583: #undef WITHOUT_PASSWD
1.1 millert 584:
1.17 millert 585: /* Path to the ldap.conf file */
586: #undef _PATH_LDAP_CONF
1.1 millert 587:
1.17 millert 588: /* Path to the ldap.secret file */
589: #undef _PATH_LDAP_SECRET
1.1 millert 590:
1.17 millert 591: /* The fully qualified pathname of sudo_noexec.so */
592: #undef _PATH_SUDO_NOEXEC
1.1 millert 593:
1.6 millert 594: /* Define to empty if `const' does not conform to ANSI C. */
595: #undef const
1.1 millert 596:
1.6 millert 597: /* Define if your system lacks the dev_t type. */
598: #undef dev_t
1.1 millert 599:
1.6 millert 600: /* Define to `int' if <sys/types.h> doesn't define. */
601: #undef gid_t
1.1 millert 602:
1.6 millert 603: /* Define if your system lacks the ino_t type. */
604: #undef ino_t
1.1 millert 605:
1.6 millert 606: /* Define to `int' if <sys/types.h> does not define. */
607: #undef mode_t
1.4 millert 608:
1.6 millert 609: /* Define to `int' if <signal.h> does not define. */
610: #undef sig_atomic_t
1.5 millert 611:
1.6 millert 612: /* Define if your system lacks the size_t type. */
613: #undef size_t
1.1 millert 614:
1.6 millert 615: /* Define if your system lacks the ssize_t type. */
616: #undef ssize_t
1.1 millert 617:
1.6 millert 618: /* Define to `int' if <sys/types.h> doesn't define. */
619: #undef uid_t
1.21 ! millert 620:
! 621: /* Define to the type of elements in the array set by `getgroups'.
! 622: Usually this is either `int' or `gid_t'. */
! 623: #undef GETGROUPS_T
1.1 millert 624:
1.6 millert 625: /* Define to empty if the keyword `volatile' does not work. Warning: valid
626: code using `volatile' can become incorrect without. Disable with care. */
627: #undef volatile
1.1 millert 628:
629: /*
1.15 millert 630: * Macros to pull sec and nsec parts of mtime from struct stat.
1.17 millert 631: * We need to be able to convert between timeval and timespec
632: * so the last 3 digits of tv_nsec are not significant.
1.15 millert 633: */
634: #ifdef HAVE_ST_MTIM
635: # define mtim_getsec(_x) ((_x).st_mtim.tv_sec)
1.17 millert 636: # define mtim_getnsec(_x) (((_x).st_mtim.tv_nsec / 1000) * 1000)
1.15 millert 637: #else
638: # ifdef HAVE_ST_MTIMESPEC
639: # define mtim_getsec(_x) ((_x).st_mtimespec.tv_sec)
1.17 millert 640: # define mtim_getnsec(_x) (((_x).st_mtimespec.tv_nsec / 1000) * 1000)
1.15 millert 641: # else
642: # define mtim_getsec(_x) ((_x).st_mtime)
643: # define mtim_getnsec(_x) (0)
644: # endif /* HAVE_ST_MTIMESPEC */
645: #endif /* HAVE_ST_MTIM */
646:
647: /*
1.1 millert 648: * Emulate a subset of waitpid() if we don't have it.
649: */
650: #ifdef HAVE_WAITPID
1.6 millert 651: # define sudo_waitpid(p, s, o) waitpid(p, s, o)
652: #else
653: # ifdef HAVE_WAIT3
654: # define sudo_waitpid(p, s, o) wait3(s, o, NULL)
655: # endif
1.10 millert 656: #endif
657:
658: /* GNU stow needs /etc/sudoers to be a symlink. */
1.15 millert 659: #ifdef USE_STOW
1.10 millert 660: # define stat_sudoers stat
661: #else
662: # define stat_sudoers lstat
1.6 millert 663: #endif
1.15 millert 664:
665: /* Macros to set/clear/test flags. */
666: #undef SET
667: #define SET(t, f) ((t) |= (f))
668: #undef CLR
669: #define CLR(t, f) ((t) &= ~(f))
670: #undef ISSET
671: #define ISSET(t, f) ((t) & (f))
1.1 millert 672:
1.6 millert 673: /* New ANSI-style OS defs for HP-UX and ConvexOS. */
674: #if defined(hpux) && !defined(__hpux)
675: # define __hpux 1
676: #endif /* hpux */
677:
678: #if defined(convex) && !defined(__convex__)
679: # define __convex__ 1
680: #endif /* convex */
681:
682: /* BSD compatibility on some SVR4 systems. */
1.1 millert 683: #ifdef __svr4__
1.6 millert 684: # define BSD_COMP
1.1 millert 685: #endif /* __svr4__ */
686:
687: #endif /* _SUDO_CONFIG_H */