]>
git.ipfire.org Git - thirdparty/cups.git/blob - config.h.in
2 * "$Id: config.h.in 6649 2007-07-11 21:46:42Z mike $"
4 * Configuration file for the Common UNIX Printing System (CUPS).
6 * Copyright 2007 by Apple Inc.
7 * Copyright 1997-2007 by Easy Software Products.
9 * These coded instructions, statements, and computer programs are the
10 * property of Apple Inc. and are protected by Federal copyright
11 * law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 * which should have been included with this file. If this file is
13 * file is missing or damaged, see the license at "http://www.cups.org/".
16 #ifndef _CUPS_CONFIG_H_
17 #define _CUPS_CONFIG_H_
20 * Version of software...
23 #define CUPS_SVERSION ""
24 #define CUPS_MINIMAL ""
28 * Default user and groups...
31 #define CUPS_DEFAULT_USER "lp"
32 #define CUPS_DEFAULT_GROUP "sys"
33 #define CUPS_DEFAULT_SYSTEM_GROUPS "sys root system"
37 * Default file permissions...
40 #define CUPS_DEFAULT_CONFIG_FILE_PERM 0640
41 #define CUPS_DEFAULT_LOG_FILE_PERM 0644
45 * Default browsing settings...
48 #define CUPS_DEFAULT_BROWSING 1
49 #define CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS "CUPS"
50 #define CUPS_DEFAULT_BROWSE_REMOTE_PROTOCOLS "CUPS"
51 #define CUPS_DEFAULT_BROWSE_SHORT_NAMES 1
52 #define CUPS_DEFAULT_DEFAULT_SHARED 1
53 #define CUPS_DEFAULT_IMPLICIT_CLASSES 1
54 #define CUPS_DEFAULT_USE_NETWORK_DEFAULT 1
61 #define CUPS_DEFAULT_IPP_PORT 631
65 * Default printcap file...
68 #define CUPS_DEFAULT_PRINTCAP "/etc/printcap"
72 * Default MaxCopies value...
75 #define CUPS_DEFAULT_MAX_COPIES 100
79 * Maximum number of file descriptors to support.
82 #define CUPS_MAX_FDS 4096
86 * Do we have domain socket support?
89 #undef CUPS_DEFAULT_DOMAINSOCKET
93 * Where are files stored?
95 * Note: These are defaults, which can be overridden by environment
96 * variables at run-time...
99 #define CUPS_BINDIR "/usr/bin"
100 #define CUPS_CACHEDIR "/var/cache/cups"
101 #define CUPS_DATADIR "/usr/share/cups"
102 #define CUPS_DOCROOT "/usr/share/doc/cups"
103 #define CUPS_FONTPATH "/usr/share/cups/fonts"
104 #define CUPS_LOCALEDIR "/usr/share/locale"
105 #define CUPS_LOGDIR "/var/logs/cups"
106 #define CUPS_REQUESTS "/var/spool/cups"
107 #define CUPS_SBINDIR "/usr/sbin"
108 #define CUPS_SERVERBIN "/usr/lib/cups"
109 #define CUPS_SERVERROOT "/etc/cups"
110 #define CUPS_STATEDIR "/var/run/cups"
114 * Do we have various image libraries?
124 * Do we have PAM stuff?
128 #define HAVE_LIBPAM 0
129 #endif /* !HAVE_LIBPAM */
131 #undef HAVE_PAM_PAM_APPL_H
135 * Do we have <shadow.h>?
142 * Do we have <crypt.h>?
149 * Do we have <scsi/sg.h>?
152 #undef HAVE_SCSI_SG_H
156 * Use <string.h>, <strings.h>, and/or <bstring.h>?
160 #undef HAVE_STRINGS_H
161 #undef HAVE_BSTRING_H
164 * Do we have the long long type?
167 #undef HAVE_LONG_LONG
169 #ifdef HAVE_LONG_LONG
170 # define CUPS_LLFMT "%lld"
171 # define CUPS_LLCAST (long long)
173 # define CUPS_LLFMT "%ld"
174 # define CUPS_LLCAST (long)
175 #endif /* HAVE_LONG_LONG */
178 * Do we have the strtoll() function?
184 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
185 #endif /* !HAVE_STRTOLL */
188 * Do we have the strXXX() functions?
192 #undef HAVE_STRCASECMP
193 #undef HAVE_STRNCASECMP
199 * Do we have the geteuid() function?
206 * Do we have the vsyslog() function?
213 * Do we have the (v)snprintf() functions?
217 #undef HAVE_VSNPRINTF
221 * What signal functions to use?
225 #undef HAVE_SIGACTION
229 * What wait functions to use?
237 * Do we have the mallinfo function and malloc.h?
245 * Do we have the POSIX ACL functions?
252 * Do we have the langinfo.h header file?
255 #undef HAVE_LANGINFO_H
259 * Which encryption libraries do we have?
269 * What Security framework headers do we have?
272 #undef HAVE_AUTHORIZATION_H
273 #undef HAVE_SECPOLICY_H
274 #undef HAVE_SECPOLICYPRIV_H
275 #undef HAVE_SECBASEPRIV_H
276 #undef HAVE_SECIDENTITYSEARCHPRIV_H
280 * Do we have the SecIdentitySearchCreateWithPolicy function?
283 #undef HAVE_SECIDENTITYSEARCHCREATEWITHPOLICY
287 * Do we have the SLP library?
294 * Do we have an LDAP library?
302 * Do we have libpaper?
309 * Do we have DNS Service Discovery (aka Bonjour)?
316 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
319 #undef HAVE_COREFOUNDATION
320 #undef HAVE_SYSTEMCONFIGURATION
324 * Do we have <sys/ioctl.h>?
327 #undef HAVE_SYS_IOCTL_H
331 * Do we have mkstemp() and/or mkstemps()?
339 * Does the "tm" structure contain the "tm_gmtoff" member?
342 #undef HAVE_TM_GMTOFF
346 * Do we have rresvport_af()?
349 #undef HAVE_RRESVPORT_AF
353 * Do we have getaddrinfo()?
356 #undef HAVE_GETADDRINFO
360 * Do we have getnameinfo()?
363 #undef HAVE_GETNAMEINFO
367 * Do we have getifaddrs()?
370 #undef HAVE_GETIFADDRS
374 * Do we have hstrerror()?
377 #undef HAVE_HSTRERROR
381 * Do we have the <sys/sockio.h> header file?
384 #undef HAVE_SYS_SOCKIO_H
388 * Does the sockaddr structure contain an sa_len parameter?
391 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
395 * Do we have the AIX usersec.h header file?
398 #undef HAVE_USERSEC_H
401 * Do we have pthread support?
404 #undef HAVE_PTHREAD_H
408 * Do we have launchd support?
413 #define CUPS_DEFAULT_LAUNCHD_CONF ""
417 * Various scripting languages...
421 #define CUPS_JAVA "/usr/bin/java"
423 #define CUPS_PERL "/usr/bin/perl"
425 #define CUPS_PHP "/usr/bin/php"
427 #define CUPS_PYTHON "/usr/bin/python"
431 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
434 #undef HAVE_COREFOUNDATION
435 #undef HAVE_SYSTEMCONFIGURATION
439 * Do we have CoreFoundation public and private headers?
442 #undef HAVE_COREFOUNDATION_H
444 #undef HAVE_CFBUNDLEPRIV_H
448 * Do we have CFLocaleCreateCanonicalLocaleIdentifierFromString()?
451 #undef HAVE_CF_LOCALE_ID
455 * Do we have MacOSX 10.4's mbr_XXX functions()?
458 #undef HAVE_MEMBERSHIP_H
459 #undef HAVE_MEMBERSHIPPRIV_H
460 #undef HAVE_MBR_UID_TO_UUID
464 * Do we have Darwin's notify_post() header and function?
468 #undef HAVE_NOTIFY_POST
476 #undef HAVE_DBUS_MESSAGE_ITER_INIT_APPEND
480 * Do we have the AppleTalk/at_proto.h header?
483 #undef HAVE_APPLETALK_AT_PROTO_H
487 * Do we have the GSSAPI support library (for Kerberos support)?
492 #undef HAVE_GSSAPI_GSSAPI_H
493 #undef HAVE_GSSAPI_GSSAPI_GENERIC_H
494 #undef HAVE_GSSAPI_GSSAPI_KRB5_H
495 #undef HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY
496 #undef HAVE_GSS_C_NT_HOSTBASED_SERVICE
497 #undef HAVE_KRB5_CC_RESOLVE
503 * Default GSS service name...
506 #define CUPS_DEFAULT_GSSSERVICENAME ""
510 * Select/poll interfaces...
519 * Do we have the <dlfcn.h> header?
526 * Do we have <sys/ucred.h>?
529 #undef HAVE_SYS_UCRED_H
532 #endif /* !_CUPS_CONFIG_H_ */
535 * End of "$Id: config.h.in 6649 2007-07-11 21:46:42Z mike $".