[ changing quotations to keep subthreads together ]

On Die, 2002-10-29 at 13:19, David D. Hagood wrote:
> Michel Dänzer wrote:
> 
> > >#define ProjectRoot /usr/X11R6
> >
> > This one is redundant BTW as ProjectRoot defaults to that.
> 
> According to the config file, and to my past experience, ProjectRoot 
> defaults to /usr/X11R6-DRI, not /usr/X11R6.

No, that's commented out, so the default of /usr/X11R6 is used.


> > >#define BuildXF86DRM YES
> > >
> > >So perhaps the DoLoadableServer is causing XFree86Module to be defined?
> >
> >
> > Yes, but in my copy of the tree, assert.h is only included when 
> > XFree86Module
> > is _not_ defined:
> >
> > [...]
> > #ifdef XFree86Module
> > #include "xf86_ansic.h"
> > #else
> > #include
> > [...]
> >
> > Was your glheader.h locally modified? Or did you not make World after
> > changing host.def?
> >
> >
> Until this problem started, the only file I had modified locally was 
> config/cf/host.def - all others were straight from CVS.
> 
> I *always* do a make World when building XFree - I've not found any 
> other process that works.
> 
> And as for XFree86Module - that was my point:
> 
> assert.h should be included if XFree86Module is not defined
> assert.h is not being included
> Conclusion: XFree86Module is being defined, somewhere.

I misread 'I moved the #include of assert.h out of the #ifdef
XFree86Module section' to imply that 'assert.h was only #included when
XFree86Module was #defined'.

> make World works when DoLoadableServer is NOT defined

Again, when it's not explicitly #defined in host.def, the default of YES
is used.

> make World does not work when DoLoadableServer is defined

... as NO.

> Conclusion: DoLoadableServer being defined somehow makes XFree86Module 
> be defined.

I thought it was only defined when DoLoadableServer is defined as YES,
but it turns out it's always defined. Is that a bug, or should we really
check for XFree86Server or XFree86LOADER (I see the latter used to be
checked for before the merge), or should assert.h be #included
unconditionally?


BTW, David can you update from CVS and see if it still locks up? I might
have accidentally introduced the lockups with a change I've reverted
again.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to