Re: [Tuxnes-devel] systems without X
Brought to you by:
tmmm
From: Jason D. S. <jd...@us...> - 2004-05-13 00:10:19
|
Mike Mestnik wrote: > --- Jason Dorje Short <jd...@us...> wrote: > >>Compilation on windows is currently completely thwarted because >>configure doesn't disable X compilation if X isn't present, and even if >>you disable such compilation manually (by changing X_DISPLAY_MISSING in >>config.h) the code doesn't pay attention to this value. >> >>Fixing this is a bit beyond me. I'm still in favor of having just one >>renderer, using SDL. > > In renderer.h:13 HAVE_X is defined, should we be using X_DISPLAY_MISSING? > Also controller.c is littered with both linux and x11 code, I'l work on > moving these two controller_x11.c and controller_linux.c. There shouldn't be anything linux-specific, I think. Individual elements should be detected at configure time. Most of these will be available on all POSIX-like environments. Usually the man page will say. For stuff like OSS and ALSA they are linux-specific, but again should be checked for individually (use ALSA if available, otherwise use OSS, etc). HAVE_X is synonymous (well, reversed from) with X_DISPLAY_MISSING. See renderer.h. > I don't know who to test-build as if I didn't have X11, is there a howto > or trick? No idea. jason |