rx-warning-cleanup-and-afsconfig-20010605
[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_WINDOWS_H
17 #define HAVE_MALLOC_H
18 #define HAVE_WINSOCK2_H
19 #define HAVE_DIRECT_H
20 #define HAVE_IO_H
21 #endif
22
23 #ifndef AFS_NT40_ENV
24 #define HAVE_UNISTD_H
25 #define HAVE_FCNTL_H
26 #define HAVE_SYS_TIME_H
27 #define HAVE_SYS_FILE_H
28 #define HAVE_NETINET_IN_H
29 #define HAVE_NETDB_H
30 #endif
31
32 #ifdef AFS_SUN5_ENV
33 #define HAVE_SYS_FCNTL_H
34 #define HAVE_SYS_MNTTAB_H
35 #define HAVE_SYS_MNTENT_H
36 #endif
37
38 #if defined(AFS_SGI_ENV) || defined(AFS_HPUX_ENV) || defined(AFS_LINUX20_ENV) || (defined(AFS_SUN_ENV) && !defined(AFS_SUN5_ENV))
39 #define HAVE_MNTENT_H
40 #endif
41
42 #if !defined(AFS_OSF_ENV) && !defined(AFS_DEC_ENV) && !defined(AFS_DARWIN_ENV) && !defined(AFS_FBSD_ENV)
43 #define HAVE_SYS_VFS_H
44 #endif
45
46 #ifdef AFS_DEC_ENV
47 #define HAVE_SYS_PARAM_H
48 #define HAVE_SYS_FS_TYPES_H
49 #endif
50
51 #if !defined(AFS_AIX41_ENV)
52 #define HAVE_SYS_MOUNT_H
53 #endif
54
55 #if defined(AFS_SUN5_ENV) || defined(AFS_SGI_ENV) || defined(AFS_LINUX22_ENV)
56 #define HAVE_STRINGS_H
57 #define HAVE_STRING_H
58 #else
59 #define HAVE_STRING_H
60 #endif
61
62 #if defined(AFS_SUN_ENV) && !defined(AFS_SUN5_ENV)
63 #define HAVE_TERMIOS_H
64 #elif defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV)
65 #define HAVE_TERMIOS_H
66 #endif
67
68 #if defined(AFS_SGI_ENV) || defined(AFS_LINUX20_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV)
69 #define HAVE_SIGNAL_H
70 #endif
71
72 #endif /* AFSCONFIG_H */