add host detection for mingw

This commit is contained in:
Josh Coalson 2005-12-02 05:31:29 +00:00
parent 09db6d84a7
commit 91018c8ef7

View 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)