[Top][All Lists]

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

Re: Reliance on <config.h>

From: Ludovic Courtès
Subject: Re: Reliance on <config.h>
Date: Tue, 28 Aug 2007 14:32:12 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)


address@hidden (Ludovic Courtès) writes:

> Ralf Wildenhues <address@hidden> writes:
>> 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.
> Good point.  I ended up using `AC_CONFIG_LINKS' to have a `config.h'
> linked to `some-special-name.h'.

Actually, it just occurred to me that `AC_CONFIG_LINKS' doesn't work
here when builddir != srcdir, because both the source and destination of
the link (namely `some-special-name.h' and `config.h') are under
builddir, whereas `AC_CONFIG_LINKS' looks for the source file under

Preparing by hand a `config.h' or `config.h.in' and putting it under
`lib' doesn't work either because it would not get included in the
distribution (I suspect).

Modifying by hand the Gnulib-generated `lib/Makefile.am' doesn't seem
like a viable option either.

Am I overlooking possible solutions or do I really have to rename
`some-special-name.h' to `config.h'?


reply via email to

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