]>
git.ipfire.org Git - thirdparty/cups.git/blob - config.h.in
2 * "$Id: config.h.in 4760 2005-10-08 20:11:08Z mike $"
4 * Configuration file for the Common UNIX Printing System (CUPS).
8 * Copyright 1997-2005 by Easy Software Products.
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
17 * Attn: CUPS Licensing Information
18 * Easy Software Products
19 * 44141 Airport View Drive, Suite 204
20 * Hollywood, Maryland 20636 USA
22 * Voice: (301) 373-9600
23 * EMail: cups-info@cups.org
24 * WWW: http://www.cups.org
27 #ifndef _CUPS_CONFIG_H_
28 #define _CUPS_CONFIG_H_
31 * Version of software...
34 #define CUPS_SVERSION ""
35 #define CUPS_MINIMAL ""
39 * Default user and group...
42 #define CUPS_DEFAULT_USER "lp"
43 #define CUPS_DEFAULT_GROUP "sys"
50 #define CUPS_DEFAULT_IPP_PORT 631
54 * Maximum number of file descriptors to support.
57 #define CUPS_MAX_FDS 4096
61 * Do we have domain socket support?
64 #undef CUPS_DEFAULT_DOMAINSOCKET
68 * Where are files stored?
70 * Note: These are defaults, which can be overridden by environment
71 * variables at run-time...
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"
87 * Do we have various image libraries?
97 * Do we have PAM stuff?
101 #define HAVE_LIBPAM 0
102 #endif /* !HAVE_LIBPAM */
104 #undef HAVE_PAM_PAM_APPL_H
108 * Do we have <shadow.h>?
115 * Do we have <crypt.h>?
122 * Use <string.h>, <strings.h>, and/or <bstring.h>?
126 #undef HAVE_STRINGS_H
127 #undef HAVE_BSTRING_H
130 * Do we have the long long type?
133 #undef HAVE_LONG_LONG
135 #ifdef HAVE_LONG_LONG
136 # define CUPS_LLFMT "%lld"
137 # define CUPS_LLCAST (long long)
139 # define CUPS_LLFMT "%ld"
140 # define CUPS_LLCAST (long)
141 #endif /* HAVE_LONG_LONG */
144 * Do we have the strtoll() function?
150 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
151 #endif /* !HAVE_STRTOLL */
154 * Do we have the strXXX() functions?
158 #undef HAVE_STRCASECMP
159 #undef HAVE_STRNCASECMP
165 * Do we have the geteuid() function?
172 * Do we have the vsyslog() function?
179 * Do we have the (v)snprintf() functions?
183 #undef HAVE_VSNPRINTF
187 * What signal functions to use?
191 #undef HAVE_SIGACTION
195 * What wait functions to use?
203 * Do we have the mallinfo function and malloc.h?
211 * Do we have the langinfo.h header file?
214 #undef HAVE_LANGINFO_H
218 * Which encryption libraries do we have?
228 * Do we have the OpenSLP library?
235 * Do we have libpaper?
242 * Do we have <sys/ioctl.h>?
245 #undef HAVE_SYS_IOCTL_H
249 * Do we have mkstemp() and/or mkstemps()?
257 * Does the "tm" structure contain the "tm_gmtoff" member?
260 #undef HAVE_TM_GMTOFF
264 * Do we have rresvport_af()?
267 #undef HAVE_RRESVPORT_AF
271 * Do we have getaddrinfo()?
274 #undef HAVE_GETADDRINFO
278 * Do we have getnameinfo()?
281 #undef HAVE_GETNAMEINFO
285 * Do we have getifaddrs()?
288 #undef HAVE_GETIFADDRS
292 * Do we have hstrerror()?
295 #undef HAVE_HSTRERROR
299 * Do we have the <sys/sockio.h> header file?
302 #undef HAVE_SYS_SOCKIO_H
306 * Does the sockaddr structure contain an sa_len parameter?
309 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
313 * Do we have the AIX usersec.h header file?
316 #undef HAVE_USERSEC_H
319 * Do we have pthread support?
322 #undef HAVE_PTHREAD_H
326 * Various scripting languages...
330 #define CUPS_JAVA "/usr/bin/java"
332 #define CUPS_PERL "/usr/bin/perl"
334 #define CUPS_PHP "/usr/bin/php"
336 #define CUPS_PYTHON "/usr/bin/python"
339 #endif /* !_CUPS_CONFIG_H_ */
342 * End of "$Id: config.h.in 4760 2005-10-08 20:11:08Z mike $".