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