trivial fixes
[swftools.git] / config.h.in
1 #ifndef __config_h__
2 #define __config_h__
3
4 /* Define to empty if the keyword does not work.  */
5 #undef const
6
7 /* Define as __inline if that's what the C compiler calls it.  */
8 #undef inline
9
10 /* Define to `long' if <sys/types.h> doesn't define.  */
11 #undef off_t
12
13 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
14 #undef size_t
15
16 #undef SIZEOF_SIGNED_CHAR
17 #undef SIZEOF_SIGNED_SHORT
18 #undef SIZEOF_SIGNED
19 #undef SIZEOF_SIGNED_LONG_LONG
20 #undef SIZEOF_VOIDP
21
22 /* Define if you have the ANSI C header files.  */
23 #undef STDC_HEADERS
24
25 /* Define if your <sys/time.h> declares struct tm.  */
26 #undef TM_IN_SYS_TIME
27
28 /* Define if you have the time() function */
29 #undef HAVE_TIME
30
31 /* Define if you have the time.h header file */
32 #undef HAVE_TIME_H
33
34 /* Define if you have the sys/time.h header file */
35 #undef HAVE_SYS_TIME_H
36
37 /* Define if you have the sys/resource.h header file */
38 #undef HAVE_SYS_RESOURCE_H
39
40 /* Define if you have the malloc.h header file */
41 #undef HAVE_MALLOC_H
42
43 /* Define if you have the getrusage function */
44 #undef HAVE_GETRUSAGE
45
46 /* Define if you have the mallinfo function */
47 #undef HAVE_MALLINFO
48
49
50 /* Define if you have the unistd.h header file */
51 #undef HAVE_UNISTD_H
52
53 /* for gocr */
54 #undef HAVE_WCHAR_H
55 #undef HAVE_WCSCHR
56 #undef HAVE_WCSDUP
57
58 /* Define if you have the open64 function.  */
59 #undef HAVE_OPEN64
60
61 /* Define if you have the lrand48 function.  */
62 #undef HAVE_LRAND48
63
64 /* Define if you have the mkstemp function.  */
65 #undef HAVE_MKSTEMP
66
67 /* Define if you have the popen function.  */
68 #undef HAVE_POPEN
69
70 /* Define if you have the bcopy function.  */
71 #undef HAVE_BCOPY
72
73 /* Define if you have the bzero function.  */
74 #undef HAVE_BZERO
75
76 /* Define if you have the rand function.  */
77 #undef HAVE_RAND
78
79 /* Define if you have the srand function.  */
80 #undef HAVE_SRAND
81
82 /* Define if you have the srand48 function.  */
83 #undef HAVE_SRAND48
84
85 /* Define if you have the calloc function.  */
86 #undef HAVE_CALLOC
87
88 /* Define if you have the stat function.  */
89 #undef HAVE_STAT
90
91 /* Define if you have the mmap function.  */
92 #undef HAVE_MMAP
93
94 /* Define if you have the <dirent.h> header file.  */
95 #undef HAVE_DIRENT_H
96
97 /* Define if you have the <assert.h> header file.  */
98 #undef HAVE_ASSERT_H
99
100 /* Define if you have the <signal.h> header file.  */
101 #undef HAVE_SIGNAL_H
102
103 /* Define if you have the <pthread.h> header file.  */
104 #undef HAVE_PTHREAD_H
105
106 /* Define if you have the <jpeglib.h> header file.  */
107 #undef HAVE_JPEGLIB_H
108
109 /* Define if you have the <ndir.h> header file.  */
110 #undef HAVE_NDIR_H
111
112 /* Define if you have the <sys/dir.h> header file.  */
113 #undef HAVE_SYS_DIR_H
114
115 /* Define if you have the <sys/ndir.h> header file.  */
116 #undef HAVE_SYS_NDIR_H
117
118 /* Define if you have the <sys/io.h> header file.  */
119 #undef HAVE_IO_H
120
121 /* Define if you have the <sys/bsdtypes.h> header file.  */
122 #undef HAVE_SYS_BSDTYPES_H
123
124 /* Define if you have the <sys/stat.h> header file.  */
125 #undef HAVE_SYS_STAT_H
126
127 /* Define if you have the <sys/mman.h> header file.  */
128 #undef HAVE_SYS_MMAN_H
129
130 /* Define if you have the <sys/types.h> header file.  */
131 #undef HAVE_SYS_TYPES_H
132
133 /* Define if you have the <t1lib.h> header file.  */
134 /* #undef HAVE_T1LIB_H */
135
136 /* Define if you have the <zlib.h> header file.  */
137 #undef HAVE_ZLIB_H
138
139 /* Define if you have the <zzip/lib.h> header file.  */
140 #undef HAVE_ZZIP_LIB_H
141
142 /* Define if you have the <pdflib.h> header file.  */
143 #undef HAVE_PDFLIB_H
144
145 /* Define if you have the <avifile/version.h> header file.  */
146 #undef HAVE_AVIFILE_VERSION_H
147
148 /* Define if you have the <freetype/ft2build.h> header file.  */
149 #undef HAVE_FT2BUILD_H
150
151 /* Define if you have the <version.h> header file.  */
152 #undef HAVE_VERSION_H
153
154 /* Define if you have the OpenGL header files */
155 #undef HAVE_GL_GL_H 
156 #undef HAVE_GL_GLUT_H
157
158 /* Define if you have the OpenGL libraries */
159 #undef HAVE_LIBGL
160 #undef HAVE_LIBGLU
161 #undef HAVE_LIBGLUT
162
163 /* Define if OpenGL seems to work */
164 #undef HAVE_OPENGL
165
166 /* Define if you use poppler */
167 #undef HAVE_POPPLER
168
169 /* Define to 1 if you have the `poppler' library (-lpoppler). */
170 #undef HAVE_LIBPOPPLER
171
172 /* Define to 1 if you have the <OutputDev.h> header file. */
173 #undef HAVE_OUTPUTDEV_H
174
175 /* Define if you have the jpeg library (-ljpeg).  */
176 #undef HAVE_LIBJPEG
177
178 /* Define if you have the pdf library (-lpdf).  */
179 #undef HAVE_LIBPDF
180
181 /* Define if you have the zzip library (-lzzip). */
182 #undef HAVE_LIBZZIP
183
184 /* Define if you have the m library (-lm).  */
185 #undef HAVE_LIBM
186
187 /* Define if you have the t1 library (-lt1).  */
188 /* #undef HAVE_LIBT1 */
189
190 /* Define if you have the z library (-lz).  */
191 #undef HAVE_LIBZ
192
193 /* Name of package */
194 #undef PACKAGE
195
196 /* Version number of package */
197 #undef VERSION
198
199 /* Typedefs */
200 #undef boolean 
201
202 /* use gzip/uncompress */
203 #undef USE_GZIP
204
205 /* let ttf2pt1 use libfreetype */
206 #undef USE_FREETYPE
207
208 /* have/use freetype library */
209 #undef HAVE_FREETYPE
210 #undef HAVE_FREETYPE_FREETYPE_H
211
212 /* have/use freetype library */
213 #undef HAVE_AVIFILE
214
215 #undef HAVE_FONTCONFIG_H
216 #undef HAVE_FONTCONFIG
217
218 #undef HAVE_FFTW3_H
219
220 #undef HAVE_FFTW3
221
222 /* have/use internal l.a.m.e. mp3 library */
223 #undef HAVE_LAME 
224
225 /* whether python-imaging was found */
226 #undef HAVE_PYTHON_IMAGING
227
228 /* system() can handle command substitution */
229 #undef SYSTEM_BACKTICKS
230
231 /* Define to 1 if this machine has network byte order*/
232 #undef WORDS_BIGENDIAN
233
234 #undef LOWERCASE_UPPERCASE
235
236 /* Define to 0 on non-windows systems */
237 #undef O_BINARY
238
239 #ifdef HAVE_ZLIB_H
240 #ifdef HAVE_LIBZ
241 #define HAVE_ZLIB
242 #endif
243 #endif
244
245 #ifdef HAVE_JPEGLIB_H
246 #ifdef HAVE_LIBJPEG
247 #define HAVE_JPEGLIB
248 #endif
249 #endif
250
251 #ifdef HAVE_FT2BUILD_H
252 #define HAVE_FREETYPE_H 1
253 #endif
254
255 /* #ifdef HAVE_T1LIB_H */
256 /* #ifdef HAVE_LIBT1 */
257 /* #define HAVE_T1LIB */
258 /* #endif */
259 /* #endif */
260
261 #ifdef HAVE_GL_GL_H
262 #ifdef HAVE_GL_GLUT_H
263 #ifdef HAVE_OPENGL
264 #define USE_OPENGL
265 #endif
266 #endif
267 #endif
268
269 #ifdef HAVE_POPPLER
270 #define GString GooString
271 #define GHash GooHash
272 #endif
273
274 #ifdef HAVE_ZZIP_LIB_H
275 #ifdef HAVE_LIBZZIP
276 #define HAVE_ZZIP 1
277 #endif
278 #endif
279
280 #ifndef WIN32
281 #define CHECKS
282 #endif
283
284 // supply a substitute calloc function if necessary
285 #ifndef HAVE_CALLOC
286 #define calloc rfx_calloc_replacement
287 #endif
288
289 //#ifdef HAVE_BUILTIN_EXPECT
290 #if defined(__GNUC__) && (__GNUC__ > 2) && defined(__OPTIMIZE__)
291 # define likely(x)      __builtin_expect((x), 1)
292 # define unlikely(x)    __builtin_expect((x), 0)
293 #else
294 # define likely(x)      (x)
295 # define unlikely(x)    (x)
296 #endif
297
298 #endif