[devel] Added logunsupported=1 to cause pnglibconf.h to document disabled

options.  This makes the installed pnglibconf.h more readable but causes no
other change.  The intention is that users of libpng will find it
easier to understand if an API they need is missing.
This commit is contained in:
Glenn Randers-Pehrson
2010-04-28 21:26:57 -05:00
parent cf2fd3b6ca
commit 4a4de1899a
3 changed files with 14 additions and 1 deletions

View File

@@ -6,7 +6,7 @@
#
com pnglibconf.h - library build configuration
com
com libpng version PNGLIB_VERSION - last changed on April 28, 2010
com libpng version PNGLIB_VERSION - last changed on April 29, 2010
com
com Copyright (c) 1998-2010 Glenn Randers-Pehrson
com
@@ -99,6 +99,11 @@ file pnglibconf.h scripts/pnglibconf.dfa PNGLCONF_H
# libpng and need new or modified options/settings.
#----------------------------------------------------------------------
# The following causes commented out #undef lines to be written to
# pnglibconf.h, this can be stopped by logunsupported=0 in a later
# file or on the command line (after pnglibconf.dfa)
logunsupported = 1
# PNG_USER_CONFIG has to be defined on the compiler command line
# to cause pngusr.h to be read while constructing pnglibconf.h
#