diff options
Diffstat (limited to 'jpeg/jconfig.h')
| -rw-r--r-- | jpeg/jconfig.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/jpeg/jconfig.h b/jpeg/jconfig.h new file mode 100644 index 000000000..b1fa66895 --- /dev/null +++ b/jpeg/jconfig.h @@ -0,0 +1,52 @@ +/* jconfig.cfg --- source file edited by configure script */ +/* see jconfig.doc for explanations */ + +#include <config.h> + +#define HAVE_PROTOTYPES +#define HAVE_UNSIGNED_CHAR +#define HAVE_UNSIGNED_SHORT +#ifdef __CHAR_UNSIGNED__ +# define CHAR_IS_UNSIGNED +#endif /* __CHAR_UNSIGNED__ */ +/* Define this if you get warnings about undefined structures. */ +#undef INCOMPLETE_TYPES_BROKEN + +#if defined(WIN32) || defined(__EMX__) +/* Define "boolean" as unsigned char, not int, per Windows custom */ +# ifndef __RPCNDR_H__ /* don't conflict if rpcndr.h already read */ +typedef unsigned char boolean; +# endif +# define HAVE_BOOLEAN /* prevent jmorecfg.h from redefining it */ +#endif /* WIN32 || __EMX__ */ + +#ifdef JPEG_INTERNALS + +#undef RIGHT_SHIFT_IS_UNSIGNED +#undef INLINE +/* These are for configuring the JPEG memory manager. */ +#undef DEFAULT_MAX_MEM +#undef NO_MKTEMP + +#endif /* JPEG_INTERNALS */ + +#ifdef JPEG_CJPEG_DJPEG + +#define BMP_SUPPORTED /* BMP image file format */ +#define GIF_SUPPORTED /* GIF image file format */ +#define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */ +#undef RLE_SUPPORTED /* Utah RLE image file format */ +#define TARGA_SUPPORTED /* Targa image file format */ + +#undef TWO_FILE_COMMANDLINE +#undef NEED_SIGNAL_CATCHER +#undef DONT_USE_B_MODE + +#if defined(WIN32) || defined(__EMX__) +# define USE_SETMODE +#endif /* WIN32 || __EMX__ */ + +/* Define this if you want percent-done progress reports from cjpeg/djpeg. */ +#undef PROGRESS_REPORT + +#endif /* JPEG_CJPEG_DJPEG */ |
