Patchwork [18/81] refactor kqemu selection for both mingw32

login
register
mail settings
Submitter Juan Quintela
Date Aug. 3, 2009, 12:46 p.m.
Message ID <4449c57b77c9862095747a446cd7e096410bc7dd.1249301360.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/30518/
State Superseded
Headers show

Comments

Juan Quintela - Aug. 3, 2009, 12:46 p.m.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 configure |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

Patch

diff --git a/configure b/configure
index a844ad4..5d69420 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