2 * Copyright 2012 Facebook, Inc.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 #ifndef _FOLLY_CONFIG_H
18 #define _FOLLY_CONFIG_H 1
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. */
24 /* define if the Boost library is available */
25 #ifndef FOLLY_HAVE_BOOST
26 #define FOLLY_HAVE_BOOST /**/
29 /* define if the Boost::Regex library is available */
30 #ifndef FOLLY_HAVE_BOOST_REGEX
31 #define FOLLY_HAVE_BOOST_REGEX /**/
34 /* define if the Boost::Thread library is available */
35 #ifndef FOLLY_HAVE_BOOST_THREAD
36 #define FOLLY_HAVE_BOOST_THREAD /**/
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
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
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
54 /* Define to 1 if you have the `ffsll' function. */
55 #ifndef FOLLY_HAVE_FFSLL
56 #define FOLLY_HAVE_FFSLL 1
59 /* Define to 1 if you have the `getdelim' function. */
60 #ifndef FOLLY_HAVE_GETDELIM
61 #define FOLLY_HAVE_GETDELIM 1
64 /* Define to 1 if you have the `gettimeofday' function. */
65 #ifndef FOLLY_HAVE_GETTIMEOFDAY
66 #define FOLLY_HAVE_GETTIMEOFDAY 1
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
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
80 /* Define to 1 if you have the `gflags' library (-lgflags). */
81 #ifndef FOLLY_HAVE_LIBGFLAGS
82 #define FOLLY_HAVE_LIBGFLAGS 1
85 /* Define to 1 if you have the `glog' library (-lglog). */
86 #ifndef FOLLY_HAVE_LIBGLOG
87 #define FOLLY_HAVE_LIBGLOG 1
90 /* Define to 1 if you have the `gtest' library (-lgtest). */
91 #ifndef FOLLY_HAVE_LIBGTEST
92 #define FOLLY_HAVE_LIBGTEST 1
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
100 /* Define to 1 if you have the `jemalloc' library (-ljemalloc). */
101 #ifndef FOLLY_HAVE_LIBJEMALLOC
102 #define FOLLY_HAVE_LIBJEMALLOC 1
105 /* Define to 1 if you have the `tcmalloc' library (-ltcmalloc). */
106 #ifndef FOLLY_HAVE_LIBTCMALLOC
107 #define FOLLY_HAVE_LIBTCMALLOC 1
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
115 /* Define to 1 if you have the `malloc_size' function. */
116 /* #undef HAVE_MALLOC_SIZE */
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
123 /* Define to 1 if you have the `memmove' function. */
124 #ifndef FOLLY_HAVE_MEMMOVE
125 #define FOLLY_HAVE_MEMMOVE 1
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
133 /* Define to 1 if you have the `memset' function. */
134 #ifndef FOLLY_HAVE_MEMSET
135 #define FOLLY_HAVE_MEMSET 1
138 /* Define to 1 if you have the <mutex.h> header file. */
139 /* #undef HAVE_MUTEX_H */
141 /* Define to 1 if you have the `pow' function. */
142 #ifndef FOLLY_HAVE_POW
143 #define FOLLY_HAVE_POW 1
146 /* Define to 1 if you have the `pthread_yield' function. */
147 /* #undef HAVE_PTHREAD_YIELD */
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
154 /* Define to 1 if you have the `rallocm' function. */
155 /* #undef HAVE_RALLOCM */
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
162 /* Define to 1 if you have the `sched_yield' function. */
163 #ifndef FOLLY_HAVE_SCHED_YIELD
164 #define FOLLY_HAVE_SCHED_YIELD 1
167 /* Define to 1 if stdbool.h conforms to C99. */
168 #ifndef FOLLY_HAVE_STDBOOL_H
169 #define FOLLY_HAVE_STDBOOL_H 1
172 /* Define if g++ supports C++0x features. */
173 #ifndef FOLLY_HAVE_STDCXX_0X
174 #define FOLLY_HAVE_STDCXX_0X /**/
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
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
187 /* Define to 1 if you have the `strerror' function. */
188 #ifndef FOLLY_HAVE_STRERROR
189 #define FOLLY_HAVE_STRERROR 1
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
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
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
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
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
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
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
227 /* Define to 1 if the system has the type `_Bool'. */
228 /* #undef HAVE__BOOL */
230 /* Define to the sub-directory in which libtool stores uninstalled libraries.
232 #ifndef FOLLY_LT_OBJDIR
233 #define FOLLY_LT_OBJDIR ".libs/"
236 /* Name of package */
237 #ifndef FOLLY_PACKAGE
238 #define FOLLY_PACKAGE "folly"
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"
246 /* Define to the full name of this package. */
247 #ifndef FOLLY_PACKAGE_NAME
248 #define FOLLY_PACKAGE_NAME "folly"
251 /* Define to the full name and version of this package. */
252 #ifndef FOLLY_PACKAGE_STRING
253 #define FOLLY_PACKAGE_STRING "folly 0.1"
256 /* Define to the one symbol short name of this package. */
257 #ifndef FOLLY_PACKAGE_TARNAME
258 #define FOLLY_PACKAGE_TARNAME "folly"
261 /* Define to the home page for this package. */
262 #ifndef FOLLY_PACKAGE_URL
263 #define FOLLY_PACKAGE_URL ""
266 /* Define to the version of this package. */
267 #ifndef FOLLY_PACKAGE_VERSION
268 #define FOLLY_PACKAGE_VERSION "0.1"
271 /* Define to 1 if you have the ANSI C header files. */
272 #ifndef FOLLY_STDC_HEADERS
273 #define FOLLY_STDC_HEADERS 1
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
281 /* Version number of package */
282 #ifndef FOLLY_VERSION
283 #define FOLLY_VERSION "0.1"
286 /* Define to empty if `const' does not conform to ANSI C. */
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. */
295 /* Define to `unsigned int' if <sys/types.h> does not define. */
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 */
302 /* once: _FOLLY_CONFIG_H */