Warn when SDL_image is disabled.

This commit is contained in:
Themaister 2012-09-29 00:42:36 +02:00
parent 258a29b9b1
commit be7a4b4c09

View File

@ -100,7 +100,10 @@ else
HAVE_CG='no'
fi
[ "$HAVE_SDL" = "no" ] && HAVE_SDL_IMAGE=no
if [ "$HAVE_SDL" = "no" ]; then
echo "SDL is disabled. Disabling SDL_image."
HAVE_SDL_IMAGE=no
fi
check_pkgconf SDL_IMAGE SDL_image
check_pkgconf LIBPNG libpng 1.5