]>
Commit | Line | Data |
---|---|---|
3a57cba8 | 1 | /* |
c9d3f842 | 2 | * "$Id$" |
3a57cba8 | 3 | * |
4 | * Configuration file for the Common UNIX Printing System (CUPS). | |
5 | * | |
6 | * @configure_input@ | |
7 | * | |
6dc66910 | 8 | * Copyright 1997-2006 by Easy Software Products. |
3a57cba8 | 9 | * |
10 | * These coded instructions, statements, and computer programs are the | |
11 | * property of Easy Software Products and are protected by Federal | |
12 | * copyright law. Distribution and use rights are outlined in the file | |
13 | * "LICENSE.txt" which should have been included with this file. If this | |
14 | * file is missing or damaged please contact Easy Software Products | |
15 | * at: | |
16 | * | |
17 | * Attn: CUPS Licensing Information | |
18 | * Easy Software Products | |
c9e6a22c | 19 | * 44141 Airport View Drive, Suite 204 |
9e55d0dc | 20 | * Hollywood, Maryland 20636 USA |
3a57cba8 | 21 | * |
e338c390 | 22 | * Voice: (301) 373-9600 |
3a57cba8 | 23 | * EMail: cups-info@cups.org |
24 | * WWW: http://www.cups.org | |
25 | */ | |
26 | ||
2d417cb3 | 27 | #ifndef _CUPS_CONFIG_H_ |
28 | #define _CUPS_CONFIG_H_ | |
29 | ||
3a57cba8 | 30 | /* |
31 | * Version of software... | |
32 | */ | |
33 | ||
18dcf583 | 34 | #define CUPS_SVERSION "" |
90ad5874 | 35 | #define CUPS_MINIMAL "" |
3a57cba8 | 36 | |
753453e4 | 37 | |
38 | /* | |
6dc66910 | 39 | * Default user and groups... |
753453e4 | 40 | */ |
41 | ||
42 | #define CUPS_DEFAULT_USER "lp" | |
43 | #define CUPS_DEFAULT_GROUP "sys" | |
6dc66910 | 44 | #define CUPS_DEFAULT_SYSTEM_GROUPS "sys root system" |
45 | ||
46 | ||
47 | /* | |
48 | * Default file permissions... | |
49 | */ | |
50 | ||
51 | #define CUPS_DEFAULT_CONFIG_FILE_PERM 0640 | |
52 | #define CUPS_DEFAULT_LOG_FILE_PERM 0644 | |
53 | ||
54 | ||
55 | /* | |
56 | * Default browsing settings... | |
57 | */ | |
58 | ||
59 | #define CUPS_DEFAULT_BROWSING 1 | |
60 | #define CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS "CUPS" | |
61 | #define CUPS_DEFAULT_BROWSE_REMOTE_PROTOCOLS "CUPS" | |
62 | #define CUPS_DEFAULT_BROWSE_SHORT_NAMES 1 | |
63 | #define CUPS_DEFAULT_DEFAULT_SHARED 1 | |
64 | #define CUPS_DEFAULT_IMPLICIT_CLASSES 1 | |
753453e4 | 65 | |
66 | ||
1d9595ab | 67 | /* |
68 | * Default IPP port... | |
69 | */ | |
70 | ||
71 | #define CUPS_DEFAULT_IPP_PORT 631 | |
72 | ||
73 | ||
a351bcb0 | 74 | /* |
75 | * Maximum number of file descriptors to support. | |
76 | */ | |
77 | ||
78 | #define CUPS_MAX_FDS 4096 | |
79 | ||
80 | ||
c6075312 | 81 | /* |
82 | * Do we have domain socket support? | |
83 | */ | |
84 | ||
c94f4aa9 | 85 | #undef CUPS_DEFAULT_DOMAINSOCKET |
c6075312 | 86 | |
87 | ||
a810d5d8 | 88 | /* |
89 | * Where are files stored? | |
f2bc527f | 90 | * |
91 | * Note: These are defaults, which can be overridden by environment | |
92 | * variables at run-time... | |
a810d5d8 | 93 | */ |
94 | ||
1f732f97 | 95 | #define CUPS_BINDIR "/usr/bin" |
f2bc527f | 96 | #define CUPS_CACHEDIR "/var/cache/cups" |
97 | #define CUPS_DATADIR "/usr/share/cups" | |
aff2356d | 98 | #define CUPS_DOCROOT "/usr/share/doc/cups" |
f2bc527f | 99 | #define CUPS_FONTPATH "/usr/share/cups/fonts" |
100 | #define CUPS_LOCALEDIR "/usr/share/locale" | |
101 | #define CUPS_LOGDIR "/var/logs/cups" | |
bd84e0d1 | 102 | #define CUPS_REQUESTS "/var/spool/cups" |
1f732f97 | 103 | #define CUPS_SBINDIR "/usr/sbin" |
f2bc527f | 104 | #define CUPS_SERVERBIN "/usr/lib/cups" |
105 | #define CUPS_SERVERROOT "/etc/cups" | |
d4102150 | 106 | #define CUPS_STATEDIR "/var/run/cups" |
bd84e0d1 | 107 | |
753453e4 | 108 | |
3a57cba8 | 109 | /* |
110 | * Do we have various image libraries? | |
111 | */ | |
112 | ||
a810d5d8 | 113 | #undef HAVE_LIBPNG |
114 | #undef HAVE_LIBZ | |
115 | #undef HAVE_LIBJPEG | |
116 | #undef HAVE_LIBTIFF | |
3a57cba8 | 117 | |
753453e4 | 118 | |
8e3eb75d | 119 | /* |
120 | * Do we have PAM stuff? | |
121 | */ | |
122 | ||
123 | #ifndef HAVE_LIBPAM | |
124 | #define HAVE_LIBPAM 0 | |
125 | #endif /* !HAVE_LIBPAM */ | |
126 | ||
ed6078a4 | 127 | #undef HAVE_PAM_PAM_APPL_H |
128 | ||
753453e4 | 129 | |
3a57cba8 | 130 | /* |
131 | * Do we have <shadow.h>? | |
132 | */ | |
133 | ||
a810d5d8 | 134 | #undef HAVE_SHADOW_H |
3a57cba8 | 135 | |
753453e4 | 136 | |
ba8a42d9 | 137 | /* |
138 | * Do we have <crypt.h>? | |
139 | */ | |
140 | ||
141 | #undef HAVE_CRYPT_H | |
142 | ||
753453e4 | 143 | |
b5cb0608 | 144 | /* |
7ed5d5f2 | 145 | * Use <string.h>, <strings.h>, and/or <bstring.h>? |
b5cb0608 | 146 | */ |
147 | ||
148 | #undef HAVE_STRING_H | |
149 | #undef HAVE_STRINGS_H | |
7ed5d5f2 | 150 | #undef HAVE_BSTRING_H |
b5cb0608 | 151 | |
1479646d | 152 | /* |
153 | * Do we have the long long type? | |
154 | */ | |
155 | ||
156 | #undef HAVE_LONG_LONG | |
157 | ||
158 | #ifdef HAVE_LONG_LONG | |
159 | # define CUPS_LLFMT "%lld" | |
160 | # define CUPS_LLCAST (long long) | |
161 | #else | |
162 | # define CUPS_LLFMT "%ld" | |
163 | # define CUPS_LLCAST (long) | |
164 | #endif /* HAVE_LONG_LONG */ | |
165 | ||
166 | /* | |
167 | * Do we have the strtoll() function? | |
168 | */ | |
169 | ||
170 | #undef HAVE_STRTOLL | |
171 | ||
172 | #ifndef HAVE_STRTOLL | |
173 | # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base)) | |
174 | #endif /* !HAVE_STRTOLL */ | |
753453e4 | 175 | |
3a57cba8 | 176 | /* |
177 | * Do we have the strXXX() functions? | |
178 | */ | |
179 | ||
a810d5d8 | 180 | #undef HAVE_STRDUP |
181 | #undef HAVE_STRCASECMP | |
182 | #undef HAVE_STRNCASECMP | |
def978d5 | 183 | #undef HAVE_STRLCAT |
184 | #undef HAVE_STRLCPY | |
3a57cba8 | 185 | |
753453e4 | 186 | |
6bb5a528 | 187 | /* |
188 | * Do we have the geteuid() function? | |
189 | */ | |
190 | ||
191 | #undef HAVE_GETEUID | |
192 | ||
193 | ||
8a2c2126 | 194 | /* |
195 | * Do we have the vsyslog() function? | |
196 | */ | |
197 | ||
198 | #undef HAVE_VSYSLOG | |
199 | ||
753453e4 | 200 | |
ac9bff36 | 201 | /* |
202 | * Do we have the (v)snprintf() functions? | |
203 | */ | |
204 | ||
205 | #undef HAVE_SNPRINTF | |
206 | #undef HAVE_VSNPRINTF | |
207 | ||
753453e4 | 208 | |
3a57cba8 | 209 | /* |
5fba2863 | 210 | * What signal functions to use? |
211 | */ | |
212 | ||
213 | #undef HAVE_SIGSET | |
214 | #undef HAVE_SIGACTION | |
215 | ||
753453e4 | 216 | |
5fba2863 | 217 | /* |
218 | * What wait functions to use? | |
219 | */ | |
220 | ||
221 | #undef HAVE_WAITPID | |
222 | #undef HAVE_WAIT3 | |
223 | ||
753453e4 | 224 | |
5fba2863 | 225 | /* |
2bdd1992 | 226 | * Do we have the mallinfo function and malloc.h? |
8c57ced1 | 227 | */ |
228 | ||
2bdd1992 | 229 | #undef HAVE_MALLINFO |
8c57ced1 | 230 | #undef HAVE_MALLOC_H |
231 | ||
753453e4 | 232 | |
5c6b3ae4 | 233 | /* |
234 | * Do we have the POSIX ACL functions? | |
235 | */ | |
236 | ||
237 | #undef HAVE_ACL_INIT | |
238 | ||
239 | ||
9e55d0dc | 240 | /* |
241 | * Do we have the langinfo.h header file? | |
242 | */ | |
243 | ||
244 | #undef HAVE_LANGINFO_H | |
245 | ||
246 | ||
8c57ced1 | 247 | /* |
8dc749d9 | 248 | * Which encryption libraries do we have? |
e2ff7d86 | 249 | */ |
250 | ||
dcfcaeac | 251 | #undef HAVE_CDSASSL |
bcf61448 | 252 | #undef HAVE_GNUTLS |
dcfcaeac | 253 | #undef HAVE_LIBSSL |
254 | #undef HAVE_SSL | |
e2ff7d86 | 255 | |
753453e4 | 256 | |
257 | /* | |
258 | * Do we have the OpenSLP library? | |
259 | */ | |
260 | ||
261 | #undef HAVE_LIBSLP | |
262 | ||
263 | ||
b4f2ed46 | 264 | /* |
265 | * Do we have libpaper? | |
266 | */ | |
267 | ||
268 | #undef HAVE_LIBPAPER | |
269 | ||
270 | ||
957d43b0 | 271 | /* |
272 | * Do we have <sys/ioctl.h>? | |
273 | */ | |
274 | ||
275 | #undef HAVE_SYS_IOCTL_H | |
e2ff7d86 | 276 | |
753453e4 | 277 | |
278 | /* | |
279 | * Do we have mkstemp() and/or mkstemps()? | |
280 | */ | |
281 | ||
282 | #undef HAVE_MKSTEMP | |
283 | #undef HAVE_MKSTEMPS | |
284 | ||
285 | ||
286 | /* | |
287 | * Does the "tm" structure contain the "tm_gmtoff" member? | |
288 | */ | |
289 | ||
290 | #undef HAVE_TM_GMTOFF | |
291 | ||
292 | ||
e2ff7d86 | 293 | /* |
7c298ddc | 294 | * Do we have rresvport_af()? |
295 | */ | |
296 | ||
297 | #undef HAVE_RRESVPORT_AF | |
298 | ||
299 | ||
300 | /* | |
301 | * Do we have getaddrinfo()? | |
c3026ddc | 302 | */ |
303 | ||
7c298ddc | 304 | #undef HAVE_GETADDRINFO |
c3026ddc | 305 | |
306 | ||
c94f4aa9 | 307 | /* |
308 | * Do we have getnameinfo()? | |
309 | */ | |
310 | ||
311 | #undef HAVE_GETNAMEINFO | |
312 | ||
313 | ||
c3026ddc | 314 | /* |
211b4298 | 315 | * Do we have getifaddrs()? |
316 | */ | |
317 | ||
318 | #undef HAVE_GETIFADDRS | |
319 | ||
320 | ||
dfb69f7a | 321 | /* |
322 | * Do we have hstrerror()? | |
323 | */ | |
324 | ||
325 | #undef HAVE_HSTRERROR | |
326 | ||
327 | ||
042931ba | 328 | /* |
329 | * Do we have the <sys/sockio.h> header file? | |
330 | */ | |
331 | ||
332 | #undef HAVE_SYS_SOCKIO_H | |
333 | ||
334 | ||
211b4298 | 335 | /* |
336 | * Does the sockaddr structure contain an sa_len parameter? | |
337 | */ | |
338 | ||
339 | #undef HAVE_STRUCT_SOCKADDR_SA_LEN | |
340 | ||
341 | ||
0f1aeca7 | 342 | /* |
343 | * Do we have the AIX usersec.h header file? | |
344 | */ | |
345 | ||
346 | #undef HAVE_USERSEC_H | |
347 | ||
03f61bf3 | 348 | /* |
349 | * Do we have pthread support? | |
350 | */ | |
351 | ||
352 | #undef HAVE_PTHREAD_H | |
353 | ||
0f1aeca7 | 354 | |
5db6985b | 355 | /* |
356 | * Do we have launchd support? | |
357 | */ | |
358 | ||
359 | #undef HAVE_LAUNCH_H | |
360 | #undef HAVE_LAUNCHD | |
361 | #define CUPS_DEFAULT_LAUNCHD_CONF "" | |
362 | ||
363 | ||
211b4298 | 364 | /* |
3721af07 | 365 | * Various scripting languages... |
366 | */ | |
367 | ||
368 | #undef HAVE_JAVA | |
369 | #define CUPS_JAVA "/usr/bin/java" | |
370 | #undef HAVE_PERL | |
371 | #define CUPS_PERL "/usr/bin/perl" | |
372 | #undef HAVE_PHP | |
373 | #define CUPS_PHP "/usr/bin/php" | |
374 | #undef HAVE_PYTHON | |
375 | #define CUPS_PYTHON "/usr/bin/python" | |
376 | ||
377 | ||
42f22b2f | 378 | /* |
379 | * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks? | |
380 | */ | |
381 | ||
382 | #undef HAVE_COREFOUNDATION | |
383 | #undef HAVE_SYSTEMCONFIGURATION | |
384 | ||
385 | ||
386 | /* | |
387 | * Do we have CoreFoundation public and private headers? | |
388 | */ | |
389 | ||
390 | #undef HAVE_COREFOUNDATION_H | |
391 | #undef HAVE_CFPRIV_H | |
392 | #undef HAVE_CFBUNDLEPRIV_H | |
393 | ||
394 | ||
395 | /* | |
396 | * Do we have MacOSX 10.4's mbr_XXX functions()? | |
397 | */ | |
398 | ||
399 | #undef HAVE_MEMBERSHIP_H | |
400 | #undef HAVE_MEMBERSHIPPRIV_H | |
401 | #undef HAVE_MBR_UID_TO_UUID | |
402 | ||
403 | ||
b89216d0 | 404 | /* |
405 | * Do we have Darwin's notify_post() header and function? | |
406 | */ | |
407 | ||
408 | #undef HAVE_NOTIFY_H | |
409 | #undef HAVE_NOTIFY_POST | |
410 | ||
411 | ||
2d417cb3 | 412 | #endif /* !_CUPS_CONFIG_H_ */ |
413 | ||
3721af07 | 414 | /* |
c9d3f842 | 415 | * End of "$Id$". |
3a57cba8 | 416 | */ |