]> git.ipfire.org Git - thirdparty/cups.git/blob - config.h.in
Load cups into easysw/current.
[thirdparty/cups.git] / config.h.in
1 /*
2 * "$Id: config.h.in 5028 2006-01-31 01:16:43Z mike $"
3 *
4 * Configuration file for the Common UNIX Printing System (CUPS).
5 *
6 * @configure_input@
7 *
8 * Copyright 1997-2006 by Easy Software Products.
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
19 * 44141 Airport View Drive, Suite 204
20 * Hollywood, Maryland 20636 USA
21 *
22 * Voice: (301) 373-9600
23 * EMail: cups-info@cups.org
24 * WWW: http://www.cups.org
25 */
26
27 #ifndef _CUPS_CONFIG_H_
28 #define _CUPS_CONFIG_H_
29
30 /*
31 * Version of software...
32 */
33
34 #define CUPS_SVERSION ""
35 #define CUPS_MINIMAL ""
36
37
38 /*
39 * Default user and groups...
40 */
41
42 #define CUPS_DEFAULT_USER "lp"
43 #define CUPS_DEFAULT_GROUP "sys"
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
65 #define CUPS_DEFAULT_USE_NETWORK_DEFAULT 1
66
67
68 /*
69 * Default IPP port...
70 */
71
72 #define CUPS_DEFAULT_IPP_PORT 631
73
74
75 /*
76 * Maximum number of file descriptors to support.
77 */
78
79 #define CUPS_MAX_FDS 4096
80
81
82 /*
83 * Do we have domain socket support?
84 */
85
86 #undef CUPS_DEFAULT_DOMAINSOCKET
87
88
89 /*
90 * Where are files stored?
91 *
92 * Note: These are defaults, which can be overridden by environment
93 * variables at run-time...
94 */
95
96 #define CUPS_BINDIR "/usr/bin"
97 #define CUPS_CACHEDIR "/var/cache/cups"
98 #define CUPS_DATADIR "/usr/share/cups"
99 #define CUPS_DOCROOT "/usr/share/doc/cups"
100 #define CUPS_FONTPATH "/usr/share/cups/fonts"
101 #define CUPS_LOCALEDIR "/usr/share/locale"
102 #define CUPS_LOGDIR "/var/logs/cups"
103 #define CUPS_REQUESTS "/var/spool/cups"
104 #define CUPS_SBINDIR "/usr/sbin"
105 #define CUPS_SERVERBIN "/usr/lib/cups"
106 #define CUPS_SERVERROOT "/etc/cups"
107 #define CUPS_STATEDIR "/var/run/cups"
108
109
110 /*
111 * Do we have various image libraries?
112 */
113
114 #undef HAVE_LIBPNG
115 #undef HAVE_LIBZ
116 #undef HAVE_LIBJPEG
117 #undef HAVE_LIBTIFF
118
119
120 /*
121 * Do we have PAM stuff?
122 */
123
124 #ifndef HAVE_LIBPAM
125 #define HAVE_LIBPAM 0
126 #endif /* !HAVE_LIBPAM */
127
128 #undef HAVE_PAM_PAM_APPL_H
129
130
131 /*
132 * Do we have <shadow.h>?
133 */
134
135 #undef HAVE_SHADOW_H
136
137
138 /*
139 * Do we have <crypt.h>?
140 */
141
142 #undef HAVE_CRYPT_H
143
144
145 /*
146 * Use <string.h>, <strings.h>, and/or <bstring.h>?
147 */
148
149 #undef HAVE_STRING_H
150 #undef HAVE_STRINGS_H
151 #undef HAVE_BSTRING_H
152
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 */
176
177 /*
178 * Do we have the strXXX() functions?
179 */
180
181 #undef HAVE_STRDUP
182 #undef HAVE_STRCASECMP
183 #undef HAVE_STRNCASECMP
184 #undef HAVE_STRLCAT
185 #undef HAVE_STRLCPY
186
187
188 /*
189 * Do we have the geteuid() function?
190 */
191
192 #undef HAVE_GETEUID
193
194
195 /*
196 * Do we have the vsyslog() function?
197 */
198
199 #undef HAVE_VSYSLOG
200
201
202 /*
203 * Do we have the (v)snprintf() functions?
204 */
205
206 #undef HAVE_SNPRINTF
207 #undef HAVE_VSNPRINTF
208
209
210 /*
211 * What signal functions to use?
212 */
213
214 #undef HAVE_SIGSET
215 #undef HAVE_SIGACTION
216
217
218 /*
219 * What wait functions to use?
220 */
221
222 #undef HAVE_WAITPID
223 #undef HAVE_WAIT3
224
225
226 /*
227 * Do we have the mallinfo function and malloc.h?
228 */
229
230 #undef HAVE_MALLINFO
231 #undef HAVE_MALLOC_H
232
233
234 /*
235 * Do we have the POSIX ACL functions?
236 */
237
238 #undef HAVE_ACL_INIT
239
240
241 /*
242 * Do we have the langinfo.h header file?
243 */
244
245 #undef HAVE_LANGINFO_H
246
247
248 /*
249 * Which encryption libraries do we have?
250 */
251
252 #undef HAVE_CDSASSL
253 #undef HAVE_GNUTLS
254 #undef HAVE_LIBSSL
255 #undef HAVE_SSL
256
257
258 /*
259 * Do we have the OpenSLP library?
260 */
261
262 #undef HAVE_LIBSLP
263
264
265 /*
266 * Do we have libpaper?
267 */
268
269 #undef HAVE_LIBPAPER
270
271
272 /*
273 * Do we have <sys/ioctl.h>?
274 */
275
276 #undef HAVE_SYS_IOCTL_H
277
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
294 /*
295 * Do we have rresvport_af()?
296 */
297
298 #undef HAVE_RRESVPORT_AF
299
300
301 /*
302 * Do we have getaddrinfo()?
303 */
304
305 #undef HAVE_GETADDRINFO
306
307
308 /*
309 * Do we have getnameinfo()?
310 */
311
312 #undef HAVE_GETNAMEINFO
313
314
315 /*
316 * Do we have getifaddrs()?
317 */
318
319 #undef HAVE_GETIFADDRS
320
321
322 /*
323 * Do we have hstrerror()?
324 */
325
326 #undef HAVE_HSTRERROR
327
328
329 /*
330 * Do we have the <sys/sockio.h> header file?
331 */
332
333 #undef HAVE_SYS_SOCKIO_H
334
335
336 /*
337 * Does the sockaddr structure contain an sa_len parameter?
338 */
339
340 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
341
342
343 /*
344 * Do we have the AIX usersec.h header file?
345 */
346
347 #undef HAVE_USERSEC_H
348
349 /*
350 * Do we have pthread support?
351 */
352
353 #undef HAVE_PTHREAD_H
354
355
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
365 /*
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
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
401 #undef HAVE_MEMBERSHIPPRIV_H
402 #undef HAVE_MBR_UID_TO_UUID
403
404
405 /*
406 * Do we have Darwin's notify_post() header and function?
407 */
408
409 #undef HAVE_NOTIFY_H
410 #undef HAVE_NOTIFY_POST
411
412
413 /*
414 * Do we have DBUS?
415 */
416
417 #undef HAVE_DBUS
418
419
420 #endif /* !_CUPS_CONFIG_H_ */
421
422 /*
423 * End of "$Id: config.h.in 5028 2006-01-31 01:16:43Z mike $".
424 */