Only support SDL 1.2.x
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3245
This commit is contained in:
parent
975a2d4247
commit
2553d6230a
1 changed files with 10 additions and 0 deletions
10
configure.in
10
configure.in
|
@ -36,6 +36,16 @@ AM_PATH_SDL($SDL_VERSION,
|
|||
LIBS="$LIBS $SDL_LIBS"
|
||||
CPPFLAGS="$CPPFLAGS $SDL_CFLAGS"
|
||||
|
||||
dnl Check if SDL is 1.2.x (1.3 not supported)
|
||||
AC_MSG_CHECKING([SDL version only being 1.2.X])
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include "SDL.h"]],[[
|
||||
#if SDL_MINOR_VERSION != 2
|
||||
#error "Only SDL 1.2 supported
|
||||
#endif
|
||||
]])],AC_MSG_RESULT([yes]),[
|
||||
AC_MSG_RESULT([no])
|
||||
AC_MSG_ERROR([Only libSDL 1.2.X supported])])
|
||||
|
||||
dnl Checks for header files.
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue