]> git.ipfire.org Git - thirdparty/cups.git/blame - config.h.in
Load cups into easysw/current.
[thirdparty/cups.git] / config.h.in
CommitLineData
ef416fc2 1/*
f7faf1f5 2 * "$Id: config.h.in 5630 2006-06-05 18:42:53Z 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
ed486911 263/*
264 * Do we have <Security/SecBasePriv.h>?
265 */
266
267#undef HAVE_SECBASEPRIV_H
268
269
ef416fc2 270/*
b423cd4c 271 * Do we have the SLP library?
ef416fc2 272 */
273
274#undef HAVE_LIBSLP
275
276
b423cd4c 277/*
278 * Do we have an LDAP library?
279 */
280
281#undef HAVE_LDAP
282#undef HAVE_OPENLDAP
283
284
ef416fc2 285/*
286 * Do we have libpaper?
287 */
288
289#undef HAVE_LIBPAPER
290
291
292/*
293 * Do we have <sys/ioctl.h>?
294 */
295
296#undef HAVE_SYS_IOCTL_H
297
298
299/*
300 * Do we have mkstemp() and/or mkstemps()?
301 */
302
303#undef HAVE_MKSTEMP
304#undef HAVE_MKSTEMPS
305
306
307/*
308 * Does the "tm" structure contain the "tm_gmtoff" member?
309 */
310
311#undef HAVE_TM_GMTOFF
312
313
314/*
315 * Do we have rresvport_af()?
316 */
317
318#undef HAVE_RRESVPORT_AF
319
320
321/*
322 * Do we have getaddrinfo()?
323 */
324
325#undef HAVE_GETADDRINFO
326
327
328/*
329 * Do we have getnameinfo()?
330 */
331
332#undef HAVE_GETNAMEINFO
333
334
335/*
336 * Do we have getifaddrs()?
337 */
338
339#undef HAVE_GETIFADDRS
340
341
342/*
343 * Do we have hstrerror()?
344 */
345
346#undef HAVE_HSTRERROR
347
348
349/*
350 * Do we have the <sys/sockio.h> header file?
351 */
352
353#undef HAVE_SYS_SOCKIO_H
354
355
356/*
357 * Does the sockaddr structure contain an sa_len parameter?
358 */
359
360#undef HAVE_STRUCT_SOCKADDR_SA_LEN
361
362
363/*
364 * Do we have the AIX usersec.h header file?
365 */
366
367#undef HAVE_USERSEC_H
368
369/*
370 * Do we have pthread support?
371 */
372
373#undef HAVE_PTHREAD_H
374
375
a4d04587 376/*
377 * Do we have launchd support?
378 */
379
380#undef HAVE_LAUNCH_H
381#undef HAVE_LAUNCHD
382#define CUPS_DEFAULT_LAUNCHD_CONF ""
383
384
ef416fc2 385/*
386 * Various scripting languages...
387 */
388
389#undef HAVE_JAVA
390#define CUPS_JAVA "/usr/bin/java"
391#undef HAVE_PERL
392#define CUPS_PERL "/usr/bin/perl"
393#undef HAVE_PHP
394#define CUPS_PHP "/usr/bin/php"
395#undef HAVE_PYTHON
396#define CUPS_PYTHON "/usr/bin/python"
397
398
fa73b229 399/*
400 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
401 */
402
403#undef HAVE_COREFOUNDATION
404#undef HAVE_SYSTEMCONFIGURATION
405
406
407/*
408 * Do we have CoreFoundation public and private headers?
409 */
410
411#undef HAVE_COREFOUNDATION_H
412#undef HAVE_CFPRIV_H
413#undef HAVE_CFBUNDLEPRIV_H
414
415
416/*
417 * Do we have MacOSX 10.4's mbr_XXX functions()?
418 */
419
420#undef HAVE_MEMBERSHIP_H
fa73b229 421#undef HAVE_MBR_UID_TO_UUID
422
423
424/*
425 * Do we have Darwin's notify_post() header and function?
426 */
427
428#undef HAVE_NOTIFY_H
429#undef HAVE_NOTIFY_POST
430
431
e00b005a 432/*
433 * Do we have DBUS?
434 */
435
436#undef HAVE_DBUS
437
438
a74454a7 439/*
440 * Do we have the AppleTalk/at_proto.h header?
441 */
442
443#undef HAVE_APPLETALK_AT_PROTO_H
444
445
ef416fc2 446#endif /* !_CUPS_CONFIG_H_ */
447
448/*
f7faf1f5 449 * End of "$Id: config.h.in 5630 2006-06-05 18:42:53Z mike $".
ef416fc2 450 */