On Tue, Oct 29, 2002 at 05:01:51PM +0100, Michel D�nzer wrote:

>> 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?

think it's there to for some driver build requirements.  Anyway, in the
case at hand, IHaveModules shouldn't be getting defined in those Imakefiles
for a static build.

The XFree86LOADER -> XFree86Module change (and the related Imakefile
changes) were part of an update for OS/2, where the modules use an object
format different from the native one.

Maybe using IN_MODULE as a test would be better (but it wouldn't have
exposed the current problem).  That one is only ever supposed to be
defined when building objects destined to be part of an X server module.

David


-------------------------------------------------------
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