]> git.ipfire.org Git - thirdparty/cups.git/blame - config.h.in
To prepare to load cups into easysw/current, perform 4 renames.
[thirdparty/cups.git] / config.h.in
CommitLineData
ef416fc2 1/*
2 * "$Id: config.h.in 4760 2005-10-08 20:11:08Z mike $"
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
74#define CUPS_CACHEDIR "/var/cache/cups"
75#define CUPS_DATADIR "/usr/share/cups"
76#define CUPS_DOCROOT "/usr/share/doc/cups"
77#define CUPS_FONTPATH "/usr/share/cups/fonts"
78#define CUPS_LOCALEDIR "/usr/share/locale"
79#define CUPS_LOGDIR "/var/logs/cups"
80#define CUPS_REQUESTS "/var/spool/cups"
81#define CUPS_SERVERBIN "/usr/lib/cups"
82#define CUPS_SERVERROOT "/etc/cups"
83#define CUPS_STATEDIR "/var/run/cups"
84
85
86/*
87 * Do we have various image libraries?
88 */
89
90#undef HAVE_LIBPNG
91#undef HAVE_LIBZ
92#undef HAVE_LIBJPEG
93#undef HAVE_LIBTIFF
94
95
96/*
97 * Do we have PAM stuff?
98 */
99
100#ifndef HAVE_LIBPAM
101#define HAVE_LIBPAM 0
102#endif /* !HAVE_LIBPAM */
103
104#undef HAVE_PAM_PAM_APPL_H
105
106
107/*
108 * Do we have <shadow.h>?
109 */
110
111#undef HAVE_SHADOW_H
112
113
114/*
115 * Do we have <crypt.h>?
116 */
117
118#undef HAVE_CRYPT_H
119
120
121/*
122 * Use <string.h>, <strings.h>, and/or <bstring.h>?
123 */
124
125#undef HAVE_STRING_H
126#undef HAVE_STRINGS_H
127#undef HAVE_BSTRING_H
128
129/*
130 * Do we have the long long type?
131 */
132
133#undef HAVE_LONG_LONG
134
135#ifdef HAVE_LONG_LONG
136# define CUPS_LLFMT "%lld"
137# define CUPS_LLCAST (long long)
138#else
139# define CUPS_LLFMT "%ld"
140# define CUPS_LLCAST (long)
141#endif /* HAVE_LONG_LONG */
142
143/*
144 * Do we have the strtoll() function?
145 */
146
147#undef HAVE_STRTOLL
148
149#ifndef HAVE_STRTOLL
150# define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
151#endif /* !HAVE_STRTOLL */
152
153/*
154 * Do we have the strXXX() functions?
155 */
156
157#undef HAVE_STRDUP
158#undef HAVE_STRCASECMP
159#undef HAVE_STRNCASECMP
160#undef HAVE_STRLCAT
161#undef HAVE_STRLCPY
162
163
164/*
165 * Do we have the geteuid() function?
166 */
167
168#undef HAVE_GETEUID
169
170
171/*
172 * Do we have the vsyslog() function?
173 */
174
175#undef HAVE_VSYSLOG
176
177
178/*
179 * Do we have the (v)snprintf() functions?
180 */
181
182#undef HAVE_SNPRINTF
183#undef HAVE_VSNPRINTF
184
185
186/*
187 * What signal functions to use?
188 */
189
190#undef HAVE_SIGSET
191#undef HAVE_SIGACTION
192
193
194/*
195 * What wait functions to use?
196 */
197
198#undef HAVE_WAITPID
199#undef HAVE_WAIT3
200
201
202/*
203 * Do we have the mallinfo function and malloc.h?
204 */
205
206#undef HAVE_MALLINFO
207#undef HAVE_MALLOC_H
208
209
210/*
211 * Do we have the langinfo.h header file?
212 */
213
214#undef HAVE_LANGINFO_H
215
216
217/*
218 * Which encryption libraries do we have?
219 */
220
221#undef HAVE_CDSASSL
222#undef HAVE_GNUTLS
223#undef HAVE_LIBSSL
224#undef HAVE_SSL
225
226
227/*
228 * Do we have the OpenSLP library?
229 */
230
231#undef HAVE_LIBSLP
232
233
234/*
235 * Do we have libpaper?
236 */
237
238#undef HAVE_LIBPAPER
239
240
241/*
242 * Do we have <sys/ioctl.h>?
243 */
244
245#undef HAVE_SYS_IOCTL_H
246
247
248/*
249 * Do we have mkstemp() and/or mkstemps()?
250 */
251
252#undef HAVE_MKSTEMP
253#undef HAVE_MKSTEMPS
254
255
256/*
257 * Does the "tm" structure contain the "tm_gmtoff" member?
258 */
259
260#undef HAVE_TM_GMTOFF
261
262
263/*
264 * Do we have rresvport_af()?
265 */
266
267#undef HAVE_RRESVPORT_AF
268
269
270/*
271 * Do we have getaddrinfo()?
272 */
273
274#undef HAVE_GETADDRINFO
275
276
277/*
278 * Do we have getnameinfo()?
279 */
280
281#undef HAVE_GETNAMEINFO
282
283
284/*
285 * Do we have getifaddrs()?
286 */
287
288#undef HAVE_GETIFADDRS
289
290
291/*
292 * Do we have hstrerror()?
293 */
294
295#undef HAVE_HSTRERROR
296
297
298/*
299 * Do we have the <sys/sockio.h> header file?
300 */
301
302#undef HAVE_SYS_SOCKIO_H
303
304
305/*
306 * Does the sockaddr structure contain an sa_len parameter?
307 */
308
309#undef HAVE_STRUCT_SOCKADDR_SA_LEN
310
311
312/*
313 * Do we have the AIX usersec.h header file?
314 */
315
316#undef HAVE_USERSEC_H
317
318/*
319 * Do we have pthread support?
320 */
321
322#undef HAVE_PTHREAD_H
323
324
325/*
326 * Various scripting languages...
327 */
328
329#undef HAVE_JAVA
330#define CUPS_JAVA "/usr/bin/java"
331#undef HAVE_PERL
332#define CUPS_PERL "/usr/bin/perl"
333#undef HAVE_PHP
334#define CUPS_PHP "/usr/bin/php"
335#undef HAVE_PYTHON
336#define CUPS_PYTHON "/usr/bin/python"
337
338
339#endif /* !_CUPS_CONFIG_H_ */
340
341/*
342 * End of "$Id: config.h.in 4760 2005-10-08 20:11:08Z mike $".
343 */