]> git.ipfire.org Git - thirdparty/cups.git/blame - config.h.in
Load cups into easysw/current.
[thirdparty/cups.git] / config.h.in
CommitLineData
ef416fc2 1/*
09a101d6 2 * "$Id: config.h.in 6569 2007-06-19 00:16:59Z mike $"
ef416fc2 3 *
4 * Configuration file for the Common UNIX Printing System (CUPS).
5 *
b86bc4cf 6 * Copyright 1997-2007 by Easy Software Products.
ef416fc2 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 * Version of software...
30 */
31
32#define CUPS_SVERSION ""
33#define CUPS_MINIMAL ""
34
35
36/*
09ec0018 37 * Default user and groups...
ef416fc2 38 */
39
40#define CUPS_DEFAULT_USER "lp"
41#define CUPS_DEFAULT_GROUP "sys"
09ec0018 42#define CUPS_DEFAULT_SYSTEM_GROUPS "sys root system"
43
44
45/*
46 * Default file permissions...
47 */
48
49#define CUPS_DEFAULT_CONFIG_FILE_PERM 0640
50#define CUPS_DEFAULT_LOG_FILE_PERM 0644
51
52
53/*
54 * Default browsing settings...
55 */
56
57#define CUPS_DEFAULT_BROWSING 1
58#define CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS "CUPS"
59#define CUPS_DEFAULT_BROWSE_REMOTE_PROTOCOLS "CUPS"
60#define CUPS_DEFAULT_BROWSE_SHORT_NAMES 1
61#define CUPS_DEFAULT_DEFAULT_SHARED 1
62#define CUPS_DEFAULT_IMPLICIT_CLASSES 1
e00b005a 63#define CUPS_DEFAULT_USE_NETWORK_DEFAULT 1
ef416fc2 64
65
66/*
67 * Default IPP port...
68 */
69
70#define CUPS_DEFAULT_IPP_PORT 631
71
72
e53920b9 73/*
74 * Default printcap file...
75 */
76
77#define CUPS_DEFAULT_PRINTCAP "/etc/printcap"
78
79
f7deaa1a 80/*
81 * Default MaxCopies value...
82 */
83
84#define CUPS_DEFAULT_MAX_COPIES 100
85
86
ef416fc2 87/*
88 * Maximum number of file descriptors to support.
89 */
90
91#define CUPS_MAX_FDS 4096
92
93
94/*
95 * Do we have domain socket support?
96 */
97
98#undef CUPS_DEFAULT_DOMAINSOCKET
99
100
101/*
102 * Where are files stored?
103 *
104 * Note: These are defaults, which can be overridden by environment
105 * variables at run-time...
106 */
107
fa73b229 108#define CUPS_BINDIR "/usr/bin"
ef416fc2 109#define CUPS_CACHEDIR "/var/cache/cups"
110#define CUPS_DATADIR "/usr/share/cups"
111#define CUPS_DOCROOT "/usr/share/doc/cups"
112#define CUPS_FONTPATH "/usr/share/cups/fonts"
113#define CUPS_LOCALEDIR "/usr/share/locale"
114#define CUPS_LOGDIR "/var/logs/cups"
115#define CUPS_REQUESTS "/var/spool/cups"
fa73b229 116#define CUPS_SBINDIR "/usr/sbin"
ef416fc2 117#define CUPS_SERVERBIN "/usr/lib/cups"
118#define CUPS_SERVERROOT "/etc/cups"
119#define CUPS_STATEDIR "/var/run/cups"
120
121
122/*
123 * Do we have various image libraries?
124 */
125
126#undef HAVE_LIBPNG
127#undef HAVE_LIBZ
128#undef HAVE_LIBJPEG
129#undef HAVE_LIBTIFF
130
131
132/*
133 * Do we have PAM stuff?
134 */
135
136#ifndef HAVE_LIBPAM
137#define HAVE_LIBPAM 0
138#endif /* !HAVE_LIBPAM */
139
140#undef HAVE_PAM_PAM_APPL_H
141
142
143/*
144 * Do we have <shadow.h>?
145 */
146
147#undef HAVE_SHADOW_H
148
149
150/*
151 * Do we have <crypt.h>?
152 */
153
154#undef HAVE_CRYPT_H
155
156
2abf387c 157/*
158 * Do we have <scsi/sg.h>?
159 */
160
161#undef HAVE_SCSI_SG_H
162
163
ef416fc2 164/*
165 * Use <string.h>, <strings.h>, and/or <bstring.h>?
166 */
167
168#undef HAVE_STRING_H
169#undef HAVE_STRINGS_H
170#undef HAVE_BSTRING_H
171
172/*
173 * Do we have the long long type?
174 */
175
176#undef HAVE_LONG_LONG
177
178#ifdef HAVE_LONG_LONG
179# define CUPS_LLFMT "%lld"
180# define CUPS_LLCAST (long long)
181#else
182# define CUPS_LLFMT "%ld"
183# define CUPS_LLCAST (long)
184#endif /* HAVE_LONG_LONG */
185
186/*
187 * Do we have the strtoll() function?
188 */
189
190#undef HAVE_STRTOLL
191
192#ifndef HAVE_STRTOLL
193# define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
194#endif /* !HAVE_STRTOLL */
195
196/*
197 * Do we have the strXXX() functions?
198 */
199
200#undef HAVE_STRDUP
201#undef HAVE_STRCASECMP
202#undef HAVE_STRNCASECMP
203#undef HAVE_STRLCAT
204#undef HAVE_STRLCPY
205
206
207/*
208 * Do we have the geteuid() function?
209 */
210
211#undef HAVE_GETEUID
212
213
214/*
215 * Do we have the vsyslog() function?
216 */
217
218#undef HAVE_VSYSLOG
219
220
221/*
222 * Do we have the (v)snprintf() functions?
223 */
224
225#undef HAVE_SNPRINTF
226#undef HAVE_VSNPRINTF
227
228
229/*
230 * What signal functions to use?
231 */
232
233#undef HAVE_SIGSET
234#undef HAVE_SIGACTION
235
236
237/*
238 * What wait functions to use?
239 */
240
241#undef HAVE_WAITPID
242#undef HAVE_WAIT3
243
244
245/*
246 * Do we have the mallinfo function and malloc.h?
247 */
248
249#undef HAVE_MALLINFO
250#undef HAVE_MALLOC_H
251
252
fa73b229 253/*
254 * Do we have the POSIX ACL functions?
255 */
256
257#undef HAVE_ACL_INIT
258
259
ef416fc2 260/*
261 * Do we have the langinfo.h header file?
262 */
263
264#undef HAVE_LANGINFO_H
265
266
267/*
268 * Which encryption libraries do we have?
269 */
270
271#undef HAVE_CDSASSL
272#undef HAVE_GNUTLS
273#undef HAVE_LIBSSL
274#undef HAVE_SSL
275
276
ed486911 277/*
b86bc4cf 278 * What Security framework headers do we have?
ed486911 279 */
280
f7deaa1a 281#undef HAVE_AUTHORIZATION_H
b86bc4cf 282#undef HAVE_SECPOLICY_H
283#undef HAVE_SECPOLICYPRIV_H
ed486911 284#undef HAVE_SECBASEPRIV_H
b86bc4cf 285#undef HAVE_SECIDENTITYSEARCHPRIV_H
286
287
288/*
289 * Do we have the SecIdentitySearchCreateWithPolicy function?
290 */
291
292#undef HAVE_SECIDENTITYSEARCHCREATEWITHPOLICY
ed486911 293
294
ef416fc2 295/*
b423cd4c 296 * Do we have the SLP library?
ef416fc2 297 */
298
299#undef HAVE_LIBSLP
300
301
b423cd4c 302/*
303 * Do we have an LDAP library?
304 */
305
306#undef HAVE_LDAP
307#undef HAVE_OPENLDAP
308
309
ef416fc2 310/*
311 * Do we have libpaper?
312 */
313
314#undef HAVE_LIBPAPER
315
316
f7deaa1a 317/*
318 * Do we have DNS Service Discovery (aka Bonjour)?
319 */
320
321#undef HAVE_DNSSD
322
323
324/*
325 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
326 */
327
328#undef HAVE_COREFOUNDATION
329#undef HAVE_SYSTEMCONFIGURATION
330
331
ef416fc2 332/*
333 * Do we have <sys/ioctl.h>?
334 */
335
336#undef HAVE_SYS_IOCTL_H
337
338
339/*
340 * Do we have mkstemp() and/or mkstemps()?
341 */
342
343#undef HAVE_MKSTEMP
344#undef HAVE_MKSTEMPS
345
346
347/*
348 * Does the "tm" structure contain the "tm_gmtoff" member?
349 */
350
351#undef HAVE_TM_GMTOFF
352
353
354/*
355 * Do we have rresvport_af()?
356 */
357
358#undef HAVE_RRESVPORT_AF
359
360
361/*
362 * Do we have getaddrinfo()?
363 */
364
365#undef HAVE_GETADDRINFO
366
367
368/*
369 * Do we have getnameinfo()?
370 */
371
372#undef HAVE_GETNAMEINFO
373
374
375/*
376 * Do we have getifaddrs()?
377 */
378
379#undef HAVE_GETIFADDRS
380
381
382/*
383 * Do we have hstrerror()?
384 */
385
386#undef HAVE_HSTRERROR
387
388
389/*
390 * Do we have the <sys/sockio.h> header file?
391 */
392
393#undef HAVE_SYS_SOCKIO_H
394
395
396/*
397 * Does the sockaddr structure contain an sa_len parameter?
398 */
399
400#undef HAVE_STRUCT_SOCKADDR_SA_LEN
401
402
403/*
404 * Do we have the AIX usersec.h header file?
405 */
406
407#undef HAVE_USERSEC_H
408
409/*
410 * Do we have pthread support?
411 */
412
413#undef HAVE_PTHREAD_H
414
415
a4d04587 416/*
417 * Do we have launchd support?
418 */
419
420#undef HAVE_LAUNCH_H
421#undef HAVE_LAUNCHD
422#define CUPS_DEFAULT_LAUNCHD_CONF ""
423
424
ef416fc2 425/*
426 * Various scripting languages...
427 */
428
429#undef HAVE_JAVA
430#define CUPS_JAVA "/usr/bin/java"
431#undef HAVE_PERL
432#define CUPS_PERL "/usr/bin/perl"
433#undef HAVE_PHP
434#define CUPS_PHP "/usr/bin/php"
435#undef HAVE_PYTHON
436#define CUPS_PYTHON "/usr/bin/python"
437
438
fa73b229 439/*
440 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
441 */
442
443#undef HAVE_COREFOUNDATION
444#undef HAVE_SYSTEMCONFIGURATION
445
446
447/*
448 * Do we have CoreFoundation public and private headers?
449 */
450
451#undef HAVE_COREFOUNDATION_H
452#undef HAVE_CFPRIV_H
453#undef HAVE_CFBUNDLEPRIV_H
454
455
26d47ec6 456/*
457 * Do we have CFLocaleCreateCanonicalLocaleIdentifierFromString()?
458 */
459
460#undef HAVE_CF_LOCALE_ID
461
462
fa73b229 463/*
464 * Do we have MacOSX 10.4's mbr_XXX functions()?
465 */
466
467#undef HAVE_MEMBERSHIP_H
7594b224 468#undef HAVE_MEMBERSHIPPRIV_H
fa73b229 469#undef HAVE_MBR_UID_TO_UUID
470
471
472/*
473 * Do we have Darwin's notify_post() header and function?
474 */
475
476#undef HAVE_NOTIFY_H
477#undef HAVE_NOTIFY_POST
478
479
e00b005a 480/*
481 * Do we have DBUS?
482 */
483
484#undef HAVE_DBUS
2abf387c 485#undef HAVE_DBUS_MESSAGE_ITER_INIT_APPEND
e00b005a 486
487
a74454a7 488/*
489 * Do we have the AppleTalk/at_proto.h header?
490 */
491
492#undef HAVE_APPLETALK_AT_PROTO_H
493
494
f7deaa1a 495/*
496 * Do we have the GSSAPI support library (for Kerberos support)?
497 */
498
499#undef HAVE_GSSAPI
500#undef HAVE_GSSAPI_H
501#undef HAVE_GSSAPI_GSSAPI_H
502#undef HAVE_GSSAPI_GSSAPI_GENERIC_H
503#undef HAVE_GSSAPI_GSSAPI_KRB5_H
504#undef HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY
505#undef HAVE_GSS_C_NT_HOSTBASED_SERVICE
09a101d6 506#undef HAVE_KRB5_CC_RESOLVE
f7deaa1a 507#undef HAVE_KRB5_H
508#undef HAVE_HEIMDAL
509
510
511/*
512 * Default GSS service name...
513 */
514
515#define CUPS_DEFAULT_GSSSERVICENAME ""
516
517
518/*
519 * Select/poll interfaces...
520 */
521
522#undef HAVE_POLL
523#undef HAVE_EPOLL
524#undef HAVE_KQUEUE
525
526
7594b224 527/*
528 * Do we have the <dlfcn.h> header?
529 */
530
531#undef HAVE_DLFCN_H
532
533
ef416fc2 534#endif /* !_CUPS_CONFIG_H_ */
535
536/*
09a101d6 537 * End of "$Id: config.h.in 6569 2007-06-19 00:16:59Z mike $".
ef416fc2 538 */