8511204005144e48ed39811f7c4fb83a497c0ff7
[openafs.git] / src / afsconfig.h.in
1 /*
2  *  This is a template config.h.in, it is not truly a config.h.in at the moment
3  *  but will be converted to one during autoconf switch. The defines below
4  *  are all static and hardcoded purely to aid in the cleanup and migration
5  *  process.
6  *
7  */
8
9 #ifndef AFSCONFIG_H
10 #define AFSCONFIG_H
11
12 #define HAVE_STDLIB_H
13 #define HAVE_STRING_H
14
15 #ifdef AFS_NT40_ENV
16 #define HAVE_MALLOC_H
17 #define HAVE_WINSOCK2_H
18 #define HAVE_DIRECT_H
19 #define HAVE_IO_H
20 #endif
21
22 #ifndef AFS_NT40_ENV
23 #define HAVE_UNISTD_H
24 #define HAVE_FCNTL_H
25 #define HAVE_SYS_TIME_H
26 #define HAVE_SYS_FILE_H
27 #define HAVE_NETINET_IN_H
28 #define HAVE_NETDB_H
29 #endif
30
31 #ifdef AFS_SUN5_ENV
32 #define HAVE_SYS_FCNTL_H
33 #define HAVE_SYS_MNTTAB_H
34 #define HAVE_SYS_MNTENT_H
35 #endif
36
37 #if defined(AFS_SGI_ENV) || defined(AFS_HPUX_ENV) || defined(AFS_LINUX20_ENV) || (defined(AFS_SUN_ENV) && !defined(AFS_SUN5_ENV))
38 #define HAVE_MNTENT_H
39 #endif
40
41 #if !defined(AFS_OSF_ENV) && !defined(AFS_DEC_ENV) && !defined(AFS_DARWIN_ENV) && !defined(AFS_FBSD_ENV)
42 #define HAVE_SYS_VFS_H
43 #endif
44
45 #ifdef AFS_DEC_ENV
46 #define HAVE_SYS_PARAM_H
47 #define HAVE_SYS_FS_TYPES_H
48 #endif
49
50 #if !defined(AFS_AIX41_ENV)
51 #define HAVE_SYS_MOUNT_H
52 #endif
53
54 #endif /* AFSCONFIG_H */