From b195d9fe54132f938c861b4762eba3cc51a8a9da Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Sat, 12 Apr 2003 00:00:57 +0000 Subject: [PATCH] Add aliases to configure check for mingw cross compiler and dlltool. --- configure | 4 ++-- configure.ac | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 5680cfdec7b..f3b3669c7d9 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.ac b/configure.ac index 97255bd0982..e2e240e686a 100644 --- a/configure.ac +++ b/configure.ac @@ -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 ;;