diff options
author | Juan Quintela | 2009-08-03 14:46:07 +0200 |
---|---|---|
committer | Anthony Liguori | 2009-08-10 20:05:36 +0200 |
commit | 3457a3f8dd4c3a4bcc7b1b051b29b5871b41e8f0 (patch) | |
tree | f965fe40b91c658e6b1110f03ec0b45d9add4bd3 /configure | |
parent | __sparc_*__ is defined through -D__sparc_*__ (diff) | |
download | qemu-3457a3f8dd4c3a4bcc7b1b051b29b5871b41e8f0.tar.gz qemu-3457a3f8dd4c3a4bcc7b1b051b29b5871b41e8f0.tar.xz qemu-3457a3f8dd4c3a4bcc7b1b051b29b5871b41e8f0.zip |
move mingw32 code after selection of OS
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-x | configure | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -364,6 +364,14 @@ if [ "$bsd" = "yes" ] ; then bsd_user="yes" fi +if test "$mingw32" = "yes" ; then + linux="no" + EXESUF=".exe" + linux_user="no" + bsd_user="no" + CFLAGS="-DWIN32_LEAN_AND_MEAN -DWINVER=0x501 $CFLAGS" +fi + # find source path source_path=`dirname "$0"` source_path_used="no" @@ -666,14 +674,6 @@ echo "NOTE: The object files are built at the place where configure is launched" exit 1 fi -if test "$mingw32" = "yes" ; then - linux="no" - EXESUF=".exe" - linux_user="no" - bsd_user="no" - CFLAGS="-DWIN32_LEAN_AND_MEAN -DWINVER=0x501 $CFLAGS" -fi - if test ! -x "$(which cgcc 2>/dev/null)"; then sparse="no" fi |