[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multiline substitutions
From: |
Ralf Wildenhues |
Subject: |
Re: multiline substitutions |
Date: |
Wed, 6 Oct 2010 07:12:55 +0200 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
Hi Bruno, Paul,
* Bruno Haible wrote on Tue, Oct 05, 2010 at 11:40:04PM CEST:
> + (cd $(top_builddir) && ./config.status --file=-) <
> $(srcdir)/time.in.h | \
> + sed -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
> -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
> - -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
> - < $(srcdir)/time.in.h; \
> + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \
> } > address@hidden && \
> mv address@hidden $@
> MOSTLYCLEANFILES += time.h time.h-t
The remaining sed script could be replaced by AC_SUBST_FILE instances,
although you'd need to modify the gnulib sources then.
In order to address the fairly large config.status startup overhead, an
alternative would be to just declare the headers AC_CONFIG_FILES, then
they'd be generated normally after configure has run. Modifying the
Autoconf code to be more efficient here is a lot trickier (at least more
work), and as soon as Libtool is in the game, its config.status bits are
where the most overhead comes from.
Cheers,
Ralf
- Re: Fwd: sed porting trouble, (continued)
- Re: Fwd: sed porting trouble, Paul Eggert, 2010/10/05
- Re: Fwd: sed porting trouble, Jim Meyering, 2010/10/05
- Re: Fwd: sed porting trouble, Bruno Haible, 2010/10/05
- Re: Fwd: sed porting trouble, Ralf Wildenhues, 2010/10/05
- Re: Fwd: sed porting trouble, Bruno Haible, 2010/10/05
- Re: Fwd: sed porting trouble, Ralf Wildenhues, 2010/10/05
- Re: multiline substitutions, Bruno Haible, 2010/10/05
- Re: multiline substitutions, Paul Eggert, 2010/10/05
- Re: multiline substitutions,
Ralf Wildenhues <=
- Re: multiline substitutions, Bruno Haible, 2010/10/06
- Re: multiline substitutions, Paolo Bonzini, 2010/10/06
- Re: Fwd: sed porting trouble, Eric Blake, 2010/10/05
- Re: Fwd: sed porting trouble, Bruno Haible, 2010/10/05
- Re: Fwd: sed porting trouble, Eric Blake, 2010/10/05
- Re: minimum automake version, Bruno Haible, 2010/10/05
- Re: Fwd: sed porting trouble, Simon Josefsson, 2010/10/05
- Re: Fwd: sed porting trouble, Bruno Haible, 2010/10/05
- Re: Fwd: sed porting trouble, Paul Eggert, 2010/10/04
- Re: Fwd: sed porting trouble, Jim Meyering, 2010/10/05