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