summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJuan Quintela2009-08-03 14:46:09 +0200
committerAnthony Liguori2009-08-10 20:05:36 +0200
commitfecde40a906a03221ad28fe17d8af1ace64c04d1 (patch)
tree823df19acd6e82705e8f689b7fda9558c2f935e7 /configure
parentThis variables can't be set here (diff)
downloadqemu-fecde40a906a03221ad28fe17d8af1ace64c04d1.tar.gz
qemu-fecde40a906a03221ad28fe17d8af1ace64c04d1.tar.xz
qemu-fecde40a906a03221ad28fe17d8af1ace64c04d1.zip
refactor kqemu selection for both mingw32
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 3 insertions, 6 deletions
diff --git a/configure b/configure
index bb8e387424..0f090b1c89 100755
--- a/configure
+++ b/configure
@@ -236,16 +236,10 @@ case $targetos in
CYGWIN*)
mingw32="yes"
CFLAGS="-mno-cygwin $CFLAGS"
-if [ "$cpu" = "i386" ] ; then
- kqemu="yes"
-fi
audio_possible_drivers="sdl"
;;
MINGW32*)
mingw32="yes"
-if [ "$cpu" = "i386" ] ; then
- kqemu="yes"
-fi
audio_possible_drivers="dsound sdl fmod"
;;
GNU/kFreeBSD)
@@ -365,6 +359,9 @@ if [ "$bsd" = "yes" ] ; then
fi
if test "$mingw32" = "yes" ; then
+ if [ "$cpu" = "i386" ] ; then
+ kqemu="yes"
+ fi
EXESUF=".exe"
CFLAGS="-DWIN32_LEAN_AND_MEAN -DWINVER=0x501 $CFLAGS"
fi