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:
authorRodrigo Kumpera <kumpera@gmail.com>2013-11-04 19:55:29 +0400
committerRodrigo Kumpera <kumpera@gmail.com>2013-11-04 20:04:53 +0400
commit1ba345570fd761c9afb18b1130991f394846ba69 (patch)
treec2ee041ff961b6ee2eff7331670d9faa735c91c6 /configure.in
parent9eda1b444b0f01ced08523b0818395d5f92702f9 (diff)
[build]Enable passing arguments to the extension module.
The build argument --enable-extension-module now takes a comma separated list of arguments that are passed down. Passing no arguments triggers the old behavior.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in14
1 files changed, 13 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 9f49d86cc90..0dbc8107509 100644
--- a/configure.in
+++ b/configure.in
@@ -931,7 +931,19 @@ 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)
+has_extension_module=no
+AC_ARG_ENABLE(extension-module, [ --enable-extension-module=LIST enable the core-extensions from LIST],
+[
+ for extension in `echo "$enable_extension_module" | sed -e "s/,/ /g"`; do
+ if test x$extension = xdefault ; then
+ has_extension_module=yes;
+ fi
+ done
+ if test x$enable_extension_module = xyes; then
+ has_extension_module=yes;
+ fi
+], [])
+
AM_CONDITIONAL([HAS_EXTENSION_MODULE], [test x$has_extension_module != xno])
if test x$has_extension_module != xno ; then