qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] configure: re-add current options in config-host.ma


From: Michael S. Tsirkin
Subject: [Qemu-devel] [PATCH] configure: re-add current options in config-host.mak
Date: Sun, 24 Nov 2013 11:37:04 +0200

commit bdf523e6923f1e667055e947e71fc600549cefae
    "configure: Add config.status to recreate the current configuration"
moved current configure flags to config.status

This makes sense, but this makes it harder to bisect problems that
trigger with a specific set of flags only, since old configure is not
smart enough to find them there.

Simply add the options as a comment in the format
old configure expected - they are then ignored by the new configure.

Cc: Stefan Weil <address@hidden>
Cc: Fam Zheng <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 508f6a5..f6d5ccd 100755
--- a/configure
+++ b/configure
@@ -3797,6 +3797,7 @@ config_host_mak="config-host.mak"
 echo "# Automatically generated by configure - do not modify" 
>config-all-disas.mak
 
 echo "# Automatically generated by configure - do not modify" > 
$config_host_mak
+sed -n -e 's/exec/# Configured with:/p' config.status >> $config_host_mak
 echo >> $config_host_mak
 
 echo all: >> $config_host_mak
-- 
MST



reply via email to

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