check for WANT_SDL_VIDEO rather than WANT_SDL when deciding to use X11

This commit is contained in:
Hans de Goede 2013-03-12 18:59:58 -04:00 committed by Alexei Svitkine
parent cb42ef255b
commit 90c113c43b

View File

@ -250,7 +250,7 @@ else
fi
dnl We need X11, if not using SDL.
if [[ "x$WANT_SDL" = "xno" ]]; then
if [[ "x$WANT_SDL_VIDEO" = "xno" ]]; then
AC_PATH_XTRA
if [[ "x$no_x" = "xyes" ]]; then
AC_MSG_ERROR([You need X11 to run Basilisk II.])