]>
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
65 #define CUPS_DEFAULT_USE_NETWORK_DEFAULT 1
72 #define CUPS_DEFAULT_IPP_PORT 631
76 * Maximum number of file descriptors to support.
79 #define CUPS_MAX_FDS 4096
83 * Do we have domain socket support?
86 #undef CUPS_DEFAULT_DOMAINSOCKET
90 * Where are files stored?
92 * Note: These are defaults, which can be overridden by environment
93 * variables at run-time...
96 #define CUPS_BINDIR "/usr/bin"
97 #define CUPS_CACHEDIR "/var/cache/cups"
98 #define CUPS_DATADIR "/usr/share/cups"
99 #define CUPS_DOCROOT "/usr/share/doc/cups"
100 #define CUPS_FONTPATH "/usr/share/cups/fonts"
101 #define CUPS_LOCALEDIR "/usr/share/locale"
102 #define CUPS_LOGDIR "/var/logs/cups"
103 #define CUPS_REQUESTS "/var/spool/cups"
104 #define CUPS_SBINDIR "/usr/sbin"
105 #define CUPS_SERVERBIN "/usr/lib/cups"
106 #define CUPS_SERVERROOT "/etc/cups"
107 #define CUPS_STATEDIR "/var/run/cups"
111 * Do we have various image libraries?
121 * Do we have PAM stuff?
125 #define HAVE_LIBPAM 0
126 #endif /* !HAVE_LIBPAM */
128 #undef HAVE_PAM_PAM_APPL_H
132 * Do we have <shadow.h>?
139 * Do we have <crypt.h>?
146 * Use <string.h>, <strings.h>, and/or <bstring.h>?
150 #undef HAVE_STRINGS_H
151 #undef HAVE_BSTRING_H
154 * Do we have the long long type?
157 #undef HAVE_LONG_LONG
159 #ifdef HAVE_LONG_LONG
160 # define CUPS_LLFMT "%lld"
161 # define CUPS_LLCAST (long long)
163 # define CUPS_LLFMT "%ld"
164 # define CUPS_LLCAST (long)
165 #endif /* HAVE_LONG_LONG */
168 * Do we have the strtoll() function?
174 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
175 #endif /* !HAVE_STRTOLL */
178 * Do we have the strXXX() functions?
182 #undef HAVE_STRCASECMP
183 #undef HAVE_STRNCASECMP
189 * Do we have the geteuid() function?
196 * Do we have the vsyslog() function?
203 * Do we have the (v)snprintf() functions?
207 #undef HAVE_VSNPRINTF
211 * What signal functions to use?
215 #undef HAVE_SIGACTION
219 * What wait functions to use?
227 * Do we have the mallinfo function and malloc.h?
235 * Do we have the POSIX ACL functions?
242 * Do we have the langinfo.h header file?
245 #undef HAVE_LANGINFO_H
249 * Which encryption libraries do we have?
259 * Do we have the OpenSLP library?
266 * Do we have libpaper?
273 * Do we have <sys/ioctl.h>?
276 #undef HAVE_SYS_IOCTL_H
280 * Do we have mkstemp() and/or mkstemps()?
288 * Does the "tm" structure contain the "tm_gmtoff" member?
291 #undef HAVE_TM_GMTOFF
295 * Do we have rresvport_af()?
298 #undef HAVE_RRESVPORT_AF
302 * Do we have getaddrinfo()?
305 #undef HAVE_GETADDRINFO
309 * Do we have getnameinfo()?
312 #undef HAVE_GETNAMEINFO
316 * Do we have getifaddrs()?
319 #undef HAVE_GETIFADDRS
323 * Do we have hstrerror()?
326 #undef HAVE_HSTRERROR
330 * Do we have the <sys/sockio.h> header file?
333 #undef HAVE_SYS_SOCKIO_H
337 * Does the sockaddr structure contain an sa_len parameter?
340 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
344 * Do we have the AIX usersec.h header file?
347 #undef HAVE_USERSEC_H
350 * Do we have pthread support?
353 #undef HAVE_PTHREAD_H
357 * Do we have launchd support?
362 #define CUPS_DEFAULT_LAUNCHD_CONF ""
366 * Various scripting languages...
370 #define CUPS_JAVA "/usr/bin/java"
372 #define CUPS_PERL "/usr/bin/perl"
374 #define CUPS_PHP "/usr/bin/php"
376 #define CUPS_PYTHON "/usr/bin/python"
380 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
383 #undef HAVE_COREFOUNDATION
384 #undef HAVE_SYSTEMCONFIGURATION
388 * Do we have CoreFoundation public and private headers?
391 #undef HAVE_COREFOUNDATION_H
393 #undef HAVE_CFBUNDLEPRIV_H
397 * Do we have MacOSX 10.4's mbr_XXX functions()?
400 #undef HAVE_MEMBERSHIP_H
401 #undef HAVE_MEMBERSHIPPRIV_H
402 #undef HAVE_MBR_UID_TO_UUID
406 * Do we have Darwin's notify_post() header and function?
410 #undef HAVE_NOTIFY_POST
420 #endif /* !_CUPS_CONFIG_H_ */