aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
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