]> 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 6032 2006-10-12 19:19:47Z mike $"
3 *
4 * Configuration file for the Common UNIX Printing System (CUPS).
5 *
6 * Copyright 1997-2006 by Easy Software Products.
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 /*
37 * Default user and groups...
38 */
39
40 #define CUPS_DEFAULT_USER "lp"
41 #define CUPS_DEFAULT_GROUP "sys"
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
63 #define CUPS_DEFAULT_USE_NETWORK_DEFAULT 1
64
65
66 /*
67 * Default IPP port...
68 */
69
70 #define CUPS_DEFAULT_IPP_PORT 631
71
72
73 /*
74 * Default printcap file...
75 */
76
77 #define CUPS_DEFAULT_PRINTCAP "/etc/printcap"
78
79
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
101 #define CUPS_BINDIR "/usr/bin"
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"
109 #define CUPS_SBINDIR "/usr/sbin"
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 * Do we have <scsi/sg.h>?
152 */
153
154 #undef HAVE_SCSI_SG_H
155
156
157 /*
158 * Use <string.h>, <strings.h>, and/or <bstring.h>?
159 */
160
161 #undef HAVE_STRING_H
162 #undef HAVE_STRINGS_H
163 #undef HAVE_BSTRING_H
164
165 /*
166 * Do we have the long long type?
167 */
168
169 #undef HAVE_LONG_LONG
170
171 #ifdef HAVE_LONG_LONG
172 # define CUPS_LLFMT "%lld"
173 # define CUPS_LLCAST (long long)
174 #else
175 # define CUPS_LLFMT "%ld"
176 # define CUPS_LLCAST (long)
177 #endif /* HAVE_LONG_LONG */
178
179 /*
180 * Do we have the strtoll() function?
181 */
182
183 #undef HAVE_STRTOLL
184
185 #ifndef HAVE_STRTOLL
186 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
187 #endif /* !HAVE_STRTOLL */
188
189 /*
190 * Do we have the strXXX() functions?
191 */
192
193 #undef HAVE_STRDUP
194 #undef HAVE_STRCASECMP
195 #undef HAVE_STRNCASECMP
196 #undef HAVE_STRLCAT
197 #undef HAVE_STRLCPY
198
199
200 /*
201 * Do we have the geteuid() function?
202 */
203
204 #undef HAVE_GETEUID
205
206
207 /*
208 * Do we have the vsyslog() function?
209 */
210
211 #undef HAVE_VSYSLOG
212
213
214 /*
215 * Do we have the (v)snprintf() functions?
216 */
217
218 #undef HAVE_SNPRINTF
219 #undef HAVE_VSNPRINTF
220
221
222 /*
223 * What signal functions to use?
224 */
225
226 #undef HAVE_SIGSET
227 #undef HAVE_SIGACTION
228
229
230 /*
231 * What wait functions to use?
232 */
233
234 #undef HAVE_WAITPID
235 #undef HAVE_WAIT3
236
237
238 /*
239 * Do we have the mallinfo function and malloc.h?
240 */
241
242 #undef HAVE_MALLINFO
243 #undef HAVE_MALLOC_H
244
245
246 /*
247 * Do we have the POSIX ACL functions?
248 */
249
250 #undef HAVE_ACL_INIT
251
252
253 /*
254 * Do we have the langinfo.h header file?
255 */
256
257 #undef HAVE_LANGINFO_H
258
259
260 /*
261 * Which encryption libraries do we have?
262 */
263
264 #undef HAVE_CDSASSL
265 #undef HAVE_GNUTLS
266 #undef HAVE_LIBSSL
267 #undef HAVE_SSL
268
269
270 /*
271 * Do we have <Security/SecBasePriv.h>?
272 */
273
274 #undef HAVE_SECBASEPRIV_H
275
276
277 /*
278 * Do we have the SLP library?
279 */
280
281 #undef HAVE_LIBSLP
282
283
284 /*
285 * Do we have an LDAP library?
286 */
287
288 #undef HAVE_LDAP
289 #undef HAVE_OPENLDAP
290
291
292 /*
293 * Do we have libpaper?
294 */
295
296 #undef HAVE_LIBPAPER
297
298
299 /*
300 * Do we have <sys/ioctl.h>?
301 */
302
303 #undef HAVE_SYS_IOCTL_H
304
305
306 /*
307 * Do we have mkstemp() and/or mkstemps()?
308 */
309
310 #undef HAVE_MKSTEMP
311 #undef HAVE_MKSTEMPS
312
313
314 /*
315 * Does the "tm" structure contain the "tm_gmtoff" member?
316 */
317
318 #undef HAVE_TM_GMTOFF
319
320
321 /*
322 * Do we have rresvport_af()?
323 */
324
325 #undef HAVE_RRESVPORT_AF
326
327
328 /*
329 * Do we have getaddrinfo()?
330 */
331
332 #undef HAVE_GETADDRINFO
333
334
335 /*
336 * Do we have getnameinfo()?
337 */
338
339 #undef HAVE_GETNAMEINFO
340
341
342 /*
343 * Do we have getifaddrs()?
344 */
345
346 #undef HAVE_GETIFADDRS
347
348
349 /*
350 * Do we have hstrerror()?
351 */
352
353 #undef HAVE_HSTRERROR
354
355
356 /*
357 * Do we have the <sys/sockio.h> header file?
358 */
359
360 #undef HAVE_SYS_SOCKIO_H
361
362
363 /*
364 * Does the sockaddr structure contain an sa_len parameter?
365 */
366
367 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
368
369
370 /*
371 * Do we have the AIX usersec.h header file?
372 */
373
374 #undef HAVE_USERSEC_H
375
376 /*
377 * Do we have pthread support?
378 */
379
380 #undef HAVE_PTHREAD_H
381
382
383 /*
384 * Do we have launchd support?
385 */
386
387 #undef HAVE_LAUNCH_H
388 #undef HAVE_LAUNCHD
389 #define CUPS_DEFAULT_LAUNCHD_CONF ""
390
391
392 /*
393 * Various scripting languages...
394 */
395
396 #undef HAVE_JAVA
397 #define CUPS_JAVA "/usr/bin/java"
398 #undef HAVE_PERL
399 #define CUPS_PERL "/usr/bin/perl"
400 #undef HAVE_PHP
401 #define CUPS_PHP "/usr/bin/php"
402 #undef HAVE_PYTHON
403 #define CUPS_PYTHON "/usr/bin/python"
404
405
406 /*
407 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
408 */
409
410 #undef HAVE_COREFOUNDATION
411 #undef HAVE_SYSTEMCONFIGURATION
412
413
414 /*
415 * Do we have CoreFoundation public and private headers?
416 */
417
418 #undef HAVE_COREFOUNDATION_H
419 #undef HAVE_CFPRIV_H
420 #undef HAVE_CFBUNDLEPRIV_H
421
422
423 /*
424 * Do we have MacOSX 10.4's mbr_XXX functions()?
425 */
426
427 #undef HAVE_MEMBERSHIP_H
428 #undef HAVE_MBR_UID_TO_UUID
429
430
431 /*
432 * Do we have Darwin's notify_post() header and function?
433 */
434
435 #undef HAVE_NOTIFY_H
436 #undef HAVE_NOTIFY_POST
437
438
439 /*
440 * Do we have DBUS?
441 */
442
443 #undef HAVE_DBUS
444 #undef HAVE_DBUS_MESSAGE_ITER_INIT_APPEND
445
446
447 /*
448 * Do we have the AppleTalk/at_proto.h header?
449 */
450
451 #undef HAVE_APPLETALK_AT_PROTO_H
452
453
454 #endif /* !_CUPS_CONFIG_H_ */
455
456 /*
457 * End of "$Id: config.h.in 6032 2006-10-12 19:19:47Z mike $".
458 */