1
/* config.h.in. Generated from configure.in by autoheader. */
6
/* Define to 1 if the `syslog' function returns a non-zero int to denote
10
/* Define to 1 if you want the insults from the "classic" version sudo. */
11
#undef CLASSIC_INSULTS
13
/* Define to 1 if you want insults culled from the twisted minds of CSOps. */
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
20
/* A colon-separated list of pathnames to be used as the editor for visudo. */
23
/* Define to 1 to enable environment function debugging. */
26
/* Define to 1 if you want visudo to honor the EDITOR and VISUAL env
30
/* Define to 1 to enable environment resetting by default. */
33
/* If defined, users in this group need not enter a passwd (ie "sudo"). */
36
/* Define to 1 if you want to require fully qualified hosts in sudoers. */
39
/* Define to the type of elements in the array set by `getgroups'. Usually
40
this is either `int' or `gid_t'. */
43
/* Define to 1 if you want insults from the "Goon Show". */
46
/* Define to 1 if you want 2001-like insults. */
49
/* Define to 1 if you use AFS. */
52
/* Define to 1 if you use AIX general authentication. */
55
/* Define to 1 if you have the `asprintf' function. */
58
/* Define to 1 if you have the `authenticate' function. */
59
#undef HAVE_AUTHENTICATE
61
/* Define to 1 if you have the `auth_challenge' function. */
62
#undef HAVE_AUTH_CHALLENGE
64
/* Define to 1 if you have the `bigcrypt' function. */
67
/* Define to 1 if you use BSD authentication. */
68
#undef HAVE_BSD_AUTH_H
70
/* Define to 1 to enable BSM audit support. */
73
/* Define to 1 if you have the `closefrom' function. */
76
/* Define to 1 if you use OSF DCE. */
79
/* Define to 1 if your `DIR' contains dd_fd. */
82
/* Define to 1 if you have the declaration of `errno', and to 0 if you don't.
84
#undef HAVE_DECL_ERRNO
86
/* Define to 1 if you have the declaration of `sys_siglist', and to 0 if you
88
#undef HAVE_DECL_SYS_SIGLIST
90
/* Define to 1 if you have the declaration of `_sys_siglist', and to 0 if you
92
#undef HAVE_DECL__SYS_SIGLIST
94
/* Define to 1 if you have the declaration of `__sys_siglist', and to 0 if you
96
#undef HAVE_DECL___SYS_SIGLIST
98
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
102
/* Define to 1 if you have the `dirfd' function or macro. */
105
/* Define to 1 if you have the `dispcrypt' function. */
106
#undef HAVE_DISPCRYPT
108
/* Define to 1 if you have the <dlfcn.h> header file. */
111
/* Define to 1 if you have the `dlopen' function. */
114
/* Define to 1 if your glob.h defines the GLOB_BRACE and GLOB_TILDE flags. */
115
#undef HAVE_EXTENDED_GLOB
117
/* Define to 1 if your system has the F_CLOSEM fcntl. */
118
#undef HAVE_FCNTL_CLOSEM
120
/* Define to 1 if you have the `fgetln' function. */
123
/* Define to 1 if you have the `flock' function. */
126
/* Define to 1 if you have the `fnmatch' function. */
129
/* Define to 1 if you have the `freeifaddrs' function. */
130
#undef HAVE_FREEIFADDRS
132
/* Define to 1 if you have the `futime' function. */
135
/* Define to 1 if you have the `futimes' function. */
138
/* Define to 1 if you have the `futimesat' function. */
139
#undef HAVE_FUTIMESAT
141
/* Define to 1 if you use the FWTK authsrv daemon. */
144
/* Define to 1 if you have the `getaddrinfo' function. */
145
#undef HAVE_GETADDRINFO
147
/* Define to 1 if you have the `getauthuid' function. (ULTRIX 4.x shadow
149
#undef HAVE_GETAUTHUID
151
/* Define to 1 if you have the `getcwd' function. */
154
/* Define to 1 if you have the `getdomainname' function. */
155
#undef HAVE_GETDOMAINNAME
157
/* Define to 1 if you have the `getgrouplist' function. */
158
#undef HAVE_GETGROUPLIST
160
/* Define to 1 if your system has a working `getgroups' function. */
161
#undef HAVE_GETGROUPS
163
/* Define to 1 if you have the `getgrset' function. */
166
/* Define to 1 if you have the `getifaddrs' function. */
167
#undef HAVE_GETIFADDRS
169
/* Define to 1 if you have the `getline' function. */
172
/* Define to 1 if you have the `getprogname' function. */
173
#undef HAVE_GETPROGNAME
175
/* Define to 1 if you have the `getprpwnam' function. (SecureWare-style shadow
177
#undef HAVE_GETPRPWNAM
179
/* Define to 1 if you have the `getpwanam' function. (SunOS 4.x shadow
181
#undef HAVE_GETPWANAM
183
/* Define to 1 if you have the `getresuid' function. */
184
#undef HAVE_GETRESUID
186
/* Define to 1 if you have the `getspnam' function (SVR4-style shadow
190
/* Define to 1 if you have the `getspwuid' function. (HP-UX <= 9.X shadow
192
#undef HAVE_GETSPWUID
194
/* Define to 1 if you have the `getttyent' function. */
195
#undef HAVE_GETTTYENT
197
/* Define to 1 if you have the `getuserattr' function. */
198
#undef HAVE_GETUSERATTR
200
/* Define to 1 if you have the `getutid' function. */
203
/* Define to 1 if you have the `getutxid' function. */
206
/* Define to 1 if you have the `glob' function. */
209
/* Define to 1 if you have the `grantpt' function. */
212
/* Define to 1 if you have the <gssapi/gssapi_krb5.h> header file. */
213
#undef HAVE_GSSAPI_GSSAPI_KRB5_H
215
/* Define to 1 if you have the `gss_krb5_ccache_name' function. */
216
#undef HAVE_GSS_KRB5_CCACHE_NAME
218
/* Define to 1 if your Kerberos is Heimdal. */
221
/* Define to 1 if <netinet/in.h> contains struct in6_addr. */
224
/* Define to 1 if you have the `initprivs' function. */
225
#undef HAVE_INITPRIVS
227
/* Define to 1 if you have the `innetgr' function. */
230
/* Define to 1 if you have the <inttypes.h> header file. */
231
#undef HAVE_INTTYPES_H
233
/* Define if you have isblank(3). */
236
/* Define to 1 if you have the `iscomsec' function. (HP-UX >= 10.x check for
240
/* Define to 1 if you have the `issecure' function. (SunOS 4.x check for
244
/* Define to 1 if you use Kerberos IV. */
247
/* Define to 1 if you use Kerberos V. */
250
/* Define to 1 if you have the `killpg' function. */
253
/* Define to 1 if you have the `krb5_get_init_creds_opt_alloc' function. */
254
#undef HAVE_KRB5_GET_INIT_CREDS_OPT_ALLOC
256
/* Define to 1 if your `krb5_get_init_creds_opt_free' function takes two
258
#undef HAVE_KRB5_GET_INIT_CREDS_OPT_FREE_TWO_ARGS
260
/* Define to 1 if you have the `krb5_init_secure_context' function. */
261
#undef HAVE_KRB5_INIT_SECURE_CONTEXT
263
/* Define to 1 if you have the `krb5_verify_user' function. */
264
#undef HAVE_KRB5_VERIFY_USER
266
/* Define to 1 if your LDAP needs <lber.h>. (OpenLDAP does not) */
269
/* Define to 1 if you use LDAP for sudoers. */
272
/* Define to 1 if you have the `ldapssl_init' function. */
273
#undef HAVE_LDAPSSL_INIT
275
/* Define to 1 if you have the `ldapssl_set_strength' function. */
276
#undef HAVE_LDAPSSL_SET_STRENGTH
278
/* Define to 1 if you have the `ldap_create' function. */
279
#undef HAVE_LDAP_CREATE
281
/* Define to 1 if you have the `ldap_initialize' function. */
282
#undef HAVE_LDAP_INITIALIZE
284
/* Define to 1 if you have the `ldap_sasl_bind_s' function. */
285
#undef HAVE_LDAP_SASL_BIND_S
287
/* Define to 1 if you have the `ldap_sasl_interactive_bind_s' function. */
288
#undef HAVE_LDAP_SASL_INTERACTIVE_BIND_S
290
/* Define to 1 if you have the `ldap_search_ext_s' function. */
291
#undef HAVE_LDAP_SEARCH_EXT_S
293
/* Define to 1 if you have the `ldap_search_st' function. */
294
#undef HAVE_LDAP_SEARCH_ST
296
/* Define to 1 if you have the `ldap_ssl_client_init' function. */
297
#undef HAVE_LDAP_SSL_CLIENT_INIT
299
/* Define to 1 if you have the <ldap_ssl.h> header file. */
300
#undef HAVE_LDAP_SSL_H
302
/* Define to 1 if you have the `ldap_start_tls_s' function. */
303
#undef HAVE_LDAP_START_TLS_S
305
/* Define to 1 if you have the `ldap_start_tls_s_np' function. */
306
#undef HAVE_LDAP_START_TLS_S_NP
308
/* Define to 1 if you have the `ldap_str2dn' function. */
309
#undef HAVE_LDAP_STR2DN
311
/* Define to 1 if you have the `ldap_unbind_ext_s' function. */
312
#undef HAVE_LDAP_UNBIND_EXT_S
314
/* Define to 1 if you have the <libintl.h> header file. */
315
#undef HAVE_LIBINTL_H
317
/* Define to 1 if you have the <libutil.h> header file. */
318
#undef HAVE_LIBUTIL_H
320
/* Define to 1 to enable Linux audit support. */
321
#undef HAVE_LINUX_AUDIT
323
/* Define to 1 if you have the `lockf' function. */
326
/* Define to 1 if you have the <login_cap.h> header file. */
327
#undef HAVE_LOGIN_CAP_H
329
/* Define to 1 if the system has the type `long long int'. */
330
#undef HAVE_LONG_LONG_INT
332
/* Define to 1 if you have the `lrand48' function. */
335
/* Define to 1 if you have the <maillock.h> header file. */
336
#undef HAVE_MAILLOCK_H
338
/* Define to 1 if you have the <malloc.h> header file. */
341
/* Define to 1 if you have the `mbr_check_membership' function. */
342
#undef HAVE_MBR_CHECK_MEMBERSHIP
344
/* Define to 1 if you have the <memory.h> header file. */
347
/* Define to 1 if you have the `memrchr' function. */
350
/* Define to 1 if you have the `mkdtemp' function. */
353
/* Define to 1 if you have the `mkstemps' function. */
356
/* Define to 1 if you have the <mps/ldap_ssl.h> header file. */
357
#undef HAVE_MPS_LDAP_SSL_H
359
/* Define to 1 if you have the `nanosleep' function. */
360
#undef HAVE_NANOSLEEP
362
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
365
/* Define to 1 if you have the <netgroup.h> header file. */
366
#undef HAVE_NETGROUP_H
368
/* Define to 1 if you have the `nl_langinfo' function. */
369
#undef HAVE_NL_LANGINFO
371
/* Define to 1 if you have the `openpty' function. */
374
/* Define to 1 if you use NRL OPIE. */
377
/* Define to 1 if you use PAM authentication. */
380
/* Define to 1 if you use a specific PAM session for sudo -i. */
381
#undef HAVE_PAM_LOGIN
383
/* Define to 1 if you have the <pam/pam_appl.h> header file. */
384
#undef HAVE_PAM_PAM_APPL_H
386
/* Define to 1 if you have the <paths.h> header file. */
389
/* Define to 1 if you have the `posix_openpt' function. */
390
#undef HAVE_POSIX_OPENPT
392
/* Define to 1 if you have the `priv_set' function. */
395
/* Define to 1 if you have the <project.h> header file. */
396
#undef HAVE_PROJECT_H
398
/* Define to 1 if you have the <pty.h> header file. */
401
/* Define to 1 if you have the `random' function. */
404
/* Define to 1 if you have the `regcomp' function. */
407
/* Define to 1 if you have the `revoke' function. */
410
/* Define to 1 if the skeychallenge() function is RFC1938-compliant and takes
412
#undef HAVE_RFC1938_SKEYCHALLENGE
414
/* Define to 1 if you have the <sasl.h> header file. */
417
/* Define to 1 if you have the <sasl/sasl.h> header file. */
418
#undef HAVE_SASL_SASL_H
420
/* Define if your struct sockadr has an sa_len field. */
423
/* Define to 1 if you use SecurID for authentication. */
426
/* Define to 1 if you have the <security/pam_appl.h> header file. */
427
#undef HAVE_SECURITY_PAM_APPL_H
429
/* Define to 1 to enable SELinux RBAC support. */
432
/* Define to 1 if you have the `setauthdb' function. */
433
#undef HAVE_SETAUTHDB
435
/* Define to 1 if you have the `setenv' function. */
438
/* Define to 1 if you have the `seteuid' function. */
441
/* Define to 1 if you have the `setkeycreatecon' function. */
442
#undef HAVE_SETKEYCREATECON
444
/* Define to 1 if you have the `setlocale' function. */
445
#undef HAVE_SETLOCALE
447
/* Define to 1 if you have the `setresuid' function. */
448
#undef HAVE_SETRESUID
450
/* Define to 1 if you have the `setreuid' function. */
453
/* Define to 1 if you have the `setrlimit64' function. */
454
#undef HAVE_SETRLIMIT64
456
/* Define to 1 if you have the `set_auth_parameters' function. */
457
#undef HAVE_SET_AUTH_PARAMETERS
459
/* Define to 1 if you have the `shl_load' function. */
462
/* Define to 1 if you have the `sia_ses_init' function. */
463
#undef HAVE_SIA_SES_INIT
465
/* Define to 1 if <signal.h> has the sigaction_t typedef. */
466
#undef HAVE_SIGACTION_T
468
/* Define to 1 if you use S/Key. */
471
/* Define to 1 if your S/Key library has skeyaccess(). */
472
#undef HAVE_SKEYACCESS
474
/* Define to 1 if you have the `snprintf' function. */
477
/* Define to 1 if you have the <stdint.h> header file. */
480
/* Define to 1 if you have the <stdlib.h> header file. */
483
/* Define to 1 if you have the `strftime' function. */
486
/* Define to 1 if you have the <strings.h> header file. */
487
#undef HAVE_STRINGS_H
489
/* Define to 1 if you have the <string.h> header file. */
492
/* Define to 1 if you have the `strlcat' function. */
495
/* Define to 1 if you have the `strlcpy' function. */
498
/* Define to 1 if you have the `strrchr' function. */
501
/* Define to 1 if you have the `strsignal' function. */
502
#undef HAVE_STRSIGNAL
504
/* Define to 1 if the system has the type `struct in6_addr'. */
505
#undef HAVE_STRUCT_IN6_ADDR
507
/* Define to 1 if `ut_exit' is a member of `struct utmpx'. */
508
#undef HAVE_STRUCT_UTMPX_UT_EXIT
510
/* Define to 1 if `ut_exit.e_termination' is a member of `struct utmpx'. */
511
#undef HAVE_STRUCT_UTMPX_UT_EXIT_E_TERMINATION
513
/* Define to 1 if `ut_exit.__e_termination' is a member of `struct utmpx'. */
514
#undef HAVE_STRUCT_UTMPX_UT_EXIT___E_TERMINATION
516
/* Define to 1 if `ut_id' is a member of `struct utmpx'. */
517
#undef HAVE_STRUCT_UTMPX_UT_ID
519
/* Define to 1 if `ut_pid' is a member of `struct utmpx'. */
520
#undef HAVE_STRUCT_UTMPX_UT_PID
522
/* Define to 1 if `ut_tv' is a member of `struct utmpx'. */
523
#undef HAVE_STRUCT_UTMPX_UT_TV
525
/* Define to 1 if `ut_type' is a member of `struct utmpx'. */
526
#undef HAVE_STRUCT_UTMPX_UT_TYPE
528
/* Define to 1 if `ut_exit' is a member of `struct utmp'. */
529
#undef HAVE_STRUCT_UTMP_UT_EXIT
531
/* Define to 1 if `ut_exit.e_termination' is a member of `struct utmp'. */
532
#undef HAVE_STRUCT_UTMP_UT_EXIT_E_TERMINATION
534
/* Define to 1 if `ut_exit.__e_termination' is a member of `struct utmp'. */
535
#undef HAVE_STRUCT_UTMP_UT_EXIT___E_TERMINATION
537
/* Define to 1 if `ut_id' is a member of `struct utmp'. */
538
#undef HAVE_STRUCT_UTMP_UT_ID
540
/* Define to 1 if `ut_pid' is a member of `struct utmp'. */
541
#undef HAVE_STRUCT_UTMP_UT_PID
543
/* Define to 1 if `ut_tv' is a member of `struct utmp'. */
544
#undef HAVE_STRUCT_UTMP_UT_TV
546
/* Define to 1 if `ut_type' is a member of `struct utmp'. */
547
#undef HAVE_STRUCT_UTMP_UT_TYPE
549
/* Define to 1 if `ut_user' is a member of `struct utmp'. */
550
#undef HAVE_STRUCT_UTMP_UT_USER
552
/* Define to 1 if your struct stat has an st_mtim member */
555
/* Define to 1 if your struct stat has an st_mtimespec member */
556
#undef HAVE_ST_MTIMESPEC
558
/* Define to 1 if your struct stat uses an st__tim union */
561
/* Define to 1 if you have the `sysconf' function. */
564
/* Define to 1 if you have the `sysctl' function. */
567
/* Define to 1 if you have the <sys/bsdtypes.h> header file. */
568
#undef HAVE_SYS_BSDTYPES_H
570
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
572
#undef HAVE_SYS_DIR_H
574
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
576
#undef HAVE_SYS_NDIR_H
578
/* Define to 1 if you have the <sys/select.h> header file. */
579
#undef HAVE_SYS_SELECT_H
581
/* Define to 1 if you have the <sys/sockio.h> header file. */
582
#undef HAVE_SYS_SOCKIO_H
584
/* Define to 1 if you have the <sys/stat.h> header file. */
585
#undef HAVE_SYS_STAT_H
587
/* Define to 1 if you have the <sys/stropts.h> header file. */
588
#undef HAVE_SYS_STROPTS_H
590
/* Define to 1 if you have the <sys/sysmacros.h> header file. */
591
#undef HAVE_SYS_SYSMACROS_H
593
/* Define to 1 if you have the <sys/types.h> header file. */
594
#undef HAVE_SYS_TYPES_H
596
/* Define to 1 if you have struct timespec in sys/time.h */
599
/* Define to 1 if you have the `ttyslot' function. */
602
/* Define to 1 if you have the `tzset' function. */
605
/* Define to 1 if you have the <unistd.h> header file. */
608
/* Define to 1 if you have the `unsetenv' function. */
611
/* Define to 1 if you have the <util.h> header file. */
614
/* Define to 1 if you have the `utimes' function. */
617
/* Define to 1 if you have the <utime.h> header file. */
620
/* Define to 1 if you have the <utmpx.h> header file. */
623
/* Define to 1 if you have the `vasprintf' function. */
624
#undef HAVE_VASPRINTF
626
/* Define to 1 if you have the `vsnprintf' function. */
627
#undef HAVE_VSNPRINTF
629
/* Define to 1 if you have the <zlib.h> header file. */
632
/* Define to 1 if you have the `_getpty' function. */
635
/* Define to 1 if you have the `_innetgr' function. */
638
/* Define to 1 if your crt0.o defines the __progname symbol for you. */
639
#undef HAVE___PROGNAME
641
/* Define to 1 if you want the hostname to be entered into the log file. */
644
/* Define to 1 if you want to ignore '.' and empty PATH elements */
645
#undef IGNORE_DOT_PATH
647
/* The message given when a bad password is entered. */
648
#undef INCORRECT_PASSWORD
650
/* The syslog facility sudo will use. */
653
/* Define to SLOG_SYSLOG, SLOG_FILE, or SLOG_BOTH. */
656
/* Define to 1 if you want a two line OTP (S/Key or OPIE) prompt. */
657
#undef LONG_OTP_PROMPT
659
/* Define to the sub-directory in which libtool stores uninstalled libraries.
663
/* The subject of the mail sent by sudo to the MAILTO user/address. */
666
/* The user or email address that sudo mail is sent to. */
669
/* The max number of chars per log file line (for line wrapping). */
672
/* Define to the max length of a uid_t in string context (excluding the NUL).
676
/* Define to 1 if you don't want sudo to prompt for a password by default. */
677
#undef NO_AUTHENTICATION
679
/* Define to 1 if you don't want users to get the lecture the first they user
683
/* Define to 1 if you don't want to use sudo's PAM session support */
684
#undef NO_PAM_SESSION
686
/* Define to avoid runing the mailer as root. */
687
#undef NO_ROOT_MAILER
689
/* Define to 1 if root should not be allowed to use sudo. */
692
/* Define to 1 if you want a single ticket file instead of per-tty files. */
693
#undef NO_TTY_TICKETS
695
/* Define to the address where bug reports for this package should be sent. */
696
#undef PACKAGE_BUGREPORT
698
/* Define to the full name of this package. */
701
/* Define to the full name and version of this package. */
702
#undef PACKAGE_STRING
704
/* Define to the one symbol short name of this package. */
705
#undef PACKAGE_TARNAME
707
/* Define to the home page for this package. */
710
/* Define to the version of this package. */
711
#undef PACKAGE_VERSION
713
/* The default password prompt. */
716
/* The passwd prompt timeout (in minutes). */
717
#undef PASSWORD_TIMEOUT
719
/* Define to 1 to replace politically incorrect insults with less offensive
723
/* The syslog priority sudo will use for unsuccessful attempts/errors. */
726
/* The syslog priority sudo will use for successful attempts. */
729
/* The user sudo should run commands as by default. */
732
/* Define to 1 to override the user's path with a built-in one. */
735
/* Define to 1 to send mail when the user is not allowed to run a command. */
736
#undef SEND_MAIL_WHEN_NOT_OK
738
/* Define to 1 to send mail when the user is not allowed to run sudo on this
740
#undef SEND_MAIL_WHEN_NO_HOST
742
/* Define to 1 to send mail when the user is not in the sudoers file. */
743
#undef SEND_MAIL_WHEN_NO_USER
745
/* Define to 1 if you want sudo to start a shell if given no arguments. */
746
#undef SHELL_IF_NO_ARGS
748
/* Define to 1 if you want sudo to set $HOME in shell mode. */
749
#undef SHELL_SETS_HOME
751
/* The size of `long int', as computed by sizeof. */
752
#undef SIZEOF_LONG_INT
754
/* Define to 1 if you have the ANSI C header files. */
757
/* Define to 1 if the code in interfaces.c does not compile for you. */
758
#undef STUB_LOAD_INTERFACES
760
/* The name of the sudoers plugin, including extension. */
761
#undef SUDOERS_PLUGIN
763
/* The umask that the sudo-run prog should use. */
766
/* The number of minutes before sudo asks for a password again. */
769
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
770
#undef TIME_WITH_SYS_TIME
772
/* The number of tries a user gets to enter their password. */
773
#undef TRIES_FOR_PASSWORD
775
/* Define to 1 to use the umask specified in sudoers even when it is less
776
restrictive than the invoking user's. */
777
#undef UMASK_OVERRIDE
779
/* Define to 1 if the `unsetenv' function returns void instead of `int'. */
782
/* Define to 1 if you want to create ~/.sudo_as_admin_successful if the user
783
is in the admin group the first time they run sudo. */
784
#undef USE_ADMIN_FLAG
786
/* Define to 1 if you want to insult the user for entering an incorrect
790
/* Define to 1 if you use GNU stow packaging. */
793
/* Define to avoid using the passwd/shadow file for authentication. */
794
#undef WITHOUT_PASSWD
796
/* Number of bits in a file offset, on hosts where this is settable. */
797
#undef _FILE_OFFSET_BITS
799
/* Define for large files, on AIX-style hosts. */
802
/* Define to `signed' or nothing if compiler does not support a signed type
806
/* Define to empty if `const' does not conform to ANSI C. */
809
/* Define if your system lacks the dev_t type. */
812
/* Define to `int' if <sys/types.h> doesn't define. */
815
/* Define if your system lacks the ino_t type. */
818
/* Define to `int' if <sys/types.h> does not define. */
821
/* Define to `int' if <signal.h> does not define. */
824
/* Define to `unsigned int' if <sys/types.h> does not define. */
827
/* Define if your system lacks the ssize_t type. */
830
/* Define to `int' if <sys/types.h> doesn't define. */
833
/* Define to empty if the keyword `volatile' does not work. Warning: valid
834
code using `volatile' can become incorrect without. Disable with care. */
838
* Macros to convert ctime and mtime into timevals.
840
#define timespec2timeval(_ts, _tv) do { \
841
(_tv)->tv_sec = (_ts)->tv_sec; \
842
(_tv)->tv_usec = (_ts)->tv_nsec / 1000; \
847
# define ctim_get(_x, _y) timespec2timeval(&(_x)->st_ctim.st__tim, (_y))
848
# define mtim_get(_x, _y) timespec2timeval(&(_x)->st_mtim.st__tim, (_y))
850
# define ctim_get(_x, _y) timespec2timeval(&(_x)->st_ctim, (_y))
851
# define mtim_get(_x, _y) timespec2timeval(&(_x)->st_mtim, (_y))
854
# ifdef HAVE_ST_MTIMESPEC
855
# define ctim_get(_x, _y) timespec2timeval(&(_x)->st_ctimespec, (_y))
856
# define mtim_get(_x, _y) timespec2timeval(&(_x)->st_mtimespec, (_y))
858
# define ctim_get(_x, _y) do { (_y)->tv_sec = (_x)->st_ctime; (_y)->tv_usec = 0; } while (0)
859
# define mtim_get(_x, _y) do { (_y)->tv_sec = (_x)->st_mtime; (_y)->tv_usec = 0; } while (0)
860
# endif /* HAVE_ST_MTIMESPEC */
861
#endif /* HAVE_ST_MTIM */
863
/* GNU stow needs /etc/sudoers to be a symlink. */
865
# define stat_sudoers stat
867
# define stat_sudoers lstat
870
/* Macros to set/clear/test flags. */
872
#define SET(t, f) ((t) |= (f))
874
#define CLR(t, f) ((t) &= ~(f))
876
#define ISSET(t, f) ((t) & (f))
878
/* ANSI-style OS defs for HP-UX and ConvexOS. */
879
#if defined(hpux) && !defined(__hpux)
883
#if defined(convex) && !defined(__convex__)
884
# define __convex__ 1
887
/* BSD compatibility on some SVR4 systems. */
890
#endif /* __svr4__ */
892
#endif /* _SUDO_CONFIG_H */