Hi,

On Sat, May 14, 2005 at 02:42:18PM +0200, Lars J. Aas wrote:
> [...] create a sed script that creates system_config.h.in
> from discard_config.h.in 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 user_config.h.in is protected by #ifdef USER_CONFIG_H and configure.ac
contains:

AH_BOTTOM([/* Don't include user_config.h, it's a subset of system_config.h. */
#define GOFFICE_FEATURES_H])

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

Stepan Kasal


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to