diff mbox

[01/14] Generate config-host.h after dealing with all the targets

Message ID 97dae855ab5f0eca022e13263b8c4216c50b186d.1250810973.git.quintela@redhat.com
State Superseded
Headers show

Commit Message

Juan Quintela Aug. 20, 2009, 11:37 p.m. UTC
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 configure |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/configure b/configure
index 0b2c721..e0928fe 100755
--- a/configure
+++ b/configure
@@ -1793,10 +1793,6 @@  echo "LIBS+=$LIBS" >> $config_host_mak
 echo "LIBS_TOOLS+=$libs_tools" >> $config_host_mak
 echo "EXESUF=$EXESUF" >> $config_host_mak

-echo "/* Automatically generated by configure - do not modify */" > $config_host_h
-
-/bin/sh $source_path/create_config < $config_host_mak >> $config_host_h
-
 if test -f ${config_host_h}~ ; then
   if cmp -s $config_host_h ${config_host_h}~ ; then
     mv ${config_host_h}~ $config_host_h
@@ -2227,6 +2223,10 @@  fi

 done # for target in $targets

+echo "/* Automatically generated by configure - do not modify */" > $config_host_h
+
+/bin/sh $source_path/create_config < $config_host_mak >> $config_host_h
+
 # build tree in object directory if source path is different from current one
 if test "$source_path_used" = "yes" ; then
     DIRS="tests tests/cris slirp audio block pc-bios/optionrom"