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