]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - crypto/kerberosIV/acconfig.h
This commit was generated by cvs2svn to compensate for changes in r48743,
[FreeBSD/FreeBSD.git] / crypto / kerberosIV / acconfig.h
1 /* $Id: acconfig.h,v 1.71 1997/06/01 22:32:24 assar Exp $ */
2
3 /*  Define this if RETSIGTYPE == void  */
4 #undef VOID_RETSIGTYPE
5
6 /*  Define this if struct utmp have ut_user  */
7 #undef HAVE_UT_USER
8
9 /*  Define this if struct utmp have ut_host  */
10 #undef HAVE_UT_HOST
11
12 /*  Define this if struct utmp have ut_addr  */
13 #undef HAVE_UT_ADDR
14
15 /*  Define this if struct utmp have ut_type  */
16 #undef HAVE_UT_TYPE
17
18 /*  Define this if struct utmp have ut_pid  */
19 #undef HAVE_UT_PID
20
21 /*  Define this if struct utmp have ut_id  */
22 #undef HAVE_UT_ID
23
24 /*  Define this if struct utmpx have ut_syslen  */
25 #undef HAVE_UT_SYSLEN
26
27 /*  Define this if struct winsize is declared in sys/termios.h */
28 #undef HAVE_STRUCT_WINSIZE
29
30 /*  Define this if struct winsize have ws_xpixel */
31 #undef HAVE_WS_XPIXEL
32
33 /*  Define this if struct winsize have ws_ypixel */
34 #undef HAVE_WS_YPIXEL
35
36 /*  Define this to be the directory where the dictionary for cracklib */
37 /*  resides */
38 #undef DICTPATH
39
40 /* Define this if you want to use SOCKS v5 */
41 #undef SOCKS
42
43 /* Define this to the path of the mail spool directory */
44 #undef KRB4_MAILDIR
45
46 /* Define this if `struct sockaddr' includes sa_len */
47 #undef SOCKADDR_HAS_SA_LEN
48
49 /* Define this if `struct siaentity' includes ouid */
50 #undef SIAENTITY_HAS_OUID
51
52 /* Define if getlogin has POSIX flavour, as opposed to BSD */
53 #undef POSIX_GETLOGIN
54
55 /* Define if getpwnam_r has POSIX flavour */
56 #undef POSIX_GETPWNAM_R
57
58 /* define if getcwd() is broken (such as in SunOS) */
59 #undef BROKEN_GETCWD
60
61 /* define if the system is missing a prototype for crypt() */
62 #undef NEED_CRYPT_PROTO
63
64 /* define if the system is missing a prototype for strtok_r() */
65 #undef NEED_STRTOK_R_PROTO
66
67 /* define if /bin/ls takes -A */
68 #undef HAVE_LS_A
69
70 /* define if you have h_errno */
71 #undef HAVE_H_ERRNO
72
73 /* define if you have h_errlist but not hstrerror */
74 #undef HAVE_H_ERRLIST
75
76 /* define if you have h_nerr but not hstrerror */
77 #undef HAVE_H_NERR
78
79 /* define if your system doesn't declare h_errlist */
80 #undef HAVE_H_ERRLIST_DECLARATION
81
82 /* define if your system doesn't declare h_nerr */
83 #undef HAVE_H_NERR_DECLARATION
84
85 /* define this if you need a declaration for h_errno */
86 #undef HAVE_H_ERRNO_DECLARATION
87
88 /* define if you need a declaration for optarg */
89 #undef HAVE_OPTARG_DECLARATION
90
91 /* define if you need a declaration for optind */
92 #undef HAVE_OPTIND_DECLARATION
93
94 /* define if you need a declaration for opterr */
95 #undef HAVE_OPTERR_DECLARATION
96
97 /* define if you need a declaration for optopt */
98 #undef HAVE_OPTOPT_DECLARATION
99
100 /* define if you need a declaration for __progname */
101 #undef HAVE___PROGNAME_DECLARATION
102
103 @BOTTOM@
104
105 #undef HAVE_INT8_T
106 #undef HAVE_INT16_T
107 #undef HAVE_INT32_T
108 #undef HAVE_INT64_T
109 #undef HAVE_U_INT8_T
110 #undef HAVE_U_INT16_T
111 #undef HAVE_U_INT32_T
112 #undef HAVE_U_INT64_T
113
114 #define RCSID(msg) \
115 static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
116
117 /*
118  * Set ORGANIZATION to be the desired organization string printed
119  * by the 'kinit' program.  It may have spaces.
120  */
121 #define ORGANIZATION "eBones International"
122
123 #if 0
124 #undef BINDIR 
125 #undef LIBDIR
126 #undef LIBEXECDIR
127 #undef SBINDIR
128 #endif
129
130 #if 0
131 #define KRB_CNF_FILES   { "/etc/krb.conf",   "/etc/kerberosIV/krb.conf", 0}
132 #define KRB_RLM_FILES   { "/etc/krb.realms", "/etc/kerberosIV/krb.realms", 0}
133 #define KRB_EQUIV       "/etc/krb.equiv"
134
135 #define KEYFILE         "/etc/srvtab"
136
137 #define KRBDIR          "/var/kerberos"
138 #define DBM_FILE        KRBDIR "/principal"
139 #define DEFAULT_ACL_DIR KRBDIR
140
141 #define KRBLOG          "/var/log/kerberos.log" /* master server  */
142 #define KRBSLAVELOG     "/var/log/kerberos_slave.log" /* slave server  */
143 #define KADM_SYSLOG     "/var/log/admin_server.syslog"
144 #define K_LOGFIL        "/var/log/kpropd.log"
145 #endif
146
147 /* Maximum values on all known systems */
148 #define MaxHostNameLen (64+4)
149 #define MaxPathLen (1024+4)
150
151 /*
152  * Define NDBM if you are using the 4.3 ndbm library (which is part of
153  * libc).  If not defined, 4.2 dbm will be assumed.
154  */
155 #if defined(HAVE_DBM_FIRSTKEY)
156 #define NDBM
157 #endif
158
159 /* ftp stuff -------------------------------------------------- */
160
161 #define KERBEROS
162
163 /* telnet stuff ----------------------------------------------- */
164
165 /* define this if you have kerberos 4 */
166 #undef KRB4
167
168 /* define this if you want encryption */
169 #undef ENCRYPTION
170
171 /* define this if you want authentication */
172 #undef AUTHENTICATION
173
174 #if defined(ENCRYPTION) && !defined(AUTHENTICATION)
175 #define AUTHENTICATION 1
176 #endif
177
178 /* Set this if you want des encryption */
179 #undef DES_ENCRYPTION
180
181 /* Set this to the default system lead string for telnetd 
182  * can contain %-escapes: %s=sysname, %m=machine, %r=os-release
183  * %v=os-version, %t=tty, %h=hostname, %d=date and time
184  */
185 #undef USE_IM
186
187 /* define this if you want diagnostics in telnetd */
188 #undef DIAGNOSTICS
189
190 /* define this if you want support for broken ENV_{VALUE,VAR} systems  */
191 #undef ENV_HACK
192
193 /*  */
194 #undef OLD_ENVIRON
195
196 /* Used with login -p */
197 #undef LOGIN_ARGS
198
199 /* Define if there are working stream ptys */
200 #undef STREAMSPTY
201
202 /* set this to a sensible login */
203 #ifndef LOGIN_PATH
204 #define LOGIN_PATH BINDIR "/login"
205 #endif
206
207
208 /* ------------------------------------------------------------ */
209
210 /*
211  * Define this if your ndbm-library really is berkeley db and creates
212  * files that ends in .db.
213  */
214 #undef HAVE_NEW_DB
215
216 /* Define this if you have a working getmsg */
217 #undef HAVE_GETMSG
218
219 /* Define to enable new master key code */
220 #undef RANDOM_MKEY
221
222 /* Location of the master key file, default value lives in <kdc.h> */
223 #undef MKEYFILE
224
225 /* Define if you don't want support for afs, might be a good idea on
226    AIX if you don't have afs */
227 #undef NO_AFS
228
229 /* Define if you have a readline compatible library */
230 #undef HAVE_READLINE
231
232 #ifdef VOID_RETSIGTYPE
233 #define SIGRETURN(x) return
234 #else
235 #define SIGRETURN(x) return (RETSIGTYPE)(x)
236 #endif
237
238 /* Define this if your compiler supports '#pragma weak' */
239 #undef HAVE_PRAGMA_WEAK
240
241 /* Temporary fixes for krb_{rd,mk}_safe */
242 #define DES_QUAD_GUESS 0
243 #define DES_QUAD_NEW 1
244 #define DES_QUAD_OLD 2
245
246 /* Set this to one of the constants above to specify default checksum
247    type to emit */
248 #undef DES_QUAD_DEFAULT
249
250 /*
251  * AIX braindamage!
252  */
253 #if _AIX
254 #define _ALL_SOURCE
255 #define _POSIX_SOURCE
256 /* this is left for hysteric reasons :-) */
257 #define unix /* well, ok... */
258 #endif
259
260 /*
261  * SunOS braindamage! (Sun include files are generally braindead)
262  */
263 #if (defined(sun) || defined(__sun))
264 #if defined(__svr4__) || defined(__SVR4)
265 #define SunOS 5
266 #else
267 #define SunOS 4
268 #endif
269 #endif
270
271 #if defined(__sgi) || defined(sgi)
272 #if defined(__SYSTYPE_SVR4) || defined(_SYSTYPE_SVR4)
273 #define IRIX 5
274 #else
275 #define IRIX 4
276 #endif
277 #endif
278
279 /* IRIX 4 braindamage */
280 #if IRIX == 4 && !defined(__STDC__)
281 #define __STDC__ 0
282 #endif