summaryrefslogtreecommitdiff
path: root/config.h.in
blob: e0ce34d0436bc03bbc89d9441ea31830eb4b4145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
/* config.h.in.  Generated from configure.in by autoheader.  */

#ifndef _SUDO_CONFIG_H
#define _SUDO_CONFIG_H

/* Define if the `syslog' function returns a non-zero int to denote failure.
   */
#undef BROKEN_SYSLOG

/* Define if you want the insults from the "classic" version sudo. */
#undef CLASSIC_INSULTS

/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
   systems. This function is required for `alloca.c' support on those systems.
   */
#undef CRAY_STACKSEG_END

/* Define if you want insults culled from the twisted minds of CSOps. */
#undef CSOPS_INSULTS

/* Define to 1 if using `alloca.c'. */
#undef C_ALLOCA

/* Define if you want sudo to display "command not allowed" instead of
   "command not found" when a command cannot be found. */
#undef DONT_LEAK_PATH_INFO

/* A colon-separated list of pathnames to be used as the editor for visudo. */
#undef EDITOR

/* Define if you want visudo to honor the EDITOR and VISUAL env variables. */
#undef ENV_EDITOR

/* If defined, users in this group need not enter a passwd (ie "sudo"). */
#undef EXEMPTGROUP

/* Define if you want to require fully qualified hosts in sudoers. */
#undef FQDN

/* Define if you want insults from the "Goon Show". */
#undef GOONS_INSULTS

/* Define if you want 2001-like insults. */
#undef HAL_INSULTS

/* Define if you use AFS. */
#undef HAVE_AFS

/* Define to 1 if you have `alloca', as a function or macro. */
#undef HAVE_ALLOCA

/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
   */
#undef HAVE_ALLOCA_H

/* Define to 1 if you have the `asprintf' function. */
#undef HAVE_ASPRINTF

/* Define if you use AIX general authentication. */
#undef HAVE_AUTHENTICATE

/* Define to 1 if you have the `bigcrypt' function. */
#undef HAVE_BIGCRYPT

/* Define if you use BSD authentication. */
#undef HAVE_BSD_AUTH_H

/* Define to 1 if you have the `closefrom' function. */
#undef HAVE_CLOSEFROM

/* Define if you use OSF DCE. */
#undef HAVE_DCE

/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
   */
#undef HAVE_DIRENT_H

/* Define to 1 if you have the `dispcrypt' function. */
#undef HAVE_DISPCRYPT

/* Define to 1 if you have the <err.h> header file. */
#undef HAVE_ERR_H

/* Define to 1 if you have the `fchown' function. */
#undef HAVE_FCHOWN

/* Define to 1 if you have the `flock' function. */
#undef HAVE_FLOCK

/* Define if you have the `fnmatch' function. */
#undef HAVE_FNMATCH

/* Define to 1 if you have the `freeifaddrs' function. */
#undef HAVE_FREEIFADDRS

/* Define to 1 if you have the `fstat' function. */
#undef HAVE_FSTAT

/* Define if you use the FWTK authsrv daemon. */
#undef HAVE_FWTK

/* Define if you have the `getauthuid' function. (ULTRIX 4.x shadow passwords)
   */
#undef HAVE_GETAUTHUID

/* Define to 1 if you have the `getcwd' function. */
#undef HAVE_GETCWD

/* Define to 1 if you have the `getdomainname' function. */
#undef HAVE_GETDOMAINNAME

/* Define to 1 if you have the `getifaddrs' function. */
#undef HAVE_GETIFADDRS

/* Define to 1 if you have the `getprogname' function. */
#undef HAVE_GETPROGNAME

/* Define if you have the `getprpwnam' function. (SecureWare-style shadow
   passwords) */
#undef HAVE_GETPRPWNAM

/* Define if you have the `getpwanam' function. (SunOS 4.x shadow passwords)
   */
#undef HAVE_GETPWANAM

/* Define if you have the `getspnam' function (SVR4-style shadow passwords) */
#undef HAVE_GETSPNAM

/* Define if you have the `getspwuid' function. (HP-UX <= 9.X shadow
   passwords) */
#undef HAVE_GETSPWUID

/* Define if your Kerberos is Heimdal. */
#undef HAVE_HEIMDAL

/* Define to 1 if you have the `initgroups' function. */
#undef HAVE_INITGROUPS

/* Define to 1 if you have the `initprivs' function. */
#undef HAVE_INITPRIVS

/* Define to 1 if you have the `innetgr' function. */
#undef HAVE_INNETGR

/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H

/* Define if you have isblank(3). */
#undef HAVE_ISBLANK

/* Define if you have the `iscomsec' function. (HP-UX >= 10.x check for shadow
   enabled) */
#undef HAVE_ISCOMSEC

/* Define if you have the `issecure' function. (SunOS 4.x check for shadow
   enabled) */
#undef HAVE_ISSECURE

/* Define if you use Kerberos IV. */
#undef HAVE_KERB4

/* Define if you use Kerberos V. */
#undef HAVE_KERB5

/* Define to 1 if you have the `lockf' function. */
#undef HAVE_LOCKF

/* Define to 1 if you have the <login_cap.h> header file. */
#undef HAVE_LOGIN_CAP_H

/* Define if your compiler supports the "long long" type. */
#undef HAVE_LONG_LONG

/* Define to 1 if you have the `lsearch' function. */
#undef HAVE_LSEARCH

/* Define to 1 if you have the <malloc.h> header file. */
#undef HAVE_MALLOC_H

/* Define to 1 if you have the `memchr' function. */
#undef HAVE_MEMCHR

/* Define to 1 if you have the `memcpy' function. */
#undef HAVE_MEMCPY

/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H

/* Define to 1 if you have the `memset' function. */
#undef HAVE_MEMSET

/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
#undef HAVE_NDIR_H

/* Define to 1 if you have the <netgroup.h> header file. */
#undef HAVE_NETGROUP_H

/* Define if you use NRL OPIE. */
#undef HAVE_OPIE

/* Define if you use PAM. */
#undef HAVE_PAM

/* Define to 1 if you have the <pam/pam_appl.h> header file. */
#undef HAVE_PAM_PAM_APPL_H

/* Define to 1 if you have the <paths.h> header file. */
#undef HAVE_PATHS_H

/* Define if your struct sockadr has an sa_len field. */
#undef HAVE_SA_LEN

/* Define if you use SecurID. */
#undef HAVE_SECURID

/* Define to 1 if you have the `setresuid' function. */
#undef HAVE_SETRESUID

/* Define to 1 if you have the `setreuid' function. */
#undef HAVE_SETREUID

/* Define to 1 if you have the `setrlimit' function. */
#undef HAVE_SETRLIMIT

/* Define to 1 if you have the `set_auth_parameters' function. */
#undef HAVE_SET_AUTH_PARAMETERS

/* Define if you use SIA. */
#undef HAVE_SIA

/* Define to 1 if you have the `sigaction' function. */
#undef HAVE_SIGACTION

/* Define if <signal.h> has the sigaction_t typedef. */
#undef HAVE_SIGACTION_T

/* Define to 1 if the system has the type `sig_atomic_t'. */
#undef HAVE_SIG_ATOMIC_T

/* Define if you use S/Key. */
#undef HAVE_SKEY

/* Define if your S/Key library has skeyaccess(). */
#undef HAVE_SKEYACCESS

/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF

/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H

/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H

/* Define to 1 if you have the `strcasecmp' function. */
#undef HAVE_STRCASECMP

/* Define to 1 if you have the `strchr' function. */
#undef HAVE_STRCHR

/* Define to 1 if you have the `strerror' function. */
#undef HAVE_STRERROR

/* Define to 1 if you have the `strftime' function. */
#undef HAVE_STRFTIME

/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H

/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H

/* Define to 1 if you have the `strlcat' function. */
#undef HAVE_STRLCAT

/* Define to 1 if you have the `strlcpy' function. */
#undef HAVE_STRLCPY

/* Define to 1 if you have the `strrchr' function. */
#undef HAVE_STRRCHR

/* Define to 1 if you have the `sysconf' function. */
#undef HAVE_SYSCONF

/* Define to 1 if you have the <sys/bsdtypes.h> header file. */
#undef HAVE_SYS_BSDTYPES_H

/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
   */
#undef HAVE_SYS_DIR_H

/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
   */
#undef HAVE_SYS_NDIR_H

/* Define to 1 if you have the <sys/select.h> header file. */
#undef HAVE_SYS_SELECT_H

/* Define to 1 if you have the <sys/sockio.h> header file. */
#undef HAVE_SYS_SOCKIO_H

/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H

/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H

/* Define if you have the <termios.h> header file and the `tcgetattr'
   function. */
#undef HAVE_TERMIOS_H

/* Define to 1 if you have the <termio.h> header file. */
#undef HAVE_TERMIO_H

/* Define to 1 if you have the `tzset' function. */
#undef HAVE_TZSET

/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H

/* Define to 1 if you have the `utime' function. */
#undef HAVE_UTIME

/* Define to 1 if you have the <utime.h> header file. */
#undef HAVE_UTIME_H

/* Define if you have a POSIX utime() (uses struct utimbuf). */
#undef HAVE_UTIME_POSIX

/* Define to 1 if you have the `vasprintf' function. */
#undef HAVE_VASPRINTF

/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF

/* Define to 1 if you have the `wait3' function. */
#undef HAVE_WAIT3

/* Define to 1 if you have the `waitpid' function. */
#undef HAVE_WAITPID

/* Define to 1 if you have the `_innetgr' function. */
#undef HAVE__INNETGR

/* Define if your crt0.o defines the __progname symbol for you. */
#undef HAVE___PROGNAME

/* Define if you want the hostname to be entered into the log file. */
#undef HOST_IN_LOG

/* Define if you want to ignore '.' and empty $PATH elements */
#undef IGNORE_DOT_PATH

/* The message given when a bad password is entered. */
#undef INCORRECT_PASSWORD

/* The syslog facility sudo will use. */
#undef LOGFAC

/* Define to SLOG_SYSLOG, SLOG_FILE, or SLOG_BOTH. */
#undef LOGGING

/* Define if sizeof(long) == sizeof(long long). */
#undef LONG_IS_QUAD

/* Define if you want a two line OTP (S/Key or OPIE) prompt. */
#undef LONG_OTP_PROMPT

/* The subject of the mail sent by sudo to the MAILTO user/address. */
#undef MAILSUBJECT

/* The user or email address that sudo mail is sent to. */
#undef MAILTO

/* The max number of chars per log file line (for line wrapping). */
#undef MAXLOGFILELEN

/* Define to the max length of a uid_t in string context (excluding the NUL).
   */
#undef MAX_UID_T_LEN

/* Define if you don't want sudo to prompt for a password by default. */
#undef NO_AUTHENTICATION

/* Define if you don't want users to get the lecture the first they user sudo.
   */
#undef NO_LECTURE

/* Define to avoid runing the mailer as root. */
#undef NO_ROOT_MAILER

/* Define if root should not be allowed to use sudo. */
#undef NO_ROOT_SUDO

/* Define to avoid using POSIX saved ids. */
#undef NO_SAVED_IDS

/* The default password prompt. */
#undef PASSPROMPT

/* The passwd prompt timeout (in minutes). */
#undef PASSWORD_TIMEOUT

/* Define to replace politically incorrect insults with less offensive ones. */
#undef PC_INSULTS

/* The syslog priority sudo will use for unsuccessful attempts/errors. */
#undef PRI_FAILURE

/* The syslog priority sudo will use for successful attempts. */
#undef PRI_SUCCESS

/* Define as the return type of signal handlers (`int' or `void'). */
#undef RETSIGTYPE

/* The user sudo should run commands as by default. */
#undef RUNAS_DEFAULT

/* Define to override the user's path with a built-in one. */
#undef SECURE_PATH

/* Define to send mail when the user is not allowed to run a command. */
#undef SEND_MAIL_WHEN_NOT_OK

/* Define to send mail when the user is not allowed to run sudo on this host.
   */
#undef SEND_MAIL_WHEN_NO_HOST

/* Define to send mail when the user is not in the sudoers file. */
#undef SEND_MAIL_WHEN_NO_USER

/* Define if you want sudo to start a shell if given no arguments. */
#undef SHELL_IF_NO_ARGS

/* Define if you want sudo to set $HOME in shell mode. */
#undef SHELL_SETS_HOME

/* If using the C implementation of alloca, define if you know the
   direction of stack growth for your system; otherwise it will be
   automatically deduced at run-time.
        STACK_DIRECTION > 0 => grows toward higher addresses
        STACK_DIRECTION < 0 => grows toward lower addresses
        STACK_DIRECTION = 0 => direction of growth unknown */
#undef STACK_DIRECTION

/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS

/* Define if the code in interfaces.c does not compile for you. */
#undef STUB_LOAD_INTERFACES

/* The umask that the root-run prog should use. */
#undef SUDO_UMASK

/* The number of minutes before sudo asks for a password again. */
#undef TIMEOUT

/* The number of tries a user gets to enter their password. */
#undef TRIES_FOR_PASSWORD

/* Define if you wish to use execv() instead of execvp() when running
   programs. */
#undef USE_EXECV

/* Define if you want to insult the user for entering an incorrect password.
   */
#undef USE_INSULTS

/* Define if you use stow packaging. */
#undef USE_STOW

/* Define if you want a different ticket file for each tty. */
#undef USE_TTY_TICKETS

/* Define to "void" if your compiler supports void pointers, else use "char".
   */
#undef VOID

/* Define to avoid using the passwd/shadow file for authentication. */
#undef WITHOUT_PASSWD

/* Enable non-POSIX extensions on AIX. */
#ifndef _ALL_SOURCE
# undef _ALL_SOURCE
#endif

/* Enable non-POSIX extensions on ConvexOS. */
#ifndef _CONVEX_SOURCE
# undef _CONVEX_SOURCE
#endif

/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE	1
#endif

/* Define to empty if `const' does not conform to ANSI C. */
#undef const

/* Define if your system lacks the dev_t type. */
#undef dev_t

/* Define to `int' if <sys/types.h> doesn't define. */
#undef gid_t

/* Define if your system lacks the ino_t type. */
#undef ino_t

/* Define to `int' if <sys/types.h> does not define. */
#undef mode_t

/* Define to `int' if <signal.h> does not define. */
#undef sig_atomic_t

/* Define if your system lacks the size_t type. */
#undef size_t

/* Define if your system lacks the ssize_t type. */
#undef ssize_t

/* Define to `int' if <sys/types.h> doesn't define. */
#undef uid_t

/* Define to empty if the keyword `volatile' does not work. Warning: valid
   code using `volatile' can become incorrect without. Disable with care. */
#undef volatile

/*
 * Emulate a subset of waitpid() if we don't have it.
 */
#ifdef HAVE_WAITPID
# define sudo_waitpid(p, s, o)	waitpid(p, s, o)
#else
# ifdef HAVE_WAIT3
#  define sudo_waitpid(p, s, o)	wait3(s, o, NULL)
# endif
#endif

/* GNU stow needs /etc/sudoers to be a symlink. */
#ifdef USE_STOW
# define stat_sudoers	stat
#else
# define stat_sudoers	lstat
#endif

#ifdef USE_EXECV
# define EXECV	execv
#else
# define EXECV	execvp
#endif /* USE_EXECV */

/* Macros to set/clear/test flags. */
#undef SET
#define SET(t, f)	((t) |= (f))
#undef CLR
#define CLR(t, f)	((t) &= ~(f))
#undef ISSET
#define ISSET(t, f)     ((t) & (f))

/* New ANSI-style OS defs for HP-UX and ConvexOS. */
#if defined(hpux) && !defined(__hpux)
# define __hpux		1
#endif /* hpux */

#if defined(convex) && !defined(__convex__)
# define __convex__	1
#endif /* convex */

/* BSD compatibility on some SVR4 systems. */
#ifdef __svr4__
# define BSD_COMP
#endif /* __svr4__ */

#endif /* _SUDO_CONFIG_H */