]>
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 | |
5bd8a9fa | 65 | #define CUPS_DEFAULT_USE_NETWORK_DEFAULT 1 |
753453e4 | 66 | |
67 | ||
1d9595ab | 68 | /* |
69 | * Default IPP port... | |
70 | */ | |
71 | ||
72 | #define CUPS_DEFAULT_IPP_PORT 631 | |
73 | ||
74 | ||
a351bcb0 | 75 | /* |
76 | * Maximum number of file descriptors to support. | |
77 | */ | |
78 | ||
79 | #define CUPS_MAX_FDS 4096 | |
80 | ||
81 | ||
c6075312 | 82 | /* |
83 | * Do we have domain socket support? | |
84 | */ | |
85 | ||
c94f4aa9 | 86 | #undef CUPS_DEFAULT_DOMAINSOCKET |
c6075312 | 87 | |
88 | ||
a810d5d8 | 89 | /* |
90 | * Where are files stored? | |
f2bc527f | 91 | * |
92 | * Note: These are defaults, which can be overridden by environment | |
93 | * variables at run-time... | |
a810d5d8 | 94 | */ |
95 | ||
1f732f97 | 96 | #define CUPS_BINDIR "/usr/bin" |
f2bc527f | 97 | #define CUPS_CACHEDIR "/var/cache/cups" |
98 | #define CUPS_DATADIR "/usr/share/cups" | |
aff2356d | 99 | #define CUPS_DOCROOT "/usr/share/doc/cups" |
f2bc527f | 100 | #define CUPS_FONTPATH "/usr/share/cups/fonts" |
101 | #define CUPS_LOCALEDIR "/usr/share/locale" | |
102 | #define CUPS_LOGDIR "/var/logs/cups" | |
bd84e0d1 | 103 | #define CUPS_REQUESTS "/var/spool/cups" |
1f732f97 | 104 | #define CUPS_SBINDIR "/usr/sbin" |
f2bc527f | 105 | #define CUPS_SERVERBIN "/usr/lib/cups" |
106 | #define CUPS_SERVERROOT "/etc/cups" | |
d4102150 | 107 | #define CUPS_STATEDIR "/var/run/cups" |
bd84e0d1 | 108 | |
753453e4 | 109 | |
3a57cba8 | 110 | /* |
111 | * Do we have various image libraries? | |
112 | */ | |
113 | ||
a810d5d8 | 114 | #undef HAVE_LIBPNG |
115 | #undef HAVE_LIBZ | |
116 | #undef HAVE_LIBJPEG | |
117 | #undef HAVE_LIBTIFF | |
3a57cba8 | 118 | |
753453e4 | 119 | |
8e3eb75d | 120 | /* |
121 | * Do we have PAM stuff? | |
122 | */ | |
123 | ||
124 | #ifndef HAVE_LIBPAM | |
125 | #define HAVE_LIBPAM 0 | |
126 | #endif /* !HAVE_LIBPAM */ | |
127 | ||
ed6078a4 | 128 | #undef HAVE_PAM_PAM_APPL_H |
129 | ||
753453e4 | 130 | |
3a57cba8 | 131 | /* |
132 | * Do we have <shadow.h>? | |
133 | */ | |
134 | ||
a810d5d8 | 135 | #undef HAVE_SHADOW_H |
3a57cba8 | 136 | |
753453e4 | 137 | |
ba8a42d9 | 138 | /* |
139 | * Do we have <crypt.h>? | |
140 | */ | |
141 | ||
142 | #undef HAVE_CRYPT_H | |
143 | ||
753453e4 | 144 | |
b5cb0608 | 145 | /* |
7ed5d5f2 | 146 | * Use <string.h>, <strings.h>, and/or <bstring.h>? |
b5cb0608 | 147 | */ |
148 | ||
149 | #undef HAVE_STRING_H | |
150 | #undef HAVE_STRINGS_H | |
7ed5d5f2 | 151 | #undef HAVE_BSTRING_H |
b5cb0608 | 152 | |
1479646d | 153 | /* |
154 | * Do we have the long long type? | |
155 | */ | |
156 | ||
157 | #undef HAVE_LONG_LONG | |
158 | ||
159 | #ifdef HAVE_LONG_LONG | |
160 | # define CUPS_LLFMT "%lld" | |
161 | # define CUPS_LLCAST (long long) | |
162 | #else | |
163 | # define CUPS_LLFMT "%ld" | |
164 | # define CUPS_LLCAST (long) | |
165 | #endif /* HAVE_LONG_LONG */ | |
166 | ||
167 | /* | |
168 | * Do we have the strtoll() function? | |
169 | */ | |
170 | ||
171 | #undef HAVE_STRTOLL | |
172 | ||
173 | #ifndef HAVE_STRTOLL | |
174 | # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base)) | |
175 | #endif /* !HAVE_STRTOLL */ | |
753453e4 | 176 | |
3a57cba8 | 177 | /* |
178 | * Do we have the strXXX() functions? | |
179 | */ | |
180 | ||
a810d5d8 | 181 | #undef HAVE_STRDUP |
182 | #undef HAVE_STRCASECMP | |
183 | #undef HAVE_STRNCASECMP | |
def978d5 | 184 | #undef HAVE_STRLCAT |
185 | #undef HAVE_STRLCPY | |
3a57cba8 | 186 | |
753453e4 | 187 | |
6bb5a528 | 188 | /* |
189 | * Do we have the geteuid() function? | |
190 | */ | |
191 | ||
192 | #undef HAVE_GETEUID | |
193 | ||
194 | ||
8a2c2126 | 195 | /* |
196 | * Do we have the vsyslog() function? | |
197 | */ | |
198 | ||
199 | #undef HAVE_VSYSLOG | |
200 | ||
753453e4 | 201 | |
ac9bff36 | 202 | /* |
203 | * Do we have the (v)snprintf() functions? | |
204 | */ | |
205 | ||
206 | #undef HAVE_SNPRINTF | |
207 | #undef HAVE_VSNPRINTF | |
208 | ||
753453e4 | 209 | |
3a57cba8 | 210 | /* |
5fba2863 | 211 | * What signal functions to use? |
212 | */ | |
213 | ||
214 | #undef HAVE_SIGSET | |
215 | #undef HAVE_SIGACTION | |
216 | ||
753453e4 | 217 | |
5fba2863 | 218 | /* |
219 | * What wait functions to use? | |
220 | */ | |
221 | ||
222 | #undef HAVE_WAITPID | |
223 | #undef HAVE_WAIT3 | |
224 | ||
753453e4 | 225 | |
5fba2863 | 226 | /* |
2bdd1992 | 227 | * Do we have the mallinfo function and malloc.h? |
8c57ced1 | 228 | */ |
229 | ||
2bdd1992 | 230 | #undef HAVE_MALLINFO |
8c57ced1 | 231 | #undef HAVE_MALLOC_H |
232 | ||
753453e4 | 233 | |
5c6b3ae4 | 234 | /* |
235 | * Do we have the POSIX ACL functions? | |
236 | */ | |
237 | ||
238 | #undef HAVE_ACL_INIT | |
239 | ||
240 | ||
9e55d0dc | 241 | /* |
242 | * Do we have the langinfo.h header file? | |
243 | */ | |
244 | ||
245 | #undef HAVE_LANGINFO_H | |
246 | ||
247 | ||
8c57ced1 | 248 | /* |
8dc749d9 | 249 | * Which encryption libraries do we have? |
e2ff7d86 | 250 | */ |
251 | ||
dcfcaeac | 252 | #undef HAVE_CDSASSL |
bcf61448 | 253 | #undef HAVE_GNUTLS |
dcfcaeac | 254 | #undef HAVE_LIBSSL |
255 | #undef HAVE_SSL | |
e2ff7d86 | 256 | |
753453e4 | 257 | |
258 | /* | |
259 | * Do we have the OpenSLP library? | |
260 | */ | |
261 | ||
262 | #undef HAVE_LIBSLP | |
263 | ||
264 | ||
b4f2ed46 | 265 | /* |
266 | * Do we have libpaper? | |
267 | */ | |
268 | ||
269 | #undef HAVE_LIBPAPER | |
270 | ||
271 | ||
957d43b0 | 272 | /* |
273 | * Do we have <sys/ioctl.h>? | |
274 | */ | |
275 | ||
276 | #undef HAVE_SYS_IOCTL_H | |
e2ff7d86 | 277 | |
753453e4 | 278 | |
279 | /* | |
280 | * Do we have mkstemp() and/or mkstemps()? | |
281 | */ | |
282 | ||
283 | #undef HAVE_MKSTEMP | |
284 | #undef HAVE_MKSTEMPS | |
285 | ||
286 | ||
287 | /* | |
288 | * Does the "tm" structure contain the "tm_gmtoff" member? | |
289 | */ | |
290 | ||
291 | #undef HAVE_TM_GMTOFF | |
292 | ||
293 | ||
e2ff7d86 | 294 | /* |
7c298ddc | 295 | * Do we have rresvport_af()? |
296 | */ | |
297 | ||
298 | #undef HAVE_RRESVPORT_AF | |
299 | ||
300 | ||
301 | /* | |
302 | * Do we have getaddrinfo()? | |
c3026ddc | 303 | */ |
304 | ||
7c298ddc | 305 | #undef HAVE_GETADDRINFO |
c3026ddc | 306 | |
307 | ||
c94f4aa9 | 308 | /* |
309 | * Do we have getnameinfo()? | |
310 | */ | |
311 | ||
312 | #undef HAVE_GETNAMEINFO | |
313 | ||
314 | ||
c3026ddc | 315 | /* |
211b4298 | 316 | * Do we have getifaddrs()? |
317 | */ | |
318 | ||
319 | #undef HAVE_GETIFADDRS | |
320 | ||
321 | ||
dfb69f7a | 322 | /* |
323 | * Do we have hstrerror()? | |
324 | */ | |
325 | ||
326 | #undef HAVE_HSTRERROR | |
327 | ||
328 | ||
042931ba | 329 | /* |
330 | * Do we have the <sys/sockio.h> header file? | |
331 | */ | |
332 | ||
333 | #undef HAVE_SYS_SOCKIO_H | |
334 | ||
335 | ||
211b4298 | 336 | /* |
337 | * Does the sockaddr structure contain an sa_len parameter? | |
338 | */ | |
339 | ||
340 | #undef HAVE_STRUCT_SOCKADDR_SA_LEN | |
341 | ||
342 | ||
0f1aeca7 | 343 | /* |
344 | * Do we have the AIX usersec.h header file? | |
345 | */ | |
346 | ||
347 | #undef HAVE_USERSEC_H | |
348 | ||
03f61bf3 | 349 | /* |
350 | * Do we have pthread support? | |
351 | */ | |
352 | ||
353 | #undef HAVE_PTHREAD_H | |
354 | ||
0f1aeca7 | 355 | |
5db6985b | 356 | /* |
357 | * Do we have launchd support? | |
358 | */ | |
359 | ||
360 | #undef HAVE_LAUNCH_H | |
361 | #undef HAVE_LAUNCHD | |
362 | #define CUPS_DEFAULT_LAUNCHD_CONF "" | |
363 | ||
364 | ||
211b4298 | 365 | /* |
3721af07 | 366 | * Various scripting languages... |
367 | */ | |
368 | ||
369 | #undef HAVE_JAVA | |
370 | #define CUPS_JAVA "/usr/bin/java" | |
371 | #undef HAVE_PERL | |
372 | #define CUPS_PERL "/usr/bin/perl" | |
373 | #undef HAVE_PHP | |
374 | #define CUPS_PHP "/usr/bin/php" | |
375 | #undef HAVE_PYTHON | |
376 | #define CUPS_PYTHON "/usr/bin/python" | |
377 | ||
378 | ||
42f22b2f | 379 | /* |
380 | * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks? | |
381 | */ | |
382 | ||
383 | #undef HAVE_COREFOUNDATION | |
384 | #undef HAVE_SYSTEMCONFIGURATION | |
385 | ||
386 | ||
387 | /* | |
388 | * Do we have CoreFoundation public and private headers? | |
389 | */ | |
390 | ||
391 | #undef HAVE_COREFOUNDATION_H | |
392 | #undef HAVE_CFPRIV_H | |
393 | #undef HAVE_CFBUNDLEPRIV_H | |
394 | ||
395 | ||
396 | /* | |
397 | * Do we have MacOSX 10.4's mbr_XXX functions()? | |
398 | */ | |
399 | ||
400 | #undef HAVE_MEMBERSHIP_H | |
42f22b2f | 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 | ||
b9af0be2 | 412 | /* |
413 | * Do we have DBUS? | |
414 | */ | |
415 | ||
416 | #undef HAVE_DBUS | |
417 | ||
418 | ||
2d417cb3 | 419 | #endif /* !_CUPS_CONFIG_H_ */ |
420 | ||
3721af07 | 421 | /* |
c9d3f842 | 422 | * End of "$Id$". |
3a57cba8 | 423 | */ |