forked from lizardfs/lizardfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h.in
107 lines (92 loc) · 3.45 KB
/
config.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/* Extra definitions used in code but not checked by anything */
#define LIZARDFS_HAVE_PWD_H
#define LIZARDFS_HAVE_STRERROR_R
#define MASTERINFO_WITH_VERSION
/* Definitions transfered to preprocessor */
#define LIZARDFS_PACKAGE_VERSION_MAJOR @PACKAGE_VERSION_MAJOR@
#define LIZARDFS_PACKAGE_VERSION_MINOR @PACKAGE_VERSION_MINOR@
#define LIZARDFS_PACKAGE_VERSION_MICRO @PACKAGE_VERSION_MICRO@
#define LIZARDFS_PACKAGE_VERSION "@PACKAGE_VERSION@"
#define LIZARDFS_VERSHEX ((@PACKAGE_VERSION_MAJOR@)*0x10000+(@PACKAGE_VERSION_MINOR@)*0x100+(@PACKAGE_VERSION_MICRO@))
#define PROTO_BASE @PROTO_BASE@
#define LIGHT_MFS @LIGHT_MFS@
#define DATA_PATH "@DATA_PATH@"
#define ETC_PATH "@ETC_PATH@"
#define RUN_PATH "@RUN_PATH@"
#define SBIN_PATH "@SBIN_PATH@"
#define DEFAULT_USER "@DEFAULT_USER@"
#define DEFAULT_GROUP "@DEFAULT_GROUP@"
#define CHARTS_CSV_CHARTID_BASE @CHARTS_CSV_CHARTID_BASE@
/* Fixes for ancient compilers */
// GCC 4.6
#if defined(__GNUC__) && defined(__GNUC_MINOR__)
# if (__GNUC__ == 4 && __GNUC_MINOR__ <= 6)
// remove uses of the C++11 override specifier, gcc 4.6 doesn't support it
# define override
# endif
#endif
/* [CMake] Includes */
#cmakedefine LIZARDFS_HAVE_ARPA_INET_H
#cmakedefine LIZARDFS_HAVE_ENDIAN_H
#cmakedefine LIZARDFS_HAVE_FCNTL_H
#cmakedefine LIZARDFS_HAVE_INTTYPES_H
#cmakedefine LIZARDFS_HAVE_LIMITS_H
#cmakedefine LIZARDFS_HAVE_NETDB_H
#cmakedefine LIZARDFS_HAVE_NETINET_IN_H
#cmakedefine LIZARDFS_HAVE_STDDEF_H
#cmakedefine LIZARDFS_HAVE_STDLIB_H
#cmakedefine LIZARDFS_HAVE_STRING_H
#cmakedefine LIZARDFS_HAVE_SYS_ENDIAN_H
#cmakedefine LIZARDFS_HAVE_SYS_RESOURCE_H
#cmakedefine LIZARDFS_HAVE_SYS_SOCKET_H
#cmakedefine LIZARDFS_HAVE_SYS_STATVFS_H
#cmakedefine LIZARDFS_HAVE_SYS_TIME_H
#cmakedefine LIZARDFS_HAVE_SYSLOG_H
#cmakedefine LIZARDFS_HAVE_UNISTD_H
#cmakedefine LIZARDFS_HAVE_STDBOOL_H
/* [CMake] Structures */
#cmakedefine LIZARDFS_HAVE_STRUCT_STAT_ST_BLOCKS
#cmakedefine LIZARDFS_HAVE_STRUCT_STAT_ST_RDEV
#cmakedefine LIZARDFS_HAVE_STRUCT_STAT_ST_BIRTHTIME
#cmakedefine LIZARDFS_HAVE_STRUCT_STAT_ST_BLKSIZE
#cmakedefine LIZARDFS_HAVE_STRUCT_STAT_ST_FLAGS
#cmakedefine LIZARDFS_HAVE_STRUCT_TM_TM_GMTOFF
#cmakedefine LIZARDFS_HAVE_STRUCT_RUSAGE_RU_MAXRSS
/* [CMake] Required functions */
#cmakedefine LIZARDFS_HAVE_ATEXIT
#cmakedefine LIZARDFS_HAVE_BZERO
#cmakedefine LIZARDFS_HAVE_FTRUNCATE
#cmakedefine LIZARDFS_HAVE_GETADDRINFO
#cmakedefine LIZARDFS_HAVE_GETPASS
#cmakedefine LIZARDFS_HAVE_GETTIMEOFDAY
#cmakedefine LIZARDFS_HAVE_MEMMOVE
#cmakedefine LIZARDFS_HAVE_MEMSET
#cmakedefine LIZARDFS_HAVE_MKDIR
#cmakedefine LIZARDFS_HAVE_REALPATH
#cmakedefine LIZARDFS_HAVE_POLL
#cmakedefine LIZARDFS_HAVE_SOCKET
#cmakedefine LIZARDFS_HAVE_STRCHR
#cmakedefine LIZARDFS_HAVE_STRDUP
#cmakedefine LIZARDFS_HAVE_STRTOL
#cmakedefine LIZARDFS_HAVE_STRTOUL
#cmakedefine LIZARDFS_HAVE_FTELLO
#cmakedefine LIZARDFS_HAVE_FSEEKO
/* [CMake] Optional functions */
#cmakedefine LIZARDFS_HAVE_STRERROR
#cmakedefine LIZARDFS_HAVE_PERROR
#cmakedefine LIZARDFS_HAVE_PREAD
#cmakedefine LIZARDFS_HAVE_PWRITE
#cmakedefine LIZARDFS_HAVE_READV
#cmakedefine LIZARDFS_HAVE_WRITEV
#cmakedefine LIZARDFS_HAVE_GETRUSAGE
#cmakedefine LIZARDFS_HAVE_SETITIMER
#cmakedefine LIZARDFS_HAVE_STD_TO_STRING
#cmakedefine LIZARDFS_HAVE_STD_STOULL
/* [CMake] Optional functions #2 */
#cmakedefine LIZARDFS_HAVE_DUP2
#cmakedefine LIZARDFS_HAVE_MLOCKALL
#cmakedefine LIZARDFS_HAVE_GETCWD
/* [CMake] Other */
#cmakedefine WORDS_BIGENDIAN
#cmakedefine ENABLE_EXIT_ON_USR1
#cmakedefine LIZARDFS_ENABLE_DEBUG_LOG