summary refs log tree commit diff stats
path: root/configure
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-04-21 23:27:19 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-04-21 23:27:19 +0000
commitc20709aa32045c79e21905c4c009aae53d008af5 (patch)
tree560308617bab7dc00827f99f822503483e424a72 /configure
parent92cb7d5423ed30a51ed9c9ea60cc674d4fa68820 (diff)
downloadfocaccia-qemu-c20709aa32045c79e21905c4c009aae53d008af5.tar.gz
focaccia-qemu-c20709aa32045c79e21905c4c009aae53d008af5.zip
initial user mode network support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@730 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 059648c491..b5f3e7a4f4 100755
--- a/configure
+++ b/configure
@@ -71,6 +71,7 @@ bigendian="no"
 mingw32="no"
 EXESUF=""
 gdbstub="yes"
+slirp="no"
 
 # OS specific
 targetos=`uname -s`
@@ -124,6 +125,8 @@ for opt do
   ;;
   --enable-mingw32) mingw32="yes" ; cross_prefix="i386-mingw32-"
   ;; 
+  --enable-slirp) slirp="yes"
+  ;; 
   esac
 done
 
@@ -378,6 +381,10 @@ if test "$sdl" = "yes" ; then
   fi
   echo "" >> $config_mak
 fi
+if test "$slirp" = "yes" ; then
+  echo "CONFIG_SLIRP=yes" >> $config_mak
+  echo "#define CONFIG_SLIRP 1" >> $config_h
+fi
 echo -n "VERSION=" >>$config_mak
 head $source_path/VERSION >>$config_mak
 echo "" >>$config_mak