<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -151,6 +151,26 @@ else
 AC_MSG_RESULT($DO_MYSQL)
 fi
 
+## Check for memory allocator
+#  Use libc-malloc or libtbb-malloc?
+AC_MSG_CHECKING(whether to use libc malloc)
+MANGOSD_STD_MALLOC=no
+AC_ARG_WITH(std-malloc,
+[
+Memory allocation options:
+
+  --with-std-malloc       Use standard malloc],
+[
+    if test &quot;$withval&quot; = &quot;yes&quot; ; then
+        CFLAGS=&quot;-DUSE_STANDARD_MALLOC $CFLAGS&quot;
+        CXXFLAGS=&quot;-DUSE_STANDARD_MALLOC $CXXFLAGS&quot;
+        MANGOSD_STD_MALLOC=yes
+    elif test &quot;$withval&quot; != &quot;no&quot; ; then
+        AC_MSG_ERROR(Please choose yes or no)
+    fi
+])
+AC_MSG_RESULT($MANGOSD_STD_MALLOC)
+
 ## Check for options
 #  Include debug info in library?
 AC_MSG_CHECKING(whether to include debug info in library)</diff>
      <filename>configure.ac</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a66e6a87e6f0d446574ffef4c1c33ebecb1c4bfe</id>
    </parent>
  </parents>
  <author>
    <name>XTZGZoReX</name>
    <email>xtzgzorex@gmail.com</email>
  </author>
  <url>http://github.com/mangos/mangos/commit/8102bf4f40761e75a13b1b1788033465aabbe34e</url>
  <id>8102bf4f40761e75a13b1b1788033465aabbe34e</id>
  <committed-date>2009-11-11T13:20:07-08:00</committed-date>
  <authored-date>2009-11-11T13:20:07-08:00</authored-date>
  <message>Allow disabling tbbmalloc on Unix by using: --with-std-malloc</message>
  <tree>9e561975fc673c74fb962c6faebc31a7a7ef7c44</tree>
  <committer>
    <name>XTZGZoReX</name>
    <email>xtzgzorex@gmail.com</email>
  </committer>
</commit>
