/* * "$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 ? */ #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 /* 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 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 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 header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the header file, and it defines "DIR". */ #undef HAVE_DIRENT_H /* Define to 1 if you have the header file, and it defines "DIR". */ #undef HAVE_NDIR_H /* Define to 1 if you have the header file, and it defines "DIR". */ #undef HAVE_SYS_DIR_H /* Define to 1 if you have the header file, and it defines "DIR". */ #undef HAVE_SYS_NDIR_H /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define to 1 if you have the 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$". */