[Top][All Lists]

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

Re: Tricking AC_DEFINE to hide template?

From: Stepan Kasal
Subject: Re: Tricking AC_DEFINE to hide template?
Date: Mon, 16 May 2005 10:32:32 +0200
User-agent: Mutt/1.4.1i


On Sat, May 14, 2005 at 02:42:18PM +0200, Lars J. Aas wrote:
> [...] create a sed script that creates
> from to avoid having defines multiple places.

that sounds reasonable.

> Multiple definitions gives out warnings BTW on a lot of compilers...

OK, then my trick wasn't useless:

The is protected by #ifdef USER_CONFIG_H and

AH_BOTTOM([/* Don't include user_config.h, it's a subset of system_config.h. */

Since all *.c files include system_config.h first, user_config.h is never
read when compiling the project itself.

Stepan Kasal

reply via email to

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