]>
git.ipfire.org Git - thirdparty/cups.git/blob - config.h.in
4 * Configuration file for the Common UNIX Printing System (CUPS).
8 * Copyright 1997-2006 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 groups...
42 #define CUPS_DEFAULT_USER "lp"
43 #define CUPS_DEFAULT_GROUP "sys"
44 #define CUPS_DEFAULT_SYSTEM_GROUPS "sys root system"
48 * Default file permissions...
51 #define CUPS_DEFAULT_CONFIG_FILE_PERM 0640
52 #define CUPS_DEFAULT_LOG_FILE_PERM 0644
56 * Default browsing settings...
59 #define CUPS_DEFAULT_BROWSING 1
60 #define CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS "CUPS"
61 #define CUPS_DEFAULT_BROWSE_REMOTE_PROTOCOLS "CUPS"
62 #define CUPS_DEFAULT_BROWSE_SHORT_NAMES 1
63 #define CUPS_DEFAULT_DEFAULT_SHARED 1
64 #define CUPS_DEFAULT_IMPLICIT_CLASSES 1
71 #define CUPS_DEFAULT_IPP_PORT 631
75 * Maximum number of file descriptors to support.
78 #define CUPS_MAX_FDS 4096
82 * Do we have domain socket support?
85 #undef CUPS_DEFAULT_DOMAINSOCKET
89 * Where are files stored?
91 * Note: These are defaults, which can be overridden by environment
92 * variables at run-time...
95 #define CUPS_BINDIR "/usr/bin"
96 #define CUPS_CACHEDIR "/var/cache/cups"
97 #define CUPS_DATADIR "/usr/share/cups"
98 #define CUPS_DOCROOT "/usr/share/doc/cups"
99 #define CUPS_FONTPATH "/usr/share/cups/fonts"
100 #define CUPS_LOCALEDIR "/usr/share/locale"
101 #define CUPS_LOGDIR "/var/logs/cups"
102 #define CUPS_REQUESTS "/var/spool/cups"
103 #define CUPS_SBINDIR "/usr/sbin"
104 #define CUPS_SERVERBIN "/usr/lib/cups"
105 #define CUPS_SERVERROOT "/etc/cups"
106 #define CUPS_STATEDIR "/var/run/cups"
110 * Do we have various image libraries?
120 * Do we have PAM stuff?
124 #define HAVE_LIBPAM 0
125 #endif /* !HAVE_LIBPAM */
127 #undef HAVE_PAM_PAM_APPL_H
131 * Do we have <shadow.h>?
138 * Do we have <crypt.h>?
145 * Use <string.h>, <strings.h>, and/or <bstring.h>?
149 #undef HAVE_STRINGS_H
150 #undef HAVE_BSTRING_H
153 * Do we have the long long type?
156 #undef HAVE_LONG_LONG
158 #ifdef HAVE_LONG_LONG
159 # define CUPS_LLFMT "%lld"
160 # define CUPS_LLCAST (long long)
162 # define CUPS_LLFMT "%ld"
163 # define CUPS_LLCAST (long)
164 #endif /* HAVE_LONG_LONG */
167 * Do we have the strtoll() function?
173 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
174 #endif /* !HAVE_STRTOLL */
177 * Do we have the strXXX() functions?
181 #undef HAVE_STRCASECMP
182 #undef HAVE_STRNCASECMP
188 * Do we have the geteuid() function?
195 * Do we have the vsyslog() function?
202 * Do we have the (v)snprintf() functions?
206 #undef HAVE_VSNPRINTF
210 * What signal functions to use?
214 #undef HAVE_SIGACTION
218 * What wait functions to use?
226 * Do we have the mallinfo function and malloc.h?
234 * Do we have the POSIX ACL functions?
241 * Do we have the langinfo.h header file?
244 #undef HAVE_LANGINFO_H
248 * Which encryption libraries do we have?
258 * Do we have the OpenSLP library?
265 * Do we have libpaper?
272 * Do we have <sys/ioctl.h>?
275 #undef HAVE_SYS_IOCTL_H
279 * Do we have mkstemp() and/or mkstemps()?
287 * Does the "tm" structure contain the "tm_gmtoff" member?
290 #undef HAVE_TM_GMTOFF
294 * Do we have rresvport_af()?
297 #undef HAVE_RRESVPORT_AF
301 * Do we have getaddrinfo()?
304 #undef HAVE_GETADDRINFO
308 * Do we have getnameinfo()?
311 #undef HAVE_GETNAMEINFO
315 * Do we have getifaddrs()?
318 #undef HAVE_GETIFADDRS
322 * Do we have hstrerror()?
325 #undef HAVE_HSTRERROR
329 * Do we have the <sys/sockio.h> header file?
332 #undef HAVE_SYS_SOCKIO_H
336 * Does the sockaddr structure contain an sa_len parameter?
339 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
343 * Do we have the AIX usersec.h header file?
346 #undef HAVE_USERSEC_H
349 * Do we have pthread support?
352 #undef HAVE_PTHREAD_H
356 * Do we have launchd support?
361 #define CUPS_DEFAULT_LAUNCHD_CONF ""
365 * Various scripting languages...
369 #define CUPS_JAVA "/usr/bin/java"
371 #define CUPS_PERL "/usr/bin/perl"
373 #define CUPS_PHP "/usr/bin/php"
375 #define CUPS_PYTHON "/usr/bin/python"
379 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
382 #undef HAVE_COREFOUNDATION
383 #undef HAVE_SYSTEMCONFIGURATION
387 * Do we have CoreFoundation public and private headers?
390 #undef HAVE_COREFOUNDATION_H
392 #undef HAVE_CFBUNDLEPRIV_H
396 * Do we have MacOSX 10.4's mbr_XXX functions()?
399 #undef HAVE_MEMBERSHIP_H
400 #undef HAVE_MEMBERSHIPPRIV_H
401 #undef HAVE_MBR_UID_TO_UUID
405 * Do we have Darwin's notify_post() header and function?
409 #undef HAVE_NOTIFY_POST
412 #endif /* !_CUPS_CONFIG_H_ */