configure: Disable 16-bit code by default for Mingw builds.

This commit is contained in:
Alexandre Julliard 2009-02-26 15:00:12 +01:00
parent 3f0d9d12c3
commit 9981f4c44a
2 changed files with 16 additions and 8 deletions

12
configure vendored
View File

@ -3877,17 +3877,21 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
notice_platform="32-bit "
TARGETFLAGS="-m32"
enable_win16=${enable_win16:-yes}
else
TARGETFLAGS="-m64"
fi
;;
*-mingw32*)
enable_win16=${enable_win16:-no}
;;
i[3456789]86*)
enable_win16=${enable_win16:-yes}
;;
esac
case $host_cpu in
*i[3456789]86*) enable_win16=${enable_win16:-yes} ;;
*) enable_win16=${enable_win16:-no} ;;
esac
enable_win16=${enable_win16:-no}
WIN16_FILES="\$(WIN16_FILES)"

View File

@ -116,17 +116,21 @@ case $host in
host_cpu="i386"
notice_platform="32-bit "
AC_SUBST(TARGETFLAGS,"-m32")
enable_win16=${enable_win16:-yes}
else
AC_SUBST(TARGETFLAGS,"-m64")
fi
;;
*-mingw32*)
enable_win16=${enable_win16:-no}
;;
i[[3456789]]86*)
enable_win16=${enable_win16:-yes}
;;
esac
dnl enable_win16 defaults to yes on x86, to no on other CPUs
case $host_cpu in
*i[[3456789]]86*) enable_win16=${enable_win16:-yes} ;;
*) enable_win16=${enable_win16:-no} ;;
esac
enable_win16=${enable_win16:-no}
AC_SUBST(WIN16_FILES,"\$(WIN16_FILES)")
AC_SUBST(WIN16_INSTALL,"\$(WIN16_INSTALL)")