From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXwyu-00039p-TZ for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXwyq-000370-9a for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:36 -0400 Received: from [199.232.76.173] (port=51662 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXwyq-00036n-0k for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:32 -0400 Received: from mx2.redhat.com ([66.187.237.31]:40773) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXwyp-0006ue-AI for qemu-devel@nongnu.org; Mon, 03 Aug 2009 08:49:31 -0400 From: Juan Quintela Date: Mon, 3 Aug 2009 14:46:07 +0200 Message-Id: <5bb4a7540a8daa27ef9c60c6f70f52117d2d62eb.1249301360.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: Subject: [Qemu-devel] [PATCH 16/81] move mingw32 code after selection of OS List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com Signed-off-by: Juan Quintela --- configure | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configure b/configure index 6e59f74..d283c34 100755 --- a/configure +++ b/configure @@ -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 -- 1.6.2.5