Commit 5af9402e authored by Peter Oberndorfer's avatar Peter Oberndorfer Committed by Alexandre Julliard

configure: Detect mingw cross compiler in gentoo.

parent 3797e6ca
...@@ -16185,7 +16185,7 @@ echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; } ...@@ -16185,7 +16185,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 mingw-gcc for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-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
...@@ -16228,7 +16228,7 @@ fi ...@@ -16228,7 +16228,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 mingw-dlltool for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-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
...@@ -16271,7 +16271,7 @@ fi ...@@ -16271,7 +16271,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 mingw-windres for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-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
......
...@@ -1082,9 +1082,9 @@ case $host_os in ...@@ -1082,9 +1082,9 @@ case $host_os in
AC_SUBST(CROSSTEST,"") AC_SUBST(CROSSTEST,"")
if test "$cross_compiling" = "no" if test "$cross_compiling" = "no"
then then
AC_CHECK_PROGS(CROSSCC,i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc,false) AC_CHECK_PROGS(CROSSCC,i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc,false)
AC_CHECK_PROGS(DLLTOOL,i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool,false) AC_CHECK_PROGS(DLLTOOL,i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool,false)
AC_CHECK_PROGS(CROSSWINDRES,i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres,false) AC_CHECK_PROGS(CROSSWINDRES,i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres,false)
if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
fi fi
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment