1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286
|
/*
* "$Id$"
*
* Configuration file for CUPS.
*
* Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
* property of Apple Inc. and are protected by Federal copyright
* law. Distribution and use rights are outlined in the file "LICENSE.txt"
* which should have been included with this file. If this file is
* file is missing or damaged, see the license at "http://www.cups.org/".
*/
#ifndef _CUPSFILTERS_CONFIG_H_
#define _CUPSFILTERS_CONFIG_H_
/*
* Version of software...
*/
#define CUPSFILTERS_SVERSION ""
/*
* Where are files stored?
*
* Note: These are defaults, which can be overridden by environment
* variables at run-time...
*/
#define CUPS_DATADIR "/usr/share/cups"
#define CUPS_FONTPATH "/usr/share/cups/fonts"
#define CUPS_SERVERBIN "/usr/lib/cups"
/*
* Do we have various image libraries?
*/
#undef HAVE_LIBPNG
#undef HAVE_LIBZ
#undef HAVE_LIBJPEG
#undef HAVE_LIBTIFF
/*
* Do we have the long long type?
*/
#undef HAVE_LONG_LONG
#ifdef HAVE_LONG_LONG
# define CUPS_LLFMT "%lld"
# define CUPS_LLCAST (long long)
#else
# define CUPS_LLFMT "%ld"
# define CUPS_LLCAST (long)
#endif /* HAVE_LONG_LONG */
/*
* Do we have the strtoll() function?
*/
#undef HAVE_STRTOLL
#ifndef HAVE_STRTOLL
# define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
#endif /* !HAVE_STRTOLL */
/*
* Do we have the strXXX() functions?
*/
#undef HAVE_STRDUP
#undef HAVE_STRLCAT
#undef HAVE_STRLCPY
/*
* Do we have the (v)snprintf() functions?
*/
#undef HAVE_SNPRINTF
#undef HAVE_VSNPRINTF
/*
* What signal functions to use?
*/
#undef HAVE_SIGSET
#undef HAVE_SIGACTION
/*
* What wait functions to use?
*/
#undef HAVE_WAITPID
#undef HAVE_WAIT3
/*
* Do we have <sys/ioctl.h>?
*/
#undef HAVE_SYS_IOCTL_H
/*
* Default settings for the pdftops filter...
*/
#define CUPS_PDFTOPS_RENDERER GS
#define CUPS_PDFTOPS_MAX_RESOLUTION 1440
/*
* Location of the poppler/Xpdf pdftops program...
*/
#undef HAVE_POPPLER_PDFTOPS
#undef HAVE_POPPLER_PDFTOPS_WITH_ORIGPAGESIZES
#undef HAVE_POPPLER_PDFTOPS_WITH_RESOLUTION
#define CUPS_POPPLER_PDFTOPS "/usr/bin/pdftops"
/*
* Location of the Ghostscript gs program...
*/
#undef HAVE_GHOSTSCRIPT
#undef HAVE_GHOSTSCRIPT_PS2WRITE
#define CUPS_GHOSTSCRIPT "/usr/bin/gs"
/*
* Select/poll interfaces...
*/
#undef HAVE_POLL
#undef HAVE_EPOLL
#undef HAVE_KQUEUE
/*
* Which random number generator function to use...
*/
#undef HAVE_ARC4RANDOM
#undef HAVE_RANDOM
#undef HAVE_LRAND48
#ifdef HAVE_ARC4RANDOM
# define CUPS_RAND() arc4random()
# define CUPS_SRAND(v) arc4random_stir()
#elif defined(HAVE_RANDOM)
# define CUPS_RAND() random()
# define CUPS_SRAND(v) srandom(v)
#elif defined(HAVE_LRAND48)
# define CUPS_RAND() lrand48()
# define CUPS_SRAND(v) srand48(v)
#else
# define CUPS_RAND() rand()
# define CUPS_SRAND(v) srand(v)
#endif /* HAVE_ARC4RANDOM */
/* CUPS Version is 1.1 */
#undef CUPS_1_1
/* CUPS Version is 1.4 or newer */
#undef CUPS_1_4
/* Directory where bannertopdf finds its data files (PDF templates) */
#undef BANNERTOPDF_DATADIR
/* Use libjpeg instead of builtin jpeg decoder. */
#undef ENABLE_LIBJPEG
/* Use zlib instead of builtin zlib decoder. */
#undef ENABLE_ZLIB
/* Have FreeType2 include files */
#undef HAVE_FREETYPE_H
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the "cups" library (-lcups). */
#define HAVE_LIBCUPS 1
/* Define to 1 if you have the "cupsimage" library (-lcupsimage). */
#define HAVE_LIBCUPSIMAGE 1
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* have new GfxFontType */
#undef HAVE_NEW_GFX_FONTTYPE
/* Define to 1 if you have the "popen" function. */
#undef HAVE_POPEN
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the <dirent.h> header file, and it defines "DIR".
*/
#undef HAVE_DIRENT_H
/* Define to 1 if you have the <ndir.h> header file, and it defines "DIR". */
#undef HAVE_NDIR_H
/* Define to 1 if you have the <sys/dir.h> header file, and it defines "DIR".
*/
#undef HAVE_SYS_DIR_H
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines "DIR".
*/
#undef HAVE_SYS_NDIR_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to 1 if you have the <zlib.h> header file. */
#undef HAVE_ZLIB_H
/* Parser::Parser has two arguments. */
#undef PARSER_HAS_2_ARGS
/* Define to 1 if you have the "poppler" library (-lpoppler). */
#undef HAVE_LIBPOPPLER
/* New font type enumeration */
#undef FONTTYPE_ENUM2
/* poppler version */
#undef POPPLER_VERSION_MAJOR
#undef POPPLER_VERSION_MINOR
#undef POPPLER_VERSION_MICRO
/* SplashFontEngine enableSlightHinting */
#undef SPLASH_SLIGHT_HINTING
/* GlobalParams::GlobalParams has a argument. */
#undef GLOBALPARAMS_HAS_A_ARG
/* Have Stream::getUndecodedStream */
#undef HAVE_GETUNDECODEDSTREAM
/* Have UGooString.h */
#undef HAVE_UGOOSTRING_H
/* Old CharCodeToUnicode::mapToUnicode */
#undef OLD_MAPTOUNICODE
/* Old GfxColorSpace::parse */
#undef OLD_CS_PARSE
/* Poppler uses CMS */
#undef USE_CMS
/* Poppler data dir */
#undef POPPLER_DATADIR
/* Are we using lcms1? */
#undef USE_LCMS1
#endif /* !_CUPSFILTERS_CONFIG_H_ */
/*
* End of "$Id$".
*/
|