forked from lizardfs/lizardfs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.h.in
132 lines (117 loc) · 4.59 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
/* 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 transferred 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 MFSBLOCKSINCHUNK @LIZARDFS_BLOCKS_IN_CHUNK@
#define MFSBLOCKSIZE @LIZARDFS_BLOCK_SIZE@
#define SBIN_PATH "@SBIN_PATH@"
#define LIB_PATH "@LIB_PATH@"
#define ETC_PATH "@ETC_PATH@"
#define DATA_PATH "@DATA_PATH@"
#define USR_SHARE_DOC "@USR_SHARE_DOC@"
#define DEFAULT_USER "@DEFAULT_USER@"
#define DEFAULT_GROUP "@DEFAULT_GROUP@"
#define DEFAULT_MASTER_HOSTNAME "@DEFAULT_MASTER_HOSTNAME@"
#define DEFAULT_MASTER_PORT "@DEFAULT_MASTER_PORT@"
#define DEFAULT_MOUNTED_SUBFOLDER "@DEFAULT_MOUNTED_SUBFOLDER@"
#define DEFAULT_MFSMOUNT_CONFIG_PATH "@DEFAULT_MFSMOUNT_CONFIG_PATH@"
#define CHARTS_CSV_CHARTID_BASE @CHARTS_CSV_CHARTID_BASE@
/* Fixes for ancient compilers */
// GCC 4.6
#if defined(__GNUC__) && defined(__GNUC_MINOR__) && !defined(__clang__)
# 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_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_MMAN_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
#cmakedefine LIZARDFS_HAVE_ZLIB_H
#cmakedefine LIZARDFS_HAVE_SYSTEMD_SD_DAEMON_H
#cmakedefine LIZARDFS_HAVE_ISA_L_ERASURE_CODE_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_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
#cmakedefine LIZARDFS_HAVE_POSIX_FADVISE
#cmakedefine LIZARDFS_HAVE_CLOCK_GETTIME
#cmakedefine LIZARDFS_HAVE_JUDY
#cmakedefine LIZARDFS_HAVE_GETIFADDRS
#cmakedefine LIZARDFS_HAVE_PAM
#cmakedefine LIZARDFS_HAVE_FALLOCATE
#cmakedefine LIZARDFS_HAVE_FALLOC_FL_PUNCH_HOLE
#cmakedefine LIZARDFS_HAVE_FALLOC_FL_PUNCH_HOLE_IN_LINUX_FALLOC_H
/* [CMake] Other */
#cmakedefine HAVE_CRCUTIL
#cmakedefine WORDS_BIGENDIAN
#cmakedefine ENABLE_EXIT_ON_USR1
#cmakedefine LIZARDFS_ENABLE_DEBUG_LOG
#cmakedefine LIZARDFS_HAVE_DB
#cmakedefine LIZARDFS_HAVE_STD_CHRONO_STEADY_CLOCK
#cmakedefine LIZARDFS_TEST_POINTER_OBFUSCATION
#cmakedefine LIZARDFS_HAVE_STD_ALLOCATOR_TRAITS
#cmakedefine LIZARDFS_HAVE_CPU_CHECK
#cmakedefine LIZARDFS_HAVE_THREAD_LOCAL
#cmakedefine SOCKET_CONVERT_POLL_TO_SELECT
#cmakedefine LIZARDFS_HAVE_STD_FUTURE
#cmakedefine LIZARDFS_HAVE_WORKING_JUDY1