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