]>
git.ipfire.org Git - thirdparty/cups.git/blob - vcnet/config.h
2 * "$Id: config.h 177 2006-06-21 00:20:03Z jlovell $"
4 * Configuration file for the Common UNIX Printing System (CUPS).
6 * Copyright 1997-2005 by Easy Software Products.
8 * These coded instructions, statements, and computer programs are the
9 * property of Easy Software Products and are protected by Federal
10 * copyright law. Distribution and use rights are outlined in the file
11 * "LICENSE.txt" which should have been included with this file. If this
12 * file is missing or damaged please contact Easy Software Products
15 * Attn: CUPS Licensing Information
16 * Easy Software Products
17 * 44141 Airport View Drive, Suite 204
18 * Hollywood, Maryland 20636 USA
20 * Voice: (301) 373-9600
21 * EMail: cups-info@cups.org
22 * WWW: http://www.cups.org
25 #ifndef _CUPS_CONFIG_H_
26 #define _CUPS_CONFIG_H_
33 #undef __CHAR_UNSIGNED__
37 * Version of software...
40 #define CUPS_SVERSION "CUPS v1.2svn"
41 #define CUPS_MINIMAL "CUPS/1.2svn"
45 * Default user and group...
48 #define CUPS_DEFAULT_USER "lp"
49 #define CUPS_DEFAULT_GROUP "sys"
56 #define CUPS_DEFAULT_IPP_PORT 631
60 * Maximum number of file descriptors to support.
63 #define CUPS_MAX_FDS 4096
67 * Do we have domain socket support?
70 #undef CUPS_DEFAULT_DOMAINSOCKET
74 * Where are files stored?
76 * Note: These are defaults, which can be overridden by environment
77 * variables at run-time...
80 #define CUPS_CACHEDIR "C:/CUPS/cache"
81 #define CUPS_DATADIR "C:/CUPS/share"
82 #define CUPS_DOCROOT "C:/CUPS/share/doc"
83 #define CUPS_FONTPATH "C:/CUPS/share/fonts"
84 #define CUPS_LOCALEDIR "C:/CUPS/locale"
85 #define CUPS_LOGDIR "C:/CUPS/logs"
86 #define CUPS_REQUESTS "C:/CUPS/spool"
87 #define CUPS_SERVERBIN "C:/CUPS/lib"
88 #define CUPS_SERVERROOT "C:/CUPS/etc"
89 #define CUPS_STATEDIR "C:/CUPS/run"
93 * Do we have various image libraries?
103 * Do we have PAM stuff?
107 #define HAVE_LIBPAM 0
108 #endif /* !HAVE_LIBPAM */
110 #undef HAVE_PAM_PAM_APPL_H
114 * Do we have <shadow.h>?
121 * Do we have <crypt.h>?
128 * Use <string.h>, <strings.h>, and/or <bstring.h>?
131 #define HAVE_STRING_H
132 #undef HAVE_STRINGS_H
133 #undef HAVE_BSTRING_H
137 * Do we have the long long type?
140 #undef HAVE_LONG_LONG
142 #ifdef HAVE_LONG_LONG
143 # define CUPS_LLFMT "%lld"
144 # define CUPS_LLCAST (long long)
146 # define CUPS_LLFMT "%ld"
147 # define CUPS_LLCAST (long)
148 #endif /* HAVE_LONG_LONG */
152 * Do we have the strtoll() function?
158 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
159 #endif /* !HAVE_STRTOLL */
163 * Do we have the strXXX() functions?
167 #define HAVE_STRCASECMP
168 #define HAVE_STRNCASECMP
174 * Do we have the geteuid() function?
181 * Do we have the vsyslog() function?
188 * Do we have the (v)snprintf() functions?
192 #undef HAVE_VSNPRINTF
196 * What signal functions to use?
200 #undef HAVE_SIGACTION
204 * What wait functions to use?
212 * Do we have the mallinfo function and malloc.h?
220 * Do we have the langinfo.h header file?
223 #undef HAVE_LANGINFO_H
227 * Which encryption libraries do we have?
237 * Do we have the OpenSLP library?
244 * Do we have libpaper?
251 * Do we have <sys/ioctl.h>?
254 #undef HAVE_SYS_IOCTL_H
258 * Do we have mkstemp() and/or mkstemps()?
266 * Does the "tm" structure contain the "tm_gmtoff" member?
269 #undef HAVE_TM_GMTOFF
273 * Do we have rresvport_af()?
276 #undef HAVE_RRESVPORT_AF
280 * Do we have getaddrinfo()?
283 #define HAVE_GETADDRINFO
287 * Do we have getnameinfo()?
290 #define HAVE_GETNAMEINFO
294 * Do we have getifaddrs()?
297 #undef HAVE_GETIFADDRS
301 * Do we have hstrerror()?
304 #undef HAVE_HSTRERROR
308 * Do we have the <sys/sockio.h> header file?
311 #undef HAVE_SYS_SOCKIO_H
315 * Does the sockaddr structure contain an sa_len parameter?
318 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
322 * Do we have the AIX usersec.h header file?
325 #undef HAVE_USERSEC_H
328 * Do we have pthread support?
331 #undef HAVE_PTHREAD_H
335 * Various scripting languages...
339 #define CUPS_JAVA "/usr/bin/java"
341 #define CUPS_PERL "/usr/bin/perl"
343 #define CUPS_PHP "/usr/bin/php"
345 #define CUPS_PYTHON "/usr/bin/python"
348 #endif /* !_CUPS_CONFIG_H_ */
351 * End of "$Id: config.h 177 2006-06-21 00:20:03Z jlovell $".