]>
git.ipfire.org Git - thirdparty/cups.git/blob - config.h.in
672f39b37442b6174a81b11d30769d33a30db4a0
2 * "$Id: config.h.in 181 2006-06-22 20:01:18Z jlovell $"
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 * Default printcap file...
77 #define CUPS_DEFAULT_PRINTCAP "/etc/printcap"
81 * Maximum number of file descriptors to support.
84 #define CUPS_MAX_FDS 4096
88 * Do we have domain socket support?
91 #undef CUPS_DEFAULT_DOMAINSOCKET
95 * Where are files stored?
97 * Note: These are defaults, which can be overridden by environment
98 * variables at run-time...
101 #define CUPS_BINDIR "/usr/bin"
102 #define CUPS_CACHEDIR "/var/cache/cups"
103 #define CUPS_DATADIR "/usr/share/cups"
104 #define CUPS_DOCROOT "/usr/share/doc/cups"
105 #define CUPS_FONTPATH "/usr/share/cups/fonts"
106 #define CUPS_LOCALEDIR "/usr/share/locale"
107 #define CUPS_LOGDIR "/var/logs/cups"
108 #define CUPS_REQUESTS "/var/spool/cups"
109 #define CUPS_SBINDIR "/usr/sbin"
110 #define CUPS_SERVERBIN "/usr/lib/cups"
111 #define CUPS_SERVERROOT "/etc/cups"
112 #define CUPS_STATEDIR "/var/run/cups"
116 * Do we have various image libraries?
126 * Do we have PAM stuff?
130 #define HAVE_LIBPAM 0
131 #endif /* !HAVE_LIBPAM */
133 #undef HAVE_PAM_PAM_APPL_H
137 * Do we have <shadow.h>?
144 * Do we have <crypt.h>?
151 * Use <string.h>, <strings.h>, and/or <bstring.h>?
155 #undef HAVE_STRINGS_H
156 #undef HAVE_BSTRING_H
159 * Do we have the long long type?
162 #undef HAVE_LONG_LONG
164 #ifdef HAVE_LONG_LONG
165 # define CUPS_LLFMT "%lld"
166 # define CUPS_LLCAST (long long)
168 # define CUPS_LLFMT "%ld"
169 # define CUPS_LLCAST (long)
170 #endif /* HAVE_LONG_LONG */
173 * Do we have the strtoll() function?
179 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
180 #endif /* !HAVE_STRTOLL */
183 * Do we have the strXXX() functions?
187 #undef HAVE_STRCASECMP
188 #undef HAVE_STRNCASECMP
194 * Do we have the geteuid() function?
201 * Do we have the vsyslog() function?
208 * Do we have the (v)snprintf() functions?
212 #undef HAVE_VSNPRINTF
216 * What signal functions to use?
220 #undef HAVE_SIGACTION
224 * What wait functions to use?
232 * Do we have the mallinfo function and malloc.h?
240 * Do we have the POSIX ACL functions?
247 * Do we have the langinfo.h header file?
250 #undef HAVE_LANGINFO_H
254 * Which encryption libraries do we have?
264 * Do we have <Security/SecBasePriv.h>?
267 #undef HAVE_SECBASEPRIV_H
271 * Do we have the SLP library?
278 * Do we have an LDAP library?
286 * Do we have libpaper?
293 * Do we have <sys/ioctl.h>?
296 #undef HAVE_SYS_IOCTL_H
300 * Do we have mkstemp() and/or mkstemps()?
308 * Does the "tm" structure contain the "tm_gmtoff" member?
311 #undef HAVE_TM_GMTOFF
315 * Do we have rresvport_af()?
318 #undef HAVE_RRESVPORT_AF
322 * Do we have getaddrinfo()?
325 #undef HAVE_GETADDRINFO
329 * Do we have getnameinfo()?
332 #undef HAVE_GETNAMEINFO
336 * Do we have getifaddrs()?
339 #undef HAVE_GETIFADDRS
343 * Do we have hstrerror()?
346 #undef HAVE_HSTRERROR
350 * Do we have the <sys/sockio.h> header file?
353 #undef HAVE_SYS_SOCKIO_H
357 * Does the sockaddr structure contain an sa_len parameter?
360 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
364 * Do we have the AIX usersec.h header file?
367 #undef HAVE_USERSEC_H
370 * Do we have pthread support?
373 #undef HAVE_PTHREAD_H
377 * Do we have launchd support?
382 #define CUPS_DEFAULT_LAUNCHD_CONF ""
386 * Various scripting languages...
390 #define CUPS_JAVA "/usr/bin/java"
392 #define CUPS_PERL "/usr/bin/perl"
394 #define CUPS_PHP "/usr/bin/php"
396 #define CUPS_PYTHON "/usr/bin/python"
400 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
403 #undef HAVE_COREFOUNDATION
404 #undef HAVE_SYSTEMCONFIGURATION
408 * Do we have CoreFoundation public and private headers?
411 #undef HAVE_COREFOUNDATION_H
413 #undef HAVE_CFBUNDLEPRIV_H
417 * Do we have MacOSX 10.4's mbr_XXX functions()?
420 #undef HAVE_MEMBERSHIP_H
421 #undef HAVE_MBR_UID_TO_UUID
425 * Do we have Darwin's notify_post() header and function?
429 #undef HAVE_NOTIFY_POST
440 * Do we have the AppleTalk/at_proto.h header?
443 #undef HAVE_APPLETALK_AT_PROTO_H
446 #endif /* !_CUPS_CONFIG_H_ */
449 * End of "$Id: config.h.in 181 2006-06-22 20:01:18Z jlovell $".