Hello Ludovic,

* Ludovic Courtès wrote on Tue, Jul 17, 2007 at 05:58:34PM CEST:
> 
>   AC_CONFIG_HEADERS([some-special-name.h lib/config.h])
> 
> but then `autoheader' does not generate `lib/config.h.in', which is a
> pain.

You could either write lib/config.h.in yourself; it could contain
  #include "some-special-name.h"

(also, you could just use a file lib/config.h -- there are no #defines
that are changed by configure).

Another possibility is to generate lib/config.h.in from
some-special-name.h.in, say, by some sed script or an autoheader
invocation with arguments and output redirection.

(I suppose another gnulib-specific possibility is that someone hacks
gnulib-tool to support arbitrary other configuration header file names;
or to undo the decision that was made last year to assume a config.h
header file.)

Hope that helps.

Cheers,
Ralf


Reply via email to