xref: /freebsd/kerberos5/include/config.h (revision c4f6a2a9e1b1879b618c436ab4f56ff75c73a0f5)
1 /* include/config.h.  Generated automatically by configure.  */
2 /* include/config.h.in.  Generated automatically from configure.in by autoheader.  */
3 
4 /* $FreeBSD$ */
5 
6 #include <osreldate.h>
7 
8 #ifndef RCSID
9 #define RCSID(msg) static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
10 #endif
11 
12 #define BINDIR "/usr/bin"
13 #define LIBDIR "/usr/lib"
14 #define LIBEXECDIR "/usr/libexec"
15 #define SBINDIR "/usr/sbin"
16 
17 #define HAVE_INT8_T 1
18 #define HAVE_INT16_T 1
19 #define HAVE_INT32_T 1
20 #define HAVE_INT64_T 1
21 #define HAVE_U_INT8_T 1
22 #define HAVE_U_INT16_T 1
23 #define HAVE_U_INT32_T 1
24 #define HAVE_U_INT64_T 1
25 
26 /* Maximum values on all known systems */
27 #define MaxHostNameLen (64+4)
28 #define MaxPathLen (1024+4)
29 
30 
31 
32 /* Define if you want authentication support in telnet. */
33 #define AUTHENTICATION 1
34 
35 /* Define if realloc(NULL) doesn't work. */
36 /* #undef BROKEN_REALLOC */
37 
38 /* Define if you want support for DCE/DFS PAG's. */
39 /* #undef DCE */
40 
41 /* Define if you want to use DES encryption in telnet. */
42 #define DES_ENCRYPTION 1
43 
44 /* Define this to enable diagnostics in telnet. */
45 #define DIAGNOSTICS 1
46 
47 /* Define if you want encryption support in telnet. */
48 #define ENCRYPTION 1
49 
50 /* define if sys/param.h defines the endiness */
51 #define ENDIANESS_IN_SYS_PARAM_H 1
52 
53 /* Define this if you want support for broken ENV_{VAR,VAL} telnets. */
54 /* #undef ENV_HACK */
55 
56 /* define if prototype of gethostbyaddr is compatible with struct hostent
57    *gethostbyaddr(const void *, size_t, int) */
58 /* #undef GETHOSTBYADDR_PROTO_COMPATIBLE */
59 
60 /* define if prototype of gethostbyname is compatible with struct hostent
61    *gethostbyname(const char *) */
62 #define GETHOSTBYNAME_PROTO_COMPATIBLE 1
63 
64 /* define if prototype of getservbyname is compatible with struct servent
65    *getservbyname(const char *, const char *) */
66 #define GETSERVBYNAME_PROTO_COMPATIBLE 1
67 
68 /* define if prototype of getsockname is compatible with int getsockname(int,
69    struct sockaddr*, socklen_t*) */
70 #define GETSOCKNAME_PROTO_COMPATIBLE 1
71 
72 /* Define if you have the <arpa/ftp.h> header file. */
73 #define HAVE_ARPA_FTP_H 1
74 
75 /* Define if you have the <arpa/inet.h> header file. */
76 #define HAVE_ARPA_INET_H 1
77 
78 /* Define if you have the <arpa/nameser.h> header file. */
79 #define HAVE_ARPA_NAMESER_H 1
80 
81 /* Define if you have the <arpa/telnet.h> header file. */
82 #define HAVE_ARPA_TELNET_H 1
83 
84 /* Define if you have the `asnprintf' function. */
85 /* #undef HAVE_ASNPRINTF */
86 
87 /* Define if you have the `asprintf' function. */
88 #define HAVE_ASPRINTF 1
89 
90 /* Define if you have the <bind/bitypes.h> header file. */
91 /* #undef HAVE_BIND_BITYPES_H */
92 
93 /* Define if you have the <bsdsetjmp.h> header file. */
94 /* #undef HAVE_BSDSETJMP_H */
95 
96 /* Define if you have the `bswap16' function. */
97 /* #undef HAVE_BSWAP16 */
98 
99 /* Define if you have the `bswap32' function. */
100 /* #undef HAVE_BSWAP32 */
101 
102 /* Define if you have the <capability.h> header file. */
103 /* #undef HAVE_CAPABILITY_H */
104 
105 /* Define if you have the `cap_set_proc' function. */
106 #define HAVE_CAP_SET_PROC 1
107 
108 /* Define if you have the `cgetent' function. */
109 #define HAVE_CGETENT 1
110 
111 /* Define if you have the `chown' function. */
112 #define HAVE_CHOWN 1
113 
114 /* Define if you have the <config.h> header file. */
115 /* #undef HAVE_CONFIG_H */
116 
117 /* Define if you have the `copyhostent' function. */
118 /* #undef HAVE_COPYHOSTENT */
119 
120 /* Define if you have the `crypt' function. */
121 #define HAVE_CRYPT 1
122 
123 /* Define if you have the <crypt.h> header file. */
124 /* #undef HAVE_CRYPT_H */
125 
126 /* Define if you have the <curses.h> header file. */
127 #define HAVE_CURSES_H 1
128 
129 /* Define if you have the `daemon' function. */
130 #define HAVE_DAEMON 1
131 
132 /* define if you have a berkeley db1/2 library */
133 #define HAVE_DB1 1
134 
135 /* define if you have a berkeley db3 library */
136 /* #undef HAVE_DB3 */
137 
138 /* Define if you have the `dbm_firstkey' function. */
139 #define HAVE_DBM_FIRSTKEY 1
140 
141 /* Define if you have the <dbm.h> header file. */
142 /* #undef HAVE_DBM_H */
143 
144 /* Define if you have the `dbopen' function. */
145 #define HAVE_DBOPEN 1
146 
147 /* Define if you have the <db_185.h> header file. */
148 /* #undef HAVE_DB_185_H */
149 
150 /* Define if you have the `db_create' function. */
151 /* #undef HAVE_DB_CREATE */
152 
153 /* Define if you have the <db.h> header file. */
154 #define HAVE_DB_H 1
155 
156 /* define if you have ndbm compat in db */
157 /* #undef HAVE_DB_NDBM */
158 
159 /* Define if you have the <dirent.h> header file. */
160 #define HAVE_DIRENT_H 1
161 
162 /* Define if you have the <dlfcn.h> header file. */
163 #define HAVE_DLFCN_H 1
164 
165 /* Define if you have the `dlopen' function. */
166 #define HAVE_DLOPEN 1
167 
168 /* Define if you have the `dn_expand' function. */
169 #define HAVE_DN_EXPAND 1
170 
171 /* Define if you have the `ecalloc' function. */
172 /* #undef HAVE_ECALLOC */
173 
174 /* Define if you have the `el_init' function. */
175 #define HAVE_EL_INIT 1
176 
177 /* Define if you have the `emalloc' function. */
178 /* #undef HAVE_EMALLOC */
179 
180 /* define if your system declares environ */
181 /* #undef HAVE_ENVIRON_DECLARATION */
182 
183 /* Define if you have the `erealloc' function. */
184 /* #undef HAVE_EREALLOC */
185 
186 /* Define if you have the `err' function. */
187 #define HAVE_ERR 1
188 
189 /* Define if you have the <errno.h> header file. */
190 #define HAVE_ERRNO_H 1
191 
192 /* Define if you have the `errx' function. */
193 #define HAVE_ERRX 1
194 
195 /* Define if you have the <err.h> header file. */
196 #define HAVE_ERR_H 1
197 
198 /* Define if you have the `estrdup' function. */
199 /* #undef HAVE_ESTRDUP */
200 
201 /* Define if you have the `fchown' function. */
202 #define HAVE_FCHOWN 1
203 
204 /* Define if you have the `fcntl' function. */
205 #define HAVE_FCNTL 1
206 
207 /* Define if you have the <fcntl.h> header file. */
208 #define HAVE_FCNTL_H 1
209 
210 /* Define if you have the `flock' function. */
211 #define HAVE_FLOCK 1
212 
213 /* Define if you have the `fnmatch' function. */
214 #define HAVE_FNMATCH 1
215 
216 /* Define if you have the <fnmatch.h> header file. */
217 #define HAVE_FNMATCH_H 1
218 
219 /* Define if el_init takes four arguments. */
220 #define HAVE_FOUR_VALUED_EL_INIT 1
221 
222 /* define if krb_put_int takes four arguments. */
223 #define HAVE_FOUR_VALUED_KRB_PUT_INT 1
224 
225 /* Define if you have the `freeaddrinfo' function. */
226 #define HAVE_FREEADDRINFO 1
227 
228 /* Define if you have the `freehostent' function. */
229 #define HAVE_FREEHOSTENT 1
230 
231 /* Define if you have the `gai_strerror' function. */
232 #define HAVE_GAI_STRERROR 1
233 
234 /* Define if you have the <gdbm/ndbm.h> header file. */
235 /* #undef HAVE_GDBM_NDBM_H */
236 
237 /* Define if you have the `getaddrinfo' function. */
238 #define HAVE_GETADDRINFO 1
239 
240 /* Define if you have the `getconfattr' function. */
241 /* #undef HAVE_GETCONFATTR */
242 
243 /* Define if you have the `getcwd' function. */
244 #define HAVE_GETCWD 1
245 
246 /* Define if you have the `getdtablesize' function. */
247 #define HAVE_GETDTABLESIZE 1
248 
249 /* Define if you have the `getegid' function. */
250 #define HAVE_GETEGID 1
251 
252 /* Define if you have the `geteuid' function. */
253 #define HAVE_GETEUID 1
254 
255 /* Define if you have the `getgid' function. */
256 #define HAVE_GETGID 1
257 
258 /* Define if you have the `gethostbyname' function. */
259 #define HAVE_GETHOSTBYNAME 1
260 
261 /* Define if you have the `gethostbyname2' function. */
262 #define HAVE_GETHOSTBYNAME2 1
263 
264 /* Define if you have the `gethostname' function. */
265 #define HAVE_GETHOSTNAME 1
266 
267 /* Define if you have the `getifaddrs' function. */
268 #define HAVE_GETIFADDRS 1
269 
270 /* Define if you have the `getipnodebyaddr' function. */
271 #define HAVE_GETIPNODEBYADDR 1
272 
273 /* Define if you have the `getipnodebyname' function. */
274 #define HAVE_GETIPNODEBYNAME 1
275 
276 /* Define if you have the `getlogin' function. */
277 #define HAVE_GETLOGIN 1
278 
279 /* Define if you have a working getmsg. */
280 /* #undef HAVE_GETMSG */
281 
282 /* Define if you have the `getnameinfo' function. */
283 #define HAVE_GETNAMEINFO 1
284 
285 /* Define if you have the `getopt' function. */
286 #define HAVE_GETOPT 1
287 
288 /* Define if you have the `getprogname' function. */
289 #if (__FreeBSD_version >= 430002 && __FreeBSD_version < 500000) || \
290     __FreeBSD_version >= 500019
291 #define HAVE_GETPROGNAME 1
292 #endif
293 
294 /* Define if you have the `getpwnam_r' function. */
295 /* #undef HAVE_GETPWNAM_R */
296 
297 /* Define if you have the `getrlimit' function. */
298 #define HAVE_GETRLIMIT 1
299 
300 /* Define if you have the `getsockopt' function. */
301 #define HAVE_GETSOCKOPT 1
302 
303 /* Define if you have the `getspnam' function. */
304 /* #undef HAVE_GETSPNAM */
305 
306 /* Define if you have the `gettimeofday' function. */
307 #define HAVE_GETTIMEOFDAY 1
308 
309 /* Define if you have the `getudbnam' function. */
310 /* #undef HAVE_GETUDBNAM */
311 
312 /* Define if you have the `getuid' function. */
313 #define HAVE_GETUID 1
314 
315 /* Define if you have the `getusershell' function. */
316 #define HAVE_GETUSERSHELL 1
317 
318 /* define if you have a glob() that groks GLOB_BRACE, GLOB_NOCHECK,
319    GLOB_QUOTE, GLOB_TILDE, and GLOB_LIMIT */
320 #define HAVE_GLOB 1
321 
322 /* Define if you have the `grantpt' function. */
323 /* #undef HAVE_GRANTPT */
324 
325 /* Define if you have the <grp.h> header file. */
326 #define HAVE_GRP_H 1
327 
328 /* Define if you have the `hstrerror' function. */
329 #define HAVE_HSTRERROR 1
330 
331 /* Define if you have the `h_errlist' variable. */
332 #define HAVE_H_ERRLIST 1
333 
334 /* define if your system declares h_errlist */
335 /* #undef HAVE_H_ERRLIST_DECLARATION */
336 
337 /* Define if you have the `h_errno' variable. */
338 #define HAVE_H_ERRNO 1
339 
340 /* define if your system declares h_errno */
341 #define HAVE_H_ERRNO_DECLARATION 1
342 
343 /* Define if you have the `h_nerr' variable. */
344 #define HAVE_H_NERR 1
345 
346 /* define if your system declares h_nerr */
347 /* #undef HAVE_H_NERR_DECLARATION */
348 
349 /* Define if you have the <ifaddrs.h> header file. */
350 #define HAVE_IFADDRS_H 1
351 
352 /* Define if you have the in6addr_loopback variable */
353 #define HAVE_IN6ADDR_LOOPBACK 1
354 
355 /* Define if you have the `inet_aton' function. */
356 #define HAVE_INET_ATON 1
357 
358 /* Define if you have the `inet_ntop' function. */
359 #define HAVE_INET_NTOP 1
360 
361 /* Define if you have the `inet_pton' function. */
362 #define HAVE_INET_PTON 1
363 
364 /* Define if you have the `initgroups' function. */
365 #define HAVE_INITGROUPS 1
366 
367 /* Define if you have the `initstate' function. */
368 #define HAVE_INITSTATE 1
369 
370 /* Define if you have the `innetgr' function. */
371 #define HAVE_INNETGR 1
372 
373 /* Define if you have the <inttypes.h> header file. */
374 #define HAVE_INTTYPES_H 1
375 
376 /* Define if you have the <io.h> header file. */
377 /* #undef HAVE_IO_H */
378 
379 /* Define if you have IPv6. */
380 #define HAVE_IPV6 1
381 
382 /* Define if you have the `iruserok' function. */
383 #define HAVE_IRUSEROK 1
384 
385 /* Define if you have the `issetugid' function. */
386 #define HAVE_ISSETUGID 1
387 
388 /* Define if you have the `krb_disable_debug' function. */
389 #define HAVE_KRB_DISABLE_DEBUG 1
390 
391 /* Define if you have the `krb_enable_debug' function. */
392 #define HAVE_KRB_ENABLE_DEBUG 1
393 
394 /* Define if you have the `krb_get_our_ip_for_realm' function. */
395 #define HAVE_KRB_GET_OUR_IP_FOR_REALM 1
396 
397 /* Define if you have the <libutil.h> header file. */
398 #define HAVE_LIBUTIL_H 1
399 
400 /* Define if you have the <limits.h> header file. */
401 #define HAVE_LIMITS_H 1
402 
403 /* Define if you have the `logout' function. */
404 #define HAVE_LOGOUT 1
405 
406 /* Define if you have the `logwtmp' function. */
407 #define HAVE_LOGWTMP 1
408 
409 /* Define if the system has the type `long long'. */
410 #define HAVE_LONG_LONG 1
411 
412 /* Define if you have the `lstat' function. */
413 #define HAVE_LSTAT 1
414 
415 /* Define if you have the <maillock.h> header file. */
416 /* #undef HAVE_MAILLOCK_H */
417 
418 /* Define if you have the `memmove' function. */
419 #define HAVE_MEMMOVE 1
420 
421 /* Define if you have the <memory.h> header file. */
422 #define HAVE_MEMORY_H 1
423 
424 /* Define if you have the `mkstemp' function. */
425 #define HAVE_MKSTEMP 1
426 
427 /* Define if you have the `mktime' function. */
428 #define HAVE_MKTIME 1
429 
430 /* define if you have a ndbm library */
431 #define HAVE_NDBM 1
432 
433 /* Define if you have the <ndbm.h> header file. */
434 #define HAVE_NDBM_H 1
435 
436 /* Define if you have the <netdb.h> header file. */
437 #define HAVE_NETDB_H 1
438 
439 /* Define if you have the <netinet6/in6.h> header file. */
440 /* #undef HAVE_NETINET6_IN6_H */
441 
442 /* Define if you have the <netinet6/in6_var.h> header file. */
443 #define HAVE_NETINET6_IN6_VAR_H 1
444 
445 /* Define if you have the <netinet/in6.h> header file. */
446 /* #undef HAVE_NETINET_IN6_H */
447 
448 /* Define if you have the <netinet/in6_machtypes.h> header file. */
449 /* #undef HAVE_NETINET_IN6_MACHTYPES_H */
450 
451 /* Define if you have the <netinet/in6_var.h> header file. */
452 /* #undef HAVE_NETINET_IN6_VAR_H */
453 
454 /* Define if you have the <netinet/in.h> header file. */
455 #define HAVE_NETINET_IN_H 1
456 
457 /* Define if you have the <netinet/in_systm.h> header file. */
458 #define HAVE_NETINET_IN_SYSTM_H 1
459 
460 /* Define if you have the <netinet/ip.h> header file. */
461 #define HAVE_NETINET_IP_H 1
462 
463 /* Define if you have the <netinet/tcp.h> header file. */
464 #define HAVE_NETINET_TCP_H 1
465 
466 /* Define if you want to use Netinfo instead of krb5.conf. */
467 /* #undef HAVE_NETINFO */
468 
469 /* Define if you have the <netinfo/ni.h> header file. */
470 /* #undef HAVE_NETINFO_NI_H */
471 
472 /* Define if you have the <net/if.h> header file. */
473 #define HAVE_NET_IF_H 1
474 
475 /* Define if you have the `openpty' function. */
476 #define HAVE_OPENPTY 1
477 
478 /* define to use openssl's libcrypto */
479 #define HAVE_OPENSSL 1
480 
481 /* define if your system declares optarg */
482 #define HAVE_OPTARG_DECLARATION 1
483 
484 /* define if your system declares opterr */
485 #define HAVE_OPTERR_DECLARATION 1
486 
487 /* define if your system declares optind */
488 #define HAVE_OPTIND_DECLARATION 1
489 
490 /* define if your system declares optopt */
491 #define HAVE_OPTOPT_DECLARATION 1
492 
493 /* Define to enable basic OSF C2 support. */
494 /* #undef HAVE_OSFC2 */
495 
496 /* Define if you have the <paths.h> header file. */
497 #define HAVE_PATHS_H 1
498 
499 /* Define if you have the `pidfile' function. */
500 /* #undef HAVE_PIDFILE */
501 
502 /* Define if you have the <pthread.h> header file. */
503 #define HAVE_PTHREAD_H 1
504 
505 /* Define if you have the `ptsname' function. */
506 /* #undef HAVE_PTSNAME */
507 
508 /* Define if you have the <pty.h> header file. */
509 /* #undef HAVE_PTY_H */
510 
511 /* Define if you have the `putenv' function. */
512 #define HAVE_PUTENV 1
513 
514 /* Define if you have the <pwd.h> header file. */
515 #define HAVE_PWD_H 1
516 
517 /* Define if you have the `rand' function. */
518 #define HAVE_RAND 1
519 
520 /* Define if you have the `random' function. */
521 #define HAVE_RANDOM 1
522 
523 /* Define if you have the `rcmd' function. */
524 #define HAVE_RCMD 1
525 
526 /* Define if you have a readline compatible library. */
527 #define HAVE_READLINE 1
528 
529 /* Define if you have the `readv' function. */
530 #define HAVE_READV 1
531 
532 /* Define if you have the `recvmsg' function. */
533 #define HAVE_RECVMSG 1
534 
535 /* Define if you have the <resolv.h> header file. */
536 #define HAVE_RESOLV_H 1
537 
538 /* Define if you have the `res_search' function. */
539 #define HAVE_RES_SEARCH 1
540 
541 /* Define if you have the `revoke' function. */
542 #define HAVE_REVOKE 1
543 
544 /* Define if you have the <rpcsvc/ypclnt.h> header file. */
545 #define HAVE_RPCSVC_YPCLNT_H 1
546 
547 /* Define if you have the <sac.h> header file. */
548 /* #undef HAVE_SAC_H */
549 
550 /* Define if the system has the type `sa_family_t'. */
551 #define HAVE_SA_FAMILY_T 1
552 
553 /* Define if you have the <security/pam_modules.h> header file. */
554 #define HAVE_SECURITY_PAM_MODULES_H 1
555 
556 /* Define if you have the `select' function. */
557 #define HAVE_SELECT 1
558 
559 /* Define if you have the `sendmsg' function. */
560 #define HAVE_SENDMSG 1
561 
562 /* Define if you have the `setegid' function. */
563 #define HAVE_SETEGID 1
564 
565 /* Define if you have the `setenv' function. */
566 #define HAVE_SETENV 1
567 
568 /* Define if you have the `seteuid' function. */
569 #define HAVE_SETEUID 1
570 
571 /* Define if you have the `setitimer' function. */
572 #define HAVE_SETITIMER 1
573 
574 /* Define if you have the `setlim' function. */
575 /* #undef HAVE_SETLIM */
576 
577 /* Define if you have the `setlogin' function. */
578 #define HAVE_SETLOGIN 1
579 
580 /* Define if you have the `setpcred' function. */
581 /* #undef HAVE_SETPCRED */
582 
583 /* Define if you have the `setpgid' function. */
584 #define HAVE_SETPGID 1
585 
586 /* Define if you have the `setproctitle' function. */
587 #define HAVE_SETPROCTITLE 1
588 
589 /* Define if you have the `setprogname' function. */
590 #if (__FreeBSD_version >= 430002 && __FreeBSD_version < 500000) || \
591     __FreeBSD_version >= 500019
592 #define HAVE_SETPROGNAME 1
593 #endif
594 
595 /* Define if you have the `setregid' function. */
596 #define HAVE_SETREGID 1
597 
598 /* Define if you have the `setresgid' function. */
599 #define HAVE_SETRESGID 1
600 
601 /* Define if you have the `setresuid' function. */
602 #define HAVE_SETRESUID 1
603 
604 /* Define if you have the `setreuid' function. */
605 #define HAVE_SETREUID 1
606 
607 /* Define if you have the `setsid' function. */
608 #define HAVE_SETSID 1
609 
610 /* Define if you have the `setsockopt' function. */
611 #define HAVE_SETSOCKOPT 1
612 
613 /* Define if you have the `setstate' function. */
614 #define HAVE_SETSTATE 1
615 
616 /* Define if you have the `setutent' function. */
617 /* #undef HAVE_SETUTENT */
618 
619 /* Define if you have the `sgi_getcapabilitybyname' function. */
620 /* #undef HAVE_SGI_GETCAPABILITYBYNAME */
621 
622 /* Define if you have the <sgtty.h> header file. */
623 #define HAVE_SGTTY_H 1
624 
625 /* Define if you have the <shadow.h> header file. */
626 /* #undef HAVE_SHADOW_H */
627 
628 /* Define if you have the <siad.h> header file. */
629 /* #undef HAVE_SIAD_H */
630 
631 /* Define if you have the `sigaction' function. */
632 #define HAVE_SIGACTION 1
633 
634 /* Define if you have the <signal.h> header file. */
635 #define HAVE_SIGNAL_H 1
636 
637 /* define if you have a working snprintf */
638 #define HAVE_SNPRINTF 1
639 
640 /* Define if you have the `socket' function. */
641 #define HAVE_SOCKET 1
642 
643 /* Define if the system has the type `socklen_t'. */
644 #define HAVE_SOCKLEN_T 1
645 
646 /* Define if you have the <standards.h> header file. */
647 /* #undef HAVE_STANDARDS_H */
648 
649 /* Define if you have the <stdint.h> header file. */
650 #define HAVE_STDINT_H 1
651 
652 /* Define if you have the <stdlib.h> header file. */
653 #define HAVE_STDLIB_H 1
654 
655 /* Define if you have the `strcasecmp' function. */
656 #define HAVE_STRCASECMP 1
657 
658 /* Define if you have the `strdup' function. */
659 #define HAVE_STRDUP 1
660 
661 /* Define if you have the `strerror' function. */
662 #define HAVE_STRERROR 1
663 
664 /* Define if you have the `strftime' function. */
665 #define HAVE_STRFTIME 1
666 
667 /* Define if you have the <strings.h> header file. */
668 #define HAVE_STRINGS_H 1
669 
670 /* Define if you have the <string.h> header file. */
671 #define HAVE_STRING_H 1
672 
673 /* Define if you have the `strlcat' function. */
674 #define HAVE_STRLCAT 1
675 
676 /* Define if you have the `strlcpy' function. */
677 #define HAVE_STRLCPY 1
678 
679 /* Define if you have the `strlwr' function. */
680 /* #undef HAVE_STRLWR */
681 
682 /* Define if you have the `strncasecmp' function. */
683 #define HAVE_STRNCASECMP 1
684 
685 /* Define if you have the `strndup' function. */
686 /* #undef HAVE_STRNDUP */
687 
688 /* Define if you have the `strnlen' function. */
689 /* #undef HAVE_STRNLEN */
690 
691 /* Define if you have the <stropts.h> header file. */
692 /* #undef HAVE_STROPTS_H */
693 
694 /* Define if you have the `strptime' function. */
695 #define HAVE_STRPTIME 1
696 
697 /* Define if you have the `strsep' function. */
698 #define HAVE_STRSEP 1
699 
700 /* Define if you have the `strsep_copy' function. */
701 /* #undef HAVE_STRSEP_COPY */
702 
703 /* Define if you have the `strstr' function. */
704 #define HAVE_STRSTR 1
705 
706 /* Define if you have the `strsvis' function. */
707 /* #undef HAVE_STRSVIS */
708 
709 /* Define if you have the `strtok_r' function. */
710 #define HAVE_STRTOK_R 1
711 
712 /* Define if the system has the type `struct addrinfo'. */
713 #define HAVE_STRUCT_ADDRINFO 1
714 
715 /* Define if the system has the type `struct ifaddrs'. */
716 #define HAVE_STRUCT_IFADDRS 1
717 
718 /* Define if the system has the type `struct sockaddr'. */
719 #define HAVE_STRUCT_SOCKADDR 1
720 
721 /* Define if struct sockaddr has field sa_len. */
722 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
723 
724 /* Define if the system has the type `struct sockaddr_storage'. */
725 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
726 
727 /* define if you have struct spwd */
728 /* #undef HAVE_STRUCT_SPWD */
729 
730 /* Define if struct tm has field tm_gmtoff. */
731 #define HAVE_STRUCT_TM_TM_GMTOFF 1
732 
733 /* Define if struct tm has field tm_zone. */
734 #define HAVE_STRUCT_TM_TM_ZONE 1
735 
736 /* Define if struct utmpx has field ut_exit. */
737 /* #undef HAVE_STRUCT_UTMPX_UT_EXIT */
738 
739 /* Define if struct utmpx has field ut_syslen. */
740 /* #undef HAVE_STRUCT_UTMPX_UT_SYSLEN */
741 
742 /* Define if struct utmp has field ut_addr. */
743 /* #undef HAVE_STRUCT_UTMP_UT_ADDR */
744 
745 /* Define if struct utmp has field ut_host. */
746 /* #undef HAVE_STRUCT_UTMP_UT_HOST */
747 
748 /* Define if struct utmp has field ut_id. */
749 /* #undef HAVE_STRUCT_UTMP_UT_ID */
750 
751 /* Define if struct utmp has field ut_pid. */
752 /* #undef HAVE_STRUCT_UTMP_UT_PID */
753 
754 /* Define if struct utmp has field ut_type. */
755 /* #undef HAVE_STRUCT_UTMP_UT_TYPE */
756 
757 /* Define if struct utmp has field ut_user. */
758 /* #undef HAVE_STRUCT_UTMP_UT_USER */
759 
760 /* define if struct winsize is declared in sys/termios.h */
761 #define HAVE_STRUCT_WINSIZE 1
762 
763 /* Define if you have the `strunvis' function. */
764 #define HAVE_STRUNVIS 1
765 
766 /* Define if you have the `strupr' function. */
767 /* #undef HAVE_STRUPR */
768 
769 /* Define if you have the `strvis' function. */
770 #define HAVE_STRVIS 1
771 
772 /* Define if you have the `strvisx' function. */
773 #define HAVE_STRVISX 1
774 
775 /* Define if you have the `svis' function. */
776 /* #undef HAVE_SVIS */
777 
778 /* Define if you have the `swab' function. */
779 #define HAVE_SWAB 1
780 
781 /* Define if you have the `sysconf' function. */
782 #define HAVE_SYSCONF 1
783 
784 /* Define if you have the `sysctl' function. */
785 #define HAVE_SYSCTL 1
786 
787 /* Define if you have the `syslog' function. */
788 #define HAVE_SYSLOG 1
789 
790 /* Define if you have the <syslog.h> header file. */
791 #define HAVE_SYSLOG_H 1
792 
793 /* Define if you have the <sys/bitypes.h> header file. */
794 /* #undef HAVE_SYS_BITYPES_H */
795 
796 /* Define if you have the <sys/bswap.h> header file. */
797 /* #undef HAVE_SYS_BSWAP_H */
798 
799 /* Define if you have the <sys/capability.h> header file. */
800 #define HAVE_SYS_CAPABILITY_H 1
801 
802 /* Define if you have the <sys/category.h> header file. */
803 /* #undef HAVE_SYS_CATEGORY_H */
804 
805 /* Define if you have the <sys/file.h> header file. */
806 #define HAVE_SYS_FILE_H 1
807 
808 /* Define if you have the <sys/filio.h> header file. */
809 #define HAVE_SYS_FILIO_H 1
810 
811 /* Define if you have the <sys/ioccom.h> header file. */
812 #define HAVE_SYS_IOCCOM_H 1
813 
814 /* Define if you have the <sys/ioctl.h> header file. */
815 #define HAVE_SYS_IOCTL_H 1
816 
817 /* Define if you have the <sys/param.h> header file. */
818 #define HAVE_SYS_PARAM_H 1
819 
820 /* Define if you have the <sys/proc.h> header file. */
821 #define HAVE_SYS_PROC_H 1
822 
823 /* Define if you have the <sys/ptyio.h> header file. */
824 /* #undef HAVE_SYS_PTYIO_H */
825 
826 /* Define if you have the <sys/ptyvar.h> header file. */
827 /* #undef HAVE_SYS_PTYVAR_H */
828 
829 /* Define if you have the <sys/pty.h> header file. */
830 /* #undef HAVE_SYS_PTY_H */
831 
832 /* Define if you have the <sys/resource.h> header file. */
833 #define HAVE_SYS_RESOURCE_H 1
834 
835 /* Define if you have the <sys/select.h> header file. */
836 #define HAVE_SYS_SELECT_H 1
837 
838 /* Define if you have the <sys/socket.h> header file. */
839 #define HAVE_SYS_SOCKET_H 1
840 
841 /* Define if you have the <sys/sockio.h> header file. */
842 #define HAVE_SYS_SOCKIO_H 1
843 
844 /* Define if you have the <sys/stat.h> header file. */
845 #define HAVE_SYS_STAT_H 1
846 
847 /* Define if you have the <sys/stream.h> header file. */
848 /* #undef HAVE_SYS_STREAM_H */
849 
850 /* Define if you have the <sys/stropts.h> header file. */
851 /* #undef HAVE_SYS_STROPTS_H */
852 
853 /* Define if you have the <sys/strtty.h> header file. */
854 /* #undef HAVE_SYS_STRTTY_H */
855 
856 /* Define if you have the <sys/str_tty.h> header file. */
857 /* #undef HAVE_SYS_STR_TTY_H */
858 
859 /* Define if you have the <sys/syscall.h> header file. */
860 #define HAVE_SYS_SYSCALL_H 1
861 
862 /* Define if you have the <sys/sysctl.h> header file. */
863 #define HAVE_SYS_SYSCTL_H 1
864 
865 /* Define if you have the <sys/termio.h> header file. */
866 /* #undef HAVE_SYS_TERMIO_H */
867 
868 /* Define if you have the <sys/timeb.h> header file. */
869 #define HAVE_SYS_TIMEB_H 1
870 
871 /* Define if you have the <sys/times.h> header file. */
872 #define HAVE_SYS_TIMES_H 1
873 
874 /* Define if you have the <sys/time.h> header file. */
875 #define HAVE_SYS_TIME_H 1
876 
877 /* Define if you have the <sys/tty.h> header file. */
878 #define HAVE_SYS_TTY_H 1
879 
880 /* Define if you have the <sys/types.h> header file. */
881 #define HAVE_SYS_TYPES_H 1
882 
883 /* Define if you have the <sys/uio.h> header file. */
884 #define HAVE_SYS_UIO_H 1
885 
886 /* Define if you have the <sys/un.h> header file. */
887 #define HAVE_SYS_UN_H 1
888 
889 /* Define if you have the <sys/utsname.h> header file. */
890 #define HAVE_SYS_UTSNAME_H 1
891 
892 /* Define if you have the <sys/wait.h> header file. */
893 #define HAVE_SYS_WAIT_H 1
894 
895 /* Define if you have the <termios.h> header file. */
896 #define HAVE_TERMIOS_H 1
897 
898 /* Define if you have the <termio.h> header file. */
899 /* #undef HAVE_TERMIO_H */
900 
901 /* Define if you have the <term.h> header file. */
902 #define HAVE_TERM_H 1
903 
904 /* Define if you have the `tgetent' function. */
905 #define HAVE_TGETENT 1
906 
907 /* Define if you have the `timegm' function. */
908 #define HAVE_TIMEGM 1
909 
910 /* Define if you have the `timezone' variable. */
911 #define HAVE_TIMEZONE 1
912 
913 /* define if your system declares timezone */
914 #define HAVE_TIMEZONE_DECLARATION 1
915 
916 /* Define if you have the <time.h> header file. */
917 #define HAVE_TIME_H 1
918 
919 /* Define if you have the <tmpdir.h> header file. */
920 /* #undef HAVE_TMPDIR_H */
921 
922 /* Define if you have the `ttyname' function. */
923 #define HAVE_TTYNAME 1
924 
925 /* Define if you have the `ttyslot' function. */
926 #define HAVE_TTYSLOT 1
927 
928 /* Define if you have the <udb.h> header file. */
929 /* #undef HAVE_UDB_H */
930 
931 /* Define if you have the `umask' function. */
932 #define HAVE_UMASK 1
933 
934 /* Define if you have the `uname' function. */
935 #define HAVE_UNAME 1
936 
937 /* Define if you have the <unistd.h> header file. */
938 #define HAVE_UNISTD_H 1
939 
940 /* Define if you have the `unlockpt' function. */
941 /* #undef HAVE_UNLOCKPT */
942 
943 /* Define if you have the `unsetenv' function. */
944 #define HAVE_UNSETENV 1
945 
946 /* Define if you have the `unvis' function. */
947 #define HAVE_UNVIS 1
948 
949 /* Define if you have the <userconf.h> header file. */
950 /* #undef HAVE_USERCONF_H */
951 
952 /* Define if you have the <usersec.h> header file. */
953 /* #undef HAVE_USERSEC_H */
954 
955 /* Define if you have the <util.h> header file. */
956 /* #undef HAVE_UTIL_H */
957 
958 /* Define if you have the <utmpx.h> header file. */
959 /* #undef HAVE_UTMPX_H */
960 
961 /* Define if you have the <utmp.h> header file. */
962 #define HAVE_UTMP_H 1
963 
964 /* Define if you have the `vasnprintf' function. */
965 /* #undef HAVE_VASNPRINTF */
966 
967 /* Define if you have the `vasprintf' function. */
968 #define HAVE_VASPRINTF 1
969 
970 /* Define if you have the `verr' function. */
971 #define HAVE_VERR 1
972 
973 /* Define if you have the `verrx' function. */
974 #define HAVE_VERRX 1
975 
976 /* Define if you have the `vhangup' function. */
977 /* #undef HAVE_VHANGUP */
978 
979 /* Define if you have the `vis' function. */
980 #define HAVE_VIS 1
981 
982 /* Define if you have the <vis.h> header file. */
983 #define HAVE_VIS_H 1
984 
985 /* define if you have a working vsnprintf */
986 #define HAVE_VSNPRINTF 1
987 
988 /* Define if you have the `vsyslog' function. */
989 #define HAVE_VSYSLOG 1
990 
991 /* Define if you have the `vwarn' function. */
992 #define HAVE_VWARN 1
993 
994 /* Define if you have the `vwarnx' function. */
995 #define HAVE_VWARNX 1
996 
997 /* Define if you have the `warn' function. */
998 #define HAVE_WARN 1
999 
1000 /* Define if you have the `warnx' function. */
1001 #define HAVE_WARNX 1
1002 
1003 /* Define if you have the `writev' function. */
1004 #define HAVE_WRITEV 1
1005 
1006 /* define if struct winsize has ws_xpixel */
1007 #define HAVE_WS_XPIXEL 1
1008 
1009 /* define if struct winsize has ws_ypixel */
1010 #define HAVE_WS_YPIXEL 1
1011 
1012 /* Define if you have the `XauFileName' function. */
1013 #define HAVE_XAUFILENAME 1
1014 
1015 /* Define if you have the `XauReadAuth' function. */
1016 #define HAVE_XAUREADAUTH 1
1017 
1018 /* Define if you have the `XauWriteAuth' function. */
1019 #define HAVE_XAUWRITEAUTH 1
1020 
1021 /* Define if you have the `yp_get_default_domain' function. */
1022 #define HAVE_YP_GET_DEFAULT_DOMAIN 1
1023 
1024 /* Define if you have the `_getpty' function. */
1025 /* #undef HAVE__GETPTY */
1026 
1027 /* Define if you have the `_scrsize' function. */
1028 /* #undef HAVE__SCRSIZE */
1029 
1030 /* define if your compiler has __attribute__ */
1031 #define HAVE___ATTRIBUTE__ 1
1032 
1033 /* Define if you have the `__progname' variable. */
1034 #define HAVE___PROGNAME 1
1035 
1036 /* define if your system declares __progname */
1037 /* #undef HAVE___PROGNAME_DECLARATION */
1038 
1039 /* Define if you have the hesiod package. */
1040 /* #undef HESIOD */
1041 
1042 /* Enable Kerberos 5 support in applications. */
1043 #define KRB5 1
1044 
1045 /* Define if krb_mk_req takes cons char * */
1046 /* #undef KRB_MK_REQ_CONST */
1047 
1048 /* Define to zero if your krb.h doesn't */
1049 /* #undef KRB_VERIFY_NOT_SECURE */
1050 
1051 /* Define to one if your krb.h doesn't */
1052 /* #undef KRB_VERIFY_SECURE */
1053 
1054 /* Define to two if your krb.h doesn't */
1055 /* #undef KRB_VERIFY_SECURE_FAIL */
1056 
1057 /* define if the system is missing a prototype for asnprintf() */
1058 /* #undef NEED_ASNPRINTF_PROTO */
1059 
1060 /* define if the system is missing a prototype for asprintf() */
1061 /* #undef NEED_ASPRINTF_PROTO */
1062 
1063 /* define if the system is missing a prototype for crypt() */
1064 /* #undef NEED_CRYPT_PROTO */
1065 
1066 /* define if the system is missing a prototype for gethostname() */
1067 /* #undef NEED_GETHOSTNAME_PROTO */
1068 
1069 /* define if the system is missing a prototype for getusershell() */
1070 /* #undef NEED_GETUSERSHELL_PROTO */
1071 
1072 /* define if the system is missing a prototype for glob() */
1073 /* #undef NEED_GLOB_PROTO */
1074 
1075 /* define if the system is missing a prototype for hstrerror() */
1076 /* #undef NEED_HSTRERROR_PROTO */
1077 
1078 /* define if the system is missing a prototype for inet_aton() */
1079 /* #undef NEED_INET_ATON_PROTO */
1080 
1081 /* define if the system is missing a prototype for mkstemp() */
1082 /* #undef NEED_MKSTEMP_PROTO */
1083 
1084 /* define if the system is missing a prototype for setenv() */
1085 /* #undef NEED_SETENV_PROTO */
1086 
1087 /* define if the system is missing a prototype for snprintf() */
1088 /* #undef NEED_SNPRINTF_PROTO */
1089 
1090 /* define if the system is missing a prototype for strsep() */
1091 /* #undef NEED_STRSEP_PROTO */
1092 
1093 /* define if the system is missing a prototype for strtok_r() */
1094 /* #undef NEED_STRTOK_R_PROTO */
1095 
1096 /* define if the system is missing a prototype for unsetenv() */
1097 /* #undef NEED_UNSETENV_PROTO */
1098 
1099 /* define if the system is missing a prototype for vasnprintf() */
1100 /* #undef NEED_VASNPRINTF_PROTO */
1101 
1102 /* define if the system is missing a prototype for vasprintf() */
1103 /* #undef NEED_VASPRINTF_PROTO */
1104 
1105 /* define if the system is missing a prototype for vsnprintf() */
1106 /* #undef NEED_VSNPRINTF_PROTO */
1107 
1108 /* Define this to enable old environment option in telnet. */
1109 #define OLD_ENVIRON 1
1110 
1111 /* Define if you have the openldap package. */
1112 /* #undef OPENLDAP */
1113 
1114 /* define if prototype of openlog is compatible with void openlog(const char
1115    *, int, int) */
1116 #define OPENLOG_PROTO_COMPATIBLE 1
1117 
1118 /* Define if you want OTP support in applications. */
1119 #define OTP 1
1120 
1121 /* Name of package */
1122 #define PACKAGE "heimdal"
1123 
1124 /* Define if getlogin has POSIX flavour (and not BSD). */
1125 /* #undef POSIX_GETLOGIN */
1126 
1127 /* Define if getpwnam_r has POSIX flavour. */
1128 /* #undef POSIX_GETPWNAM_R */
1129 
1130 /* Define if you have the readline package. */
1131 /* #undef READLINE */
1132 
1133 /* Define as the return type of signal handlers (`int' or `void'). */
1134 #define RETSIGTYPE void
1135 
1136 /* Define if you have the ANSI C header files. */
1137 #define STDC_HEADERS 1
1138 
1139 /* Define if you have streams ptys. */
1140 /* #undef STREAMSPTY */
1141 
1142 /* Define to what version of SunOS you are running. */
1143 /* #undef SunOS */
1144 
1145 /* Define if you can safely include both <sys/time.h> and <time.h>. */
1146 #define TIME_WITH_SYS_TIME 1
1147 
1148 /* Define if your <sys/time.h> declares `struct tm'. */
1149 /* #undef TM_IN_SYS_TIME */
1150 
1151 /* Version number of package */
1152 #define VERSION "0.4e"
1153 
1154 /* Define if signal handlers return void. */
1155 #define VOID_RETSIGTYPE 1
1156 
1157 /* define if target is big endian */
1158 /* #undef WORDS_BIGENDIAN */
1159 
1160 /* Define if the X Window System is missing or not being used. */
1161 /* #undef X_DISPLAY_MISSING */
1162 
1163 /* Define if `lex' declares `yytext' as a `char *' by default, not a `char[]'.
1164    */
1165 #define YYTEXT_POINTER 1
1166 
1167 /* Define to empty if `const' does not conform to ANSI C. */
1168 /* #undef const */
1169 
1170 /* Define to `int' if <sys/types.h> doesn't define. */
1171 /* #undef gid_t */
1172 
1173 /* Define as `__inline' if that's what the C compiler calls it, or to nothing
1174    if it is not supported. */
1175 /* #undef inline */
1176 
1177 /* Define this to what the type mode_t should be. */
1178 /* #undef mode_t */
1179 
1180 /* Define to `long' if <sys/types.h> does not define. */
1181 /* #undef off_t */
1182 
1183 /* Define to `int' if <sys/types.h> does not define. */
1184 /* #undef pid_t */
1185 
1186 /* Define this to what the type sig_atomic_t should be. */
1187 /* #undef sig_atomic_t */
1188 
1189 /* Define to `unsigned' if <sys/types.h> does not define. */
1190 /* #undef size_t */
1191 
1192 /* Define this to what the type ssize_t should be. */
1193 /* #undef ssize_t */
1194 
1195 /* Define to `int' if <sys/types.h> doesn't define. */
1196 /* #undef uid_t */
1197 
1198 #ifdef VOID_RETSIGTYPE
1199 #define SIGRETURN(x) return
1200 #else
1201 #define SIGRETURN(x) return (RETSIGTYPE)(x)
1202 #endif
1203 
1204 #ifdef BROKEN_REALLOC
1205 #define realloc(X, Y) isoc_realloc((X), (Y))
1206 #define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
1207 #endif
1208 
1209 #if defined(HAVE_FOUR_VALUED_KRB_PUT_INT) || !defined(KRB4)
1210 #define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (L), (S))
1211 #else
1212 #define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (S))
1213 #endif
1214 
1215 
1216 #ifdef VOID_RETSIGTYPE
1217 #define SIGRETURN(x) return
1218 #else
1219 #define SIGRETURN(x) return (RETSIGTYPE)(x)
1220 #endif
1221 
1222 #ifdef BROKEN_REALLOC
1223 #define realloc(X, Y) isoc_realloc((X), (Y))
1224 #define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
1225 #endif
1226 
1227 #define BINDIR "/usr/bin"
1228 #define LIBDIR "/usr/lib"
1229 #define LIBEXECDIR "/usr/libexec"
1230 #define SBINDIR "/usr/sbin"
1231 
1232 #define BINDIR "/usr/bin"
1233 #define LIBDIR "/usr/lib"
1234 #define LIBEXECDIR "/usr/libexec"
1235 #define SBINDIR "/usr/sbin"
1236 
1237 #define HAVE_INT8_T 1
1238 #define HAVE_INT16_T 1
1239 #define HAVE_INT32_T 1
1240 #define HAVE_INT64_T 1
1241 #define HAVE_U_INT8_T 1
1242 #define HAVE_U_INT16_T 1
1243 #define HAVE_U_INT32_T 1
1244 #define HAVE_U_INT64_T 1
1245 #define HAVE_UINT8_T 1
1246 #define HAVE_UINT16_T 1
1247 #define HAVE_UINT32_T 1
1248 #define HAVE_UINT64_T 1
1249 
1250 #if defined(HAVE_FOUR_VALUED_KRB_PUT_INT) || !defined(KRB4)
1251 #define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (L), (S))
1252 #else
1253 #define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (S))
1254 #endif
1255 
1256 #ifdef BROKEN_REALLOC
1257 #define realloc(X, Y) isoc_realloc((X), (Y))
1258 #define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
1259 #endif
1260 
1261 #ifdef VOID_RETSIGTYPE
1262 #define SIGRETURN(x) return
1263 #else
1264 #define SIGRETURN(x) return (RETSIGTYPE)(x)
1265 #endif
1266 
1267 #define RCSID(msg) \
1268 static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
1269 
1270 /* #undef PROTOTYPES */
1271 
1272 /* Maximum values on all known systems */
1273 #define MaxHostNameLen (64+4)
1274 #define MaxPathLen (1024+4)
1275 
1276 #if defined(HAVE_SGTTY_H) && defined(__NeXT__)
1277 #define SGTTY
1278 #endif
1279 
1280 /* telnet stuff ----------------------------------------------- */
1281 
1282 #if defined(ENCRYPTION) && !defined(AUTHENTICATION)
1283 #define AUTHENTICATION 1
1284 #endif
1285 
1286 /* Set this to the default system lead string for telnetd
1287  * can contain %-escapes: %s=sysname, %m=machine, %r=os-release
1288  * %v=os-version, %t=tty, %h=hostname, %d=date and time
1289  */
1290 /* #undef USE_IM */
1291 
1292 /* Used with login -p */
1293 /* #undef LOGIN_ARGS */
1294 
1295 /* set this to a sensible login */
1296 #ifndef LOGIN_PATH
1297 #define LOGIN_PATH BINDIR "/login"
1298 #endif
1299 
1300 /* random defines */
1301 
1302 /*
1303  * Defining this enables lots of useful (and used) extensions on
1304  * glibc-based systems such as Linux
1305  */
1306 
1307 #define _GNU_SOURCE
1308 
1309 /*
1310  * this assumes that KRB_C_BIGENDIAN is used.
1311  * if we can find out endianess at compile-time, do so,
1312  * otherwise WORDS_BIGENDIAN should already have been defined
1313  */
1314 
1315 #if ENDIANESS_IN_SYS_PARAM_H
1316 #  include <sys/types.h>
1317 #  include <sys/param.h>
1318 #  if BYTE_ORDER == BIG_ENDIAN
1319 #  define WORDS_BIGENDIAN 1
1320 #  endif
1321 #endif
1322 
1323 #ifdef ROKEN_RENAME
1324 #include "roken_rename.h"
1325 #endif
1326