this sdl test should work better, should've kept it in the first place ;)

Original commit message from CVS:
this sdl test should work better, should've kept it in the first place ;)
This commit is contained in:
Thomas Vander Stichele 2001-12-11 09:38:52 +00:00
parent d707f3a0d5
commit 2652e7e520

View file

@ -678,24 +678,7 @@ AC_CHECK_HEADER(dvdread/dvd_reader.h, :, HAVE_LIBDVDREAD=no)
dnl Check for SDL library dnl Check for SDL library
dnl this bit is taken from vlc's configure.in and modified accordingly dnl this bit is taken from vlc's configure.in and modified accordingly
SDL_PATH=$PATH AM_PATH_SDL(1.1.0, HAVE_LIBSDL=yes, HAVE_LIBSDL=no)
AC_PATH_PROG(SDL_CONFIG, sdl-config, no, $SDL_PATH)
SDL_CONFIG=${SDL_CONFIG}
if test "x${SDL_CONFIG}" = "xno"
then
AC_PATH_PROG(SDL11_CONFIG, sdl11-config, no, $SDL_PATH)
SDL_CONFIG=${SDL11_CONFIG}
fi
if test "x${SDL_CONFIG}" = "xno"
then
AC_PATH_PROG(SDL12_CONFIG, sdl11-config, no, $SDL_PATH)
SDL_CONFIG=${SDL12_CONFIG}
fi
if test "x${SDL_CONFIG}" = "xyes"
then
AM_PATH_SDL( , , HAVE_LIBSDL=no)
fi
if test "x$HAVE_LIBSDL" = "xno"; then if test "x$HAVE_LIBSDL" = "xno"; then
AC_MSG_WARN( AC_MSG_WARN(
@ -703,7 +686,6 @@ if test "x$HAVE_LIBSDL" = "xno"; then
) )
fi fi
dnl Check for linux/cdrom.h dnl Check for linux/cdrom.h
AC_CHECK_HEADER(linux/cdrom.h, AC_CHECK_HEADER(linux/cdrom.h,
HAVE_LINUX_CDROM=yes, HAVE_LINUX_CDROM=no HAVE_LINUX_CDROM=yes, HAVE_LINUX_CDROM=no