Add aliases to configure check for mingw cross compiler and dlltool.

This commit is contained in:
Hans Leidekker 2003-04-12 00:00:57 +00:00 committed by Alexandre Julliard
parent 26ba64b563
commit b195d9fe54
2 changed files with 4 additions and 4 deletions

4
configure vendored
View File

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

View File

@ -848,8 +848,8 @@ case $host_os in
AC_SUBST(CROSSTEST,"")
if test "$cross_compiling" = "no"
then
AC_CHECK_PROGS(CROSSCC,i586-mingw32msvc-gcc,false)
AC_CHECK_PROGS(DLLTOOL,i586-mingw32msvc-dlltool,false)
AC_CHECK_PROGS(CROSSCC,i586-mingw32msvc-gcc i386-mingw32-gcc,false)
AC_CHECK_PROGS(DLLTOOL,i586-mingw32msvc-dlltool i386-mingw32-dlltool,false)
if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
fi
;;