]>
git.ipfire.org Git - thirdparty/cups.git/blob - config.h.in
2 * "$Id: config.h.in 5157 2006-02-23 20:58:57Z mike $"
4 * Configuration file for the Common UNIX Printing System (CUPS).
6 * Copyright 1997-2006 by Easy Software Products.
8 * These coded instructions, statements, and computer programs are the
9 * property of Easy Software Products and are protected by Federal
10 * copyright law. Distribution and use rights are outlined in the file
11 * "LICENSE.txt" which should have been included with this file. If this
12 * file is missing or damaged please contact Easy Software Products
15 * Attn: CUPS Licensing Information
16 * Easy Software Products
17 * 44141 Airport View Drive, Suite 204
18 * Hollywood, Maryland 20636 USA
20 * Voice: (301) 373-9600
21 * EMail: cups-info@cups.org
22 * WWW: http://www.cups.org
25 #ifndef _CUPS_CONFIG_H_
26 #define _CUPS_CONFIG_H_
29 * Version of software...
32 #define CUPS_SVERSION ""
33 #define CUPS_MINIMAL ""
37 * Default user and groups...
40 #define CUPS_DEFAULT_USER "lp"
41 #define CUPS_DEFAULT_GROUP "sys"
42 #define CUPS_DEFAULT_SYSTEM_GROUPS "sys root system"
46 * Default file permissions...
49 #define CUPS_DEFAULT_CONFIG_FILE_PERM 0640
50 #define CUPS_DEFAULT_LOG_FILE_PERM 0644
54 * Default browsing settings...
57 #define CUPS_DEFAULT_BROWSING 1
58 #define CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS "CUPS"
59 #define CUPS_DEFAULT_BROWSE_REMOTE_PROTOCOLS "CUPS"
60 #define CUPS_DEFAULT_BROWSE_SHORT_NAMES 1
61 #define CUPS_DEFAULT_DEFAULT_SHARED 1
62 #define CUPS_DEFAULT_IMPLICIT_CLASSES 1
63 #define CUPS_DEFAULT_USE_NETWORK_DEFAULT 1
70 #define CUPS_DEFAULT_IPP_PORT 631
74 * Maximum number of file descriptors to support.
77 #define CUPS_MAX_FDS 4096
81 * Do we have domain socket support?
84 #undef CUPS_DEFAULT_DOMAINSOCKET
88 * Where are files stored?
90 * Note: These are defaults, which can be overridden by environment
91 * variables at run-time...
94 #define CUPS_BINDIR "/usr/bin"
95 #define CUPS_CACHEDIR "/var/cache/cups"
96 #define CUPS_DATADIR "/usr/share/cups"
97 #define CUPS_DOCROOT "/usr/share/doc/cups"
98 #define CUPS_FONTPATH "/usr/share/cups/fonts"
99 #define CUPS_LOCALEDIR "/usr/share/locale"
100 #define CUPS_LOGDIR "/var/logs/cups"
101 #define CUPS_REQUESTS "/var/spool/cups"
102 #define CUPS_SBINDIR "/usr/sbin"
103 #define CUPS_SERVERBIN "/usr/lib/cups"
104 #define CUPS_SERVERROOT "/etc/cups"
105 #define CUPS_STATEDIR "/var/run/cups"
109 * Do we have various image libraries?
119 * Do we have PAM stuff?
123 #define HAVE_LIBPAM 0
124 #endif /* !HAVE_LIBPAM */
126 #undef HAVE_PAM_PAM_APPL_H
130 * Do we have <shadow.h>?
137 * Do we have <crypt.h>?
144 * Use <string.h>, <strings.h>, and/or <bstring.h>?
148 #undef HAVE_STRINGS_H
149 #undef HAVE_BSTRING_H
152 * Do we have the long long type?
155 #undef HAVE_LONG_LONG
157 #ifdef HAVE_LONG_LONG
158 # define CUPS_LLFMT "%lld"
159 # define CUPS_LLCAST (long long)
161 # define CUPS_LLFMT "%ld"
162 # define CUPS_LLCAST (long)
163 #endif /* HAVE_LONG_LONG */
166 * Do we have the strtoll() function?
172 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
173 #endif /* !HAVE_STRTOLL */
176 * Do we have the strXXX() functions?
180 #undef HAVE_STRCASECMP
181 #undef HAVE_STRNCASECMP
187 * Do we have the geteuid() function?
194 * Do we have the vsyslog() function?
201 * Do we have the (v)snprintf() functions?
205 #undef HAVE_VSNPRINTF
209 * What signal functions to use?
213 #undef HAVE_SIGACTION
217 * What wait functions to use?
225 * Do we have the mallinfo function and malloc.h?
233 * Do we have the POSIX ACL functions?
240 * Do we have the langinfo.h header file?
243 #undef HAVE_LANGINFO_H
247 * Which encryption libraries do we have?
257 * Do we have the SLP library?
264 * Do we have an LDAP library?
272 * Do we have libpaper?
279 * Do we have <sys/ioctl.h>?
282 #undef HAVE_SYS_IOCTL_H
286 * Do we have mkstemp() and/or mkstemps()?
294 * Does the "tm" structure contain the "tm_gmtoff" member?
297 #undef HAVE_TM_GMTOFF
301 * Do we have rresvport_af()?
304 #undef HAVE_RRESVPORT_AF
308 * Do we have getaddrinfo()?
311 #undef HAVE_GETADDRINFO
315 * Do we have getnameinfo()?
318 #undef HAVE_GETNAMEINFO
322 * Do we have getifaddrs()?
325 #undef HAVE_GETIFADDRS
329 * Do we have hstrerror()?
332 #undef HAVE_HSTRERROR
336 * Do we have the <sys/sockio.h> header file?
339 #undef HAVE_SYS_SOCKIO_H
343 * Does the sockaddr structure contain an sa_len parameter?
346 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
350 * Do we have the AIX usersec.h header file?
353 #undef HAVE_USERSEC_H
356 * Do we have pthread support?
359 #undef HAVE_PTHREAD_H
363 * Do we have launchd support?
368 #define CUPS_DEFAULT_LAUNCHD_CONF ""
372 * Various scripting languages...
376 #define CUPS_JAVA "/usr/bin/java"
378 #define CUPS_PERL "/usr/bin/perl"
380 #define CUPS_PHP "/usr/bin/php"
382 #define CUPS_PYTHON "/usr/bin/python"
386 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
389 #undef HAVE_COREFOUNDATION
390 #undef HAVE_SYSTEMCONFIGURATION
394 * Do we have CoreFoundation public and private headers?
397 #undef HAVE_COREFOUNDATION_H
399 #undef HAVE_CFBUNDLEPRIV_H
403 * Do we have MacOSX 10.4's mbr_XXX functions()?
406 #undef HAVE_MEMBERSHIP_H
407 #undef HAVE_MBR_UID_TO_UUID
411 * Do we have Darwin's notify_post() header and function?
415 #undef HAVE_NOTIFY_POST
425 #endif /* !_CUPS_CONFIG_H_ */
428 * End of "$Id: config.h.in 5157 2006-02-23 20:58:57Z mike $".