Revert manifest to default one
[platform/upstream/cups-filters.git] / config.h.in
1 /*
2  * "$Id$"
3  *
4  *   Configuration file for CUPS.
5  *
6  *   Copyright 2007-2011 by Apple Inc.
7  *   Copyright 1997-2007 by Easy Software Products.
8  *
9  *   These coded instructions, statements, and computer programs are the
10  *   property of Apple Inc. and are protected by Federal copyright
11  *   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
12  *   which should have been included with this file.  If this file is
13  *   file is missing or damaged, see the license at "http://www.cups.org/".
14  */
15
16 #ifndef _CUPSFILTERS_CONFIG_H_
17 #define _CUPSFILTERS_CONFIG_H_
18
19
20 /*
21  * Version of software...
22  */
23
24 #define CUPSFILTERS_SVERSION    ""
25
26
27 /*
28  * Where are files stored?
29  *
30  * Note: These are defaults, which can be overridden by environment
31  *       variables at run-time...
32  */
33
34 #define CUPS_DATADIR    "/usr/share/cups"
35 #define CUPS_FONTPATH   "/usr/share/cups/fonts"
36 #define CUPS_SERVERBIN  "/usr/lib/cups"
37
38
39 /*
40  * Do we have various image libraries?
41  */
42
43 #undef HAVE_LIBPNG
44 #undef HAVE_LIBZ
45 #undef HAVE_LIBJPEG
46 #undef HAVE_LIBTIFF
47
48
49 /*
50  * Do we have the long long type?
51  */
52
53 #undef HAVE_LONG_LONG
54
55 #ifdef HAVE_LONG_LONG
56 #  define CUPS_LLFMT    "%lld"
57 #  define CUPS_LLCAST   (long long)
58 #else
59 #  define CUPS_LLFMT    "%ld"
60 #  define CUPS_LLCAST   (long)
61 #endif /* HAVE_LONG_LONG */
62
63
64 /*
65  * Do we have the strtoll() function?
66  */
67
68 #undef HAVE_STRTOLL
69
70 #ifndef HAVE_STRTOLL
71 #  define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
72 #endif /* !HAVE_STRTOLL */
73
74
75 /*
76  * Do we have the strXXX() functions?
77  */
78
79 #undef HAVE_STRDUP
80 #undef HAVE_STRLCAT
81 #undef HAVE_STRLCPY
82
83
84 /*
85  * Do we have the (v)snprintf() functions?
86  */
87
88 #undef HAVE_SNPRINTF
89 #undef HAVE_VSNPRINTF
90
91
92 /*
93  * What signal functions to use?
94  */
95
96 #undef HAVE_SIGSET
97 #undef HAVE_SIGACTION
98
99
100 /*
101  * What wait functions to use?
102  */
103
104 #undef HAVE_WAITPID
105 #undef HAVE_WAIT3
106
107
108 /*
109  * Do we have <sys/ioctl.h>?
110  */
111
112 #undef HAVE_SYS_IOCTL_H
113
114
115 /*
116  * Default settings for the pdftops filter...
117  */
118
119 #define CUPS_PDFTOPS_RENDERER   GS
120 #define CUPS_PDFTOPS_MAX_RESOLUTION     1440
121
122 /*
123  * Location of the poppler/Xpdf pdftops program...
124  */
125
126 #undef HAVE_POPPLER_PDFTOPS
127 #undef HAVE_POPPLER_PDFTOPS_WITH_ORIGPAGESIZES
128 #undef HAVE_POPPLER_PDFTOPS_WITH_RESOLUTION
129 #define CUPS_POPPLER_PDFTOPS    "/usr/bin/pdftops"
130
131 /*
132  * Location of the Ghostscript gs program...
133  */
134
135 #undef HAVE_GHOSTSCRIPT
136 #undef HAVE_GHOSTSCRIPT_PS2WRITE
137 #define CUPS_GHOSTSCRIPT        "/usr/bin/gs"
138
139
140 /*
141  * Select/poll interfaces...
142  */
143
144 #undef HAVE_POLL
145 #undef HAVE_EPOLL
146 #undef HAVE_KQUEUE
147
148
149 /*
150  * Which random number generator function to use...
151  */
152
153 #undef HAVE_ARC4RANDOM
154 #undef HAVE_RANDOM
155 #undef HAVE_LRAND48
156
157 #ifdef HAVE_ARC4RANDOM
158 #  define CUPS_RAND() arc4random()
159 #  define CUPS_SRAND(v) arc4random_stir()
160 #elif defined(HAVE_RANDOM)
161 #  define CUPS_RAND() random()
162 #  define CUPS_SRAND(v) srandom(v)
163 #elif defined(HAVE_LRAND48)
164 #  define CUPS_RAND() lrand48()
165 #  define CUPS_SRAND(v) srand48(v)
166 #else
167 #  define CUPS_RAND() rand()
168 #  define CUPS_SRAND(v) srand(v)
169 #endif /* HAVE_ARC4RANDOM */
170
171
172 /* CUPS Version is 1.1 */
173 #undef CUPS_1_1
174
175 /* CUPS Version is 1.4 or newer */
176 #undef CUPS_1_4
177
178 /* Use libjpeg instead of builtin jpeg decoder. */
179 #undef ENABLE_LIBJPEG
180
181 /* Use zlib instead of builtin zlib decoder. */
182 #undef ENABLE_ZLIB
183
184 /* Have FreeType2 include files */
185 #undef HAVE_FREETYPE_H
186
187 /* Define to 1 if you have the <inttypes.h> header file. */
188 #undef HAVE_INTTYPES_H
189
190 /* Define to 1 if you have the "cups" library (-lcups). */
191 #define HAVE_LIBCUPS 1
192
193 /* Define to 1 if you have the "cupsimage" library (-lcupsimage). */
194 #define HAVE_LIBCUPSIMAGE 1
195
196 /* Define to 1 if you have the <memory.h> header file. */
197 #undef HAVE_MEMORY_H
198
199 /* have new GfxFontType */
200 #undef HAVE_NEW_GFX_FONTTYPE
201
202 /* Define to 1 if you have the "popen" function. */
203 #undef HAVE_POPEN
204
205 /* Define to 1 if you have the <stdint.h> header file. */
206 #undef HAVE_STDINT_H
207
208 /* Define to 1 if you have the <stdlib.h> header file. */
209 #define HAVE_STDLIB_H 1
210
211 /* Define to 1 if you have the <dirent.h> header file, and it defines "DIR".
212    */
213 #undef HAVE_DIRENT_H
214
215 /* Define to 1 if you have the <ndir.h> header file, and it defines "DIR". */
216 #undef HAVE_NDIR_H
217
218 /* Define to 1 if you have the <sys/dir.h> header file, and it defines "DIR".
219    */
220 #undef HAVE_SYS_DIR_H
221
222 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines "DIR".
223    */
224 #undef HAVE_SYS_NDIR_H
225
226 /* Define to 1 if you have the <sys/stat.h> header file. */
227 #define HAVE_SYS_STAT_H 1
228
229 /* Define to 1 if you have the <sys/types.h> header file. */
230 #define HAVE_SYS_TYPES_H 1
231
232 /* Define to 1 if you have the <unistd.h> header file. */
233 #define HAVE_UNISTD_H 1
234
235 /* Define to 1 if you have the <zlib.h> header file. */
236 #undef HAVE_ZLIB_H
237
238 /* Parser::Parser has two arguments. */
239 #undef PARSER_HAS_2_ARGS
240
241 /* Define to 1 if you have the "poppler" library (-lpoppler). */
242 #undef HAVE_LIBPOPPLER
243
244 /* New font type enumeration */
245 #undef FONTTYPE_ENUM2
246
247 /* poppler version */
248 #undef POPPLER_VERSION_MAJOR
249 #undef POPPLER_VERSION_MINOR
250 #undef POPPLER_VERSION_MICRO
251
252 /* SplashFontEngine enableSlightHinting */
253 #undef SPLASH_SLIGHT_HINTING
254
255 /* GlobalParams::GlobalParams has a argument. */
256 #undef GLOBALPARAMS_HAS_A_ARG
257
258 /* Have Stream::getUndecodedStream */
259 #undef HAVE_GETUNDECODEDSTREAM
260
261 /* Have UGooString.h */
262 #undef HAVE_UGOOSTRING_H
263
264 /* Old CharCodeToUnicode::mapToUnicode */
265 #undef OLD_MAPTOUNICODE
266
267 /* Old GfxColorSpace::parse */
268 #undef OLD_CS_PARSE
269
270 /* Poppler uses CMS */
271 #undef USE_CMS
272
273 /* Poppler data dir */
274 #undef POPPLER_DATADIR
275
276 /* Are we using lcms1? */
277 #undef USE_LCMS1
278
279 #endif /* !_CUPSFILTERS_CONFIG_H_ */
280
281 /*
282  * End of "$Id$".
283  */