Revert recent libpng changes.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 4 May 2014 18:51:32 +0000 (11:51 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 4 May 2014 18:51:32 +0000 (11:51 -0700)
commit61febcb6e32860575316b8a539a2e9f13f70e3c2
treec5fec1966e49b5d1e23b6099560456bbb60401ed
parentec5f5b309d86d33a978a2419015e9aaaa31758b9
Revert recent libpng changes.

They fix only bugs that aren't being reported, so it may be better
to do them on the trunk.
* configure.ac (PNG_CFLAGS): Remove.  All uses removed.
(LIBPNG): Don't be consistent about -lpng16 versus -lpng.
Ignore libpng-config's exit status.  Always append -lz -lm.
* src/Makefile.in (PNG_CFLAGS): Remove; all uses removed.
* src/image.c [HAVE_LIBPNG_PNG_H]: Include <libpng/png.h>, not <png.h>.

Fixes: debbugs:17339
ChangeLog
configure.ac
src/ChangeLog
src/Makefile.in
src/image.c