summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-01-17 02:35:20 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-01-17 02:35:20 +0000
commit31a5e090cc969b76b2e9b0430c705a42df57d6a6 (patch)
tree81b584fec7fad7e81d038621db1f898e6667ce87 /configure.in
parentd566503433646294c05531f618002d95f38f514a (diff)
downloadxine-lib-31a5e090cc969b76b2e9b0430c705a42df57d6a6.tar.gz
xine-lib-31a5e090cc969b76b2e9b0430c705a42df57d6a6.tar.bz2
SDL video out driver
CVS patchset: 1417 CVS date: 2002/01/17 02:35:20
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in18
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)"