]> git.ipfire.org Git - thirdparty/cups.git/blame - config.h.in
Finish up cups-driverd and fix some bugs.
[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
8a32fc08 86/*
87 * What is the format string for strftime?
88 */
89
90#define CUPS_STRFTIME_FORMAT NULL
a810d5d8 91
753453e4 92
3a57cba8 93/*
94 * Do we have various image libraries?
95 */
96
a810d5d8 97#undef HAVE_LIBPNG
98#undef HAVE_LIBZ
99#undef HAVE_LIBJPEG
100#undef HAVE_LIBTIFF
3a57cba8 101
753453e4 102
3a57cba8 103/*
104 * Which directory functions and headers do we use?
105 */
106
a810d5d8 107#undef HAVE_DIRENT_H
108#undef HAVE_SYS_DIR_H
109#undef HAVE_SYS_NDIR_H
110#undef HAVE_NDIR_H
3a57cba8 111
753453e4 112
8e3eb75d 113/*
114 * Do we have PAM stuff?
115 */
116
117#ifndef HAVE_LIBPAM
118#define HAVE_LIBPAM 0
119#endif /* !HAVE_LIBPAM */
120
ed6078a4 121#undef HAVE_PAM_PAM_APPL_H
122
753453e4 123
3a57cba8 124/*
125 * Do we have <shadow.h>?
126 */
127
a810d5d8 128#undef HAVE_SHADOW_H
3a57cba8 129
753453e4 130
ba8a42d9 131/*
132 * Do we have <crypt.h>?
133 */
134
135#undef HAVE_CRYPT_H
136
753453e4 137
b5cb0608 138/*
7ed5d5f2 139 * Use <string.h>, <strings.h>, and/or <bstring.h>?
b5cb0608 140 */
141
142#undef HAVE_STRING_H
143#undef HAVE_STRINGS_H
7ed5d5f2 144#undef HAVE_BSTRING_H
b5cb0608 145
753453e4 146
3a57cba8 147/*
148 * Do we have the strXXX() functions?
149 */
150
a810d5d8 151#undef HAVE_STRDUP
152#undef HAVE_STRCASECMP
153#undef HAVE_STRNCASECMP
def978d5 154#undef HAVE_STRLCAT
155#undef HAVE_STRLCPY
3a57cba8 156
753453e4 157
6bb5a528 158/*
159 * Do we have the geteuid() function?
160 */
161
162#undef HAVE_GETEUID
163
164
8a2c2126 165/*
166 * Do we have the vsyslog() function?
167 */
168
169#undef HAVE_VSYSLOG
170
753453e4 171
ac9bff36 172/*
173 * Do we have the (v)snprintf() functions?
174 */
175
176#undef HAVE_SNPRINTF
177#undef HAVE_VSNPRINTF
178
753453e4 179
3a57cba8 180/*
5fba2863 181 * What signal functions to use?
182 */
183
184#undef HAVE_SIGSET
185#undef HAVE_SIGACTION
186
753453e4 187
5fba2863 188/*
189 * What wait functions to use?
190 */
191
192#undef HAVE_WAITPID
193#undef HAVE_WAIT3
194
753453e4 195
5fba2863 196/*
2bdd1992 197 * Do we have the mallinfo function and malloc.h?
8c57ced1 198 */
199
2bdd1992 200#undef HAVE_MALLINFO
8c57ced1 201#undef HAVE_MALLOC_H
202
753453e4 203
9e55d0dc 204/*
205 * Do we have the langinfo.h header file?
206 */
207
208#undef HAVE_LANGINFO_H
209
210
8c57ced1 211/*
8dc749d9 212 * Which encryption libraries do we have?
e2ff7d86 213 */
214
dcfcaeac 215#undef HAVE_CDSASSL
bcf61448 216#undef HAVE_GNUTLS
dcfcaeac 217#undef HAVE_LIBSSL
218#undef HAVE_SSL
e2ff7d86 219
753453e4 220
221/*
222 * Do we have the OpenSLP library?
223 */
224
225#undef HAVE_LIBSLP
226
227
b4f2ed46 228/*
229 * Do we have libpaper?
230 */
231
232#undef HAVE_LIBPAPER
233
234
957d43b0 235/*
236 * Do we have <sys/ioctl.h>?
237 */
238
239#undef HAVE_SYS_IOCTL_H
e2ff7d86 240
753453e4 241
242/*
243 * Do we have mkstemp() and/or mkstemps()?
244 */
245
246#undef HAVE_MKSTEMP
247#undef HAVE_MKSTEMPS
248
249
250/*
251 * Does the "tm" structure contain the "tm_gmtoff" member?
252 */
253
254#undef HAVE_TM_GMTOFF
255
256
e2ff7d86 257/*
c3026ddc 258 * Do we have rresvport()?
259 */
260
261#undef HAVE_RRESVPORT
262
263
264/*
211b4298 265 * Do we have getifaddrs()?
266 */
267
268#undef HAVE_GETIFADDRS
269
270
dfb69f7a 271/*
272 * Do we have hstrerror()?
273 */
274
275#undef HAVE_HSTRERROR
276
277
042931ba 278/*
279 * Do we have the <sys/sockio.h> header file?
280 */
281
282#undef HAVE_SYS_SOCKIO_H
283
284
211b4298 285/*
286 * Does the sockaddr structure contain an sa_len parameter?
287 */
288
289#undef HAVE_STRUCT_SOCKADDR_SA_LEN
290
291
0f1aeca7 292/*
293 * Do we have the AIX usersec.h header file?
294 */
295
296#undef HAVE_USERSEC_H
297
298
211b4298 299/*
3721af07 300 * Various scripting languages...
301 */
302
303#undef HAVE_JAVA
304#define CUPS_JAVA "/usr/bin/java"
305#undef HAVE_PERL
306#define CUPS_PERL "/usr/bin/perl"
307#undef HAVE_PHP
308#define CUPS_PHP "/usr/bin/php"
309#undef HAVE_PYTHON
310#define CUPS_PYTHON "/usr/bin/python"
311
312
2d417cb3 313#endif /* !_CUPS_CONFIG_H_ */
314
3721af07 315/*
c9d3f842 316 * End of "$Id$".
3a57cba8 317 */