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