Only build in libpng if it's 1.5+.

libpng fails to build on 1.2 apparently.
It might build on 1.3 or 1.4, but 1.5+ is known to work.
This commit is contained in:
Themaister 2012-08-12 20:25:57 +02:00
parent 0e5528796d
commit d0c4fdbc23

View File

@ -100,7 +100,7 @@ fi
check_pkgconf XML libxml-2.0
check_pkgconf SDL_IMAGE SDL_image
check_pkgconf LIBPNG libpng
check_pkgconf LIBPNG libpng 1.5
if [ "$HAVE_THREADS" != 'no' ]; then
if [ "$HAVE_FFMPEG" != 'no' ]; then