bug 481582 - changes to configure.in needed to build jemalloc on windows ce r=bsmedberg
authorBrad Lassey <blassey@mozilla.com>
Mon, 23 Mar 2009 21:18:19 -0400
changeset 26487 24965cb00b6486a588d97d5414fd25f3981ec916
parent 26486 4054dd5d408442fc57a4de00fd774a62e2ffc99c
child 26488 20014cbebfb6bf23b752c1509f5d74d9cfee4d29
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg
bugs481582
milestone1.9.2a1pre
bug 481582 - changes to configure.in needed to build jemalloc on windows ce r=bsmedberg
configure.in
js/src/configure.in
--- a/configure.in
+++ b/configure.in
@@ -6583,16 +6583,20 @@ if test "$MOZ_MEMORY"; then
     dnl Statically link the C++ stdlib.  We only use this for Breakpad anyway.
     AC_DEFINE(_STATIC_CPPLIB)
     dnl Don't generate a manifest, since we're linking to a custom CRT.
     LDFLAGS="$LDFLAGS -MANIFEST:NO"
     dnl Also pass this to NSPR/NSS
     DLLFLAGS="$DLLFLAGS -MANIFEST:NO"
     export DLLFLAGS
     ;;
+  *wince)
+    AC_DEFINE(MOZ_MEMORY_WINCE)
+    AC_DEFINE(MOZ_MEMORY_WINDOWS)
+    ;;
   *)
     AC_MSG_ERROR([--enable-jemalloc not supported on ${target}])
     ;;
   esac
 fi
 AC_SUBST(MOZ_MEMORY)
 AC_SUBST(WIN32_CRT_SRC_DIR)
 AC_SUBST(WIN32_CUSTOM_CRT_DIR)
--- a/js/src/configure.in
+++ b/js/src/configure.in
@@ -4279,16 +4279,20 @@ if test "$MOZ_MEMORY"; then
     dnl Statically link the C++ stdlib.  We only use this for Breakpad anyway.
     AC_DEFINE(_STATIC_CPPLIB)
     dnl Don't generate a manifest, since we're linking to a custom CRT.
     LDFLAGS="$LDFLAGS -MANIFEST:NO"
     dnl Also pass this to NSPR/NSS
     DLLFLAGS="$DLLFLAGS -MANIFEST:NO"
     export DLLFLAGS
     ;;
+  *wince)
+    AC_DEFINE(MOZ_MEMORY_WINCE)
+    AC_DEFINE(MOZ_MEMORY_WINDOWS)
+    ;;
   *)
     AC_MSG_ERROR([--enable-jemalloc not supported on ${target}])
     ;;
   esac
 fi
 AC_SUBST(MOZ_MEMORY)
 AC_SUBST(WIN32_CRT_SRC_DIR)
 AC_SUBST(WIN32_CUSTOM_CRT_DIR)