From 31a5e090cc969b76b2e9b0430c705a42df57d6a6 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Thu, 17 Jan 2002 02:35:20 +0000 Subject: SDL video out driver CVS patchset: 1417 CVS date: 2002/01/17 02:35:20 --- configure.in | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 399b50222..e8849c101 100644 --- a/configure.in +++ b/configure.in @@ -310,6 +310,21 @@ dnl AC_CHECK_HEADER(linux/fb.h,have_fb=yes,) AM_CONDITIONAL(HAVE_FB, [test x"$have_fb" = "xyes"]) +dnl +dnl check for SDL +dnl +AC_SUBST(SDL_CFLAGS) +AC_SUBST(SDL_LIBS) +SDL_CFLAGS="" +SDL_LIBS="" +AC_CHECK_PROG([SDLCONFIG],[sdl-config],[yes]) +if test x"$SDLCONFIG" = x"yes"; then + SDL_CFLAGS="`sdl-config --cflags`" + SDL_LIBS="`sdl-config --libs`" +fi +AM_CONDITIONAL(HAVE_SDL, [test x"$SDLCONFIG" = x"yes"]) + + dnl dnl Check for divx4 dnl @@ -908,6 +923,9 @@ fi if test x$have_fb = "xyes"; then echo " - fb (Linux framebuffer device)" fi +if test x"$SDLCONFIG" = x"yes"; then + echo " - sdl (Simple DirectMedia Layer)" +fi if test x"$have_dxr3" = "xyes"; then if test x"$have_encoder" = "xyes"; then echo " - dxr3 (Hollywood+ and Creative dxr3, both mpeg and non-mpeg video)" -- cgit v1.2.3