From: Andreas Schwab Date: Mon, 9 Jul 2012 22:06:31 +0000 (+0200) Subject: * configure.ac (PNG_DEPSTRUCT): Define this instead of X-Git-Tag: emacs-24.2.90~1199^2~108 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cda158b40db31dcd6b938ba7ccb6313861594b03;p=emacs.git * configure.ac (PNG_DEPSTRUCT): Define this instead of PNG_DEPRECATED. --- 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.])],