configure: Detect MinGW-w64 Clang cross toolchain

Alexandre Julliard julliard at winehq.org
Wed Dec 30 03:09:35 CST 2015


André Hentschel <nerv at dawncrow.de> writes:

> @@ -171,17 +171,19 @@ LIBS="$ac_wine_check_funcs_save_LIBS"])
>  
>  dnl **** Check for a mingw program, trying the various mingw prefixes ****
>  dnl
> -dnl Usage: WINE_CHECK_MINGW_PROG(variable,prog,[value-if-not-found],[path])
> +dnl Usage: WINE_CHECK_MINGW_PROG(variable,progs,[value-if-not-found],[path])
>  dnl
>  AC_DEFUN([WINE_CHECK_MINGW_PROG],
>  [case "$host_cpu" in
>    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-$2 ]))
> +                        m4_foreach([ac_wine_cpu],[i686,i586,i486,i386],
> +                        m4_foreach([ac_wine_prog],[$2],[ac_wine_cpu-ac_wine_prefix-ac_wine_prog ])))
>                          mingw32-$2" ;;

Do we need to duplicate all the names?  Or would it be sufficient to
check only the w64-mingw one?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list