]> git.ipfire.org Git - thirdparty/cups.git/blame - config.h.in
Make CUPS API threadsafe (STR #1276), replace FILE's with
[thirdparty/cups.git] / config.h.in
CommitLineData
3a57cba8 1/*
c9d3f842 2 * "$Id$"
3a57cba8 3 *
4 * Configuration file for the Common UNIX Printing System (CUPS).
5 *
6 * @configure_input@
7 *
c9d3f842 8 * Copyright 1997-2005 by Easy Software Products.
3a57cba8 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
c9e6a22c 19 * 44141 Airport View Drive, Suite 204
9e55d0dc 20 * Hollywood, Maryland 20636 USA
3a57cba8 21 *
e338c390 22 * Voice: (301) 373-9600
3a57cba8 23 * EMail: cups-info@cups.org
24 * WWW: http://www.cups.org
25 */
26
2d417cb3 27#ifndef _CUPS_CONFIG_H_
28#define _CUPS_CONFIG_H_
29
3a57cba8 30/*
31 * Version of software...
32 */
33
18dcf583 34#define CUPS_SVERSION ""
90ad5874 35#define CUPS_MINIMAL ""
3a57cba8 36
753453e4 37
38/*
39 * Default user and group...
40 */
41
42#define CUPS_DEFAULT_USER "lp"
43#define CUPS_DEFAULT_GROUP "sys"
44
45
1d9595ab 46/*
47 * Default IPP port...
48 */
49
50#define CUPS_DEFAULT_IPP_PORT 631
51
52
a351bcb0 53/*
54 * Maximum number of file descriptors to support.
55 */
56
57#define CUPS_MAX_FDS 4096
58
59
c6075312 60/*
61 * Do we have domain socket support?
62 */
63
1fcc120e 64#define CUPS_DEFAULT_DOMAINSOCKET ""
c6075312 65
66
a810d5d8 67/*
68 * Where are files stored?
f2bc527f 69 *
70 * Note: These are defaults, which can be overridden by environment
71 * variables at run-time...
a810d5d8 72 */
73
f2bc527f 74#define CUPS_CACHEDIR "/var/cache/cups"
75#define CUPS_DATADIR "/usr/share/cups"
aff2356d 76#define CUPS_DOCROOT "/usr/share/doc/cups"
f2bc527f 77#define CUPS_FONTPATH "/usr/share/cups/fonts"
78#define CUPS_LOCALEDIR "/usr/share/locale"
79#define CUPS_LOGDIR "/var/logs/cups"
bd84e0d1 80#define CUPS_REQUESTS "/var/spool/cups"
f2bc527f 81#define CUPS_SERVERBIN "/usr/lib/cups"
82#define CUPS_SERVERROOT "/etc/cups"
d4102150 83#define CUPS_STATEDIR "/var/run/cups"
bd84e0d1 84
753453e4 85
3a57cba8 86/*
87 * Do we have various image libraries?
88 */
89
a810d5d8 90#undef HAVE_LIBPNG
91#undef HAVE_LIBZ
92#undef HAVE_LIBJPEG
93#undef HAVE_LIBTIFF
3a57cba8 94
753453e4 95
8e3eb75d 96/*
97 * Do we have PAM stuff?
98 */
99
100#ifndef HAVE_LIBPAM
101#define HAVE_LIBPAM 0
102#endif /* !HAVE_LIBPAM */
103
ed6078a4 104#undef HAVE_PAM_PAM_APPL_H
105
753453e4 106
3a57cba8 107/*
108 * Do we have <shadow.h>?
109 */
110
a810d5d8 111#undef HAVE_SHADOW_H
3a57cba8 112
753453e4 113
ba8a42d9 114/*
115 * Do we have <crypt.h>?
116 */
117
118#undef HAVE_CRYPT_H
119
753453e4 120
b5cb0608 121/*
7ed5d5f2 122 * Use <string.h>, <strings.h>, and/or <bstring.h>?
b5cb0608 123 */
124
125#undef HAVE_STRING_H
126#undef HAVE_STRINGS_H
7ed5d5f2 127#undef HAVE_BSTRING_H
b5cb0608 128
753453e4 129
3a57cba8 130/*
131 * Do we have the strXXX() functions?
132 */
133
a810d5d8 134#undef HAVE_STRDUP
135#undef HAVE_STRCASECMP
136#undef HAVE_STRNCASECMP
def978d5 137#undef HAVE_STRLCAT
138#undef HAVE_STRLCPY
3a57cba8 139
753453e4 140
6bb5a528 141/*
142 * Do we have the geteuid() function?
143 */
144
145#undef HAVE_GETEUID
146
147
8a2c2126 148/*
149 * Do we have the vsyslog() function?
150 */
151
152#undef HAVE_VSYSLOG
153
753453e4 154
ac9bff36 155/*
156 * Do we have the (v)snprintf() functions?
157 */
158
159#undef HAVE_SNPRINTF
160#undef HAVE_VSNPRINTF
161
753453e4 162
3a57cba8 163/*
5fba2863 164 * What signal functions to use?
165 */
166
167#undef HAVE_SIGSET
168#undef HAVE_SIGACTION
169
753453e4 170
5fba2863 171/*
172 * What wait functions to use?
173 */
174
175#undef HAVE_WAITPID
176#undef HAVE_WAIT3
177
753453e4 178
5fba2863 179/*
2bdd1992 180 * Do we have the mallinfo function and malloc.h?
8c57ced1 181 */
182
2bdd1992 183#undef HAVE_MALLINFO
8c57ced1 184#undef HAVE_MALLOC_H
185
753453e4 186
9e55d0dc 187/*
188 * Do we have the langinfo.h header file?
189 */
190
191#undef HAVE_LANGINFO_H
192
193
8c57ced1 194/*
8dc749d9 195 * Which encryption libraries do we have?
e2ff7d86 196 */
197
dcfcaeac 198#undef HAVE_CDSASSL
bcf61448 199#undef HAVE_GNUTLS
dcfcaeac 200#undef HAVE_LIBSSL
201#undef HAVE_SSL
e2ff7d86 202
753453e4 203
204/*
205 * Do we have the OpenSLP library?
206 */
207
208#undef HAVE_LIBSLP
209
210
b4f2ed46 211/*
212 * Do we have libpaper?
213 */
214
215#undef HAVE_LIBPAPER
216
217
957d43b0 218/*
219 * Do we have <sys/ioctl.h>?
220 */
221
222#undef HAVE_SYS_IOCTL_H
e2ff7d86 223
753453e4 224
225/*
226 * Do we have mkstemp() and/or mkstemps()?
227 */
228
229#undef HAVE_MKSTEMP
230#undef HAVE_MKSTEMPS
231
232
233/*
234 * Does the "tm" structure contain the "tm_gmtoff" member?
235 */
236
237#undef HAVE_TM_GMTOFF
238
239
e2ff7d86 240/*
7c298ddc 241 * Do we have rresvport_af()?
242 */
243
244#undef HAVE_RRESVPORT_AF
245
246
247/*
248 * Do we have getaddrinfo()?
c3026ddc 249 */
250
7c298ddc 251#undef HAVE_GETADDRINFO
c3026ddc 252
253
254/*
211b4298 255 * Do we have getifaddrs()?
256 */
257
258#undef HAVE_GETIFADDRS
259
260
dfb69f7a 261/*
262 * Do we have hstrerror()?
263 */
264
265#undef HAVE_HSTRERROR
266
267
042931ba 268/*
269 * Do we have the <sys/sockio.h> header file?
270 */
271
272#undef HAVE_SYS_SOCKIO_H
273
274
211b4298 275/*
276 * Does the sockaddr structure contain an sa_len parameter?
277 */
278
279#undef HAVE_STRUCT_SOCKADDR_SA_LEN
280
281
0f1aeca7 282/*
283 * Do we have the AIX usersec.h header file?
284 */
285
286#undef HAVE_USERSEC_H
287
03f61bf3 288/*
289 * Do we have pthread support?
290 */
291
292#undef HAVE_PTHREAD_H
293
0f1aeca7 294
211b4298 295/*
3721af07 296 * Various scripting languages...
297 */
298
299#undef HAVE_JAVA
300#define CUPS_JAVA "/usr/bin/java"
301#undef HAVE_PERL
302#define CUPS_PERL "/usr/bin/perl"
303#undef HAVE_PHP
304#define CUPS_PHP "/usr/bin/php"
305#undef HAVE_PYTHON
306#define CUPS_PYTHON "/usr/bin/python"
307
308
2d417cb3 309#endif /* !_CUPS_CONFIG_H_ */
310
3721af07 311/*
c9d3f842 312 * End of "$Id$".
3a57cba8 313 */