]>
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 browsing settings...
49 #define CUPS_DEFAULT_BROWSING 1
50 #define CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS "CUPS"
51 #define CUPS_DEFAULT_BROWSE_REMOTE_PROTOCOLS "CUPS"
52 #define CUPS_DEFAULT_BROWSE_SHORT_NAMES 1
53 #define CUPS_DEFAULT_DEFAULT_SHARED 1
54 #define CUPS_DEFAULT_IMPLICIT_CLASSES 1
55 #define CUPS_DEFAULT_USE_NETWORK_DEFAULT 1
62 #define CUPS_DEFAULT_IPP_PORT 631
66 * Default printcap file...
69 #define CUPS_DEFAULT_PRINTCAP "/etc/printcap"
73 * Default Samba and LPD config files...
76 #define CUPS_DEFAULT_SMB_CONFIG_FILE ""
77 #define CUPS_DEFAULT_LPD_CONFIG_FILE ""
81 * Default MaxCopies value...
84 #define CUPS_DEFAULT_MAX_COPIES 100
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
134 #undef HAVE_PAM_SET_ITEM
138 * Do we have <shadow.h>?
145 * Do we have <crypt.h>?
152 * Do we have <scsi/sg.h>?
155 #undef HAVE_SCSI_SG_H
159 * Use <string.h>, <strings.h>, and/or <bstring.h>?
163 #undef HAVE_STRINGS_H
164 #undef HAVE_BSTRING_H
167 * Do we have the long long type?
170 #undef HAVE_LONG_LONG
172 #ifdef HAVE_LONG_LONG
173 # define CUPS_LLFMT "%lld"
174 # define CUPS_LLCAST (long long)
176 # define CUPS_LLFMT "%ld"
177 # define CUPS_LLCAST (long)
178 #endif /* HAVE_LONG_LONG */
181 * Do we have the strtoll() function?
187 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
188 #endif /* !HAVE_STRTOLL */
191 * Do we have the strXXX() functions?
195 #undef HAVE_STRCASECMP
196 #undef HAVE_STRNCASECMP
202 * Do we have the geteuid() function?
209 * Do we have the vsyslog() function?
216 * Do we have the (v)snprintf() functions?
220 #undef HAVE_VSNPRINTF
224 * What signal functions to use?
228 #undef HAVE_SIGACTION
232 * What wait functions to use?
240 * Do we have the mallinfo function and malloc.h?
248 * Do we have the POSIX ACL functions?
255 * Do we have the langinfo.h header file?
258 #undef HAVE_LANGINFO_H
262 * Which encryption libraries do we have?
272 * What Security framework headers do we have?
275 #undef HAVE_AUTHORIZATION_H
276 #undef HAVE_SECPOLICY_H
277 #undef HAVE_SECPOLICYPRIV_H
278 #undef HAVE_SECBASEPRIV_H
279 #undef HAVE_SECIDENTITYSEARCHPRIV_H
283 * Do we have the SecIdentitySearchCreateWithPolicy function?
286 #undef HAVE_SECIDENTITYSEARCHCREATEWITHPOLICY
290 * Do we have the SLP library?
297 * Do we have an LDAP library?
305 * Do we have libpaper?
312 * Do we have DNS Service Discovery (aka Bonjour)?
319 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
322 #undef HAVE_COREFOUNDATION
323 #undef HAVE_SYSTEMCONFIGURATION
327 * Do we have <sys/ioctl.h>?
330 #undef HAVE_SYS_IOCTL_H
334 * Do we have mkstemp() and/or mkstemps()?
342 * Does the "tm" structure contain the "tm_gmtoff" member?
345 #undef HAVE_TM_GMTOFF
349 * Do we have rresvport_af()?
352 #undef HAVE_RRESVPORT_AF
356 * Do we have getaddrinfo()?
359 #undef HAVE_GETADDRINFO
363 * Do we have getnameinfo()?
366 #undef HAVE_GETNAMEINFO
370 * Do we have getifaddrs()?
373 #undef HAVE_GETIFADDRS
377 * Do we have hstrerror()?
380 #undef HAVE_HSTRERROR
384 * Do we have the <sys/sockio.h> header file?
387 #undef HAVE_SYS_SOCKIO_H
391 * Does the sockaddr structure contain an sa_len parameter?
394 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
398 * Do we have the AIX usersec.h header file?
401 #undef HAVE_USERSEC_H
404 * Do we have pthread support?
407 #undef HAVE_PTHREAD_H
411 * Do we have launchd support?
416 #define CUPS_DEFAULT_LAUNCHD_CONF ""
420 * Various scripting languages...
424 #define CUPS_JAVA "/usr/bin/java"
426 #define CUPS_PERL "/usr/bin/perl"
428 #define CUPS_PHP "/usr/bin/php"
430 #define CUPS_PYTHON "/usr/bin/python"
434 * Location of the poppler/Xpdf pdftops program...
438 #define CUPS_PDFTOPS "/usr/bin/pdftops"
442 * Location of the Ghostscript gs program...
445 #undef HAVE_GHOSTSCRIPT
446 #define CUPS_GHOSTSCRIPT "/usr/bin/gs"
450 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
453 #undef HAVE_COREFOUNDATION
454 #undef HAVE_SYSTEMCONFIGURATION
458 * Do we have CoreFoundation public and private headers?
461 #undef HAVE_COREFOUNDATION_H
463 #undef HAVE_CFBUNDLEPRIV_H
467 * Do we have MacOSX 10.4's mbr_XXX functions()?
470 #undef HAVE_MEMBERSHIP_H
471 #undef HAVE_MEMBERSHIPPRIV_H
472 #undef HAVE_MBR_UID_TO_UUID
476 * Do we have Darwin's notify_post() header and function?
480 #undef HAVE_NOTIFY_POST
488 #undef HAVE_DBUS_MESSAGE_ITER_INIT_APPEND
492 * Do we have the AppleTalk/at_proto.h header?
495 #undef HAVE_APPLETALK_AT_PROTO_H
499 * Do we have the GSSAPI support library (for Kerberos support)?
504 #undef HAVE_GSSAPI_GSSAPI_H
505 #undef HAVE_GSSAPI_GSSAPI_GENERIC_H
506 #undef HAVE_GSSAPI_GSSAPI_KRB5_H
507 #undef HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY
508 #undef HAVE_GSS_C_NT_HOSTBASED_SERVICE
509 #undef HAVE_KRB5_CC_NEW_UNIQUE
515 * Default GSS service name...
518 #define CUPS_DEFAULT_GSSSERVICENAME ""
522 * Select/poll interfaces...
531 * Do we have the <dlfcn.h> header?
538 * Do we have <sys/param.h>?
541 #undef HAVE_SYS_PARAM_H
545 * Do we have <sys/ucred.h>?
548 #undef HAVE_SYS_UCRED_H
552 * Do we have removefile()?
555 #undef HAVE_REMOVEFILE
559 * Do we have <sandbox.h>?
562 #undef HAVE_SANDBOX_H
566 * Which random number generator function to use...
581 #endif /* !_CUPS_CONFIG_H_ */
584 * End of "$Id: config.h.in 7687 2008-06-24 01:28:36Z mike $".