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