[Kde-games-devel] Need help on HAVE_SMTH stuff ;)

Dmitry Suzdalev dimsuz at gmail.com
Fri Apr 21 16:37:47 CEST 2006


Hi, kgamers!

There's a bunch of 
#if HAVE_ARTS 
...
#endif
in kbounce.
Is it safe to remove them? (hello, phonon ;) )

And what is typical use of defines from config.h?
Something like
#ifdef HAVE_CONFIG_H
#ifdef HAVE_SMTH
...
#endif
#endif
?

If this is still so, then why the first ifdef (+corresp. endif, of course) is 
missing in kbounce headers?
Bug?
Now it gives warnings about HAVE_ARTS undefined.
What was happening in KDE3? Were there warnings, or there was some mechanism 
to supply config.h's #defines through gcc command line (and HAVE_ARTS was 
correctly defined)?

Thanks,
Dmitry.


More information about the kde-games-devel mailing list