]>
git.ipfire.org Git - thirdparty/cups.git/blob - vcnet/config.h
2 * "$Id: config.h 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-2005 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_
24 #undef __CHAR_UNSIGNED__
28 * Version of software...
31 #define CUPS_SVERSION "CUPS v1.2svn"
32 #define CUPS_MINIMAL "CUPS/1.2svn"
36 * Default user and group...
39 #define CUPS_DEFAULT_USER "lp"
40 #define CUPS_DEFAULT_GROUP "sys"
47 #define CUPS_DEFAULT_IPP_PORT 631
51 * Maximum number of file descriptors to support.
54 #define CUPS_MAX_FDS 4096
58 * Do we have domain socket support?
61 #undef CUPS_DEFAULT_DOMAINSOCKET
65 * Where are files stored?
67 * Note: These are defaults, which can be overridden by environment
68 * variables at run-time...
71 #define CUPS_CACHEDIR "C:/CUPS/cache"
72 #define CUPS_DATADIR "C:/CUPS/share"
73 #define CUPS_DOCROOT "C:/CUPS/share/doc"
74 #define CUPS_FONTPATH "C:/CUPS/share/fonts"
75 #define CUPS_LOCALEDIR "C:/CUPS/locale"
76 #define CUPS_LOGDIR "C:/CUPS/logs"
77 #define CUPS_REQUESTS "C:/CUPS/spool"
78 #define CUPS_SERVERBIN "C:/CUPS/lib"
79 #define CUPS_SERVERROOT "C:/CUPS/etc"
80 #define CUPS_STATEDIR "C:/CUPS/run"
84 * Do we have various image libraries?
94 * Do we have PAM stuff?
99 #endif /* !HAVE_LIBPAM */
101 #undef HAVE_PAM_PAM_APPL_H
105 * Do we have <shadow.h>?
112 * Do we have <crypt.h>?
119 * Use <string.h>, <strings.h>, and/or <bstring.h>?
122 #define HAVE_STRING_H
123 #undef HAVE_STRINGS_H
124 #undef HAVE_BSTRING_H
128 * Do we have the long long type?
131 #undef HAVE_LONG_LONG
133 #ifdef HAVE_LONG_LONG
134 # define CUPS_LLFMT "%lld"
135 # define CUPS_LLCAST (long long)
137 # define CUPS_LLFMT "%ld"
138 # define CUPS_LLCAST (long)
139 #endif /* HAVE_LONG_LONG */
143 * Do we have the strtoll() function?
149 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
150 #endif /* !HAVE_STRTOLL */
154 * Do we have the strXXX() functions?
158 #define HAVE_STRCASECMP
159 #define HAVE_STRNCASECMP
165 * Do we have the geteuid() function?
172 * Do we have the vsyslog() function?
179 * Do we have the (v)snprintf() functions?
183 #undef HAVE_VSNPRINTF
187 * What signal functions to use?
191 #undef HAVE_SIGACTION
195 * What wait functions to use?
203 * Do we have the mallinfo function and malloc.h?
211 * Do we have the langinfo.h header file?
214 #undef HAVE_LANGINFO_H
218 * Which encryption libraries do we have?
228 * Do we have the OpenSLP library?
235 * Do we have libpaper?
242 * Do we have <sys/ioctl.h>?
245 #undef HAVE_SYS_IOCTL_H
249 * Do we have mkstemp() and/or mkstemps()?
257 * Does the "tm" structure contain the "tm_gmtoff" member?
260 #undef HAVE_TM_GMTOFF
264 * Do we have rresvport_af()?
267 #undef HAVE_RRESVPORT_AF
271 * Do we have getaddrinfo()?
274 #define HAVE_GETADDRINFO
278 * Do we have getnameinfo()?
281 #define HAVE_GETNAMEINFO
285 * Do we have getifaddrs()?
288 #undef HAVE_GETIFADDRS
292 * Do we have hstrerror()?
295 #undef HAVE_HSTRERROR
299 * Do we have the <sys/sockio.h> header file?
302 #undef HAVE_SYS_SOCKIO_H
306 * Does the sockaddr structure contain an sa_len parameter?
309 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
313 * Do we have the AIX usersec.h header file?
316 #undef HAVE_USERSEC_H
319 * Do we have pthread support?
322 #undef HAVE_PTHREAD_H
326 * Various scripting languages...
330 #define CUPS_JAVA "/usr/bin/java"
332 #define CUPS_PERL "/usr/bin/perl"
334 #define CUPS_PHP "/usr/bin/php"
336 #define CUPS_PYTHON "/usr/bin/python"
339 #endif /* !_CUPS_CONFIG_H_ */
342 * End of "$Id: config.h 6649 2007-07-11 21:46:42Z mike $".