add host detection for mingw
authorJosh Coalson <jcoalson@users.sourceforce.net>
Fri, 2 Dec 2005 05:31:29 +0000 (05:31 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Fri, 2 Dec 2005 05:31:29 +0000 (05:31 +0000)
configure.in

index ac76804..c4b8a44 100644 (file)
@@ -54,7 +54,7 @@ AM_CONDITIONAL(FLaC__CPU_PPC, test x$cpu_ppc = xtrue)
 AM_CONDITIONAL(FLaC__CPU_SPARC, test x$cpu_sparc = xtrue)
 case "$host" in
        i386-*-openbsd3.[[0-3]]) OBJ_FORMAT=aoutb ;;
-       *-*-cygwin) OBJ_FORMAT=win32 ;;
+       *-*-cygwin|*mingw*) OBJ_FORMAT=win32 ;;
        *) OBJ_FORMAT=elf ;;
 esac
 AC_SUBST(OBJ_FORMAT)