[PATCH][1/1] - Xserver - XTrap prep sources for config.h inclusion

Daniel Stone daniel at fooishbar.org
Mon Apr 18 23:20:09 PDT 2005


On Mon, Apr 18, 2005 at 11:11:53PM -0700, John Davidorff Pell wrote:
> Wow! You're really putting in some great effort here. :-D
> 
> A couple comments for you:
> 
> I noticed that you have included config.h in a few header files. I  
> assume that this was just a mistake, so I thought I'd just make sure  
> you realised it. :-)

... why would it be a mistake?  Given that config.h, in autotools,
defines everything.

> Also, I personally don't like using config.h because ... Well, it  
> just makes me uncomfortable. I always think that something is going  
> to go wrong, or an old config.h is going to get included, or even the  
> wrong one, maybe one will get installed in /usr/include which would  
> be *crazy* hard to debug at some point in the future on another build  
> of some totally unrelated package, &c &c. I also think that there  
> really shouldn't be *that* many #defines that there are so many that  
> adding them to the command line is impractical. $0.02.

If someone installs config.h in /usr/include, they need to be smacked
about the head until nirvana is achieved through total unconsciousness.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.x.org/archives/xorg-modular/attachments/20050419/f45c06ae/attachment.pgp


More information about the xorg-modular mailing list