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 $ */
9 /* Define if using alloca.c. */
12 /* Define to empty if the keyword does not work. */
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 */
19 /* Define to `int' if <sys/types.h> doesn't define. */
22 /* Define if you have alloca, as a function or macro. */
25 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
26 /* #undef HAVE_ALLOCA_H */
28 /* Define if you have a working `mmap' system call. */
31 /* Define if your struct stat has st_blksize. */
32 #define HAVE_ST_BLKSIZE 1
34 /* Define as __inline if that's what the C compiler calls it. */
37 /* Define to `long' if <sys/types.h> doesn't define. */
40 /* Define to `int' if <sys/types.h> doesn't define. */
43 /* Define if you need to in order for stat and other things to work. */
44 /* #undef _POSIX_SOURCE */
46 /* Define as the return type of signal handlers (int or void). */
47 #define RETSIGTYPE void
49 /* Define to `unsigned' if <sys/types.h> doesn't define. */
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
59 /* #undef STACK_DIRECTION */
61 /* Define if you have the ANSI C header files. */
62 #define STDC_HEADERS 1
64 /* Define if `sys_siglist' is declared by <signal.h>. */
65 #define SYS_SIGLIST_DECLARED 1
67 /* Define if you can safely include both <sys/time.h> and <time.h>. */
68 #define TIME_WITH_SYS_TIME 1
70 /* Define to `int' if <sys/types.h> doesn't define. */
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 */
77 /* Define if the X Window System is missing or not being used. */
78 #define X_DISPLAY_MISSING 1
80 /* Define if you have the XauFileName function. */
81 /* #undef HAVE_XAUFILENAME */
83 /* Define if you have the XauReadAuth function. */
84 /* #undef HAVE_XAUREADAUTH */
86 /* Define if you have the XauWriteAuth function. */
87 /* #undef HAVE_XAUWRITEAUTH */
89 /* Define if you have the _getpty function. */
90 /* #undef HAVE__GETPTY */
92 /* Define if you have the _scrsize function. */
93 /* #undef HAVE__SCRSIZE */
95 /* Define if you have the _setsid function. */
96 #define HAVE__SETSID 1
98 /* Define if you have the _stricmp function. */
99 /* #undef HAVE__STRICMP */
101 /* Define if you have the asnprintf function. */
102 /* #undef HAVE_ASNPRINTF */
104 /* Define if you have the asprintf function. */
105 #define HAVE_ASPRINTF 1
107 /* Define if you have the atexit function. */
108 #define HAVE_ATEXIT 1
110 /* Define if you have the cap_set_proc function. */
111 /* #undef HAVE_CAP_SET_PROC */
113 /* Define if you have the cgetent function. */
114 #define HAVE_CGETENT 1
116 /* Define if you have the chown function. */
119 /* Define if you have the chroot function. */
120 #define HAVE_CHROOT 1
122 /* Define if you have the copyhostent function. */
123 /* #undef HAVE_COPYHOSTENT */
125 /* Define if you have the crypt function. */
128 /* Define if you have the daemon function. */
129 #define HAVE_DAEMON 1
131 /* Define if you have the dlopen function. */
132 /* #undef HAVE_DLOPEN */
134 /* Define if you have the dn_expand function. */
135 #define HAVE_DN_EXPAND 1
137 /* Define if you have the el_init function. */
138 #define HAVE_EL_INIT 1
140 /* Define if you have the err function. */
143 /* Define if you have the errx function. */
146 /* Define if you have the fattach function. */
147 /* #undef HAVE_FATTACH */
149 /* Define if you have the fchmod function. */
150 #define HAVE_FCHMOD 1
152 /* Define if you have the fchown function. */
153 #define HAVE_FCHOWN 1
155 /* Define if you have the fcntl function. */
158 /* Define if you have the flock function. */
161 /* Define if you have the fnmatch function. */
162 #define HAVE_FNMATCH 1
164 /* Define if you have the forkpty function. */
165 #define HAVE_FORKPTY 1
167 /* Define if you have the freehostent function. */
168 #define HAVE_FREEHOSTENT 1
170 /* Define if you have the frevoke function. */
171 /* #undef HAVE_FREVOKE */
173 /* Define if you have the getattr function. */
174 /* #undef HAVE_GETATTR */
176 /* Define if you have the getcwd function. */
177 #define HAVE_GETCWD 1
179 /* Define if you have the getdtablesize function. */
180 #define HAVE_GETDTABLESIZE 1
182 /* Define if you have the getegid function. */
183 #define HAVE_GETEGID 1
185 /* Define if you have the geteuid function. */
186 #define HAVE_GETEUID 1
188 /* Define if you have the getgid function. */
189 #define HAVE_GETGID 1
191 /* Define if you have the gethostbyname function. */
192 #define HAVE_GETHOSTBYNAME 1
194 /* Define if you have the gethostname function. */
195 #define HAVE_GETHOSTNAME 1
197 /* Define if you have the getipnodebyaddr function. */
198 #define HAVE_GETIPNODEBYADDR 1
200 /* Define if you have the getipnodebyname function. */
201 #define HAVE_GETIPNODEBYNAME 1
203 /* Define if you have the getlogin function. */
204 #define HAVE_GETLOGIN 1
206 /* Define if you have the getmsg function. */
207 /* #undef HAVE_GETMSG */
209 /* Define if you have the getopt function. */
210 #define HAVE_GETOPT 1
212 /* Define if you have the getpagesize function. */
213 #define HAVE_GETPAGESIZE 1
215 /* Define if you have the getpriority function. */
216 #define HAVE_GETPRIORITY 1
218 /* Define if you have the getpwnam_r function. */
219 /* #undef HAVE_GETPWNAM_R */
221 /* Define if you have the getrlimit function. */
222 #define HAVE_GETRLIMIT 1
224 /* Define if you have the getservbyname function. */
225 #define HAVE_GETSERVBYNAME 1
227 /* Define if you have the getsockopt function. */
228 #define HAVE_GETSOCKOPT 1
230 /* Define if you have the getspnam function. */
231 /* #undef HAVE_GETSPNAM */
233 /* Define if you have the gettimeofday function. */
234 #define HAVE_GETTIMEOFDAY 1
236 /* Define if you have the gettosbyname function. */
237 /* #undef HAVE_GETTOSBYNAME */
239 /* Define if you have the getudbnam function. */
240 /* #undef HAVE_GETUDBNAM */
242 /* Define if you have the getuid function. */
243 #define HAVE_GETUID 1
245 /* Define if you have the getusershell function. */
246 #define HAVE_GETUSERSHELL 1
248 /* Define if you have the grantpt function. */
249 /* #undef HAVE_GRANTPT */
251 /* Define if you have the hstrerror function. */
252 #define HAVE_HSTRERROR 1
254 /* Define if you have the inet_aton function. */
255 #define HAVE_INET_ATON 1
257 /* Define if you have the inet_ntop function. */
258 #define HAVE_INET_NTOP 1
260 /* Define if you have the inet_pton function. */
261 #define HAVE_INET_PTON 1
263 /* Define if you have the initgroups function. */
264 #define HAVE_INITGROUPS 1
266 /* Define if you have the innetgr function. */
267 #define HAVE_INNETGR 1
269 /* Define if you have the iruserok function. */
270 #define HAVE_IRUSEROK 1
272 /* Define if you have the logout function. */
273 #define HAVE_LOGOUT 1
275 /* Define if you have the logwtmp function. */
276 #define HAVE_LOGWTMP 1
278 /* Define if you have the lstat function. */
281 /* Define if you have the memmove function. */
282 #define HAVE_MEMMOVE 1
284 /* Define if you have the mkstemp function. */
285 #define HAVE_MKSTEMP 1
287 /* Define if you have the mktime function. */
288 #define HAVE_MKTIME 1
290 /* Define if you have the odm_initialize function. */
291 /* #undef HAVE_ODM_INITIALIZE */
293 /* Define if you have the on_exit function. */
294 /* #undef HAVE_ON_EXIT */
296 /* Define if you have the parsetos function. */
297 /* #undef HAVE_PARSETOS */
299 /* Define if you have the ptsname function. */
300 /* #undef HAVE_PTSNAME */
302 /* Define if you have the putenv function. */
303 #define HAVE_PUTENV 1
305 /* Define if you have the rand function. */
308 /* Define if you have the random function. */
309 #define HAVE_RANDOM 1
311 /* Define if you have the rcmd function. */
314 /* Define if you have the readline function. */
315 #define HAVE_READLINE 1
317 /* Define if you have the readv function. */
320 /* Define if you have the recvmsg function. */
321 #define HAVE_RECVMSG 1
323 /* Define if you have the res_search function. */
324 #define HAVE_RES_SEARCH 1
326 /* Define if you have the revoke function. */
327 #define HAVE_REVOKE 1
329 /* Define if you have the sa_family_t function. */
330 #define HAVE_SA_FAMILY_T 1
332 /* Define if you have the sendmsg function. */
333 #define HAVE_SENDMSG 1
335 /* Define if you have the setegid function. */
336 #define HAVE_SETEGID 1
338 /* Define if you have the setenv function. */
339 #define HAVE_SETENV 1
341 /* Define if you have the seteuid function. */
342 #define HAVE_SETEUID 1
344 /* Define if you have the setitimer function. */
345 #define HAVE_SETITIMER 1
347 /* Define if you have the setlim function. */
348 /* #undef HAVE_SETLIM */
350 /* Define if you have the setlogin function. */
351 #define HAVE_SETLOGIN 1
353 /* Define if you have the setpcred function. */
354 /* #undef HAVE_SETPCRED */
356 /* Define if you have the setpgid function. */
357 #define HAVE_SETPGID 1
359 /* Define if you have the setpriority function. */
360 #define HAVE_SETPRIORITY 1
362 /* Define if you have the setproctitle function. */
363 #define HAVE_SETPROCTITLE 1
365 /* Define if you have the setregid function. */
366 #define HAVE_SETREGID 1
368 /* Define if you have the setresgid function. */
369 /* #undef HAVE_SETRESGID */
371 /* Define if you have the setresuid function. */
372 /* #undef HAVE_SETRESUID */
374 /* Define if you have the setreuid function. */
375 #define HAVE_SETREUID 1
377 /* Define if you have the setsid function. */
378 #define HAVE_SETSID 1
380 /* Define if you have the setsockopt function. */
381 #define HAVE_SETSOCKOPT 1
383 /* Define if you have the setutent function. */
384 /* #undef HAVE_SETUTENT */
386 /* Define if you have the sgi_getcapabilitybyname function. */
387 /* #undef HAVE_SGI_GETCAPABILITYBYNAME */
389 /* Define if you have the sigaction function. */
390 #define HAVE_SIGACTION 1
392 /* Define if you have the socket function. */
393 #define HAVE_SOCKET 1
395 /* Define if you have the strcasecmp function. */
396 #define HAVE_STRCASECMP 1
398 /* Define if you have the strdup function. */
399 #define HAVE_STRDUP 1
401 /* Define if you have the strerror function. */
402 #define HAVE_STRERROR 1
404 /* Define if you have the strftime function. */
405 #define HAVE_STRFTIME 1
407 /* Define if you have the strlcat function. */
408 #define HAVE_STRLCAT 1
410 /* Define if you have the strlcpy function. */
411 #define HAVE_STRLCPY 1
413 /* Define if you have the strlwr function. */
414 /* #undef HAVE_STRLWR */
416 /* Define if you have the strncasecmp function. */
417 #define HAVE_STRNCASECMP 1
419 /* Define if you have the strndup function. */
420 /* #undef HAVE_STRNDUP */
422 /* Define if you have the strnlen function. */
423 /* #undef HAVE_STRNLEN */
425 /* Define if you have the strptime function. */
426 #define HAVE_STRPTIME 1
428 /* Define if you have the strsep function. */
429 #define HAVE_STRSEP 1
431 /* Define if you have the strtok_r function. */
432 #define HAVE_STRTOK_R 1
434 /* Define if you have the struct_sockaddr_storage function. */
435 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
437 /* Define if you have the strupr function. */
438 /* #undef HAVE_STRUPR */
440 /* Define if you have the swab function. */
443 /* Define if you have the sysconf function. */
444 #define HAVE_SYSCONF 1
446 /* Define if you have the sysctl function. */
447 #define HAVE_SYSCTL 1
449 /* Define if you have the syslog function. */
450 #define HAVE_SYSLOG 1
452 /* Define if you have the tgetent function. */
453 #define HAVE_TGETENT 1
455 /* Define if you have the ttyname function. */
456 #define HAVE_TTYNAME 1
458 /* Define if you have the ttyslot function. */
459 #define HAVE_TTYSLOT 1
461 /* Define if you have the ulimit function. */
462 /* #undef HAVE_ULIMIT */
464 /* Define if you have the uname function. */
467 /* Define if you have the unlockpt function. */
468 /* #undef HAVE_UNLOCKPT */
470 /* Define if you have the unsetenv function. */
471 #define HAVE_UNSETENV 1
473 /* Define if you have the vasnprintf function. */
474 /* #undef HAVE_VASNPRINTF */
476 /* Define if you have the vasprintf function. */
477 #define HAVE_VASPRINTF 1
479 /* Define if you have the verr function. */
482 /* Define if you have the verrx function. */
485 /* Define if you have the vhangup function. */
486 /* #undef HAVE_VHANGUP */
488 /* Define if you have the vsnprintf function. */
489 #define HAVE_VSNPRINTF 1
491 /* Define if you have the vsyslog function. */
492 #define HAVE_VSYSLOG 1
494 /* Define if you have the vwarn function. */
497 /* Define if you have the vwarnx function. */
498 #define HAVE_VWARNX 1
500 /* Define if you have the warn function. */
503 /* Define if you have the warnx function. */
506 /* Define if you have the writev function. */
507 #define HAVE_WRITEV 1
509 /* Define if you have the yp_get_default_domain function. */
510 #define HAVE_YP_GET_DEFAULT_DOMAIN 1
512 /* Define if you have the <arpa/ftp.h> header file. */
513 #define HAVE_ARPA_FTP_H 1
515 /* Define if you have the <arpa/inet.h> header file. */
516 #define HAVE_ARPA_INET_H 1
518 /* Define if you have the <arpa/nameser.h> header file. */
519 #define HAVE_ARPA_NAMESER_H 1
521 /* Define if you have the <arpa/telnet.h> header file. */
522 #define HAVE_ARPA_TELNET_H 1
524 /* Define if you have the <bsd/bsd.h> header file. */
525 /* #undef HAVE_BSD_BSD_H */
527 /* Define if you have the <bsdsetjmp.h> header file. */
528 /* #undef HAVE_BSDSETJMP_H */
530 /* Define if you have the <capability.h> header file. */
531 /* #undef HAVE_CAPABILITY_H */
533 /* Define if you have the <crypt.h> header file. */
534 /* #undef HAVE_CRYPT_H */
536 /* Define if you have the <curses.h> header file. */
537 #define HAVE_CURSES_H 1
539 /* Define if you have the <db.h> header file. */
542 /* Define if you have the <dbm.h> header file. */
543 /* #undef HAVE_DBM_H */
545 /* Define if you have the <dirent.h> header file. */
546 #define HAVE_DIRENT_H 1
548 /* Define if you have the <err.h> header file. */
551 /* Define if you have the <errno.h> header file. */
552 #define HAVE_ERRNO_H 1
554 /* Define if you have the <fcntl.h> header file. */
555 #define HAVE_FCNTL_H 1
557 /* Define if you have the <fnmatch.h> header file. */
558 #define HAVE_FNMATCH_H 1
560 /* Define if you have the <grp.h> header file. */
563 /* Define if you have the <inttypes.h> header file. */
564 #define HAVE_INTTYPES_H 1
566 /* Define if you have the <io.h> header file. */
567 /* #undef HAVE_IO_H */
569 /* Define if you have the <lastlog.h> header file. */
570 /* #undef HAVE_LASTLOG_H */
572 /* Define if you have the <libutil.h> header file. */
573 #define HAVE_LIBUTIL_H 1
575 /* Define if you have the <limits.h> header file. */
576 #define HAVE_LIMITS_H 1
578 /* Define if you have the <login.h> header file. */
579 /* #undef HAVE_LOGIN_H */
581 /* Define if you have the <maillock.h> header file. */
582 /* #undef HAVE_MAILLOCK_H */
584 /* Define if you have the <ndbm.h> header file. */
585 #define HAVE_NDBM_H 1
587 /* Define if you have the <net/if.h> header file. */
588 #define HAVE_NET_IF_H 1
590 /* Define if you have the <net/if_tun.h> header file. */
591 #define HAVE_NET_IF_TUN_H 1
593 /* Define if you have the <net/if_var.h> header file. */
594 #define HAVE_NET_IF_VAR_H 1
596 /* Define if you have the <netdb.h> header file. */
597 #define HAVE_NETDB_H 1
599 /* Define if you have the <netinet/in.h> header file. */
600 #define HAVE_NETINET_IN_H 1
602 /* Define if you have the <netinet/in6_machtypes.h> header file. */
603 /* #undef HAVE_NETINET_IN6_MACHTYPES_H */
605 /* Define if you have the <netinet/in_systm.h> header file. */
606 #define HAVE_NETINET_IN_SYSTM_H 1
608 /* Define if you have the <netinet/ip.h> header file. */
609 #define HAVE_NETINET_IP_H 1
611 /* Define if you have the <netinet/tcp.h> header file. */
612 #define HAVE_NETINET_TCP_H 1
614 /* Define if you have the <paths.h> header file. */
615 #define HAVE_PATHS_H 1
617 /* Define if you have the <pty.h> header file. */
618 /* #undef HAVE_PTY_H */
620 /* Define if you have the <pwd.h> header file. */
623 /* Define if you have the <resolv.h> header file. */
624 #define HAVE_RESOLV_H 1
626 /* Define if you have the <rpcsvc/dbm.h> header file. */
627 /* #undef HAVE_RPCSVC_DBM_H */
629 /* Define if you have the <rpcsvc/ypclnt.h> header file. */
630 #define HAVE_RPCSVC_YPCLNT_H 1
632 /* Define if you have the <sac.h> header file. */
633 /* #undef HAVE_SAC_H */
635 /* Define if you have the <security/pam_modules.h> header file. */
636 #define HAVE_SECURITY_PAM_MODULES_H 1
638 /* Define if you have the <shadow.h> header file. */
639 /* #undef HAVE_SHADOW_H */
641 /* Define if you have the <siad.h> header file. */
642 /* #undef HAVE_SIAD_H */
644 /* Define if you have the <signal.h> header file. */
645 #define HAVE_SIGNAL_H 1
647 /* Define if you have the <standards.h> header file. */
648 /* #undef HAVE_STANDARDS_H */
650 /* Define if you have the <stropts.h> header file. */
651 /* #undef HAVE_STROPTS_H */
653 /* Define if you have the <sys/bitypes.h> header file. */
654 /* #undef HAVE_SYS_BITYPES_H */
656 /* Define if you have the <sys/capability.h> header file. */
657 /* #undef HAVE_SYS_CAPABILITY_H */
659 /* Define if you have the <sys/category.h> header file. */
660 /* #undef HAVE_SYS_CATEGORY_H */
662 /* Define if you have the <sys/file.h> header file. */
663 #define HAVE_SYS_FILE_H 1
665 /* Define if you have the <sys/filio.h> header file. */
666 #define HAVE_SYS_FILIO_H 1
668 /* Define if you have the <sys/ioccom.h> header file. */
669 #define HAVE_SYS_IOCCOM_H 1
671 /* Define if you have the <sys/ioctl.h> header file. */
672 #define HAVE_SYS_IOCTL_H 1
674 /* Define if you have the <sys/locking.h> header file. */
675 /* #undef HAVE_SYS_LOCKING_H */
677 /* Define if you have the <sys/mman.h> header file. */
678 #define HAVE_SYS_MMAN_H 1
680 /* Define if you have the <sys/param.h> header file. */
681 #define HAVE_SYS_PARAM_H 1
683 /* Define if you have the <sys/proc.h> header file. */
684 #define HAVE_SYS_PROC_H 1
686 /* Define if you have the <sys/pty.h> header file. */
687 /* #undef HAVE_SYS_PTY_H */
689 /* Define if you have the <sys/ptyio.h> header file. */
690 /* #undef HAVE_SYS_PTYIO_H */
692 /* Define if you have the <sys/ptyvar.h> header file. */
693 /* #undef HAVE_SYS_PTYVAR_H */
695 /* Define if you have the <sys/resource.h> header file. */
696 #define HAVE_SYS_RESOURCE_H 1
698 /* Define if you have the <sys/select.h> header file. */
699 #define HAVE_SYS_SELECT_H 1
701 /* Define if you have the <sys/socket.h> header file. */
702 #define HAVE_SYS_SOCKET_H 1
704 /* Define if you have the <sys/sockio.h> header file. */
705 #define HAVE_SYS_SOCKIO_H 1
707 /* Define if you have the <sys/stat.h> header file. */
708 #define HAVE_SYS_STAT_H 1
710 /* Define if you have the <sys/str_tty.h> header file. */
711 /* #undef HAVE_SYS_STR_TTY_H */
713 /* Define if you have the <sys/stream.h> header file. */
714 /* #undef HAVE_SYS_STREAM_H */
716 /* Define if you have the <sys/stropts.h> header file. */
717 /* #undef HAVE_SYS_STROPTS_H */
719 /* Define if you have the <sys/strtty.h> header file. */
720 /* #undef HAVE_SYS_STRTTY_H */
722 /* Define if you have the <sys/syscall.h> header file. */
723 #define HAVE_SYS_SYSCALL_H 1
725 /* Define if you have the <sys/sysctl.h> header file. */
726 #define HAVE_SYS_SYSCTL_H 1
728 /* Define if you have the <sys/termio.h> header file. */
729 /* #undef HAVE_SYS_TERMIO_H */
731 /* Define if you have the <sys/time.h> header file. */
732 #define HAVE_SYS_TIME_H 1
734 /* Define if you have the <sys/timeb.h> header file. */
735 #define HAVE_SYS_TIMEB_H 1
737 /* Define if you have the <sys/times.h> header file. */
738 #define HAVE_SYS_TIMES_H 1
740 /* Define if you have the <sys/tty.h> header file. */
741 #define HAVE_SYS_TTY_H 1
743 /* Define if you have the <sys/types.h> header file. */
744 #define HAVE_SYS_TYPES_H 1
746 /* Define if you have the <sys/uio.h> header file. */
747 #define HAVE_SYS_UIO_H 1
749 /* Define if you have the <sys/un.h> header file. */
750 #define HAVE_SYS_UN_H 1
752 /* Define if you have the <sys/utsname.h> header file. */
753 #define HAVE_SYS_UTSNAME_H 1
755 /* Define if you have the <sys/wait.h> header file. */
756 #define HAVE_SYS_WAIT_H 1
758 /* Define if you have the <syslog.h> header file. */
759 #define HAVE_SYSLOG_H 1
761 /* Define if you have the <term.h> header file. */
762 #define HAVE_TERM_H 1
764 /* Define if you have the <termcap.h> header file. */
765 #define HAVE_TERMCAP_H 1
767 /* Define if you have the <termio.h> header file. */
768 /* #undef HAVE_TERMIO_H */
770 /* Define if you have the <termios.h> header file. */
771 #define HAVE_TERMIOS_H 1
773 /* Define if you have the <tmpdir.h> header file. */
774 /* #undef HAVE_TMPDIR_H */
776 /* Define if you have the <ttyent.h> header file. */
777 #define HAVE_TTYENT_H 1
779 /* Define if you have the <udb.h> header file. */
780 /* #undef HAVE_UDB_H */
782 /* Define if you have the <ulimit.h> header file. */
783 /* #undef HAVE_ULIMIT_H */
785 /* Define if you have the <unistd.h> header file. */
786 #define HAVE_UNISTD_H 1
788 /* Define if you have the <userpw.h> header file. */
789 /* #undef HAVE_USERPW_H */
791 /* Define if you have the <usersec.h> header file. */
792 /* #undef HAVE_USERSEC_H */
794 /* Define if you have the <util.h> header file. */
795 /* #undef HAVE_UTIL_H */
797 /* Define if you have the <utime.h> header file. */
798 #define HAVE_UTIME_H 1
800 /* Define if you have the <utmp.h> header file. */
801 #define HAVE_UTMP_H 1
803 /* Define if you have the <utmpx.h> header file. */
804 /* #undef HAVE_UTMPX_H */
806 /* Define if you have the <wait.h> header file. */
807 /* #undef HAVE_WAIT_H */
809 /* Define if you have the X11 library (-lX11). */
810 /* #undef HAVE_LIBX11 */
812 /* Define if you have the Xau library (-lXau). */
813 /* #undef HAVE_LIBXAU */
815 /* Define if you have the c_r library (-lc_r). */
816 /* #undef HAVE_LIBC_R */
818 /* Define if you have the cfg library (-lcfg). */
819 /* #undef HAVE_LIBCFG */
821 /* Define if you have the crypt library (-lcrypt). */
822 #define HAVE_LIBCRYPT 1
824 /* Define if you have the curses library (-lcurses). */
825 /* #undef HAVE_LIBCURSES */
827 /* Define if you have the dl library (-ldl). */
828 /* #undef HAVE_LIBDL */
830 /* Define if you have the edit library (-ledit). */
831 #define HAVE_LIBEDIT 1
833 /* Define if you have the ncurses library (-lncurses). */
834 /* #undef HAVE_LIBNCURSES */
836 /* Define if you have the nsl library (-lnsl). */
837 /* #undef HAVE_LIBNSL */
839 /* Define if you have the odm library (-lodm). */
840 /* #undef HAVE_LIBODM */
842 /* Define if you have the readline library (-lreadline). */
843 #define HAVE_LIBREADLINE 1
845 /* Define if you have the resolv library (-lresolv). */
846 /* #undef HAVE_LIBRESOLV */
848 /* Define if you have the s library (-ls). */
849 /* #undef HAVE_LIBS */
851 /* Define if you have the socket library (-lsocket). */
852 /* #undef HAVE_LIBSOCKET */
854 /* Define if you have the syslog library (-lsyslog). */
855 /* #undef HAVE_LIBSYSLOG */
857 /* Define if you have the termcap library (-ltermcap). */
858 #define HAVE_LIBTERMCAP 1
860 /* Define if you have the util library (-lutil). */
861 #define HAVE_LIBUTIL 1
863 /* Name of package */
864 #define PACKAGE "krb4"
866 /* Version number of package */
867 #define VERSION "1.0"
869 /* Define to what version of SunOS you are running. */
872 /* Define if you have the socks package. */
875 /* Define to enable old kdestroy behavior. */
876 /* #undef LEGACY_KDESTROY */
878 /* Define if you want to match subdomains. */
879 /* #undef MATCH_SUBDOMAINS */
881 /* Define this to be the directory where the
882 dictionary for cracklib resides. */
883 /* #undef DICTPATH */
885 /* Define this to the path of the mail spool directory. */
886 /* #undef KRB4_MAILDIR */
888 /* Define this to the kerberos database directory. */
891 /* Define to enable new master key code. */
892 /* #undef RANDOM_MKEY */
894 /* Define this to the location of the master key. */
895 /* #undef MKEYFILE */
897 /* Define to enable basic OSF C2 support. */
898 /* #undef HAVE_OSFC2 */
900 /* Define if you don't want to use mmap. */
903 /* Define if you don't wan't support for AFS. */
906 /* Set this to the type of des-quad-cheksum to use. */
907 #define DES_QUAD_DEFAULT DES_QUAD_GUESS
909 /* Define if you have the readline package. */
910 /* #undef READLINE */
912 /* Define if you have the hesiod package. */
915 /* define if your compiler has __attribute__ */
916 #define HAVE___ATTRIBUTE__ 1
919 /* #undef HAVE_STRANGE_INT8_T */
921 /* Define if NDBM really is DB (creates files ending in .db). */
922 #define HAVE_NEW_DB 1
924 /* Define if you have NDBM (and not DBM) */
927 /* define if you have a working snprintf */
928 #define HAVE_SNPRINTF 1
930 /* define if the system is missing a prototype for snprintf() */
931 /* #undef NEED_SNPRINTF_PROTO */
933 /* define if you have a glob() that groks
934 GLOB_BRACE, GLOB_NOCHECK, GLOB_QUOTE, and GLOB_TILDE */
937 /* define if the system is missing a prototype for glob() */
938 /* #undef NEED_GLOB_PROTO */
940 /* Define if getpwnam_r has POSIX flavour. */
941 /* #undef POSIX_GETPWNAM_R */
943 /* Define if getlogin has POSIX flavour (and not BSD). */
944 /* #undef POSIX_GETLOGIN */
946 /* define if the system is missing a prototype for hstrerror() */
947 /* #undef NEED_HSTRERROR_PROTO */
949 /* define if the system is missing a prototype for gethostname() */
950 /* #undef NEED_GETHOSTNAME_PROTO */
952 /* define if the system is missing a prototype for mkstemp() */
953 /* #undef NEED_MKSTEMP_PROTO */
955 /* define if the system is missing a prototype for inet_aton() */
956 /* #undef NEED_INET_ATON_PROTO */
958 /* Define if realloc(NULL, X) doesn't work. */
959 /* #undef BROKEN_REALLOC */
961 /* Define if getcwd is broken (like in SunOS 4). */
962 /* #undef BROKEN_GETCWD */
964 /* define if prototype of gethostbyname is compatible with
965 struct hostent *gethostbyname(const char *) */
966 #define GETHOSTBYNAME_PROTO_COMPATIBLE 1
968 /* define if prototype of gethostbyaddr is compatible with
969 struct hostent *gethostbyaddr(const void *, size_t, int) */
970 /* #undef GETHOSTBYADDR_PROTO_COMPATIBLE */
972 /* define if prototype of getservbyname is compatible with
973 struct servent *getservbyname(const char *, const char *) */
974 #define GETSERVBYNAME_PROTO_COMPATIBLE 1
976 /* define if prototype of openlog is compatible with
977 void openlog(const char *, int, int) */
978 #define OPENLOG_PROTO_COMPATIBLE 1
980 /* define if the system is missing a prototype for crypt() */
981 /* #undef NEED_CRYPT_PROTO */
983 /* define if the system is missing a prototype for fclose() */
984 /* #undef NEED_FCLOSE_PROTO */
986 /* define if the system is missing a prototype for strtok_r() */
987 /* #undef NEED_STRTOK_R_PROTO */
989 /* define if the system is missing a prototype for strsep() */
990 /* #undef NEED_STRSEP_PROTO */
992 /* define if the system is missing a prototype for getusershell() */
993 /* #undef NEED_GETUSERSHELL_PROTO */
995 /* define if the system is missing a prototype for utime() */
996 /* #undef NEED_UTIME_PROTO */
998 /* define if you have h_errno */
999 #define HAVE_H_ERRNO 1
1001 /* define if your system declares h_errno */
1002 #define HAVE_H_ERRNO_DECLARATION 1
1004 /* define if you have h_errlist */
1005 #define HAVE_H_ERRLIST 1
1007 /* define if your system declares h_errlist */
1008 /* #undef HAVE_H_ERRLIST_DECLARATION */
1010 /* define if you have h_nerr */
1011 #define HAVE_H_NERR 1
1013 /* define if your system declares h_nerr */
1014 /* #undef HAVE_H_NERR_DECLARATION */
1016 /* define if you have __progname */
1017 #define HAVE___PROGNAME 1
1019 /* define if your system declares __progname */
1020 /* #undef HAVE___PROGNAME_DECLARATION */
1022 /* define if your system declares optarg */
1023 #define HAVE_OPTARG_DECLARATION 1
1025 /* define if your system declares optind */
1026 #define HAVE_OPTIND_DECLARATION 1
1028 /* define if your system declares opterr */
1029 #define HAVE_OPTERR_DECLARATION 1
1031 /* define if your system declares optopt */
1032 #define HAVE_OPTOPT_DECLARATION 1
1034 /* define if your system declares environ */
1035 /* #undef HAVE_ENVIRON_DECLARATION */
1037 /* Define if RETSIGTYPE == void. */
1038 #define VOID_RETSIGTYPE 1
1040 /* Define if struct utmp has field ut_addr. */
1041 /* #undef HAVE_STRUCT_UTMP_UT_ADDR */
1043 /* Define if struct utmp has field ut_host. */
1044 #define HAVE_STRUCT_UTMP_UT_HOST 1
1046 /* Define if struct utmp has field ut_id. */
1047 /* #undef HAVE_STRUCT_UTMP_UT_ID */
1049 /* Define if struct utmp has field ut_pid. */
1050 /* #undef HAVE_STRUCT_UTMP_UT_PID */
1052 /* Define if struct utmp has field ut_type. */
1053 /* #undef HAVE_STRUCT_UTMP_UT_TYPE */
1055 /* Define if struct utmp has field ut_user. */
1056 /* #undef HAVE_STRUCT_UTMP_UT_USER */
1058 /* Define if struct utmpx has field ut_exit. */
1059 /* #undef HAVE_STRUCT_UTMPX_UT_EXIT */
1061 /* Define if struct utmpx has field ut_syslen. */
1062 /* #undef HAVE_STRUCT_UTMPX_UT_SYSLEN */
1064 /* Define if struct tm has field tm_gmtoff. */
1065 #define HAVE_STRUCT_TM_TM_GMTOFF 1
1067 /* Define if struct tm has field tm_zone. */
1068 #define HAVE_STRUCT_TM_TM_ZONE 1
1070 /* define if you have timezone */
1071 #define HAVE_TIMEZONE 1
1073 /* define if your system declares timezone */
1074 #define HAVE_TIMEZONE_DECLARATION 1
1076 /* define if you have struct spwd */
1077 /* #undef HAVE_STRUCT_SPWD */
1079 /* define if struct winsize is declared in sys/termios.h */
1080 #define HAVE_STRUCT_WINSIZE 1
1082 /* define if struct winsize has ws_xpixel */
1083 #define HAVE_WS_XPIXEL 1
1085 /* define if struct winsize has ws_ypixel */
1086 #define HAVE_WS_YPIXEL 1
1088 /* Define this to what the type ssize_t should be. */
1089 /* #undef ssize_t */
1091 /* Define if struct sockaddr has field sa_len. */
1092 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
1094 /* Define if SIAENTITY has field ouid. */
1095 /* #undef HAVE_SIAENTITY_OUID */
1097 /* Define if you have a working getmsg. */
1098 /* #undef HAVE_GETMSG */
1100 /* Define if el_init takes four arguments. */
1101 /* #undef HAVE_FOUR_VALUED_EL_INIT */
1103 /* Define if you have a readline function. */
1104 #define HAVE_READLINE 1
1106 /* Define if you have working stream ptys. */
1107 /* #undef STREAMSPTY */
1109 /* Define if /bin/ls has a `-A' flag. */
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
1122 /* This for compat with heimdal (or something) */
1123 #define KRB_PUT_INT(f, t, l, s) krb_put_int((f), (t), (l), (s))
1125 #define HAVE_KRB_ENABLE_DEBUG 1
1127 #define HAVE_KRB_DISABLE_DEBUG 1
1129 #define HAVE_KRB_GET_OUR_IP_FOR_REALM 1
1131 #define RCSID(msg) \
1132 static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
1135 * Set ORGANIZATION to be the desired organization string printed
1136 * by the 'kinit' program. It may have spaces.
1138 #define ORGANIZATION "FreeBSD Inc."
1141 #define BINDIR "/usr/bin"
1142 #define LIBDIR "/usr/lib"
1143 #define LIBEXECDIR "/usr/libexec"
1144 #define SBINDIR "/usr/sbin"
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"
1152 #define KEYFILE "/etc/srvtab"
1154 #define KRBDIR "/var/kerberos"
1155 #define DBM_FILE KRBDIR "/principal"
1156 #define DEFAULT_ACL_DIR KRBDIR
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"
1164 /* Maximum values on all known systems */
1165 #define MaxHostNameLen (64+4)
1166 #define MaxPathLen (1024+4)
1168 /* ftp stuff -------------------------------------------------- */
1172 /* telnet stuff ----------------------------------------------- */
1174 /* define this for OTP support */
1177 /* define this if you have kerberos 4 */
1180 /* define this if you want encryption */
1181 #define ENCRYPTION 1
1183 /* define this if you want authentication */
1184 #define AUTHENTICATION 1
1186 #if defined(ENCRYPTION) && !defined(AUTHENTICATION)
1187 #define AUTHENTICATION 1
1190 /* Set this if you want des encryption */
1191 #define DES_ENCRYPTION 1
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
1199 /* define this if you want diagnostics in telnetd */
1200 #define DIAGNOSTICS 1
1202 /* define this if you want support for broken ENV_{VALUE,VAR} systems */
1203 /* #undef ENV_HACK */
1206 #define OLD_ENVIRON 1
1208 /* Used with login -p */
1209 /* #undef LOGIN_ARGS */
1211 /* set this to a sensible login */
1213 #define LOGIN_PATH BINDIR "/login"
1217 /* ------------------------------------------------------------ */
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))
1224 #ifdef VOID_RETSIGTYPE
1225 #define SIGRETURN(x) return
1227 #define SIGRETURN(x) return (RETSIGTYPE)(x)
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
1236 * All these are system-specific defines that I would rather not have at all.
1244 /* XXX this is gross, but kills about a gazillion warnings */
1251 #if defined(__sgi) || defined(sgi)
1252 #if defined(__SYSTYPE_SVR4) || defined(_SYSTYPE_SVR4)
1259 /* IRIX 4 braindamage */
1260 #if IRIX == 4 && !defined(__STDC__)
1265 * Defining this enables lots of useful (and used) extensions on
1266 * glibc-based systems such as Linux
1271 /* some strange OS/2 stuff. From <d96-mst@nada.kth.se> */
1275 #define MAIL_USE_SYSTEM_LOCK
1279 #include "roken_rename.h"