[libpng16] Fixed 'prefix' builds on clean systems. The generation of pngprefix.h

should not require itself.
This commit is contained in:
John Bowler 2012-01-31 21:01:49 -06:00 committed by Glenn Randers-Pehrson
parent 6437604a5e
commit 3167541570
4 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.6.0beta08 - January 31, 2012 Libpng 1.6.0beta08 - February 1, 2012
This is not intended to be a public release. It will be replaced This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version. within a few weeks by a public version or by another test version.
@ -142,7 +142,7 @@ Version 1.6.0beta07 [January 28, 2012]
and renamed three whose names were inconsistent with those in and renamed three whose names were inconsistent with those in
pngsuite/README.txt. pngsuite/README.txt.
Version 1.6.0beta08 [January 31, 2012] Version 1.6.0beta08 [February 1, 2012]
Fixed Image::colormap misalignment in pngstest.c Fixed Image::colormap misalignment in pngstest.c
Check libtool/libtoolize version number (2.4.2) in configure.ac Check libtool/libtoolize version number (2.4.2) in configure.ac
Divide test-pngstest.sh into separate pngstest runs for basic and Divide test-pngstest.sh into separate pngstest runs for basic and
@ -159,6 +159,9 @@ Version 1.6.0beta08 [January 31, 2012]
can't be sure until it is gone. can't be sure until it is gone.
Added symbol prefixing that allows all the libpng external symbols Added symbol prefixing that allows all the libpng external symbols
to be prefixed (suggested by Reuben Hawkins). to be prefixed (suggested by Reuben Hawkins).
Updated "ftbb*.png" list in the owatcom and vstudio projects.
Fixed 'prefix' builds on clean systems. The generation of pngprefix.h
should not require itself.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit

View File

@ -3893,7 +3893,7 @@ Version 1.6.0beta07 [January 28, 2012]
and renamed three whose names were inconsistent with those in and renamed three whose names were inconsistent with those in
pngsuite/README.txt. pngsuite/README.txt.
Version 1.6.0beta08 [%DATE%] Version 1.6.0beta08 [February 1, 2012]
Fixed Image::colormap misalignment in pngstest.c Fixed Image::colormap misalignment in pngstest.c
Check libtool/libtoolize version number (2.4.2) in configure.ac Check libtool/libtoolize version number (2.4.2) in configure.ac
Divide test-pngstest.sh into separate pngstest runs for basic and Divide test-pngstest.sh into separate pngstest runs for basic and
@ -3911,6 +3911,8 @@ Version 1.6.0beta08 [%DATE%]
Added symbol prefixing that allows all the libpng external symbols Added symbol prefixing that allows all the libpng external symbols
to be prefixed (suggested by Reuben Hawkins). to be prefixed (suggested by Reuben Hawkins).
Updated "ftbb*.png" list in the owatcom and vstudio projects. Updated "ftbb*.png" list in the owatcom and vstudio projects.
Fixed 'prefix' builds on clean systems. The generation of pngprefix.h
should not require itself.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit

View File

@ -139,7 +139,7 @@
#include "png.h" #include "png.h"
#include "pnginfo.h" #include "pnginfo.h"
#include "pngstruct.h" #include "pngstruct.h"
#ifdef PNG_PREFIX #if defined PNG_PREFIX && !defined PNGPREFIX_H
# include "pngprefix.h" # include "pngprefix.h"
#endif #endif

View File

@ -15,4 +15,5 @@
#define PNG_INTERNAL_FUNCTION(type, name, args, attributes)\ #define PNG_INTERNAL_FUNCTION(type, name, args, attributes)\
PNG_DEFN_MAGIC-name-PNG_DEFN_END PNG_DEFN_MAGIC-name-PNG_DEFN_END
#define PNGPREFIX_H /* self generation */
#include "../pngpriv.h" #include "../pngpriv.h"