• Paul Eggert's avatar
    Revert recent libpng changes. · 61febcb6
    Paul Eggert authored
    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
    61febcb6
configure.ac 171 KB