]> 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 6238 2007-02-06 16:04:25Z mike $"
3 *
4 * Configuration file for the Common UNIX Printing System (CUPS).
5 *
6 * Copyright 1997-2007 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 * What Security framework headers do we have?
272 */
273
274 #undef HAVE_SECPOLICY_H
275 #undef HAVE_SECPOLICYPRIV_H
276 #undef HAVE_SECBASEPRIV_H
277 #undef HAVE_SECIDENTITYSEARCHPRIV_H
278
279
280 /*
281 * Do we have the SecIdentitySearchCreateWithPolicy function?
282 */
283
284 #undef HAVE_SECIDENTITYSEARCHCREATEWITHPOLICY
285
286
287 /*
288 * Do we have the SLP library?
289 */
290
291 #undef HAVE_LIBSLP
292
293
294 /*
295 * Do we have an LDAP library?
296 */
297
298 #undef HAVE_LDAP
299 #undef HAVE_OPENLDAP
300
301
302 /*
303 * Do we have libpaper?
304 */
305
306 #undef HAVE_LIBPAPER
307
308
309 /*
310 * Do we have <sys/ioctl.h>?
311 */
312
313 #undef HAVE_SYS_IOCTL_H
314
315
316 /*
317 * Do we have mkstemp() and/or mkstemps()?
318 */
319
320 #undef HAVE_MKSTEMP
321 #undef HAVE_MKSTEMPS
322
323
324 /*
325 * Does the "tm" structure contain the "tm_gmtoff" member?
326 */
327
328 #undef HAVE_TM_GMTOFF
329
330
331 /*
332 * Do we have rresvport_af()?
333 */
334
335 #undef HAVE_RRESVPORT_AF
336
337
338 /*
339 * Do we have getaddrinfo()?
340 */
341
342 #undef HAVE_GETADDRINFO
343
344
345 /*
346 * Do we have getnameinfo()?
347 */
348
349 #undef HAVE_GETNAMEINFO
350
351
352 /*
353 * Do we have getifaddrs()?
354 */
355
356 #undef HAVE_GETIFADDRS
357
358
359 /*
360 * Do we have hstrerror()?
361 */
362
363 #undef HAVE_HSTRERROR
364
365
366 /*
367 * Do we have the <sys/sockio.h> header file?
368 */
369
370 #undef HAVE_SYS_SOCKIO_H
371
372
373 /*
374 * Does the sockaddr structure contain an sa_len parameter?
375 */
376
377 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
378
379
380 /*
381 * Do we have the AIX usersec.h header file?
382 */
383
384 #undef HAVE_USERSEC_H
385
386 /*
387 * Do we have pthread support?
388 */
389
390 #undef HAVE_PTHREAD_H
391
392
393 /*
394 * Do we have launchd support?
395 */
396
397 #undef HAVE_LAUNCH_H
398 #undef HAVE_LAUNCHD
399 #define CUPS_DEFAULT_LAUNCHD_CONF ""
400
401
402 /*
403 * Various scripting languages...
404 */
405
406 #undef HAVE_JAVA
407 #define CUPS_JAVA "/usr/bin/java"
408 #undef HAVE_PERL
409 #define CUPS_PERL "/usr/bin/perl"
410 #undef HAVE_PHP
411 #define CUPS_PHP "/usr/bin/php"
412 #undef HAVE_PYTHON
413 #define CUPS_PYTHON "/usr/bin/python"
414
415
416 /*
417 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
418 */
419
420 #undef HAVE_COREFOUNDATION
421 #undef HAVE_SYSTEMCONFIGURATION
422
423
424 /*
425 * Do we have CoreFoundation public and private headers?
426 */
427
428 #undef HAVE_COREFOUNDATION_H
429 #undef HAVE_CFPRIV_H
430 #undef HAVE_CFBUNDLEPRIV_H
431
432
433 /*
434 * Do we have CFLocaleCreateCanonicalLocaleIdentifierFromString()?
435 */
436
437 #undef HAVE_CF_LOCALE_ID
438
439
440 /*
441 * Do we have MacOSX 10.4's mbr_XXX functions()?
442 */
443
444 #undef HAVE_MEMBERSHIP_H
445 #undef HAVE_MBR_UID_TO_UUID
446
447
448 /*
449 * Do we have Darwin's notify_post() header and function?
450 */
451
452 #undef HAVE_NOTIFY_H
453 #undef HAVE_NOTIFY_POST
454
455
456 /*
457 * Do we have DBUS?
458 */
459
460 #undef HAVE_DBUS
461 #undef HAVE_DBUS_MESSAGE_ITER_INIT_APPEND
462
463
464 /*
465 * Do we have the AppleTalk/at_proto.h header?
466 */
467
468 #undef HAVE_APPLETALK_AT_PROTO_H
469
470
471 #endif /* !_CUPS_CONFIG_H_ */
472
473 /*
474 * End of "$Id: config.h.in 6238 2007-02-06 16:04:25Z mike $".
475 */