mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 13:08:08 +00:00
add disable sdl
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@655 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
46e33f40b4
commit
0fda9dc32f
1 changed files with 13 additions and 2 deletions
|
|
@ -110,10 +110,21 @@ AC_DEFUN([MS_CHECK_VIDEO],[
|
|||
AC_CHECK_HEADERS(libswscale/swscale.h)
|
||||
CPPFLAGS=$CPPFLAGS_save
|
||||
|
||||
PKG_CHECK_MODULES(SDL, [sdl >= 1.2.0 ],sdl_found=yes,sdl_found=no)
|
||||
AC_ARG_ENABLE(sdl,
|
||||
[ --disable-sdl Disable SDL support],
|
||||
[case "${enableval}" in
|
||||
yes) enable_sdl=true ;;
|
||||
no) enable_sdl=false ;;
|
||||
*) AC_MSG_ERROR(bad value ${enableval} for --disable-sdl) ;;
|
||||
esac],[enable_sdl=true])
|
||||
|
||||
if test "$sdl_found" = "no" && test "$mingw_found" != "yes"; then
|
||||
sdl_found=no
|
||||
if test "$enable_sdl" = "true"; then
|
||||
PKG_CHECK_MODULES(SDL, [sdl >= 1.2.0 ],sdl_found=yes,sdl_found=no)
|
||||
|
||||
if test "$sdl_found" = "no" && test "$mingw_found" != "yes"; then
|
||||
AC_MSG_ERROR([Could not find libsdl headers and library. This is mandatory for video support])
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(theora,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue