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