]> 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 6189 2007-01-10 16:30:34Z mike $"
3 *
4 * Configuration file for the Common UNIX Printing System (CUPS).
5 *
6 * Copyright 1997-2007 by Easy Software Products.
7 *
8 * These coded instructions, statements, and computer programs are the
9 * property of Easy Software Products and are protected by Federal
10 * copyright law. Distribution and use rights are outlined in the file
11 * "LICENSE.txt" which should have been included with this file. If this
12 * file is missing or damaged please contact Easy Software Products
13 * at:
14 *
15 * Attn: CUPS Licensing Information
16 * Easy Software Products
17 * 44141 Airport View Drive, Suite 204
18 * Hollywood, Maryland 20636 USA
19 *
20 * Voice: (301) 373-9600
21 * EMail: cups-info@cups.org
22 * WWW: http://www.cups.org
23 */
24
25 #ifndef _CUPS_CONFIG_H_
26 #define _CUPS_CONFIG_H_
27
28 /*
29 * Compiler stuff...
30 */
31
32 #undef const
33 #undef __CHAR_UNSIGNED__
34
35
36 /*
37 * Version of software...
38 */
39
40 #define CUPS_SVERSION "CUPS v1.2.8"
41 #define CUPS_MINIMAL "CUPS/1.2.8"
42
43
44 /*
45 * Default user and groups...
46 */
47
48 #define CUPS_DEFAULT_USER "lp"
49 #define CUPS_DEFAULT_GROUP "lp"
50 #define CUPS_DEFAULT_SYSTEM_GROUPS "sys root"
51
52
53 /*
54 * Default file permissions...
55 */
56
57 #define CUPS_DEFAULT_CONFIG_FILE_PERM 0640
58 #define CUPS_DEFAULT_LOG_FILE_PERM 0644
59
60
61 /*
62 * Default browsing settings...
63 */
64
65 #define CUPS_DEFAULT_BROWSING 1
66 #define CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS "CUPS"
67 #define CUPS_DEFAULT_BROWSE_REMOTE_PROTOCOLS "CUPS"
68 #define CUPS_DEFAULT_BROWSE_SHORT_NAMES 1
69 #define CUPS_DEFAULT_DEFAULT_SHARED 1
70 #define CUPS_DEFAULT_IMPLICIT_CLASSES 1
71 #define CUPS_DEFAULT_USE_NETWORK_DEFAULT 1
72
73
74 /*
75 * Default IPP port...
76 */
77
78 #define CUPS_DEFAULT_IPP_PORT 631
79
80
81 /*
82 * Maximum number of file descriptors to support.
83 */
84
85 #define CUPS_MAX_FDS 4096
86
87
88 /*
89 * Do we have domain socket support?
90 */
91
92 #undef CUPS_DEFAULT_DOMAINSOCKET
93
94
95 /*
96 * Where are files stored?
97 *
98 * Note: These are defaults, which can be overridden by environment
99 * variables at run-time...
100 */
101
102 #define CUPS_CACHEDIR "C:/CUPS/cache"
103 #define CUPS_DATADIR "C:/CUPS/share"
104 #define CUPS_DOCROOT "C:/CUPS/share/doc"
105 #define CUPS_FONTPATH "C:/CUPS/share/fonts"
106 #define CUPS_LOCALEDIR "C:/CUPS/locale"
107 #define CUPS_LOGDIR "C:/CUPS/logs"
108 #define CUPS_REQUESTS "C:/CUPS/spool"
109 #define CUPS_SERVERBIN "C:/CUPS/lib"
110 #define CUPS_SERVERROOT "C:/CUPS/etc"
111 #define CUPS_STATEDIR "C:/CUPS/run"
112
113
114 /*
115 * Do we have various image libraries?
116 */
117
118 #undef HAVE_LIBPNG
119 #undef HAVE_LIBZ
120 #undef HAVE_LIBJPEG
121 #undef HAVE_LIBTIFF
122
123
124 /*
125 * Do we have PAM stuff?
126 */
127
128 #ifndef HAVE_LIBPAM
129 #define HAVE_LIBPAM 0
130 #endif /* !HAVE_LIBPAM */
131
132 #undef HAVE_PAM_PAM_APPL_H
133
134
135 /*
136 * Do we have <shadow.h>?
137 */
138
139 #undef HAVE_SHADOW_H
140
141
142 /*
143 * Do we have <crypt.h>?
144 */
145
146 #undef HAVE_CRYPT_H
147
148
149 /*
150 * Do we have <scsi/sg.h>?
151 */
152
153 #undef HAVE_SCSI_SG_H
154
155
156 /*
157 * Use <string.h>, <strings.h>, and/or <bstring.h>?
158 */
159
160 #define HAVE_STRING_H
161 #undef HAVE_STRINGS_H
162 #undef HAVE_BSTRING_H
163
164
165 /*
166 * Do we have the long long type?
167 */
168
169 #undef HAVE_LONG_LONG
170
171 #ifdef HAVE_LONG_LONG
172 # define CUPS_LLFMT "%lld"
173 # define CUPS_LLCAST (long long)
174 #else
175 # define CUPS_LLFMT "%ld"
176 # define CUPS_LLCAST (long)
177 #endif /* HAVE_LONG_LONG */
178
179
180 /*
181 * Do we have the strtoll() function?
182 */
183
184 #undef HAVE_STRTOLL
185
186 #ifndef HAVE_STRTOLL
187 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
188 #endif /* !HAVE_STRTOLL */
189
190
191 /*
192 * Do we have the strXXX() functions?
193 */
194
195 #define HAVE_STRDUP
196 #define HAVE_STRCASECMP
197 #define HAVE_STRNCASECMP
198 #undef HAVE_STRLCAT
199 #undef HAVE_STRLCPY
200
201
202 /*
203 * Do we have the geteuid() function?
204 */
205
206 #undef HAVE_GETEUID
207
208
209 /*
210 * Do we have the vsyslog() function?
211 */
212
213 #undef HAVE_VSYSLOG
214
215
216 /*
217 * Do we have the (v)snprintf() functions?
218 */
219
220 #undef HAVE_SNPRINTF
221 #undef HAVE_VSNPRINTF
222
223
224 /*
225 * What signal functions to use?
226 */
227
228 #undef HAVE_SIGSET
229 #undef HAVE_SIGACTION
230
231
232 /*
233 * What wait functions to use?
234 */
235
236 #undef HAVE_WAITPID
237 #undef HAVE_WAIT3
238
239
240 /*
241 * Do we have the mallinfo function and malloc.h?
242 */
243
244 #undef HAVE_MALLINFO
245 #undef HAVE_MALLOC_H
246
247
248 /*
249 * Do we have the POSIX ACL functions?
250 */
251
252 #undef HAVE_ACL_INIT
253
254
255 /*
256 * Do we have the langinfo.h header file?
257 */
258
259 #undef HAVE_LANGINFO_H
260
261
262 /*
263 * Which encryption libraries do we have?
264 */
265
266 #undef HAVE_CDSASSL
267 #undef HAVE_GNUTLS
268 #define HAVE_LIBSSL 1
269 #define HAVE_SSL 1
270
271
272 /*
273 * Do we have the OpenSLP library?
274 */
275
276 #undef HAVE_LIBSLP
277
278
279 /*
280 * Do we have an LDAP library?
281 */
282
283 #undef HAVE_LDAP
284 #undef HAVE_OPENLDAP
285
286
287 /*
288 * Do we have libpaper?
289 */
290
291 #undef HAVE_LIBPAPER
292
293
294 /*
295 * Do we have <sys/ioctl.h>?
296 */
297
298 #undef HAVE_SYS_IOCTL_H
299
300
301 /*
302 * Do we have mkstemp() and/or mkstemps()?
303 */
304
305 #undef HAVE_MKSTEMP
306 #undef HAVE_MKSTEMPS
307
308
309 /*
310 * Does the "tm" structure contain the "tm_gmtoff" member?
311 */
312
313 #undef HAVE_TM_GMTOFF
314
315
316 /*
317 * Do we have rresvport_af()?
318 */
319
320 #undef HAVE_RRESVPORT_AF
321
322
323 /*
324 * Do we have getaddrinfo()?
325 */
326
327 #define HAVE_GETADDRINFO
328
329
330 /*
331 * Do we have getnameinfo()?
332 */
333
334 #define HAVE_GETNAMEINFO
335
336
337 /*
338 * Do we have getifaddrs()?
339 */
340
341 #undef HAVE_GETIFADDRS
342
343
344 /*
345 * Do we have hstrerror()?
346 */
347
348 #undef HAVE_HSTRERROR
349
350
351 /*
352 * Do we have the <sys/sockio.h> header file?
353 */
354
355 #undef HAVE_SYS_SOCKIO_H
356
357
358 /*
359 * Does the sockaddr structure contain an sa_len parameter?
360 */
361
362 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
363
364
365 /*
366 * Do we have the AIX usersec.h header file?
367 */
368
369 #undef HAVE_USERSEC_H
370
371 /*
372 * Do we have pthread support?
373 */
374
375 #undef HAVE_PTHREAD_H
376
377
378 /*
379 * Do we have launchd support?
380 */
381
382 /* #undef HAVE_LAUNCH_H */
383 /* #undef HAVE_LAUNCHD */
384 #define CUPS_DEFAULT_LAUNCHD_CONF ""
385
386
387 /*
388 * Various scripting languages...
389 */
390
391 #undef HAVE_JAVA
392 #define CUPS_JAVA "/usr/bin/java"
393 #undef HAVE_PERL
394 #define CUPS_PERL "/usr/bin/perl"
395 #undef HAVE_PHP
396 #define CUPS_PHP "/usr/bin/php"
397 #undef HAVE_PYTHON
398 #define CUPS_PYTHON "/usr/bin/python"
399
400
401 /*
402 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
403 */
404
405 /* #undef HAVE_COREFOUNDATION */
406 /* #undef HAVE_SYSTEMCONFIGURATION */
407
408
409 /*
410 * Do we have CoreFoundation public and private headers?
411 */
412
413 /* #undef HAVE_COREFOUNDATION_H */
414 /* #undef HAVE_CFPRIV_H */
415 /* #undef HAVE_CFBUNDLEPRIV_H */
416
417
418 /*
419 * Do we have CFLocaleCreateCanonicalLocaleIdentifierFromString()?
420 */
421
422 /* #undef HAVE_CF_LOCALE_ID */
423
424
425 /*
426 * Do we have MacOSX 10.4's mbr_XXX functions()?
427 */
428
429 /* #undef HAVE_MEMBERSHIP_H */
430 /* #undef HAVE_MBR_UID_TO_UUID */
431
432
433 /*
434 * Do we have Darwin's notify_post() header and function?
435 */
436
437 /* #undef HAVE_NOTIFY_H */
438 /* #undef HAVE_NOTIFY_POST */
439
440
441 /*
442 * Do we have DBUS?
443 */
444
445 /* #undef HAVE_DBUS */
446 /* #undef HAVE_DBUS_MESSAGE_ITER_INIT_APPEND */
447
448
449 /*
450 * Do we have the AppleTalk/at_proto.h header?
451 */
452
453 /* #undef HAVE_APPLETALK_AT_PROTO_H */
454
455
456 #endif /* !_CUPS_CONFIG_H_ */
457
458 /*
459 * End of "$Id: config.h 6189 2007-01-10 16:30:34Z mike $".
460 */