]> git.ipfire.org Git - thirdparty/cups.git/blob - vcnet/config.h
Load cups into easysw/current.
[thirdparty/cups.git] / vcnet / config.h
1 /*
2 * "$Id: config.h 6649 2007-07-11 21:46:42Z mike $"
3 *
4 * Configuration file for the Common UNIX Printing System (CUPS).
5 *
6 * Copyright 2007 by Apple Inc.
7 * Copyright 1997-2005 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 _CUPS_CONFIG_H_
17 #define _CUPS_CONFIG_H_
18
19 /*
20 * Compiler stuff...
21 */
22
23 #undef const
24 #undef __CHAR_UNSIGNED__
25
26
27 /*
28 * Version of software...
29 */
30
31 #define CUPS_SVERSION "CUPS v1.2svn"
32 #define CUPS_MINIMAL "CUPS/1.2svn"
33
34
35 /*
36 * Default user and group...
37 */
38
39 #define CUPS_DEFAULT_USER "lp"
40 #define CUPS_DEFAULT_GROUP "sys"
41
42
43 /*
44 * Default IPP port...
45 */
46
47 #define CUPS_DEFAULT_IPP_PORT 631
48
49
50 /*
51 * Maximum number of file descriptors to support.
52 */
53
54 #define CUPS_MAX_FDS 4096
55
56
57 /*
58 * Do we have domain socket support?
59 */
60
61 #undef CUPS_DEFAULT_DOMAINSOCKET
62
63
64 /*
65 * Where are files stored?
66 *
67 * Note: These are defaults, which can be overridden by environment
68 * variables at run-time...
69 */
70
71 #define CUPS_CACHEDIR "C:/CUPS/cache"
72 #define CUPS_DATADIR "C:/CUPS/share"
73 #define CUPS_DOCROOT "C:/CUPS/share/doc"
74 #define CUPS_FONTPATH "C:/CUPS/share/fonts"
75 #define CUPS_LOCALEDIR "C:/CUPS/locale"
76 #define CUPS_LOGDIR "C:/CUPS/logs"
77 #define CUPS_REQUESTS "C:/CUPS/spool"
78 #define CUPS_SERVERBIN "C:/CUPS/lib"
79 #define CUPS_SERVERROOT "C:/CUPS/etc"
80 #define CUPS_STATEDIR "C:/CUPS/run"
81
82
83 /*
84 * Do we have various image libraries?
85 */
86
87 #undef HAVE_LIBPNG
88 #undef HAVE_LIBZ
89 #undef HAVE_LIBJPEG
90 #undef HAVE_LIBTIFF
91
92
93 /*
94 * Do we have PAM stuff?
95 */
96
97 #ifndef HAVE_LIBPAM
98 #define HAVE_LIBPAM 0
99 #endif /* !HAVE_LIBPAM */
100
101 #undef HAVE_PAM_PAM_APPL_H
102
103
104 /*
105 * Do we have <shadow.h>?
106 */
107
108 #undef HAVE_SHADOW_H
109
110
111 /*
112 * Do we have <crypt.h>?
113 */
114
115 #undef HAVE_CRYPT_H
116
117
118 /*
119 * Use <string.h>, <strings.h>, and/or <bstring.h>?
120 */
121
122 #define HAVE_STRING_H
123 #undef HAVE_STRINGS_H
124 #undef HAVE_BSTRING_H
125
126
127 /*
128 * Do we have the long long type?
129 */
130
131 #undef HAVE_LONG_LONG
132
133 #ifdef HAVE_LONG_LONG
134 # define CUPS_LLFMT "%lld"
135 # define CUPS_LLCAST (long long)
136 #else
137 # define CUPS_LLFMT "%ld"
138 # define CUPS_LLCAST (long)
139 #endif /* HAVE_LONG_LONG */
140
141
142 /*
143 * Do we have the strtoll() function?
144 */
145
146 #undef HAVE_STRTOLL
147
148 #ifndef HAVE_STRTOLL
149 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
150 #endif /* !HAVE_STRTOLL */
151
152
153 /*
154 * Do we have the strXXX() functions?
155 */
156
157 #define HAVE_STRDUP
158 #define HAVE_STRCASECMP
159 #define HAVE_STRNCASECMP
160 #undef HAVE_STRLCAT
161 #undef HAVE_STRLCPY
162
163
164 /*
165 * Do we have the geteuid() function?
166 */
167
168 #undef HAVE_GETEUID
169
170
171 /*
172 * Do we have the vsyslog() function?
173 */
174
175 #undef HAVE_VSYSLOG
176
177
178 /*
179 * Do we have the (v)snprintf() functions?
180 */
181
182 #undef HAVE_SNPRINTF
183 #undef HAVE_VSNPRINTF
184
185
186 /*
187 * What signal functions to use?
188 */
189
190 #undef HAVE_SIGSET
191 #undef HAVE_SIGACTION
192
193
194 /*
195 * What wait functions to use?
196 */
197
198 #undef HAVE_WAITPID
199 #undef HAVE_WAIT3
200
201
202 /*
203 * Do we have the mallinfo function and malloc.h?
204 */
205
206 #undef HAVE_MALLINFO
207 #undef HAVE_MALLOC_H
208
209
210 /*
211 * Do we have the langinfo.h header file?
212 */
213
214 #undef HAVE_LANGINFO_H
215
216
217 /*
218 * Which encryption libraries do we have?
219 */
220
221 #undef HAVE_CDSASSL
222 #undef HAVE_GNUTLS
223 #undef HAVE_LIBSSL
224 #undef HAVE_SSL
225
226
227 /*
228 * Do we have the OpenSLP library?
229 */
230
231 #undef HAVE_LIBSLP
232
233
234 /*
235 * Do we have libpaper?
236 */
237
238 #undef HAVE_LIBPAPER
239
240
241 /*
242 * Do we have <sys/ioctl.h>?
243 */
244
245 #undef HAVE_SYS_IOCTL_H
246
247
248 /*
249 * Do we have mkstemp() and/or mkstemps()?
250 */
251
252 #undef HAVE_MKSTEMP
253 #undef HAVE_MKSTEMPS
254
255
256 /*
257 * Does the "tm" structure contain the "tm_gmtoff" member?
258 */
259
260 #undef HAVE_TM_GMTOFF
261
262
263 /*
264 * Do we have rresvport_af()?
265 */
266
267 #undef HAVE_RRESVPORT_AF
268
269
270 /*
271 * Do we have getaddrinfo()?
272 */
273
274 #define HAVE_GETADDRINFO
275
276
277 /*
278 * Do we have getnameinfo()?
279 */
280
281 #define HAVE_GETNAMEINFO
282
283
284 /*
285 * Do we have getifaddrs()?
286 */
287
288 #undef HAVE_GETIFADDRS
289
290
291 /*
292 * Do we have hstrerror()?
293 */
294
295 #undef HAVE_HSTRERROR
296
297
298 /*
299 * Do we have the <sys/sockio.h> header file?
300 */
301
302 #undef HAVE_SYS_SOCKIO_H
303
304
305 /*
306 * Does the sockaddr structure contain an sa_len parameter?
307 */
308
309 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
310
311
312 /*
313 * Do we have the AIX usersec.h header file?
314 */
315
316 #undef HAVE_USERSEC_H
317
318 /*
319 * Do we have pthread support?
320 */
321
322 #undef HAVE_PTHREAD_H
323
324
325 /*
326 * Various scripting languages...
327 */
328
329 #undef HAVE_JAVA
330 #define CUPS_JAVA "/usr/bin/java"
331 #undef HAVE_PERL
332 #define CUPS_PERL "/usr/bin/perl"
333 #undef HAVE_PHP
334 #define CUPS_PHP "/usr/bin/php"
335 #undef HAVE_PYTHON
336 #define CUPS_PYTHON "/usr/bin/python"
337
338
339 #endif /* !_CUPS_CONFIG_H_ */
340
341 /*
342 * End of "$Id: config.h 6649 2007-07-11 21:46:42Z mike $".
343 */