Add a LICENSE file for folly
[folly.git] / folly / folly-config.h
1 /*
2  * Copyright 2012 Facebook, Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *   http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef _FOLLY_CONFIG_H
18 #define _FOLLY_CONFIG_H 1
19
20 /* folly-config.h. Generated automatically at end of configure. */
21 /* config.h.  Generated from config.h.in by configure.  */
22 /* config.h.in.  Generated from configure.ac by autoheader.  */
23
24 /* define if the Boost library is available */
25 #ifndef FOLLY_HAVE_BOOST
26 #define FOLLY_HAVE_BOOST /**/
27 #endif
28
29 /* define if the Boost::Regex library is available */
30 #ifndef FOLLY_HAVE_BOOST_REGEX
31 #define FOLLY_HAVE_BOOST_REGEX /**/
32 #endif
33
34 /* define if the Boost::Thread library is available */
35 #ifndef FOLLY_HAVE_BOOST_THREAD
36 #define FOLLY_HAVE_BOOST_THREAD /**/
37 #endif
38
39 /* Define to 1 if you have the <dlfcn.h> header file. */
40 #ifndef FOLLY_HAVE_DLFCN_H
41 #define FOLLY_HAVE_DLFCN_H 1
42 #endif
43
44 /* Define to 1 if you have the <fcntl.h> header file. */
45 #ifndef FOLLY_HAVE_FCNTL_H
46 #define FOLLY_HAVE_FCNTL_H 1
47 #endif
48
49 /* Define to 1 if you have the <features.h> header file. */
50 #ifndef FOLLY_HAVE_FEATURES_H
51 #define FOLLY_HAVE_FEATURES_H 1
52 #endif
53
54 /* Define to 1 if you have the `ffsll' function. */
55 #ifndef FOLLY_HAVE_FFSLL
56 #define FOLLY_HAVE_FFSLL 1
57 #endif
58
59 /* Define to 1 if you have the `getdelim' function. */
60 #ifndef FOLLY_HAVE_GETDELIM
61 #define FOLLY_HAVE_GETDELIM 1
62 #endif
63
64 /* Define to 1 if you have the `gettimeofday' function. */
65 #ifndef FOLLY_HAVE_GETTIMEOFDAY
66 #define FOLLY_HAVE_GETTIMEOFDAY 1
67 #endif
68
69 /* Define to 1 if you have the <inttypes.h> header file. */
70 #ifndef FOLLY_HAVE_INTTYPES_H
71 #define FOLLY_HAVE_INTTYPES_H 1
72 #endif
73
74 /* Define to 1 if you have the `double_conversion' library
75    (-ldouble_conversion). */
76 #ifndef FOLLY_HAVE_LIBDOUBLE_CONVERSION
77 #define FOLLY_HAVE_LIBDOUBLE_CONVERSION 1
78 #endif
79
80 /* Define to 1 if you have the `gflags' library (-lgflags). */
81 #ifndef FOLLY_HAVE_LIBGFLAGS
82 #define FOLLY_HAVE_LIBGFLAGS 1
83 #endif
84
85 /* Define to 1 if you have the `glog' library (-lglog). */
86 #ifndef FOLLY_HAVE_LIBGLOG
87 #define FOLLY_HAVE_LIBGLOG 1
88 #endif
89
90 /* Define to 1 if you have the `gtest' library (-lgtest). */
91 #ifndef FOLLY_HAVE_LIBGTEST
92 #define FOLLY_HAVE_LIBGTEST 1
93 #endif
94
95 /* Define to 1 if you have the `gtest_main' library (-lgtest_main). */
96 #ifndef FOLLY_HAVE_LIBGTEST_MAIN
97 #define FOLLY_HAVE_LIBGTEST_MAIN 1
98 #endif
99
100 /* Define to 1 if you have the `jemalloc' library (-ljemalloc). */
101 #ifndef FOLLY_HAVE_LIBJEMALLOC
102 #define FOLLY_HAVE_LIBJEMALLOC 1
103 #endif
104
105 /* Define to 1 if you have the `tcmalloc' library (-ltcmalloc). */
106 #ifndef FOLLY_HAVE_LIBTCMALLOC
107 #define FOLLY_HAVE_LIBTCMALLOC 1
108 #endif
109
110 /* Define to 1 if you have the <limits.h> header file. */
111 #ifndef FOLLY_HAVE_LIMITS_H
112 #define FOLLY_HAVE_LIMITS_H 1
113 #endif
114
115 /* Define to 1 if you have the `malloc_size' function. */
116 /* #undef HAVE_MALLOC_SIZE */
117
118 /* Define to 1 if you have the `malloc_usable_size' function. */
119 #ifndef FOLLY_HAVE_MALLOC_USABLE_SIZE
120 #define FOLLY_HAVE_MALLOC_USABLE_SIZE 1
121 #endif
122
123 /* Define to 1 if you have the `memmove' function. */
124 #ifndef FOLLY_HAVE_MEMMOVE
125 #define FOLLY_HAVE_MEMMOVE 1
126 #endif
127
128 /* Define to 1 if you have the <memory.h> header file. */
129 #ifndef FOLLY_HAVE_MEMORY_H
130 #define FOLLY_HAVE_MEMORY_H 1
131 #endif
132
133 /* Define to 1 if you have the `memset' function. */
134 #ifndef FOLLY_HAVE_MEMSET
135 #define FOLLY_HAVE_MEMSET 1
136 #endif
137
138 /* Define to 1 if you have the <mutex.h> header file. */
139 /* #undef HAVE_MUTEX_H */
140
141 /* Define to 1 if you have the `pow' function. */
142 #ifndef FOLLY_HAVE_POW
143 #define FOLLY_HAVE_POW 1
144 #endif
145
146 /* Define to 1 if you have the `pthread_yield' function. */
147 /* #undef HAVE_PTHREAD_YIELD */
148
149 /* Define to 1 if the system has the type `ptrdiff_t'. */
150 #ifndef FOLLY_HAVE_PTRDIFF_T
151 #define FOLLY_HAVE_PTRDIFF_T 1
152 #endif
153
154 /* Define to 1 if you have the `rallocm' function. */
155 /* #undef HAVE_RALLOCM */
156
157 /* Define to 1 if you have the <sched.h> header file. */
158 #ifndef FOLLY_HAVE_SCHED_H
159 #define FOLLY_HAVE_SCHED_H 1
160 #endif
161
162 /* Define to 1 if you have the `sched_yield' function. */
163 #ifndef FOLLY_HAVE_SCHED_YIELD
164 #define FOLLY_HAVE_SCHED_YIELD 1
165 #endif
166
167 /* Define to 1 if stdbool.h conforms to C99. */
168 #ifndef FOLLY_HAVE_STDBOOL_H
169 #define FOLLY_HAVE_STDBOOL_H 1
170 #endif
171
172 /* Define if g++ supports C++0x features. */
173 #ifndef FOLLY_HAVE_STDCXX_0X
174 #define FOLLY_HAVE_STDCXX_0X /**/
175 #endif
176
177 /* Define to 1 if you have the <stdint.h> header file. */
178 #ifndef FOLLY_HAVE_STDINT_H
179 #define FOLLY_HAVE_STDINT_H 1
180 #endif
181
182 /* Define to 1 if you have the <stdlib.h> header file. */
183 #ifndef FOLLY_HAVE_STDLIB_H
184 #define FOLLY_HAVE_STDLIB_H 1
185 #endif
186
187 /* Define to 1 if you have the `strerror' function. */
188 #ifndef FOLLY_HAVE_STRERROR
189 #define FOLLY_HAVE_STRERROR 1
190 #endif
191
192 /* Define to 1 if you have the <strings.h> header file. */
193 #ifndef FOLLY_HAVE_STRINGS_H
194 #define FOLLY_HAVE_STRINGS_H 1
195 #endif
196
197 /* Define to 1 if you have the <string.h> header file. */
198 #ifndef FOLLY_HAVE_STRING_H
199 #define FOLLY_HAVE_STRING_H 1
200 #endif
201
202 /* Define to 1 if you have the <sys/stat.h> header file. */
203 #ifndef FOLLY_HAVE_SYS_STAT_H
204 #define FOLLY_HAVE_SYS_STAT_H 1
205 #endif
206
207 /* Define to 1 if you have the <sys/time.h> header file. */
208 #ifndef FOLLY_HAVE_SYS_TIME_H
209 #define FOLLY_HAVE_SYS_TIME_H 1
210 #endif
211
212 /* Define to 1 if you have the <sys/types.h> header file. */
213 #ifndef FOLLY_HAVE_SYS_TYPES_H
214 #define FOLLY_HAVE_SYS_TYPES_H 1
215 #endif
216
217 /* Define to 1 if you have the <unistd.h> header file. */
218 #ifndef FOLLY_HAVE_UNISTD_H
219 #define FOLLY_HAVE_UNISTD_H 1
220 #endif
221
222 /* Define to 1 if you have the <malloc.h> header file. */
223 #ifndef FOLLY_HAVE_MALLOC_H
224 #define FOLLY_HAVE_MALLOC_H 1
225 #endif
226
227 /* Define to 1 if the system has the type `_Bool'. */
228 /* #undef HAVE__BOOL */
229
230 /* Define to the sub-directory in which libtool stores uninstalled libraries.
231    */
232 #ifndef FOLLY_LT_OBJDIR
233 #define FOLLY_LT_OBJDIR ".libs/"
234 #endif
235
236 /* Name of package */
237 #ifndef FOLLY_PACKAGE
238 #define FOLLY_PACKAGE "folly"
239 #endif
240
241 /* Define to the address where bug reports for this package should be sent. */
242 #ifndef FOLLY_PACKAGE_BUGREPORT
243 #define FOLLY_PACKAGE_BUGREPORT "folly@fb.com"
244 #endif
245
246 /* Define to the full name of this package. */
247 #ifndef FOLLY_PACKAGE_NAME
248 #define FOLLY_PACKAGE_NAME "folly"
249 #endif
250
251 /* Define to the full name and version of this package. */
252 #ifndef FOLLY_PACKAGE_STRING
253 #define FOLLY_PACKAGE_STRING "folly 0.1"
254 #endif
255
256 /* Define to the one symbol short name of this package. */
257 #ifndef FOLLY_PACKAGE_TARNAME
258 #define FOLLY_PACKAGE_TARNAME "folly"
259 #endif
260
261 /* Define to the home page for this package. */
262 #ifndef FOLLY_PACKAGE_URL
263 #define FOLLY_PACKAGE_URL ""
264 #endif
265
266 /* Define to the version of this package. */
267 #ifndef FOLLY_PACKAGE_VERSION
268 #define FOLLY_PACKAGE_VERSION "0.1"
269 #endif
270
271 /* Define to 1 if you have the ANSI C header files. */
272 #ifndef FOLLY_STDC_HEADERS
273 #define FOLLY_STDC_HEADERS 1
274 #endif
275
276 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
277 #ifndef FOLLY_TIME_WITH_SYS_TIME
278 #define FOLLY_TIME_WITH_SYS_TIME 1
279 #endif
280
281 /* Version number of package */
282 #ifndef FOLLY_VERSION
283 #define FOLLY_VERSION "0.1"
284 #endif
285
286 /* Define to empty if `const' does not conform to ANSI C. */
287 /* #undef const */
288
289 /* Define to `__inline__' or `__inline' if that's what the C compiler
290    calls it, or to nothing if 'inline' is not supported under any name.  */
291 #ifndef __cplusplus
292 /* #undef inline */
293 #endif
294
295 /* Define to `unsigned int' if <sys/types.h> does not define. */
296 /* #undef size_t */
297
298 /* Define to empty if the keyword `volatile' does not work. Warning: valid
299    code using `volatile' can become incorrect without. Disable with care. */
300 /* #undef volatile */
301
302 /* once: _FOLLY_CONFIG_H */
303 #endif