]>
git.ipfire.org Git - thirdparty/cups.git/blob - config.h.in
2 * "$Id: config.h.in 7687 2008-06-24 01:28:36Z mike $"
4 * Configuration file for the Common UNIX Printing System (CUPS).
6 * Copyright 2007-2008 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"
34 #define CUPS_DEFAULT_PRINTADMIN_AUTH "@SYSTEM"
38 * Default file permissions...
41 #define CUPS_DEFAULT_CONFIG_FILE_PERM 0640
42 #define CUPS_DEFAULT_LOG_FILE_PERM 0644
46 * Default logging settings...
49 #define CUPS_DEFAULT_LOG_LEVEL "warn"
50 #define CUPS_DEFAULT_ACCESS_LOG_LEVEL "actions"
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 Samba and LPD config files...
84 #define CUPS_DEFAULT_SMB_CONFIG_FILE ""
85 #define CUPS_DEFAULT_LPD_CONFIG_FILE ""
89 * Default MaxCopies value...
92 #define CUPS_DEFAULT_MAX_COPIES 100
96 * Do we have domain socket support?
99 #undef CUPS_DEFAULT_DOMAINSOCKET
103 * Where are files stored?
105 * Note: These are defaults, which can be overridden by environment
106 * variables at run-time...
109 #define CUPS_BINDIR "/usr/bin"
110 #define CUPS_CACHEDIR "/var/cache/cups"
111 #define CUPS_DATADIR "/usr/share/cups"
112 #define CUPS_DOCROOT "/usr/share/doc/cups"
113 #define CUPS_FONTPATH "/usr/share/cups/fonts"
114 #define CUPS_LOCALEDIR "/usr/share/locale"
115 #define CUPS_LOGDIR "/var/logs/cups"
116 #define CUPS_REQUESTS "/var/spool/cups"
117 #define CUPS_SBINDIR "/usr/sbin"
118 #define CUPS_SERVERBIN "/usr/lib/cups"
119 #define CUPS_SERVERROOT "/etc/cups"
120 #define CUPS_STATEDIR "/var/run/cups"
124 * Do we have various image libraries?
134 * Do we have PAM stuff?
138 #define HAVE_LIBPAM 0
139 #endif /* !HAVE_LIBPAM */
141 #undef HAVE_PAM_PAM_APPL_H
142 #undef HAVE_PAM_SET_ITEM
143 #undef HAVE_PAM_SETCRED
147 * Do we have <shadow.h>?
154 * Do we have <crypt.h>?
161 * Do we have <scsi/sg.h>?
164 #undef HAVE_SCSI_SG_H
168 * Use <string.h>, <strings.h>, and/or <bstring.h>?
172 #undef HAVE_STRINGS_H
173 #undef HAVE_BSTRING_H
176 * Do we have the long long type?
179 #undef HAVE_LONG_LONG
181 #ifdef HAVE_LONG_LONG
182 # define CUPS_LLFMT "%lld"
183 # define CUPS_LLCAST (long long)
185 # define CUPS_LLFMT "%ld"
186 # define CUPS_LLCAST (long)
187 #endif /* HAVE_LONG_LONG */
190 * Do we have the strtoll() function?
196 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
197 #endif /* !HAVE_STRTOLL */
200 * Do we have the strXXX() functions?
204 #undef HAVE_STRCASECMP
205 #undef HAVE_STRNCASECMP
211 * Do we have the geteuid() function?
218 * Do we have the vsyslog() function?
225 * Do we have the (v)snprintf() functions?
229 #undef HAVE_VSNPRINTF
233 * What signal functions to use?
237 #undef HAVE_SIGACTION
241 * What wait functions to use?
249 * Do we have the mallinfo function and malloc.h?
257 * Do we have the POSIX ACL functions?
264 * Do we have the langinfo.h header file?
267 #undef HAVE_LANGINFO_H
271 * Which encryption libraries do we have?
281 * What Security framework headers do we have?
284 #undef HAVE_AUTHORIZATION_H
285 #undef HAVE_SECPOLICY_H
286 #undef HAVE_SECPOLICYPRIV_H
287 #undef HAVE_SECBASEPRIV_H
288 #undef HAVE_SECIDENTITYSEARCHPRIV_H
292 * Do we have the SecIdentitySearchCreateWithPolicy function?
295 #undef HAVE_SECIDENTITYSEARCHCREATEWITHPOLICY
299 * Do we have the SLP library?
306 * Do we have an LDAP library?
311 #undef HAVE_MOZILLA_LDAP
312 #undef HAVE_LDAP_SSL_H
314 #undef HAVE_LDAP_REBIND_PROC
318 * Do we have libpaper?
325 * Do we have DNS Service Discovery (aka Bonjour)?
332 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
335 #undef HAVE_COREFOUNDATION
336 #undef HAVE_SYSTEMCONFIGURATION
340 * Do we have <sys/ioctl.h>?
343 #undef HAVE_SYS_IOCTL_H
347 * Do we have mkstemp() and/or mkstemps()?
355 * Does the "tm" structure contain the "tm_gmtoff" member?
358 #undef HAVE_TM_GMTOFF
362 * Do we have rresvport_af()?
365 #undef HAVE_RRESVPORT_AF
369 * Do we have getaddrinfo()?
372 #undef HAVE_GETADDRINFO
376 * Do we have getnameinfo()?
379 #undef HAVE_GETNAMEINFO
383 * Do we have getifaddrs()?
386 #undef HAVE_GETIFADDRS
390 * Do we have hstrerror()?
393 #undef HAVE_HSTRERROR
397 * Do we have the <sys/sockio.h> header file?
400 #undef HAVE_SYS_SOCKIO_H
404 * Does the sockaddr structure contain an sa_len parameter?
407 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
411 * Do we have the AIX usersec.h header file?
414 #undef HAVE_USERSEC_H
417 * Do we have pthread support?
420 #undef HAVE_PTHREAD_H
424 * Do we have launchd support?
429 #define CUPS_DEFAULT_LAUNCHD_CONF ""
433 * Various scripting languages...
437 #define CUPS_JAVA "/usr/bin/java"
439 #define CUPS_PERL "/usr/bin/perl"
441 #define CUPS_PHP "/usr/bin/php"
443 #define CUPS_PYTHON "/usr/bin/python"
447 * Location of the poppler/Xpdf pdftops program...
451 #define CUPS_PDFTOPS "/usr/bin/pdftops"
455 * Location of the Ghostscript gs program...
458 #undef HAVE_GHOSTSCRIPT
459 #define CUPS_GHOSTSCRIPT "/usr/bin/gs"
463 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
466 #undef HAVE_COREFOUNDATION
467 #undef HAVE_SYSTEMCONFIGURATION
471 * Do we have CoreFoundation public and private headers?
474 #undef HAVE_COREFOUNDATION_H
476 #undef HAVE_CFBUNDLEPRIV_H
480 * Do we have MacOSX 10.4's mbr_XXX functions()?
483 #undef HAVE_MEMBERSHIP_H
484 #undef HAVE_MEMBERSHIPPRIV_H
485 #undef HAVE_MBR_UID_TO_UUID
489 * Do we have Darwin's notify_post() header and function?
493 #undef HAVE_NOTIFY_POST
501 #undef HAVE_DBUS_MESSAGE_ITER_INIT_APPEND
505 * Do we have the AppleTalk/at_proto.h header?
508 #undef HAVE_APPLETALK_AT_PROTO_H
512 * Do we have the GSSAPI support library (for Kerberos support)?
517 #undef HAVE_GSSAPI_GSSAPI_H
518 #undef HAVE_GSSAPI_GSSAPI_GENERIC_H
519 #undef HAVE_GSSAPI_GSSAPI_KRB5_H
520 #undef HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY
521 #undef HAVE_GSS_C_NT_HOSTBASED_SERVICE
522 #undef HAVE_KRB5_CC_NEW_UNIQUE
528 * Default GSS service name...
531 #define CUPS_DEFAULT_GSSSERVICENAME ""
535 * Select/poll interfaces...
544 * Do we have the <dlfcn.h> header?
551 * Do we have <sys/param.h>?
554 #undef HAVE_SYS_PARAM_H
558 * Do we have <sys/ucred.h>?
561 #undef HAVE_SYS_UCRED_H
565 * Do we have removefile()?
568 #undef HAVE_REMOVEFILE
572 * Do we have <sandbox.h>?
575 #undef HAVE_SANDBOX_H
579 * Which random number generator function to use...
595 * Do we have libwrap and tcpd.h?
601 #endif /* !_CUPS_CONFIG_H_ */
604 * End of "$Id: config.h.in 7687 2008-06-24 01:28:36Z mike $".