AC_ARG_WITH(xammac, [ --with-xammac=yes,no If you want to build the Xamarin.Mac assemblies (defaults to no)], [], [with_xammac=default])
AC_ARG_WITH(mobile_static, [ --with-mobile_static=yes,no If you want to build the mobile_static assemblies (defaults to no)], [], [with_mobile_static=default])
-AC_ARG_WITH(runtime_preset, [ --with-runtime_preset=all,mobile_static,bitcode_mobile_static Which default profile to build (defaults to all)], [], [with_runtime_preset=all])
+AC_ARG_WITH(runtime_preset, [ --with-runtime_preset=net_4_x,all,mobile_static,bitcode_mobile_static Which default profile to build (defaults to net_4_x)], [], [with_runtime_preset=net_4_x])
dnl
dnl Profile defaults
with_mobile_static_default=no
with_bitcode_default=no
with_cooperative_gc_default=no
+elif test x$with_runtime_preset = xnet_4_x; then
+ with_cooperative_gc_default=no
+ with_profile4_x_default=yes
+ with_monodroid_default=no
+ with_monotouch_default=no
+ with_monotouch_watch_default=no
+ with_monotouch_tv_default=no
+ with_xammac_default=no
+ with_mobile_static_default=no
+ with_bitcode_default=no
elif test x$with_runtime_preset = xall; then
with_cooperative_gc_default=no
with_profile4_x_default=yes
if [[ ${label} == 'w32' ]]; then PLATFORM=Win32; EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --host=i686-w64-mingw32"; export MONO_EXECUTABLE="`cygpath -u ${WORKSPACE}\\\msvc\\\Win32\\\bin\\\Release_SGen\\\mono-sgen.exe`";fi
if [[ ${label} == 'w64' ]]; then PLATFORM=x64; EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --host=x86_64-w64-mingw32 --disable-boehm"; export MONO_EXECUTABLE="`cygpath -u ${WORKSPACE}\\\msvc\\\x64\\\bin\\\Release_SGen\\\mono-sgen.exe`"; fi
-if [[ ${label} == w* ]] || [[ ${label} == 'debian-ppc64el' ]] || [[ ${label} == 'centos-s390x' ]];
+if [[ ${CI_TAGS} == 'mobile_static' ]];
+ then
+ EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-runtime_preset=mobile_static";
+elif [[ ${label} != w* ]] && [[ ${label} != 'debian-ppc64el' ]] && [[ ${label} != 'centos-s390x' ]];
then
# Override the defaults to skip profiles
# only enable the mobile profiles and mobile_static on the main architectures
- # only enable the concurrent collector by default on main unix archs
- EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-monodroid=no --with-monotouch=no --with-monotouch_watch=no --with-monotouch_tv=no --with-xammac=no"
-elif [[ ${CI_TAGS} == 'mobile_static' ]];
- then
- EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-runtime_preset=mobile_static";
-else
- EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-sgen-default-concurrent=yes"
+ # only enable the concurrent collector by default on main unix archs
+ EXTRA_CONF_FLAGS="${EXTRA_CONF_FLAGS} --with-runtime_preset=all --with-sgen-default-concurrent=yes"
fi
if [ -x "/usr/bin/dpkg-architecture" ];