]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - crypto/heimdal/acconfig.h
This commit was generated by cvs2svn to compensate for changes in r75107,
[FreeBSD/FreeBSD.git] / crypto / heimdal / acconfig.h
1 @BOTTOM@
2
3 #undef BINDIR 
4 #undef LIBDIR
5 #undef LIBEXECDIR
6 #undef SBINDIR
7
8 #undef HAVE_INT8_T
9 #undef HAVE_INT16_T
10 #undef HAVE_INT32_T
11 #undef HAVE_INT64_T
12 #undef HAVE_U_INT8_T
13 #undef HAVE_U_INT16_T
14 #undef HAVE_U_INT32_T
15 #undef HAVE_U_INT64_T
16 #undef HAVE_UINT8_T
17 #undef HAVE_UINT16_T
18 #undef HAVE_UINT32_T
19 #undef HAVE_UINT64_T
20
21 #if defined(HAVE_FOUR_VALUED_KRB_PUT_INT) || !defined(KRB4)
22 #define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (L), (S))
23 #else
24 #define KRB_PUT_INT(F, T, L, S) krb_put_int((F), (T), (S))
25 #endif
26
27 #ifdef BROKEN_REALLOC
28 #define realloc(X, Y) isoc_realloc((X), (Y))
29 #define isoc_realloc(X, Y) ((X) ? realloc((X), (Y)) : malloc(Y))
30 #endif
31
32 #ifdef VOID_RETSIGTYPE
33 #define SIGRETURN(x) return
34 #else
35 #define SIGRETURN(x) return (RETSIGTYPE)(x)
36 #endif
37
38 #define RCSID(msg) \
39 static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
40
41 #undef PROTOTYPES
42
43 /* Maximum values on all known systems */
44 #define MaxHostNameLen (64+4)
45 #define MaxPathLen (1024+4)
46
47 #if defined(HAVE_SGTTY_H) && defined(__NeXT__)
48 #define SGTTY
49 #endif
50
51 /*
52  * Define NDBM if you are using the 4.3 ndbm library (which is part of
53  * libc).  If not defined, 4.2 dbm will be assumed.
54  */
55 #if defined(HAVE_DBM_FIRSTKEY)
56 #define NDBM
57 #endif
58
59 /* telnet stuff ----------------------------------------------- */
60
61 #if defined(ENCRYPTION) && !defined(AUTHENTICATION)
62 #define AUTHENTICATION 1
63 #endif
64
65 /* Set this to the default system lead string for telnetd 
66  * can contain %-escapes: %s=sysname, %m=machine, %r=os-release
67  * %v=os-version, %t=tty, %h=hostname, %d=date and time
68  */
69 #undef USE_IM
70
71 /* Used with login -p */
72 #undef LOGIN_ARGS
73
74 /* set this to a sensible login */
75 #ifndef LOGIN_PATH
76 #define LOGIN_PATH BINDIR "/login"
77 #endif
78
79 /* random defines */
80
81 /*
82  * Defining this enables lots of useful (and used) extensions on
83  * glibc-based systems such as Linux
84  */
85
86 #define _GNU_SOURCE
87
88 /*
89  * this assumes that KRB_C_BIGENDIAN is used.
90  * if we can find out endianess at compile-time, do so,
91  * otherwise WORDS_BIGENDIAN should already have been defined
92  */
93
94 #if ENDIANESS_IN_SYS_PARAM_H
95 #  include <sys/types.h>
96 #  include <sys/param.h>
97 #  if BYTE_ORDER == BIG_ENDIAN
98 #  define WORDS_BIGENDIAN 1
99 #  endif
100 #endif