mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Imported from libpng-1.6.11beta06.tar
This commit is contained in:
@@ -269,7 +269,7 @@ $1 == "option" && NF >= 2{
|
||||
|
||||
if (val != 1) { # error reading it
|
||||
if (val == 0)
|
||||
print "option", opt ": ERROR: missing contination line"
|
||||
print "option", opt ": ERROR: missing continuation line"
|
||||
else
|
||||
print "option", opt ": ERROR: error reading continuation line"
|
||||
|
||||
@@ -362,7 +362,7 @@ pre != 0 && $1 == "chunk" && NF >= 2{
|
||||
|
||||
if (val != 1) { # error reading it
|
||||
if (val == 0)
|
||||
print "chunk", opt ": ERROR: missing contination line"
|
||||
print "chunk", opt ": ERROR: missing continuation line"
|
||||
else
|
||||
print "chunk", opt ": ERROR: error reading continuation line"
|
||||
|
||||
@@ -493,7 +493,7 @@ $1 ~ /^@/{
|
||||
next
|
||||
}
|
||||
|
||||
# Check for unreognized lines, because of the preprocessing chunk
|
||||
# Check for unrecognized lines, because of the preprocessing chunk
|
||||
# format errors will be detected on the first pass independent of
|
||||
# any other format errors.
|
||||
{
|
||||
@@ -585,7 +585,7 @@ END{
|
||||
# If an option[opt] is 'on' then turn on all requires[opt]
|
||||
# If an option[opt] is 'off' then turn off all enabledby[opt]
|
||||
#
|
||||
# Error out if we have to turn 'on' an 'off' option or vice versa.
|
||||
# Error out if we have to turn 'on' to an 'off' option or vice versa.
|
||||
npending = 0
|
||||
for (opt in option) if (opt != "") {
|
||||
if (option[opt] == "on" || option[opt] == "off") {
|
||||
@@ -677,7 +677,7 @@ END{
|
||||
for (j=1; j<=nreqs; ++j) {
|
||||
print "#ifndef PNG_" r[j] "_SUPPORTED" >out
|
||||
print "# undef PNG_on /*!" r[j] "*/" >out
|
||||
# this error appears in the final output if something
|
||||
# This error appears in the final output if something
|
||||
# was switched 'on' but the processing above to force
|
||||
# the requires did not work
|
||||
if (option[i] == "on") {
|
||||
|
||||
Reference in New Issue
Block a user