# scripts/pnglibconf.dfa - library build configuration control # @/*- pnglibconf.dfn intermediate file @ * generated from scripts/pnglibconf.dfa @ */ # com pnglibconf.h - library build configuration com com libpng version PNGLIB_VERSION - last changed on June 26, 2010 com com Copyright (c) 1998-2010 Glenn Randers-Pehrson com com This code is released under the libpng license. com For conditions of distribution and use, see the disclaimer com and license in png.h com file pnglibconf.h scripts/pnglibconf.dfa PNGLCONF_H # This file is preprocessed by scripts/options.awk and the # C compiler to generate 'pnglibconf.h' - a list of all the # configuration options. The file lists the various options # that can *only* be specified during the libpng build; # pnglibconf.h freezes the definitons selected for the specific # build. # # The syntax is detailed in scripts/options.awk, this is a summary # only: # # setting [requires ...] [default] # #define PNG_ /* value comes from current setting */ # option [requires ...] [if ...] [enables ...] [disabled] # #define PNG__SUPPORTED if the requirements are met and # enable the other options listed # chunk [requires ...] [disabled] # Enable chunk processing for the given ancillary chunk # # Note that the 'on' and 'off' keywords, while valid on both option # and chunk, should not be used in this file because they force the # relevant options on or off. #---------------------------------------------------------------------- # The following setting, option and chunk values can all be changed # while building libpng: # # setting: change 'setting' lines to fine tune library performance, # changes to the settings don't affect the libpng API functionally # # option: change 'option' lines to remove or add capabilities from # or to the library; options change the library API # # chunk: change 'chunk' lines to remove capabilities to process # optional ('ancillary') chunks. This does not prevent PNG # decoding but does change the libpng API because some chunks # will be ignored. # # There are three ways of disabling features, in no particular order: # # 1) Create 'pngusr.h', enter the required private build information # detailed below and #define PNG_NO_