Commit 370ab9863dd058c36781715f7a910685900acd5f

Authored by Paul Brook
1 parent 067a3ddc

Remove temporary config-host.h

Signed-off-by: Paul Brook <paul@codesourcery.com>
Showing 1 changed file with 8 additions and 1 deletions
configure
@@ -1747,7 +1747,14 @@ if test `expr &quot;$target_list&quot; : &quot;.*softmmu.*&quot;` != 0 ; then @@ -1747,7 +1747,14 @@ if test `expr &quot;$target_list&quot; : &quot;.*softmmu.*&quot;` != 0 ; then
1747 fi 1747 fi
1748 echo "TOOLS=$tools" >> $config_mak 1748 echo "TOOLS=$tools" >> $config_mak
1749 1749
1750 -test -f ${config_h}~ && cmp -s $config_h ${config_h}~ && mv ${config_h}~ $config_h 1750 +if test -f ${config_h}~ ; then
  1751 + if cmp -s $config_h ${config_h}~ ; then
  1752 + mv ${config_h}~ $config_h
  1753 + else
  1754 + rm ${config_h}~
  1755 + fi
  1756 +fi
  1757 +
1751 config_host_mak=${config_mak} 1758 config_host_mak=${config_mak}
1752 1759
1753 for target in $target_list; do 1760 for target in $target_list; do