Annotation of src/usr.bin/sudo/config.h.in, Revision 1.9
1.6 millert 1: /* config.h.in. Generated automatically from configure.in by autoheader. */
1.1 millert 2:
3: #ifndef _SUDO_CONFIG_H
4: #define _SUDO_CONFIG_H
5:
1.6 millert 6: /* Define if the `syslog' function returns a non-zero int to denote failure.
7: */
8: #undef BROKEN_SYSLOG
1.1 millert 9:
1.6 millert 10: /* Define if you want the insults from the "classic" version sudo. */
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.6 millert 18: /* Define if you want insults culled from the twisted minds of CSOps. */
19: #undef CSOPS_INSULTS
1.1 millert 20:
1.6 millert 21: /* Define if using `alloca.c'. */
22: #undef C_ALLOCA
1.1 millert 23:
1.6 millert 24: /* Define if you want sudo to display "command not allowed" instead of
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.6 millert 31: /* Define if you want visudo to honor the EDITOR and VISUAL env variables. */
32: #undef ENV_EDITOR
1.1 millert 33:
1.6 millert 34: /* If defined, users in this group need not enter a passwd (ie "sudo"). */
35: #undef EXEMPTGROUP
1.1 millert 36:
1.6 millert 37: /* Define if you want to require fully qualified hosts in sudoers. */
38: #undef FQDN
1.1 millert 39:
1.6 millert 40: /* Define if you want insults from the "Goon Show". */
41: #undef GOONS_INSULTS
1.1 millert 42:
1.6 millert 43: /* Define if you want 2001-like insults. */
44: #undef HAL_INSULTS
1.1 millert 45:
1.6 millert 46: /* Define if you use AFS. */
47: #undef HAVE_AFS
1.1 millert 48:
1.6 millert 49: /* Define if you have `alloca', as a function or macro. */
50: #undef HAVE_ALLOCA
1.1 millert 51:
1.6 millert 52: /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
53: #undef HAVE_ALLOCA_H
1.1 millert 54:
1.6 millert 55: /* Define if you have the `asprintf' function. */
56: #undef HAVE_ASPRINTF
1.1 millert 57:
1.6 millert 58: /* Define if you use AIX general authentication. */
59: #undef HAVE_AUTHENTICATE
1.1 millert 60:
1.6 millert 61: /* Define if you have the `bigcrypt' function. */
62: #undef HAVE_BIGCRYPT
1.1 millert 63:
1.6 millert 64: /* Define if you use BSD authentication. */
65: #undef HAVE_BSD_AUTH_H
1.1 millert 66:
1.6 millert 67: /* Define if you use OSF DCE. */
68: #undef HAVE_DCE
1.1 millert 69:
1.6 millert 70: /* Define if you have the <dirent.h> header file, and it defines `DIR'. */
71: #undef HAVE_DIRENT_H
1.1 millert 72:
1.6 millert 73: /* Define if you have the `dispcrypt' function. */
74: #undef HAVE_DISPCRYPT
1.1 millert 75:
1.6 millert 76: /* Define if you have the `flock' function. */
77: #undef HAVE_FLOCK
1.1 millert 78:
1.6 millert 79: /* Define if you have the `fnmatch' function. */
1.1 millert 80: #undef HAVE_FNMATCH
81:
1.9 ! millert 82: /* Define if you have the `freeifaddrs' function. */
! 83: #undef HAVE_FREEIFADDRS
! 84:
1.6 millert 85: /* Define if you have the `fstat' function. */
86: #undef HAVE_FSTAT
87:
88: /* Define if you use the FWTK authsrv daemon. */
89: #undef HAVE_FWTK
1.1 millert 90:
1.6 millert 91: /* Define if you have the `getauthuid' function. (ULTRIX 4.x shadow passwords)
92: */
93: #undef HAVE_GETAUTHUID
1.1 millert 94:
1.6 millert 95: /* Define if you have the `getcwd' function. */
96: #undef HAVE_GETCWD
1.1 millert 97:
1.6 millert 98: /* Define if you have the `getdomainname' function. */
99: #undef HAVE_GETDOMAINNAME
1.1 millert 100:
1.6 millert 101: /* Define if you have the `getifaddrs' function. */
102: #undef HAVE_GETIFADDRS
1.1 millert 103:
1.6 millert 104: /* Define if you have the `getprpwnam' function. (SecureWare-style shadow
105: passwords) */
106: #undef HAVE_GETPRPWNAM
1.1 millert 107:
1.6 millert 108: /* Define if you have the `getpwanam' function. (SunOS 4.x shadow passwords)
109: */
110: #undef HAVE_GETPWANAM
1.1 millert 111:
1.6 millert 112: /* Define if you have the `getspnam' function (SVR4-style shadow passwords) */
113: #undef HAVE_GETSPNAM
1.1 millert 114:
1.6 millert 115: /* Define if you have the `getspwuid' function. (HP-UX <= 9.X shadow
116: passwords) */
117: #undef HAVE_GETSPWUID
1.1 millert 118:
1.6 millert 119: /* Define if you have the `initgroups' function. */
120: #undef HAVE_INITGROUPS
1.1 millert 121:
1.6 millert 122: /* Define if you have the `initprivs' function. */
123: #undef HAVE_INITPRIVS
1.1 millert 124:
1.6 millert 125: /* Define if you have the `innetgr' function. */
1.1 millert 126: #undef HAVE_INNETGR
127:
1.6 millert 128: /* Define if you have the <inttypes.h> header file. */
129: #undef HAVE_INTTYPES_H
130:
131: /* Define if you have isblank(3). */
132: #undef HAVE_ISBLANK
133:
134: /* Define if you have the `iscomsec' function. (HP-UX >= 10.x check for shadow
135: enabled) */
136: #undef HAVE_ISCOMSEC
137:
138: /* Define if you have the `issecure' function. (SunOS 4.x check for shadow
139: enabled) */
140: #undef HAVE_ISSECURE
1.2 millert 141:
1.6 millert 142: /* Define if you use Kerberos IV. */
143: #undef HAVE_KERB4
1.1 millert 144:
1.6 millert 145: /* Define if you use Kerberos V. */
146: #undef HAVE_KERB5
1.1 millert 147:
1.6 millert 148: /* Define if you have the `lockf' function. */
149: #undef HAVE_LOCKF
1.1 millert 150:
1.6 millert 151: /* Define if you have the <login_cap.h> header file. */
152: #undef HAVE_LOGIN_CAP_H
1.1 millert 153:
1.6 millert 154: /* Define if your compiler supports the "long long" type. */
155: #undef HAVE_LONG_LONG
1.1 millert 156:
1.6 millert 157: /* Define if you have the `lsearch' function. */
158: #undef HAVE_LSEARCH
1.1 millert 159:
1.6 millert 160: /* Define if you have the <malloc.h> header file. */
161: #undef HAVE_MALLOC_H
1.1 millert 162:
1.6 millert 163: /* Define if you have the `memchr' function. */
164: #undef HAVE_MEMCHR
1.1 millert 165:
1.6 millert 166: /* Define if you have the `memcpy' function. */
167: #undef HAVE_MEMCPY
1.1 millert 168:
1.6 millert 169: /* Define if you have the <memory.h> header file. */
170: #undef HAVE_MEMORY_H
1.1 millert 171:
1.6 millert 172: /* Define if you have the `memset' function. */
173: #undef HAVE_MEMSET
1.1 millert 174:
1.6 millert 175: /* Define if you have the <ndir.h> header file, and it defines `DIR'. */
176: #undef HAVE_NDIR_H
1.1 millert 177:
1.6 millert 178: /* Define if you have the <netgroup.h> header file. */
179: #undef HAVE_NETGROUP_H
1.1 millert 180:
1.6 millert 181: /* Define if you use NRL OPIE. */
182: #undef HAVE_OPIE
1.1 millert 183:
1.6 millert 184: /* Define if you use PAM. */
185: #undef HAVE_PAM
1.1 millert 186:
1.6 millert 187: /* Define if you have the <paths.h> header file. */
188: #undef HAVE_PATHS_H
1.1 millert 189:
1.6 millert 190: /* Define if your struct sockadr has an sa_len field. */
191: #undef HAVE_SA_LEN
1.1 millert 192:
1.6 millert 193: /* Define if you use SecurID. */
194: #undef HAVE_SECURID
1.1 millert 195:
1.6 millert 196: /* Define if you have the `setegid' function. */
197: #undef HAVE_SETEGID
1.1 millert 198:
1.6 millert 199: /* Define if you have the `seteuid' function. */
200: #undef HAVE_SETEUID
1.1 millert 201:
1.6 millert 202: /* Define if you have the `setreuid' function. */
203: #undef HAVE_SETREUID
1.1 millert 204:
1.6 millert 205: /* Define if you have the `setrlimit' function. */
1.1 millert 206: #undef HAVE_SETRLIMIT
207:
1.6 millert 208: /* Define if you have the `set_auth_parameters' function. */
209: #undef HAVE_SET_AUTH_PARAMETERS
210:
211: /* Define if you use SIA. */
212: #undef HAVE_SIA
1.1 millert 213:
1.6 millert 214: /* Define if you have the `sigaction' function. */
215: #undef HAVE_SIGACTION
1.1 millert 216:
1.6 millert 217: /* Define if <signal.h> has the sigaction_t typedef. */
218: #undef HAVE_SIGACTION_T
1.1 millert 219:
1.6 millert 220: /* Define if the system has the type `sig_atomic_t'. */
221: #undef HAVE_SIG_ATOMIC_T
1.1 millert 222:
1.6 millert 223: /* Define if you use S/Key. */
224: #undef HAVE_SKEY
1.1 millert 225:
1.6 millert 226: /* Define if your S/Key library has skeyaccess(). */
227: #undef HAVE_SKEYACCESS
1.1 millert 228:
1.6 millert 229: /* Define if you have the `snprintf' function. */
230: #undef HAVE_SNPRINTF
1.1 millert 231:
1.6 millert 232: /* Define if you have the <stdint.h> header file. */
233: #undef HAVE_STDINT_H
1.1 millert 234:
1.6 millert 235: /* Define if you have the <stdlib.h> header file. */
236: #undef HAVE_STDLIB_H
1.1 millert 237:
1.6 millert 238: /* Define if you have the `strcasecmp' function. */
239: #undef HAVE_STRCASECMP
1.1 millert 240:
1.6 millert 241: /* Define if you have the `strchr' function. */
242: #undef HAVE_STRCHR
1.1 millert 243:
1.6 millert 244: /* Define if you have the `strerror' function. */
245: #undef HAVE_STRERROR
1.1 millert 246:
1.6 millert 247: /* Define if you have the `strftime' function. */
248: #undef HAVE_STRFTIME
1.1 millert 249:
1.6 millert 250: /* Define if you have the <strings.h> header file. */
251: #undef HAVE_STRINGS_H
1.1 millert 252:
1.6 millert 253: /* Define if you have the <string.h> header file. */
254: #undef HAVE_STRING_H
1.1 millert 255:
1.6 millert 256: /* Define if you have the `strrchr' function. */
257: #undef HAVE_STRRCHR
1.1 millert 258:
1.6 millert 259: /* Define if you have the `sysconf' function. */
260: #undef HAVE_SYSCONF
1.1 millert 261:
1.6 millert 262: /* Define if you have the <sys/bsdtypes.h> header file. */
1.1 millert 263: #undef HAVE_SYS_BSDTYPES_H
264:
1.6 millert 265: /* Define if you have the <sys/dir.h> header file, and it defines `DIR'. */
266: #undef HAVE_SYS_DIR_H
1.1 millert 267:
1.6 millert 268: /* Define if you have the <sys/ndir.h> header file, and it defines `DIR'. */
269: #undef HAVE_SYS_NDIR_H
1.1 millert 270:
1.6 millert 271: /* Define if you have the <sys/select.h> header file. */
272: #undef HAVE_SYS_SELECT_H
1.1 millert 273:
1.6 millert 274: /* Define if you have the <sys/sockio.h> header file. */
275: #undef HAVE_SYS_SOCKIO_H
1.1 millert 276:
1.6 millert 277: /* Define if you have the <sys/stat.h> header file. */
278: #undef HAVE_SYS_STAT_H
1.1 millert 279:
1.6 millert 280: /* Define if you have the <sys/types.h> header file. */
281: #undef HAVE_SYS_TYPES_H
1.1 millert 282:
1.6 millert 283: /* Define if you have the <termios.h> header file and the `tcgetattr'
284: function. */
285: #undef HAVE_TERMIOS_H
1.1 millert 286:
1.6 millert 287: /* Define if you have the <termio.h> header file. */
288: #undef HAVE_TERMIO_H
1.1 millert 289:
1.6 millert 290: /* Define if you have the `tzset' function. */
291: #undef HAVE_TZSET
1.1 millert 292:
1.6 millert 293: /* Define if you have the <unistd.h> header file. */
294: #undef HAVE_UNISTD_H
1.1 millert 295:
1.6 millert 296: /* Define if you have the `utime' function. */
297: #undef HAVE_UTIME
1.1 millert 298:
1.6 millert 299: /* Define if you have the <utime.h> header file. */
300: #undef HAVE_UTIME_H
1.1 millert 301:
1.6 millert 302: /* Define if you have a POSIX utime() (uses struct utimbuf). */
303: #undef HAVE_UTIME_POSIX
1.1 millert 304:
1.6 millert 305: /* Define if you have the `vasprintf' function. */
306: #undef HAVE_VASPRINTF
1.1 millert 307:
1.6 millert 308: /* Define if you have the `vsnprintf' function. */
309: #undef HAVE_VSNPRINTF
1.1 millert 310:
1.6 millert 311: /* Define if you have the `wait3' function. */
312: #undef HAVE_WAIT3
1.1 millert 313:
1.6 millert 314: /* Define if you have the `waitpid' function. */
315: #undef HAVE_WAITPID
1.1 millert 316:
1.6 millert 317: /* Define if you have the `_innetgr' function. */
318: #undef HAVE__INNETGR
1.1 millert 319:
1.6 millert 320: /* Define if you want the hostname to be entered into the log file. */
1.1 millert 321: #undef HOST_IN_LOG
322:
1.6 millert 323: /* Define if you want to ignore '.' and empty $PATH elements */
324: #undef IGNORE_DOT_PATH
1.1 millert 325:
1.6 millert 326: /* The message given when a bad password is entered. */
327: #undef INCORRECT_PASSWORD
1.1 millert 328:
1.6 millert 329: /* The syslog facility sudo will use. */
330: #undef LOGFAC
1.1 millert 331:
1.6 millert 332: /* Define to SLOG_SYSLOG, SLOG_FILE, or SLOG_BOTH. */
333: #undef LOGGING
1.1 millert 334:
1.6 millert 335: /* Define if sizeof(long) == sizeof(long long). */
336: #undef LONG_IS_QUAD
1.1 millert 337:
1.6 millert 338: /* Define if you want a two line OTP (S/Key or OPIE) prompt. */
339: #undef LONG_OTP_PROMPT
1.1 millert 340:
1.6 millert 341: /* The subject of the mail sent by sudo to the MAILTO user/address. */
342: #undef MAILSUBJECT
1.1 millert 343:
1.6 millert 344: /* The user or email address that sudo mail is sent to. */
345: #undef MAILTO
1.1 millert 346:
1.6 millert 347: /* The max number of chars per log file line (for line wrapping). */
348: #undef MAXLOGFILELEN
1.1 millert 349:
1.6 millert 350: /* Define to the max length of a uid_t in string context (excluding the NUL).
351: */
352: #undef MAX_UID_T_LEN
1.1 millert 353:
1.6 millert 354: /* Define if you don't want sudo to prompt for a password by default. */
355: #undef NO_AUTHENTICATION
1.1 millert 356:
1.6 millert 357: /* Define if you don't want users to get the lecture the first they user sudo.
358: */
359: #undef NO_LECTURE
1.1 millert 360:
1.8 millert 361: /* Define to avoid runing the mailer as root. */
362: #undef NO_ROOT_MAILER
363:
1.6 millert 364: /* Define if root should not be allowed to use sudo. */
365: #undef NO_ROOT_SUDO
1.1 millert 366:
1.7 millert 367: /* Define to avoid using POSIX saved ids. */
368: #undef NO_SAVED_IDS
369:
1.6 millert 370: /* The default password prompt. */
371: #undef PASSPROMPT
1.1 millert 372:
1.6 millert 373: /* The passwd prompt timeout (in minutes). */
374: #undef PASSWORD_TIMEOUT
1.1 millert 375:
1.6 millert 376: /* The syslog priority sudo will use for unsuccessful attempts/errors. */
1.1 millert 377: #undef PRI_FAILURE
378:
1.6 millert 379: /* The syslog priority sudo will use for successful attempts. */
380: #undef PRI_SUCCESS
1.1 millert 381:
1.6 millert 382: /* Define as the return type of signal handlers (`int' or `void'). */
383: #undef RETSIGTYPE
1.1 millert 384:
1.6 millert 385: /* The user sudo should run commands as by default. */
386: #undef RUNAS_DEFAULT
1.1 millert 387:
1.6 millert 388: /* Define to override the user's path with a builtin one. */
389: #undef SECURE_PATH
1.1 millert 390:
1.6 millert 391: /* Define to send mail when the user is not not allowed to run a command. */
392: #undef SEND_MAIL_WHEN_NOT_OK
1.1 millert 393:
1.6 millert 394: /* Define to send mail when the user is not not allowed to run sudo on this
395: host. */
1.1 millert 396: #undef SEND_MAIL_WHEN_NO_HOST
397:
1.6 millert 398: /* Define to send mail when the user is not in the sudoers file. */
399: #undef SEND_MAIL_WHEN_NO_USER
1.1 millert 400:
1.6 millert 401: /* Define if you want sudo to start a shell if given no arguments. */
1.1 millert 402: #undef SHELL_IF_NO_ARGS
403:
1.6 millert 404: /* Define if you want sudo to set /home/millert in shell mode. */
1.1 millert 405: #undef SHELL_SETS_HOME
406:
1.6 millert 407: /* If using the C implementation of alloca, define if you know the
408: direction of stack growth for your system; otherwise it will be
409: automatically deduced at run-time.
410: STACK_DIRECTION > 0 => grows toward higher addresses
411: STACK_DIRECTION < 0 => grows toward lower addresses
412: STACK_DIRECTION = 0 => direction of growth unknown */
413: #undef STACK_DIRECTION
414:
415: /* Define if you have the ANSI C header files. */
416: #undef STDC_HEADERS
417:
418: /* Define if the code in interfaces.c does not compile for you. */
419: #undef STUB_LOAD_INTERFACES
420:
421: /* The umask that the root-run prog should use. */
422: #undef SUDO_UMASK
423:
424: /* The number of minutes before sudo asks for a password again. */
425: #undef TIMEOUT
426:
427: /* The number of tries a user gets to enter their password. */
428: #undef TRIES_FOR_PASSWORD
429:
430: /* Define if you wish to use execv() instead of execvp() when running
431: programs. */
432: #undef USE_EXECV
433:
434: /* Define if you want to insult the user for entering an incorrect password.
435: */
436: #undef USE_INSULTS
1.1 millert 437:
1.6 millert 438: /* Define if you want a different ticket file for each tty. */
439: #undef USE_TTY_TICKETS
1.1 millert 440:
1.6 millert 441: /* Define to "void" if your compiler supports void pointers, else use "char".
442: */
443: #undef VOID
444:
445: /* Define to avoid using the passwd/shadow file for authentication. */
446: #undef WITHOUT_PASSWD
1.1 millert 447:
1.6 millert 448: /* Enable non-POSIX extensions on AIX. */
449: #ifndef _ALL_SOURCE
450: # undef _ALL_SOURCE
451: #endif
1.1 millert 452:
1.6 millert 453: /* Enable non-POSIX extensions on ConvexOS. */
454: #ifndef _CONVEX_SOURCE
455: # undef _CONVEX_SOURCE
456: #endif
1.1 millert 457:
1.6 millert 458: /* Enable GNU extensions on systems that have them. */
459: #ifndef _GNU_SOURCE
460: # define _GNU_SOURCE 1
461: #endif
1.1 millert 462:
1.6 millert 463: /* Define if you need to in order for stat and other things to work. */
464: #undef _POSIX_SOURCE
1.1 millert 465:
1.6 millert 466: /* Define to empty if `const' does not conform to ANSI C. */
467: #undef const
1.1 millert 468:
1.6 millert 469: /* Define if your system lacks the dev_t type. */
470: #undef dev_t
1.1 millert 471:
1.6 millert 472: /* Define to `int' if <sys/types.h> doesn't define. */
473: #undef gid_t
1.1 millert 474:
1.6 millert 475: /* Define if your system lacks the ino_t type. */
476: #undef ino_t
1.1 millert 477:
1.6 millert 478: /* Define to `int' if <sys/types.h> does not define. */
479: #undef mode_t
1.4 millert 480:
1.6 millert 481: /* Define to `int' if <signal.h> does not define. */
482: #undef sig_atomic_t
1.5 millert 483:
1.6 millert 484: /* Define if your system lacks the size_t type. */
485: #undef size_t
1.1 millert 486:
1.6 millert 487: /* Define if your system lacks the ssize_t type. */
488: #undef ssize_t
1.1 millert 489:
1.6 millert 490: /* Define to `int' if <sys/types.h> doesn't define. */
491: #undef uid_t
1.1 millert 492:
1.6 millert 493: /* Define to empty if the keyword `volatile' does not work. Warning: valid
494: code using `volatile' can become incorrect without. Disable with care. */
495: #undef volatile
1.1 millert 496:
497: /*
498: * Emulate a subset of waitpid() if we don't have it.
499: */
500: #ifdef HAVE_WAITPID
1.6 millert 501: # define sudo_waitpid(p, s, o) waitpid(p, s, o)
502: #else
503: # ifdef HAVE_WAIT3
504: # define sudo_waitpid(p, s, o) wait3(s, o, NULL)
505: # endif
506: #endif
507:
508: /* Solaris doesn't use const qualifiers in PAM. */
509: #ifdef sun
510: # define PAM_CONST
1.1 millert 511: #else
1.6 millert 512: # define PAM_CONST const
1.1 millert 513: #endif
514:
515: #ifdef USE_EXECV
1.6 millert 516: # define EXEC execv
1.1 millert 517: #else
1.6 millert 518: # define EXEC execvp
1.1 millert 519: #endif /* USE_EXECV */
520:
1.6 millert 521: /* New ANSI-style OS defs for HP-UX and ConvexOS. */
522: #if defined(hpux) && !defined(__hpux)
523: # define __hpux 1
524: #endif /* hpux */
525:
526: #if defined(convex) && !defined(__convex__)
527: # define __convex__ 1
528: #endif /* convex */
529:
530: /* BSD compatibility on some SVR4 systems. */
1.1 millert 531: #ifdef __svr4__
1.6 millert 532: # define BSD_COMP
1.1 millert 533: #endif /* __svr4__ */
534:
535: #endif /* _SUDO_CONFIG_H */