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