2008-05-27 Rodrigo Kumpera <rkumpera@novell.com>
authorRodrigo Kumpera <kumpera@gmail.com>
Tue, 27 May 2008 20:49:53 +0000 (20:49 -0000)
committerRodrigo Kumpera <kumpera@gmail.com>
Tue, 27 May 2008 20:49:53 +0000 (20:49 -0000)
* configure.in: Add configure option for big arrays.

  Patch by Luis F. Ortiz.
  Contributed under X11 license.
  http://lists.ximian.com/pipermail/mono-devel-list/2008-May/027995.html

svn path=/trunk/mono/; revision=104202

ChangeLog
configure.in

index af9a6739815f54548221a36084b509021a811597..3297dc5586a40b99ebe129caf652123821bac5b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-05-27 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * configure.in: Add configure option for big arrays.
+
+         Patch by Luis F. Ortiz.
+         Contributed under X11 license.
+         http://lists.ximian.com/pipermail/mono-devel-list/2008-May/027995.html
+
 2008-05-23  Wade Berrier  <wberrier@novell.com>
 
        * scripts/Makefile.am: remove mbas script since we don't ship it anymore
index 50e9306f779866ee6c07871fa79734f675e280ff..afe472ee0be9f0eee0f52cabc7adbad27445071c 100644 (file)
@@ -1677,6 +1677,13 @@ fi
 AC_ARG_ENABLE(nunit-tests, [ --enable-nunit-tests      Run the nunit tests of the class library on 'make check'])
 AM_CONDITIONAL(ENABLE_NUNIT_TESTS, [test x$enable_nunit_tests = xyes])
 
+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])
+AC_MSG_RESULT($enable_big_arrays)
+if test "x$enable_big_arrays" = "xyes" ; then
+       AC_DEFINE(MONO_BIG_ARRAYS,1,[Enable the allocation and indexing of arrays greater than Int32.MaxValue])
+fi
+
 TARGET="unknown"
 ACCESS_UNALIGNED="yes"
 
@@ -2338,6 +2345,7 @@ echo "
        libgdiplus:  $libgdiplus_msg
        zlib:        $zlib_msg
        oprofile:    $OPROFILE
+       BigArrays:   $enable_big_arrays
        $disabled
 
 "