configure: Disable 16-bit code by default for Mingw builds.
This commit is contained in:
parent
3f0d9d12c3
commit
9981f4c44a
|
@ -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)"
|
||||
|
||||
|
|
12
configure.ac
12
configure.ac
|
@ -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)")
|
||||
|
|
Loading…
Reference in New Issue