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