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