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