blob: ee8cdfe22756d338bbd94ab5c7a01dac8f086c2c [file] [log] [blame]
Austin Schuh906616c2019-01-21 20:25:11 -08001#ifndef GLOG_CONFIG_H
2#define GLOG_CONFIG_H
3
4/* define if glog doesn't use RTTI */
5#cmakedefine DISABLE_RTTI
6
7/* Namespace for Google classes */
8#cmakedefine GOOGLE_NAMESPACE ${GOOGLE_NAMESPACE}
9
10/* Define if you have the `dladdr' function */
11#cmakedefine HAVE_DLADDR
12
13/* Define if you have the `snprintf' function */
14#cmakedefine HAVE_SNPRINTF
15
16/* Define to 1 if you have the <dlfcn.h> header file. */
17#cmakedefine HAVE_DLFCN_H
18
19/* Define to 1 if you have the <execinfo.h> header file. */
20#cmakedefine HAVE_EXECINFO_H
21
22/* Define if you have the `fcntl' function */
23#cmakedefine HAVE_FCNTL
24
25/* Define to 1 if you have the <glob.h> header file. */
26#cmakedefine HAVE_GLOB_H
27
28/* Define to 1 if you have the <inttypes.h> header file. */
29#cmakedefine HAVE_INTTYPES_H ${HAVE_INTTYPES_H}
30
31/* Define to 1 if you have the `pthread' library (-lpthread). */
32#cmakedefine HAVE_LIBPTHREAD
33
34/* Define to 1 if you have the <libunwind.h> header file. */
35#cmakedefine HAVE_LIBUNWIND_H
36
37/* define if you have google gflags library */
38#cmakedefine HAVE_LIB_GFLAGS
39
40/* define if you have google gmock library */
41#cmakedefine HAVE_LIB_GMOCK
42
43/* define if you have google gtest library */
44#cmakedefine HAVE_LIB_GTEST
45
46/* define if you have libunwind */
47#cmakedefine HAVE_LIB_UNWIND
48
49/* Define to 1 if you have the <memory.h> header file. */
50#cmakedefine HAVE_MEMORY_H
51
52/* define to disable multithreading support. */
53#cmakedefine NO_THREADS
54
55/* define if the compiler implements namespaces */
56#cmakedefine HAVE_NAMESPACES
57
58/* Define if you have the 'pread' function */
59#cmakedefine HAVE_PREAD
60
61/* Define if you have POSIX threads libraries and header files. */
62#cmakedefine HAVE_PTHREAD
63
64/* Define to 1 if you have the <pwd.h> header file. */
65#cmakedefine HAVE_PWD_H
66
67/* Define if you have the 'pwrite' function */
68#cmakedefine HAVE_PWRITE
69
70/* define if the compiler implements pthread_rwlock_* */
71#cmakedefine HAVE_RWLOCK
72
73/* Define if you have the 'sigaction' function */
74#cmakedefine HAVE_SIGACTION
75
76/* Define if you have the `sigaltstack' function */
77#cmakedefine HAVE_SIGALTSTACK
78
79/* Define to 1 if you have the <stdint.h> header file. */
80#cmakedefine HAVE_STDINT_H ${HAVE_STDINT_H}
81
82/* Define to 1 if you have the <stdlib.h> header file. */
83#cmakedefine HAVE_STDLIB_H
84
85/* Define to 1 if you have the <strings.h> header file. */
86#cmakedefine HAVE_STRINGS_H
87
88/* Define to 1 if you have the <string.h> header file. */
89#cmakedefine HAVE_STRING_H
90
91/* Define to 1 if you have the <syscall.h> header file. */
92#cmakedefine HAVE_SYSCALL_H
93
94/* Define to 1 if you have the <syslog.h> header file. */
95#cmakedefine HAVE_SYSLOG_H
96
97/* Define to 1 if you have the <sys/stat.h> header file. */
98#cmakedefine HAVE_SYS_STAT_H
99
100/* Define to 1 if you have the <sys/syscall.h> header file. */
101#cmakedefine HAVE_SYS_SYSCALL_H
102
103/* Define to 1 if you have the <sys/time.h> header file. */
104#cmakedefine HAVE_SYS_TIME_H
105
106/* Define to 1 if you have the <sys/types.h> header file. */
107#cmakedefine HAVE_SYS_TYPES_H ${HAVE_SYS_TYPES_H}
108
109/* Define to 1 if you have the <sys/ucontext.h> header file. */
110#cmakedefine HAVE_SYS_UCONTEXT_H
111
112/* Define to 1 if you have the <sys/utsname.h> header file. */
113#cmakedefine HAVE_SYS_UTSNAME_H
114
115/* Define to 1 if you have the <ucontext.h> header file. */
116#cmakedefine HAVE_UCONTEXT_H
117
118/* Define to 1 if you have the <unistd.h> header file. */
119#cmakedefine HAVE_UNISTD_H ${HAVE_UNISTD_H}
120
121/* Define to 1 if you have the <unwind.h> header file. */
122#cmakedefine HAVE_UNWIND_H ${HAVE_UNWIND_H}
123
124/* define if the compiler supports using expression for operator */
125#cmakedefine HAVE_USING_OPERATOR
126
127/* define if your compiler has __attribute__ */
128#cmakedefine HAVE___ATTRIBUTE__
129
130/* define if your compiler has __builtin_expect */
131#cmakedefine HAVE___BUILTIN_EXPECT ${HAVE___BUILTIN_EXPECT}
132
133/* define if your compiler has __sync_val_compare_and_swap */
134#cmakedefine HAVE___SYNC_VAL_COMPARE_AND_SWAP
135
136/* define if symbolize support is available */
137#cmakedefine HAVE_SYMBOLIZE
138
139/* define if localtime_r is available in time.h */
140#cmakedefine HAVE_LOCALTIME_R
141
142/* Define to the sub-directory in which libtool stores uninstalled libraries.
143 */
144#cmakedefine LT_OBJDIR
145
146/* Name of package */
147#cmakedefine PACKAGE
148
149/* Define to the address where bug reports for this package should be sent. */
150#cmakedefine PACKAGE_BUGREPORT
151
152/* Define to the full name of this package. */
153#cmakedefine PACKAGE_NAME
154
155/* Define to the full name and version of this package. */
156#cmakedefine PACKAGE_STRING
157
158/* Define to the one symbol short name of this package. */
159#cmakedefine PACKAGE_TARNAME
160
161/* Define to the home page for this package. */
162#cmakedefine PACKAGE_URL
163
164/* Define to the version of this package. */
165#cmakedefine PACKAGE_VERSION
166
167/* How to access the PC from a struct ucontext */
168#cmakedefine PC_FROM_UCONTEXT
169
170/* define if we should print raw pc values on symbolization failure. */
171#cmakedefine PRINT_UNSYMBOLIZED_STACK_TRACES
172
173/* Define to necessary symbol if this constant uses a non-standard name on
174 your system. */
175#cmakedefine PTHREAD_CREATE_JOINABLE
176
177/* The size of `void *', as computed by sizeof. */
178#cmakedefine SIZEOF_VOID_P ${SIZEOF_VOID_P}
179
180/* Define to 1 if you have the ANSI C header files. */
181#cmakedefine STDC_HEADERS
182
183/* the namespace where STL code like vector<> is defined */
184#cmakedefine STL_NAMESPACE ${STL_NAMESPACE}
185
186/* location of source code */
187#cmakedefine TEST_SRC_DIR ${TEST_SRC_DIR}
188
189/* Define to necessary thread-local storage attribute. */
190#cmakedefine GLOG_THREAD_LOCAL_STORAGE ${GLOG_THREAD_LOCAL_STORAGE}
191
192/* Check whether aligned_storage and alignof present */
193#cmakedefine HAVE_ALIGNED_STORAGE ${HAVE_ALIGNED_STORAGE}
194
195/* Version number of package */
196#cmakedefine VERSION
197
198#ifdef GLOG_BAZEL_BUILD
199
200/* TODO(rodrigoq): remove this workaround once bazel#3979 is resolved:
201 * https://github.com/bazelbuild/bazel/issues/3979 */
202#define _START_GOOGLE_NAMESPACE_ namespace GOOGLE_NAMESPACE {
203
204#define _END_GOOGLE_NAMESPACE_ }
205
206#else
207
208/* Stops putting the code inside the Google namespace */
209#cmakedefine _END_GOOGLE_NAMESPACE_ ${_END_GOOGLE_NAMESPACE_}
210
211/* Puts following code inside the Google namespace */
212#cmakedefine _START_GOOGLE_NAMESPACE_ ${_START_GOOGLE_NAMESPACE_}
213
214#endif
215
216#endif // GLOG_CONFIG_H