Initial import from FreeBSD RELENG_4:
[dragonfly.git] / kerberosIV / include / config.h
1 /* include/config.h.  Hand tweaked by MarkM.  */
2 /* include/config.h.  Generated automatically by configure.  */
3 /* include/config.h.in.  Generated automatically from configure.in by autoheader.  */
4
5 /* $FreeBSD: src/kerberosIV/include/config.h,v 1.4 2000/01/09 08:59:33 markm Exp $ */
6
7 #define KRB4 1
8
9 /* Define if using alloca.c.  */
10 /* #undef C_ALLOCA */
11
12 /* Define to empty if the keyword does not work.  */
13 /* #undef const */
14
15 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
16    This function is required for alloca.c support on those systems.  */
17 /* #undef CRAY_STACKSEG_END */
18
19 /* Define to `int' if <sys/types.h> doesn't define.  */
20 /* #undef gid_t */
21
22 /* Define if you have alloca, as a function or macro.  */
23 #define HAVE_ALLOCA 1
24
25 /* Define if you have <alloca.h> and it should be used (not on Ultrix).  */
26 /* #undef HAVE_ALLOCA_H */
27
28 /* Define if you have a working `mmap' system call.  */
29 #define HAVE_MMAP 1
30
31 /* Define if your struct stat has st_blksize.  */
32 #define HAVE_ST_BLKSIZE 1
33
34 /* Define as __inline if that's what the C compiler calls it.  */
35 /* #undef inline */
36
37 /* Define to `long' if <sys/types.h> doesn't define.  */
38 /* #undef off_t */
39
40 /* Define to `int' if <sys/types.h> doesn't define.  */
41 /* #undef pid_t */
42
43 /* Define if you need to in order for stat and other things to work.  */
44 /* #undef _POSIX_SOURCE */
45
46 /* Define as the return type of signal handlers (int or void).  */
47 #define RETSIGTYPE void
48
49 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
50 /* #undef size_t */
51
52 /* If using the C implementation of alloca, define if you know the
53    direction of stack growth for your system; otherwise it will be
54    automatically deduced at run-time.
55  STACK_DIRECTION > 0 => grows toward higher addresses
56  STACK_DIRECTION < 0 => grows toward lower addresses
57  STACK_DIRECTION = 0 => direction of growth unknown
58  */
59 /* #undef STACK_DIRECTION */
60
61 /* Define if you have the ANSI C header files.  */
62 #define STDC_HEADERS 1
63
64 /* Define if `sys_siglist' is declared by <signal.h>.  */
65 #define SYS_SIGLIST_DECLARED 1
66
67 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
68 #define TIME_WITH_SYS_TIME 1
69
70 /* Define to `int' if <sys/types.h> doesn't define.  */
71 /* #undef uid_t */
72
73 /* Define if your processor stores words with the most significant
74    byte first (like Motorola and SPARC, unlike Intel and VAX).  */
75 /* #undef WORDS_BIGENDIAN */
76
77 /* Define if the X Window System is missing or not being used.  */
78 #define X_DISPLAY_MISSING 1
79
80 /* Define if you have the XauFileName function.  */
81 /* #undef HAVE_XAUFILENAME */
82
83 /* Define if you have the XauReadAuth function.  */
84 /* #undef HAVE_XAUREADAUTH */
85
86 /* Define if you have the XauWriteAuth function.  */
87 /* #undef HAVE_XAUWRITEAUTH */
88
89 /* Define if you have the _getpty function.  */
90 /* #undef HAVE__GETPTY */
91
92 /* Define if you have the _scrsize function.  */
93 /* #undef HAVE__SCRSIZE */
94
95 /* Define if you have the _setsid function.  */
96 #define HAVE__SETSID 1
97
98 /* Define if you have the _stricmp function.  */
99 /* #undef HAVE__STRICMP */
100
101 /* Define if you have the asnprintf function.  */
102 /* #undef HAVE_ASNPRINTF */
103
104 /* Define if you have the asprintf function.  */
105 #define HAVE_ASPRINTF 1
106
107 /* Define if you have the atexit function.  */
108 #define HAVE_ATEXIT 1
109
110 /* Define if you have the cap_set_proc function.  */
111 /* #undef HAVE_CAP_SET_PROC */
112
113 /* Define if you have the cgetent function.  */
114 #define HAVE_CGETENT 1
115
116 /* Define if you have the chown function.  */
117 #define HAVE_CHOWN 1
118
119 /* Define if you have the chroot function.  */
120 #define HAVE_CHROOT 1
121
122 /* Define if you have the copyhostent function.  */
123 /* #undef HAVE_COPYHOSTENT */
124
125 /* Define if you have the crypt function.  */
126 #define HAVE_CRYPT 1
127
128 /* Define if you have the daemon function.  */
129 #define HAVE_DAEMON 1
130
131 /* Define if you have the dlopen function.  */
132 /* #undef HAVE_DLOPEN */
133
134 /* Define if you have the dn_expand function.  */
135 #define HAVE_DN_EXPAND 1
136
137 /* Define if you have the el_init function.  */
138 #define HAVE_EL_INIT 1
139
140 /* Define if you have the err function.  */
141 #define HAVE_ERR 1
142
143 /* Define if you have the errx function.  */
144 #define HAVE_ERRX 1
145
146 /* Define if you have the fattach function.  */
147 /* #undef HAVE_FATTACH */
148
149 /* Define if you have the fchmod function.  */
150 #define HAVE_FCHMOD 1
151
152 /* Define if you have the fchown function.  */
153 #define HAVE_FCHOWN 1
154
155 /* Define if you have the fcntl function.  */
156 #define HAVE_FCNTL 1
157
158 /* Define if you have the flock function.  */
159 #define HAVE_FLOCK 1
160
161 /* Define if you have the fnmatch function.  */
162 #define HAVE_FNMATCH 1
163
164 /* Define if you have the forkpty function.  */
165 #define HAVE_FORKPTY 1
166
167 /* Define if you have the freehostent function.  */
168 #define HAVE_FREEHOSTENT 1
169
170 /* Define if you have the frevoke function.  */
171 /* #undef HAVE_FREVOKE */
172
173 /* Define if you have the getattr function.  */
174 /* #undef HAVE_GETATTR */
175
176 /* Define if you have the getcwd function.  */
177 #define HAVE_GETCWD 1
178
179 /* Define if you have the getdtablesize function.  */
180 #define HAVE_GETDTABLESIZE 1
181
182 /* Define if you have the getegid function.  */
183 #define HAVE_GETEGID 1
184
185 /* Define if you have the geteuid function.  */
186 #define HAVE_GETEUID 1
187
188 /* Define if you have the getgid function.  */
189 #define HAVE_GETGID 1
190
191 /* Define if you have the gethostbyname function.  */
192 #define HAVE_GETHOSTBYNAME 1
193
194 /* Define if you have the gethostname function.  */
195 #define HAVE_GETHOSTNAME 1
196
197 /* Define if you have the getipnodebyaddr function.  */
198 #define HAVE_GETIPNODEBYADDR 1
199
200 /* Define if you have the getipnodebyname function.  */
201 #define HAVE_GETIPNODEBYNAME 1
202
203 /* Define if you have the getlogin function.  */
204 #define HAVE_GETLOGIN 1
205
206 /* Define if you have the getmsg function.  */
207 /* #undef HAVE_GETMSG */
208
209 /* Define if you have the getopt function.  */
210 #define HAVE_GETOPT 1
211
212 /* Define if you have the getpagesize function.  */
213 #define HAVE_GETPAGESIZE 1
214
215 /* Define if you have the getpriority function.  */
216 #define HAVE_GETPRIORITY 1
217
218 /* Define if you have the getpwnam_r function.  */
219 /* #undef HAVE_GETPWNAM_R */
220
221 /* Define if you have the getrlimit function.  */
222 #define HAVE_GETRLIMIT 1
223
224 /* Define if you have the getservbyname function.  */
225 #define HAVE_GETSERVBYNAME 1
226
227 /* Define if you have the getsockopt function.  */
228 #define HAVE_GETSOCKOPT 1
229
230 /* Define if you have the getspnam function.  */
231 /* #undef HAVE_GETSPNAM */
232
233 /* Define if you have the gettimeofday function.  */
234 #define HAVE_GETTIMEOFDAY 1
235
236 /* Define if you have the gettosbyname function.  */
237 /* #undef HAVE_GETTOSBYNAME */
238
239 /* Define if you have the getudbnam function.  */
240 /* #undef HAVE_GETUDBNAM */
241
242 /* Define if you have the getuid function.  */
243 #define HAVE_GETUID 1
244
245 /* Define if you have the getusershell function.  */
246 #define HAVE_GETUSERSHELL 1
247
248 /* Define if you have the grantpt function.  */
249 /* #undef HAVE_GRANTPT */
250
251 /* Define if you have the hstrerror function.  */
252 #define HAVE_HSTRERROR 1
253
254 /* Define if you have the inet_aton function.  */
255 #define HAVE_INET_ATON 1
256
257 /* Define if you have the inet_ntop function.  */
258 #define HAVE_INET_NTOP 1
259
260 /* Define if you have the inet_pton function.  */
261 #define HAVE_INET_PTON 1
262
263 /* Define if you have the initgroups function.  */
264 #define HAVE_INITGROUPS 1
265
266 /* Define if you have the innetgr function.  */
267 #define HAVE_INNETGR 1
268
269 /* Define if you have the iruserok function.  */
270 #define HAVE_IRUSEROK 1
271
272 /* Define if you have the logout function.  */
273 #define HAVE_LOGOUT 1
274
275 /* Define if you have the logwtmp function.  */
276 #define HAVE_LOGWTMP 1
277
278 /* Define if you have the lstat function.  */
279 #define HAVE_LSTAT 1
280
281 /* Define if you have the memmove function.  */
282 #define HAVE_MEMMOVE 1
283
284 /* Define if you have the mkstemp function.  */
285 #define HAVE_MKSTEMP 1
286
287 /* Define if you have the mktime function.  */
288 #define HAVE_MKTIME 1
289
290 /* Define if you have the odm_initialize function.  */
291 /* #undef HAVE_ODM_INITIALIZE */
292
293 /* Define if you have the on_exit function.  */
294 /* #undef HAVE_ON_EXIT */
295
296 /* Define if you have the parsetos function.  */
297 /* #undef HAVE_PARSETOS */
298
299 /* Define if you have the ptsname function.  */
300 /* #undef HAVE_PTSNAME */
301
302 /* Define if you have the putenv function.  */
303 #define HAVE_PUTENV 1
304
305 /* Define if you have the rand function.  */
306 #define HAVE_RAND 1
307
308 /* Define if you have the random function.  */
309 #define HAVE_RANDOM 1
310
311 /* Define if you have the rcmd function.  */
312 #define HAVE_RCMD 1
313
314 /* Define if you have the readline function.  */
315 #define HAVE_READLINE 1
316
317 /* Define if you have the readv function.  */
318 #define HAVE_READV 1
319
320 /* Define if you have the recvmsg function.  */
321 #define HAVE_RECVMSG 1
322
323 /* Define if you have the res_search function.  */
324 #define HAVE_RES_SEARCH 1
325
326 /* Define if you have the revoke function.  */
327 #define HAVE_REVOKE 1
328
329 /* Define if you have the sa_family_t function.  */
330 #define HAVE_SA_FAMILY_T 1
331
332 /* Define if you have the sendmsg function.  */
333 #define HAVE_SENDMSG 1
334
335 /* Define if you have the setegid function.  */
336 #define HAVE_SETEGID 1
337
338 /* Define if you have the setenv function.  */
339 #define HAVE_SETENV 1
340
341 /* Define if you have the seteuid function.  */
342 #define HAVE_SETEUID 1
343
344 /* Define if you have the setitimer function.  */
345 #define HAVE_SETITIMER 1
346
347 /* Define if you have the setlim function.  */
348 /* #undef HAVE_SETLIM */
349
350 /* Define if you have the setlogin function.  */
351 #define HAVE_SETLOGIN 1
352
353 /* Define if you have the setpcred function.  */
354 /* #undef HAVE_SETPCRED */
355
356 /* Define if you have the setpgid function.  */
357 #define HAVE_SETPGID 1
358
359 /* Define if you have the setpriority function.  */
360 #define HAVE_SETPRIORITY 1
361
362 /* Define if you have the setproctitle function.  */
363 #define HAVE_SETPROCTITLE 1
364
365 /* Define if you have the setregid function.  */
366 #define HAVE_SETREGID 1
367
368 /* Define if you have the setresgid function.  */
369 /* #undef HAVE_SETRESGID */
370
371 /* Define if you have the setresuid function.  */
372 /* #undef HAVE_SETRESUID */
373
374 /* Define if you have the setreuid function.  */
375 #define HAVE_SETREUID 1
376
377 /* Define if you have the setsid function.  */
378 #define HAVE_SETSID 1
379
380 /* Define if you have the setsockopt function.  */
381 #define HAVE_SETSOCKOPT 1
382
383 /* Define if you have the setutent function.  */
384 /* #undef HAVE_SETUTENT */
385
386 /* Define if you have the sgi_getcapabilitybyname function.  */
387 /* #undef HAVE_SGI_GETCAPABILITYBYNAME */
388
389 /* Define if you have the sigaction function.  */
390 #define HAVE_SIGACTION 1
391
392 /* Define if you have the socket function.  */
393 #define HAVE_SOCKET 1
394
395 /* Define if you have the strcasecmp function.  */
396 #define HAVE_STRCASECMP 1
397
398 /* Define if you have the strdup function.  */
399 #define HAVE_STRDUP 1
400
401 /* Define if you have the strerror function.  */
402 #define HAVE_STRERROR 1
403
404 /* Define if you have the strftime function.  */
405 #define HAVE_STRFTIME 1
406
407 /* Define if you have the strlcat function.  */
408 #define HAVE_STRLCAT 1
409
410 /* Define if you have the strlcpy function.  */
411 #define HAVE_STRLCPY 1
412
413 /* Define if you have the strlwr function.  */
414 /* #undef HAVE_STRLWR */
415
416 /* Define if you have the strncasecmp function.  */
417 #define HAVE_STRNCASECMP 1
418
419 /* Define if you have the strndup function.  */
420 /* #undef HAVE_STRNDUP */
421
422 /* Define if you have the strnlen function.  */
423 /* #undef HAVE_STRNLEN */
424
425 /* Define if you have the strptime function.  */
426 #define HAVE_STRPTIME 1
427
428 /* Define if you have the strsep function.  */
429 #define HAVE_STRSEP 1
430
431 /* Define if you have the strtok_r function.  */
432 #define HAVE_STRTOK_R 1
433
434 /* Define if you have the struct_sockaddr_storage function.  */
435 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
436
437 /* Define if you have the strupr function.  */
438 /* #undef HAVE_STRUPR */
439
440 /* Define if you have the swab function.  */
441 #define HAVE_SWAB 1
442
443 /* Define if you have the sysconf function.  */
444 #define HAVE_SYSCONF 1
445
446 /* Define if you have the sysctl function.  */
447 #define HAVE_SYSCTL 1
448
449 /* Define if you have the syslog function.  */
450 #define HAVE_SYSLOG 1
451
452 /* Define if you have the tgetent function.  */
453 #define HAVE_TGETENT 1
454
455 /* Define if you have the ttyname function.  */
456 #define HAVE_TTYNAME 1
457
458 /* Define if you have the ttyslot function.  */
459 #define HAVE_TTYSLOT 1
460
461 /* Define if you have the ulimit function.  */
462 /* #undef HAVE_ULIMIT */
463
464 /* Define if you have the uname function.  */
465 #define HAVE_UNAME 1
466
467 /* Define if you have the unlockpt function.  */
468 /* #undef HAVE_UNLOCKPT */
469
470 /* Define if you have the unsetenv function.  */
471 #define HAVE_UNSETENV 1
472
473 /* Define if you have the vasnprintf function.  */
474 /* #undef HAVE_VASNPRINTF */
475
476 /* Define if you have the vasprintf function.  */
477 #define HAVE_VASPRINTF 1
478
479 /* Define if you have the verr function.  */
480 #define HAVE_VERR 1
481
482 /* Define if you have the verrx function.  */
483 #define HAVE_VERRX 1
484
485 /* Define if you have the vhangup function.  */
486 /* #undef HAVE_VHANGUP */
487
488 /* Define if you have the vsnprintf function.  */
489 #define HAVE_VSNPRINTF 1
490
491 /* Define if you have the vsyslog function.  */
492 #define HAVE_VSYSLOG 1
493
494 /* Define if you have the vwarn function.  */
495 #define HAVE_VWARN 1
496
497 /* Define if you have the vwarnx function.  */
498 #define HAVE_VWARNX 1
499
500 /* Define if you have the warn function.  */
501 #define HAVE_WARN 1
502
503 /* Define if you have the warnx function.  */
504 #define HAVE_WARNX 1
505
506 /* Define if you have the writev function.  */
507 #define HAVE_WRITEV 1
508
509 /* Define if you have the yp_get_default_domain function.  */
510 #define HAVE_YP_GET_DEFAULT_DOMAIN 1
511
512 /* Define if you have the <arpa/ftp.h> header file.  */
513 #define HAVE_ARPA_FTP_H 1
514
515 /* Define if you have the <arpa/inet.h> header file.  */
516 #define HAVE_ARPA_INET_H 1
517
518 /* Define if you have the <arpa/nameser.h> header file.  */
519 #define HAVE_ARPA_NAMESER_H 1
520
521 /* Define if you have the <arpa/telnet.h> header file.  */
522 #define HAVE_ARPA_TELNET_H 1
523
524 /* Define if you have the <bsd/bsd.h> header file.  */
525 /* #undef HAVE_BSD_BSD_H */
526
527 /* Define if you have the <bsdsetjmp.h> header file.  */
528 /* #undef HAVE_BSDSETJMP_H */
529
530 /* Define if you have the <capability.h> header file.  */
531 /* #undef HAVE_CAPABILITY_H */
532
533 /* Define if you have the <crypt.h> header file.  */
534 /* #undef HAVE_CRYPT_H */
535
536 /* Define if you have the <curses.h> header file.  */
537 #define HAVE_CURSES_H 1
538
539 /* Define if you have the <db.h> header file.  */
540 #define HAVE_DB_H 1
541
542 /* Define if you have the <dbm.h> header file.  */
543 /* #undef HAVE_DBM_H */
544
545 /* Define if you have the <dirent.h> header file.  */
546 #define HAVE_DIRENT_H 1
547
548 /* Define if you have the <err.h> header file.  */
549 #define HAVE_ERR_H 1
550
551 /* Define if you have the <errno.h> header file.  */
552 #define HAVE_ERRNO_H 1
553
554 /* Define if you have the <fcntl.h> header file.  */
555 #define HAVE_FCNTL_H 1
556
557 /* Define if you have the <fnmatch.h> header file.  */
558 #define HAVE_FNMATCH_H 1
559
560 /* Define if you have the <grp.h> header file.  */
561 #define HAVE_GRP_H 1
562
563 /* Define if you have the <inttypes.h> header file.  */
564 #define HAVE_INTTYPES_H 1
565
566 /* Define if you have the <io.h> header file.  */
567 /* #undef HAVE_IO_H */
568
569 /* Define if you have the <lastlog.h> header file.  */
570 /* #undef HAVE_LASTLOG_H */
571
572 /* Define if you have the <libutil.h> header file.  */
573 #define HAVE_LIBUTIL_H 1
574
575 /* Define if you have the <limits.h> header file.  */
576 #define HAVE_LIMITS_H 1
577
578 /* Define if you have the <login.h> header file.  */
579 /* #undef HAVE_LOGIN_H */
580
581 /* Define if you have the <maillock.h> header file.  */
582 /* #undef HAVE_MAILLOCK_H */
583
584 /* Define if you have the <ndbm.h> header file.  */
585 #define HAVE_NDBM_H 1
586
587 /* Define if you have the <net/if.h> header file.  */
588 #define HAVE_NET_IF_H 1
589
590 /* Define if you have the <net/if_tun.h> header file.  */
591 #define HAVE_NET_IF_TUN_H 1
592
593 /* Define if you have the <net/if_var.h> header file.  */
594 #define HAVE_NET_IF_VAR_H 1
595
596 /* Define if you have the <netdb.h> header file.  */
597 #define HAVE_NETDB_H 1
598
599 /* Define if you have the <netinet/in.h> header file.  */
600 #define HAVE_NETINET_IN_H 1
601
602 /* Define if you have the <netinet/in6_machtypes.h> header file.  */
603 /* #undef HAVE_NETINET_IN6_MACHTYPES_H */
604
605 /* Define if you have the <netinet/in_systm.h> header file.  */
606 #define HAVE_NETINET_IN_SYSTM_H 1
607
608 /* Define if you have the <netinet/ip.h> header file.  */
609 #define HAVE_NETINET_IP_H 1
610
611 /* Define if you have the <netinet/tcp.h> header file.  */
612 #define HAVE_NETINET_TCP_H 1
613
614 /* Define if you have the <paths.h> header file.  */
615 #define HAVE_PATHS_H 1
616
617 /* Define if you have the <pty.h> header file.  */
618 /* #undef HAVE_PTY_H */
619
620 /* Define if you have the <pwd.h> header file.  */
621 #define HAVE_PWD_H 1
622
623 /* Define if you have the <resolv.h> header file.  */
624 #define HAVE_RESOLV_H 1
625
626 /* Define if you have the <rpcsvc/dbm.h> header file.  */
627 /* #undef HAVE_RPCSVC_DBM_H */
628
629 /* Define if you have the <rpcsvc/ypclnt.h> header file.  */
630 #define HAVE_RPCSVC_YPCLNT_H 1
631
632 /* Define if you have the <sac.h> header file.  */
633 /* #undef HAVE_SAC_H */
634
635 /* Define if you have the <security/pam_modules.h> header file.  */
636 #define HAVE_SECURITY_PAM_MODULES_H 1
637
638 /* Define if you have the <shadow.h> header file.  */
639 /* #undef HAVE_SHADOW_H */
640
641 /* Define if you have the <siad.h> header file.  */
642 /* #undef HAVE_SIAD_H */
643
644 /* Define if you have the <signal.h> header file.  */
645 #define HAVE_SIGNAL_H 1
646
647 /* Define if you have the <standards.h> header file.  */
648 /* #undef HAVE_STANDARDS_H */
649
650 /* Define if you have the <stropts.h> header file.  */
651 /* #undef HAVE_STROPTS_H */
652
653 /* Define if you have the <sys/bitypes.h> header file.  */
654 /* #undef HAVE_SYS_BITYPES_H */
655
656 /* Define if you have the <sys/capability.h> header file.  */
657 /* #undef HAVE_SYS_CAPABILITY_H */
658
659 /* Define if you have the <sys/category.h> header file.  */
660 /* #undef HAVE_SYS_CATEGORY_H */
661
662 /* Define if you have the <sys/file.h> header file.  */
663 #define HAVE_SYS_FILE_H 1
664
665 /* Define if you have the <sys/filio.h> header file.  */
666 #define HAVE_SYS_FILIO_H 1
667
668 /* Define if you have the <sys/ioccom.h> header file.  */
669 #define HAVE_SYS_IOCCOM_H 1
670
671 /* Define if you have the <sys/ioctl.h> header file.  */
672 #define HAVE_SYS_IOCTL_H 1
673
674 /* Define if you have the <sys/locking.h> header file.  */
675 /* #undef HAVE_SYS_LOCKING_H */
676
677 /* Define if you have the <sys/mman.h> header file.  */
678 #define HAVE_SYS_MMAN_H 1
679
680 /* Define if you have the <sys/param.h> header file.  */
681 #define HAVE_SYS_PARAM_H 1
682
683 /* Define if you have the <sys/proc.h> header file.  */
684 #define HAVE_SYS_PROC_H 1
685
686 /* Define if you have the <sys/pty.h> header file.  */
687 /* #undef HAVE_SYS_PTY_H */
688
689 /* Define if you have the <sys/ptyio.h> header file.  */
690 /* #undef HAVE_SYS_PTYIO_H */
691
692 /* Define if you have the <sys/ptyvar.h> header file.  */
693 /* #undef HAVE_SYS_PTYVAR_H */
694
695 /* Define if you have the <sys/resource.h> header file.  */
696 #define HAVE_SYS_RESOURCE_H 1
697
698 /* Define if you have the <sys/select.h> header file.  */
699 #define HAVE_SYS_SELECT_H 1
700
701 /* Define if you have the <sys/socket.h> header file.  */
702 #define HAVE_SYS_SOCKET_H 1
703
704 /* Define if you have the <sys/sockio.h> header file.  */
705 #define HAVE_SYS_SOCKIO_H 1
706
707 /* Define if you have the <sys/stat.h> header file.  */
708 #define HAVE_SYS_STAT_H 1
709
710 /* Define if you have the <sys/str_tty.h> header file.  */
711 /* #undef HAVE_SYS_STR_TTY_H */
712
713 /* Define if you have the <sys/stream.h> header file.  */
714 /* #undef HAVE_SYS_STREAM_H */
715
716 /* Define if you have the <sys/stropts.h> header file.  */
717 /* #undef HAVE_SYS_STROPTS_H */
718
719 /* Define if you have the <sys/strtty.h> header file.  */
720 /* #undef HAVE_SYS_STRTTY_H */
721
722 /* Define if you have the <sys/syscall.h> header file.  */
723 #define HAVE_SYS_SYSCALL_H 1
724
725 /* Define if you have the <sys/sysctl.h> header file.  */
726 #define HAVE_SYS_SYSCTL_H 1
727
728 /* Define if you have the <sys/termio.h> header file.  */
729 /* #undef HAVE_SYS_TERMIO_H */
730
731 /* Define if you have the <sys/time.h> header file.  */
732 #define HAVE_SYS_TIME_H 1
733
734 /* Define if you have the <sys/timeb.h> header file.  */
735 #define HAVE_SYS_TIMEB_H 1
736
737 /* Define if you have the <sys/times.h> header file.  */
738 #define HAVE_SYS_TIMES_H 1
739
740 /* Define if you have the <sys/tty.h> header file.  */
741 #define HAVE_SYS_TTY_H 1
742
743 /* Define if you have the <sys/types.h> header file.  */
744 #define HAVE_SYS_TYPES_H 1
745
746 /* Define if you have the <sys/uio.h> header file.  */
747 #define HAVE_SYS_UIO_H 1
748
749 /* Define if you have the <sys/un.h> header file.  */
750 #define HAVE_SYS_UN_H 1
751
752 /* Define if you have the <sys/utsname.h> header file.  */
753 #define HAVE_SYS_UTSNAME_H 1
754
755 /* Define if you have the <sys/wait.h> header file.  */
756 #define HAVE_SYS_WAIT_H 1
757
758 /* Define if you have the <syslog.h> header file.  */
759 #define HAVE_SYSLOG_H 1
760
761 /* Define if you have the <term.h> header file.  */
762 #define HAVE_TERM_H 1
763
764 /* Define if you have the <termcap.h> header file.  */
765 #define HAVE_TERMCAP_H 1
766
767 /* Define if you have the <termio.h> header file.  */
768 /* #undef HAVE_TERMIO_H */
769
770 /* Define if you have the <termios.h> header file.  */
771 #define HAVE_TERMIOS_H 1
772
773 /* Define if you have the <tmpdir.h> header file.  */
774 /* #undef HAVE_TMPDIR_H */
775
776 /* Define if you have the <ttyent.h> header file.  */
777 #define HAVE_TTYENT_H 1
778
779 /* Define if you have the <udb.h> header file.  */
780 /* #undef HAVE_UDB_H */
781
782 /* Define if you have the <ulimit.h> header file.  */
783 /* #undef HAVE_ULIMIT_H */
784
785 /* Define if you have the <unistd.h> header file.  */
786 #define HAVE_UNISTD_H 1
787
788 /* Define if you have the <userpw.h> header file.  */
789 /* #undef HAVE_USERPW_H */
790
791 /* Define if you have the <usersec.h> header file.  */
792 /* #undef HAVE_USERSEC_H */
793
794 /* Define if you have the <util.h> header file.  */
795 /* #undef HAVE_UTIL_H */
796
797 /* Define if you have the <utime.h> header file.  */
798 #define HAVE_UTIME_H 1
799
800 /* Define if you have the <utmp.h> header file.  */
801 #define HAVE_UTMP_H 1
802
803 /* Define if you have the <utmpx.h> header file.  */
804 /* #undef HAVE_UTMPX_H */
805
806 /* Define if you have the <wait.h> header file.  */
807 /* #undef HAVE_WAIT_H */
808
809 /* Define if you have the X11 library (-lX11).  */
810 /* #undef HAVE_LIBX11 */
811
812 /* Define if you have the Xau library (-lXau).  */
813 /* #undef HAVE_LIBXAU */
814
815 /* Define if you have the c_r library (-lc_r).  */
816 /* #undef HAVE_LIBC_R */
817
818 /* Define if you have the cfg library (-lcfg).  */
819 /* #undef HAVE_LIBCFG */
820
821 /* Define if you have the crypt library (-lcrypt).  */
822 #define HAVE_LIBCRYPT 1
823
824 /* Define if you have the curses library (-lcurses).  */
825 /* #undef HAVE_LIBCURSES */
826
827 /* Define if you have the dl library (-ldl).  */
828 /* #undef HAVE_LIBDL */
829
830 /* Define if you have the edit library (-ledit).  */
831 #define HAVE_LIBEDIT 1
832
833 /* Define if you have the ncurses library (-lncurses).  */
834 /* #undef HAVE_LIBNCURSES */
835
836 /* Define if you have the nsl library (-lnsl).  */
837 /* #undef HAVE_LIBNSL */
838
839 /* Define if you have the odm library (-lodm).  */
840 /* #undef HAVE_LIBODM */
841
842 /* Define if you have the readline library (-lreadline).  */
843 #define HAVE_LIBREADLINE 1
844
845 /* Define if you have the resolv library (-lresolv).  */
846 /* #undef HAVE_LIBRESOLV */
847
848 /* Define if you have the s library (-ls).  */
849 /* #undef HAVE_LIBS */
850
851 /* Define if you have the socket library (-lsocket).  */
852 /* #undef HAVE_LIBSOCKET */
853
854 /* Define if you have the syslog library (-lsyslog).  */
855 /* #undef HAVE_LIBSYSLOG */
856
857 /* Define if you have the termcap library (-ltermcap).  */
858 #define HAVE_LIBTERMCAP 1
859
860 /* Define if you have the util library (-lutil).  */
861 #define HAVE_LIBUTIL 1
862
863 /* Name of package */
864 #define PACKAGE "krb4"
865
866 /* Version number of package */
867 #define VERSION "1.0"
868
869 /* Define to what version of SunOS you are running. */
870 /* #undef SunOS */
871
872 /* Define if you have the socks package. */
873 /* #undef SOCKS */
874
875 /* Define to enable old kdestroy behavior. */
876 /* #undef LEGACY_KDESTROY */
877
878 /* Define if you want to match subdomains. */
879 /* #undef MATCH_SUBDOMAINS */
880
881 /* Define this to be the directory where the 
882         dictionary for cracklib resides. */
883 /* #undef DICTPATH */
884
885 /* Define this to the path of the mail spool directory. */
886 /* #undef KRB4_MAILDIR */
887
888 /* Define this to the kerberos database directory. */
889 /* #undef DB_DIR */
890
891 /* Define to enable new master key code. */
892 /* #undef RANDOM_MKEY */
893
894 /* Define this to the location of the master key. */
895 /* #undef MKEYFILE */
896
897 /* Define to enable basic OSF C2 support. */
898 /* #undef HAVE_OSFC2 */
899
900 /* Define if you don't want to use mmap. */
901 /* #undef NO_MMAP */
902
903 /* Define if you don't wan't support for AFS. */
904 /* #undef NO_AFS */
905
906 /* Set this to the type of des-quad-cheksum to use. */
907 #define DES_QUAD_DEFAULT DES_QUAD_GUESS
908
909 /* Define if you have the readline package. */
910 /* #undef READLINE */
911
912 /* Define if you have the hesiod package. */
913 /* #undef HESIOD */
914
915 /* define if your compiler has __attribute__ */
916 #define HAVE___ATTRIBUTE__ 1
917
918 /* Huh? */
919 /* #undef HAVE_STRANGE_INT8_T */
920
921 /* Define if NDBM really is DB (creates files ending in .db). */
922 #define HAVE_NEW_DB 1
923
924 /* Define if you have NDBM (and not DBM) */
925 #define NDBM 1
926
927 /* define if you have a working snprintf */
928 #define HAVE_SNPRINTF 1
929
930 /* define if the system is missing a prototype for snprintf() */
931 /* #undef NEED_SNPRINTF_PROTO */
932
933 /* define if you have a glob() that groks 
934         GLOB_BRACE, GLOB_NOCHECK, GLOB_QUOTE, and GLOB_TILDE */
935 #define HAVE_GLOB 1
936
937 /* define if the system is missing a prototype for glob() */
938 /* #undef NEED_GLOB_PROTO */
939
940 /* Define if getpwnam_r has POSIX flavour. */
941 /* #undef POSIX_GETPWNAM_R */
942
943 /* Define if getlogin has POSIX flavour (and not BSD). */
944 /* #undef POSIX_GETLOGIN */
945
946 /* define if the system is missing a prototype for hstrerror() */
947 /* #undef NEED_HSTRERROR_PROTO */
948
949 /* define if the system is missing a prototype for gethostname() */
950 /* #undef NEED_GETHOSTNAME_PROTO */
951
952 /* define if the system is missing a prototype for mkstemp() */
953 /* #undef NEED_MKSTEMP_PROTO */
954
955 /* define if the system is missing a prototype for inet_aton() */
956 /* #undef NEED_INET_ATON_PROTO */
957
958 /* Define if realloc(NULL, X) doesn't work. */
959 /* #undef BROKEN_REALLOC */
960
961 /* Define if getcwd is broken (like in SunOS 4). */
962 /* #undef BROKEN_GETCWD */
963
964 /* define if prototype of gethostbyname is compatible with
965         struct hostent *gethostbyname(const char *) */
966 #define GETHOSTBYNAME_PROTO_COMPATIBLE 1
967
968 /* define if prototype of gethostbyaddr is compatible with
969         struct hostent *gethostbyaddr(const void *, size_t, int) */
970 /* #undef GETHOSTBYADDR_PROTO_COMPATIBLE */
971
972 /* define if prototype of getservbyname is compatible with
973         struct servent *getservbyname(const char *, const char *) */
974 #define GETSERVBYNAME_PROTO_COMPATIBLE 1
975
976 /* define if prototype of openlog is compatible with
977         void openlog(const char *, int, int) */
978 #define OPENLOG_PROTO_COMPATIBLE 1
979
980 /* define if the system is missing a prototype for crypt() */
981 /* #undef NEED_CRYPT_PROTO */
982
983 /* define if the system is missing a prototype for fclose() */
984 /* #undef NEED_FCLOSE_PROTO */
985
986 /* define if the system is missing a prototype for strtok_r() */
987 /* #undef NEED_STRTOK_R_PROTO */
988
989 /* define if the system is missing a prototype for strsep() */
990 /* #undef NEED_STRSEP_PROTO */
991
992 /* define if the system is missing a prototype for getusershell() */
993 /* #undef NEED_GETUSERSHELL_PROTO */
994
995 /* define if the system is missing a prototype for utime() */
996 /* #undef NEED_UTIME_PROTO */
997
998 /* define if you have h_errno */
999 #define HAVE_H_ERRNO 1
1000
1001 /* define if your system declares h_errno */
1002 #define HAVE_H_ERRNO_DECLARATION 1
1003
1004 /* define if you have h_errlist */
1005 #define HAVE_H_ERRLIST 1
1006
1007 /* define if your system declares h_errlist */
1008 /* #undef HAVE_H_ERRLIST_DECLARATION */
1009
1010 /* define if you have h_nerr */
1011 #define HAVE_H_NERR 1
1012
1013 /* define if your system declares h_nerr */
1014 /* #undef HAVE_H_NERR_DECLARATION */
1015
1016 /* define if you have __progname */
1017 #define HAVE___PROGNAME 1
1018
1019 /* define if your system declares __progname */
1020 /* #undef HAVE___PROGNAME_DECLARATION */
1021
1022 /* define if your system declares optarg */
1023 #define HAVE_OPTARG_DECLARATION 1
1024
1025 /* define if your system declares optind */
1026 #define HAVE_OPTIND_DECLARATION 1
1027
1028 /* define if your system declares opterr */
1029 #define HAVE_OPTERR_DECLARATION 1
1030
1031 /* define if your system declares optopt */
1032 #define HAVE_OPTOPT_DECLARATION 1
1033
1034 /* define if your system declares environ */
1035 /* #undef HAVE_ENVIRON_DECLARATION */
1036
1037 /* Define if RETSIGTYPE == void. */
1038 #define VOID_RETSIGTYPE 1
1039
1040 /* Define if struct utmp has field ut_addr. */
1041 /* #undef HAVE_STRUCT_UTMP_UT_ADDR */
1042
1043 /* Define if struct utmp has field ut_host. */
1044 #define HAVE_STRUCT_UTMP_UT_HOST 1
1045
1046 /* Define if struct utmp has field ut_id. */
1047 /* #undef HAVE_STRUCT_UTMP_UT_ID */
1048
1049 /* Define if struct utmp has field ut_pid. */
1050 /* #undef HAVE_STRUCT_UTMP_UT_PID */
1051
1052 /* Define if struct utmp has field ut_type. */
1053 /* #undef HAVE_STRUCT_UTMP_UT_TYPE */
1054
1055 /* Define if struct utmp has field ut_user. */
1056 /* #undef HAVE_STRUCT_UTMP_UT_USER */
1057
1058 /* Define if struct utmpx has field ut_exit. */
1059 /* #undef HAVE_STRUCT_UTMPX_UT_EXIT */
1060
1061 /* Define if struct utmpx has field ut_syslen. */
1062 /* #undef HAVE_STRUCT_UTMPX_UT_SYSLEN */
1063
1064 /* Define if struct tm has field tm_gmtoff. */
1065 #define HAVE_STRUCT_TM_TM_GMTOFF 1
1066
1067 /* Define if struct tm has field tm_zone. */
1068 #define HAVE_STRUCT_TM_TM_ZONE 1
1069
1070 /* define if you have timezone */
1071 #define HAVE_TIMEZONE 1
1072
1073 /* define if your system declares timezone */
1074 #define HAVE_TIMEZONE_DECLARATION 1
1075
1076 /* define if you have struct spwd */
1077 /* #undef HAVE_STRUCT_SPWD */
1078
1079 /* define if struct winsize is declared in sys/termios.h */
1080 #define HAVE_STRUCT_WINSIZE 1
1081
1082 /* define if struct winsize has ws_xpixel */
1083 #define HAVE_WS_XPIXEL 1
1084
1085 /* define if struct winsize has ws_ypixel */
1086 #define HAVE_WS_YPIXEL 1
1087
1088 /* Define this to what the type ssize_t should be. */
1089 /* #undef ssize_t */
1090
1091 /* Define if struct sockaddr has field sa_len. */
1092 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
1093
1094 /* Define if SIAENTITY has field ouid. */
1095 /* #undef HAVE_SIAENTITY_OUID */
1096
1097 /* Define if you have a working getmsg. */
1098 /* #undef HAVE_GETMSG */
1099
1100 /* Define if el_init takes four arguments. */
1101 /* #undef HAVE_FOUR_VALUED_EL_INIT */
1102
1103 /* Define if you have a readline function. */
1104 #define HAVE_READLINE 1
1105
1106 /* Define if you have working stream ptys. */
1107 /* #undef STREAMSPTY */
1108
1109 /* Define if /bin/ls has a `-A' flag. */
1110 #define HAVE_LS_A 1
1111
1112
1113 #define HAVE_INT8_T 1
1114 #define HAVE_INT16_T 1
1115 #define HAVE_INT32_T 1
1116 #define HAVE_INT64_T 1
1117 #define HAVE_U_INT8_T 1
1118 #define HAVE_U_INT16_T 1
1119 #define HAVE_U_INT32_T 1
1120 #define HAVE_U_INT64_T 1
1121
1122 /* This for compat with heimdal (or something) */
1123 #define KRB_PUT_INT(f, t, l, s) krb_put_int((f), (t), (l), (s))
1124
1125 #define HAVE_KRB_ENABLE_DEBUG 1
1126
1127 #define HAVE_KRB_DISABLE_DEBUG 1
1128
1129 #define HAVE_KRB_GET_OUR_IP_FOR_REALM 1
1130
1131 #define RCSID(msg) \
1132 static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
1133
1134 /*
1135  * Set ORGANIZATION to be the desired organization string printed
1136  * by the 'kinit' program.  It may have spaces.
1137  */
1138 #define ORGANIZATION "FreeBSD Inc."
1139
1140 #if 0
1141 #define BINDIR "/usr/bin" 
1142 #define LIBDIR "/usr/lib"
1143 #define LIBEXECDIR "/usr/libexec"
1144 #define SBINDIR "/usr/sbin"
1145 #endif
1146
1147 #if 0
1148 #define KRB_CNF_FILES   { "/etc/krb.conf",   "/etc/kerberosIV/krb.conf", 0}
1149 #define KRB_RLM_FILES   { "/etc/krb.realms", "/etc/kerberosIV/krb.realms", 0}
1150 #define KRB_EQUIV       "/etc/krb.equiv"
1151
1152 #define KEYFILE         "/etc/srvtab"
1153
1154 #define KRBDIR          "/var/kerberos"
1155 #define DBM_FILE        KRBDIR "/principal"
1156 #define DEFAULT_ACL_DIR KRBDIR
1157
1158 #define KRBLOG          "/var/log/kerberos.log" /* master server  */
1159 #define KRBSLAVELOG     "/var/log/kerberos_slave.log" /* slave server  */
1160 #define KADM_SYSLOG     "/var/log/admin_server.syslog"
1161 #define K_LOGFIL        "/var/log/kpropd.log"
1162 #endif
1163
1164 /* Maximum values on all known systems */
1165 #define MaxHostNameLen (64+4)
1166 #define MaxPathLen (1024+4)
1167
1168 /* ftp stuff -------------------------------------------------- */
1169
1170 #define KERBEROS
1171
1172 /* telnet stuff ----------------------------------------------- */
1173
1174 /* define this for OTP support */
1175 /* #undef OTP */
1176
1177 /* define this if you have kerberos 4 */
1178 #define KRB4 1
1179
1180 /* define this if you want encryption */
1181 #define ENCRYPTION 1
1182
1183 /* define this if you want authentication */
1184 #define AUTHENTICATION 1
1185
1186 #if defined(ENCRYPTION) && !defined(AUTHENTICATION)
1187 #define AUTHENTICATION 1
1188 #endif
1189
1190 /* Set this if you want des encryption */
1191 #define DES_ENCRYPTION 1
1192
1193 /* Set this to the default system lead string for telnetd 
1194  * can contain %-escapes: %s=sysname, %m=machine, %r=os-release
1195  * %v=os-version, %t=tty, %h=hostname, %d=date and time
1196  */
1197 /* #undef USE_IM */
1198
1199 /* define this if you want diagnostics in telnetd */
1200 #define DIAGNOSTICS 1
1201
1202 /* define this if you want support for broken ENV_{VALUE,VAR} systems  */
1203 /* #undef ENV_HACK */
1204
1205 /*  */
1206 #define OLD_ENVIRON 1
1207
1208 /* Used with login -p */
1209 /* #undef LOGIN_ARGS */
1210
1211 /* set this to a sensible login */
1212 #ifndef LOGIN_PATH
1213 #define LOGIN_PATH BINDIR "/login"
1214 #endif
1215
1216
1217 /* ------------------------------------------------------------ */
1218
1219 #ifdef BROKEN_REALLOC
1220 #define realloc(X, Y) isoc_realloc((X), (Y))
1221 #define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
1222 #endif
1223
1224 #ifdef VOID_RETSIGTYPE
1225 #define SIGRETURN(x) return
1226 #else
1227 #define SIGRETURN(x) return (RETSIGTYPE)(x)
1228 #endif
1229
1230 /* Temporary fixes for krb_{rd,mk}_safe */
1231 #define DES_QUAD_GUESS 0
1232 #define DES_QUAD_NEW 1
1233 #define DES_QUAD_OLD 2
1234
1235 /*
1236  * All these are system-specific defines that I would rather not have at all.
1237  */
1238
1239 /*
1240  * AIX braindamage!
1241  */
1242 #if _AIX
1243 #define _ALL_SOURCE
1244 /* XXX this is gross, but kills about a gazillion warnings */
1245 struct ether_addr;
1246 struct sockaddr;
1247 struct sockaddr_dl;
1248 struct sockaddr_in;
1249 #endif
1250
1251 #if defined(__sgi) || defined(sgi)
1252 #if defined(__SYSTYPE_SVR4) || defined(_SYSTYPE_SVR4)
1253 #define IRIX 5
1254 #else
1255 #define IRIX 4
1256 #endif
1257 #endif
1258
1259 /* IRIX 4 braindamage */
1260 #if IRIX == 4 && !defined(__STDC__)
1261 #define __STDC__ 0
1262 #endif
1263
1264 /*
1265  * Defining this enables lots of useful (and used) extensions on
1266  * glibc-based systems such as Linux
1267  */
1268
1269 #define _GNU_SOURCE
1270
1271 /* some strange OS/2 stuff.  From <d96-mst@nada.kth.se> */
1272
1273 #ifdef __EMX__
1274 #define _EMX_TCPIP
1275 #define MAIL_USE_SYSTEM_LOCK
1276 #endif
1277
1278 #ifdef ROKEN_RENAME
1279 #include "roken_rename.h"
1280 #endif