diff options
author | Paolo Molaro <lupus@oddwiz.org> | 2006-02-22 22:11:17 +0300 |
---|---|---|
committer | Paolo Molaro <lupus@oddwiz.org> | 2006-02-22 22:11:17 +0300 |
commit | 608a96c46308cfba73717c017b517e3b8e118c97 (patch) | |
tree | eb3e04a8c627fd01f6c2240612307f55955895d4 /configure.in | |
parent | 67269cafabad8f60403c7398fd4a94f6c7b665d1 (diff) |
Wed Feb 22 19:38:40 CET 2006 Paolo Molaro <lupus@ximian.com>
* mini-x86.c, mini-amd64.c: generate code to access tls items
in a faster way for Xen systems.
svn path=/trunk/mono/; revision=57168
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.in b/configure.in index ec4518f59db..580d87ded70 100644 --- a/configure.in +++ b/configure.in @@ -477,6 +477,22 @@ fi AM_CONDITIONAL(STATIC_MONO, test x$with_static_mono != xno) +AC_ARG_WITH(xen_opt, [ --with-xen_opt=yes,no Enable Xen-specific behaviour],[],[with_xen_opt=yes]) +if test "x$with_xen_opt" = "xyes"; then + AC_DEFINE(MONO_XEN_OPT, 1, [Xen-specific behaviour]) + ORIG_CFLAGS=$CFLAGS + CFLAGS="$CFLAGS -mno-tls-direct-seg-refs" + AC_MSG_CHECKING(for -mno-tls-direct-seg-refs option to gcc) + AC_TRY_COMPILE([], [ + void main () { } + ], [ + AC_MSG_RESULT(yes) + ], [ + AC_MSG_RESULT(no) + CFLAGS=$ORIG_CFLAGS + ]) +fi + 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.], [ |