From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:37279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJMQY-0005HY-6x for qemu-devel@nongnu.org; Mon, 09 May 2011 05:06:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QJMQX-0007dU-5X for qemu-devel@nongnu.org; Mon, 09 May 2011 05:06:54 -0400 MIME-Version: 1.0 In-Reply-To: <4DC7A8E0.1020500@redhat.com> References: <1304322846-24376-4-git-send-email-pbonzini@redhat.com> <4DC78F5D.7080505@redhat.com> <4DC7A8E0.1020500@redhat.com> Date: Mon, 9 May 2011 10:06:52 +0100 Message-ID: From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH 4/4] fix compilation when reconfiguring without dtrace backend List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org On Mon, May 9, 2011 at 9:42 AM, Paolo Bonzini 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. =A0Consider this very patc= h; it > is plausible that switching to another tracing backend does not change th= e > .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