]>
git.ipfire.org Git - thirdparty/cups.git/blob - config.h.in
2 * "$Id: config.h.in 7918 2008-09-08 22:03:01Z 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 fatal error settings...
57 #define CUPS_DEFAULT_FATAL_ERRORS "config"
61 * Default browsing settings...
64 #define CUPS_DEFAULT_BROWSING 1
65 #define CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS "CUPS"
66 #define CUPS_DEFAULT_BROWSE_REMOTE_PROTOCOLS "CUPS"
67 #define CUPS_DEFAULT_BROWSE_SHORT_NAMES 1
68 #define CUPS_DEFAULT_DEFAULT_SHARED 1
69 #define CUPS_DEFAULT_IMPLICIT_CLASSES 1
70 #define CUPS_DEFAULT_USE_NETWORK_DEFAULT 1
77 #define CUPS_DEFAULT_IPP_PORT 631
81 * Default printcap file...
84 #define CUPS_DEFAULT_PRINTCAP "/etc/printcap"
88 * Default Samba and LPD config files...
91 #define CUPS_DEFAULT_SMB_CONFIG_FILE ""
92 #define CUPS_DEFAULT_LPD_CONFIG_FILE ""
96 * Default MaxCopies value...
99 #define CUPS_DEFAULT_MAX_COPIES 100
103 * Do we have domain socket support?
106 #undef CUPS_DEFAULT_DOMAINSOCKET
110 * Where are files stored?
112 * Note: These are defaults, which can be overridden by environment
113 * variables at run-time...
116 #define CUPS_BINDIR "/usr/bin"
117 #define CUPS_CACHEDIR "/var/cache/cups"
118 #define CUPS_DATADIR "/usr/share/cups"
119 #define CUPS_DOCROOT "/usr/share/doc/cups"
120 #define CUPS_FONTPATH "/usr/share/cups/fonts"
121 #define CUPS_LOCALEDIR "/usr/share/locale"
122 #define CUPS_LOGDIR "/var/logs/cups"
123 #define CUPS_REQUESTS "/var/spool/cups"
124 #define CUPS_SBINDIR "/usr/sbin"
125 #define CUPS_SERVERBIN "/usr/lib/cups"
126 #define CUPS_SERVERROOT "/etc/cups"
127 #define CUPS_STATEDIR "/var/run/cups"
131 * Do we have various image libraries?
141 * Do we have PAM stuff?
145 #define HAVE_LIBPAM 0
146 #endif /* !HAVE_LIBPAM */
148 #undef HAVE_PAM_PAM_APPL_H
149 #undef HAVE_PAM_SET_ITEM
150 #undef HAVE_PAM_SETCRED
154 * Do we have <shadow.h>?
161 * Do we have <crypt.h>?
168 * Do we have <scsi/sg.h>?
171 #undef HAVE_SCSI_SG_H
175 * Use <string.h>, <strings.h>, and/or <bstring.h>?
179 #undef HAVE_STRINGS_H
180 #undef HAVE_BSTRING_H
183 * Do we have the long long type?
186 #undef HAVE_LONG_LONG
188 #ifdef HAVE_LONG_LONG
189 # define CUPS_LLFMT "%lld"
190 # define CUPS_LLCAST (long long)
192 # define CUPS_LLFMT "%ld"
193 # define CUPS_LLCAST (long)
194 #endif /* HAVE_LONG_LONG */
197 * Do we have the strtoll() function?
203 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
204 #endif /* !HAVE_STRTOLL */
207 * Do we have the strXXX() functions?
211 #undef HAVE_STRCASECMP
212 #undef HAVE_STRNCASECMP
218 * Do we have the geteuid() function?
225 * Do we have the vsyslog() function?
232 * Do we have the (v)snprintf() functions?
236 #undef HAVE_VSNPRINTF
240 * What signal functions to use?
244 #undef HAVE_SIGACTION
248 * What wait functions to use?
256 * Do we have the mallinfo function and malloc.h?
264 * Do we have the POSIX ACL functions?
271 * Do we have the langinfo.h header file?
274 #undef HAVE_LANGINFO_H
278 * Which encryption libraries do we have?
288 * What Security framework headers do we have?
291 #undef HAVE_AUTHORIZATION_H
292 #undef HAVE_SECPOLICY_H
293 #undef HAVE_SECPOLICYPRIV_H
294 #undef HAVE_SECBASEPRIV_H
295 #undef HAVE_SECIDENTITYSEARCHPRIV_H
299 * Do we have the SecIdentitySearchCreateWithPolicy function?
302 #undef HAVE_SECIDENTITYSEARCHCREATEWITHPOLICY
306 * Do we have the SLP library?
313 * Do we have an LDAP library?
318 #undef HAVE_MOZILLA_LDAP
319 #undef HAVE_LDAP_SSL_H
321 #undef HAVE_LDAP_REBIND_PROC
325 * Do we have libpaper?
332 * Do we have DNS Service Discovery (aka Bonjour)?
339 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
342 #undef HAVE_COREFOUNDATION
343 #undef HAVE_SYSTEMCONFIGURATION
347 * Do we have <sys/ioctl.h>?
350 #undef HAVE_SYS_IOCTL_H
354 * Do we have mkstemp() and/or mkstemps()?
362 * Does the "tm" structure contain the "tm_gmtoff" member?
365 #undef HAVE_TM_GMTOFF
369 * Do we have rresvport_af()?
372 #undef HAVE_RRESVPORT_AF
376 * Do we have getaddrinfo()?
379 #undef HAVE_GETADDRINFO
383 * Do we have getnameinfo()?
386 #undef HAVE_GETNAMEINFO
390 * Do we have getifaddrs()?
393 #undef HAVE_GETIFADDRS
397 * Do we have hstrerror()?
400 #undef HAVE_HSTRERROR
404 * Do we have res_init()?
411 * Do we have <resolv.h>
418 * Do we have the <sys/sockio.h> header file?
421 #undef HAVE_SYS_SOCKIO_H
425 * Does the sockaddr structure contain an sa_len parameter?
428 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
432 * Do we have the AIX usersec.h header file?
435 #undef HAVE_USERSEC_H
438 * Do we have pthread support?
441 #undef HAVE_PTHREAD_H
445 * Do we have launchd support?
450 #define CUPS_DEFAULT_LAUNCHD_CONF ""
454 * Various scripting languages...
458 #define CUPS_JAVA "/usr/bin/java"
460 #define CUPS_PERL "/usr/bin/perl"
462 #define CUPS_PHP "/usr/bin/php"
464 #define CUPS_PYTHON "/usr/bin/python"
468 * Location of the poppler/Xpdf pdftops program...
472 #define CUPS_PDFTOPS "/usr/bin/pdftops"
476 * Location of the Ghostscript gs program...
479 #undef HAVE_GHOSTSCRIPT
480 #define CUPS_GHOSTSCRIPT "/usr/bin/gs"
484 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
487 #undef HAVE_COREFOUNDATION
488 #undef HAVE_SYSTEMCONFIGURATION
492 * Do we have CoreFoundation public and private headers?
495 #undef HAVE_COREFOUNDATION_H
497 #undef HAVE_CFBUNDLEPRIV_H
501 * Do we have MacOSX 10.4's mbr_XXX functions()?
504 #undef HAVE_MEMBERSHIP_H
505 #undef HAVE_MEMBERSHIPPRIV_H
506 #undef HAVE_MBR_UID_TO_UUID
510 * Do we have Darwin's notify_post() header and function?
514 #undef HAVE_NOTIFY_POST
522 #undef HAVE_DBUS_MESSAGE_ITER_INIT_APPEND
526 * Do we have the AppleTalk/at_proto.h header?
529 #undef HAVE_APPLETALK_AT_PROTO_H
533 * Do we have the GSSAPI support library (for Kerberos support)?
538 #undef HAVE_GSSAPI_GSSAPI_H
539 #undef HAVE_GSSAPI_GSSAPI_GENERIC_H
540 #undef HAVE_GSSAPI_GSSAPI_KRB5_H
541 #undef HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY
542 #undef HAVE_GSS_C_NT_HOSTBASED_SERVICE
543 #undef HAVE_KRB5_CC_NEW_UNIQUE
549 * Default GSS service name...
552 #define CUPS_DEFAULT_GSSSERVICENAME ""
556 * Select/poll interfaces...
565 * Do we have the <dlfcn.h> header?
572 * Do we have <sys/param.h>?
575 #undef HAVE_SYS_PARAM_H
579 * Do we have <sys/ucred.h>?
582 #undef HAVE_SYS_UCRED_H
586 * Do we have removefile()?
589 #undef HAVE_REMOVEFILE
593 * Do we have <sandbox.h>?
596 #undef HAVE_SANDBOX_H
600 * Which random number generator function to use...
616 * Do we have libwrap and tcpd.h?
622 #endif /* !_CUPS_CONFIG_H_ */
625 * End of "$Id: config.h.in 7918 2008-09-08 22:03:01Z mike $".