]> git.ipfire.org Git - thirdparty/cups.git/blob - vcnet/config.h
Load cups into easysw/current.
[thirdparty/cups.git] / vcnet / config.h
1 /*
2 * "$Id: config.h 4828 2005-11-11 12:53:38Z mike $"
3 *
4 * Configuration file for the Common UNIX Printing System (CUPS).
5 *
6 * Copyright 1997-2005 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 * Compiler stuff...
30 */
31
32 #undef const
33 #undef __CHAR_UNSIGNED__
34
35
36 /*
37 * Version of software...
38 */
39
40 #define CUPS_SVERSION "CUPS v1.2svn"
41 #define CUPS_MINIMAL "CUPS/1.2svn"
42
43
44 /*
45 * Default user and group...
46 */
47
48 #define CUPS_DEFAULT_USER "lp"
49 #define CUPS_DEFAULT_GROUP "sys"
50
51
52 /*
53 * Default IPP port...
54 */
55
56 #define CUPS_DEFAULT_IPP_PORT 631
57
58
59 /*
60 * Maximum number of file descriptors to support.
61 */
62
63 #define CUPS_MAX_FDS 4096
64
65
66 /*
67 * Do we have domain socket support?
68 */
69
70 #undef CUPS_DEFAULT_DOMAINSOCKET
71
72
73 /*
74 * Where are files stored?
75 *
76 * Note: These are defaults, which can be overridden by environment
77 * variables at run-time...
78 */
79
80 #define CUPS_CACHEDIR "C:/CUPS/cache"
81 #define CUPS_DATADIR "C:/CUPS/share"
82 #define CUPS_DOCROOT "C:/CUPS/share/doc"
83 #define CUPS_FONTPATH "C:/CUPS/share/fonts"
84 #define CUPS_LOCALEDIR "C:/CUPS/locale"
85 #define CUPS_LOGDIR "C:/CUPS/logs"
86 #define CUPS_REQUESTS "C:/CUPS/spool"
87 #define CUPS_SERVERBIN "C:/CUPS/lib"
88 #define CUPS_SERVERROOT "C:/CUPS/etc"
89 #define CUPS_STATEDIR "C:/CUPS/run"
90
91
92 /*
93 * Do we have various image libraries?
94 */
95
96 #undef HAVE_LIBPNG
97 #undef HAVE_LIBZ
98 #undef HAVE_LIBJPEG
99 #undef HAVE_LIBTIFF
100
101
102 /*
103 * Do we have PAM stuff?
104 */
105
106 #ifndef HAVE_LIBPAM
107 #define HAVE_LIBPAM 0
108 #endif /* !HAVE_LIBPAM */
109
110 #undef HAVE_PAM_PAM_APPL_H
111
112
113 /*
114 * Do we have <shadow.h>?
115 */
116
117 #undef HAVE_SHADOW_H
118
119
120 /*
121 * Do we have <crypt.h>?
122 */
123
124 #undef HAVE_CRYPT_H
125
126
127 /*
128 * Use <string.h>, <strings.h>, and/or <bstring.h>?
129 */
130
131 #define HAVE_STRING_H
132 #undef HAVE_STRINGS_H
133 #undef HAVE_BSTRING_H
134
135
136 /*
137 * Do we have the long long type?
138 */
139
140 #undef HAVE_LONG_LONG
141
142 #ifdef HAVE_LONG_LONG
143 # define CUPS_LLFMT "%lld"
144 # define CUPS_LLCAST (long long)
145 #else
146 # define CUPS_LLFMT "%ld"
147 # define CUPS_LLCAST (long)
148 #endif /* HAVE_LONG_LONG */
149
150
151 /*
152 * Do we have the strtoll() function?
153 */
154
155 #undef HAVE_STRTOLL
156
157 #ifndef HAVE_STRTOLL
158 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
159 #endif /* !HAVE_STRTOLL */
160
161
162 /*
163 * Do we have the strXXX() functions?
164 */
165
166 #define HAVE_STRDUP
167 #define HAVE_STRCASECMP
168 #define HAVE_STRNCASECMP
169 #undef HAVE_STRLCAT
170 #undef HAVE_STRLCPY
171
172
173 /*
174 * Do we have the geteuid() function?
175 */
176
177 #undef HAVE_GETEUID
178
179
180 /*
181 * Do we have the vsyslog() function?
182 */
183
184 #undef HAVE_VSYSLOG
185
186
187 /*
188 * Do we have the (v)snprintf() functions?
189 */
190
191 #undef HAVE_SNPRINTF
192 #undef HAVE_VSNPRINTF
193
194
195 /*
196 * What signal functions to use?
197 */
198
199 #undef HAVE_SIGSET
200 #undef HAVE_SIGACTION
201
202
203 /*
204 * What wait functions to use?
205 */
206
207 #undef HAVE_WAITPID
208 #undef HAVE_WAIT3
209
210
211 /*
212 * Do we have the mallinfo function and malloc.h?
213 */
214
215 #undef HAVE_MALLINFO
216 #undef HAVE_MALLOC_H
217
218
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 #define HAVE_GETADDRINFO
284
285
286 /*
287 * Do we have getnameinfo()?
288 */
289
290 #define 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
348 #endif /* !_CUPS_CONFIG_H_ */
349
350 /*
351 * End of "$Id: config.h 4828 2005-11-11 12:53:38Z mike $".
352 */