Missing configure checks for #cmakedefine

2009-03-20 Thread Lubos Lunak
Hello, it's been pointed out to me that KDE4 runs screensavers at normal priority (thus possibly affecting other sessions on the same machine). The code uses setpriority() call, which is inside #ifdef HAVE_SETPRIORITY. And, while, kdebase/workspace/config-workspace.h.cmake has

Re: Missing configure checks for #cmakedefine

2009-03-20 Thread Thiago Macieira
Lubos Lunak wrote: At least looking at generated kdebase/workspace/config-workspace.h it has a couple of #undef's for things that obviously are present (e.g. unistd.h). unistd.h is not present on Windows (it's not a Unix system). But workspace is not meant to compile on Windows anyways... --

Re: Missing configure checks for #cmakedefine

2009-03-20 Thread Christian Ehrlicher
Thiago Macieira schrieb: Lubos Lunak wrote: At least looking at generated kdebase/workspace/config-workspace.h it has a couple of #undef's for things that obviously are present (e.g. unistd.h). unistd.h is not present on Windows (it's not a Unix system). But workspace is not meant to