* configure.ac (PNG_DEPSTRUCT): Define this instead of
PNG_DEPRECATED.
This commit is contained in:
parent
cbb319513e
commit
cda158b40d
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-07-09 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
* configure.ac (PNG_DEPSTRUCT): Define this instead of
|
||||
PNG_DEPRECATED.
|
||||
|
||||
2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Add GCC-style 'const' attribute to functions that can use it.
|
||||
|
|
|
@ -2461,7 +2461,7 @@ if test "${HAVE_X11}" = "yes"; then
|
|||
|
||||
AC_CHECK_DECL(png_longjmp,
|
||||
[],
|
||||
[AC_DEFINE(PNG_DEPRECATED, [],
|
||||
[AC_DEFINE(PNG_DEPSTRUCT, [],
|
||||
[Define to empty to suppress deprecation warnings when building
|
||||
with --enable-gcc-warnings and with libpng versions before 1.5,
|
||||
which lack png_longjmp.])],
|
||||
|
|
Loading…
Add table
Reference in a new issue