bug-gnulib
[Top][All Lists]
Advanced

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

Re: Mutilated stdlib.h


From: Ralf Wildenhues
Subject: Re: Mutilated stdlib.h
Date: Sun, 3 Apr 2011 10:26:59 +0200
User-agent: Mutt/1.5.20 (2010-08-04)

* Bruno Haible wrote on Sat, Apr 02, 2011 at 06:42:46PM CEST:
> Ralf Wildenhues wrote:
> > A nice and clean solution to would require a AC_CONFIG_FILES_LAZY macro
> > or similar (similarly to how AC_CONFIG_HEADERS works, but it should also
> > work if the second macro argument modified the output file further).
> 
> I don't think it is a good idea to move the creation of generated files
> from Makefile to configure. The lesson I've learned from the AC_LIBOBJ
> story is:
> 
>   !! Use configure to determine platform dependent settings, nothing more. !!
>   !! Use Makefile rules to create files.                                   !!

Bruno, I'm not dogmatic.  The above looks like a good rule of thumb, but
declaring it as a hard rule is like declaring any other kind of dogma.
We can, and should, deviate from it when it seems useful and the
downsides are known and acceptable.

Thanks,
Ralf



reply via email to

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