* 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