Blame gtkmm-osx/jpeg-6b/jconfig.doc

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