On Wed, Mar 09, 2005 at 05:55:48PM -0400, Leonardo Boiko wrote: > I don't want to talk about the GNU conformance because I have the same > doubts as you :) but as for having a single file, I often have to > do lots of tests of things defined in config.h, so I usually need > another header anyway. If config.h has a "#define HAVE_FOO", I'll need > to do "#ifndef HAVE_FOO <code to define a replacement for foo>". I put > all these tests in a "system.h" file. In your case, I'd make "system.h" > include "<config.h>" and "datadir.h".
Ok, I'll look if it's worth the trouble... Thanks for all suggestions! With kind regards, Baurzhan.