]>
git.ipfire.org Git - thirdparty/cups.git/blob - config.h.in
20fe8ce70ed49ee1f011b5458fbda2b4a5a4a375
2 * "$Id: config.h.in 6370 2007-03-20 14:36:12Z mike $"
4 * Configuration file for the Common UNIX Printing System (CUPS).
6 * Copyright 1997-2007 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 * Default MaxCopies value...
84 #define CUPS_DEFAULT_MAX_COPIES 100
88 * Maximum number of file descriptors to support.
91 #define CUPS_MAX_FDS 4096
95 * Do we have domain socket support?
98 #undef CUPS_DEFAULT_DOMAINSOCKET
102 * Where are files stored?
104 * Note: These are defaults, which can be overridden by environment
105 * variables at run-time...
108 #define CUPS_BINDIR "/usr/bin"
109 #define CUPS_CACHEDIR "/var/cache/cups"
110 #define CUPS_DATADIR "/usr/share/cups"
111 #define CUPS_DOCROOT "/usr/share/doc/cups"
112 #define CUPS_FONTPATH "/usr/share/cups/fonts"
113 #define CUPS_LOCALEDIR "/usr/share/locale"
114 #define CUPS_LOGDIR "/var/logs/cups"
115 #define CUPS_REQUESTS "/var/spool/cups"
116 #define CUPS_SBINDIR "/usr/sbin"
117 #define CUPS_SERVERBIN "/usr/lib/cups"
118 #define CUPS_SERVERROOT "/etc/cups"
119 #define CUPS_STATEDIR "/var/run/cups"
123 * Do we have various image libraries?
133 * Do we have PAM stuff?
137 #define HAVE_LIBPAM 0
138 #endif /* !HAVE_LIBPAM */
140 #undef HAVE_PAM_PAM_APPL_H
144 * Do we have <shadow.h>?
151 * Do we have <crypt.h>?
158 * Do we have <scsi/sg.h>?
161 #undef HAVE_SCSI_SG_H
165 * Use <string.h>, <strings.h>, and/or <bstring.h>?
169 #undef HAVE_STRINGS_H
170 #undef HAVE_BSTRING_H
173 * Do we have the long long type?
176 #undef HAVE_LONG_LONG
178 #ifdef HAVE_LONG_LONG
179 # define CUPS_LLFMT "%lld"
180 # define CUPS_LLCAST (long long)
182 # define CUPS_LLFMT "%ld"
183 # define CUPS_LLCAST (long)
184 #endif /* HAVE_LONG_LONG */
187 * Do we have the strtoll() function?
193 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
194 #endif /* !HAVE_STRTOLL */
197 * Do we have the strXXX() functions?
201 #undef HAVE_STRCASECMP
202 #undef HAVE_STRNCASECMP
208 * Do we have the geteuid() function?
215 * Do we have the vsyslog() function?
222 * Do we have the (v)snprintf() functions?
226 #undef HAVE_VSNPRINTF
230 * What signal functions to use?
234 #undef HAVE_SIGACTION
238 * What wait functions to use?
246 * Do we have the mallinfo function and malloc.h?
254 * Do we have the POSIX ACL functions?
261 * Do we have the langinfo.h header file?
264 #undef HAVE_LANGINFO_H
268 * Which encryption libraries do we have?
278 * What Security framework headers do we have?
281 #undef HAVE_AUTHORIZATION_H
282 #undef HAVE_SECPOLICY_H
283 #undef HAVE_SECPOLICYPRIV_H
284 #undef HAVE_SECBASEPRIV_H
285 #undef HAVE_SECIDENTITYSEARCHPRIV_H
289 * Do we have the SecIdentitySearchCreateWithPolicy function?
292 #undef HAVE_SECIDENTITYSEARCHCREATEWITHPOLICY
296 * Do we have the SLP library?
303 * Do we have an LDAP library?
311 * Do we have libpaper?
318 * Do we have DNS Service Discovery (aka Bonjour)?
325 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
328 #undef HAVE_COREFOUNDATION
329 #undef HAVE_SYSTEMCONFIGURATION
333 * Do we have <sys/ioctl.h>?
336 #undef HAVE_SYS_IOCTL_H
340 * Do we have mkstemp() and/or mkstemps()?
348 * Does the "tm" structure contain the "tm_gmtoff" member?
351 #undef HAVE_TM_GMTOFF
355 * Do we have rresvport_af()?
358 #undef HAVE_RRESVPORT_AF
362 * Do we have getaddrinfo()?
365 #undef HAVE_GETADDRINFO
369 * Do we have getnameinfo()?
372 #undef HAVE_GETNAMEINFO
376 * Do we have getifaddrs()?
379 #undef HAVE_GETIFADDRS
383 * Do we have hstrerror()?
386 #undef HAVE_HSTRERROR
390 * Do we have the <sys/sockio.h> header file?
393 #undef HAVE_SYS_SOCKIO_H
397 * Does the sockaddr structure contain an sa_len parameter?
400 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
404 * Do we have the AIX usersec.h header file?
407 #undef HAVE_USERSEC_H
410 * Do we have pthread support?
413 #undef HAVE_PTHREAD_H
417 * Do we have launchd support?
422 #define CUPS_DEFAULT_LAUNCHD_CONF ""
426 * Various scripting languages...
430 #define CUPS_JAVA "/usr/bin/java"
432 #define CUPS_PERL "/usr/bin/perl"
434 #define CUPS_PHP "/usr/bin/php"
436 #define CUPS_PYTHON "/usr/bin/python"
440 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
443 #undef HAVE_COREFOUNDATION
444 #undef HAVE_SYSTEMCONFIGURATION
448 * Do we have CoreFoundation public and private headers?
451 #undef HAVE_COREFOUNDATION_H
453 #undef HAVE_CFBUNDLEPRIV_H
457 * Do we have CFLocaleCreateCanonicalLocaleIdentifierFromString()?
460 #undef HAVE_CF_LOCALE_ID
464 * Do we have MacOSX 10.4's mbr_XXX functions()?
467 #undef HAVE_MEMBERSHIP_H
468 #undef HAVE_MEMBERSHIPPRIV_H
469 #undef HAVE_MBR_UID_TO_UUID
473 * Do we have Darwin's notify_post() header and function?
477 #undef HAVE_NOTIFY_POST
485 #undef HAVE_DBUS_MESSAGE_ITER_INIT_APPEND
489 * Do we have the AppleTalk/at_proto.h header?
492 #undef HAVE_APPLETALK_AT_PROTO_H
496 * Do we have the GSSAPI support library (for Kerberos support)?
501 #undef HAVE_GSSAPI_GSSAPI_H
502 #undef HAVE_GSSAPI_GSSAPI_GENERIC_H
503 #undef HAVE_GSSAPI_GSSAPI_KRB5_H
504 #undef HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY
505 #undef HAVE_GSS_C_NT_HOSTBASED_SERVICE
511 * Default GSS service name...
514 #define CUPS_DEFAULT_GSSSERVICENAME ""
518 * Select/poll interfaces...
527 * Do we have the <dlfcn.h> header?
533 #endif /* !_CUPS_CONFIG_H_ */
536 * End of "$Id: config.h.in 6370 2007-03-20 14:36:12Z mike $".