/[qemu]/qemu/configure
ViewVC logotype

Diff of /qemu/configure

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

revision 1.61 by bellard, Sun Mar 13 16:51:53 2005 UTC revision 1.62 by bellard, Sat Apr 23 17:44:28 2005 UTC
# Line 94  mingw32="yes" Line 94  mingw32="yes"
94  FreeBSD)  FreeBSD)
95  bsd="yes"  bsd="yes"
96  oss="yes"  oss="yes"
97    if [ "$cpu" = "i386" ] ; then
98        kqemu="yes"
99    fi
100  ;;  ;;
101  NetBSD)  NetBSD)
102  bsd="yes"  bsd="yes"
# Line 110  darwin="yes" Line 113  darwin="yes"
113  *)  *)
114  oss="yes"  oss="yes"
115  linux="yes"  linux="yes"
116  if [ "$cpu" = "i386" ] ; then  if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
117      kqemu="yes"      kqemu="yes"
118  fi  fi
119  ;;  ;;
# Line 198  if test "$mingw32" = "yes" ; then Line 201  if test "$mingw32" = "yes" ; then
201      EXESUF=".exe"      EXESUF=".exe"
202      gdbstub="no"      gdbstub="no"
203      oss="no"      oss="no"
204      kqemu="no"      if [ "$cpu" = "i386" ] ; then
205            kqemu="yes"
206        fi
207  fi  fi
208    
209  if test -z "$target_list" ; then  if test -z "$target_list" ; then
# Line 350  docdir="$prefix/share/doc/qemu" Line 355  docdir="$prefix/share/doc/qemu"
355  bindir="$prefix/bin"  bindir="$prefix/bin"
356  fi  fi
357    
358  # kernel module support  # kqemu support
359  if test $kqemu = "yes" ; then  if test $kqemu = "yes" ; then
360      # test if the source code is installed      # test if the source code is installed
361      if test '!' -f "kqemu/Makefile" ; then      if test '!' -f "kqemu/Makefile" ; then
# Line 358  if test $kqemu = "yes" ; then Line 363  if test $kqemu = "yes" ; then
363      fi      fi
364  fi  fi
365        
366  if test $kqemu = "yes" ; then  # Linux specific kqemu configuration
367    if test $kqemu = "yes" -a $linux = "yes" ; then
368  # find the kernel path  # find the kernel path
369  if test -z "$kernel_path" ; then  if test -z "$kernel_path" ; then
370  kernel_version=`uname -r`  kernel_version=`uname -r`
# Line 388  fi Line 394  fi
394    
395  fi # kqemu  fi # kqemu
396    
397  fi # kqemu  fi # kqemu and linux
398    
399    
400  echo "Install prefix    $prefix"  echo "Install prefix    $prefix"
# Line 418  if test $fmod = "yes"; then Line 424  if test $fmod = "yes"; then
424      echo -n " (lib='$fmod_lib' include='$fmod_inc')"      echo -n " (lib='$fmod_lib' include='$fmod_inc')"
425  fi  fi
426  echo ""  echo ""
427  if test $kqemu = "yes" ; then  echo "kqemu support     $kqemu"
428    if test $kqemu = "yes" -a $linux = "yes" ; then
429  echo ""  echo ""
430  echo "KQEMU module configuration:"  echo "KQEMU Linux module configuration:"
431  echo "kernel sources    $kernel_path"  echo "kernel sources    $kernel_path"
432  echo -n "kbuild type       "  echo -n "kbuild type       "
433  if test $kbuild26 = "yes"; then  if test $kbuild26 = "yes"; then
# Line 617  if test "$target_cpu" = "i386" ; then Line 624  if test "$target_cpu" = "i386" ; then
624    echo "TARGET_ARCH=i386" >> $config_mak    echo "TARGET_ARCH=i386" >> $config_mak
625    echo "#define TARGET_ARCH \"i386\"" >> $config_h    echo "#define TARGET_ARCH \"i386\"" >> $config_h
626    echo "#define TARGET_I386 1" >> $config_h    echo "#define TARGET_I386 1" >> $config_h
627    if test $kqemu = "yes" -a "$target_softmmu" = "yes" ; then    if test $kqemu = "yes" -a "$target_softmmu" = "yes" -a $cpu = "i386" ; then
628      echo "#define USE_KQEMU 1" >> $config_h      echo "#define USE_KQEMU 1" >> $config_h
629    fi    fi
630  elif test "$target_cpu" = "arm" -o "$target_cpu" = "armeb" ; then  elif test "$target_cpu" = "arm" -o "$target_cpu" = "armeb" ; then
# Line 642  elif test "$target_cpu" = "x86_64" ; the Line 649  elif test "$target_cpu" = "x86_64" ; the
649    echo "#define TARGET_ARCH \"x86_64\"" >> $config_h    echo "#define TARGET_ARCH \"x86_64\"" >> $config_h
650    echo "#define TARGET_I386 1" >> $config_h    echo "#define TARGET_I386 1" >> $config_h
651    echo "#define TARGET_X86_64 1" >> $config_h    echo "#define TARGET_X86_64 1" >> $config_h
652      if test $kqemu = "yes" -a "$target_softmmu" = "yes" -a $cpu = "x86_64"  ; then
653        echo "#define USE_KQEMU 1" >> $config_h
654      fi
655  else  else
656    echo "Unsupported target CPU"    echo "Unsupported target CPU"
657    exit 1    exit 1

Legend:
Removed from v.1.61  
changed lines
  Added in v.1.62

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