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 "
|
notice_platform="32-bit "
|
||||||
TARGETFLAGS="-m32"
|
TARGETFLAGS="-m32"
|
||||||
|
|
||||||
|
enable_win16=${enable_win16:-yes}
|
||||||
else
|
else
|
||||||
TARGETFLAGS="-m64"
|
TARGETFLAGS="-m64"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
*-mingw32*)
|
||||||
|
enable_win16=${enable_win16:-no}
|
||||||
|
;;
|
||||||
|
i[3456789]86*)
|
||||||
|
enable_win16=${enable_win16:-yes}
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case $host_cpu in
|
enable_win16=${enable_win16:-no}
|
||||||
*i[3456789]86*) enable_win16=${enable_win16:-yes} ;;
|
|
||||||
*) enable_win16=${enable_win16:-no} ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
WIN16_FILES="\$(WIN16_FILES)"
|
WIN16_FILES="\$(WIN16_FILES)"
|
||||||
|
|
||||||
|
|
12
configure.ac
12
configure.ac
|
@ -116,17 +116,21 @@ case $host in
|
||||||
host_cpu="i386"
|
host_cpu="i386"
|
||||||
notice_platform="32-bit "
|
notice_platform="32-bit "
|
||||||
AC_SUBST(TARGETFLAGS,"-m32")
|
AC_SUBST(TARGETFLAGS,"-m32")
|
||||||
|
enable_win16=${enable_win16:-yes}
|
||||||
else
|
else
|
||||||
AC_SUBST(TARGETFLAGS,"-m64")
|
AC_SUBST(TARGETFLAGS,"-m64")
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
*-mingw32*)
|
||||||
|
enable_win16=${enable_win16:-no}
|
||||||
|
;;
|
||||||
|
i[[3456789]]86*)
|
||||||
|
enable_win16=${enable_win16:-yes}
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
dnl enable_win16 defaults to yes on x86, to no on other CPUs
|
dnl enable_win16 defaults to yes on x86, to no on other CPUs
|
||||||
case $host_cpu in
|
enable_win16=${enable_win16:-no}
|
||||||
*i[[3456789]]86*) enable_win16=${enable_win16:-yes} ;;
|
|
||||||
*) enable_win16=${enable_win16:-no} ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
AC_SUBST(WIN16_FILES,"\$(WIN16_FILES)")
|
AC_SUBST(WIN16_FILES,"\$(WIN16_FILES)")
|
||||||
AC_SUBST(WIN16_INSTALL,"\$(WIN16_INSTALL)")
|
AC_SUBST(WIN16_INSTALL,"\$(WIN16_INSTALL)")
|
||||||
|
|
Loading…
Reference in New Issue