-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.h.in
145 lines (126 loc) · 4.85 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
133
134
135
136
137
138
139
140
141
142
143
144
145
/* Extra definitions used in code but not checked by anything */
#define SAUNAFS_HAVE_PWD_H
#define SAUNAFS_HAVE_STRERROR_R
#define MASTERINFO_WITH_VERSION
/* Definitions transferred to preprocessor */
#define SAUNAFS_PACKAGE_VERSION_MAJOR @PACKAGE_VERSION_MAJOR@
#define SAUNAFS_PACKAGE_VERSION_MINOR @PACKAGE_VERSION_MINOR@
#define SAUNAFS_PACKAGE_VERSION_MICRO @PACKAGE_VERSION_MICRO@
#define SAUNAFS_PACKAGE_VERSION "@PACKAGE_VERSION@"
#define SAUNAFS_VERSHEX ((@PACKAGE_VERSION_MAJOR@)*0x10000+(@PACKAGE_VERSION_MINOR@)*0x100+(@PACKAGE_VERSION_MICRO@))
#define PROTO_BASE @PROTO_BASE@
#define SFSBLOCKSINCHUNK @SAUNAFS_BLOCKS_IN_CHUNK@
#define SFSBLOCKSIZE @SAUNAFS_BLOCK_SIZE@
#define SBIN_PATH "@SBIN_PATH@"
#define LIB_PATH "@LIB_PATH@"
#define PLUGINS_PATH "@PLUGINS_PATH@"
#define BUILD_PATH "@BUILD_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_SFSMOUNT_CONFIG_PATH "@DEFAULT_SFSMOUNT_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 SAUNAFS_HAVE_ARPA_INET_H
#cmakedefine SAUNAFS_HAVE_FCNTL_H
#cmakedefine SAUNAFS_HAVE_INTTYPES_H
#cmakedefine SAUNAFS_HAVE_LIMITS_H
#cmakedefine SAUNAFS_HAVE_NETDB_H
#cmakedefine SAUNAFS_HAVE_NETINET_IN_H
#cmakedefine SAUNAFS_HAVE_STDDEF_H
#cmakedefine SAUNAFS_HAVE_STDLIB_H
#cmakedefine SAUNAFS_HAVE_STRING_H
#cmakedefine SAUNAFS_HAVE_SYS_MMAN_H
#cmakedefine SAUNAFS_HAVE_SYS_RESOURCE_H
#cmakedefine SAUNAFS_HAVE_SYS_SOCKET_H
#cmakedefine SAUNAFS_HAVE_SYS_STATVFS_H
#cmakedefine SAUNAFS_HAVE_SYS_TIME_H
#cmakedefine SAUNAFS_HAVE_SYSLOG_H
#cmakedefine SAUNAFS_HAVE_UNISTD_H
#cmakedefine SAUNAFS_HAVE_STDBOOL_H
#cmakedefine SAUNAFS_HAVE_ZLIB_H
#cmakedefine SAUNAFS_HAVE_SYSTEMD_SD_DAEMON_H
#cmakedefine SAUNAFS_HAVE_ISA_L_ERASURE_CODE_H
/* [CMake] Structures */
#cmakedefine SAUNAFS_HAVE_STRUCT_STAT_ST_BLOCKS
#cmakedefine SAUNAFS_HAVE_STRUCT_STAT_ST_RDEV
#cmakedefine SAUNAFS_HAVE_STRUCT_STAT_ST_BIRTHTIME
#cmakedefine SAUNAFS_HAVE_STRUCT_STAT_ST_BLKSIZE
#cmakedefine SAUNAFS_HAVE_STRUCT_STAT_ST_FLAGS
#cmakedefine SAUNAFS_HAVE_STRUCT_TM_TM_GMTOFF
#cmakedefine SAUNAFS_HAVE_STRUCT_RUSAGE_RU_MAXRSS
/* [CMake] Required functions */
#cmakedefine SAUNAFS_HAVE_ATEXIT
#cmakedefine SAUNAFS_HAVE_FTRUNCATE
#cmakedefine SAUNAFS_HAVE_GETADDRINFO
#cmakedefine SAUNAFS_HAVE_GETPASS
#cmakedefine SAUNAFS_HAVE_GETTIMEOFDAY
#cmakedefine SAUNAFS_HAVE_MEMMOVE
#cmakedefine SAUNAFS_HAVE_MEMSET
#cmakedefine SAUNAFS_HAVE_MKDIR
#cmakedefine SAUNAFS_HAVE_REALPATH
#cmakedefine SAUNAFS_HAVE_POLL
#cmakedefine SAUNAFS_HAVE_SOCKET
#cmakedefine SAUNAFS_HAVE_STRCHR
#cmakedefine SAUNAFS_HAVE_STRDUP
#cmakedefine SAUNAFS_HAVE_STRTOL
#cmakedefine SAUNAFS_HAVE_STRTOUL
#cmakedefine SAUNAFS_HAVE_FTELLO
#cmakedefine SAUNAFS_HAVE_FSEEKO
/* [CMake] Optional functions */
#cmakedefine SAUNAFS_HAVE_STRERROR
#cmakedefine SAUNAFS_HAVE_PERROR
#cmakedefine SAUNAFS_HAVE_PREAD
#cmakedefine SAUNAFS_HAVE_PWRITE
#cmakedefine SAUNAFS_HAVE_READV
#cmakedefine SAUNAFS_HAVE_WRITEV
#cmakedefine SAUNAFS_HAVE_GETRUSAGE
#cmakedefine SAUNAFS_HAVE_SETITIMER
#cmakedefine SAUNAFS_HAVE_STD_TO_STRING
#cmakedefine SAUNAFS_HAVE_STD_STOULL
#cmakedefine SAUNAFS_HAVE_MALLOPT
/* [CMake] Optional functions #2 */
#cmakedefine SAUNAFS_HAVE_DUP2
#cmakedefine SAUNAFS_HAVE_MLOCKALL
#cmakedefine SAUNAFS_HAVE_GETCWD
#cmakedefine SAUNAFS_HAVE_POSIX_FADVISE
#cmakedefine SAUNAFS_HAVE_CLOCK_GETTIME
#cmakedefine SAUNAFS_HAVE_JUDY
#cmakedefine SAUNAFS_HAVE_GETIFADDRS
#cmakedefine SAUNAFS_HAVE_PAM
#cmakedefine SAUNAFS_HAVE_FALLOCATE
#cmakedefine SAUNAFS_HAVE_FALLOC_FL_PUNCH_HOLE
#cmakedefine SAUNAFS_HAVE_FALLOC_FL_PUNCH_HOLE_IN_LINUX_FALLOC_H
/* [CMake] Other */
#cmakedefine HAVE_CRCUTIL
#cmakedefine WORDS_BIGENDIAN
#cmakedefine ENABLE_EXIT_ON_USR1
#cmakedefine SAUNAFS_ENABLE_DEBUG_LOG
#cmakedefine SAUNAFS_HAVE_DB
#cmakedefine SAUNAFS_HAVE_STD_CHRONO_STEADY_CLOCK
#cmakedefine SAUNAFS_TEST_POINTER_OBFUSCATION
#cmakedefine SAUNAFS_HAVE_STD_ALLOCATOR_TRAITS
#cmakedefine SAUNAFS_HAVE_CPU_CHECK
#cmakedefine SAUNAFS_HAVE_THREAD_LOCAL
#cmakedefine SOCKET_CONVERT_POLL_TO_SELECT
#cmakedefine SAUNAFS_HAVE_STD_FUTURE
#cmakedefine SAUNAFS_HAVE_WORKING_JUDY1
// Define GSH_CAN_HOST_LOCAL_FS to define struct fsal_filesystem
#cmakedefine GSH_CAN_HOST_LOCAL_FS 1
// Define _USE_RQUOTA variable to include QUOTA features
#cmakedefine _USE_RQUOTA 1
#cmakedefine LINUX 1
#cmakedefine ENABLE_NFS_ACL_SUPPORT 1