mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-18 19:28:29 +00:00
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:
parent
d707f3a0d5
commit
2652e7e520
1 changed files with 1 additions and 19 deletions
20
configure.ac
20
configure.ac
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue