From kde-bugs-dist Wed Oct 31 21:35:19 2001 From: iqnullus () nt-admin ! com Date: Wed, 31 Oct 2001 21:35:19 +0000 To: kde-bugs-dist Subject: Bug#34334: automake generates bad config.h when compiling without xinerama X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=100456499221546 Package: unknown Version: CVS updated 31 Oct 2001 17:44 GMT (using KDE 2.9.0 CVS/CVSup/Snapshot) Severity: normal Installed from: Compiled sources Compiler: GCC 3.01 OS: Linux OS/Compiler notes: automake 1.4, autoconf 2.13, make 3.79 When you do ./configure --without-xinerama on kdebase (from cvs, updated 31 Oct around 17:44 GMT), you'll find this line config.h : #define HAVE_XINERAMA 1 while the makefiles doesn't invoke GCC with the parameter -DHAVE_CONFIG At least one file fails to compile due this problem: kdebase/kcontrol/kwm/windows.cpp: ... #ifndef HAVE_XINERAMA #include #endif ... #include "windows.h" // includes ../../config.h => sets HAVE_XINERAMA ... #ifdef HAVE_XINERAMA if (KApplication::desktop()->isVirtualDesktop()) ... #endif ... (Submitted via bugs.kde.org)