1 /* src/config/afsconfig.h.in. Generated automatically from configure.in by autoheader. */
2 /* Modified for Win2000 build*/
5 System headers sometimes define this.
6 We just want to avoid a redefinition error message. */
11 /* Define to empty if the keyword does not work. */
14 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
15 #undef HAVE_SYS_WAIT_H
17 /* Define as __inline if that's what the C compiler calls it. */
18 #define inline __inline
20 /* Define if on MINIX. */
23 /* Define to `int' if <sys/types.h> doesn't define. */
26 /* Define if the system does not provide POSIX.1 features except
28 #undef _POSIX_1_SOURCE
30 /* Define if you need to in order for stat and other things to work. */
33 /* Define as the return type of signal handlers (int or void). */
37 /* The size of `long', as computed by sizeof. */
40 /* Define to `unsigned' if <sys/types.h> doesn't define. */
41 //#undef size_t unsigned int
43 /* Define if you have the ANSI C header files. */
46 /* Define if lex declares yytext as a char * by default, not a char[]. */
49 /* Define if you have the connect function. */
52 /* Define if you have the error_message function. */
53 #define HAVE_ERROR_MESSAGE
55 /* Define if you have the gethostbyname function. */
56 #define HAVE_GETHOSTBYNAME
58 /* Define if you have the res_search function. */
59 #undef HAVE_RES_SEARCH
61 /* Define if you have the snprintf function. */
64 /* Define if you have the socket function. */
67 /* Define if you have the <direct.h> header file. */
70 /* Define if you have the <dirent.h> header file. */
71 #define HAVE_DIRENT_H 1
73 /* Define if you have the <fcntl.h> header file. */
76 /* Define if you have the <mntent.h> header file. */
79 /* Define if you have the <ndir.h> header file. */
82 /* Define if you have the <netdb.h> header file. */
85 /* Define if you have the <netinet/in.h> header file. */
86 #undef HAVE_NETINET_IN_H
88 /* Define if you have the <security/pam_modules.h> header file. */
89 #undef HAVE_SECURITY_PAM_MODULES_H
91 /* Define if you have the <signal.h> header file. */
94 /* Define if you have the <stdlib.h> header file. */
97 /* Define if you have the <string.h> header file. */
100 /* Define if you have the <strings.h> header file. */
101 #undef HAVE_STRINGS_H
103 /* Define if you have the <sys/dir.h> header file. */
104 #undef HAVE_SYS_DIR_H
106 /* Define if you have the <sys/fcntl.h> header file. */
107 #define HAVE_SYS_FCNTL_H
109 /* Define if you have the <sys/file.h> header file. */
110 #undef HAVE_SYS_FILE_H
112 /* Define if you have the <sys/fs_types.h> header file. */
113 #undef HAVE_SYS_FS_TYPES_H
115 /* Define if you have the <sys/mntent.h> header file. */
116 #undef HAVE_SYS_MNTENT_H
118 /* Define if you have the <sys/mnttab.h> header file. */
119 #undef HAVE_SYS_MNTTAB_H
121 /* Define if you have the <sys/mount.h> header file. */
122 #undef HAVE_SYS_MOUNT_H
124 /* Define if you have the <sys/ndir.h> header file. */
125 #undef HAVE_SYS_NDIR_H
127 /* Define if you have the <sys/param.h> header file. */
128 #undef HAVE_SYS_PARAM_H
130 /* Define if you have the <sys/time.h> header file. */
131 #undef HAVE_SYS_TIME_H
133 /* Define if you have the <sys/vfs.h> header file. */
134 #undef HAVE_SYS_VFS_H
136 /* Define if you have the <termios.h> header file. */
137 #undef HAVE_TERMIOS_H
139 /* Define if you have the <unistd.h> header file. */
142 /* Define if you have the <windows.h> header file. */
143 #define HAVE_WINDOWS_H
145 /* Define if you have the <winsock2.h> header file. */
146 #define HAVE_WINSOCK2_H
148 /* Define if you have vsnprintf */
149 #define HAVE_VSNPRINTF 1
151 /* Define if you have snprintf */
152 #define HAVE_SNPRINTF 1
154 /* Name of package */
157 /* Version number of package */
160 /* define if target is big endian */
161 #undef WORDS_BIGENDIAN
163 /* define if sys/param.h defines the endiness */
164 #undef ENDIANESS_IN_SYS_PARAM_H
166 /* define if struct ufsvfs has vfs_dqrwlock */
167 #undef HAVE_VFS_DQRWLOCK
169 /* define if you have pread() and pwrite() */
176 //#undef HAVE_GETHOSTBYNAME
177 #undef HAVE_RES_SEARCH
180 #ifdef ENDIANESS_IN_SYS_PARAM_H
182 # include <sys/types.h>
183 # include <sys/param.h>
184 # if BYTE_ORDER == BIG_ENDIAN
185 # define WORDS_BIGENDIAN 1
190 #define AFS_NAMEI_ENV 1
195 #undef INODE_SETATTR_NOT_VOID
196 #undef STRUCT_INODE_HAS_I_BYTES
197 #undef STRUCT_ADDRESS_SPACE_HAS_PAGE_LOCK
199 /* glue for RedHat kernel bug */
200 #undef ENABLE_REDHAT_BUILDSYS
202 #if defined(ENABLE_REDHAT_BUILDSYS) && defined(KERNEL) && defined(REDHAT_FIX)
203 #include "redhat-fix.h"
206 /* Windows does not provide socklen_t prior to WDK 6.0 */
207 #undef HAVE_SOCKLEN_T
209 #if (_MSC_VER < 1400)
213 /* Windows only supports BSD variants */
214 #define S_IRUSR _S_IREAD
215 #define S_IWUSR _S_IWRITE
217 #define HAVE_CONIO_H 1