earl-ducaine / cl-garnet

Old, but suprisingly complete toolkit with no dependancies on other non-lisp libraries.
Other
52 stars 9 forks source link

Remove dependancy on running X11 server for compilation #15

Closed earl-ducaine closed 6 years ago

earl-ducaine commented 6 years ago

Allow garnet to compile without having access to a running X11 server. Techniques used to accomplish this:

1) Rationalize startup to avoid unneeded calling into CLX at compile time.

2) Guard some CLX calls in such a way that they're only called when access to a running X11 server has been validated.

3) On the top level only alow the compilation of X11 serverc dependant objects if a valid X11 server has been found.

Some other changes made: