Fixed bug where if X11 is not dynamically loaded, then we think none of the X11 modules are available.
--- a/src/video/x11/SDL_x11dyn.c Mon Feb 18 07:59:05 2013 -0800
+++ b/src/video/x11/SDL_x11dyn.c Mon Feb 18 16:24:33 2013 -0800
@@ -211,6 +211,12 @@
}
}
#else
+#define SDL_X11_MODULE(modname) SDL_X11_HAVE_##modname = 1; /* default yes */
+#define SDL_X11_SYM(a,fn,x,y,z)
+#include "SDL_x11sym.h"
+#undef SDL_X11_MODULE
+#undef SDL_X11_SYM
+
#ifdef X_HAVE_UTF8_STRING
pXCreateIC = XCreateIC;
pXGetICValues = XGetICValues;