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