From 370ab9863dd058c36781715f7a910685900acd5f Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Tue, 26 May 2009 15:07:56 +0100 Subject: [PATCH] Remove temporary config-host.h Signed-off-by: Paul Brook --- configure | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 4729c7fa35..8682136038 100755 --- a/configure +++ b/configure @@ -1747,7 +1747,14 @@ if test `expr "$target_list" : ".*softmmu.*"` != 0 ; then fi echo "TOOLS=$tools" >> $config_mak -test -f ${config_h}~ && cmp -s $config_h ${config_h}~ && mv ${config_h}~ $config_h +if test -f ${config_h}~ ; then + if cmp -s $config_h ${config_h}~ ; then + mv ${config_h}~ $config_h + else + rm ${config_h}~ + fi +fi + config_host_mak=${config_mak} for target in $target_list; do