configure: Disable VxD and DOS modules when 16-bit support is disabled.

This commit is contained in:
Alexandre Julliard 2009-02-23 17:46:33 +01:00
parent f0daa7e9b0
commit 776820e53c
2 changed files with 22 additions and 31 deletions

28
configure vendored
View File

@ -3886,11 +3886,18 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
esac
case $host_cpu in
*i[3456789]86*)
enable_win16=${enable_win16:-yes}
;;
*)
enable_win16=${enable_win16:-no}
*i[3456789]86*) enable_win16=${enable_win16:-yes} ;;
*) enable_win16=${enable_win16:-no} ;;
esac
WIN16_FILES="\$(WIN16_FILES)"
WIN16_INSTALL="\$(WIN16_INSTALL)"
if test "x$enable_win16" != "xyes"
then
WIN16_FILES=""
WIN16_INSTALL=""
enable_ifsmgr_vxd=${enable_ifsmgr_vxd:-no}
enable_mmdevldr_vxd=${enable_mmdevldr_vxd:-no}
enable_monodebg_vxd=${enable_monodebg_vxd:-no}
@ -3903,17 +3910,6 @@ case $host_cpu in
enable_w32skrnl=${enable_w32skrnl:-no}
enable_winedos=${enable_winedos:-no}
enable_winevdm=${enable_winevdm:-no}
;;
esac
WIN16_FILES="\$(WIN16_FILES)"
WIN16_INSTALL="\$(WIN16_INSTALL)"
if test "x$enable_win16" != "xyes"
then
WIN16_FILES=""
WIN16_INSTALL=""
fi
{ $as_echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5

View File

@ -124,12 +124,16 @@ 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}
dnl disable some modules by default on non-x86
*i[[3456789]]86*) enable_win16=${enable_win16:-yes} ;;
*) enable_win16=${enable_win16:-no} ;;
esac
AC_SUBST(WIN16_FILES,"\$(WIN16_FILES)")
AC_SUBST(WIN16_INSTALL,"\$(WIN16_INSTALL)")
if test "x$enable_win16" != "xyes"
then
WIN16_FILES=""
WIN16_INSTALL=""
enable_ifsmgr_vxd=${enable_ifsmgr_vxd:-no}
enable_mmdevldr_vxd=${enable_mmdevldr_vxd:-no}
enable_monodebg_vxd=${enable_monodebg_vxd:-no}
@ -142,15 +146,6 @@ dnl disable some modules by default on non-x86
enable_w32skrnl=${enable_w32skrnl:-no}
enable_winedos=${enable_winedos:-no}
enable_winevdm=${enable_winevdm:-no}
;;
esac
AC_SUBST(WIN16_FILES,"\$(WIN16_FILES)")
AC_SUBST(WIN16_INSTALL,"\$(WIN16_INSTALL)")
if test "x$enable_win16" != "xyes"
then
WIN16_FILES=""
WIN16_INSTALL=""
fi
AC_CACHE_CHECK([for the directory containing the Wine tools], wine_cv_toolsdir,