diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-01-20 23:21:52 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-01-20 23:21:52 +0000 |
commit | d28d2b9e23f5ede57ae3325fcadfac0056af7d57 (patch) | |
tree | 6c4654ff5b975aeff3d28e0ac1df68cd18de4488 /configure.in | |
parent | e45cadedda467872cc062d52aa6e7170cab89088 (diff) | |
download | xine-lib-d28d2b9e23f5ede57ae3325fcadfac0056af7d57.tar.gz xine-lib-d28d2b9e23f5ede57ae3325fcadfac0056af7d57.tar.bz2 |
Change SDL checks.
CVS patchset: 1431
CVS date: 2002/01/20 23:21:52
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/configure.in b/configure.in index 06918f3a9..323e5df89 100644 --- a/configure.in +++ b/configure.in @@ -313,17 +313,8 @@ 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"]) - +AM_PATH_SDL(1.2.0, AC_DEFINE(HAVE_SDL),[]) +AM_CONDITIONAL(HAVE_SDL, [test x"$no_sdl" != x"yes"]) dnl dnl Check for divx4 @@ -919,7 +910,7 @@ fi if test x$have_fb = "xyes"; then echo " - fb (Linux framebuffer device)" fi -if test x"$SDLCONFIG" = x"yes"; then +if test x"$no_sdl" != x"yes"; then echo " - sdl (Simple DirectMedia Layer)" fi if test x"$have_dxr3" = "xyes"; then |