config.h vs. xorg-config.h

Daniel Stone daniel at fooishbar.org
Wed Sep 28 01:33:13 PDT 2005


On Tue, 2005-09-27 at 12:19 +0200, Thomas Winischhofer wrote:
> In order to implement randr-rotation support into the sis driver, I 
> will have to implement a driver-internal replacement for shadowfb.
> 
> Now I looked at shadowfb/shadow.c and noticed it starts with
> 
> [xorg-config.h etc]
> 
as opposed to driver source files, which do
> 
> [config.h etc]
> 
> shadow.c includes some headers from the guts of the server, like mi.h,
> windowstr.h, dixfontstr.h, which I also will need in my internal
> replacement.
> 
> So, what about the config.h-include?

HAVE_XORG_CONFIG_H won't get defined in your driver.  If you're doing
purely driver-internal work, then just keep on using config.h.
xorg-config.h is internal to the xserver/xorg build.



More information about the xorg-modular mailing list