]>
git.ipfire.org Git - thirdparty/cups.git/blob - config.h.in
4c4a217141bc508c31d83ca9adb2edcc29a567ed
2 * "$Id: config.h.in 6878 2007-08-29 17:22:26Z 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"
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 MaxCopies value...
76 #define CUPS_DEFAULT_MAX_COPIES 100
80 * Maximum number of file descriptors to support.
83 #define CUPS_MAX_FDS 4096
87 * Do we have domain socket support?
90 #undef CUPS_DEFAULT_DOMAINSOCKET
94 * Where are files stored?
96 * Note: These are defaults, which can be overridden by environment
97 * variables at run-time...
100 #define CUPS_BINDIR "/usr/bin"
101 #define CUPS_CACHEDIR "/var/cache/cups"
102 #define CUPS_DATADIR "/usr/share/cups"
103 #define CUPS_DOCROOT "/usr/share/doc/cups"
104 #define CUPS_FONTPATH "/usr/share/cups/fonts"
105 #define CUPS_LOCALEDIR "/usr/share/locale"
106 #define CUPS_LOGDIR "/var/logs/cups"
107 #define CUPS_REQUESTS "/var/spool/cups"
108 #define CUPS_SBINDIR "/usr/sbin"
109 #define CUPS_SERVERBIN "/usr/lib/cups"
110 #define CUPS_SERVERROOT "/etc/cups"
111 #define CUPS_STATEDIR "/var/run/cups"
115 * Do we have various image libraries?
125 * Do we have PAM stuff?
129 #define HAVE_LIBPAM 0
130 #endif /* !HAVE_LIBPAM */
132 #undef HAVE_PAM_PAM_APPL_H
136 * Do we have <shadow.h>?
143 * Do we have <crypt.h>?
150 * Do we have <scsi/sg.h>?
153 #undef HAVE_SCSI_SG_H
157 * Use <string.h>, <strings.h>, and/or <bstring.h>?
161 #undef HAVE_STRINGS_H
162 #undef HAVE_BSTRING_H
165 * Do we have the long long type?
168 #undef HAVE_LONG_LONG
170 #ifdef HAVE_LONG_LONG
171 # define CUPS_LLFMT "%lld"
172 # define CUPS_LLCAST (long long)
174 # define CUPS_LLFMT "%ld"
175 # define CUPS_LLCAST (long)
176 #endif /* HAVE_LONG_LONG */
179 * Do we have the strtoll() function?
185 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
186 #endif /* !HAVE_STRTOLL */
189 * Do we have the strXXX() functions?
193 #undef HAVE_STRCASECMP
194 #undef HAVE_STRNCASECMP
200 * Do we have the geteuid() function?
207 * Do we have the vsyslog() function?
214 * Do we have the (v)snprintf() functions?
218 #undef HAVE_VSNPRINTF
222 * What signal functions to use?
226 #undef HAVE_SIGACTION
230 * What wait functions to use?
238 * Do we have the mallinfo function and malloc.h?
246 * Do we have the POSIX ACL functions?
253 * Do we have the langinfo.h header file?
256 #undef HAVE_LANGINFO_H
260 * Which encryption libraries do we have?
270 * What Security framework headers do we have?
273 #undef HAVE_AUTHORIZATION_H
274 #undef HAVE_SECPOLICY_H
275 #undef HAVE_SECPOLICYPRIV_H
276 #undef HAVE_SECBASEPRIV_H
277 #undef HAVE_SECIDENTITYSEARCHPRIV_H
281 * Do we have the SecIdentitySearchCreateWithPolicy function?
284 #undef HAVE_SECIDENTITYSEARCHCREATEWITHPOLICY
288 * Do we have the SLP library?
295 * Do we have an LDAP library?
303 * Do we have libpaper?
310 * Do we have DNS Service Discovery (aka Bonjour)?
317 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
320 #undef HAVE_COREFOUNDATION
321 #undef HAVE_SYSTEMCONFIGURATION
325 * Do we have <sys/ioctl.h>?
328 #undef HAVE_SYS_IOCTL_H
332 * Do we have mkstemp() and/or mkstemps()?
340 * Does the "tm" structure contain the "tm_gmtoff" member?
343 #undef HAVE_TM_GMTOFF
347 * Do we have rresvport_af()?
350 #undef HAVE_RRESVPORT_AF
354 * Do we have getaddrinfo()?
357 #undef HAVE_GETADDRINFO
361 * Do we have getnameinfo()?
364 #undef HAVE_GETNAMEINFO
368 * Do we have getifaddrs()?
371 #undef HAVE_GETIFADDRS
375 * Do we have hstrerror()?
378 #undef HAVE_HSTRERROR
382 * Do we have the <sys/sockio.h> header file?
385 #undef HAVE_SYS_SOCKIO_H
389 * Does the sockaddr structure contain an sa_len parameter?
392 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
396 * Do we have the AIX usersec.h header file?
399 #undef HAVE_USERSEC_H
402 * Do we have pthread support?
405 #undef HAVE_PTHREAD_H
409 * Do we have launchd support?
414 #define CUPS_DEFAULT_LAUNCHD_CONF ""
418 * Various scripting languages...
422 #define CUPS_JAVA "/usr/bin/java"
424 #define CUPS_PERL "/usr/bin/perl"
426 #define CUPS_PHP "/usr/bin/php"
428 #define CUPS_PYTHON "/usr/bin/python"
432 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
435 #undef HAVE_COREFOUNDATION
436 #undef HAVE_SYSTEMCONFIGURATION
440 * Do we have CoreFoundation public and private headers?
443 #undef HAVE_COREFOUNDATION_H
445 #undef HAVE_CFBUNDLEPRIV_H
449 * Do we have CFLocaleCreateCanonicalLocaleIdentifierFromString()?
452 #undef HAVE_CF_LOCALE_ID
456 * Do we have MacOSX 10.4's mbr_XXX functions()?
459 #undef HAVE_MEMBERSHIP_H
460 #undef HAVE_MEMBERSHIPPRIV_H
461 #undef HAVE_MBR_UID_TO_UUID
465 * Do we have Darwin's notify_post() header and function?
469 #undef HAVE_NOTIFY_POST
477 #undef HAVE_DBUS_MESSAGE_ITER_INIT_APPEND
481 * Do we have the AppleTalk/at_proto.h header?
484 #undef HAVE_APPLETALK_AT_PROTO_H
488 * Do we have the GSSAPI support library (for Kerberos support)?
493 #undef HAVE_GSSAPI_GSSAPI_H
494 #undef HAVE_GSSAPI_GSSAPI_GENERIC_H
495 #undef HAVE_GSSAPI_GSSAPI_KRB5_H
496 #undef HAVE_GSSKRB5_REGISTER_ACCEPTOR_IDENTITY
497 #undef HAVE_GSS_C_NT_HOSTBASED_SERVICE
498 #undef HAVE_KRB5_CC_NEW_UNIQUE
504 * Default GSS service name...
507 #define CUPS_DEFAULT_GSSSERVICENAME ""
511 * Select/poll interfaces...
520 * Do we have the <dlfcn.h> header?
527 * Do we have <sys/param.h>?
530 #undef HAVE_SYS_PARAM_H
534 * Do we have <sys/ucred.h>?
537 #undef HAVE_SYS_UCRED_H
541 * Do we have removefile()?
544 #undef HAVE_REMOVEFILE
547 #endif /* !_CUPS_CONFIG_H_ */
550 * End of "$Id: config.h.in 6878 2007-08-29 17:22:26Z mike $".