configure: Check for MinGW even when cross compiling.
Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
beceaa82ca
commit
bbcb77cda5
|
@ -8750,7 +8750,7 @@ test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDL
|
||||||
|
|
||||||
CROSSTARGET=""
|
CROSSTARGET=""
|
||||||
|
|
||||||
if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
|
if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
|
||||||
then
|
then
|
||||||
case "$host_cpu" in
|
case "$host_cpu" in
|
||||||
arm*)
|
arm*)
|
||||||
|
|
|
@ -943,7 +943,7 @@ test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDL
|
||||||
|
|
||||||
dnl Check for cross compiler to build test programs
|
dnl Check for cross compiler to build test programs
|
||||||
AC_SUBST(CROSSTARGET,"")
|
AC_SUBST(CROSSTARGET,"")
|
||||||
if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
|
if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
|
||||||
then
|
then
|
||||||
WINE_CHECK_MINGW_PROG(CROSSCC,false)
|
WINE_CHECK_MINGW_PROG(CROSSCC,false)
|
||||||
if test "$CROSSCC" != "false"
|
if test "$CROSSCC" != "false"
|
||||||
|
|
Loading…
Reference in New Issue