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