15 /* Define this to the type ssize_t should be */
18 /* Define this to the type sig_atomic_t should be */
21 /* Define this to the type mode_t should be */
24 /* Define this if struct utmp have ut_user */
27 /* Define this if struct utmp have ut_host */
30 /* Define this if struct utmp have ut_addr */
33 /* Define this if struct utmp have ut_type */
36 /* Define this if struct utmp have ut_pid */
39 /* Define this if struct utmp have ut_id */
42 /* Define this if struct utmpx have ut_syslen */
45 /* Define this if you have a struct sockaddr_in6 */
46 #undef HAVE_STRUCT_SOCKADDR_IN6
48 /* define if prototype of gethostbyname is compatible with
49 `struct hostent *gethostbyname(const char *)
51 #undef GETHOSTBYNAME_PROTO_COMPATIBLE
53 /* define if prototype of gethostbyaddr is compatible with
54 `struct hostent *gethostbyaddr(const void *, size_t, int)
56 #undef GETHOSTBYADDR_PROTO_COMPATIBLE
58 /* define if prototype of getservbyname is compatible with
59 `struct servent *getservbyname(const char *, const char *)
61 #undef GETSERVBYNAME_PROTO_COMPATIBLE
63 /* define if prototype of openlog is compatible with
64 `void open(const char *, int, int)'
66 #undef OPENLOG_PROTO_COMPATIBLE
68 /* define if you have h_errno */
71 /* define if you have h_errlist but not hstrerror */
74 /* define if you have h_nerr but not hstrerror */
77 /* define if your system doesn't declare h_errlist */
78 #undef HAVE_H_ERRLIST_DECLARATION
80 /* define if your system doesn't declare h_nerr */
81 #undef HAVE_H_NERR_DECLARATION
83 /* define this if you need a declaration for h_errno */
84 #undef HAVE_H_ERRNO_DECLARATION
86 /* define if you need a declaration for optarg */
87 #undef HAVE_OPTARG_DECLARATION
89 /* define if you need a declaration for optind */
90 #undef HAVE_OPTIND_DECLARATION
92 /* define if you need a declaration for opterr */
93 #undef HAVE_OPTERR_DECLARATION
95 /* define if you need a declaration for optopt */
96 #undef HAVE_OPTOPT_DECLARATION
98 /* define if you need a declaration for __progname */
99 #undef HAVE___PROGNAME_DECLARATION
101 /* define if the system is missing a prototype for crypt() */
102 #undef NEED_CRYPT_PROTO
104 /* define if the system is missing a prototype for strtok_r() */
105 #undef NEED_STRTOK_R_PROTO
107 /* define if the system is missing a prototype for strtok_r() */
108 #undef NEED_HSTRERROR_PROTO
110 /* Define this if your `struct tm' has a field `tm_gmtoff' */
111 #undef HAVE_STRUCT_TM_TM_GMTOFF
113 /* define if getcwd() is broken (such as in SunOS) */
116 /* Define this if you have a variable `timezone' */
119 /* Define this if struct winsize is declared in sys/termios.h */
120 #undef HAVE_STRUCT_WINSIZE
122 /* Define this if struct winsize has ws_xpixel */
123 #undef HAVE_WS_XPIXEL
125 /* Define this if struct winsize has ws_ypixel */
126 #undef HAVE_WS_YPIXEL
128 /* Define this if struct sockaddr has sa_len */
129 #undef SOCKADDR_HAS_SA_LEN
131 /* Define to isoc_realloc if you have a broken realloc */
132 #undef BROKEN_REALLOC
133 #ifdef BROKEN_REALLOC
134 #define realloc(X, Y) isoc_realloc((X), (Y))
135 #define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
138 #undef VOID_RETSIGTYPE
140 #ifdef VOID_RETSIGTYPE
141 #define SIGRETURN(x) return
143 #define SIGRETURN(x) return (RETSIGTYPE)(x)
146 /* Define if you have a readline compatible library */
150 static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
154 /* Maximum values on all known systems */
155 #define MaxHostNameLen (64+4)
156 #define MaxPathLen (1024+4)
158 #if defined(HAVE_SGTTY_H) && defined(__NeXT__)
162 /* telnet stuff ----------------------------------------------- */
165 * Define NDBM if you are using the 4.3 ndbm library (which is part of
166 * libc). If not defined, 4.2 dbm will be assumed.
168 #if defined(HAVE_DBM_FIRSTKEY)
172 /* define this for OTP support */
175 /* define this if you have kerberos 4 */
178 /* define this if you want to use the KDC as a kaserver */
181 /* define this if you have kerberos 5 */
184 /* define this if you want encryption */
187 /* define this if you want authentication */
188 #undef AUTHENTICATION
190 #if defined(ENCRYPTION) && !defined(AUTHENTICATION)
191 #define AUTHENTICATION 1
194 /* Set this if you want des encryption */
195 #undef DES_ENCRYPTION
197 /* Set this to the default system lead string for telnetd
198 * can contain %-escapes: %s=sysname, %m=machine, %r=os-release
199 * %v=os-version, %t=tty, %h=hostname, %d=date and time
203 /* define this if you want diagnostics in telnetd */
206 /* define this if you want support for broken ENV_{VALUE,VAR} systems */
212 /* Used with login -p */
215 /* Define if there are working stream ptys */
218 /* set this to a sensible login */
220 #define LOGIN_PATH BINDIR "/login"
223 /* operating system kludges ahead */