autoconf-patches
[Top][All Lists]
Advanced

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

Re: awk for config headers


From: Ralf Wildenhues
Subject: Re: awk for config headers
Date: Fri, 12 Oct 2007 20:05:14 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Eric,

* Eric Blake wrote on Fri, Oct 12, 2007 at 06:38:43PM CEST:
> Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de> writes:
> 
> > +m4_define([_AC_OUTPUT_HEADERS_PREPARE],
> > +[# Set up the scripts for CONFIG_HEADERS section.
> > +# No need to generate them if there are no CONFIG_HEADERS.
> > +# This happens for instance with `./config.status Makefile'.
> > +if test -n "$CONFIG_HEADERS"; then
> > +cat >"$tmp/defines.awk" <<\_CEOF
> 
> Sorry for not noticing this sooner, but I think we should be namespace clean 
> where possible.  Your patch introduced a delimiter outside of the 
> _A[SCT][A-Z]* 
> namespace used by all other autoconf here-docs.

Not that it matters much, but I didn't introduce it.  CEOF or CSEOF have
been used for years for here documents expanded at config.status time
rather than at configure time.  FWIW, it's a bit more idiomatic than
ACAWK too, because it's the layering that matters, not the tool that
happens to be used later.

Cheers,
Ralf




reply via email to

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