[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#34334: automake generates bad config.h when compiling without xinerama
From:       iqnullus () nt-admin ! com
Date:       2001-10-31 21:35:19
[Download RAW message or body]

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 <kapplication.h>
#endif
...
#include "windows.h"		// includes ../../config.h => sets HAVE_XINERAMA
...
#ifdef HAVE_XINERAMA
if (KApplication::desktop()->isVirtualDesktop())
...
#endif
...

(Submitted via bugs.kde.org)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic