]>
git.ipfire.org Git - thirdparty/cups.git/blob - config.h.in
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_BINDIR "/usr/bin"
75 #define CUPS_CACHEDIR "/var/cache/cups"
76 #define CUPS_DATADIR "/usr/share/cups"
77 #define CUPS_DOCROOT "/usr/share/doc/cups"
78 #define CUPS_FONTPATH "/usr/share/cups/fonts"
79 #define CUPS_LOCALEDIR "/usr/share/locale"
80 #define CUPS_LOGDIR "/var/logs/cups"
81 #define CUPS_REQUESTS "/var/spool/cups"
82 #define CUPS_SBINDIR "/usr/sbin"
83 #define CUPS_SERVERBIN "/usr/lib/cups"
84 #define CUPS_SERVERROOT "/etc/cups"
85 #define CUPS_STATEDIR "/var/run/cups"
89 * Do we have various image libraries?
99 * Do we have PAM stuff?
103 #define HAVE_LIBPAM 0
104 #endif /* !HAVE_LIBPAM */
106 #undef HAVE_PAM_PAM_APPL_H
110 * Do we have <shadow.h>?
117 * Do we have <crypt.h>?
124 * Use <string.h>, <strings.h>, and/or <bstring.h>?
128 #undef HAVE_STRINGS_H
129 #undef HAVE_BSTRING_H
132 * Do we have the long long type?
135 #undef HAVE_LONG_LONG
137 #ifdef HAVE_LONG_LONG
138 # define CUPS_LLFMT "%lld"
139 # define CUPS_LLCAST (long long)
141 # define CUPS_LLFMT "%ld"
142 # define CUPS_LLCAST (long)
143 #endif /* HAVE_LONG_LONG */
146 * Do we have the strtoll() function?
152 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
153 #endif /* !HAVE_STRTOLL */
156 * Do we have the strXXX() functions?
160 #undef HAVE_STRCASECMP
161 #undef HAVE_STRNCASECMP
167 * Do we have the geteuid() function?
174 * Do we have the vsyslog() function?
181 * Do we have the (v)snprintf() functions?
185 #undef HAVE_VSNPRINTF
189 * What signal functions to use?
193 #undef HAVE_SIGACTION
197 * What wait functions to use?
205 * Do we have the mallinfo function and malloc.h?
213 * Do we have the POSIX ACL functions?
220 * Do we have the langinfo.h header file?
223 #undef HAVE_LANGINFO_H
227 * Which encryption libraries do we have?
237 * Do we have the OpenSLP library?
244 * Do we have libpaper?
251 * Do we have <sys/ioctl.h>?
254 #undef HAVE_SYS_IOCTL_H
258 * Do we have mkstemp() and/or mkstemps()?
266 * Does the "tm" structure contain the "tm_gmtoff" member?
269 #undef HAVE_TM_GMTOFF
273 * Do we have rresvport_af()?
276 #undef HAVE_RRESVPORT_AF
280 * Do we have getaddrinfo()?
283 #undef HAVE_GETADDRINFO
287 * Do we have getnameinfo()?
290 #undef HAVE_GETNAMEINFO
294 * Do we have getifaddrs()?
297 #undef HAVE_GETIFADDRS
301 * Do we have hstrerror()?
304 #undef HAVE_HSTRERROR
308 * Do we have the <sys/sockio.h> header file?
311 #undef HAVE_SYS_SOCKIO_H
315 * Does the sockaddr structure contain an sa_len parameter?
318 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
322 * Do we have the AIX usersec.h header file?
325 #undef HAVE_USERSEC_H
328 * Do we have pthread support?
331 #undef HAVE_PTHREAD_H
335 * Various scripting languages...
339 #define CUPS_JAVA "/usr/bin/java"
341 #define CUPS_PERL "/usr/bin/perl"
343 #define CUPS_PHP "/usr/bin/php"
345 #define CUPS_PYTHON "/usr/bin/python"
349 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
352 #undef HAVE_COREFOUNDATION
353 #undef HAVE_SYSTEMCONFIGURATION
357 * Do we have CoreFoundation public and private headers?
360 #undef HAVE_COREFOUNDATION_H
362 #undef HAVE_CFBUNDLEPRIV_H
366 * Do we have MacOSX 10.4's mbr_XXX functions()?
369 #undef HAVE_MEMBERSHIP_H
370 #undef HAVE_MEMBERSHIPPRIV_H
371 #undef HAVE_MBR_UID_TO_UUID
375 * Do we have Darwin's notify_post() header and function?
379 #undef HAVE_NOTIFY_POST
382 #endif /* !_CUPS_CONFIG_H_ */