Imported Upstream version 1.6.6
[debian/sudo] / config.h.in
1 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
2
3 #ifndef _SUDO_CONFIG_H
4 #define _SUDO_CONFIG_H
5
6 /* Define if the `syslog' function returns a non-zero int to denote failure.
7    */
8 #undef BROKEN_SYSLOG
9
10 /* Define if you want the insults from the "classic" version sudo. */
11 #undef CLASSIC_INSULTS
12
13 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
14    systems. This function is required for `alloca.c' support on those systems.
15    */
16 #undef CRAY_STACKSEG_END
17
18 /* Define if you want insults culled from the twisted minds of CSOps. */
19 #undef CSOPS_INSULTS
20
21 /* Define if using `alloca.c'. */
22 #undef C_ALLOCA
23
24 /* Define if you want sudo to display "command not allowed" instead of
25    "command not found" when a command cannot be found. */
26 #undef DONT_LEAK_PATH_INFO
27
28 /* A colon-separated list of pathnames to be used as the editor for visudo. */
29 #undef EDITOR
30
31 /* Define if you want visudo to honor the EDITOR and VISUAL env variables. */
32 #undef ENV_EDITOR
33
34 /* If defined, users in this group need not enter a passwd (ie "sudo"). */
35 #undef EXEMPTGROUP
36
37 /* Define if you want to require fully qualified hosts in sudoers. */
38 #undef FQDN
39
40 /* Define if you want insults from the "Goon Show". */
41 #undef GOONS_INSULTS
42
43 /* Define if you want 2001-like insults. */
44 #undef HAL_INSULTS
45
46 /* Define if you use AFS. */
47 #undef HAVE_AFS
48
49 /* Define if you have `alloca', as a function or macro. */
50 #undef HAVE_ALLOCA
51
52 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
53 #undef HAVE_ALLOCA_H
54
55 /* Define if you have the `asprintf' function. */
56 #undef HAVE_ASPRINTF
57
58 /* Define if you use AIX general authentication. */
59 #undef HAVE_AUTHENTICATE
60
61 /* Define if you have the `bigcrypt' function. */
62 #undef HAVE_BIGCRYPT
63
64 /* Define if you use BSD authentication. */
65 #undef HAVE_BSD_AUTH_H
66
67 /* Define if you use OSF DCE. */
68 #undef HAVE_DCE
69
70 /* Define if you have the <dirent.h> header file, and it defines `DIR'. */
71 #undef HAVE_DIRENT_H
72
73 /* Define if you have the `dispcrypt' function. */
74 #undef HAVE_DISPCRYPT
75
76 /* Define if you have the `flock' function. */
77 #undef HAVE_FLOCK
78
79 /* Define if you have the `fnmatch' function. */
80 #undef HAVE_FNMATCH
81
82 /* Define if you have the `freeifaddrs' function. */
83 #undef HAVE_FREEIFADDRS
84
85 /* Define if you have the `fstat' function. */
86 #undef HAVE_FSTAT
87
88 /* Define if you use the FWTK authsrv daemon. */
89 #undef HAVE_FWTK
90
91 /* Define if you have the `getauthuid' function. (ULTRIX 4.x shadow passwords)
92    */
93 #undef HAVE_GETAUTHUID
94
95 /* Define if you have the `getcwd' function. */
96 #undef HAVE_GETCWD
97
98 /* Define if you have the `getdomainname' function. */
99 #undef HAVE_GETDOMAINNAME
100
101 /* Define if you have the `getifaddrs' function. */
102 #undef HAVE_GETIFADDRS
103
104 /* Define if you have the `getprpwnam' function. (SecureWare-style shadow
105    passwords) */
106 #undef HAVE_GETPRPWNAM
107
108 /* Define if you have the `getpwanam' function. (SunOS 4.x shadow passwords)
109    */
110 #undef HAVE_GETPWANAM
111
112 /* Define if you have the `getspnam' function (SVR4-style shadow passwords) */
113 #undef HAVE_GETSPNAM
114
115 /* Define if you have the `getspwuid' function. (HP-UX <= 9.X shadow
116    passwords) */
117 #undef HAVE_GETSPWUID
118
119 /* Define if you have the `initgroups' function. */
120 #undef HAVE_INITGROUPS
121
122 /* Define if you have the `initprivs' function. */
123 #undef HAVE_INITPRIVS
124
125 /* Define if you have the `innetgr' function. */
126 #undef HAVE_INNETGR
127
128 /* Define if you have the <inttypes.h> header file. */
129 #undef HAVE_INTTYPES_H
130
131 /* Define if you have isblank(3). */
132 #undef HAVE_ISBLANK
133
134 /* Define if you have the `iscomsec' function. (HP-UX >= 10.x check for shadow
135    enabled) */
136 #undef HAVE_ISCOMSEC
137
138 /* Define if you have the `issecure' function. (SunOS 4.x check for shadow
139    enabled) */
140 #undef HAVE_ISSECURE
141
142 /* Define if you use Kerberos IV. */
143 #undef HAVE_KERB4
144
145 /* Define if you use Kerberos V. */
146 #undef HAVE_KERB5
147
148 /* Define if you have the `lockf' function. */
149 #undef HAVE_LOCKF
150
151 /* Define if you have the <login_cap.h> header file. */
152 #undef HAVE_LOGIN_CAP_H
153
154 /* Define if your compiler supports the "long long" type. */
155 #undef HAVE_LONG_LONG
156
157 /* Define if you have the `lsearch' function. */
158 #undef HAVE_LSEARCH
159
160 /* Define if you have the <malloc.h> header file. */
161 #undef HAVE_MALLOC_H
162
163 /* Define if you have the `memchr' function. */
164 #undef HAVE_MEMCHR
165
166 /* Define if you have the `memcpy' function. */
167 #undef HAVE_MEMCPY
168
169 /* Define if you have the <memory.h> header file. */
170 #undef HAVE_MEMORY_H
171
172 /* Define if you have the `memset' function. */
173 #undef HAVE_MEMSET
174
175 /* Define if you have the <ndir.h> header file, and it defines `DIR'. */
176 #undef HAVE_NDIR_H
177
178 /* Define if you have the <netgroup.h> header file. */
179 #undef HAVE_NETGROUP_H
180
181 /* Define if you use NRL OPIE. */
182 #undef HAVE_OPIE
183
184 /* Define if you use PAM. */
185 #undef HAVE_PAM
186
187 /* Define if you have the <paths.h> header file. */
188 #undef HAVE_PATHS_H
189
190 /* Define if your struct sockadr has an sa_len field. */
191 #undef HAVE_SA_LEN
192
193 /* Define if you use SecurID. */
194 #undef HAVE_SECURID
195
196 /* Define if you have the `setegid' function. */
197 #undef HAVE_SETEGID
198
199 /* Define if you have the `seteuid' function. */
200 #undef HAVE_SETEUID
201
202 /* Define if you have the `setreuid' function. */
203 #undef HAVE_SETREUID
204
205 /* Define if you have the `setrlimit' function. */
206 #undef HAVE_SETRLIMIT
207
208 /* Define if you have the `set_auth_parameters' function. */
209 #undef HAVE_SET_AUTH_PARAMETERS
210
211 /* Define if you use SIA. */
212 #undef HAVE_SIA
213
214 /* Define if you have the `sigaction' function. */
215 #undef HAVE_SIGACTION
216
217 /* Define if <signal.h> has the sigaction_t typedef. */
218 #undef HAVE_SIGACTION_T
219
220 /* Define if the system has the type `sig_atomic_t'. */
221 #undef HAVE_SIG_ATOMIC_T
222
223 /* Define if you use S/Key. */
224 #undef HAVE_SKEY
225
226 /* Define if your S/Key library has skeyaccess(). */
227 #undef HAVE_SKEYACCESS
228
229 /* Define if you have the `snprintf' function. */
230 #undef HAVE_SNPRINTF
231
232 /* Define if you have the <stdint.h> header file. */
233 #undef HAVE_STDINT_H
234
235 /* Define if you have the <stdlib.h> header file. */
236 #undef HAVE_STDLIB_H
237
238 /* Define if you have the `strcasecmp' function. */
239 #undef HAVE_STRCASECMP
240
241 /* Define if you have the `strchr' function. */
242 #undef HAVE_STRCHR
243
244 /* Define if you have the `strerror' function. */
245 #undef HAVE_STRERROR
246
247 /* Define if you have the `strftime' function. */
248 #undef HAVE_STRFTIME
249
250 /* Define if you have the <strings.h> header file. */
251 #undef HAVE_STRINGS_H
252
253 /* Define if you have the <string.h> header file. */
254 #undef HAVE_STRING_H
255
256 /* Define if you have the `strrchr' function. */
257 #undef HAVE_STRRCHR
258
259 /* Define if you have the `sysconf' function. */
260 #undef HAVE_SYSCONF
261
262 /* Define if you have the <sys/bsdtypes.h> header file. */
263 #undef HAVE_SYS_BSDTYPES_H
264
265 /* Define if you have the <sys/dir.h> header file, and it defines `DIR'. */
266 #undef HAVE_SYS_DIR_H
267
268 /* Define if you have the <sys/ndir.h> header file, and it defines `DIR'. */
269 #undef HAVE_SYS_NDIR_H
270
271 /* Define if you have the <sys/select.h> header file. */
272 #undef HAVE_SYS_SELECT_H
273
274 /* Define if you have the <sys/sockio.h> header file. */
275 #undef HAVE_SYS_SOCKIO_H
276
277 /* Define if you have the <sys/stat.h> header file. */
278 #undef HAVE_SYS_STAT_H
279
280 /* Define if you have the <sys/types.h> header file. */
281 #undef HAVE_SYS_TYPES_H
282
283 /* Define if you have the <termios.h> header file and the `tcgetattr'
284    function. */
285 #undef HAVE_TERMIOS_H
286
287 /* Define if you have the <termio.h> header file. */
288 #undef HAVE_TERMIO_H
289
290 /* Define if you have the `tzset' function. */
291 #undef HAVE_TZSET
292
293 /* Define if you have the <unistd.h> header file. */
294 #undef HAVE_UNISTD_H
295
296 /* Define if you have the `utime' function. */
297 #undef HAVE_UTIME
298
299 /* Define if you have the <utime.h> header file. */
300 #undef HAVE_UTIME_H
301
302 /* Define if you have a POSIX utime() (uses struct utimbuf). */
303 #undef HAVE_UTIME_POSIX
304
305 /* Define if you have the `vasprintf' function. */
306 #undef HAVE_VASPRINTF
307
308 /* Define if you have the `vsnprintf' function. */
309 #undef HAVE_VSNPRINTF
310
311 /* Define if you have the `wait3' function. */
312 #undef HAVE_WAIT3
313
314 /* Define if you have the `waitpid' function. */
315 #undef HAVE_WAITPID
316
317 /* Define if you have the `_innetgr' function. */
318 #undef HAVE__INNETGR
319
320 /* Define if you want the hostname to be entered into the log file. */
321 #undef HOST_IN_LOG
322
323 /* Define if you want to ignore '.' and empty $PATH elements */
324 #undef IGNORE_DOT_PATH
325
326 /* The message given when a bad password is entered. */
327 #undef INCORRECT_PASSWORD
328
329 /* The syslog facility sudo will use. */
330 #undef LOGFAC
331
332 /* Define to SLOG_SYSLOG, SLOG_FILE, or SLOG_BOTH. */
333 #undef LOGGING
334
335 /* Define if sizeof(long) == sizeof(long long). */
336 #undef LONG_IS_QUAD
337
338 /* Define if you want a two line OTP (S/Key or OPIE) prompt. */
339 #undef LONG_OTP_PROMPT
340
341 /* The subject of the mail sent by sudo to the MAILTO user/address. */
342 #undef MAILSUBJECT
343
344 /* The user or email address that sudo mail is sent to. */
345 #undef MAILTO
346
347 /* The max number of chars per log file line (for line wrapping). */
348 #undef MAXLOGFILELEN
349
350 /* Define to the max length of a uid_t in string context (excluding the NUL).
351    */
352 #undef MAX_UID_T_LEN
353
354 /* Define if you don't want sudo to prompt for a password by default. */
355 #undef NO_AUTHENTICATION
356
357 /* Define if you don't want users to get the lecture the first they user sudo.
358    */
359 #undef NO_LECTURE
360
361 /* Define to avoid runing the mailer as root. */
362 #undef NO_ROOT_MAILER
363
364 /* Define if root should not be allowed to use sudo. */
365 #undef NO_ROOT_SUDO
366
367 /* Define to avoid using POSIX saved ids. */
368 #undef NO_SAVED_IDS
369
370 /* The default password prompt. */
371 #undef PASSPROMPT
372
373 /* The passwd prompt timeout (in minutes). */
374 #undef PASSWORD_TIMEOUT
375
376 /* The syslog priority sudo will use for unsuccessful attempts/errors. */
377 #undef PRI_FAILURE
378
379 /* The syslog priority sudo will use for successful attempts. */
380 #undef PRI_SUCCESS
381
382 /* Define as the return type of signal handlers (`int' or `void'). */
383 #undef RETSIGTYPE
384
385 /* The user sudo should run commands as by default. */
386 #undef RUNAS_DEFAULT
387
388 /* Define to override the user's path with a builtin one. */
389 #undef SECURE_PATH
390
391 /* Define to send mail when the user is not not allowed to run a command. */
392 #undef SEND_MAIL_WHEN_NOT_OK
393
394 /* Define to send mail when the user is not not allowed to run sudo on this
395    host. */
396 #undef SEND_MAIL_WHEN_NO_HOST
397
398 /* Define to send mail when the user is not in the sudoers file. */
399 #undef SEND_MAIL_WHEN_NO_USER
400
401 /* Define if you want sudo to start a shell if given no arguments. */
402 #undef SHELL_IF_NO_ARGS
403
404 /* Define if you want sudo to set /home/millert in shell mode. */
405 #undef SHELL_SETS_HOME
406
407 /* If using the C implementation of alloca, define if you know the
408    direction of stack growth for your system; otherwise it will be
409    automatically deduced at run-time.
410         STACK_DIRECTION > 0 => grows toward higher addresses
411         STACK_DIRECTION < 0 => grows toward lower addresses
412         STACK_DIRECTION = 0 => direction of growth unknown */
413 #undef STACK_DIRECTION
414
415 /* Define if you have the ANSI C header files. */
416 #undef STDC_HEADERS
417
418 /* Define if the code in interfaces.c does not compile for you. */
419 #undef STUB_LOAD_INTERFACES
420
421 /* The umask that the root-run prog should use. */
422 #undef SUDO_UMASK
423
424 /* The number of minutes before sudo asks for a password again. */
425 #undef TIMEOUT
426
427 /* The number of tries a user gets to enter their password. */
428 #undef TRIES_FOR_PASSWORD
429
430 /* Define if you wish to use execv() instead of execvp() when running
431    programs. */
432 #undef USE_EXECV
433
434 /* Define if you want to insult the user for entering an incorrect password.
435    */
436 #undef USE_INSULTS
437
438 /* Define if you want a different ticket file for each tty. */
439 #undef USE_TTY_TICKETS
440
441 /* Define to "void" if your compiler supports void pointers, else use "char".
442    */
443 #undef VOID
444
445 /* Define to avoid using the passwd/shadow file for authentication. */
446 #undef WITHOUT_PASSWD
447
448 /* Enable non-POSIX extensions on AIX. */
449 #ifndef _ALL_SOURCE
450 # undef _ALL_SOURCE
451 #endif
452
453 /* Enable non-POSIX extensions on ConvexOS. */
454 #ifndef _CONVEX_SOURCE
455 # undef _CONVEX_SOURCE
456 #endif
457
458 /* Enable GNU extensions on systems that have them. */
459 #ifndef _GNU_SOURCE
460 # define _GNU_SOURCE    1
461 #endif
462
463 /* Define if you need to in order for stat and other things to work. */
464 #undef _POSIX_SOURCE
465
466 /* Define to empty if `const' does not conform to ANSI C. */
467 #undef const
468
469 /* Define if your system lacks the dev_t type. */
470 #undef dev_t
471
472 /* Define to `int' if <sys/types.h> doesn't define. */
473 #undef gid_t
474
475 /* Define if your system lacks the ino_t type. */
476 #undef ino_t
477
478 /* Define to `int' if <sys/types.h> does not define. */
479 #undef mode_t
480
481 /* Define to `int' if <signal.h> does not define. */
482 #undef sig_atomic_t
483
484 /* Define if your system lacks the size_t type. */
485 #undef size_t
486
487 /* Define if your system lacks the ssize_t type. */
488 #undef ssize_t
489
490 /* Define to `int' if <sys/types.h> doesn't define. */
491 #undef uid_t
492
493 /* Define to empty if the keyword `volatile' does not work. Warning: valid
494    code using `volatile' can become incorrect without. Disable with care. */
495 #undef volatile
496
497 /*
498  * Emulate a subset of waitpid() if we don't have it.
499  */
500 #ifdef HAVE_WAITPID
501 # define sudo_waitpid(p, s, o)  waitpid(p, s, o)
502 #else
503 # ifdef HAVE_WAIT3
504 #  define sudo_waitpid(p, s, o) wait3(s, o, NULL)
505 # endif
506 #endif
507
508 /* Solaris doesn't use const qualifiers in PAM. */
509 #ifdef sun
510 # define PAM_CONST
511 #else
512 # define PAM_CONST      const
513 #endif
514
515 #ifdef USE_EXECV
516 # define EXEC   execv
517 #else
518 # define EXEC   execvp
519 #endif /* USE_EXECV */
520
521 /* New ANSI-style OS defs for HP-UX and ConvexOS. */
522 #if defined(hpux) && !defined(__hpux)
523 # define __hpux         1
524 #endif /* hpux */
525
526 #if defined(convex) && !defined(__convex__)
527 # define __convex__     1
528 #endif /* convex */
529
530 /* BSD compatibility on some SVR4 systems. */
531 #ifdef __svr4__
532 # define BSD_COMP
533 #endif /* __svr4__ */
534
535 #endif /* _SUDO_CONFIG_H */