Re: Tricking AC_DEFINE to hide template?

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

 



Hello,

On Wed, May 18, 2005 at 03:24:14PM +0200, Lars J. Aas wrote:
> Stepan Kasal <kasal@xxxxxx> wrote:
> : The fourth parameter to AC_DEFINE would be the name of the template
> : which should hold this define.  (Defaulting to the first one declared
> : with AC_CONFIG_HEADERS, of course.)
> 
> It sounds like something I could use.  You could also have a special
> keyword to make the template hidden (like '/dev/null') if you prefer to
> maintain some headers manually.

yes.

> You would then have to track which
> AC_CONFIG_HEADERS templates that has been mentioned as arg[4] in an
> AC_DEFINE invocation to know which ones to autogenerate, because you
> can't start autogenerating them all to keep backwards compatibility.

I don't understand.

Autoheader would trace the configure.ac.
The first AC_CONFIG_HEADERS file would become the default.
When autoheader sees an AC_DEFINE wit 3 args, it places the template
to the default file.  If there are 4 args, it places it to the one
specified.

What am I missing?

Stepan


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux