Module: wine Branch: master Commit: bbcb77cda539788d50dfa35b5583534aa9e8d71e URL: http://source.winehq.org/git/wine.git/?a=commit;h=bbcb77cda539788d50dfa35b55...
Author: André Hentschel nerv@dawncrow.de Date: Mon Jan 11 22:24:13 2016 +0100
configure: Check for MinGW even when cross compiling.
Signed-off-by: André Hentschel nerv@dawncrow.de Signed-off-by: Alexandre Julliard julliard@winehq.org
---
configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure index 91c21aa..a46e6bb 100755 --- a/configure +++ b/configure @@ -8750,7 +8750,7 @@ test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDL
CROSSTARGET=""
-if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll" +if test "x$enable_tests" != xno -a "$LIBEXT" != "dll" then case "$host_cpu" in arm*) diff --git a/configure.ac b/configure.ac index 6535b4a..84a0ac6 100644 --- a/configure.ac +++ b/configure.ac @@ -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 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 WINE_CHECK_MINGW_PROG(CROSSCC,false) if test "$CROSSCC" != "false"