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