Added a better SDL_createYUVOverlay check.

Original commit message from CVS:
Added a better SDL_createYUVOverlay check.
This commit is contained in:
Wim Taymans 2001-06-01 18:52:55 +00:00
parent 3c18e42b39
commit 91af099719

View file

@ -589,7 +589,8 @@ if sdl-config --libs > /dev/null 2>&1; then
AC_CHECK_LIB(SDL, SDL_Init, :, HAVE_LIBSDL=no, $SDL_LIBS)
dnl FIXME: CPPFLAGS should be set from SDL_CFLAGS for the next two checks
AC_CHECK_HEADER(SDL/SDL.h, :, HAVE_LIBSDL=no)
AC_CHECK_FUNC(SDL_CreateYUVOverlay, :, HAVE_LIBSDL=no)
dnl AC_CHECK_FUNC(SDL_CreateYUVOverlay, :, HAVE_LIBSDL=no)
AC_CHECK_LIB(SDL, SDL_CreateYUVOverlay, :, HAVE_LIBSDL=no, $SDL_LIBS)
else
AC_MSG_RESULT(not found)
HAVE_LIBSDL=no