-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.h
342 lines (280 loc) · 7.98 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
/**
Modified version of config.h, customized for native-toolkit. The conditional
compilation blocks allow this same file to be used across machines.
Run autogen.sh to generate a new version of this file, but be warned that the
new version will lack any conditional compilation blocks, making it
machine-specific. (To run autogen.sh on Windows, see
https://docs.microsoft.com/en-us/windows/wsl/about .)
With the new version generated:
1. Run `git diff config.h` (or similar) to check what changes were made.
2. Keep a record of any important changes.
3. Revert config.h to restore the conditional compilation blocks.
4. Apply the changes you recorded in step 2, using conditional compilation as
appropriate.
**/
/* Define if building universal (internal helper macro) */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
/* Whether we have alarm() */
#ifdef HX_LINUX
#define HAVE_ALARM 1
#else
/* #undef HAVE_ALARM */
#endif
/* Whether the compiler supports __builtin_clz */
#if defined(HX_LINUX) || defined(HX_MACOS) || defined(HX_ANDROID)
#define HAVE_BUILTIN_CLZ /**/
#else
/* #undef HAVE_BUILTIN_CLZ */
#endif
/* Define to 1 if you have the <dlfcn.h> header file. */
#ifndef HX_WINDOWS
#define HAVE_DLFCN_H 1
#else
/* #undef HAVE_DLFCN_H */
#endif
/* Whether we have FE_DIVBYZERO */
#ifdef HX_LINUX
#define HAVE_FEDIVBYZERO 1
#else
/* #undef HAVE_FEDIVBYZERO */
#endif
/* Whether we have feenableexcept() */
#ifdef HX_LINUX
#define HAVE_FEENABLEEXCEPT 1
#else
/* #undef HAVE_FEENABLEEXCEPT */
#endif
/* Define to 1 if we have <fenv.h> */
#ifndef HX_WINDOWS
#define HAVE_FENV_H 1
#else
/* #undef HAVE_FENV_H */
#endif
/* Whether the tool chain supports __float128 */
#ifdef HX_LINUX
#define HAVE_FLOAT128 /**/
#else
/* #undef HAVE_FLOAT128 */
#endif
/* Whether the compiler supports GCC vector extensions */
#ifdef HX_LINUX
#define HAVE_GCC_VECTOR_EXTENSIONS /**/
#else
/* #undef HAVE_GCC_VECTOR_EXTENSIONS */
#endif
/* Define to 1 if you have the `getisax' function. */
/* #undef HAVE_GETISAX */
/* Whether we have getpagesize() */
#ifdef HX_LINUX
#define HAVE_GETPAGESIZE 1
#else
/* #undef HAVE_GETPAGESIZE */
#endif
/* Whether we have gettimeofday() */
#ifdef HX_LINUX
#define HAVE_GETTIMEOFDAY 1
#else
/* #undef HAVE_GETTIMEOFDAY */
#endif
/* Define to 1 if you have the <inttypes.h> header file. */
#ifndef HX_WINDOWS
#define HAVE_INTTYPES_H 1
#else
/* #undef HAVE_INTTYPES_H */
#endif
/* Define to 1 if you have the `pixman-1' library (-lpixman-1). */
/* #undef HAVE_LIBPIXMAN_1 */
/* Whether we have libpng */
#ifdef NATIVE_TOOLKIT_HAVE_PNG
#define HAVE_LIBPNG 1
#else
/* #undef HAVE_LIBPNG */
#endif
/* Define to 1 if you have the <memory.h> header file. */
#ifdef HX_LINUX
#define HAVE_MEMORY_H 1
#else
/* #undef HAVE_MEMORY_H */
#endif
/* Whether we have mmap() */
#ifdef HX_LINUX
#define HAVE_MMAP 1
#else
/* #undef HAVE_MMAP */
#endif
/* Whether we have mprotect() */
#ifdef HX_LINUX
#define HAVE_MPROTECT 1
#else
/* #undef HAVE_MPROTECT */
#endif
/* Whether we have posix_memalign() */
#ifdef HX_LINUX
#define HAVE_POSIX_MEMALIGN 1
#else
/* #undef HAVE_POSIX_MEMALIGN */
#endif
/* Whether pthreads is supported */
#ifndef HX_WINDOWS
#define HAVE_PTHREADS /**/
#else
/* #undef HAVE_PTHREADS */
#endif
/* Whether we have sigaction() */
#ifdef HX_LINUX
#define HAVE_SIGACTION 1
#else
/* #undef HAVE_SIGACTION */
#endif
/* Define to 1 if you have the <stdint.h> header file. */
#ifndef HX_WINDOWS
#define HAVE_STDINT_H 1
#else
/* #undef HAVE_STDINT_H */
#endif
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the <strings.h> header file. */
#ifndef HX_WINDOWS
#define HAVE_STRINGS_H 1
#else
/* #undef HAVE_STRINGS_H */
#endif
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if we have <sys/mman.h> */
#ifndef HX_WINDOWS
#define HAVE_SYS_MMAN_H 1
#else
/* #undef HAVE_SYS_MMAN_H */
#endif
/* Define to 1 if you have the <sys/stat.h> header file. */
#ifndef HX_WINDOWS
#define HAVE_SYS_STAT_H 1
#else
/* #undef HAVE_SYS_STAT_H */
#endif
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <unistd.h> header file. */
#ifndef HX_WINDOWS
#define HAVE_UNISTD_H 1
#else
/* #undef HAVE_UNISTD_H */
#endif
/* Define to the sub-directory where libtool stores uninstalled libraries. */
/* #undef LT_OBJDIR */
/* Name of package */
#define PACKAGE "pixman"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "[email protected]"
/* Define to the full name of this package. */
#define PACKAGE_NAME "pixman"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "pixman 0.40.1"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "pixman"
/* Define to the home page for this package. */
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "0.40.1"
/* enable output that can be piped to gnuplot */
/* #undef PIXMAN_GNUPLOT */
/* enable TIMER_BEGIN/TIMER_END macros */
/* #undef PIXMAN_TIMERS */
/* The size of `long', as computed by sizeof. */
#if (defined(HX_LINUX) && defined(HXCPP_M64)) || defined(HX_MACOS)
#define SIZEOF_LONG 8
#else
#define SIZEOF_LONG 4
#endif
/* Define to 1 if you have the ANSI C header files. */
#ifndef HX_WINDOWS
#define STDC_HEADERS 1
#else
/* #undef STDC_HEADERS */
#endif
/* The compiler supported TLS storage class */
#if !defined(HX_WINDOWS) && !defined(IPHONE)
#define TLS __thread
#else
/* #undef TLS */
#endif
/* Whether the tool chain supports __attribute__((constructor)) */
#ifdef __GNUC__
#define TOOLCHAIN_SUPPORTS_ATTRIBUTE_CONSTRUCTOR /**/
#else
/* #undef TOOLCHAIN_SUPPORTS_ATTRIBUTE_CONSTRUCTOR */
#endif
/* use ARM A64_NEON assembly optimizations */
/* #undef USE_ARM_A64_NEON */
/* use ARM IWMMXT compiler intrinsics */
// #if !defined(HX_LINUX) && !defined(HX_MACOS) && !defined(HX_WINDOWS) && !defined(EMSCRIPTEN)
// #define USE_ARM_IWMMXT 1
// #else
/* #undef USE_ARM_IWMMXT */
// #endif
/* use ARM NEON assembly optimizations */
// #if defined(HXCPP_ARMV7) || defined(HXCPP_ARMV7S) || defined(HXCPP_ARM64)
// #define USE_ARM_NEON 1
// #else
/* #undef USE_ARM_NEON */
// #endif
/* use ARM SIMD assembly optimizations */
// #if defined(HXCPP_ARMV7) || defined(HXCPP_ARMV7S) || defined(HXCPP_ARM64)
// #define USE_ARM_SIMD 1
// #else
/* #undef USE_ARM_SIMD */
// #endif
/* use GNU-style inline assembler */
#ifdef __GNUC__
#define USE_GCC_INLINE_ASM 1
#else
/* #undef USE_GCC_INLINE_ASM */
#endif
/* use Loongson Multimedia Instructions */
/* #undef USE_LOONGSON_MMI */
/* use MIPS DSPr2 assembly optimizations */
/* #undef USE_MIPS_DSPR2 */
/* use OpenMP in the test suite */
/* #undef USE_OPENMP */
/* use SSE2 compiler intrinsics */
#if defined(HX_WINDOWS) || defined(HX_MACOS) || (defined(HX_LINUX) && !defined(RASPBERRYPI))
#define USE_SSE2 1
#else
/* #undef USE_SSE2 */
#endif
/* use SSSE3 compiler intrinsics */
#if defined(HX_WINDOWS) || defined(HX_MACOS) || (defined(HX_LINUX) && !defined(RASPBERRYPI))
#define USE_SSE3 1
#else
/* #undef USE_SSE3 */
#endif
/* use VMX compiler intrinsics */
/* #undef USE_VMX */
/* use x86 MMX compiler intrinsics */
#if (defined(HX_WINDOWS) || /*defined(HX_MACOS) ||*/ (defined(HX_LINUX) && !defined(RASPBERRYPI)) ) && !defined(HXCPP_M64)
#define USE_X86_MMX 1
#else
/* #undef USE_X86_MMX */
#endif
/* Version number of package */
#define VERSION "0.40.1"
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
/* # undef WORDS_BIGENDIAN */
# endif
#endif
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef inline */
#endif
/* Define to sqrt if you do not have the `sqrtf' function. */
/* #undef sqrtf */