Steve Sexton - 2011-01-06

png1.4 renamed png_set_gray_1_2_4_to_8 fn to png_set_expand_gray_1_2_4_to_8

I fixed this by passing CFLAGS to configure:
:
CFLAGS=-Dpng_set_gray_1_2_4_to_8=png_set_expand_gray_1_2_4_to_8 ./configure

There are other ways to fix this, of course.

I haven't tried loading/saving .png's yet, so no idea if there are other problems with libpng1.4.