On Mon, May 9, 2011 at 9:42 AM, Paolo Bonzini <pbonz...@redhat.com> wrote: > On 05/09/2011 10:34 AM, Stefan Hajnoczi wrote: >> Is there some smart change detection you are thinking about or just >> something like keeping the old copy of config-host.h and friends to >> see if they have changed? > > Just that, perhaps for both .h and .mak files. Consider this very patch; it > is plausible that switching to another tracing backend does not change the > .h files, right now the backend is only present in .h files to enable the > monitor/cmdline interfaces.
Hmm...I was wrong when I said that just deleting .d files is enough. If ./configure is run *and* an arbitrary header file was changed then stale .o files will be used. So we also need to delete .o files on ./configure. Stefan