summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorths2007-07-12 11:29:18 +0200
committerths2007-07-12 11:29:18 +0200
commitdb8d7dd17bff97aa6311c81a2940012b4c7681d9 (patch)
tree8c02775d709e963f7cbb0018899c7dc4d3320f67 /configure
parentMore documentation bits, from Stefan Weil. (diff)
downloadqemu-db8d7dd17bff97aa6311c81a2940012b4c7681d9.tar.gz
qemu-db8d7dd17bff97aa6311c81a2940012b4c7681d9.tar.xz
qemu-db8d7dd17bff97aa6311c81a2940012b4c7681d9.zip
Fix configure for cygwin, by Tristan Gingold.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3074 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 8 insertions, 3 deletions
diff --git a/configure b/configure
index 43541c6eec..62e0b0c513 100755
--- a/configure
+++ b/configure
@@ -108,9 +108,16 @@ case $targetos in
CYGWIN*)
mingw32="yes"
OS_CFLAGS="-mno-cygwin"
+VL_OS_LDFLAGS="-mno-cygwin"
+if [ "$cpu" = "i386" ] ; then
+ kqemu="yes"
+fi
;;
MINGW32*)
mingw32="yes"
+if [ "$cpu" = "i386" ] ; then
+ kqemu="yes"
+fi
;;
GNU/kFreeBSD)
oss="yes"
@@ -390,9 +397,6 @@ if test "$mingw32" = "yes" ; then
linux="no"
EXESUF=".exe"
oss="no"
- if [ "$cpu" = "i386" ] ; then
- kqemu="yes"
- fi
fi
# Check for gcc4, error if pre-gcc4
@@ -713,6 +717,7 @@ echo "AR=$ar" >> $config_mak
echo "STRIP=$strip -s -R .comment -R .note" >> $config_mak
echo "OS_CFLAGS=$OS_CFLAGS" >> $config_mak
echo "OS_LDFLAGS=$OS_LDFLAGS" >> $config_mak
+echo "VL_OS_LDFLAGS=$VL_OS_LDFLAGS" >> $config_mak
echo "ARCH_CFLAGS=$ARCH_CFLAGS" >> $config_mak
echo "ARCH_LDFLAGS=$ARCH_LDFLAGS" >> $config_mak
echo "CFLAGS=$CFLAGS" >> $config_mak