chwin_get_window in setup.c not protected against undefined
Brought to you by:
ondrej
chbg-1.5
In setup.c, line 3548 is an unqualified
(no #ifdef in effect) call to chwin_get_window.
However, that is defined in chwin.c at line 99
and this whole routine is qualified with line
11: #ifdef HAVE_XSS_SUPPORT
Therefore (as in my case) if you
./configure --disable-xscreensaver
then HAVE_XSS_SUPPPORT is not defined,
so there is no chwin_get_window
and the compilation of setup.c fails at line
3548.