Hello Ludovic, * Ludovic Courtès wrote on Tue, Aug 28, 2007 at 02:32:12PM CEST: > [EMAIL PROTECTED] (Ludovic Courtès) writes: > > Ralf Wildenhues <[EMAIL PROTECTED]> 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 > `srcdir'.
AFAIR, this bug of AC_CONFIG_LINKS has been fixed in CVS Autoconf but not yet in 2.61a. Cheers, Ralf