Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kliger (λgeek) <alklig@microsoft.com>2019-07-13 18:36:37 +0300
committerZoltan Varga <vargaz@gmail.com>2019-07-13 18:36:37 +0300
commit70e9f8c5010cbe118f6043ac34e1e556a9e15d25 (patch)
tree1c2d68e40b03b6d8571ca15d94c11146129d4261 /configure.ac
parent016a5253bb57c376c9b444387edf22d3facc6ed8 (diff)
Add configure flag to disable GAC support; disable GAC in netcore (#15681)
* [runtime] Add configure flag to disable GAC support * [netcore] Disable GAC support
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 58093b21750..6cbd91b845f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1346,6 +1346,7 @@ elif test x$with_runtime_preset = xnetcore; then
mono_feature_disable_security='yes'
mono_feature_disable_mdb='yes'
mono_feature_disable_com='yes'
+ mono_feature_disable_gac='yes'
disable_mono_native=yes
support_boehm=no
elif test x$with_runtime_preset = xnet_4_x; then
@@ -1721,7 +1722,7 @@ AM_CONDITIONAL(ENABLE_STATIC_GCC_LIBS, test "x$enable_static_gcc_libs" = "xyes")
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, interpreter, simd, soft_debug, perfcounters, normalization, desktop_loader, shared_perfcounters, remoting,
- security, lldb, mdb, assert_messages, cleanup, sgen_marksweep_conc, sgen_split_nursery, sgen_gc_bridge, sgen_debug_helpers, sockets.],
+ security, lldb, mdb, assert_messages, cleanup, sgen_marksweep_conc, sgen_split_nursery, sgen_gc_bridge, sgen_debug_helpers, sockets, gac.],
[
for feature in `echo "$enable_minimal" | sed -e "s/,/ /g"`; do
eval "mono_feature_disable_$feature='yes'"
@@ -1928,6 +1929,11 @@ if test "x$mono_feature_disable_sockets" = "xyes"; then
AC_MSG_NOTICE([Disabled sockets])
fi
+if test "x$mono_feature_disable_gac" = "xyes"; then
+ AC_DEFINE(DISABLE_GAC, 1, [Disable GAC])
+ AC_MSG_NOTICE([Disabled GAC support])
+fi
+
AC_ARG_ENABLE(executables, [ --disable-executables disable the build of the runtime executables], enable_executables=$enableval, enable_executables=yes)
AM_CONDITIONAL(DISABLE_EXECUTABLES, test x$enable_executables = xno)