/[qemu]/qemu/configure
ViewVC logotype

Diff of /qemu/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.49 by bellard, Sun Dec 19 23:33:47 2004 UTC revision 1.50 by bellard, Mon Jan 3 23:38:40 2005 UTC
# Line 27  ar="ar" Line 27  ar="ar"
27  make="make"  make="make"
28  strip="strip"  strip="strip"
29  cpu=`uname -m`  cpu=`uname -m`
30  target_list="i386-user i386 i386-softmmu arm-user armeb-user sparc-user ppc-user ppc-softmmu sparc-softmmu"  target_list="i386-user i386 i386-softmmu arm-user armeb-user sparc-user ppc-user ppc-softmmu sparc-softmmu x86_64-softmmu"
31  case "$cpu" in  case "$cpu" in
32    i386|i486|i586|i686|i86pc|BePC)    i386|i486|i586|i686|i86pc|BePC)
33      cpu="i386"      cpu="i386"
# Line 63  case "$cpu" in Line 63  case "$cpu" in
63      cpu="m68k"      cpu="m68k"
64    ;;    ;;
65    x86_64|amd64)    x86_64|amd64)
66      cpu="amd64"      cpu="x86_64"
67    ;;    ;;
68    *)    *)
69      cpu="unknown"      cpu="unknown"
# Line 383  echo "EXESUF=$EXESUF" >> $config_mak Line 383  echo "EXESUF=$EXESUF" >> $config_mak
383  if test "$cpu" = "i386" ; then  if test "$cpu" = "i386" ; then
384    echo "ARCH=i386" >> $config_mak    echo "ARCH=i386" >> $config_mak
385    echo "#define HOST_I386 1" >> $config_h    echo "#define HOST_I386 1" >> $config_h
386  elif test "$cpu" = "amd64" ; then  elif test "$cpu" = "x86_64" ; then
387    echo "ARCH=amd64" >> $config_mak    echo "ARCH=x86_64" >> $config_mak
388    echo "#define HOST_AMD64 1" >> $config_h    echo "#define HOST_X86_64 1" >> $config_h
389  elif test "$cpu" = "armv4b" ; then  elif test "$cpu" = "armv4b" ; then
390    echo "ARCH=arm" >> $config_mak    echo "ARCH=arm" >> $config_mak
391    echo "#define HOST_ARM 1" >> $config_h    echo "#define HOST_ARM 1" >> $config_h
# Line 538  elif test "$target_cpu" = "ppc" ; then Line 538  elif test "$target_cpu" = "ppc" ; then
538    echo "TARGET_ARCH=ppc" >> $config_mak    echo "TARGET_ARCH=ppc" >> $config_mak
539    echo "#define TARGET_ARCH \"ppc\"" >> $config_h    echo "#define TARGET_ARCH \"ppc\"" >> $config_h
540    echo "#define TARGET_PPC 1" >> $config_h    echo "#define TARGET_PPC 1" >> $config_h
541    elif test "$target_cpu" = "x86_64" ; then
542      echo "TARGET_ARCH=x86_64" >> $config_mak
543      echo "#define TARGET_ARCH \"x86_64\"" >> $config_h
544      echo "#define TARGET_I386 1" >> $config_h
545      echo "#define TARGET_X86_64 1" >> $config_h
546  else  else
547    echo "Unsupported target CPU"    echo "Unsupported target CPU"
548    exit 1    exit 1

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26