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:
This commit is contained in:
parent
1f6537382c
commit
3457a3f8dd
16
configure
vendored
16
configure
vendored
@ -364,6 +364,14 @@ if [ "$bsd" = "yes" ] ; then
|
|||||||
bsd_user="yes"
|
bsd_user="yes"
|
||||||
fi
|
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
|
# find source path
|
||||||
source_path=`dirname "$0"`
|
source_path=`dirname "$0"`
|
||||||
source_path_used="no"
|
source_path_used="no"
|
||||||
@ -666,14 +674,6 @@ echo "NOTE: The object files are built at the place where configure is launched"
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
if test ! -x "$(which cgcc 2>/dev/null)"; then
|
||||||
sparse="no"
|
sparse="no"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user