Browse Source

Add configure option to disable remoting.

Disabling remoting includes type proxies, x-domain communication and makes COM unusable.
Rodrigo Kumpera 13 years ago
parent
commit
2641b95392
1 changed files with 6 additions and 1 deletions
  1. 6 1
      configure.in

+ 6 - 1
configure.in

@@ -742,7 +742,7 @@ DISABLED_FEATURES=none
 
 AC_ARG_ENABLE(minimal, [  --enable-minimal=LIST      drop support for LIST subsystems.
      LIST is a comma-separated list from: aot, profiler, decimal, pinvoke, debug, appdomains, verifier, 
-     reflection_emit, reflection_emit_save, large_code, logging, com, ssa, generics, attach, jit, simd, soft_debug, perfcounters, normalization, assembly_remapping, shared_perfcounters,
+     reflection_emit, reflection_emit_save, large_code, logging, com, ssa, generics, attach, jit, simd, soft_debug, perfcounters, normalization, assembly_remapping, shared_perfcounters, remoting,
 	 sgen_remset, sgen_marksweep_par, sgen_marksweep_fixed, sgen_marksweep_fixed_par, sgen_copying.],
 [
 	for feature in `echo "$enable_minimal" | sed -e "s/,/ /g"`; do
@@ -882,6 +882,11 @@ if test "x$mono_feature_disable_appdomains" = "xyes"; then
 	AC_MSG_NOTICE([Disabled support for multiple appdomains.])
 fi
 
+if test "x$mono_feature_disable_remoting" = "xyes"; then
+	AC_DEFINE(DISABLE_REMOTING, 1, [Disable remoting support (This disables type proxies and make com non-functional)])
+	AC_MSG_NOTICE([Disabled remoting])
+fi
+
 if test "x$mono_feature_disable_sgen_remset" = "xyes"; then
 	AC_DEFINE(DISABLE_SGEN_REMSET, 1, [Disable wbarrier=remset support in SGEN.])
 	AC_MSG_NOTICE([Disabled wbarrier=remset support in SGEN.])