Revision 1215c6e7 configure

b/configure
1800 1800
fi
1801 1801

  
1802 1802
config_host_mak="config-host.mak"
1803
config_host_h="config-host.h"
1804 1803
config_host_ld="config-host.ld"
1805 1804

  
1806
#echo "Creating $config_host_mak and $config_host_h"
1807

  
1808
test -f $config_host_h && mv $config_host_h ${config_host_h}~
1809

  
1810 1805
echo "# Automatically generated by configure - do not modify" > $config_host_mak
1811 1806
printf "# Configured with:" >> $config_host_mak
1812 1807
printf " '%s'" "$0" "$@" >> $config_host_mak
......
2064 2059
echo "LIBS_TOOLS+=$libs_tools" >> $config_host_mak
2065 2060
echo "EXESUF=$EXESUF" >> $config_host_mak
2066 2061

  
2067
echo "/* Automatically generated by configure - do not modify */" > $config_host_h
2068

  
2069
/bin/sh $source_path/create_config < $config_host_mak >> $config_host_h
2070

  
2071
if test -f ${config_host_h}~ ; then
2072
  if cmp -s $config_host_h ${config_host_h}~ ; then
2073
    mv ${config_host_h}~ $config_host_h
2074
  else
2075
    rm ${config_host_h}~
2076
  fi
2077
fi
2078

  
2079 2062
# generate list of library paths for linker script
2080 2063

  
2081 2064
$ld --verbose -v 2> /dev/null | grep SEARCH_DIR > ${config_host_ld}
......
2474 2457
echo "LDFLAGS+=$ldflags" >> $config_mak
2475 2458
echo "QEMU_CFLAGS+=$cflags" >> $config_mak
2476 2459

  
2477
echo "/* Automatically generated by configure - do not modify */" > $config_h
2478
echo "#include \"../config-host.h\"" >> $config_h
2460
echo "#include \"../config-host.h\"" > $config_h
2479 2461

  
2480 2462
/bin/sh $source_path/create_config < $config_mak >> $config_h
2481 2463

  

Also available in: Unified diff