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. */
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 $ */
10 /* Define if using alloca.c. */
13 /* Define to empty if the keyword does not work. */
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 */
20 /* Define to `int' if <sys/types.h> doesn't define. */
23 /* Define if you have alloca, as a function or macro. */
26 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
27 /* #undef HAVE_ALLOCA_H */
29 /* Define if you have a working `mmap' system call. */
32 /* Define if your struct stat has st_blksize. */
33 #define HAVE_ST_BLKSIZE 1
35 /* Define as __inline if that's what the C compiler calls it. */
38 /* Define to `long' if <sys/types.h> doesn't define. */
41 /* Define to `int' if <sys/types.h> doesn't define. */
44 /* Define if you need to in order for stat and other things to work. */
45 /* #undef _POSIX_SOURCE */
47 /* Define as the return type of signal handlers (int or void). */
48 #define RETSIGTYPE void
50 /* Define to `unsigned' if <sys/types.h> doesn't define. */
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
60 /* #undef STACK_DIRECTION */
62 /* Define if you have the ANSI C header files. */
63 #define STDC_HEADERS 1
65 /* Define if `sys_siglist' is declared by <signal.h>. */
66 #define SYS_SIGLIST_DECLARED 1
68 /* Define if you can safely include both <sys/time.h> and <time.h>. */
69 #define TIME_WITH_SYS_TIME 1
71 /* Define to `int' if <sys/types.h> doesn't define. */
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 */
78 /* Define if the X Window System is missing or not being used. */
79 #define X_DISPLAY_MISSING 1
81 /* Define if you have the XauFileName function. */
82 /* #undef HAVE_XAUFILENAME */
84 /* Define if you have the XauReadAuth function. */
85 /* #undef HAVE_XAUREADAUTH */
87 /* Define if you have the XauWriteAuth function. */
88 /* #undef HAVE_XAUWRITEAUTH */
90 /* Define if you have the _getpty function. */
91 /* #undef HAVE__GETPTY */
93 /* Define if you have the _scrsize function. */
94 /* #undef HAVE__SCRSIZE */
96 /* Define if you have the _setsid function. */
97 #define HAVE__SETSID 1
99 /* Define if you have the _stricmp function. */
100 /* #undef HAVE__STRICMP */
102 /* Define if you have the asnprintf function. */
103 /* #undef HAVE_ASNPRINTF */
105 /* Define if you have the asprintf function. */
106 #define HAVE_ASPRINTF 1
108 /* Define if you have the atexit function. */
109 #define HAVE_ATEXIT 1
111 /* Define if you have the cap_set_proc function. */
112 /* #undef HAVE_CAP_SET_PROC */
114 /* Define if you have the cgetent function. */
115 #define HAVE_CGETENT 1
117 /* Define if you have the chown function. */
120 /* Define if you have the chroot function. */
121 #define HAVE_CHROOT 1
123 /* Define if you have the copyhostent function. */
124 /* #undef HAVE_COPYHOSTENT */
126 /* Define if you have the crypt function. */
129 /* Define if you have the daemon function. */
130 #define HAVE_DAEMON 1
132 /* Define if you have the dlopen function. */
133 /* #undef HAVE_DLOPEN */
135 /* Define if you have the dn_expand function. */
136 #define HAVE_DN_EXPAND 1
138 /* Define if you have the el_init function. */
139 #define HAVE_EL_INIT 1
141 /* Define if you have the err function. */
144 /* Define if you have the errx function. */
147 /* Define if you have the fattach function. */
148 /* #undef HAVE_FATTACH */
150 /* Define if you have the fchmod function. */
151 #define HAVE_FCHMOD 1
153 /* Define if you have the fchown function. */
154 #define HAVE_FCHOWN 1
156 /* Define if you have the fcntl function. */
159 /* Define if you have the flock function. */
162 /* Define if you have the fnmatch function. */
163 #define HAVE_FNMATCH 1
165 /* Define if you have the forkpty function. */
166 #define HAVE_FORKPTY 1
168 /* Define if you have the freehostent function. */
169 #define HAVE_FREEHOSTENT 1
171 /* Define if you have the frevoke function. */
172 /* #undef HAVE_FREVOKE */
174 /* Define if you have the getattr function. */
175 /* #undef HAVE_GETATTR */
177 /* Define if you have the getcwd function. */
178 #define HAVE_GETCWD 1
180 /* Define if you have the getdtablesize function. */
181 #define HAVE_GETDTABLESIZE 1
183 /* Define if you have the getegid function. */
184 #define HAVE_GETEGID 1
186 /* Define if you have the geteuid function. */
187 #define HAVE_GETEUID 1
189 /* Define if you have the getgid function. */
190 #define HAVE_GETGID 1
192 /* Define if you have the gethostbyname function. */
193 #define HAVE_GETHOSTBYNAME 1
195 /* Define if you have the gethostname function. */
196 #define HAVE_GETHOSTNAME 1
198 /* Define if you have the getipnodebyaddr function. */
199 #define HAVE_GETIPNODEBYADDR 1
201 /* Define if you have the getipnodebyname function. */
202 #define HAVE_GETIPNODEBYNAME 1
204 /* Define if you have the getlogin function. */
205 #define HAVE_GETLOGIN 1
207 /* Define if you have the getmsg function. */
208 /* #undef HAVE_GETMSG */
210 /* Define if you have the getopt function. */
211 #define HAVE_GETOPT 1
213 /* Define if you have the getpagesize function. */
214 #define HAVE_GETPAGESIZE 1
216 /* Define if you have the getpriority function. */
217 #define HAVE_GETPRIORITY 1
219 /* Define if you have the getpwnam_r function. */
220 /* #undef HAVE_GETPWNAM_R */
222 /* Define if you have the getrlimit function. */
223 #define HAVE_GETRLIMIT 1
225 /* Define if you have the getservbyname function. */
226 #define HAVE_GETSERVBYNAME 1
228 /* Define if you have the getsockopt function. */
229 #define HAVE_GETSOCKOPT 1
231 /* Define if you have the getspnam function. */
232 /* #undef HAVE_GETSPNAM */
234 /* Define if you have the gettimeofday function. */
235 #define HAVE_GETTIMEOFDAY 1
237 /* Define if you have the gettosbyname function. */
238 /* #undef HAVE_GETTOSBYNAME */
240 /* Define if you have the getudbnam function. */
241 /* #undef HAVE_GETUDBNAM */
243 /* Define if you have the getuid function. */
244 #define HAVE_GETUID 1
246 /* Define if you have the getusershell function. */
247 #define HAVE_GETUSERSHELL 1
249 /* Define if you have the grantpt function. */
250 /* #undef HAVE_GRANTPT */
252 /* Define if you have the hstrerror function. */
253 #define HAVE_HSTRERROR 1
255 /* Define if you have the inet_aton function. */
256 #define HAVE_INET_ATON 1
258 /* Define if you have the inet_ntop function. */
259 #define HAVE_INET_NTOP 1
261 /* Define if you have the inet_pton function. */
262 #define HAVE_INET_PTON 1
264 /* Define if you have the initgroups function. */
265 #define HAVE_INITGROUPS 1
267 /* Define if you have the innetgr function. */
268 #define HAVE_INNETGR 1
270 /* Define if you have the iruserok function. */
271 #define HAVE_IRUSEROK 1
273 /* Define if you have the logout function. */
274 #define HAVE_LOGOUT 1
276 /* Define if you have the logwtmp function. */
277 #define HAVE_LOGWTMP 1
279 /* Define if you have the lstat function. */
282 /* Define if you have the memmove function. */
283 #define HAVE_MEMMOVE 1
285 /* Define if you have the mkstemp function. */
286 #define HAVE_MKSTEMP 1
288 /* Define if you have the mktime function. */
289 #define HAVE_MKTIME 1
291 /* Define if you have the odm_initialize function. */
292 /* #undef HAVE_ODM_INITIALIZE */
294 /* Define if you have the on_exit function. */
295 /* #undef HAVE_ON_EXIT */
297 /* Define if you have the parsetos function. */
298 /* #undef HAVE_PARSETOS */
300 /* Define if you have the ptsname function. */
301 /* #undef HAVE_PTSNAME */
303 /* Define if you have the putenv function. */
304 #define HAVE_PUTENV 1
306 /* Define if you have the rand function. */
309 /* Define if you have the random function. */
310 #define HAVE_RANDOM 1
312 /* Define if you have the rcmd function. */
315 /* Define if you have the readline function. */
316 #define HAVE_READLINE 1
318 /* Define if you have the readv function. */
321 /* Define if you have the recvmsg function. */
322 #define HAVE_RECVMSG 1
324 /* Define if you have the res_search function. */
325 #define HAVE_RES_SEARCH 1
327 /* Define if you have the revoke function. */
328 #define HAVE_REVOKE 1
330 /* Define if you have the sa_family_t function. */
331 #define HAVE_SA_FAMILY_T 1
333 /* Define if you have the sendmsg function. */
334 #define HAVE_SENDMSG 1
336 /* Define if you have the setegid function. */
337 #define HAVE_SETEGID 1
339 /* Define if you have the setenv function. */
340 #define HAVE_SETENV 1
342 /* Define if you have the seteuid function. */
343 #define HAVE_SETEUID 1
345 /* Define if you have the setitimer function. */
346 #define HAVE_SETITIMER 1
348 /* Define if you have the setlim function. */
349 /* #undef HAVE_SETLIM */
351 /* Define if you have the setlogin function. */
352 #define HAVE_SETLOGIN 1
354 /* Define if you have the setpcred function. */
355 /* #undef HAVE_SETPCRED */
357 /* Define if you have the setpgid function. */
358 #define HAVE_SETPGID 1
360 /* Define if you have the setpriority function. */
361 #define HAVE_SETPRIORITY 1
363 /* Define if you have the setproctitle function. */
364 #define HAVE_SETPROCTITLE 1
366 /* Define if you have the setregid function. */
367 #define HAVE_SETREGID 1
369 /* Define if you have the setresgid function. */
370 /* #undef HAVE_SETRESGID */
372 /* Define if you have the setresuid function. */
373 /* #undef HAVE_SETRESUID */
375 /* Define if you have the setreuid function. */
376 #define HAVE_SETREUID 1
378 /* Define if you have the setsid function. */
379 #define HAVE_SETSID 1
381 /* Define if you have the setsockopt function. */
382 #define HAVE_SETSOCKOPT 1
384 /* Define if you have the setutent function. */
385 /* #undef HAVE_SETUTENT */
387 /* Define if you have the sgi_getcapabilitybyname function. */
388 /* #undef HAVE_SGI_GETCAPABILITYBYNAME */
390 /* Define if you have the sigaction function. */
391 #define HAVE_SIGACTION 1
393 /* Define if you have the socket function. */
394 #define HAVE_SOCKET 1
396 /* Define if you have the strcasecmp function. */
397 #define HAVE_STRCASECMP 1
399 /* Define if you have the strdup function. */
400 #define HAVE_STRDUP 1
402 /* Define if you have the strerror function. */
403 #define HAVE_STRERROR 1
405 /* Define if you have the strftime function. */
406 #define HAVE_STRFTIME 1
408 /* Define if you have the strlcat function. */
409 #define HAVE_STRLCAT 1
411 /* Define if you have the strlcpy function. */
412 #define HAVE_STRLCPY 1
414 /* Define if you have the strlwr function. */
415 /* #undef HAVE_STRLWR */
417 /* Define if you have the strncasecmp function. */
418 #define HAVE_STRNCASECMP 1
420 /* Define if you have the strndup function. */
421 /* #undef HAVE_STRNDUP */
423 /* Define if you have the strnlen function. */
424 /* #undef HAVE_STRNLEN */
426 /* Define if you have the strptime function. */
427 #define HAVE_STRPTIME 1
429 /* Define if you have the strsep function. */
430 #define HAVE_STRSEP 1
432 /* Define if you have the strtok_r function. */
433 #define HAVE_STRTOK_R 1
435 /* Define if you have the struct_sockaddr_storage function. */
436 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
438 /* Define if you have the strupr function. */
439 /* #undef HAVE_STRUPR */
441 /* Define if you have the swab function. */
444 /* Define if you have the sysconf function. */
445 #define HAVE_SYSCONF 1
447 /* Define if you have the sysctl function. */
448 #define HAVE_SYSCTL 1
450 /* Define if you have the syslog function. */
451 #define HAVE_SYSLOG 1
453 /* Define if you have the tgetent function. */
454 #define HAVE_TGETENT 1
456 /* Define if you have the ttyname function. */
457 #define HAVE_TTYNAME 1
459 /* Define if you have the ttyslot function. */
460 #define HAVE_TTYSLOT 1
462 /* Define if you have the ulimit function. */
463 /* #undef HAVE_ULIMIT */
465 /* Define if you have the uname function. */
468 /* Define if you have the unlockpt function. */
469 /* #undef HAVE_UNLOCKPT */
471 /* Define if you have the unsetenv function. */
472 #define HAVE_UNSETENV 1
474 /* Define if you have the vasnprintf function. */
475 /* #undef HAVE_VASNPRINTF */
477 /* Define if you have the vasprintf function. */
478 #define HAVE_VASPRINTF 1
480 /* Define if you have the verr function. */
483 /* Define if you have the verrx function. */
486 /* Define if you have the vhangup function. */
487 /* #undef HAVE_VHANGUP */
489 /* Define if you have the vsnprintf function. */
490 #define HAVE_VSNPRINTF 1
492 /* Define if you have the vsyslog function. */
493 #define HAVE_VSYSLOG 1
495 /* Define if you have the vwarn function. */
498 /* Define if you have the vwarnx function. */
499 #define HAVE_VWARNX 1
501 /* Define if you have the warn function. */
504 /* Define if you have the warnx function. */
507 /* Define if you have the writev function. */
508 #define HAVE_WRITEV 1
510 /* Define if you have the yp_get_default_domain function. */
511 #define HAVE_YP_GET_DEFAULT_DOMAIN 1
513 /* Define if you have the <arpa/ftp.h> header file. */
514 #define HAVE_ARPA_FTP_H 1
516 /* Define if you have the <arpa/inet.h> header file. */
517 #define HAVE_ARPA_INET_H 1
519 /* Define if you have the <arpa/nameser.h> header file. */
520 #define HAVE_ARPA_NAMESER_H 1
522 /* Define if you have the <arpa/telnet.h> header file. */
523 #define HAVE_ARPA_TELNET_H 1
525 /* Define if you have the <bsd/bsd.h> header file. */
526 /* #undef HAVE_BSD_BSD_H */
528 /* Define if you have the <bsdsetjmp.h> header file. */
529 /* #undef HAVE_BSDSETJMP_H */
531 /* Define if you have the <capability.h> header file. */
532 /* #undef HAVE_CAPABILITY_H */
534 /* Define if you have the <crypt.h> header file. */
535 /* #undef HAVE_CRYPT_H */
537 /* Define if you have the <curses.h> header file. */
538 #define HAVE_CURSES_H 1
540 /* Define if you have the <db.h> header file. */
543 /* Define if you have the <dbm.h> header file. */
544 /* #undef HAVE_DBM_H */
546 /* Define if you have the <dirent.h> header file. */
547 #define HAVE_DIRENT_H 1
549 /* Define if you have the <err.h> header file. */
552 /* Define if you have the <errno.h> header file. */
553 #define HAVE_ERRNO_H 1
555 /* Define if you have the <fcntl.h> header file. */
556 #define HAVE_FCNTL_H 1
558 /* Define if you have the <fnmatch.h> header file. */
559 #define HAVE_FNMATCH_H 1
561 /* Define if you have the <grp.h> header file. */
564 /* Define if you have the <inttypes.h> header file. */
565 #define HAVE_INTTYPES_H 1
567 /* Define if you have the <io.h> header file. */
568 /* #undef HAVE_IO_H */
570 /* Define if you have the <lastlog.h> header file. */
571 /* #undef HAVE_LASTLOG_H */
573 /* Define if you have the <libutil.h> header file. */
574 #define HAVE_LIBUTIL_H 1
576 /* Define if you have the <limits.h> header file. */
577 #define HAVE_LIMITS_H 1
579 /* Define if you have the <login.h> header file. */
580 /* #undef HAVE_LOGIN_H */
582 /* Define if you have the <maillock.h> header file. */
583 /* #undef HAVE_MAILLOCK_H */
585 /* Define if you have the <ndbm.h> header file. */
586 #define HAVE_NDBM_H 1
588 /* Define if you have the <net/if.h> header file. */
589 #define HAVE_NET_IF_H 1
591 /* Define if you have the <net/if_tun.h> header file. */
592 #define HAVE_NET_IF_TUN_H 1
594 /* Define if you have the <net/if_var.h> header file. */
595 #define HAVE_NET_IF_VAR_H 1
597 /* Define if you have the <netdb.h> header file. */
598 #define HAVE_NETDB_H 1
600 /* Define if you have the <netinet/in.h> header file. */
601 #define HAVE_NETINET_IN_H 1
603 /* Define if you have the <netinet/in6_machtypes.h> header file. */
604 /* #undef HAVE_NETINET_IN6_MACHTYPES_H */
606 /* Define if you have the <netinet/in_systm.h> header file. */
607 #define HAVE_NETINET_IN_SYSTM_H 1
609 /* Define if you have the <netinet/ip.h> header file. */
610 #define HAVE_NETINET_IP_H 1
612 /* Define if you have the <netinet/tcp.h> header file. */
613 #define HAVE_NETINET_TCP_H 1
615 /* Define if you have the <paths.h> header file. */
616 #define HAVE_PATHS_H 1
618 /* Define if you have the <pty.h> header file. */
619 /* #undef HAVE_PTY_H */
621 /* Define if you have the <pwd.h> header file. */
624 /* Define if you have the <resolv.h> header file. */
625 #define HAVE_RESOLV_H 1
627 /* Define if you have the <rpcsvc/dbm.h> header file. */
628 /* #undef HAVE_RPCSVC_DBM_H */
630 /* Define if you have the <rpcsvc/ypclnt.h> header file. */
631 #define HAVE_RPCSVC_YPCLNT_H 1
633 /* Define if you have the <sac.h> header file. */
634 /* #undef HAVE_SAC_H */
636 /* Define if you have the <security/pam_modules.h> header file. */
637 #define HAVE_SECURITY_PAM_MODULES_H 1
639 /* Define if you have the <shadow.h> header file. */
640 /* #undef HAVE_SHADOW_H */
642 /* Define if you have the <siad.h> header file. */
643 /* #undef HAVE_SIAD_H */
645 /* Define if you have the <signal.h> header file. */
646 #define HAVE_SIGNAL_H 1
648 /* Define if you have the <standards.h> header file. */
649 /* #undef HAVE_STANDARDS_H */
651 /* Define if you have the <stropts.h> header file. */
652 /* #undef HAVE_STROPTS_H */
654 /* Define if you have the <sys/bitypes.h> header file. */
655 /* #undef HAVE_SYS_BITYPES_H */
657 /* Define if you have the <sys/capability.h> header file. */
658 /* #undef HAVE_SYS_CAPABILITY_H */
660 /* Define if you have the <sys/category.h> header file. */
661 /* #undef HAVE_SYS_CATEGORY_H */
663 /* Define if you have the <sys/file.h> header file. */
664 #define HAVE_SYS_FILE_H 1
666 /* Define if you have the <sys/filio.h> header file. */
667 #define HAVE_SYS_FILIO_H 1
669 /* Define if you have the <sys/ioccom.h> header file. */
670 #define HAVE_SYS_IOCCOM_H 1
672 /* Define if you have the <sys/ioctl.h> header file. */
673 #define HAVE_SYS_IOCTL_H 1
675 /* Define if you have the <sys/locking.h> header file. */
676 /* #undef HAVE_SYS_LOCKING_H */
678 /* Define if you have the <sys/mman.h> header file. */
679 #define HAVE_SYS_MMAN_H 1
681 /* Define if you have the <sys/param.h> header file. */
682 #define HAVE_SYS_PARAM_H 1
684 /* Define if you have the <sys/proc.h> header file. */
685 #define HAVE_SYS_PROC_H 1
687 /* Define if you have the <sys/pty.h> header file. */
688 /* #undef HAVE_SYS_PTY_H */
690 /* Define if you have the <sys/ptyio.h> header file. */
691 /* #undef HAVE_SYS_PTYIO_H */
693 /* Define if you have the <sys/ptyvar.h> header file. */
694 /* #undef HAVE_SYS_PTYVAR_H */
696 /* Define if you have the <sys/resource.h> header file. */
697 #define HAVE_SYS_RESOURCE_H 1
699 /* Define if you have the <sys/select.h> header file. */
700 #define HAVE_SYS_SELECT_H 1
702 /* Define if you have the <sys/socket.h> header file. */
703 #define HAVE_SYS_SOCKET_H 1
705 /* Define if you have the <sys/sockio.h> header file. */
706 #define HAVE_SYS_SOCKIO_H 1
708 /* Define if you have the <sys/stat.h> header file. */
709 #define HAVE_SYS_STAT_H 1
711 /* Define if you have the <sys/str_tty.h> header file. */
712 /* #undef HAVE_SYS_STR_TTY_H */
714 /* Define if you have the <sys/stream.h> header file. */
715 /* #undef HAVE_SYS_STREAM_H */
717 /* Define if you have the <sys/stropts.h> header file. */
718 /* #undef HAVE_SYS_STROPTS_H */
720 /* Define if you have the <sys/strtty.h> header file. */
721 /* #undef HAVE_SYS_STRTTY_H */
723 /* Define if you have the <sys/syscall.h> header file. */
724 #define HAVE_SYS_SYSCALL_H 1
726 /* Define if you have the <sys/sysctl.h> header file. */
727 #define HAVE_SYS_SYSCTL_H 1
729 /* Define if you have the <sys/termio.h> header file. */
730 /* #undef HAVE_SYS_TERMIO_H */
732 /* Define if you have the <sys/time.h> header file. */
733 #define HAVE_SYS_TIME_H 1
735 /* Define if you have the <sys/timeb.h> header file. */
736 #define HAVE_SYS_TIMEB_H 1
738 /* Define if you have the <sys/times.h> header file. */
739 #define HAVE_SYS_TIMES_H 1
741 /* Define if you have the <sys/tty.h> header file. */
742 #define HAVE_SYS_TTY_H 1
744 /* Define if you have the <sys/types.h> header file. */
745 #define HAVE_SYS_TYPES_H 1
747 /* Define if you have the <sys/uio.h> header file. */
748 #define HAVE_SYS_UIO_H 1
750 /* Define if you have the <sys/un.h> header file. */
751 #define HAVE_SYS_UN_H 1
753 /* Define if you have the <sys/utsname.h> header file. */
754 #define HAVE_SYS_UTSNAME_H 1
756 /* Define if you have the <sys/wait.h> header file. */
757 #define HAVE_SYS_WAIT_H 1
759 /* Define if you have the <syslog.h> header file. */
760 #define HAVE_SYSLOG_H 1
762 /* Define if you have the <term.h> header file. */
763 #define HAVE_TERM_H 1
765 /* Define if you have the <termcap.h> header file. */
766 #define HAVE_TERMCAP_H 1
768 /* Define if you have the <termio.h> header file. */
769 /* #undef HAVE_TERMIO_H */
771 /* Define if you have the <termios.h> header file. */
772 #define HAVE_TERMIOS_H 1
774 /* Define if you have the <tmpdir.h> header file. */
775 /* #undef HAVE_TMPDIR_H */
777 /* Define if you have the <ttyent.h> header file. */
778 #define HAVE_TTYENT_H 1
780 /* Define if you have the <udb.h> header file. */
781 /* #undef HAVE_UDB_H */
783 /* Define if you have the <ulimit.h> header file. */
784 /* #undef HAVE_ULIMIT_H */
786 /* Define if you have the <unistd.h> header file. */
787 #define HAVE_UNISTD_H 1
789 /* Define if you have the <userpw.h> header file. */
790 /* #undef HAVE_USERPW_H */
792 /* Define if you have the <usersec.h> header file. */
793 /* #undef HAVE_USERSEC_H */
795 /* Define if you have the <util.h> header file. */
796 /* #undef HAVE_UTIL_H */
798 /* Define if you have the <utime.h> header file. */
799 #define HAVE_UTIME_H 1
801 /* Define if you have the <utmp.h> header file. */
802 #define HAVE_UTMP_H 1
804 /* Define if you have the <utmpx.h> header file. */
805 /* #undef HAVE_UTMPX_H */
807 /* Define if you have the <wait.h> header file. */
808 /* #undef HAVE_WAIT_H */
810 /* Define if you have the X11 library (-lX11). */
811 /* #undef HAVE_LIBX11 */
813 /* Define if you have the Xau library (-lXau). */
814 /* #undef HAVE_LIBXAU */
816 /* Define if you have the c_r library (-lc_r). */
817 /* #undef HAVE_LIBC_R */
819 /* Define if you have the cfg library (-lcfg). */
820 /* #undef HAVE_LIBCFG */
822 /* Define if you have the crypt library (-lcrypt). */
823 #define HAVE_LIBCRYPT 1
825 /* Define if you have the curses library (-lcurses). */
826 /* #undef HAVE_LIBCURSES */
828 /* Define if you have the dl library (-ldl). */
829 /* #undef HAVE_LIBDL */
831 /* Define if you have the edit library (-ledit). */
832 #define HAVE_LIBEDIT 1
834 /* Define if you have the ncurses library (-lncurses). */
835 /* #undef HAVE_LIBNCURSES */
837 /* Define if you have the nsl library (-lnsl). */
838 /* #undef HAVE_LIBNSL */
840 /* Define if you have the odm library (-lodm). */
841 /* #undef HAVE_LIBODM */
843 /* Define if you have the readline library (-lreadline). */
844 #define HAVE_LIBREADLINE 1
846 /* Define if you have the resolv library (-lresolv). */
847 /* #undef HAVE_LIBRESOLV */
849 /* Define if you have the s library (-ls). */
850 /* #undef HAVE_LIBS */
852 /* Define if you have the socket library (-lsocket). */
853 /* #undef HAVE_LIBSOCKET */
855 /* Define if you have the syslog library (-lsyslog). */
856 /* #undef HAVE_LIBSYSLOG */
858 /* Define if you have the termcap library (-ltermcap). */
859 #define HAVE_LIBTERMCAP 1
861 /* Define if you have the util library (-lutil). */
862 #define HAVE_LIBUTIL 1
864 /* Name of package */
865 #define PACKAGE "krb4"
867 /* Version number of package */
868 #define VERSION "1.0"
870 /* Define to what version of SunOS you are running. */
873 /* Define if you have the socks package. */
876 /* Define to enable old kdestroy behavior. */
877 /* #undef LEGACY_KDESTROY */
879 /* Define if you want to match subdomains. */
880 /* #undef MATCH_SUBDOMAINS */
882 /* Define this to be the directory where the
883 dictionary for cracklib resides. */
884 /* #undef DICTPATH */
886 /* Define this to the path of the mail spool directory. */
887 /* #undef KRB4_MAILDIR */
889 /* Define this to the kerberos database directory. */
892 /* Define to enable new master key code. */
893 /* #undef RANDOM_MKEY */
895 /* Define this to the location of the master key. */
896 /* #undef MKEYFILE */
898 /* Define to enable basic OSF C2 support. */
899 /* #undef HAVE_OSFC2 */
901 /* Define if you don't want to use mmap. */
904 /* Define if you don't wan't support for AFS. */
907 /* Set this to the type of des-quad-cheksum to use. */
908 #define DES_QUAD_DEFAULT DES_QUAD_GUESS
910 /* Define if you have the readline package. */
911 /* #undef READLINE */
913 /* Define if you have the hesiod package. */
916 /* define if your compiler has __attribute__ */
917 #define HAVE___ATTRIBUTE__ 1
920 /* #undef HAVE_STRANGE_INT8_T */
922 /* Define if NDBM really is DB (creates files ending in .db). */
923 #define HAVE_NEW_DB 1
925 /* Define if you have NDBM (and not DBM) */
928 /* define if you have a working snprintf */
929 #define HAVE_SNPRINTF 1
931 /* define if the system is missing a prototype for snprintf() */
932 /* #undef NEED_SNPRINTF_PROTO */
934 /* define if you have a glob() that groks
935 GLOB_BRACE, GLOB_NOCHECK, GLOB_QUOTE, and GLOB_TILDE */
938 /* define if the system is missing a prototype for glob() */
939 /* #undef NEED_GLOB_PROTO */
941 /* Define if getpwnam_r has POSIX flavour. */
942 /* #undef POSIX_GETPWNAM_R */
944 /* Define if getlogin has POSIX flavour (and not BSD). */
945 /* #undef POSIX_GETLOGIN */
947 /* define if the system is missing a prototype for hstrerror() */
948 /* #undef NEED_HSTRERROR_PROTO */
950 /* define if the system is missing a prototype for gethostname() */
951 /* #undef NEED_GETHOSTNAME_PROTO */
953 /* define if the system is missing a prototype for mkstemp() */
954 /* #undef NEED_MKSTEMP_PROTO */
956 /* define if the system is missing a prototype for inet_aton() */
957 /* #undef NEED_INET_ATON_PROTO */
959 /* Define if realloc(NULL, X) doesn't work. */
960 /* #undef BROKEN_REALLOC */
962 /* Define if getcwd is broken (like in SunOS 4). */
963 /* #undef BROKEN_GETCWD */
965 /* define if prototype of gethostbyname is compatible with
966 struct hostent *gethostbyname(const char *) */
967 #define GETHOSTBYNAME_PROTO_COMPATIBLE 1
969 /* define if prototype of gethostbyaddr is compatible with
970 struct hostent *gethostbyaddr(const void *, size_t, int) */
971 /* #undef GETHOSTBYADDR_PROTO_COMPATIBLE */
973 /* define if prototype of getservbyname is compatible with
974 struct servent *getservbyname(const char *, const char *) */
975 #define GETSERVBYNAME_PROTO_COMPATIBLE 1
977 /* define if prototype of openlog is compatible with
978 void openlog(const char *, int, int) */
979 #define OPENLOG_PROTO_COMPATIBLE 1
981 /* define if the system is missing a prototype for crypt() */
982 /* #undef NEED_CRYPT_PROTO */
984 /* define if the system is missing a prototype for fclose() */
985 /* #undef NEED_FCLOSE_PROTO */
987 /* define if the system is missing a prototype for strtok_r() */
988 /* #undef NEED_STRTOK_R_PROTO */
990 /* define if the system is missing a prototype for strsep() */
991 /* #undef NEED_STRSEP_PROTO */
993 /* define if the system is missing a prototype for getusershell() */
994 /* #undef NEED_GETUSERSHELL_PROTO */
996 /* define if the system is missing a prototype for utime() */
997 /* #undef NEED_UTIME_PROTO */
999 /* define if you have h_errno */
1000 #define HAVE_H_ERRNO 1
1002 /* define if your system declares h_errno */
1003 #define HAVE_H_ERRNO_DECLARATION 1
1005 /* define if you have h_errlist */
1006 #define HAVE_H_ERRLIST 1
1008 /* define if your system declares h_errlist */
1009 /* #undef HAVE_H_ERRLIST_DECLARATION */
1011 /* define if you have h_nerr */
1012 #define HAVE_H_NERR 1
1014 /* define if your system declares h_nerr */
1015 /* #undef HAVE_H_NERR_DECLARATION */
1017 /* define if you have __progname */
1018 #define HAVE___PROGNAME 1
1020 /* define if your system declares __progname */
1021 /* #undef HAVE___PROGNAME_DECLARATION */
1023 /* define if your system declares optarg */
1024 #define HAVE_OPTARG_DECLARATION 1
1026 /* define if your system declares optind */
1027 #define HAVE_OPTIND_DECLARATION 1
1029 /* define if your system declares opterr */
1030 #define HAVE_OPTERR_DECLARATION 1
1032 /* define if your system declares optopt */
1033 #define HAVE_OPTOPT_DECLARATION 1
1035 /* define if your system declares environ */
1036 /* #undef HAVE_ENVIRON_DECLARATION */
1038 /* Define if RETSIGTYPE == void. */
1039 #define VOID_RETSIGTYPE 1
1041 /* Define if struct utmp has field ut_addr. */
1042 /* #undef HAVE_STRUCT_UTMP_UT_ADDR */
1044 /* Define if struct utmp has field ut_host. */
1045 #define HAVE_STRUCT_UTMP_UT_HOST 1
1047 /* Define if struct utmp has field ut_id. */
1048 /* #undef HAVE_STRUCT_UTMP_UT_ID */
1050 /* Define if struct utmp has field ut_pid. */
1051 /* #undef HAVE_STRUCT_UTMP_UT_PID */
1053 /* Define if struct utmp has field ut_type. */
1054 /* #undef HAVE_STRUCT_UTMP_UT_TYPE */
1056 /* Define if struct utmp has field ut_user. */
1057 /* #undef HAVE_STRUCT_UTMP_UT_USER */
1059 /* Define if struct utmpx has field ut_exit. */
1060 /* #undef HAVE_STRUCT_UTMPX_UT_EXIT */
1062 /* Define if struct utmpx has field ut_syslen. */
1063 /* #undef HAVE_STRUCT_UTMPX_UT_SYSLEN */
1065 /* Define if struct tm has field tm_gmtoff. */
1066 #define HAVE_STRUCT_TM_TM_GMTOFF 1
1068 /* Define if struct tm has field tm_zone. */
1069 #define HAVE_STRUCT_TM_TM_ZONE 1
1071 /* define if you have timezone */
1072 #define HAVE_TIMEZONE 1
1074 /* define if your system declares timezone */
1075 #define HAVE_TIMEZONE_DECLARATION 1
1077 /* define if you have struct spwd */
1078 /* #undef HAVE_STRUCT_SPWD */
1080 /* define if struct winsize is declared in sys/termios.h */
1081 #define HAVE_STRUCT_WINSIZE 1
1083 /* define if struct winsize has ws_xpixel */
1084 #define HAVE_WS_XPIXEL 1
1086 /* define if struct winsize has ws_ypixel */
1087 #define HAVE_WS_YPIXEL 1
1089 /* Define this to what the type ssize_t should be. */
1090 /* #undef ssize_t */
1092 /* Define if struct sockaddr has field sa_len. */
1093 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
1095 /* Define if SIAENTITY has field ouid. */
1096 /* #undef HAVE_SIAENTITY_OUID */
1098 /* Define if you have a working getmsg. */
1099 /* #undef HAVE_GETMSG */
1101 /* Define if el_init takes four arguments. */
1102 /* #undef HAVE_FOUR_VALUED_EL_INIT */
1104 /* Define if you have a readline function. */
1105 #define HAVE_READLINE 1
1107 /* Define if you have working stream ptys. */
1108 /* #undef STREAMSPTY */
1110 /* Define if /bin/ls has a `-A' flag. */
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
1123 /* This for compat with heimdal (or something) */
1124 #define KRB_PUT_INT(f, t, l, s) krb_put_int((f), (t), (l), (s))
1126 #define HAVE_KRB_ENABLE_DEBUG 1
1128 #define HAVE_KRB_DISABLE_DEBUG 1
1130 #define HAVE_KRB_GET_OUR_IP_FOR_REALM 1
1132 #define RCSID(msg) \
1133 static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
1136 * Set ORGANIZATION to be the desired organization string printed
1137 * by the 'kinit' program. It may have spaces.
1139 #define ORGANIZATION "FreeBSD Inc."
1142 #define BINDIR "/usr/bin"
1143 #define LIBDIR "/usr/lib"
1144 #define LIBEXECDIR "/usr/libexec"
1145 #define SBINDIR "/usr/sbin"
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"
1153 #define KEYFILE "/etc/srvtab"
1155 #define KRBDIR "/var/kerberos"
1156 #define DBM_FILE KRBDIR "/principal"
1157 #define DEFAULT_ACL_DIR KRBDIR
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"
1165 /* Maximum values on all known systems */
1166 #define MaxHostNameLen (64+4)
1167 #define MaxPathLen (1024+4)
1169 /* ftp stuff -------------------------------------------------- */
1173 /* telnet stuff ----------------------------------------------- */
1175 /* define this for OTP support */
1178 /* define this if you have kerberos 4 */
1181 /* define this if you want encryption */
1182 #define ENCRYPTION 1
1184 /* define this if you want authentication */
1185 #define AUTHENTICATION 1
1187 #if defined(ENCRYPTION) && !defined(AUTHENTICATION)
1188 #define AUTHENTICATION 1
1191 /* Set this if you want des encryption */
1192 #define DES_ENCRYPTION 1
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
1200 /* define this if you want diagnostics in telnetd */
1201 #define DIAGNOSTICS 1
1203 /* define this if you want support for broken ENV_{VALUE,VAR} systems */
1204 /* #undef ENV_HACK */
1207 #define OLD_ENVIRON 1
1209 /* Used with login -p */
1210 /* #undef LOGIN_ARGS */
1212 /* set this to a sensible login */
1214 #define LOGIN_PATH BINDIR "/login"
1218 /* ------------------------------------------------------------ */
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))
1225 #ifdef VOID_RETSIGTYPE
1226 #define SIGRETURN(x) return
1228 #define SIGRETURN(x) return (RETSIGTYPE)(x)
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
1237 * All these are system-specific defines that I would rather not have at all.
1245 /* XXX this is gross, but kills about a gazillion warnings */
1252 #if defined(__sgi) || defined(sgi)
1253 #if defined(__SYSTYPE_SVR4) || defined(_SYSTYPE_SVR4)
1260 /* IRIX 4 braindamage */
1261 #if IRIX == 4 && !defined(__STDC__)
1266 * Defining this enables lots of useful (and used) extensions on
1267 * glibc-based systems such as Linux
1272 /* some strange OS/2 stuff. From <d96-mst@nada.kth.se> */
1276 #define MAIL_USE_SYSTEM_LOCK
1280 #include "roken_rename.h"