1/* config.h.cmake. Generated from CMakeLists.txt by cmake. */
2
3/* general constants */
4#define CONFIGURE_OPTIONS ""
5
6#define HOST_CPU "x86_64"
7#define HOST_OS "Linux"
8
9#define VERSION "7.0.7"
10#define PACKAGE "groonga"
11#define PACKAGE_NAME "groonga"
12#define PACKAGE_LABEL "Groonga"
13#define PACKAGE_STRING "groonga 7.0.7"
14#define PACKAGE_TARNAME "groonga"
15#define PACKAGE_URL ""
16#define PACKAGE_VERSION "7.0.7"
17
18/* Groonga related constants */
19#define GRN_CONFIG_PATH "/usr/local/mysql/etc/groonga/groonga.conf"
20#define GRN_LOG_PATH "/usr/local/mysql/var/log/groonga/groonga.log"
21#define GRN_VERSION "7.0.7"
22
23#define GRN_DEFAULT_DB_KEY "auto"
24#define GRN_DEFAULT_ENCODING "utf8"
25#define GRN_DEFAULT_MATCH_ESCALATION_THRESHOLD \
26 0
27#define GRN_DEFAULT_RELATIVE_DOCUMENT_ROOT \
28 "share/groonga/html/admin"
29#define GRN_DEFAULT_DOCUMENT_ROOT \
30 "/usr/local/mysql/share/groonga/html/admin"
31
32#define GRN_STACK_SIZE 1024
33
34#define GRN_LOCK_TIMEOUT 900000
35#define GRN_LOCK_WAIT_TIME_NANOSECOND \
36 1000000
37
38#define GRN_RELATIVE_PLUGINS_DIR \
39 "lib/groonga/plugins"
40#define GRN_PLUGINS_DIR "/usr/local/mysql/lib/groonga/plugins"
41#define GRN_PLUGIN_SUFFIX ".so"
42
43#define GRN_QUERY_EXPANDER_TSV_RELATIVE_SYNONYMS_FILE "etc/groonga/synonyms.tsv"
44#define GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE "/usr/local/mysql/etc/groonga/synonyms.tsv"
45
46#define GRN_RELATIVE_RUBY_SCRIPTS_DIR \
47 "lib/groonga/scripts/ruby"
48#define GRN_RUBY_SCRIPTS_DIR "/usr/local/mysql/lib/groonga/scripts/ruby"
49
50#define GRN_DLL_FILENAME L"libgroonga.so"
51
52/* build switches */
53/* #undef USE_MEMORY_DEBUG */
54/* #undef USE_MAP_HUGETLB */
55/* #undef USE_AIO */
56/* #undef USE_DYNAMIC_MALLOC_CHANGE */
57#define USE_EPOLL
58/* #undef USE_EXACT_ALLOC_COUNT */
59/* #undef USE_FAIL_MALLOC */
60/* #undef USE_FUTEX */
61/* #undef USE_KQUEUE */
62/* #undef USE_MSG_MORE */
63/* #undef USE_MSG_NOSIGNAL */
64/* #undef USE_POLL */
65/* #undef USE_QUERY_ABORT */
66/* #undef USE_SELECT */
67
68/* compiler specific build options */
69#define _FILE_OFFSET_BITS 64
70#ifndef _GNU_SOURCE
71 #define _GNU_SOURCE
72#endif
73/* #undef _ISOC99_SOURCE */
74/* #undef _LARGE_FILES */
75/* #undef _NETBSD_SOURCE */
76/* #undef _XOPEN_SOURCE */
77/* #undef _XPG4_2 */
78/* #undef __EXTENSIONS__ */
79
80/* build environment */
81/* #undef WORDS_BIGENDIAN */
82
83/* packages */
84/* #undef GRN_WITH_BENCHMARK */
85/* #undef GRN_WITH_CUTTER */
86/* #undef GRN_WITH_KYTEA */
87#define GRN_WITH_LZ4
88/* #undef GRN_WITH_ZSTD */
89/* #undef GRN_WITH_MECAB */
90/* #undef GRN_WITH_MESSAGE_PACK */
91/* #undef GRN_WITH_MRUBY */
92#define GRN_WITH_NFKC
93/* #undef GRN_WITH_ONIGMO */
94/* #undef GRN_WITH_ZEROMQ */
95#define GRN_WITH_ZLIB
96
97/* headers */
98#define HAVE_DIRENT_H
99#define HAVE_DLFCN_H
100#define HAVE_ERRNO_H
101#define HAVE_EXECINFO_H
102#define HAVE_INTTYPES_H
103/* #undef HAVE_LINUX_FUTEX_H */
104#define HAVE_MEMORY_H
105#define HAVE_NETDB_H
106#define HAVE_PTHREAD_H
107#define HAVE_SIGNAL_H
108#define HAVE_SYS_MMAN_H
109#define HAVE_SYS_PARAM_H
110#define HAVE_SYS_RESOURCE_H
111#define HAVE_SYS_SELECT_H
112#define HAVE_SYS_SOCKET_H
113#define HAVE_SYS_STAT_H
114#define HAVE_SYS_SYSCALL_H
115#define HAVE_SYS_SYSCTL_H
116#define HAVE_SYS_TIME_H
117#define HAVE_SYS_WAIT_H
118#define HAVE_TIME_H
119#define HAVE_UCONTEXT_H
120#define HAVE_UNISTD_H
121
122/* libraries */
123/* #undef HAVE_LIBEDIT */
124#define HAVE_LIBEVENT
125#define HAVE_LIBM
126#define HAVE_LIBRT
127
128/* structs */
129/* #undef HAVE_MECAB_DICTIONARY_INFO_T */
130
131/* functions */
132/* #undef HAVE__GMTIME64_S */
133/* #undef HAVE__LOCALTIME64_S */
134/* #undef HAVE__STRTOUI64 */
135#define HAVE_BACKTRACE
136/* #undef HAVE_CLOCK */
137#define HAVE_CLOCK_GETTIME
138#define HAVE_FPCLASSIFY
139#define HAVE_GMTIME_R
140#define HAVE_LOCALTIME_R
141#define HAVE_MKSTEMP
142#define HAVE_STRCASECMP
143#define HAVE_STRNCASECMP
144#define HAVE_STRTOULL
145/* #undef HAVE_PTHREAD_MUTEXATTR_SETPSHARED */
146/* #undef HAVE_PTHREAD_CONDATTR_SETPSHARED */
147