[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_DEFINE_DIR in autoconf
From: |
ibr |
Subject: |
Re: AC_DEFINE_DIR in autoconf |
Date: |
Thu, 10 Mar 2005 00:26:37 +0100 |
User-agent: |
Mutt/1.5.6+20040907i |
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.