autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Solving the config.h nightmare ?


From: Ralf Wildenhues
Subject: Re: Solving the config.h nightmare ?
Date: Sun, 23 Apr 2006 00:34:59 +0200

* Olivier Boudeville wrote on Sat, Apr 22, 2006 at 11:51:41PM CEST:

it is an interesting solution indeed but I would rather not rely on my
hand-crafted stripped-down config.h maintaining ! I will try the
prefix-adding first.

There's an easy solution to the maintenance problem: in your test suite,
use the stripped-down hand-crafted header only, just as users of your
library would.
I still think the autoheader-generated config.h should never appear
anywhere installed, not even when renamed and prefixed with
AX_PREFIX_CONFIG_H.  Simply because I'd want to control exactly which
definitions to install.  Usually I would even want to be able to use the
same installed headers for more than one system, but this may not always
be possible. But that's all IMVHO and YMMV.
And yes, Autoconf won't give you portability for free, unfortunately.
I don't think it advertises this, though.
Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]