From 294e38043863c0d3aabe7fb629404c1bac8ed9f5 Mon Sep 17 00:00:00 2001 From: Glenn Randers-Pehrson Date: Fri, 16 Apr 2010 22:20:18 -0500 Subject: [PATCH] [devel] scripts/pnglconf.dfa comment update, correct USER_CONFIG --- ANNOUNCE | 2 -- scripts/pnglconf.dfa | 73 ++++++++++++++++++++++++++++++++++++-------- 2 files changed, 61 insertions(+), 14 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index a7983d61b..988c17bdb 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -149,8 +149,6 @@ version 1.5.0beta17 [April 17, 2010] the PNG_DITHER_[RED,GREEN_BLUE]_BITS macros to PNG_QUANTIZE_[RED,GREEN,BLUE]_BITS. Added some "(long)" typecasts to printf calls in png_handle_cHRM(). - -version 1.5.0freeze01 [April 17, 2010] Freeze build-time only configuration in the build. In all prior versions of libpng most configuration options controlled by compiler #defines had to be repeated by the diff --git a/scripts/pnglconf.dfa b/scripts/pnglconf.dfa index bf7fd63c8..31322058b 100644 --- a/scripts/pnglconf.dfa +++ b/scripts/pnglconf.dfa @@ -36,6 +36,58 @@ file pnglconf.h scripts/pnglconf.dfa PNGLCONF_H #---------------------------------------------------------------------- +# 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 order of correctness: +# +# 1) Create 'pngusr.h', enter the required private build information +# detailed below and #define PNG_NO_