Commit | Line | Data |
---|---|---|
805e021f CE |
1 | /* src/config/afsconfig.h.in. Generated automatically from configure.in by autoheader. */ |
2 | /* Modified for Win2000 build*/ | |
3 | ||
4 | /* Define if on AIX 3. | |
5 | System headers sometimes define this. | |
6 | We just want to avoid a redefinition error message. */ | |
7 | #ifndef _ALL_SOURCE | |
8 | #undef _ALL_SOURCE | |
9 | #endif | |
10 | ||
11 | /* Define to empty if the keyword does not work. */ | |
12 | #undef const | |
13 | ||
14 | /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */ | |
15 | #undef HAVE_SYS_WAIT_H | |
16 | ||
17 | /* Define as __inline if that's what the C compiler calls it. */ | |
18 | #define inline __inline | |
19 | ||
20 | /* Define if on MINIX. */ | |
21 | #undef _MINIX | |
22 | ||
23 | /* Define to `int' if <sys/types.h> doesn't define. */ | |
24 | #undef pid_t | |
25 | ||
26 | /* Define if the system does not provide POSIX.1 features except | |
27 | with this defined. */ | |
28 | #undef _POSIX_1_SOURCE | |
29 | ||
30 | /* Define if you need to in order for stat and other things to work. */ | |
31 | #undef _POSIX_SOURCE | |
32 | ||
33 | /* The size of `long', as computed by sizeof. */ | |
34 | #define SIZEOF_LONG 4 | |
35 | ||
36 | /* Define to `unsigned' if <sys/types.h> doesn't define. */ | |
37 | //#undef size_t unsigned int | |
38 | ||
39 | /* Define if you have the ANSI C header files. */ | |
40 | #undef STDC_HEADERS | |
41 | ||
42 | /* Define if lex declares yytext as a char * by default, not a char[]. */ | |
43 | #undef YYTEXT_POINTER | |
44 | ||
45 | /* Define if you have the connect function. */ | |
46 | #undef HAVE_CONNECT | |
47 | ||
48 | /* Define if you have the error_message function. */ | |
49 | #define HAVE_ERROR_MESSAGE | |
50 | ||
51 | /* Define if you have the gethostbyname function. */ | |
52 | #define HAVE_GETHOSTBYNAME | |
53 | ||
54 | /* Define if you have the res_search function. */ | |
55 | #undef HAVE_RES_SEARCH | |
56 | ||
57 | /* Define if you have the socket function. */ | |
58 | #define HAVE_SOCKET | |
59 | ||
60 | /* Define if you have the <direct.h> header file. */ | |
61 | #undef HAVE_DIRECT_H | |
62 | ||
63 | /* Define if you have the <dirent.h> header file. */ | |
64 | #define HAVE_DIRENT_H 1 | |
65 | ||
66 | /* Define if you have the <fcntl.h> header file. */ | |
67 | #define HAVE_FCNTL_H | |
68 | ||
69 | /* Define if you have the <mntent.h> header file. */ | |
70 | #undef HAVE_MNTENT_H | |
71 | ||
72 | /* Define if you have the <ndir.h> header file. */ | |
73 | #undef HAVE_NDIR_H | |
74 | ||
75 | /* Define if you have the <netdb.h> header file. */ | |
76 | #undef HAVE_NETDB_H | |
77 | ||
78 | /* Define if you have the <netinet/in.h> header file. */ | |
79 | #undef HAVE_NETINET_IN_H | |
80 | ||
81 | /* Define if you have the <security/pam_modules.h> header file. */ | |
82 | #undef HAVE_SECURITY_PAM_MODULES_H | |
83 | ||
84 | /* Define if you have the <signal.h> header file. */ | |
85 | #define HAVE_SIGNAL_H | |
86 | ||
87 | /* Define if you have the <stdlib.h> header file. */ | |
88 | #define HAVE_STDLIB_H | |
89 | ||
90 | /* Define if you have the <string.h> header file. */ | |
91 | #define HAVE_STRING_H | |
92 | ||
93 | /* Define if you have the <strings.h> header file. */ | |
94 | #undef HAVE_STRINGS_H | |
95 | ||
96 | /* Define if you have the <sys/dir.h> header file. */ | |
97 | #undef HAVE_SYS_DIR_H | |
98 | ||
99 | /* Define if you have the <sys/fcntl.h> header file. */ | |
100 | #define HAVE_SYS_FCNTL_H | |
101 | ||
102 | /* Define if you have the <sys/file.h> header file. */ | |
103 | #undef HAVE_SYS_FILE_H | |
104 | ||
105 | /* Define if you have the <sys/fs_types.h> header file. */ | |
106 | #undef HAVE_SYS_FS_TYPES_H | |
107 | ||
108 | /* Define if you have the <sys/mntent.h> header file. */ | |
109 | #undef HAVE_SYS_MNTENT_H | |
110 | ||
111 | /* Define if you have the <sys/mnttab.h> header file. */ | |
112 | #undef HAVE_SYS_MNTTAB_H | |
113 | ||
114 | /* Define if you have the <sys/mount.h> header file. */ | |
115 | #undef HAVE_SYS_MOUNT_H | |
116 | ||
117 | /* Define if you have the <sys/ndir.h> header file. */ | |
118 | #undef HAVE_SYS_NDIR_H | |
119 | ||
120 | /* Define if you have the <sys/param.h> header file. */ | |
121 | #undef HAVE_SYS_PARAM_H | |
122 | ||
123 | /* Define if you have the <sys/stat.h> header file. */ | |
124 | #define HAVE_SYS_STAT_H 1 | |
125 | ||
126 | /* Define if you have the <sys/time.h> header file. */ | |
127 | #undef HAVE_SYS_TIME_H | |
128 | ||
129 | /* Define if you have the <sys/vfs.h> header file. */ | |
130 | #undef HAVE_SYS_VFS_H | |
131 | ||
132 | /* Define if you have the <termios.h> header file. */ | |
133 | #undef HAVE_TERMIOS_H | |
134 | ||
135 | /* Define if you have the <unistd.h> header file. */ | |
136 | #undef HAVE_UNISTD_H | |
137 | ||
138 | /* Define if you have the <windows.h> header file. */ | |
139 | #define HAVE_WINDOWS_H | |
140 | ||
141 | /* Define if you have the <winsock2.h> header file. */ | |
142 | #define HAVE_WINSOCK2_H | |
143 | ||
144 | #define HAVE_WINSOCK | |
145 | ||
146 | /* Name of package */ | |
147 | #undef PACKAGE | |
148 | ||
149 | /* Version number of package */ | |
150 | #undef VERSION | |
151 | ||
152 | /* define if target is big endian */ | |
153 | #undef WORDS_BIGENDIAN | |
154 | ||
155 | /* define if sys/param.h defines the endiness */ | |
156 | #undef ENDIANESS_IN_SYS_PARAM_H | |
157 | ||
158 | /* define if struct ufsvfs has vfs_dqrwlock */ | |
159 | #undef HAVE_VFS_DQRWLOCK | |
160 | ||
161 | /* define if you have pread() and pwrite() */ | |
162 | #undef HAVE_PIO | |
163 | ||
164 | #undef PACKAGE | |
165 | #undef VERSION | |
166 | ||
167 | #undef HAVE_CONNECT | |
168 | //#undef HAVE_GETHOSTBYNAME | |
169 | #undef HAVE_RES_SEARCH | |
170 | //#undef HAVE_SOCKET | |
171 | ||
172 | #ifdef ENDIANESS_IN_SYS_PARAM_H | |
173 | # ifndef KERNEL | |
174 | # include <sys/types.h> | |
175 | # include <sys/param.h> | |
176 | # if BYTE_ORDER == BIG_ENDIAN | |
177 | # define WORDS_BIGENDIAN 1 | |
178 | # endif | |
179 | # endif | |
180 | #endif | |
181 | ||
182 | #define AFS_NAMEI_ENV 1 | |
183 | ||
184 | #undef FAST_RESTART | |
185 | #undef BITMAP_LATER | |
186 | ||
187 | #undef INODE_SETATTR_NOT_VOID | |
188 | #undef STRUCT_INODE_HAS_I_BYTES | |
189 | #undef STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK | |
190 | ||
191 | /* glue for RedHat kernel bug */ | |
192 | #undef ENABLE_REDHAT_BUILDSYS | |
193 | ||
194 | #if defined(ENABLE_REDHAT_BUILDSYS) && defined(KERNEL) && defined(REDHAT_FIX) | |
195 | #include "redhat-fix.h" | |
196 | #endif | |
197 | ||
198 | /* Define if rename() does not unlink an existing file */ | |
199 | #define RENAME_DOES_NOT_UNLINK 1 | |
200 | ||
201 | /* Windows does not provide socklen_t prior to WDK 6.0 */ | |
202 | #define HAVE_SOCKLEN_T 1 | |
203 | typedef int socklen_t; | |
204 | ||
205 | #if (_MSC_VER < 1400) | |
206 | typedef int errno_t; | |
207 | #endif | |
208 | ||
209 | /* | |
210 | * UNIX mode symbol definitions | |
211 | */ | |
212 | #ifndef S_IRWXU | |
213 | #define S_IRWXU 00700 | |
214 | #define S_IRUSR 00400 | |
215 | #define S_IWUSR 00200 | |
216 | #define S_IXUSR 00100 | |
217 | #endif | |
218 | ||
219 | #ifndef S_IRWXG | |
220 | #define S_IRWXG 00070 | |
221 | #define S_IRGRP 00040 | |
222 | #define S_IWGRP 00020 | |
223 | #define S_IXGRP 00010 | |
224 | #endif | |
225 | ||
226 | #ifndef S_IRWXO | |
227 | #define S_IRWXO 00007 | |
228 | #define S_IROTH 00004 | |
229 | #define S_IWOTH 00002 | |
230 | #define S_IXOTH 00001 | |
231 | #endif | |
232 | ||
233 | #ifndef S_ISUID | |
234 | #define S_ISUID 0004000 | |
235 | #define S_ISGID 0002000 | |
236 | #define S_ISVTX 0001000 | |
237 | #endif | |
238 | ||
239 | #define HAVE_CONIO_H 1 | |
240 | ||
241 | #define HAVE_FSYNC 1 | |
242 | ||
243 | /* param.h overrides lstat, so stop roken getting involved */ | |
244 | #define HAVE_LSTAT 1 | |
245 | ||
246 | #define HAVE_STRCASECMP 1 | |
247 | ||
248 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | |
249 | ||
250 | #define HAVE_DECL_H_ERRNO 1 | |
251 | ||
252 | #define HAVE_STRUCT_ADDRINFO 1 | |
253 | #define HAVE_GETADDRINFO 1 | |
254 | #define HAVE_GETNAMEINFO 1 | |
255 | #define HAVE_FREENAMEINFO 1 | |
256 | #define HAVE_FREEADDRINFO 1 | |
257 | #define HAVE_GAI_STRERROR 1 | |
258 | #define HAVE_STRERROR 1 | |
259 | #define HAVE_STRLWR 1 | |
260 | #define HAVE_STRDUP 1 | |
261 | #define HAVE_GETHOSTNAME 1 | |
262 | #define HAVE_STRFTIME 1 | |
263 | #define HAVE_GETCWD 1 | |
264 | #define HAVE_STRUPR 1 | |
265 | #define HAVE_UINTPTR_T 1 | |
266 | #define HAVE_TIMEGM 1 | |
267 | ||
268 | /* Build against Heimdal */ | |
269 | #define HAVE_KRB5_CREDS_KEYBLOCK_ENCTYPE 1 | |
270 | #define HAVE_KRB5_CREDS_SESSION 1 | |
271 | ||
272 | /* Build afsroken.dll as a dynamic library */ | |
273 | #define ROKEN_LIB_DYNAMIC 1 | |
274 | ||
275 | #define MAX(a,b) (((a) > (b)) ? (a) : (b)) | |
276 | #define MIN(a,b) (((a) < (b)) ? (a) : (b)) |