config.h

Allen Winter winter at kde.org
Tue Apr 10 00:12:33 BST 2007


Howdy,

There's still quite a few files that include config.h.

And even more that don't have
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

We do pass -DHAVE_CONFIG_H into the buildsystem (see kdelibs/CMakeLists.txt).

So:
1. didn't we plan to replace config.h with config-foo.h to increase modularity?
2. if we are compiling fine with including config.h unconditionally,
    then do we still need to pass -DHAVE_CONFIG_H?
    or should we wrap all the includes inside the #ifdef?

-Allen




More information about the kde-core-devel mailing list