]> git.ipfire.org Git - thirdparty/cups.git/blame - config.h.in
Import CUPS 1.4svn r7023 into easysw/current.
[thirdparty/cups.git] / config.h.in
CommitLineData
ef416fc2 1/*
2e4ff8af 2 * "$Id: config.h.in 6930 2007-09-08 00:28:06Z mike $"
ef416fc2 3 *
4 * Configuration file for the Common UNIX Printing System (CUPS).
5 *
bc44d920 6 * Copyright 2007 by Apple Inc.
b86bc4cf 7 * Copyright 1997-2007 by Easy Software Products.
ef416fc2 8 *
9 * These coded instructions, statements, and computer programs are the
bc44d920 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/".
ef416fc2 14 */
15
16#ifndef _CUPS_CONFIG_H_
17#define _CUPS_CONFIG_H_
18
19/*
20 * Version of software...
21 */
22
23#define CUPS_SVERSION ""
24#define CUPS_MINIMAL ""
25
26
27/*
09ec0018 28 * Default user and groups...
ef416fc2 29 */
30
31#define CUPS_DEFAULT_USER "lp"
32#define CUPS_DEFAULT_GROUP "sys"
09ec0018 33#define CUPS_DEFAULT_SYSTEM_GROUPS "sys root system"
355e94dc 34#define CUPS_DEFAULT_PRINTADMIN_AUTH "@SYSTEM"
09ec0018 35
36
37/*
38 * Default file permissions...
39 */
40
41#define CUPS_DEFAULT_CONFIG_FILE_PERM 0640
42#define CUPS_DEFAULT_LOG_FILE_PERM 0644
43
44
45/*
46 * Default browsing settings...
47 */
48
49#define CUPS_DEFAULT_BROWSING 1
50#define CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS "CUPS"
51#define CUPS_DEFAULT_BROWSE_REMOTE_PROTOCOLS "CUPS"
52#define CUPS_DEFAULT_BROWSE_SHORT_NAMES 1
53#define CUPS_DEFAULT_DEFAULT_SHARED 1
54#define CUPS_DEFAULT_IMPLICIT_CLASSES 1
e00b005a 55#define CUPS_DEFAULT_USE_NETWORK_DEFAULT 1
ef416fc2 56
57
58/*
59 * Default IPP port...
60 */
61
62#define CUPS_DEFAULT_IPP_PORT 631
63
64
e53920b9 65/*
66 * Default printcap file...
67 */
68
69#define CUPS_DEFAULT_PRINTCAP "/etc/printcap"
70
71
2e4ff8af
MS
72/*
73 * Default Samba and LPD config files...
74 */
75
76#define CUPS_DEFAULT_SMB_CONFIG_FILE ""
77#define CUPS_DEFAULT_LPD_CONFIG_FILE ""
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
c24d2134 506#undef HAVE_KRB5_CC_NEW_UNIQUE
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
db1f069b
MS
534/*
535 * Do we have <sys/param.h>?
536 */
537
538#undef HAVE_SYS_PARAM_H
539
540
bc44d920 541/*
542 * Do we have <sys/ucred.h>?
543 */
544
545#undef HAVE_SYS_UCRED_H
546
547
cc0d019f
MS
548/*
549 * Do we have removefile()?
550 */
551
552#undef HAVE_REMOVEFILE
553
554
ef416fc2 555#endif /* !_CUPS_CONFIG_H_ */
556
557/*
2e4ff8af 558 * End of "$Id: config.h.in 6930 2007-09-08 00:28:06Z mike $".
ef416fc2 559 */