fukasawa e60969
# s_write.dfa
fukasawa e60969
#  Build time configuration of libpng
fukasawa e60969
#
fukasawa e60969
# Author: John Bowler
fukasawa e60969
# Copyright: (c) John Bowler, 2013
fukasawa e60969
# Usage rights:
fukasawa e60969
#  To the extent possible under law, the author has waived all copyright and
fukasawa e60969
#  related or neighboring rights to this work.  This work is published from:
fukasawa e60969
#  United States.
fukasawa e60969
#
fukasawa e60969
# Build libpng with (just) simplified write support
fukasawa e60969
#
fukasawa e60969
fukasawa e60969
everything = off
fukasawa e60969
fukasawa e60969
option SIMPLIFIED_WRITE on
fukasawa e60969
fukasawa e60969
# It isn't necessary to chose fixed or floating point for the APIs because the
fukasawa e60969
# simplified API doesn't need fixed or floating point numbers.  It is necessary
fukasawa e60969
# to chose an internal math implementation.  The default (because of 'everything
fukasawa e60969
# = off') is fixed point - turn the floating point implementation on if you have
fukasawa e60969
# hardware floating point or prefer your software floating point implementation.
fukasawa e60969
option FLOATING_ARITHMETIC on
fukasawa e60969
fukasawa e60969
# This is not strictly necessary, but without it the message strings in the API
fukasawa e60969
# will not be filled in
fukasawa e60969
option ERROR_TEXT on
fukasawa e60969
fukasawa e60969
# Switching these options on enables the 'AFIRST' and 'BGR' formats - you don't
fukasawa e60969
# need this if you don't use them, they just allow the in-memory layout to be
fukasawa e60969
# changed to match common hardware formats.
fukasawa e60969
option SIMPLIFIED_WRITE_AFIRST on
fukasawa e60969
option SIMPLIFIED_WRITE_BGR on