diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 399b50222..e8849c101 100644 --- a/configure.in +++ b/configure.in @@ -311,6 +311,21 @@ 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 dnl AC_CHECK_DIVX4(, AC_MSG_RESULT(*** All of DIVX4 dependent parts will be disabled ***)) @@ -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)" |