fix crashes reported by Debian Cylab Mayhem Team
[swftools.git] / config.h.in
blobed0b6b62c03617671032a873a9be689e61461cb8
1 #ifndef __config_h__
2 #define __config_h__
4 /* Define to empty if the keyword does not work. */
5 #undef const
7 /* Define as __inline if that's what the C compiler calls it. */
8 #undef inline
10 /* Define to `long' if <sys/types.h> doesn't define. */
11 #undef off_t
13 /* Define to `unsigned' if <sys/types.h> doesn't define. */
14 #undef size_t
16 #undef SIZEOF_SIGNED_CHAR
17 #undef SIZEOF_SIGNED_SHORT
18 #undef SIZEOF_SIGNED
19 #undef SIZEOF_SIGNED_LONG_LONG
20 #undef SIZEOF_VOIDP
22 /* Define if you have the ANSI C header files. */
23 #undef STDC_HEADERS
25 /* Define if your <sys/time.h> declares struct tm. */
26 #undef TM_IN_SYS_TIME
28 /* Define if you have the time() function */
29 #undef HAVE_TIME
31 /* Define if you have the time.h header file */
32 #undef HAVE_TIME_H
34 /* Define if you have the sys/time.h header file */
35 #undef HAVE_SYS_TIME_H
37 /* Define if you have the sys/resource.h header file */
38 #undef HAVE_SYS_RESOURCE_H
40 /* Define if you have the malloc.h header file */
41 #undef HAVE_MALLOC_H
43 /* Define if you have the getrusage function */
44 #undef HAVE_GETRUSAGE
46 /* Define if you have the mallinfo function */
47 #undef HAVE_MALLINFO
50 /* Define if you have the unistd.h header file */
51 #undef HAVE_UNISTD_H
53 /* Define if you have the open64 function. */
54 #undef HAVE_OPEN64
56 /* Define if you have the lrand48 function. */
57 #undef HAVE_LRAND48
59 /* Define if you have the popen function. */
60 #undef HAVE_POPEN
62 /* Define if you have the bcopy function. */
63 #undef HAVE_BCOPY
65 /* Define if you have the bzero function. */
66 #undef HAVE_BZERO
68 /* Define if you have the rand function. */
69 #undef HAVE_RAND
71 /* Define if you have the srand function. */
72 #undef HAVE_SRAND
74 /* Define if you have the srand48 function. */
75 #undef HAVE_SRAND48
77 /* Define if you have the calloc function. */
78 #undef HAVE_CALLOC
80 /* Define if you have the stat function. */
81 #undef HAVE_STAT
83 /* Define if you have the mmap function. */
84 #undef HAVE_MMAP
86 /* Define if you have the <dirent.h> header file. */
87 #undef HAVE_DIRENT_H
89 /* Define if you have the <assert.h> header file. */
90 #undef HAVE_ASSERT_H
92 /* Define if you have the <signal.h> header file. */
93 #undef HAVE_SIGNAL_H
95 /* Define if you have the <pthread.h> header file. */
96 #undef HAVE_PTHREAD_H
98 /* Define if you have the <jpeglib.h> header file. */
99 #undef HAVE_JPEGLIB_H
101 /* Define if you have the <ndir.h> header file. */
102 #undef HAVE_NDIR_H
104 /* Define if you have the <sys/dir.h> header file. */
105 #undef HAVE_SYS_DIR_H
107 /* Define if you have the <sys/ndir.h> header file. */
108 #undef HAVE_SYS_NDIR_H
110 /* Define if you have the <sys/io.h> header file. */
111 #undef HAVE_IO_H
113 /* Define if you have the <sys/bsdtypes.h> header file. */
114 #undef HAVE_SYS_BSDTYPES_H
116 /* Define if you have the <sys/stat.h> header file. */
117 #undef HAVE_SYS_STAT_H
119 /* Define if you have the <sys/mman.h> header file. */
120 #undef HAVE_SYS_MMAN_H
122 /* Define if you have the <sys/types.h> header file. */
123 #undef HAVE_SYS_TYPES_H
125 /* Define if you have the <t1lib.h> header file. */
126 /* #undef HAVE_T1LIB_H */
128 /* Define if you have the <zlib.h> header file. */
129 #undef HAVE_ZLIB_H
131 /* Define if you have the <zzip/lib.h> header file. */
132 #undef HAVE_ZZIP_LIB_H
134 /* Define if you have the <pdflib.h> header file. */
135 #undef HAVE_PDFLIB_H
137 /* Define if you have the <avifile/version.h> header file. */
138 #undef HAVE_AVIFILE_VERSION_H
140 /* Define if you have the <freetype/ft2build.h> header file. */
141 #undef HAVE_FT2BUILD_H
143 /* Define if you have the <version.h> header file. */
144 #undef HAVE_VERSION_H
146 /* Define if you have the OpenGL header files */
147 #undef HAVE_GL_GL_H
148 #undef HAVE_GL_GLUT_H
150 /* Define if you have the OpenGL libraries */
151 #undef HAVE_LIBGL
152 #undef HAVE_LIBGLU
153 #undef HAVE_LIBGLUT
155 /* Define if OpenGL seems to work */
156 #undef HAVE_OPENGL
158 /* Define if you use poppler */
159 #undef HAVE_POPPLER
161 /* Define to 1 if you have the `poppler' library (-lpoppler). */
162 #undef HAVE_LIBPOPPLER
164 /* Define to 1 if you have the <OutputDev.h> header file. */
165 #undef HAVE_OUTPUTDEV_H
167 /* Define if you have the jpeg library (-ljpeg). */
168 #undef HAVE_LIBJPEG
170 /* Define if you have the pdf library (-lpdf). */
171 #undef HAVE_LIBPDF
173 /* Define if you have the zzip library (-lzzip). */
174 #undef HAVE_LIBZZIP
176 /* Define if you have the m library (-lm). */
177 #undef HAVE_LIBM
179 /* Define if you have the t1 library (-lt1). */
180 /* #undef HAVE_LIBT1 */
182 /* Define if you have the z library (-lz). */
183 #undef HAVE_LIBZ
185 /* Name of package */
186 #undef PACKAGE
188 /* Version number of package */
189 #undef VERSION
191 /* Typedefs */
192 #undef boolean
194 /* use gzip/uncompress */
195 #undef USE_GZIP
197 /* let ttf2pt1 use libfreetype */
198 #undef USE_FREETYPE
200 /* have/use freetype library */
201 #undef HAVE_FREETYPE
202 #undef HAVE_FREETYPE_FREETYPE_H
204 /* have/use freetype library */
205 #undef HAVE_AVIFILE
207 #undef HAVE_FONTCONFIG_H
208 #undef HAVE_FONTCONFIG
210 #undef HAVE_FFTW3_H
212 #undef HAVE_FFTW3
214 /* have/use internal l.a.m.e. mp3 library */
215 #undef HAVE_LAME
217 /* whether python-imaging was found */
218 #undef HAVE_PYTHON_IMAGING
220 /* system() can handle command substitution */
221 #undef SYSTEM_BACKTICKS
223 /* Define to 1 if this machine has network byte order*/
224 #undef WORDS_BIGENDIAN
226 #undef LOWERCASE_UPPERCASE
228 /* Define to 0 on non-windows systems */
229 #undef O_BINARY
231 #ifdef HAVE_ZLIB_H
232 #ifdef HAVE_LIBZ
233 #define HAVE_ZLIB
234 #endif
235 #endif
237 #ifdef HAVE_JPEGLIB_H
238 #ifdef HAVE_LIBJPEG
239 #define HAVE_JPEGLIB
240 #endif
241 #endif
243 #ifdef HAVE_FT2BUILD_H
244 #define HAVE_FREETYPE_H 1
245 #endif
247 /* #ifdef HAVE_T1LIB_H */
248 /* #ifdef HAVE_LIBT1 */
249 /* #define HAVE_T1LIB */
250 /* #endif */
251 /* #endif */
253 #ifdef HAVE_GL_GL_H
254 #ifdef HAVE_GL_GLUT_H
255 #ifdef HAVE_OPENGL
256 #define USE_OPENGL
257 #endif
258 #endif
259 #endif
261 #ifdef HAVE_POPPLER
262 #define GString GooString
263 #define GHash GooHash
264 #endif
266 #ifdef HAVE_ZZIP_LIB_H
267 #ifdef HAVE_LIBZZIP
268 #define HAVE_ZZIP 1
269 #endif
270 #endif
272 //#ifdef HAVE_BUILTIN_EXPECT
273 #if defined(__GNUC__) && (__GNUC__ > 2) && defined(__OPTIMIZE__)
274 # define likely(x) __builtin_expect((x), 1)
275 # define unlikely(x) __builtin_expect((x), 0)
276 #else
277 # define likely(x) (x)
278 # define unlikely(x) (x)
279 #endif
281 #endif