Baurjan Ismagulov wrote:
I would ideally prefer to have a single configuration file, namely,
config.h.

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

--
Leonardo Boiko

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to