From cda158b40db31dcd6b938ba7ccb6313861594b03 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 10 Jul 2012 00:06:31 +0200 Subject: [PATCH] * configure.ac (PNG_DEPSTRUCT): Define this instead of PNG_DEPRECATED. --- ChangeLog | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ef14255208d..2e949b4a9d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-07-09 Andreas Schwab + + * configure.ac (PNG_DEPSTRUCT): Define this instead of + PNG_DEPRECATED. + 2012-07-09 Paul Eggert Add GCC-style 'const' attribute to functions that can use it. diff --git a/configure.ac b/configure.ac index 8db9652fc06..6f4b3d51c89 100644 --- a/configure.ac +++ b/configure.ac @@ -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.])], -- 2.39.2