make X11 optional (helps Windows builds)

This commit is contained in:
Christopher Mosher 2012-08-09 22:07:02 -04:00
parent 638e3dfe92
commit 062cee91c1

View File

@ -22,7 +22,7 @@ AM_PROG_CC_C_O
# Checks for libraries.
AC_CHECK_LIB([SDL],[SDL_Init],,[AC_MSG_ERROR([cannot find libsdl])])
AC_CHECK_LIB([X11],[XOpenDisplay],,[AC_MSG_ERROR([cannot find X11])])
AC_CHECK_LIB([X11],[XOpenDisplay])