configure: Recognize i686-mingw32 prefix for crosscompiling.

This commit is contained in:
Peter Oberndorfer 2007-09-16 20:11:12 +02:00 committed by Alexandre Julliard
parent 157a0199e9
commit cfd561f605
2 changed files with 5 additions and 5 deletions

2
aclocal.m4 vendored
View File

@ -141,7 +141,7 @@ dnl
AC_DEFUN([WINE_CHECK_MINGW_PROG], AC_DEFUN([WINE_CHECK_MINGW_PROG],
[AC_CHECK_PROGS([$1], [AC_CHECK_PROGS([$1],
m4_foreach([ac_wine_prefix], m4_foreach([ac_wine_prefix],
[i586-mingw32msvc, i386-mingw32msvc, i386-mingw32, mingw32, mingw], [i586-mingw32msvc, i386-mingw32msvc, i686-mingw32, i386-mingw32, mingw32, mingw],
[ac_wine_prefix-$2 ]), [ac_wine_prefix-$2 ]),
[$3],[$4])]) [$3],[$4])])

8
configure vendored
View File

@ -8876,7 +8876,7 @@ echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
if test "$cross_compiling" = "no" if test "$cross_compiling" = "no"
then then
for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
@ -8919,7 +8919,7 @@ fi
done done
test -n "$CROSSCC" || CROSSCC="false" test -n "$CROSSCC" || CROSSCC="false"
for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
@ -8962,7 +8962,7 @@ fi
done done
test -n "$DLLTOOL" || DLLTOOL="false" test -n "$DLLTOOL" || DLLTOOL="false"
for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
@ -9005,7 +9005,7 @@ fi
done done
test -n "$CROSSWINDRES" || CROSSWINDRES="false" test -n "$CROSSWINDRES" || CROSSWINDRES="false"
for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2