diff options
author | Alex Rønne Petersen <alexrp@xamarin.com> | 2013-03-30 00:17:37 +0400 |
---|---|---|
committer | Alex Rønne Petersen <alexrp@xamarin.com> | 2013-04-09 13:14:45 +0400 |
commit | 566e77925daef452479a197e17b5330bf8daa8a8 (patch) | |
tree | a6a69e12889136eacee2efef54f1b899504a13da /configure.in | |
parent | 88bd84a855fe0dd75a84943106c4622ba231f32f (diff) |
Support disabling of the security subsystem (CAS/CoreCLR).
This could still use some future work. For example, we could get
rid of lots of security code in the class libs. There are also some
functions in the runtime that don't get removed because we don't
use the stub macro approach for all public security functions.
Based on Sebastien's patch.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in index af6540e13a3..adc6c5df7d8 100644 --- a/configure.in +++ b/configure.in @@ -743,7 +743,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, remoting, - sgen_remset, sgen_marksweep_par, sgen_marksweep_fixed, sgen_marksweep_fixed_par, sgen_copying.], + security, 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 eval "mono_feature_disable_$feature='yes'" @@ -887,6 +887,11 @@ if test "x$mono_feature_disable_remoting" = "xyes"; then AC_MSG_NOTICE([Disabled remoting]) fi +if test "x$mono_feature_disable_security" = "xyes"; then + AC_DEFINE(DISABLE_SECURITY, 1, [Disable CAS/CoreCLR security]) + AC_MSG_NOTICE([Disabled CAS/CoreCLR security manager (used e.g. for Moonlight)]) +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.]) |