Alien-SDL2

 view release on metacpan or  search on metacpan

patches/libpng-1.6.3-hack.patch  view on Meta::CPAN

+ PNG_DFN "/* and license in png.h */" 
+ PNG_DFN "" 
+ PNG_DFN "/* pnglibconf.h */" 
+ PNG_DFN "/* Machine generated file: DO NOT EDIT */" 
+ PNG_DFN "/* Derived from: scripts/pnglibconf.dfa */" 
+ PNG_DFN "#ifndef PNGLCONF_H" 
+ PNG_DFN "#define PNGLCONF_H" 
+#if defined(HAVE_CONFIG_H) && !defined(PNG_NO_CONFIG_H)
+# include "config.h"
+#endif
+#ifdef PNG_USER_CONFIG
+# include "pngusr.h"
+#endif
+#ifdef __WATCOMC__
+# ifndef PNG_API_RULE
+# define PNG_API_RULE 2 /* Use Watcom calling conventions */
+# endif
+#endif
+/*# include <zlib.h>*/
+#ifdef PNG_SETJMP_NOT_SUPPORTED
+#   define PNG_NO_SETJMP
+#endif
+#ifdef PNG_SAFE_LIMITS
+#   define PNG_SAFE_LIMITS_SUPPORTED
+#endif
+#ifdef PNG_READ_TRANSFORMS_NOT_SUPPORTED
+#   define PNG_NO_READ_TRANSFORMS
+#endif
+#ifdef PNG_NO_READ_COMPOSITED_NODIV
+#   define PNG_NO_READ_COMPOSITE_NODIV
+#endif
+#ifdef PNG_INCH_CONVERSIONS
+#   define PNG_INCH_CONVERSIONS_SUPPORTED
+#endif
+#ifdef PNG_WRITE_TRANSFORMS_NOT_SUPPORTED
+#   define PNG_NO_WRITE_TRANSFORMS
+#endif
+#ifdef PNG_READ_ANCILLARY_CHUNKS_NOT_SUPPORTED
+#   define PNG_NO_READ_ANCILLARY_CHUNKS
+#endif
+#ifdef PNG_WRITE_ANCILLARY_CHUNKS_NOT_SUPPORTED
+#   define PNG_NO_WRITE_ANCILLARY_CHUNKS
+#endif
+#ifdef _WIN32_WCE
+# define PNG_NO_CONVERT_tIME
+#endif
+
+/* OPTIONS */
+ PNG_DFN "/* options */" 
+PNG_DFN_START_SORT 2
+
+/* option: UNKNOWN_CHUNKS enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_UNKNOWN_CHUNKS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_UNKNOWN_CHUNKS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_UNKNOWN_CHUNKS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_UNKNOWN_CHUNKS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_UNKNOWN_CHUNKS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_UNKNOWN_CHUNKS_SUPPORTED*/" 
+#endif
+
+/* option: INFO_IMAGE enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_INFO_IMAGE_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_INFO_IMAGE
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_INFO_IMAGE_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_INFO_IMAGE_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_INFO_IMAGE_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_INFO_IMAGE_SUPPORTED*/" 
+#endif
+
+/* option: SET_UNKNOWN_CHUNKS enabled
+ *   requires:   UNKNOWN_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_UNKNOWN_CHUNKS_SUPPORTED
+#   undef PNG_on /*!UNKNOWN_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_SET_UNKNOWN_CHUNKS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_SET_UNKNOWN_CHUNKS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_SET_UNKNOWN_CHUNKS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_SET_UNKNOWN_CHUNKS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_SET_UNKNOWN_CHUNKS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_SET_UNKNOWN_CHUNKS_SUPPORTED*/" 
+#endif
+
+/* option: GET_PALETTE_MAX enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_GET_PALETTE_MAX_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_GET_PALETTE_MAX
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_GET_PALETTE_MAX_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_GET_PALETTE_MAX_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_GET_PALETTE_MAX_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_GET_PALETTE_MAX_SUPPORTED*/" 
+#endif
+
+/* option: POINTER_INDEXING enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_POINTER_INDEXING_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_POINTER_INDEXING
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_POINTER_INDEXING_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_POINTER_INDEXING_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_POINTER_INDEXING_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_POINTER_INDEXING_SUPPORTED*/" 
+#endif
+
+/* option: WARNINGS enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WARNINGS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WARNINGS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WARNINGS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WARNINGS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WARNINGS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WARNINGS_SUPPORTED*/" 
+#endif
+
+/* option: FLOATING_ARITHMETIC enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_FLOATING_ARITHMETIC_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_FLOATING_ARITHMETIC
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_FLOATING_ARITHMETIC_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_FLOATING_ARITHMETIC_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_FLOATING_ARITHMETIC_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_FLOATING_ARITHMETIC_SUPPORTED*/" 
+#endif
+
+/* option: WRITE enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_INTERLACING enabled
+ *   requires:   WRITE
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_SUPPORTED
+#   undef PNG_on /*!WRITE*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_INTERLACING_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_INTERLACING
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_INTERLACING_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_INTERLACING_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_INTERLACING_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_INTERLACING_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_16BIT enabled
+ *   requires:   WRITE
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_SUPPORTED
+#   undef PNG_on /*!WRITE*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_16BIT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_16BIT
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_16BIT_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_16BIT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_16BIT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_16BIT_SUPPORTED*/" 
+#endif
+
+/* option: EASY_ACCESS enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_EASY_ACCESS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_EASY_ACCESS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_EASY_ACCESS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_EASY_ACCESS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_EASY_ACCESS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_EASY_ACCESS_SUPPORTED*/" 
+#endif
+
+/* option: CHECK_FOR_INVALID_INDEX enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_CHECK_FOR_INVALID_INDEX_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_CHECK_FOR_INVALID_INDEX
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_CHECK_FOR_INVALID_INDEX_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_CHECK_FOR_INVALID_INDEX_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_CHECK_FOR_INVALID_INDEX_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_CHECK_FOR_INVALID_INDEX_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_WEIGHTED_FILTER enabled
+ *   requires:   WRITE
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_SUPPORTED
+#   undef PNG_on /*!WRITE*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_WEIGHTED_FILTER_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_WEIGHTED_FILTER
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_WEIGHTED_FILTER_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_WEIGHTED_FILTER_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_WEIGHTED_FILTER_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_WEIGHTED_FILTER_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_UNKNOWN_CHUNKS enabled
+ *   requires:   WRITE UNKNOWN_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_SUPPORTED
+#   undef PNG_on /*!WRITE*/
+#endif
+#ifndef PNG_UNKNOWN_CHUNKS_SUPPORTED
+#   undef PNG_on /*!UNKNOWN_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_UNKNOWN_CHUNKS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_UNKNOWN_CHUNKS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_UNKNOWN_CHUNKS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_UNKNOWN_CHUNKS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_UNKNOWN_CHUNKS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_UNKNOWN_CHUNKS_SUPPORTED*/" 
+#endif
+
+/* option: BUILD_GRAYSCALE_PALETTE enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_BUILD_GRAYSCALE_PALETTE_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_BUILD_GRAYSCALE_PALETTE
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_BUILD_GRAYSCALE_PALETTE_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_BUILD_GRAYSCALE_PALETTE_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_BUILD_GRAYSCALE_PALETTE_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_BUILD_GRAYSCALE_PALETTE_SUPPORTED*/" 
+#endif
+
+/* option: FIXED_POINT enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_FIXED_POINT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_FIXED_POINT
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_FIXED_POINT_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_FIXED_POINT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_FIXED_POINT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_FIXED_POINT_SUPPORTED*/" 
+#endif
+
+/* option: ERROR_NUMBERS disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_ERROR_NUMBERS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_ERROR_NUMBERS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_ERROR_NUMBERS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_ERROR_NUMBERS_SUPPORTED*/" 
+#endif
+
+/* option: ERROR_TEXT enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_ERROR_TEXT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_ERROR_TEXT
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_ERROR_TEXT_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_ERROR_TEXT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_ERROR_TEXT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_ERROR_TEXT_SUPPORTED*/" 
+#endif
+
+/* option: READ enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_SUPPORTED*/" 
+#endif
+
+/* option: BENIGN_ERRORS enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_BENIGN_ERRORS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_BENIGN_ERRORS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_BENIGN_ERRORS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_BENIGN_ERRORS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_BENIGN_ERRORS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_BENIGN_ERRORS_SUPPORTED*/" 
+#endif
+
+/* option: SETJMP enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_SETJMP_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_SETJMP
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_SETJMP_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_SETJMP_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_SETJMP_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_SETJMP_SUPPORTED*/" 
+#endif
+
+/* option: TIME_RFC1123 enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_TIME_RFC1123_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_TIME_RFC1123
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_TIME_RFC1123_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_TIME_RFC1123_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_TIME_RFC1123_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_TIME_RFC1123_SUPPORTED*/" 
+#endif
+
+/* option: BENIGN_READ_ERRORS enabled
+ *   requires:   BENIGN_ERRORS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_BENIGN_ERRORS_SUPPORTED
+#   undef PNG_on /*!BENIGN_ERRORS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_BENIGN_READ_ERRORS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_BENIGN_READ_ERRORS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_BENIGN_READ_ERRORS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_BENIGN_READ_ERRORS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_BENIGN_READ_ERRORS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_BENIGN_READ_ERRORS_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_FLUSH enabled
+ *   requires:   WRITE
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_SUPPORTED
+#   undef PNG_on /*!WRITE*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_FLUSH_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_FLUSH
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_FLUSH_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_FLUSH_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_FLUSH_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_FLUSH_SUPPORTED*/" 
+#endif
+
+/* option: MNG_FEATURES enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_MNG_FEATURES_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_MNG_FEATURES
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_MNG_FEATURES_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_MNG_FEATURES_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_MNG_FEATURES_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_MNG_FEATURES_SUPPORTED*/" 
+#endif
+
+/* option: SAFE_LIMITS disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_SAFE_LIMITS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_SAFE_LIMITS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_SAFE_LIMITS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_SAFE_LIMITS_SUPPORTED*/" 
+#endif
+
+/* option: ALIGNED_MEMORY enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_ALIGNED_MEMORY_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_ALIGNED_MEMORY
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_ALIGNED_MEMORY_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_ALIGNED_MEMORY_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_ALIGNED_MEMORY_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_ALIGNED_MEMORY_SUPPORTED*/" 
+#endif
+
+/* option: FLOATING_POINT enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_FLOATING_POINT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_FLOATING_POINT
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_FLOATING_POINT_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_FLOATING_POINT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_FLOATING_POINT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_FLOATING_POINT_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_OPTIMIZE_CMF enabled
+ *   requires:   WRITE
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_SUPPORTED
+#   undef PNG_on /*!WRITE*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_OPTIMIZE_CMF_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_OPTIMIZE_CMF
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_OPTIMIZE_CMF_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_OPTIMIZE_CMF_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_OPTIMIZE_CMF_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_OPTIMIZE_CMF_SUPPORTED*/" 
+#endif
+
+/* option: INCH_CONVERSIONS enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_INCH_CONVERSIONS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_INCH_CONVERSIONS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_INCH_CONVERSIONS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_INCH_CONVERSIONS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_INCH_CONVERSIONS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_INCH_CONVERSIONS_SUPPORTED*/" 
+#endif
+
+/* option: STDIO enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_STDIO_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_STDIO
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_STDIO_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_STDIO_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_STDIO_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_STDIO_SUPPORTED*/" 
+#endif
+
+/* option: USER_MEM enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_USER_MEM_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_USER_MEM
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_USER_MEM_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_USER_MEM_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_USER_MEM_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_USER_MEM_SUPPORTED*/" 
+#endif
+
+/* option: IO_STATE enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_IO_STATE_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_IO_STATE
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_IO_STATE_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_IO_STATE_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_IO_STATE_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_IO_STATE_SUPPORTED*/" 
+#endif
+
+/* option: ARM_NEON_CHECK disabled
+ *   requires:   ALIGNED_MEMORY
+ *   if:        
+ *   enabled-by:
+ *   sets:       ARM_NEON_OPT */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_ALIGNED_MEMORY_SUPPORTED
+#   undef PNG_on /*!ALIGNED_MEMORY*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_ARM_NEON_CHECK_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_ARM_NEON_CHECK_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_ARM_NEON_CHECK_SUPPORTED" 
+#    ifdef PNG_set_ARM_NEON_OPT
+ PNG_DFN "ERROR: ARM_NEON_CHECK sets ARM_NEON_OPT: duplicate setting" 
+ PNG_DFN "ERROR:    previous value: " PNG_set_ARM_NEON_OPT
+#    else
+#     define PNG_set_ARM_NEON_OPT  1
+#    endif
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_ARM_NEON_CHECK_SUPPORTED*/" 
+#endif
+
+/* option: READ_ANCILLARY_CHUNKS enabled
+ *   requires:   READ
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_SUPPORTED
+#   undef PNG_on /*!READ*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_ANCILLARY_CHUNKS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_ANCILLARY_CHUNKS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_ANCILLARY_CHUNKS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_INT_FUNCTIONS disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: WRITE
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by WRITE */
+#ifdef PNG_WRITE_SUPPORTED
+#   undef PNG_not_enabled /*WRITE*/
+#endif
+#   ifndef PNG_WRITE_INT_FUNCTIONS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_INT_FUNCTIONS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_INT_FUNCTIONS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_INT_FUNCTIONS_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_ANCILLARY_CHUNKS enabled
+ *   requires:   WRITE
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_SUPPORTED
+#   undef PNG_on /*!WRITE*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_ANCILLARY_CHUNKS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_FILTER enabled
+ *   requires:   WRITE
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_SUPPORTED
+#   undef PNG_on /*!WRITE*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_FILTER_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_FILTER
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_FILTER_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_FILTER_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_FILTER_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_FILTER_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_zTXt enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_zTXt_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_zTXt
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_zTXt_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_zTXt_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_zTXt_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_zTXt_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_iCCP enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_iCCP_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_iCCP
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_iCCP_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_iCCP_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_iCCP_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_iCCP_SUPPORTED*/" 
+#endif
+
+/* option: READ_TRANSFORMS enabled
+ *   requires:   READ
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_SUPPORTED
+#   undef PNG_on /*!READ*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_TRANSFORMS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_TRANSFORMS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_TRANSFORMS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_TRANSFORMS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_TRANSFORMS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_TRANSFORMS_SUPPORTED*/" 
+#endif
+
+/* option: READ_bKGD enabled
+ *   requires:   READ_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_bKGD_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_bKGD
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_bKGD_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_bKGD_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_bKGD_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_bKGD_SUPPORTED*/" 
+#endif
+
+/* option: READ_sCAL enabled
+ *   requires:   READ_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_sCAL_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_sCAL
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_sCAL_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_sCAL_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_sCAL_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_sCAL_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_hIST enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_hIST_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_hIST
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_hIST_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_hIST_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_hIST_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_hIST_SUPPORTED*/" 
+#endif
+
+/* option: HANDLE_AS_UNKNOWN enabled
+ *   requires:   SET_UNKNOWN_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_SET_UNKNOWN_CHUNKS_SUPPORTED
+#   undef PNG_on /*!SET_UNKNOWN_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_HANDLE_AS_UNKNOWN_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_HANDLE_AS_UNKNOWN
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_HANDLE_AS_UNKNOWN_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_HANDLE_AS_UNKNOWN_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_HANDLE_AS_UNKNOWN_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_HANDLE_AS_UNKNOWN_SUPPORTED*/" 
+#endif
+
+/* option: READ_OPT_PLTE enabled
+ *   requires:   READ_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_OPT_PLTE_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_OPT_PLTE
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_OPT_PLTE_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_OPT_PLTE_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_OPT_PLTE_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_OPT_PLTE_SUPPORTED*/" 
+#endif
+
+/* option: SIMPLIFIED_WRITE enabled
+ *   requires:   WRITE STDIO SETJMP
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_SUPPORTED
+#   undef PNG_on /*!WRITE*/
+#endif
+#ifndef PNG_STDIO_SUPPORTED
+#   undef PNG_on /*!STDIO*/
+#endif
+#ifndef PNG_SETJMP_SUPPORTED
+#   undef PNG_on /*!SETJMP*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_SIMPLIFIED_WRITE_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_SIMPLIFIED_WRITE
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_SIMPLIFIED_WRITE_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_SIMPLIFIED_WRITE_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_SIMPLIFIED_WRITE_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_SIMPLIFIED_WRITE_SUPPORTED*/" 
+#endif
+
+/* option: READ_GRAY_TO_RGB enabled
+ *   requires:   READ_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_GRAY_TO_RGB_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_GRAY_TO_RGB
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_GRAY_TO_RGB_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_GRAY_TO_RGB_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_GRAY_TO_RGB_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_GRAY_TO_RGB_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_pCAL enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_pCAL_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_pCAL
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_pCAL_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_pCAL_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_pCAL_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_pCAL_SUPPORTED*/" 
+#endif
+
+/* option: READ_INVERT_ALPHA enabled
+ *   requires:   READ_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_INVERT_ALPHA_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_INVERT_ALPHA
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_INVERT_ALPHA_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_INVERT_ALPHA_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_INVERT_ALPHA_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_INVERT_ALPHA_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_TRANSFORMS enabled
+ *   requires:   WRITE
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_SUPPORTED
+#   undef PNG_on /*!WRITE*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_TRANSFORMS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_TRANSFORMS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_TRANSFORMS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_TRANSFORMS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_TRANSFORMS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_TRANSFORMS_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_CHECK_FOR_INVALID_INDEX enabled
+ *   requires:   WRITE CHECK_FOR_INVALID_INDEX
+ *   if:        
+ *   enabled-by: CHECK_FOR_INVALID_INDEX
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_SUPPORTED
+#   undef PNG_on /*!WRITE*/
+#endif
+#ifndef PNG_CHECK_FOR_INVALID_INDEX_SUPPORTED
+#   undef PNG_on /*!CHECK_FOR_INVALID_INDEX*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by CHECK_FOR_INVALID_INDEX */
+#ifdef PNG_CHECK_FOR_INVALID_INDEX_SUPPORTED
+#   undef PNG_not_enabled /*CHECK_FOR_INVALID_INDEX*/
+#endif
+#   ifndef PNG_WRITE_CHECK_FOR_INVALID_INDEX_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_CHECK_FOR_INVALID_INDEX
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_CHECK_FOR_INVALID_INDEX_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_CHECK_FOR_INVALID_INDEX_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_CHECK_FOR_INVALID_INDEX_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_CHECK_FOR_INVALID_INDEX_SUPPORTED*/" 
+#endif
+
+/* option: READ_sBIT enabled
+ *   requires:   READ_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_sBIT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_sBIT
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_sBIT_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_sBIT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_sBIT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_sBIT_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_CUSTOMIZE_ZTXT_COMPRESSION enabled
+ *   requires:   WRITE
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_SUPPORTED
+#   undef PNG_on /*!WRITE*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_CUSTOMIZE_ZTXT_COMPRESSION
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_CUSTOMIZE_ZTXT_COMPRESSION_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION_SUPPORTED*/" 
+#endif
+
+/* option: READ_PACK enabled
+ *   requires:   READ_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_PACK_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_PACK
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_PACK_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_PACK_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_PACK_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_PACK_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_iTXt enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_iTXt_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_iTXt
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_iTXt_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_iTXt_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_iTXt_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_iTXt_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_SWAP enabled
+ *   requires:   WRITE_TRANSFORMS WRITE_16BIT
+ *   if:        
+ *   enabled-by: SIMPLIFIED_WRITE
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!WRITE_TRANSFORMS*/
+#endif
+#ifndef PNG_WRITE_16BIT_SUPPORTED
+#   undef PNG_on /*!WRITE_16BIT*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by SIMPLIFIED_WRITE */
+#ifdef PNG_SIMPLIFIED_WRITE_SUPPORTED
+#   undef PNG_not_enabled /*SIMPLIFIED_WRITE*/
+#endif
+#   ifndef PNG_WRITE_SWAP_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_SWAP
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_SWAP_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_SWAP_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_SWAP_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_SWAP_SUPPORTED*/" 
+#endif
+
+/* option: READ_cHRM enabled
+ *   requires:   READ_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_cHRM_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_cHRM
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_cHRM_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_cHRM_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_cHRM_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_cHRM_SUPPORTED*/" 
+#endif
+
+/* option: READ_STRIP_16_TO_8 enabled
+ *   requires:   READ_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_STRIP_16_TO_8_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_STRIP_16_TO_8
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_STRIP_16_TO_8_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_STRIP_16_TO_8_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_STRIP_16_TO_8_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_STRIP_16_TO_8_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_tIME enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_tIME_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_tIME
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_tIME_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_tIME_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_tIME_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_tIME_SUPPORTED*/" 
+#endif
+
+/* option: READ_INTERLACING disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ */
+#ifdef PNG_READ_SUPPORTED
+#   undef PNG_not_enabled /*READ*/
+#endif
+#   ifndef PNG_READ_INTERLACING_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_INTERLACING_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_INTERLACING_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_INTERLACING_SUPPORTED*/" 
+#endif
+
+/* option: READ_tRNS enabled
+ *   requires:   READ_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_tRNS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_tRNS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_tRNS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_tRNS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_tRNS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_tRNS_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_pHYs enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_pHYs_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_pHYs
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_pHYs_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_pHYs_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_pHYs_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_pHYs_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_INVERT enabled
+ *   requires:   WRITE_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!WRITE_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_INVERT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_INVERT
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_INVERT_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_INVERT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_INVERT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_INVERT_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_sRGB enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by: SIMPLIFIED_WRITE
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by SIMPLIFIED_WRITE */
+#ifdef PNG_SIMPLIFIED_WRITE_SUPPORTED
+#   undef PNG_not_enabled /*SIMPLIFIED_WRITE*/
+#endif
+#   ifndef PNG_WRITE_sRGB_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_sRGB
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_sRGB_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_sRGB_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_sRGB_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_sRGB_SUPPORTED*/" 
+#endif
+
+/* option: READ_oFFs enabled
+ *   requires:   READ_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_oFFs_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_oFFs
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_oFFs_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_oFFs_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_oFFs_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_oFFs_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_FILLER enabled
+ *   requires:   WRITE_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!WRITE_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_FILLER_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_FILLER
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_FILLER_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_FILLER_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_FILLER_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_FILLER_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_SHIFT enabled
+ *   requires:   WRITE_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!WRITE_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_SHIFT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_SHIFT
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_SHIFT_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_SHIFT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_SHIFT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_SHIFT_SUPPORTED*/" 
+#endif
+
+/* option: PROGRESSIVE_READ enabled
+ *   requires:   READ
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_SUPPORTED
+#   undef PNG_on /*!READ*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_PROGRESSIVE_READ_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_PROGRESSIVE_READ
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_PROGRESSIVE_READ_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_PROGRESSIVE_READ_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_PROGRESSIVE_READ_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_PROGRESSIVE_READ_SUPPORTED*/" 
+#endif
+
+/* option: READ_SHIFT enabled
+ *   requires:   READ_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_SHIFT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_SHIFT
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_SHIFT_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_SHIFT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_SHIFT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_SHIFT_SUPPORTED*/" 
+#endif
+
+/* option: CONVERT_tIME enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_CONVERT_tIME_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_CONVERT_tIME
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_CONVERT_tIME_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_CONVERT_tIME_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_CONVERT_tIME_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_CONVERT_tIME_SUPPORTED*/" 
+#endif
+
+/* option: READ_USER_TRANSFORM enabled
+ *   requires:   READ_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_USER_TRANSFORM_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_USER_TRANSFORM
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_USER_TRANSFORM_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_USER_TRANSFORM_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_USER_TRANSFORM_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_USER_TRANSFORM_SUPPORTED*/" 
+#endif
+
+/* option: READ_INT_FUNCTIONS enabled
+ *   requires:   READ
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_SUPPORTED
+#   undef PNG_on /*!READ*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_INT_FUNCTIONS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_INT_FUNCTIONS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_INT_FUNCTIONS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_INT_FUNCTIONS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_INT_FUNCTIONS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_INT_FUNCTIONS_SUPPORTED*/" 
+#endif
+
+/* option: READ_USER_CHUNKS enabled
+ *   requires:   READ UNKNOWN_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_SUPPORTED
+#   undef PNG_on /*!READ*/
+#endif
+#ifndef PNG_UNKNOWN_CHUNKS_SUPPORTED
+#   undef PNG_on /*!UNKNOWN_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_USER_CHUNKS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_USER_CHUNKS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_USER_CHUNKS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_USER_CHUNKS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_USER_CHUNKS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_USER_CHUNKS_SUPPORTED*/" 
+#endif
+
+/* option: READ_hIST enabled
+ *   requires:   READ_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_hIST_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_hIST
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_hIST_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_hIST_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_hIST_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_hIST_SUPPORTED*/" 
+#endif
+
+/* option: READ_SWAP_ALPHA enabled
+ *   requires:   READ_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_SWAP_ALPHA_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_SWAP_ALPHA
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_SWAP_ALPHA_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_SWAP_ALPHA_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_SWAP_ALPHA_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_SWAP_ALPHA_SUPPORTED*/" 
+#endif
+
+/* option: READ_COMPOSITE_NODIV enabled
+ *   requires:   READ
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_SUPPORTED
+#   undef PNG_on /*!READ*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_COMPOSITE_NODIV_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_COMPOSITE_NODIV
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_COMPOSITE_NODIV_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_COMPOSITE_NODIV_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_COMPOSITE_NODIV_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_COMPOSITE_NODIV_SUPPORTED*/" 
+#endif
+
+/* option: SEQUENTIAL_READ enabled
+ *   requires:   READ
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_SUPPORTED
+#   undef PNG_on /*!READ*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_SEQUENTIAL_READ_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_SEQUENTIAL_READ
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_SEQUENTIAL_READ_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_SEQUENTIAL_READ_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_SEQUENTIAL_READ_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_SEQUENTIAL_READ_SUPPORTED*/" 
+#endif
+
+/* option: READ_QUANTIZE enabled
+ *   requires:   READ
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_SUPPORTED
+#   undef PNG_on /*!READ*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_QUANTIZE_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_QUANTIZE
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_QUANTIZE_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_QUANTIZE_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_QUANTIZE_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_QUANTIZE_SUPPORTED*/" 
+#endif
+
+/* option: READ_zTXt enabled
+ *   requires:   READ_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_zTXt_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_zTXt
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_zTXt_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_zTXt_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_zTXt_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_zTXt_SUPPORTED*/" 
+#endif
+
+/* option: USER_LIMITS enabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: SAFE_LIMITS
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by SAFE_LIMITS */
+#ifdef PNG_SAFE_LIMITS_SUPPORTED
+#   undef PNG_not_enabled /*SAFE_LIMITS*/
+#endif
+#   ifndef PNG_USER_LIMITS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_USER_LIMITS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_USER_LIMITS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_USER_LIMITS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_USER_LIMITS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_USER_LIMITS_SUPPORTED*/" 
+#endif
+
+/* option: READ_iCCP enabled
+ *   requires:   READ_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_iCCP_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_iCCP
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_iCCP_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_iCCP_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_iCCP_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_iCCP_SUPPORTED*/" 
+#endif
+
+/* option: READ_PACKSWAP enabled
+ *   requires:   READ_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_PACKSWAP_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_PACKSWAP
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_PACKSWAP_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_PACKSWAP_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_PACKSWAP_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_PACKSWAP_SUPPORTED*/" 
+#endif
+
+/* option: READ_sRGB enabled
+ *   requires:   READ_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_sRGB_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_sRGB
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_sRGB_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_sRGB_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_sRGB_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_sRGB_SUPPORTED*/" 
+#endif
+
+/* option: READ_CHECK_FOR_INVALID_INDEX enabled
+ *   requires:   READ CHECK_FOR_INVALID_INDEX
+ *   if:        
+ *   enabled-by: CHECK_FOR_INVALID_INDEX
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_SUPPORTED
+#   undef PNG_on /*!READ*/
+#endif
+#ifndef PNG_CHECK_FOR_INVALID_INDEX_SUPPORTED
+#   undef PNG_on /*!CHECK_FOR_INVALID_INDEX*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by CHECK_FOR_INVALID_INDEX */
+#ifdef PNG_CHECK_FOR_INVALID_INDEX_SUPPORTED
+#   undef PNG_not_enabled /*CHECK_FOR_INVALID_INDEX*/
+#endif
+#   ifndef PNG_READ_CHECK_FOR_INVALID_INDEX_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_CHECK_FOR_INVALID_INDEX
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_CHECK_FOR_INVALID_INDEX_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_CHECK_FOR_INVALID_INDEX_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_CHECK_FOR_INVALID_INDEX_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_CHECK_FOR_INVALID_INDEX_SUPPORTED*/" 
+#endif
+
+/* option: READ_gAMA enabled
+ *   requires:   READ_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_gAMA_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_gAMA
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_gAMA_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_gAMA_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_gAMA_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_gAMA_SUPPORTED*/" 
+#endif
+
+/* option: ok_math disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: FLOATING_POINT FIXED_POINT
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by FLOATING_POINT FIXED_POINT */
+#ifdef PNG_FLOATING_POINT_SUPPORTED
+#   undef PNG_not_enabled /*FLOATING_POINT*/
+#endif
+#ifdef PNG_FIXED_POINT_SUPPORTED
+#   undef PNG_not_enabled /*FIXED_POINT*/
+#endif
+#   ifndef PNG_ok_math_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_ok_math_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_ok_math_SUPPORTED*/" 
+ PNG_DFN "ERROR: ok_math not enabled: requires:, enabled by: FLOATING_POINT FIXED_POINT" 
+#endif
+
+/* option: READ_pCAL enabled
+ *   requires:   READ_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_pCAL_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_pCAL
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_pCAL_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_pCAL_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_pCAL_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_pCAL_SUPPORTED*/" 
+#endif
+
+/* option: SAVE_UNKNOWN_CHUNKS enabled
+ *   requires:   READ SET_UNKNOWN_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_SUPPORTED
+#   undef PNG_on /*!READ*/
+#endif
+#ifndef PNG_SET_UNKNOWN_CHUNKS_SUPPORTED
+#   undef PNG_on /*!SET_UNKNOWN_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_SAVE_UNKNOWN_CHUNKS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_SAVE_UNKNOWN_CHUNKS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_SAVE_UNKNOWN_CHUNKS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_SAVE_UNKNOWN_CHUNKS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_SAVE_UNKNOWN_CHUNKS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_SAVE_UNKNOWN_CHUNKS_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_sPLT enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_sPLT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_sPLT
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_sPLT_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_sPLT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_sPLT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_sPLT_SUPPORTED*/" 
+#endif
+
+/* option: READ_iTXt enabled
+ *   requires:   READ_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_iTXt_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_iTXt
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_iTXt_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_iTXt_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_iTXt_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_iTXt_SUPPORTED*/" 
+#endif
+
+/* option: BENIGN_WRITE_ERRORS disabled
+ *   requires:   BENIGN_ERRORS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_BENIGN_ERRORS_SUPPORTED
+#   undef PNG_on /*!BENIGN_ERRORS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_BENIGN_WRITE_ERRORS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_BENIGN_WRITE_ERRORS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_BENIGN_WRITE_ERRORS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_BENIGN_WRITE_ERRORS_SUPPORTED*/" 
+#endif
+
+/* option: READ_tIME enabled
+ *   requires:   READ_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_tIME_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_tIME
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_tIME_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_tIME_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_tIME_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_tIME_SUPPORTED*/" 
+#endif
+
+/* option: READ_pHYs enabled
+ *   requires:   READ_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_pHYs_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_pHYs
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_pHYs_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_pHYs_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_pHYs_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_pHYs_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_SWAP_ALPHA enabled
+ *   requires:   WRITE_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!WRITE_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_SWAP_ALPHA_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_SWAP_ALPHA
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_SWAP_ALPHA_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_SWAP_ALPHA_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_SWAP_ALPHA_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_SWAP_ALPHA_SUPPORTED*/" 
+#endif
+
+/* option: ARM_NEON_API disabled
+ *   requires:   ALIGNED_MEMORY
+ *   if:        
+ *   enabled-by:
+ *   sets:       ARM_NEON_OPT */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_ALIGNED_MEMORY_SUPPORTED
+#   undef PNG_on /*!ALIGNED_MEMORY*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_ARM_NEON_API_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_ARM_NEON_API_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_ARM_NEON_API_SUPPORTED" 
+#    ifdef PNG_set_ARM_NEON_OPT
+ PNG_DFN "ERROR: ARM_NEON_API sets ARM_NEON_OPT: duplicate setting" 
+ PNG_DFN "ERROR:    previous value: " PNG_set_ARM_NEON_OPT
+#    else
+#     define PNG_set_ARM_NEON_OPT  1
+#    endif
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_ARM_NEON_API_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_BGR enabled
+ *   requires:   WRITE_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!WRITE_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_BGR_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_BGR
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_BGR_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_BGR_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_BGR_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_BGR_SUPPORTED*/" 
+#endif
+
+/* option: USER_CHUNKS disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_USER_CHUNKS
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_USER_CHUNKS */
+#ifdef PNG_READ_USER_CHUNKS_SUPPORTED
+#   undef PNG_not_enabled /*READ_USER_CHUNKS*/
+#endif
+#   ifndef PNG_USER_CHUNKS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_USER_CHUNKS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_USER_CHUNKS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_USER_CHUNKS_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_GET_PALETTE_MAX disabled
+ *   requires:   WRITE_CHECK_FOR_INVALID_INDEX
+ *   if:        
+ *   enabled-by: GET_PALETTE_MAX
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_CHECK_FOR_INVALID_INDEX_SUPPORTED
+#   undef PNG_on /*!WRITE_CHECK_FOR_INVALID_INDEX*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by GET_PALETTE_MAX */
+#ifdef PNG_GET_PALETTE_MAX_SUPPORTED
+#   undef PNG_not_enabled /*GET_PALETTE_MAX*/
+#endif
+#   ifndef PNG_WRITE_GET_PALETTE_MAX_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_GET_PALETTE_MAX_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_GET_PALETTE_MAX_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_GET_PALETTE_MAX_SUPPORTED*/" 
+#endif
+
+/* option: CONSOLE_IO enabled
+ *   requires:   STDIO
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_STDIO_SUPPORTED
+#   undef PNG_on /*!STDIO*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_CONSOLE_IO_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_CONSOLE_IO
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_CONSOLE_IO_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_CONSOLE_IO_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_CONSOLE_IO_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_CONSOLE_IO_SUPPORTED*/" 
+#endif
+
+/* option: SET_OPTION disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: ARM_NEON_API READ
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by ARM_NEON_API READ */
+#ifdef PNG_ARM_NEON_API_SUPPORTED
+#   undef PNG_not_enabled /*ARM_NEON_API*/
+#endif
+#ifdef PNG_READ_SUPPORTED
+#   undef PNG_not_enabled /*READ*/
+#endif
+#   ifndef PNG_SET_OPTION_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_SET_OPTION_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_SET_OPTION_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_SET_OPTION_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_COMPRESSED_TEXT disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: WRITE_iCCP WRITE_iTXt WRITE_zTXt
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by WRITE_iCCP WRITE_iTXt WRITE_zTXt */
+#ifdef PNG_WRITE_iCCP_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_iCCP*/
+#endif
+#ifdef PNG_WRITE_iTXt_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_iTXt*/
+#endif
+#ifdef PNG_WRITE_zTXt_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_zTXt*/
+#endif
+#   ifndef PNG_WRITE_COMPRESSED_TEXT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_COMPRESSED_TEXT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_COMPRESSED_TEXT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_COMPRESSED_TEXT_SUPPORTED*/" 
+#endif
+
+/* option: READ_UNKNOWN_CHUNKS disabled
+ *   requires:   UNKNOWN_CHUNKS
+ *   if:        
+ *   enabled-by: SAVE_UNKNOWN_CHUNKS READ_USER_CHUNKS
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_UNKNOWN_CHUNKS_SUPPORTED
+#   undef PNG_on /*!UNKNOWN_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by SAVE_UNKNOWN_CHUNKS READ_USER_CHUNKS */
+#ifdef PNG_SAVE_UNKNOWN_CHUNKS_SUPPORTED
+#   undef PNG_not_enabled /*SAVE_UNKNOWN_CHUNKS*/
+#endif
+#ifdef PNG_READ_USER_CHUNKS_SUPPORTED
+#   undef PNG_not_enabled /*READ_USER_CHUNKS*/
+#endif
+#   ifndef PNG_READ_UNKNOWN_CHUNKS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_UNKNOWN_CHUNKS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_UNKNOWN_CHUNKS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_UNKNOWN_CHUNKS_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_PACK enabled
+ *   requires:   WRITE_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!WRITE_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_PACK_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_PACK
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_PACK_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_PACK_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_PACK_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_PACK_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_bKGD enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_bKGD_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_bKGD
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_bKGD_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_bKGD_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_bKGD_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_bKGD_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_tRNS enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_tRNS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_tRNS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_tRNS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_tRNS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_tRNS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_tRNS_SUPPORTED*/" 
+#endif
+
+/* option: READ_sPLT enabled
+ *   requires:   READ_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_sPLT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_sPLT
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_sPLT_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_sPLT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_sPLT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_sPLT_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_sCAL enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_sCAL_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_sCAL
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_sCAL_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_sCAL_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_sCAL_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_sCAL_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_oFFs enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_oFFs_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_oFFs
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_oFFs_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_oFFs_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_oFFs_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_oFFs_SUPPORTED*/" 
+#endif
+
+/* option: SET_USER_LIMITS enabled
+ *   requires:   USER_LIMITS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_USER_LIMITS_SUPPORTED
+#   undef PNG_on /*!USER_LIMITS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_SET_USER_LIMITS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_SET_USER_LIMITS
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_SET_USER_LIMITS_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_SET_USER_LIMITS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_SET_USER_LIMITS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_SET_USER_LIMITS_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_sBIT enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_sBIT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_sBIT
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_sBIT_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_sBIT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_sBIT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_sBIT_SUPPORTED*/" 
+#endif
+
+/* option: READ_INVERT enabled
+ *   requires:   READ_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_INVERT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_INVERT
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_INVERT_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_INVERT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_INVERT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_INVERT_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_cHRM enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by: SIMPLIFIED_WRITE
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by SIMPLIFIED_WRITE */
+#ifdef PNG_SIMPLIFIED_WRITE_SUPPORTED
+#   undef PNG_not_enabled /*SIMPLIFIED_WRITE*/
+#endif
+#   ifndef PNG_WRITE_cHRM_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_cHRM
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_cHRM_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_cHRM_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_cHRM_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_cHRM_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_USER_TRANSFORM enabled
+ *   requires:   WRITE_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!WRITE_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_USER_TRANSFORM_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_USER_TRANSFORM
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_USER_TRANSFORM_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_USER_TRANSFORM_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_USER_TRANSFORM_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_USER_TRANSFORM_SUPPORTED*/" 
+#endif
+
+/* option: READ_BGR enabled
+ *   requires:   READ_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_BGR_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_BGR
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_BGR_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_BGR_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_BGR_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_BGR_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_PACKSWAP enabled
+ *   requires:   WRITE_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!WRITE_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_PACKSWAP_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_PACKSWAP
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_PACKSWAP_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_PACKSWAP_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_PACKSWAP_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_PACKSWAP_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_INVERT_ALPHA enabled
+ *   requires:   WRITE_TRANSFORMS
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!WRITE_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_INVERT_ALPHA_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_INVERT_ALPHA
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_INVERT_ALPHA_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_INVERT_ALPHA_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_INVERT_ALPHA_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_INVERT_ALPHA_SUPPORTED*/" 
+#endif
+
+/* option: sCAL disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_sCAL WRITE_sCAL
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_sCAL WRITE_sCAL */
+#ifdef PNG_READ_sCAL_SUPPORTED
+#   undef PNG_not_enabled /*READ_sCAL*/
+#endif
+#ifdef PNG_WRITE_sCAL_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_sCAL*/
+#endif
+#   ifndef PNG_sCAL_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_sCAL_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_sCAL_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_sCAL_SUPPORTED*/" 
+#endif
+
+/* option: SET_CHUNK_CACHE_LIMIT disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: SET_USER_LIMITS
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by SET_USER_LIMITS */
+#ifdef PNG_SET_USER_LIMITS_SUPPORTED
+#   undef PNG_not_enabled /*SET_USER_LIMITS*/
+#endif
+#   ifndef PNG_SET_CHUNK_CACHE_LIMIT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_SET_CHUNK_CACHE_LIMIT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_SET_CHUNK_CACHE_LIMIT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_SET_CHUNK_CACHE_LIMIT_SUPPORTED*/" 
+#endif
+
+/* option: READ_GAMMA enabled
+ *   requires:   READ_TRANSFORMS READ_gAMA
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#ifndef PNG_READ_gAMA_SUPPORTED
+#   undef PNG_on /*!READ_gAMA*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_GAMMA_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_GAMMA
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_GAMMA_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_GAMMA_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_GAMMA_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_GAMMA_SUPPORTED*/" 
+#endif
+
+/* option: USER_TRANSFORM_INFO enabled
+ *   requires:  
+ *   if:         READ_USER_TRANSFORM WRITE_USER_TRANSFORM
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+/* if READ_USER_TRANSFORM WRITE_USER_TRANSFORM */
+#define PNG_no_if 1
+#ifdef PNG_READ_USER_TRANSFORM_SUPPORTED
+#   undef PNG_no_if /*READ_USER_TRANSFORM*/
+#endif
+#ifdef PNG_WRITE_USER_TRANSFORM_SUPPORTED
+#   undef PNG_no_if /*WRITE_USER_TRANSFORM*/
+#endif
+#ifdef PNG_no_if /*missing if*/
+#   undef PNG_on
+#endif
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_USER_TRANSFORM_INFO_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_USER_TRANSFORM_INFO
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_USER_TRANSFORM_INFO_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_USER_TRANSFORM_INFO_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_USER_TRANSFORM_INFO_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_USER_TRANSFORM_INFO_SUPPORTED*/" 
+#endif
+
+/* option: SIMPLIFIED_WRITE_BGR disabled
+ *   requires:   SIMPLIFIED_WRITE
+ *   if:        
+ *   enabled-by: WRITE_BGR
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_SIMPLIFIED_WRITE_SUPPORTED
+#   undef PNG_on /*!SIMPLIFIED_WRITE*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by WRITE_BGR */
+#ifdef PNG_WRITE_BGR_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_BGR*/
+#endif
+#   ifndef PNG_SIMPLIFIED_WRITE_BGR_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_SIMPLIFIED_WRITE_BGR_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_SIMPLIFIED_WRITE_BGR_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_SIMPLIFIED_WRITE_BGR_SUPPORTED*/" 
+#endif
+
+/* option: READ_GET_PALETTE_MAX disabled
+ *   requires:   READ_CHECK_FOR_INVALID_INDEX
+ *   if:        
+ *   enabled-by: GET_PALETTE_MAX
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_CHECK_FOR_INVALID_INDEX_SUPPORTED
+#   undef PNG_on /*!READ_CHECK_FOR_INVALID_INDEX*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by GET_PALETTE_MAX */
+#ifdef PNG_GET_PALETTE_MAX_SUPPORTED
+#   undef PNG_not_enabled /*GET_PALETTE_MAX*/
+#endif
+#   ifndef PNG_READ_GET_PALETTE_MAX_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_GET_PALETTE_MAX_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_GET_PALETTE_MAX_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_GET_PALETTE_MAX_SUPPORTED*/" 
+#endif
+
+/* option: sBIT disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_sBIT WRITE_sBIT
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_sBIT WRITE_sBIT */
+#ifdef PNG_READ_sBIT_SUPPORTED
+#   undef PNG_not_enabled /*READ_sBIT*/
+#endif
+#ifdef PNG_WRITE_sBIT_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_sBIT*/
+#endif
+#   ifndef PNG_sBIT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_sBIT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_sBIT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_sBIT_SUPPORTED*/" 
+#endif
+
+/* option: SET_CHUNK_MALLOC_LIMIT disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: SET_USER_LIMITS
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by SET_USER_LIMITS */
+#ifdef PNG_SET_USER_LIMITS_SUPPORTED
+#   undef PNG_not_enabled /*SET_USER_LIMITS*/
+#endif
+#   ifndef PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED*/" 
+#endif
+
+/* option: STORE_UNKNOWN_CHUNKS disabled
+ *   requires:   UNKNOWN_CHUNKS
+ *   if:        
+ *   enabled-by: WRITE_UNKNOWN_CHUNKS SAVE_UNKNOWN_CHUNKS
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_UNKNOWN_CHUNKS_SUPPORTED
+#   undef PNG_on /*!UNKNOWN_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by WRITE_UNKNOWN_CHUNKS SAVE_UNKNOWN_CHUNKS */
+#ifdef PNG_WRITE_UNKNOWN_CHUNKS_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_UNKNOWN_CHUNKS*/
+#endif
+#ifdef PNG_SAVE_UNKNOWN_CHUNKS_SUPPORTED
+#   undef PNG_not_enabled /*SAVE_UNKNOWN_CHUNKS*/
+#endif
+#   ifndef PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_gAMA enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by: SIMPLIFIED_WRITE
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by SIMPLIFIED_WRITE */
+#ifdef PNG_SIMPLIFIED_WRITE_SUPPORTED
+#   undef PNG_not_enabled /*SIMPLIFIED_WRITE*/
+#endif
+#   ifndef PNG_WRITE_gAMA_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_gAMA
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_gAMA_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_gAMA_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_gAMA_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_gAMA_SUPPORTED*/" 
+#endif
+
+/* option: cHRM disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_cHRM WRITE_cHRM
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_cHRM WRITE_cHRM */
+#ifdef PNG_READ_cHRM_SUPPORTED
+#   undef PNG_not_enabled /*READ_cHRM*/
+#endif
+#ifdef PNG_WRITE_cHRM_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_cHRM*/
+#endif
+#   ifndef PNG_cHRM_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_cHRM_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_cHRM_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_cHRM_SUPPORTED*/" 
+#endif
+
+/* option: bKGD disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_bKGD WRITE_bKGD
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_bKGD WRITE_bKGD */
+#ifdef PNG_READ_bKGD_SUPPORTED
+#   undef PNG_not_enabled /*READ_bKGD*/
+#endif
+#ifdef PNG_WRITE_bKGD_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_bKGD*/
+#endif
+#   ifndef PNG_bKGD_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_bKGD_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_bKGD_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_bKGD_SUPPORTED*/" 
+#endif
+
+/* option: tRNS disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_tRNS WRITE_tRNS
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_tRNS WRITE_tRNS */
+#ifdef PNG_READ_tRNS_SUPPORTED
+#   undef PNG_not_enabled /*READ_tRNS*/
+#endif
+#ifdef PNG_WRITE_tRNS_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_tRNS*/
+#endif
+#   ifndef PNG_tRNS_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_tRNS_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_tRNS_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_tRNS_SUPPORTED*/" 
+#endif
+
+/* option: oFFs disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_oFFs WRITE_oFFs
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_oFFs WRITE_oFFs */
+#ifdef PNG_READ_oFFs_SUPPORTED
+#   undef PNG_not_enabled /*READ_oFFs*/
+#endif
+#ifdef PNG_WRITE_oFFs_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_oFFs*/
+#endif
+#   ifndef PNG_oFFs_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_oFFs_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_oFFs_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_oFFs_SUPPORTED*/" 
+#endif
+
+/* option: USER_TRANSFORM_PTR enabled
+ *   requires:  
+ *   if:         READ_USER_TRANSFORM WRITE_USER_TRANSFORM
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+/* if READ_USER_TRANSFORM WRITE_USER_TRANSFORM */
+#define PNG_no_if 1
+#ifdef PNG_READ_USER_TRANSFORM_SUPPORTED
+#   undef PNG_no_if /*READ_USER_TRANSFORM*/
+#endif
+#ifdef PNG_WRITE_USER_TRANSFORM_SUPPORTED
+#   undef PNG_no_if /*WRITE_USER_TRANSFORM*/
+#endif
+#ifdef PNG_no_if /*missing if*/
+#   undef PNG_on
+#endif
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_USER_TRANSFORM_PTR_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_USER_TRANSFORM_PTR
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_USER_TRANSFORM_PTR_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_USER_TRANSFORM_PTR_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_USER_TRANSFORM_PTR_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_USER_TRANSFORM_PTR_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_TEXT enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by: WRITE_COMPRESSED_TEXT
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by WRITE_COMPRESSED_TEXT */
+#ifdef PNG_WRITE_COMPRESSED_TEXT_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_COMPRESSED_TEXT*/
+#endif
+#   ifndef PNG_WRITE_TEXT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_TEXT
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_TEXT_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_TEXT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_TEXT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_TEXT_SUPPORTED*/" 
+#endif
+
+/* option: READ_COMPRESSED_TEXT disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_iCCP READ_iTXt READ_zTXt
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_iCCP READ_iTXt READ_zTXt */
+#ifdef PNG_READ_iCCP_SUPPORTED
+#   undef PNG_not_enabled /*READ_iCCP*/
+#endif
+#ifdef PNG_READ_iTXt_SUPPORTED
+#   undef PNG_not_enabled /*READ_iTXt*/
+#endif
+#ifdef PNG_READ_zTXt_SUPPORTED
+#   undef PNG_not_enabled /*READ_zTXt*/
+#endif
+#   ifndef PNG_READ_COMPRESSED_TEXT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_COMPRESSED_TEXT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_COMPRESSED_TEXT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_COMPRESSED_TEXT_SUPPORTED*/" 
+#endif
+
+/* option: hIST disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_hIST WRITE_hIST
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_hIST WRITE_hIST */
+#ifdef PNG_READ_hIST_SUPPORTED
+#   undef PNG_not_enabled /*READ_hIST*/
+#endif
+#ifdef PNG_WRITE_hIST_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_hIST*/
+#endif
+#   ifndef PNG_hIST_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_hIST_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_hIST_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_hIST_SUPPORTED*/" 
+#endif
+
+/* option: SIMPLIFIED_WRITE_AFIRST disabled
+ *   requires:   SIMPLIFIED_WRITE
+ *   if:        
+ *   enabled-by: WRITE_SWAP_ALPHA
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_SIMPLIFIED_WRITE_SUPPORTED
+#   undef PNG_on /*!SIMPLIFIED_WRITE*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by WRITE_SWAP_ALPHA */
+#ifdef PNG_WRITE_SWAP_ALPHA_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_SWAP_ALPHA*/
+#endif
+#   ifndef PNG_SIMPLIFIED_WRITE_AFIRST_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_SIMPLIFIED_WRITE_AFIRST_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_SIMPLIFIED_WRITE_AFIRST_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_SIMPLIFIED_WRITE_AFIRST_SUPPORTED*/" 
+#endif
+
+/* option: zTXt disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_zTXt WRITE_zTXt
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_zTXt WRITE_zTXt */
+#ifdef PNG_READ_zTXt_SUPPORTED
+#   undef PNG_not_enabled /*READ_zTXt*/
+#endif
+#ifdef PNG_WRITE_zTXt_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_zTXt*/
+#endif
+#   ifndef PNG_zTXt_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_zTXt_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_zTXt_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_zTXt_SUPPORTED*/" 
+#endif
+
+/* option: iCCP disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_iCCP WRITE_iCCP
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_iCCP WRITE_iCCP */
+#ifdef PNG_READ_iCCP_SUPPORTED
+#   undef PNG_not_enabled /*READ_iCCP*/
+#endif
+#ifdef PNG_WRITE_iCCP_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_iCCP*/
+#endif
+#   ifndef PNG_iCCP_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_iCCP_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_iCCP_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_iCCP_SUPPORTED*/" 
+#endif
+
+/* option: sRGB disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_sRGB WRITE_sRGB
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_sRGB WRITE_sRGB */
+#ifdef PNG_READ_sRGB_SUPPORTED
+#   undef PNG_not_enabled /*READ_sRGB*/
+#endif
+#ifdef PNG_WRITE_sRGB_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_sRGB*/
+#endif
+#   ifndef PNG_sRGB_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_sRGB_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_sRGB_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_sRGB_SUPPORTED*/" 
+#endif
+
+/* option: gAMA disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_gAMA WRITE_gAMA
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_gAMA WRITE_gAMA */
+#ifdef PNG_READ_gAMA_SUPPORTED
+#   undef PNG_not_enabled /*READ_gAMA*/
+#endif
+#ifdef PNG_WRITE_gAMA_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_gAMA*/
+#endif
+#   ifndef PNG_gAMA_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_gAMA_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_gAMA_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_gAMA_SUPPORTED*/" 
+#endif
+
+/* option: pCAL disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_pCAL WRITE_pCAL
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_pCAL WRITE_pCAL */
+#ifdef PNG_READ_pCAL_SUPPORTED
+#   undef PNG_not_enabled /*READ_pCAL*/
+#endif
+#ifdef PNG_WRITE_pCAL_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_pCAL*/
+#endif
+#   ifndef PNG_pCAL_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_pCAL_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_pCAL_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_pCAL_SUPPORTED*/" 
+#endif
+
+/* option: WRITE_tEXt enabled
+ *   requires:   WRITE_ANCILLARY_CHUNKS WRITE_TEXT
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!WRITE_ANCILLARY_CHUNKS*/
+#endif
+#ifndef PNG_WRITE_TEXT_SUPPORTED
+#   undef PNG_on /*!WRITE_TEXT*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_WRITE_tEXt_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_WRITE_tEXt
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_WRITE_tEXt_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_WRITE_tEXt_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_WRITE_tEXt_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_WRITE_tEXt_SUPPORTED*/" 
+#endif
+
+/* option: iTXt disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_iTXt WRITE_iTXt
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_iTXt WRITE_iTXt */
+#ifdef PNG_READ_iTXt_SUPPORTED
+#   undef PNG_not_enabled /*READ_iTXt*/
+#endif
+#ifdef PNG_WRITE_iTXt_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_iTXt*/
+#endif
+#   ifndef PNG_iTXt_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_iTXt_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_iTXt_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_iTXt_SUPPORTED*/" 
+#endif
+
+/* option: tIME disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_tIME WRITE_tIME
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_tIME WRITE_tIME */
+#ifdef PNG_READ_tIME_SUPPORTED
+#   undef PNG_not_enabled /*READ_tIME*/
+#endif
+#ifdef PNG_WRITE_tIME_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_tIME*/
+#endif
+#   ifndef PNG_tIME_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_tIME_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_tIME_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_tIME_SUPPORTED*/" 
+#endif
+
+/* option: pHYs disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_pHYs WRITE_pHYs
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_pHYs WRITE_pHYs */
+#ifdef PNG_READ_pHYs_SUPPORTED
+#   undef PNG_not_enabled /*READ_pHYs*/
+#endif
+#ifdef PNG_WRITE_pHYs_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_pHYs*/
+#endif
+#   ifndef PNG_pHYs_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_pHYs_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_pHYs_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_pHYs_SUPPORTED*/" 
+#endif
+
+/* option: READ_TEXT enabled
+ *   requires:   READ_ANCILLARY_CHUNKS
+ *   if:        
+ *   enabled-by: READ_COMPRESSED_TEXT
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_COMPRESSED_TEXT */
+#ifdef PNG_READ_COMPRESSED_TEXT_SUPPORTED
+#   undef PNG_not_enabled /*READ_COMPRESSED_TEXT*/
+#endif
+#   ifndef PNG_READ_TEXT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_TEXT
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_TEXT_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_TEXT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_TEXT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_TEXT_SUPPORTED*/" 
+#endif
+
+/* option: SAVE_INT_32 disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: WRITE_oFFs WRITE_pCAL
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by WRITE_oFFs WRITE_pCAL */
+#ifdef PNG_WRITE_oFFs_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_oFFs*/
+#endif
+#ifdef PNG_WRITE_pCAL_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_pCAL*/
+#endif
+#   ifndef PNG_SAVE_INT_32_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_SAVE_INT_32_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_SAVE_INT_32_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_SAVE_INT_32_SUPPORTED*/" 
+#endif
+
+/* option: sPLT disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_sPLT WRITE_sPLT
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_sPLT WRITE_sPLT */
+#ifdef PNG_READ_sPLT_SUPPORTED
+#   undef PNG_not_enabled /*READ_sPLT*/
+#endif
+#ifdef PNG_WRITE_sPLT_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_sPLT*/
+#endif
+#   ifndef PNG_sPLT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_sPLT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_sPLT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_sPLT_SUPPORTED*/" 
+#endif
+
+/* option: COLORSPACE disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_cHRM WRITE_cHRM READ_iCCP WRITE_iCCP READ_sRGB WRITE_sRGB
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_cHRM WRITE_cHRM READ_iCCP WRITE_iCCP READ_sRGB WRITE_sRGB */
+#ifdef PNG_READ_cHRM_SUPPORTED
+#   undef PNG_not_enabled /*READ_cHRM*/
+#endif
+#ifdef PNG_WRITE_cHRM_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_cHRM*/
+#endif
+#ifdef PNG_READ_iCCP_SUPPORTED
+#   undef PNG_not_enabled /*READ_iCCP*/
+#endif
+#ifdef PNG_WRITE_iCCP_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_iCCP*/
+#endif
+#ifdef PNG_READ_sRGB_SUPPORTED
+#   undef PNG_not_enabled /*READ_sRGB*/
+#endif
+#ifdef PNG_WRITE_sRGB_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_sRGB*/
+#endif
+#   ifndef PNG_COLORSPACE_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_COLORSPACE_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_COLORSPACE_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_COLORSPACE_SUPPORTED*/" 
+#endif
+
+/* option: READ_tEXt enabled
+ *   requires:   READ_ANCILLARY_CHUNKS READ_TEXT
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
+#   undef PNG_on /*!READ_ANCILLARY_CHUNKS*/
+#endif
+#ifndef PNG_READ_TEXT_SUPPORTED
+#   undef PNG_on /*!READ_TEXT*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_READ_tEXt_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_tEXt
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_tEXt_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_tEXt_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_tEXt_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_tEXt_SUPPORTED*/" 
+#endif
+
+/* option: SIMPLIFIED_READ enabled
+ *   requires:   SEQUENTIAL_READ READ_TRANSFORMS SETJMP BENIGN_ERRORS READ_GAMMA
+ *   if:        
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_SEQUENTIAL_READ_SUPPORTED
+#   undef PNG_on /*!SEQUENTIAL_READ*/
+#endif
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#ifndef PNG_SETJMP_SUPPORTED
+#   undef PNG_on /*!SETJMP*/
+#endif
+#ifndef PNG_BENIGN_ERRORS_SUPPORTED
+#   undef PNG_on /*!BENIGN_ERRORS*/
+#endif
+#ifndef PNG_READ_GAMMA_SUPPORTED
+#   undef PNG_on /*!READ_GAMMA*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_SIMPLIFIED_READ_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_SIMPLIFIED_READ
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_SIMPLIFIED_READ_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_SIMPLIFIED_READ_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_SIMPLIFIED_READ_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_SIMPLIFIED_READ_SUPPORTED*/" 
+#endif
+
+/* option: READ_ALPHA_MODE enabled
+ *   requires:   READ_TRANSFORMS READ_GAMMA
+ *   if:        
+ *   enabled-by: SIMPLIFIED_READ
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#ifndef PNG_READ_GAMMA_SUPPORTED
+#   undef PNG_on /*!READ_GAMMA*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by SIMPLIFIED_READ */
+#ifdef PNG_SIMPLIFIED_READ_SUPPORTED
+#   undef PNG_not_enabled /*SIMPLIFIED_READ*/
+#endif
+#   ifndef PNG_READ_ALPHA_MODE_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_ALPHA_MODE
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_ALPHA_MODE_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_ALPHA_MODE_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_ALPHA_MODE_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_ALPHA_MODE_SUPPORTED*/" 
+#endif
+
+/* option: READ_RGB_TO_GRAY enabled
+ *   requires:   READ_TRANSFORMS READ_GAMMA
+ *   if:        
+ *   enabled-by: SIMPLIFIED_READ
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#ifndef PNG_READ_GAMMA_SUPPORTED
+#   undef PNG_on /*!READ_GAMMA*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by SIMPLIFIED_READ */
+#ifdef PNG_SIMPLIFIED_READ_SUPPORTED
+#   undef PNG_not_enabled /*SIMPLIFIED_READ*/
+#endif
+#   ifndef PNG_READ_RGB_TO_GRAY_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_RGB_TO_GRAY
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_RGB_TO_GRAY_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_RGB_TO_GRAY_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_RGB_TO_GRAY_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_RGB_TO_GRAY_SUPPORTED*/" 
+#endif
+
+/* option: SIMPLIFIED_READ_AFIRST disabled
+ *   requires:   SIMPLIFIED_READ
+ *   if:        
+ *   enabled-by: READ_SWAP_ALPHA
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_SIMPLIFIED_READ_SUPPORTED
+#   undef PNG_on /*!SIMPLIFIED_READ*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_SWAP_ALPHA */
+#ifdef PNG_READ_SWAP_ALPHA_SUPPORTED
+#   undef PNG_not_enabled /*READ_SWAP_ALPHA*/
+#endif
+#   ifndef PNG_SIMPLIFIED_READ_AFIRST_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_SIMPLIFIED_READ_AFIRST_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_SIMPLIFIED_READ_AFIRST_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_SIMPLIFIED_READ_AFIRST_SUPPORTED*/" 
+#endif
+
+/* option: READ_16BIT enabled
+ *   requires:   READ
+ *   if:        
+ *   enabled-by: SIMPLIFIED_READ
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_SUPPORTED
+#   undef PNG_on /*!READ*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by SIMPLIFIED_READ */
+#ifdef PNG_SIMPLIFIED_READ_SUPPORTED
+#   undef PNG_not_enabled /*SIMPLIFIED_READ*/
+#endif
+#   ifndef PNG_READ_16BIT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_16BIT
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_16BIT_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_16BIT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_16BIT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_16BIT_SUPPORTED*/" 
+#endif
+
+/* option: SIMPLIFIED_READ_BGR disabled
+ *   requires:   SIMPLIFIED_READ
+ *   if:        
+ *   enabled-by: READ_BGR
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_SIMPLIFIED_READ_SUPPORTED
+#   undef PNG_on /*!SIMPLIFIED_READ*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_BGR */
+#ifdef PNG_READ_BGR_SUPPORTED
+#   undef PNG_not_enabled /*READ_BGR*/
+#endif
+#   ifndef PNG_SIMPLIFIED_READ_BGR_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_SIMPLIFIED_READ_BGR_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_SIMPLIFIED_READ_BGR_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_SIMPLIFIED_READ_BGR_SUPPORTED*/" 
+#endif
+
+/* option: READ_STRIP_ALPHA enabled
+ *   requires:   READ_TRANSFORMS
+ *   if:        
+ *   enabled-by: SIMPLIFIED_READ
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by SIMPLIFIED_READ */
+#ifdef PNG_SIMPLIFIED_READ_SUPPORTED
+#   undef PNG_not_enabled /*SIMPLIFIED_READ*/
+#endif
+#   ifndef PNG_READ_STRIP_ALPHA_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_STRIP_ALPHA
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_STRIP_ALPHA_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_STRIP_ALPHA_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_STRIP_ALPHA_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_STRIP_ALPHA_SUPPORTED*/" 
+#endif
+
+/* option: READ_EXPAND enabled
+ *   requires:   READ_TRANSFORMS
+ *   if:        
+ *   enabled-by: SIMPLIFIED_READ
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by SIMPLIFIED_READ */
+#ifdef PNG_SIMPLIFIED_READ_SUPPORTED
+#   undef PNG_not_enabled /*SIMPLIFIED_READ*/
+#endif
+#   ifndef PNG_READ_EXPAND_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_EXPAND
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_EXPAND_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_EXPAND_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_EXPAND_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_EXPAND_SUPPORTED*/" 
+#endif
+
+/* option: READ_SWAP enabled
+ *   requires:   READ_TRANSFORMS READ_16BIT
+ *   if:        
+ *   enabled-by: SIMPLIFIED_READ
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#ifndef PNG_READ_16BIT_SUPPORTED
+#   undef PNG_on /*!READ_16BIT*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by SIMPLIFIED_READ */
+#ifdef PNG_SIMPLIFIED_READ_SUPPORTED
+#   undef PNG_not_enabled /*SIMPLIFIED_READ*/
+#endif
+#   ifndef PNG_READ_SWAP_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_SWAP
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_SWAP_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_SWAP_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_SWAP_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_SWAP_SUPPORTED*/" 
+#endif
+
+/* option: TEXT disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_TEXT WRITE_TEXT
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_TEXT WRITE_TEXT */
+#ifdef PNG_READ_TEXT_SUPPORTED
+#   undef PNG_not_enabled /*READ_TEXT*/
+#endif
+#ifdef PNG_WRITE_TEXT_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_TEXT*/
+#endif
+#   ifndef PNG_TEXT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_TEXT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_TEXT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_TEXT_SUPPORTED*/" 
+#endif
+
+/* option: READ_SCALE_16_TO_8 enabled
+ *   requires:   READ_TRANSFORMS
+ *   if:        
+ *   enabled-by: SIMPLIFIED_READ
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by SIMPLIFIED_READ */
+#ifdef PNG_SIMPLIFIED_READ_SUPPORTED
+#   undef PNG_not_enabled /*SIMPLIFIED_READ*/
+#endif
+#   ifndef PNG_READ_SCALE_16_TO_8_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_SCALE_16_TO_8
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_SCALE_16_TO_8_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_SCALE_16_TO_8_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_SCALE_16_TO_8_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_SCALE_16_TO_8_SUPPORTED*/" 
+#endif
+
+/* option: GAMMA disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: COLORSPACE READ_gAMA WRITE_gAMA READ_iCCP WRITE_iCCP READ_sRGB WRITE_sRGB
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by COLORSPACE READ_gAMA WRITE_gAMA READ_iCCP WRITE_iCCP READ_sRGB WRITE_sRGB */
+#ifdef PNG_COLORSPACE_SUPPORTED
+#   undef PNG_not_enabled /*COLORSPACE*/
+#endif
+#ifdef PNG_READ_gAMA_SUPPORTED
+#   undef PNG_not_enabled /*READ_gAMA*/
+#endif
+#ifdef PNG_WRITE_gAMA_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_gAMA*/
+#endif
+#ifdef PNG_READ_iCCP_SUPPORTED
+#   undef PNG_not_enabled /*READ_iCCP*/
+#endif
+#ifdef PNG_WRITE_iCCP_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_iCCP*/
+#endif
+#ifdef PNG_READ_sRGB_SUPPORTED
+#   undef PNG_not_enabled /*READ_sRGB*/
+#endif
+#ifdef PNG_WRITE_sRGB_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_sRGB*/
+#endif
+#   ifndef PNG_GAMMA_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_GAMMA_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_GAMMA_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_GAMMA_SUPPORTED*/" 
+#endif
+
+/* option: READ_FILLER enabled
+ *   requires:   READ_TRANSFORMS
+ *   if:        
+ *   enabled-by: SIMPLIFIED_READ
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by SIMPLIFIED_READ */
+#ifdef PNG_SIMPLIFIED_READ_SUPPORTED
+#   undef PNG_not_enabled /*SIMPLIFIED_READ*/
+#endif
+#   ifndef PNG_READ_FILLER_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_FILLER
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_FILLER_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_FILLER_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_FILLER_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_FILLER_SUPPORTED*/" 
+#endif
+
+/* option: tEXt disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_tEXt WRITE_tEXt
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_tEXt WRITE_tEXt */
+#ifdef PNG_READ_tEXt_SUPPORTED
+#   undef PNG_not_enabled /*READ_tEXt*/
+#endif
+#ifdef PNG_WRITE_tEXt_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_tEXt*/
+#endif
+#   ifndef PNG_tEXt_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_tEXt_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_tEXt_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_tEXt_SUPPORTED*/" 
+#endif
+
+/* option: 16BIT disabled
+ *   requires:  
+ *   if:        
+ *   enabled-by: READ_16BIT WRITE_16BIT
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by READ_16BIT WRITE_16BIT */
+#ifdef PNG_READ_16BIT_SUPPORTED
+#   undef PNG_not_enabled /*READ_16BIT*/
+#endif
+#ifdef PNG_WRITE_16BIT_SUPPORTED
+#   undef PNG_not_enabled /*WRITE_16BIT*/
+#endif
+#   ifndef PNG_16BIT_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      undef PNG_on /*default off*/
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_16BIT_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_16BIT_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_16BIT_SUPPORTED*/" 
+#endif
+
+/* option: FORMAT_AFIRST enabled
+ *   requires:  
+ *   if:         SIMPLIFIED_READ_AFIRST SIMPLIFIED_WRITE_AFIRST
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+/* if SIMPLIFIED_READ_AFIRST SIMPLIFIED_WRITE_AFIRST */
+#define PNG_no_if 1
+#ifdef PNG_SIMPLIFIED_READ_AFIRST_SUPPORTED
+#   undef PNG_no_if /*SIMPLIFIED_READ_AFIRST*/
+#endif
+#ifdef PNG_SIMPLIFIED_WRITE_AFIRST_SUPPORTED
+#   undef PNG_no_if /*SIMPLIFIED_WRITE_AFIRST*/
+#endif
+#ifdef PNG_no_if /*missing if*/
+#   undef PNG_on
+#endif
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_FORMAT_AFIRST_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_FORMAT_AFIRST
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_FORMAT_AFIRST_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_FORMAT_AFIRST_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_FORMAT_AFIRST_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_FORMAT_AFIRST_SUPPORTED*/" 
+#endif
+
+/* option: READ_EXPAND_16 enabled
+ *   requires:   READ_TRANSFORMS READ_16BIT READ_EXPAND
+ *   if:        
+ *   enabled-by: SIMPLIFIED_READ
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#ifndef PNG_READ_16BIT_SUPPORTED
+#   undef PNG_on /*!READ_16BIT*/
+#endif
+#ifndef PNG_READ_EXPAND_SUPPORTED
+#   undef PNG_on /*!READ_EXPAND*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by SIMPLIFIED_READ */
+#ifdef PNG_SIMPLIFIED_READ_SUPPORTED
+#   undef PNG_not_enabled /*SIMPLIFIED_READ*/
+#endif
+#   ifndef PNG_READ_EXPAND_16_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_EXPAND_16
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_EXPAND_16_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_EXPAND_16_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_EXPAND_16_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_EXPAND_16_SUPPORTED*/" 
+#endif
+
+/* option: FORMAT_BGR enabled
+ *   requires:  
+ *   if:         SIMPLIFIED_READ_BGR SIMPLIFIED_WRITE_BGR
+ *   enabled-by:
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#undef PNG_no_if
+/* if SIMPLIFIED_READ_BGR SIMPLIFIED_WRITE_BGR */
+#define PNG_no_if 1
+#ifdef PNG_SIMPLIFIED_READ_BGR_SUPPORTED
+#   undef PNG_no_if /*SIMPLIFIED_READ_BGR*/
+#endif
+#ifdef PNG_SIMPLIFIED_WRITE_BGR_SUPPORTED
+#   undef PNG_no_if /*SIMPLIFIED_WRITE_BGR*/
+#endif
+#ifdef PNG_no_if /*missing if*/
+#   undef PNG_on
+#endif
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by */
+#   ifndef PNG_FORMAT_BGR_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_FORMAT_BGR
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_FORMAT_BGR_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_FORMAT_BGR_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_FORMAT_BGR_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_FORMAT_BGR_SUPPORTED*/" 
+#endif
+
+/* option: READ_BACKGROUND enabled
+ *   requires:   READ_TRANSFORMS READ_STRIP_ALPHA READ_GAMMA
+ *   if:        
+ *   enabled-by: SIMPLIFIED_READ
+ *   sets:       */
+#undef PNG_on
+#define PNG_on 1
+#ifndef PNG_READ_TRANSFORMS_SUPPORTED
+#   undef PNG_on /*!READ_TRANSFORMS*/
+#endif
+#ifndef PNG_READ_STRIP_ALPHA_SUPPORTED
+#   undef PNG_on /*!READ_STRIP_ALPHA*/
+#endif
+#ifndef PNG_READ_GAMMA_SUPPORTED
+#   undef PNG_on /*!READ_GAMMA*/
+#endif
+#undef PNG_no_if
+#ifdef PNG_on /*requires, if*/
+#   undef PNG_not_enabled
+#   define PNG_not_enabled 1
+   /* enabled by SIMPLIFIED_READ */
+#ifdef PNG_SIMPLIFIED_READ_SUPPORTED
+#   undef PNG_not_enabled /*SIMPLIFIED_READ*/
+#endif
+#   ifndef PNG_READ_BACKGROUND_SUPPORTED /*!command line*/
+#    ifdef PNG_not_enabled /*!enabled*/
+#      ifdef PNG_NO_READ_BACKGROUND
+#       undef PNG_on /*turned off*/
+#      endif
+#      ifdef PNG_NO_READ_BACKGROUND_SUPPORTED
+#       undef PNG_on /*turned off*/
+#      endif
+#    endif /*!enabled*/
+#    ifdef PNG_on
+#      define PNG_READ_BACKGROUND_SUPPORTED
+#    endif
+#   endif /*!command line*/
+#   ifdef PNG_on
+ PNG_DFN "#define PNG_READ_BACKGROUND_SUPPORTED" 
+#   endif /* definition */
+#endif /*requires, if*/
+#ifndef  PNG_on
+ PNG_DFN "/*#undef PNG_READ_BACKGROUND_SUPPORTED*/" 
+#endif
+PNG_DFN_END_SORT
+ PNG_DFN "/* end of options */" 
+
+/* SETTINGS */
+ PNG_DFN "/* settings */" 
+PNG_DFN_START_SORT 2
+
+/* setting:  MAX_GAMMA_8
+ *   requires:
+ *   default:   11 11 */
+#ifdef PNG_MAX_GAMMA_8
+ PNG_DFN "#define PNG_MAX_GAMMA_8 @" PNG_MAX_GAMMA_8 "@" 
+#else /* use default */
+# ifdef PNG_set_MAX_GAMMA_8
+ PNG_DFN "#define PNG_MAX_GAMMA_8 @" PNG_set_MAX_GAMMA_8 "@" 
+#  define PNG_MAX_GAMMA_8 1
+# else /*default*/
+ PNG_DFN "#define PNG_MAX_GAMMA_8 11" 
+#  define PNG_MAX_GAMMA_8 1
+# endif /* defaults */
+#endif /* setting MAX_GAMMA_8 */
+
+/* setting:  CALLOC_SUPPORTED
+ *   requires:
+ *   default:    */
+#ifdef PNG_CALLOC_SUPPORTED
+ PNG_DFN "#define PNG_CALLOC_SUPPORTED @" PNG_CALLOC_SUPPORTED "@" 
+#else /* use default */
+# ifdef PNG_set_CALLOC_SUPPORTED
+ PNG_DFN "#define PNG_CALLOC_SUPPORTED @" PNG_set_CALLOC_SUPPORTED "@" 
+#  define PNG_CALLOC_SUPPORTED 1
+# else /*default*/
+ PNG_DFN "#define PNG_CALLOC_SUPPORTED" 
+#  define PNG_CALLOC_SUPPORTED 1
+# endif /* defaults */
+#endif /* setting CALLOC_SUPPORTED */
+
+/* setting:  USER_VERSIONINFO_COMMENTS
+ *   requires:
+ *   default:   */
+#ifdef PNG_USER_VERSIONINFO_COMMENTS
+ PNG_DFN "#define PNG_USER_VERSIONINFO_COMMENTS @" PNG_USER_VERSIONINFO_COMMENTS "@" 



( run in 1.830 second using v1.01-cache-2.11-cpan-9581c071862 )