mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[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:
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user