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 this if your `struct tm' has a field `tm_gmtoff' */
108 #undef HAVE_STRUCT_TM_TM_GMTOFF
110 /* define if getcwd() is broken (such as in SunOS) */
113 /* Define this if you have a variable `timezone' */
116 /* Define this if struct winsize is declared in sys/termios.h */
117 #undef HAVE_STRUCT_WINSIZE
119 /* Define this if struct winsize has ws_xpixel */
120 #undef HAVE_WS_XPIXEL
122 /* Define this if struct winsize has ws_ypixel */
123 #undef HAVE_WS_YPIXEL
125 /* Define this if struct sockaddr has sa_len */
126 #undef SOCKADDR_HAS_SA_LEN
128 /* Define to isoc_realloc if you have a broken realloc */
129 #undef BROKEN_REALLOC
130 #ifdef BROKEN_REALLOC
131 #define realloc(X, Y) isoc_realloc((X), (Y))
132 #define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
135 #undef VOID_RETSIGTYPE
137 #ifdef VOID_RETSIGTYPE
138 #define SIGRETURN(x) return
140 #define SIGRETURN(x) return (RETSIGTYPE)(x)
143 /* Define if you have a readline compatible library */
147 static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
151 /* Maximum values on all known systems */
152 #define MaxHostNameLen (64+4)
153 #define MaxPathLen (1024+4)
155 #if defined(HAVE_SGTTY_H) && defined(__NeXT__)
159 /* telnet stuff ----------------------------------------------- */
161 /* define this for OTP support */
164 /* define this if you have kerberos 4 */
167 /* define this if you want to use the KDC as a kaserver */
170 /* define this if you have kerberos 5 */
173 /* define this if you want encryption */
176 /* define this if you want authentication */
177 #undef AUTHENTICATION
179 #if defined(ENCRYPTION) && !defined(AUTHENTICATION)
180 #define AUTHENTICATION 1
183 /* Set this if you want des encryption */
184 #undef DES_ENCRYPTION
186 /* Set this to the default system lead string for telnetd
187 * can contain %-escapes: %s=sysname, %m=machine, %r=os-release
188 * %v=os-version, %t=tty, %h=hostname, %d=date and time
192 /* define this if you want diagnostics in telnetd */
195 /* define this if you want support for broken ENV_{VALUE,VAR} systems */
201 /* Used with login -p */
204 /* Define if there are working stream ptys */
207 /* set this to a sensible login */
209 #define LOGIN_PATH BINDIR "/login"
212 /* operating system kludges ahead */