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: Sat, 2 Apr 2011 09:28:55 +0200
User-agent: Mutt/1.5.20 (2010-08-04)

* Bruno Haible wrote on Sat, Apr 02, 2011 at 02:21:24AM CEST:
>   - If gnulib-tool removes the generated files stdio.h, stdlib.h, and similar,
>     the "make" process will rebuild a majority of the .o files and all
>     tests programs. Not much of a win, compared to running "make clean".

I agree that removing them is not a good idea.  It would be a good idea
however if all files created at config.status run time had proper
rebuild rules in place in the makefile.  Ideally, those rebuild rules
work lazily for headers which are included often (i.e., if the contents
don't change, the file isn't updated).

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).

Cheers,
Ralf




reply via email to

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