diff options
author | Rodrigo Kumpera <kumpera@gmail.com> | 2012-12-11 02:15:16 +0400 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2012-12-11 03:09:25 +0400 |
commit | c99f71cd84ecaf1679d6293da19e04768cbed1f3 (patch) | |
tree | aaa9980c3d3e82919eaa07ba082728d42a77a10d /configure.in | |
parent | b0e9fb6f6f4791e9c7684c2e9af17f9929ff6564 (diff) |
Introduce hooks for parallel build scripts.
* configure.in: Add new configure option that allows a parallel set of
build scripts to contribute to the current one.
* mono/mini/Makefile.am: Include the parallel build scripts when generating
Makefiles.
* mcs/build/gensources.sh:
* mcs/build/library.make: Probe for parallel source lists when building the
class libs.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 1af6871b2f0..b00c777c34b 100644 --- a/configure.in +++ b/configure.in @@ -903,6 +903,15 @@ 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) +AC_ARG_ENABLE(extension-module, [ --enable-extension-module enables usage of the extension module], has_extension_module=$enableval, has_extension_module=no) +AM_CONDITIONAL([HAS_EXTENSION_MODULE], [test x$has_extension_module != xno]) + +if test x$has_extension_module != xno ; then + AC_DEFINE([ENABLE_EXTENSION_MODULE], 1, [Extension module enabled]) + AC_MSG_NOTICE([Enabling mono extension module.]) +fi + + AC_MSG_CHECKING(for visibility __attribute__) AC_COMPILE_IFELSE([ AC_LANG_SOURCE([[ @@ -3368,6 +3377,10 @@ fi echo "MOONLIGHT = 1" >> $srcdir/$mcsdir/build/config.make fi + if test x$has_extension_module != xno; then + echo "EXTENSION_MODULE = 1" >> $srcdir/$mcsdir/build/config.make + fi + default_profile=net_2_0 if test -z "$INSTALL_4_0_TRUE"; then : default_profile=net_4_0 |