libmono_ldflags=""
AC_SUBST(libmono_cflags)
AC_SUBST(libmono_ldflags)
-export_ldflags=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
-AC_SUBST(export_ldflags)
# Variable to have relocatable .pc files (lib, or lib64)
reloc_libdir=`basename ${libdir}`
# Use dolt (http://dolt.freedesktop.org/) instead of libtool for building.
DOLT
+export_ldflags=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
+AC_SUBST(export_ldflags)
+
# Test whenever ld supports -version-script
AC_PROG_LD
AC_PROG_LD_GNU
olive_topdir='$(top_srcdir)/'$olivedir
fi
+# gettext: prepare the translation directories.
+# we do not configure the full gettext, as we consume it dynamically from C#
+AM_PO_SUBDIRS
+
AC_ARG_WITH([libgdiplus],
[ --with-libgdiplus=installed|sibling|<path> Override the libgdiplus used for System.Drawing tests (defaults to NO)],
[], [with_libgdiplus=installed])
AC_ARG_ENABLE(minimal, [ --enable-minimal=LIST drop support for LIST subsystems.
LIST is a comma-separated list from: aot, profiler, decimal, pinvoke, debug,
- reflection_emit, large_code, logging, com, ssa, generics.],
+ reflection_emit, large_code, logging, com, ssa, generics, attach, jit.],
[
for feature in `echo "$enable_minimal" | sed -e "s/,/ /g"`; do
eval "mono_feature_disable_$feature='yes'"
if test "x$mono_feature_disable_profiler" = "xyes"; then
AC_DEFINE(DISABLE_PROFILER, 1, [Disable default profiler support])
fi
+AM_CONDITIONAL(DISABLE_PROFILER, test x$mono_feature_disable_profiler = xyes)
if test "x$mono_feature_disable_decimal" = "xyes"; then
AC_DEFINE(DISABLE_DECIMAL, 1, [Disable System.Decimal support])
AC_DEFINE(DISABLE_GENERICS, 1, [Disable generics support])
fi
+if test "x$mono_feature_disable_attach" = "xyes"; then
+ AC_DEFINE(DISABLE_ATTACH, 1, [Disable agent attach support])
+fi
+
+if test "x$mono_feature_disable_jit" = "xyes"; then
+ AC_DEFINE(DISABLE_JIT, 1, [Disable the JIT, only full-aot mode will be supported by the runtime.])
+fi
+
+AM_CONDITIONAL(DISABLE_JIT, test x$mono_feature_disable_jit = xyes)
+
AC_MSG_CHECKING(for visibility __attribute__)
AC_TRY_COMPILE([], [
void __attribute__ ((visibility ("hidden"))) doit (void) {}
AC_MSG_CHECKING([if big-arrays are to be enabled])
AC_ARG_ENABLE(big-arrays, [ --enable-big-arrays Enable the allocation and indexing of arrays greater than Int32.MaxValue], enable_big_arrays=$enableval, enable_big_arrays=no)
-AC_MSG_RESULT($enable_big_arrays)
if test "x$enable_big_arrays" = "xyes" ; then
+ if test "x$ac_cv_sizeof_void_p" = "x8"; then
AC_DEFINE(MONO_BIG_ARRAYS,1,[Enable the allocation and indexing of arrays greater than Int32.MaxValue])
+ else
+ AC_MSG_ERROR([The allocation and indexing of arrays greater than Int32.MaxValue is not supported on this platform.])
+ fi
fi
+AC_MSG_RESULT($enable_big_arrays)
dnl **************
dnl *** DTRACE ***
fi
AC_SUBST(mono_cfg_dir)
+AC_CONFIG_FILES([po/mcs/Makefile.in])
+
AC_CONFIG_FILES([runtime/mono-wrapper],[chmod +x runtime/mono-wrapper])
AC_CONFIG_FILES([runtime/monodis-wrapper],[chmod +x runtime/monodis-wrapper])
tools/locale-builder/Makefile
runtime/Makefile
msvc/Makefile
+po/Makefile
])
if test x$platform_win32 = xyes; then