Support the mingw-w64 toolchain.
[gpgme.git] / autogen.sh
index b988aced0dd24cf1cf85ce9cf9a7f5507290f929..1f22367c0d162a5def02c2955d7bfe604389b9e8 100755 (executable)
@@ -102,11 +102,11 @@ if [ "$myhost" = "w32" ]; then
         64)
           w32root="$w64root"
           [ -z "$w32root" ] && w32root="$HOME/w64root"
-          toolprefixes="amd64-mingw32msvc"
+          toolprefixes="i686-w64-mingw32 amd64-mingw32msvc"
           ;;
         *)
           [ -z "$w32root" ] && w32root="$HOME/w32root"
-          toolprefixes="i586-mingw32msvc i386-mingw32msvc"
+          toolprefixes="i686-w64-mingw32 i586-mingw32msvc i386-mingw32msvc"
           ;;
     esac
     echo "Using $w32root as standard install directory" >&2