[Top][All Lists]

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

Re: stdint module rewrite (was: Re: Build CVS (TRUNK) failed.)

From: Bruno Haible
Subject: Re: stdint module rewrite (was: Re: Build CVS (TRUNK) failed.)
Date: Fri, 16 Jun 2006 15:08:11 +0200
User-agent: KMail/1.9.1

Ralf Wildenhues wrote:
> > But this way, autoheader didn't recognise the AC_DEFINE_UNQUOTED
> > invocations, i.e. in the end, HAVE_INT8_T etc. were not present in
> > config.h.in.
> Yes, but that's basically the only part that breaks this way.  And only
> one part of the AC_DEFINE_UNQUOTED, namely the part that needs to be
> traceable for autoheader: the AH_TEMPLATE call.  So you can split the
> macro in the same way that AC_CHECK_HEADERS uses.

Nice trick! To do most of the work in a "for ... in" loop, and only the
AH_TEMPLATE and AC_SUBST calls in an AC_FOREACH . With this trick, the
stdint.m4 expansion goes down to a reasonable size. Thanks!!

> Sure this is the plan; but you have to be able to rewrite the built-in
> macro into a shell function in the first place; this won't work for
> AH_TEMPLATE, only for the rest.

I see. Thanks for explaining.


reply via email to

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