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