kusano 7d535a
/*
kusano 7d535a
 * jconfig.txt
kusano 7d535a
 *
kusano 7d535a
 * Copyright (C) 1991-1994, Thomas G. Lane.
kusano 7d535a
 * This file is part of the Independent JPEG Group's software.
kusano 7d535a
 * For conditions of distribution and use, see the accompanying README file.
kusano 7d535a
 *
kusano 7d535a
 * This file documents the configuration options that are required to
kusano 7d535a
 * customize the JPEG software for a particular system.
kusano 7d535a
 *
kusano 7d535a
 * The actual configuration options for a particular installation are stored
kusano 7d535a
 * in jconfig.h.  On many machines, jconfig.h can be generated automatically
kusano 7d535a
 * or copied from one of the "canned" jconfig files that we supply.  But if
kusano 7d535a
 * you need to generate a jconfig.h file by hand, this file tells you how.
kusano 7d535a
 *
kusano 7d535a
 * DO NOT EDIT THIS FILE --- IT WON'T ACCOMPLISH ANYTHING.
kusano 7d535a
 * EDIT A COPY NAMED JCONFIG.H.
kusano 7d535a
 */
kusano 7d535a
kusano 7d535a
kusano 7d535a
/*
kusano 7d535a
 * These symbols indicate the properties of your machine or compiler.
kusano 7d535a
 * #define the symbol if yes, #undef it if no.
kusano 7d535a
 */
kusano 7d535a
kusano 7d535a
/* Does your compiler support function prototypes?
kusano 7d535a
 * (If not, you also need to use ansi2knr, see install.txt)
kusano 7d535a
 */
kusano 7d535a
#define HAVE_PROTOTYPES
kusano 7d535a
kusano 7d535a
/* Does your compiler support the declaration "unsigned char" ?
kusano 7d535a
 * How about "unsigned short" ?
kusano 7d535a
 */
kusano 7d535a
#define HAVE_UNSIGNED_CHAR
kusano 7d535a
#define HAVE_UNSIGNED_SHORT
kusano 7d535a
kusano 7d535a
/* Define "void" as "char" if your compiler doesn't know about type void.
kusano 7d535a
 * NOTE: be sure to define void such that "void *" represents the most general
kusano 7d535a
 * pointer type, e.g., that returned by malloc().
kusano 7d535a
 */
kusano 7d535a
/* #define void char */
kusano 7d535a
kusano 7d535a
/* Define "const" as empty if your compiler doesn't know the "const" keyword.
kusano 7d535a
 */
kusano 7d535a
/* #define const */
kusano 7d535a
kusano 7d535a
/* Define this if an ordinary "char" type is unsigned.
kusano 7d535a
 * If you're not sure, leaving it undefined will work at some cost in speed.
kusano 7d535a
 * If you defined HAVE_UNSIGNED_CHAR then the speed difference is minimal.
kusano 7d535a
 */
kusano 7d535a
#undef CHAR_IS_UNSIGNED
kusano 7d535a
kusano 7d535a
/* Define this if your system has an ANSI-conforming <stddef.h> file.</stddef.h>
kusano 7d535a
 */
kusano 7d535a
#define HAVE_STDDEF_H
kusano 7d535a
kusano 7d535a
/* Define this if your system has an ANSI-conforming <stdlib.h> file.</stdlib.h>
kusano 7d535a
 */
kusano 7d535a
#define HAVE_STDLIB_H
kusano 7d535a
kusano 7d535a
/* Define this if your system does not have an ANSI/SysV <string.h>,</string.h>
kusano 7d535a
 * but does have a BSD-style <strings.h>.</strings.h>
kusano 7d535a
 */
kusano 7d535a
#undef NEED_BSD_STRINGS
kusano 7d535a
kusano 7d535a
/* Define this if your system does not provide typedef size_t in any of the
kusano 7d535a
 * ANSI-standard places (stddef.h, stdlib.h, or stdio.h), but places it in
kusano 7d535a
 * <sys types.h=""> instead.</sys>
kusano 7d535a
 */
kusano 7d535a
#undef NEED_SYS_TYPES_H
kusano 7d535a
kusano 7d535a
/* For 80x86 machines, you need to define NEED_FAR_POINTERS,
kusano 7d535a
 * unless you are using a large-data memory model or 80386 flat-memory mode.
kusano 7d535a
 * On less brain-damaged CPUs this symbol must not be defined.
kusano 7d535a
 * (Defining this symbol causes large data structures to be referenced through
kusano 7d535a
 * "far" pointers and to be allocated with a special version of malloc.)
kusano 7d535a
 */
kusano 7d535a
#undef NEED_FAR_POINTERS
kusano 7d535a
kusano 7d535a
/* Define this if your linker needs global names to be unique in less
kusano 7d535a
 * than the first 15 characters.
kusano 7d535a
 */
kusano 7d535a
#undef NEED_SHORT_EXTERNAL_NAMES
kusano 7d535a
kusano 7d535a
/* Although a real ANSI C compiler can deal perfectly well with pointers to
kusano 7d535a
 * unspecified structures (see "incomplete types" in the spec), a few pre-ANSI
kusano 7d535a
 * and pseudo-ANSI compilers get confused.  To keep one of these bozos happy,
kusano 7d535a
 * define INCOMPLETE_TYPES_BROKEN.  This is not recommended unless you
kusano 7d535a
 * actually get "missing structure definition" warnings or errors while
kusano 7d535a
 * compiling the JPEG code.
kusano 7d535a
 */
kusano 7d535a
#undef INCOMPLETE_TYPES_BROKEN
kusano 7d535a
kusano 7d535a
/* Define "boolean" as unsigned char, not int, on Windows systems.
kusano 7d535a
 */
kusano 7d535a
#ifdef _WIN32
kusano 7d535a
#ifndef __RPCNDR_H__		/* don't conflict if rpcndr.h already read */
kusano 7d535a
typedef unsigned char boolean;
kusano 7d535a
#endif
kusano 7d535a
#define HAVE_BOOLEAN		/* prevent jmorecfg.h from redefining it */
kusano 7d535a
#endif
kusano 7d535a
kusano 7d535a
kusano 7d535a
/*
kusano 7d535a
 * The following options affect code selection within the JPEG library,
kusano 7d535a
 * but they don't need to be visible to applications using the library.
kusano 7d535a
 * To minimize application namespace pollution, the symbols won't be
kusano 7d535a
 * defined unless JPEG_INTERNALS has been defined.
kusano 7d535a
 */
kusano 7d535a
kusano 7d535a
#ifdef JPEG_INTERNALS
kusano 7d535a
kusano 7d535a
/* Define this if your compiler implements ">>" on signed values as a logical
kusano 7d535a
 * (unsigned) shift; leave it undefined if ">>" is a signed (arithmetic) shift,
kusano 7d535a
 * which is the normal and rational definition.
kusano 7d535a
 */
kusano 7d535a
#undef RIGHT_SHIFT_IS_UNSIGNED
kusano 7d535a
kusano 7d535a
kusano 7d535a
#endif /* JPEG_INTERNALS */
kusano 7d535a
kusano 7d535a
kusano 7d535a
/*
kusano 7d535a
 * The remaining options do not affect the JPEG library proper,
kusano 7d535a
 * but only the sample applications cjpeg/djpeg (see cjpeg.c, djpeg.c).
kusano 7d535a
 * Other applications can ignore these.
kusano 7d535a
 */
kusano 7d535a
kusano 7d535a
#ifdef JPEG_CJPEG_DJPEG
kusano 7d535a
kusano 7d535a
/* These defines indicate which image (non-JPEG) file formats are allowed. */
kusano 7d535a
kusano 7d535a
#define BMP_SUPPORTED		/* BMP image file format */
kusano 7d535a
#define GIF_SUPPORTED		/* GIF image file format */
kusano 7d535a
#define PPM_SUPPORTED		/* PBMPLUS PPM/PGM image file format */
kusano 7d535a
#undef RLE_SUPPORTED		/* Utah RLE image file format */
kusano 7d535a
#define TARGA_SUPPORTED		/* Targa image file format */
kusano 7d535a
kusano 7d535a
/* Define this if you want to name both input and output files on the command
kusano 7d535a
 * line, rather than using stdout and optionally stdin.  You MUST do this if
kusano 7d535a
 * your system can't cope with binary I/O to stdin/stdout.  See comments at
kusano 7d535a
 * head of cjpeg.c or djpeg.c.
kusano 7d535a
 */
kusano 7d535a
#undef TWO_FILE_COMMANDLINE
kusano 7d535a
kusano 7d535a
/* Define this if your system needs explicit cleanup of temporary files.
kusano 7d535a
 * This is crucial under MS-DOS, where the temporary "files" may be areas
kusano 7d535a
 * of extended memory; on most other systems it's not as important.
kusano 7d535a
 */
kusano 7d535a
#undef NEED_SIGNAL_CATCHER
kusano 7d535a
kusano 7d535a
/* By default, we open image files with fopen(...,"rb") or fopen(...,"wb").
kusano 7d535a
 * This is necessary on systems that distinguish text files from binary files,
kusano 7d535a
 * and is harmless on most systems that don't.  If you have one of the rare
kusano 7d535a
 * systems that complains about the "b" spec, define this symbol.
kusano 7d535a
 */
kusano 7d535a
#undef DONT_USE_B_MODE
kusano 7d535a
kusano 7d535a
/* Define this if you want percent-done progress reports from cjpeg/djpeg.
kusano 7d535a
 */
kusano 7d535a
#undef PROGRESS_REPORT
kusano 7d535a
kusano 7d535a
kusano 7d535a
#endif /* JPEG_CJPEG_DJPEG */