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