]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | /* |
75bd9771 | 2 | * "$Id: config.h.in 7687 2008-06-24 01:28:36Z mike $" |
ef416fc2 | 3 | * |
4 | * Configuration file for the Common UNIX Printing System (CUPS). | |
5 | * | |
ae71f5de | 6 | * Copyright 2007-2008 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 | ||
1f0275e3 MS |
45 | /* |
46 | * Default logging settings... | |
47 | */ | |
48 | ||
49 | #define CUPS_DEFAULT_LOG_LEVEL "warn" | |
50 | #define CUPS_DEFAULT_ACCESS_LOG_LEVEL "actions" | |
51 | ||
52 | ||
09ec0018 | 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 | ||
2e4ff8af MS |
80 | /* |
81 | * Default Samba and LPD config files... | |
82 | */ | |
83 | ||
84 | #define CUPS_DEFAULT_SMB_CONFIG_FILE "" | |
85 | #define CUPS_DEFAULT_LPD_CONFIG_FILE "" | |
86 | ||
87 | ||
f7deaa1a | 88 | /* |
89 | * Default MaxCopies value... | |
90 | */ | |
91 | ||
92 | #define CUPS_DEFAULT_MAX_COPIES 100 | |
93 | ||
94 | ||
ef416fc2 | 95 | /* |
96 | * Do we have domain socket support? | |
97 | */ | |
98 | ||
99 | #undef CUPS_DEFAULT_DOMAINSOCKET | |
100 | ||
101 | ||
102 | /* | |
103 | * Where are files stored? | |
104 | * | |
105 | * Note: These are defaults, which can be overridden by environment | |
106 | * variables at run-time... | |
107 | */ | |
108 | ||
fa73b229 | 109 | #define CUPS_BINDIR "/usr/bin" |
ef416fc2 | 110 | #define CUPS_CACHEDIR "/var/cache/cups" |
111 | #define CUPS_DATADIR "/usr/share/cups" | |
112 | #define CUPS_DOCROOT "/usr/share/doc/cups" | |
113 | #define CUPS_FONTPATH "/usr/share/cups/fonts" | |
114 | #define CUPS_LOCALEDIR "/usr/share/locale" | |
115 | #define CUPS_LOGDIR "/var/logs/cups" | |
116 | #define CUPS_REQUESTS "/var/spool/cups" | |
fa73b229 | 117 | #define CUPS_SBINDIR "/usr/sbin" |
ef416fc2 | 118 | #define CUPS_SERVERBIN "/usr/lib/cups" |
119 | #define CUPS_SERVERROOT "/etc/cups" | |
120 | #define CUPS_STATEDIR "/var/run/cups" | |
121 | ||
122 | ||
123 | /* | |
124 | * Do we have various image libraries? | |
125 | */ | |
126 | ||
127 | #undef HAVE_LIBPNG | |
128 | #undef HAVE_LIBZ | |
129 | #undef HAVE_LIBJPEG | |
130 | #undef HAVE_LIBTIFF | |
131 | ||
132 | ||
133 | /* | |
134 | * Do we have PAM stuff? | |
135 | */ | |
136 | ||
137 | #ifndef HAVE_LIBPAM | |
138 | #define HAVE_LIBPAM 0 | |
139 | #endif /* !HAVE_LIBPAM */ | |
140 | ||
141 | #undef HAVE_PAM_PAM_APPL_H | |
a4924f6c | 142 | #undef HAVE_PAM_SET_ITEM |
ee571f26 | 143 | #undef HAVE_PAM_SETCRED |
ef416fc2 | 144 | |
145 | ||
146 | /* | |
147 | * Do we have <shadow.h>? | |
148 | */ | |
149 | ||
150 | #undef HAVE_SHADOW_H | |
151 | ||
152 | ||
153 | /* | |
154 | * Do we have <crypt.h>? | |
155 | */ | |
156 | ||
157 | #undef HAVE_CRYPT_H | |
158 | ||
159 | ||
2abf387c | 160 | /* |
161 | * Do we have <scsi/sg.h>? | |
162 | */ | |
163 | ||
164 | #undef HAVE_SCSI_SG_H | |
165 | ||
166 | ||
ef416fc2 | 167 | /* |
168 | * Use <string.h>, <strings.h>, and/or <bstring.h>? | |
169 | */ | |
170 | ||
171 | #undef HAVE_STRING_H | |
172 | #undef HAVE_STRINGS_H | |
173 | #undef HAVE_BSTRING_H | |
174 | ||
175 | /* | |
176 | * Do we have the long long type? | |
177 | */ | |
178 | ||
179 | #undef HAVE_LONG_LONG | |
180 | ||
181 | #ifdef HAVE_LONG_LONG | |
182 | # define CUPS_LLFMT "%lld" | |
183 | # define CUPS_LLCAST (long long) | |
184 | #else | |
185 | # define CUPS_LLFMT "%ld" | |
186 | # define CUPS_LLCAST (long) | |
187 | #endif /* HAVE_LONG_LONG */ | |
188 | ||
189 | /* | |
190 | * Do we have the strtoll() function? | |
191 | */ | |
192 | ||
193 | #undef HAVE_STRTOLL | |
194 | ||
195 | #ifndef HAVE_STRTOLL | |
196 | # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base)) | |
197 | #endif /* !HAVE_STRTOLL */ | |
198 | ||
199 | /* | |
200 | * Do we have the strXXX() functions? | |
201 | */ | |
202 | ||
203 | #undef HAVE_STRDUP | |
204 | #undef HAVE_STRCASECMP | |
205 | #undef HAVE_STRNCASECMP | |
206 | #undef HAVE_STRLCAT | |
207 | #undef HAVE_STRLCPY | |
208 | ||
209 | ||
210 | /* | |
211 | * Do we have the geteuid() function? | |
212 | */ | |
213 | ||
214 | #undef HAVE_GETEUID | |
215 | ||
216 | ||
217 | /* | |
218 | * Do we have the vsyslog() function? | |
219 | */ | |
220 | ||
221 | #undef HAVE_VSYSLOG | |
222 | ||
223 | ||
224 | /* | |
225 | * Do we have the (v)snprintf() functions? | |
226 | */ | |
227 | ||
228 | #undef HAVE_SNPRINTF | |
229 | #undef HAVE_VSNPRINTF | |
230 | ||
231 | ||
232 | /* | |
233 | * What signal functions to use? | |
234 | */ | |
235 | ||
236 | #undef HAVE_SIGSET | |
237 | #undef HAVE_SIGACTION | |
238 | ||
239 | ||
240 | /* | |
241 | * What wait functions to use? | |
242 | */ | |
243 | ||
244 | #undef HAVE_WAITPID | |
245 | #undef HAVE_WAIT3 | |
246 | ||
247 | ||
248 | /* | |
249 | * Do we have the mallinfo function and malloc.h? | |
250 | */ | |
251 | ||
252 | #undef HAVE_MALLINFO | |
253 | #undef HAVE_MALLOC_H | |
254 | ||
255 | ||
fa73b229 | 256 | /* |
257 | * Do we have the POSIX ACL functions? | |
258 | */ | |
259 | ||
260 | #undef HAVE_ACL_INIT | |
261 | ||
262 | ||
ef416fc2 | 263 | /* |
264 | * Do we have the langinfo.h header file? | |
265 | */ | |
266 | ||
267 | #undef HAVE_LANGINFO_H | |
268 | ||
269 | ||
270 | /* | |
271 | * Which encryption libraries do we have? | |
272 | */ | |
273 | ||
274 | #undef HAVE_CDSASSL | |
275 | #undef HAVE_GNUTLS | |
276 | #undef HAVE_LIBSSL | |
277 | #undef HAVE_SSL | |
278 | ||
279 | ||
ed486911 | 280 | /* |
b86bc4cf | 281 | * What Security framework headers do we have? |
ed486911 | 282 | */ |
283 | ||
f7deaa1a | 284 | #undef HAVE_AUTHORIZATION_H |
b86bc4cf | 285 | #undef HAVE_SECPOLICY_H |
286 | #undef HAVE_SECPOLICYPRIV_H | |
ed486911 | 287 | #undef HAVE_SECBASEPRIV_H |
b86bc4cf | 288 | #undef HAVE_SECIDENTITYSEARCHPRIV_H |
289 | ||
290 | ||
291 | /* | |
292 | * Do we have the SecIdentitySearchCreateWithPolicy function? | |
293 | */ | |
294 | ||
295 | #undef HAVE_SECIDENTITYSEARCHCREATEWITHPOLICY | |
ed486911 | 296 | |
297 | ||
ef416fc2 | 298 | /* |
b423cd4c | 299 | * Do we have the SLP library? |
ef416fc2 | 300 | */ |
301 | ||
302 | #undef HAVE_LIBSLP | |
303 | ||
304 | ||
b423cd4c | 305 | /* |
306 | * Do we have an LDAP library? | |
307 | */ | |
308 | ||
309 | #undef HAVE_LDAP | |
310 | #undef HAVE_OPENLDAP | |
749b1e90 MS |
311 | #undef HAVE_MOZILLA_LDAP |
312 | #undef HAVE_LDAP_SSL_H | |
313 | #undef HAVE_LDAP_SSL | |
314 | #undef HAVE_LDAP_REBIND_PROC | |
b423cd4c | 315 | |
316 | ||
ef416fc2 | 317 | /* |
318 | * Do we have libpaper? | |
319 | */ | |
320 | ||
321 | #undef HAVE_LIBPAPER | |
322 | ||
323 | ||
f7deaa1a | 324 | /* |
325 | * Do we have DNS Service Discovery (aka Bonjour)? | |
326 | */ | |
327 | ||
328 | #undef HAVE_DNSSD | |
329 | ||
330 | ||
331 | /* | |
332 | * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks? | |
333 | */ | |
334 | ||
335 | #undef HAVE_COREFOUNDATION | |
336 | #undef HAVE_SYSTEMCONFIGURATION | |
337 | ||
338 | ||
ef416fc2 | 339 | /* |
340 | * Do we have <sys/ioctl.h>? | |
341 | */ | |
342 | ||
343 | #undef HAVE_SYS_IOCTL_H | |
344 | ||
345 | ||
346 | /* | |
347 | * Do we have mkstemp() and/or mkstemps()? | |
348 | */ | |
349 | ||
350 | #undef HAVE_MKSTEMP | |
351 | #undef HAVE_MKSTEMPS | |
352 | ||
353 | ||
354 | /* | |
355 | * Does the "tm" structure contain the "tm_gmtoff" member? | |
356 | */ | |
357 | ||
358 | #undef HAVE_TM_GMTOFF | |
359 | ||
360 | ||
361 | /* | |
362 | * Do we have rresvport_af()? | |
363 | */ | |
364 | ||
365 | #undef HAVE_RRESVPORT_AF | |
366 | ||
367 | ||
368 | /* | |
369 | * Do we have getaddrinfo()? | |
370 | */ | |
371 | ||
372 | #undef HAVE_GETADDRINFO | |
373 | ||
374 | ||
375 | /* | |
376 | * Do we have getnameinfo()? | |
377 | */ | |
378 | ||
379 | #undef HAVE_GETNAMEINFO | |
380 | ||
381 | ||
382 | /* | |
383 | * Do we have getifaddrs()? | |
384 | */ | |
385 | ||
386 | #undef HAVE_GETIFADDRS | |
387 | ||
388 | ||
389 | /* | |
390 | * Do we have hstrerror()? | |
391 | */ | |
392 | ||
393 | #undef HAVE_HSTRERROR | |
394 | ||
395 | ||
396 | /* | |
397 | * Do we have the <sys/sockio.h> header file? | |
398 | */ | |
399 | ||
400 | #undef HAVE_SYS_SOCKIO_H | |
401 | ||
402 | ||
403 | /* | |
404 | * Does the sockaddr structure contain an sa_len parameter? | |
405 | */ | |
406 | ||
407 | #undef HAVE_STRUCT_SOCKADDR_SA_LEN | |
408 | ||
409 | ||
410 | /* | |
411 | * Do we have the AIX usersec.h header file? | |
412 | */ | |
413 | ||
414 | #undef HAVE_USERSEC_H | |
415 | ||
416 | /* | |
417 | * Do we have pthread support? | |
418 | */ | |
419 | ||
420 | #undef HAVE_PTHREAD_H | |
421 | ||
422 | ||
a4d04587 | 423 | /* |
424 | * Do we have launchd support? | |
425 | */ | |
426 | ||
427 | #undef HAVE_LAUNCH_H | |
428 | #undef HAVE_LAUNCHD | |
429 | #define CUPS_DEFAULT_LAUNCHD_CONF "" | |
430 | ||
431 | ||
ef416fc2 | 432 | /* |
433 | * Various scripting languages... | |
434 | */ | |
435 | ||
436 | #undef HAVE_JAVA | |
437 | #define CUPS_JAVA "/usr/bin/java" | |
438 | #undef HAVE_PERL | |
439 | #define CUPS_PERL "/usr/bin/perl" | |
440 | #undef HAVE_PHP | |
441 | #define CUPS_PHP "/usr/bin/php" | |
442 | #undef HAVE_PYTHON | |
443 | #define CUPS_PYTHON "/usr/bin/python" | |
444 | ||
445 | ||
91c84a35 MS |
446 | /* |
447 | * Location of the poppler/Xpdf pdftops program... | |
448 | */ | |
449 | ||
ae71f5de | 450 | #undef HAVE_PDFTOPS |
91c84a35 MS |
451 | #define CUPS_PDFTOPS "/usr/bin/pdftops" |
452 | ||
453 | ||
ae71f5de MS |
454 | /* |
455 | * Location of the Ghostscript gs program... | |
456 | */ | |
457 | ||
458 | #undef HAVE_GHOSTSCRIPT | |
459 | #define CUPS_GHOSTSCRIPT "/usr/bin/gs" | |
460 | ||
461 | ||
fa73b229 | 462 | /* |
463 | * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks? | |
464 | */ | |
465 | ||
466 | #undef HAVE_COREFOUNDATION | |
467 | #undef HAVE_SYSTEMCONFIGURATION | |
468 | ||
469 | ||
470 | /* | |
471 | * Do we have CoreFoundation public and private headers? | |
472 | */ | |
473 | ||
474 | #undef HAVE_COREFOUNDATION_H | |
475 | #undef HAVE_CFPRIV_H | |
476 | #undef HAVE_CFBUNDLEPRIV_H | |
477 | ||
478 | ||
479 | /* | |
480 | * Do we have MacOSX 10.4's mbr_XXX functions()? | |
481 | */ | |
482 | ||
483 | #undef HAVE_MEMBERSHIP_H | |
7594b224 | 484 | #undef HAVE_MEMBERSHIPPRIV_H |
fa73b229 | 485 | #undef HAVE_MBR_UID_TO_UUID |
486 | ||
487 | ||
488 | /* | |
489 | * Do we have Darwin's notify_post() header and function? | |
490 | */ | |
491 | ||
492 | #undef HAVE_NOTIFY_H | |
493 | #undef HAVE_NOTIFY_POST | |
494 | ||
495 | ||
e00b005a | 496 | /* |
497 | * Do we have DBUS? | |
498 | */ | |
499 | ||
500 | #undef HAVE_DBUS | |
2abf387c | 501 | #undef HAVE_DBUS_MESSAGE_ITER_INIT_APPEND |
e00b005a | 502 | |
503 | ||
a74454a7 | 504 | /* |
505 | * Do we have the AppleTalk/at_proto.h header? | |
506 | */ | |
507 | ||
508 | #undef HAVE_APPLETALK_AT_PROTO_H | |
509 | ||
510 | ||
f7deaa1a | 511 | /* |
512 | * Do we have the GSSAPI support library (for Kerberos support)? | |
513 | */ | |
514 | ||
515 | #undef HAVE_GSSAPI | |
516 | #undef HAVE_GSSAPI_H | |
517 | #undef HAVE_GSSAPI_GSSAPI_H | |
518 | #undef HAVE_GSSAPI_GSSAPI_GENERIC_H | |
519 | #undef HAVE_GSSAPI_GSSAPI_KRB5_H | |
520 | #undef HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY | |
521 | #undef HAVE_GSS_C_NT_HOSTBASED_SERVICE | |
c24d2134 | 522 | #undef HAVE_KRB5_CC_NEW_UNIQUE |
f7deaa1a | 523 | #undef HAVE_KRB5_H |
524 | #undef HAVE_HEIMDAL | |
525 | ||
526 | ||
527 | /* | |
528 | * Default GSS service name... | |
529 | */ | |
530 | ||
531 | #define CUPS_DEFAULT_GSSSERVICENAME "" | |
532 | ||
533 | ||
534 | /* | |
535 | * Select/poll interfaces... | |
536 | */ | |
537 | ||
538 | #undef HAVE_POLL | |
539 | #undef HAVE_EPOLL | |
540 | #undef HAVE_KQUEUE | |
541 | ||
542 | ||
7594b224 | 543 | /* |
544 | * Do we have the <dlfcn.h> header? | |
545 | */ | |
546 | ||
547 | #undef HAVE_DLFCN_H | |
548 | ||
549 | ||
db1f069b MS |
550 | /* |
551 | * Do we have <sys/param.h>? | |
552 | */ | |
553 | ||
554 | #undef HAVE_SYS_PARAM_H | |
555 | ||
556 | ||
bc44d920 | 557 | /* |
558 | * Do we have <sys/ucred.h>? | |
559 | */ | |
560 | ||
561 | #undef HAVE_SYS_UCRED_H | |
562 | ||
563 | ||
cc0d019f MS |
564 | /* |
565 | * Do we have removefile()? | |
566 | */ | |
567 | ||
568 | #undef HAVE_REMOVEFILE | |
569 | ||
570 | ||
a4924f6c MS |
571 | /* |
572 | * Do we have <sandbox.h>? | |
573 | */ | |
574 | ||
575 | #undef HAVE_SANDBOX_H | |
576 | ||
577 | ||
ac884b6a MS |
578 | /* |
579 | * Which random number generator function to use... | |
580 | */ | |
581 | ||
582 | #undef HAVE_RANDOM | |
583 | #undef HAVE_MRAND48 | |
584 | #undef HAVE_LRAND48 | |
585 | ||
586 | ||
75bd9771 MS |
587 | /* |
588 | * Do we have libusb? | |
589 | */ | |
590 | ||
591 | #undef HAVE_USB_H | |
592 | ||
593 | ||
749b1e90 MS |
594 | /* |
595 | * Do we have libwrap and tcpd.h? | |
596 | */ | |
597 | ||
598 | #undef HAVE_TCPD_H | |
599 | ||
600 | ||
ef416fc2 | 601 | #endif /* !_CUPS_CONFIG_H_ */ |
602 | ||
603 | /* | |
75bd9771 | 604 | * End of "$Id: config.h.in 7687 2008-06-24 01:28:36Z mike $". |
ef416fc2 | 605 | */ |