configure: Detect MinGW-w64 ARM toolchains
André Hentschel
nerv at dawncrow.de
Sat Jan 9 08:15:15 CST 2016
Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
After 1.9.1 news I decided to send it now, because of "Support for the Mingw ARM toolchain".
I first wanted to do more tests, but I think this change is safe enough.
There's one other change I think about. At the moment we don't check for mingw toolchains when crosscompiling:
if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
then
WINE_CHECK_MINGW_PROG(CROSSCC,false)
Is there a good point for the crosscompiling check or am I free to remove it?
(It was introduced in c3c587eb1d340319cecf345528200cf4d26cbfb4)
aclocal.m4 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/aclocal.m4 b/aclocal.m4
index 0769077..ded8ec6 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -175,6 +175,8 @@ dnl Usage: WINE_CHECK_MINGW_PROG(variable,[value-if-not-found],[path])
dnl
AC_DEFUN([WINE_CHECK_MINGW_PROG],
[case "$host_cpu" in
+ arm*)
+ ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
i[[3456789]]86*)
ac_prefix_list="m4_foreach([ac_wine_prefix],[w64-mingw32, pc-mingw32, mingw32msvc, mingw32],
m4_foreach([ac_wine_cpu],[i686,i586,i486,i386],[ac_wine_cpu-ac_wine_prefix-gcc ]))
--
1.9.1
More information about the wine-patches
mailing list